@collectionspace/cspace-public-browser 1.5.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cspacePublicBrowser.js +4 -4
- package/dist/cspacePublicBrowser.min.js +1 -1
- package/lib/config/anthro.js +3 -0
- package/lib/config/bonsai.js +7 -0
- package/lib/config/default.js +18 -5
- package/lib/config/materials.js +6 -0
- package/package.json +1 -1
- package/src/config/anthro.js +3 -0
- package/src/config/bonsai.js +7 -0
- package/src/config/default.js +18 -4
- package/src/config/materials.js +6 -0
|
@@ -686,7 +686,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
686
686
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
687
687
|
|
|
688
688
|
"use strict";
|
|
689
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n gatewayUrl: 'http://localhost:8180/gateway/anthro',\n filters: {\n fields: {\n objectProductionPeople: {\n field: 'collectionobjects_common:objectProductionPeopleGroupList.objectProductionPeople.displayName'\n },\n taxon: {\n field: 'collectionobjects_naturalhistory_extension:taxonomicIdentGroupList.taxon.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"filter.taxon.label\",\n \"defaultMessage\": \"Taxon name\"\n },\n shortLabel: {\n \"id\": \"filter.taxon.shortLabel\",\n \"defaultMessage\": \"Taxon\"\n }\n })\n },\n collectionYears: {\n field: 'collectionspace_denorm:collectionYears',\n type: 'histogram',\n interval: 10,\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.decade,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"filter.collectionYears.label\",\n \"defaultMessage\": \"Collection date\"\n },\n shortLabel: {\n \"id\": \"filter.collectionYears.shortLabel\",\n \"defaultMessage\": \"Coll. date\"\n }\n })\n }\n },\n groups: {\n group_collection: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_collection.label\",\n \"defaultMessage\": \"Collection\"\n }\n }),\n fields: ['collectionYears']\n },\n group_description: {\n fields: ['material', 'technique', 'contentConcept', 'color', 'taxon']\n }\n },\n layout: {\n filters1: ['group_id', 'group_media', 'group_collection', 'group_description', 'group_production']\n }\n },\n detailFields: {\n fields: {\n taxon: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.taxon.label\",\n \"defaultMessage\": \"Taxon name\"\n }\n }),\n field: 'collectionobjects_naturalhistory_extension:taxonomicIdentGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: 'taxon',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.displayName\n })\n }))\n },\n fieldCollectionDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.fieldCollectionDate.label\",\n \"defaultMessage\": \"Date\"\n }\n }),\n field: 'collectionobjects_common:fieldCollectionDateGroup',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: 'dateDisplayDate'\n })\n },\n fieldCollector: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.fieldCollector.label\",\n \"defaultMessage\": \"Collector\"\n }\n }),\n field: 'collectionobjects_common:fieldCollectors',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.listOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.displayName)\n }\n },\n groups: {\n group_collection: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_collection.label\",\n \"defaultMessage\": \"Collection\"\n }\n }),\n fields: ['fieldCollectionDate', 'fieldCollector']\n },\n group_description: {\n fields: ['material', 'technique', 'contentConcept', 'measuredPart', 'creditLine', 'taxon']\n }\n },\n layout: {\n fields1: ['group_id', 'group_collection', 'group_description', 'group_production']\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/anthro.js?");
|
|
689
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n gatewayUrl: 'http://localhost:8180/gateway/anthro',\n filters: {\n fields: {\n objectProductionPeople: {\n field: 'collectionobjects_common:objectProductionPeopleGroupList.objectProductionPeople.displayName'\n },\n objectProductionPlace: {\n field: 'collectionobjects_common:objectProductionPlaceGroupList.objectProductionPlace.displayName'\n },\n taxon: {\n field: 'collectionobjects_naturalhistory_extension:taxonomicIdentGroupList.taxon.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"filter.taxon.label\",\n \"defaultMessage\": \"Taxon name\"\n },\n shortLabel: {\n \"id\": \"filter.taxon.shortLabel\",\n \"defaultMessage\": \"Taxon\"\n }\n })\n },\n collectionYears: {\n field: 'collectionspace_denorm:collectionYears',\n type: 'histogram',\n interval: 10,\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.decade,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"filter.collectionYears.label\",\n \"defaultMessage\": \"Collection date\"\n },\n shortLabel: {\n \"id\": \"filter.collectionYears.shortLabel\",\n \"defaultMessage\": \"Coll. date\"\n }\n })\n }\n },\n groups: {\n group_collection: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_collection.label\",\n \"defaultMessage\": \"Collection\"\n }\n }),\n fields: ['collectionYears']\n },\n group_description: {\n fields: ['material', 'technique', 'contentConcept', 'color', 'taxon']\n }\n },\n layout: {\n filters1: ['group_id', 'group_media', 'group_collection', 'group_description', 'group_production']\n }\n },\n detailFields: {\n fields: {\n taxon: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.taxon.label\",\n \"defaultMessage\": \"Taxon name\"\n }\n }),\n field: 'collectionobjects_naturalhistory_extension:taxonomicIdentGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: 'taxon',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.displayName\n })\n }))\n },\n fieldCollectionDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.fieldCollectionDate.label\",\n \"defaultMessage\": \"Date\"\n }\n }),\n field: 'collectionobjects_common:fieldCollectionDateGroup',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: 'dateDisplayDate'\n })\n },\n fieldCollector: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.fieldCollector.label\",\n \"defaultMessage\": \"Collector\"\n }\n }),\n field: 'collectionobjects_common:fieldCollectors',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.listOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.displayName)\n }\n },\n groups: {\n group_collection: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_collection.label\",\n \"defaultMessage\": \"Collection\"\n }\n }),\n fields: ['fieldCollectionDate', 'fieldCollector']\n },\n group_description: {\n fields: ['material', 'technique', 'contentConcept', 'measuredPart', 'creditLine', 'taxon']\n }\n },\n layout: {\n fields1: ['group_id', 'group_collection', 'group_description', 'group_production']\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/anthro.js?");
|
|
690
690
|
|
|
691
691
|
/***/ }),
|
|
692
692
|
|
|
@@ -697,7 +697,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
697
697
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
698
698
|
|
|
699
699
|
"use strict";
|
|
700
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n gatewayUrl: 'http://localhost:8180/gateway/bonsai',\n messages: {\n 'filter.objectProductionPerson.label': 'Original artist',\n 'filter.objectProductionPerson.shortLabel': 'Original artist',\n 'detailField.objectProductionPerson.label': 'Original artist'\n },\n detailFields: {\n fields: {\n originDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.originDate.label\",\n \"defaultMessage\": \"Date of origin\"\n }\n }),\n field: 'collectionobjects_common:objectProductionDateGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: [0, 'dateDisplayDate']\n })\n },\n trainingDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.trainingDate.label\",\n \"defaultMessage\": \"In training since\"\n }\n }),\n field: 'collectionobjects_common:objectProductionDateGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: [1, 'dateDisplayDate']\n })\n }\n },\n groups: {\n group_production: {\n fields: ['objectProductionPerson', 'objectProductionOrganization', 'objectProductionPeople', 'objectProductionPlace', 'originDate', 'trainingDate']\n }\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/bonsai.js?");
|
|
700
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n gatewayUrl: 'http://localhost:8180/gateway/bonsai',\n messages: {\n 'filter.objectProductionPerson.label': 'Original artist',\n 'filter.objectProductionPerson.shortLabel': 'Original artist',\n 'detailField.objectProductionPerson.label': 'Original artist'\n },\n filters: {\n fields: {\n objectProductionPlace: {\n field: 'collectionobjects_common:objectProductionPlaceGroupList.objectProductionPlace.displayName'\n }\n }\n },\n detailFields: {\n fields: {\n originDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.originDate.label\",\n \"defaultMessage\": \"Date of origin\"\n }\n }),\n field: 'collectionobjects_common:objectProductionDateGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: [0, 'dateDisplayDate']\n })\n },\n trainingDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({\n label: {\n \"id\": \"detailField.trainingDate.label\",\n \"defaultMessage\": \"In training since\"\n }\n }),\n field: 'collectionobjects_common:objectProductionDateGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_0__.valueAt)({\n path: [1, 'dateDisplayDate']\n })\n }\n },\n groups: {\n group_production: {\n fields: ['objectProductionPerson', 'objectProductionOrganization', 'objectProductionPeople', 'objectProductionPlace', 'originDate', 'trainingDate']\n }\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/bonsai.js?");
|
|
701
701
|
|
|
702
702
|
/***/ }),
|
|
703
703
|
|
|
@@ -719,7 +719,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
719
719
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
720
720
|
|
|
721
721
|
"use strict";
|
|
722
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var _intl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../intl */ \"./src/intl/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n\nconst departmentMessages = (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n antiquities: {\n \"id\": \"option.departments.antiquities\",\n \"defaultMessage\": \"Antiquities\"\n },\n 'architecture-design': {\n \"id\": \"option.departments.architecture-design\",\n \"defaultMessage\": \"Architecture and Design\"\n },\n 'decorative-arts': {\n \"id\": \"option.departments.decorative-arts\",\n \"defaultMessage\": \"Decorative Arts\"\n },\n ethnography: {\n \"id\": \"option.departments.ethnography\",\n \"defaultMessage\": \"Ethnography\"\n },\n herpetology: {\n \"id\": \"option.departments.herpetology\",\n \"defaultMessage\": \"Herpetology\"\n },\n 'media-performance-art': {\n \"id\": \"option.departments.media-performance-art\",\n \"defaultMessage\": \"Media and Performance Art\"\n },\n 'paintings-sculpture': {\n \"id\": \"option.departments.paintings-sculpture\",\n \"defaultMessage\": \"Paintings and Sculpture\"\n },\n paleobotany: {\n \"id\": \"option.departments.paleobotany\",\n \"defaultMessage\": \"Paleobotany\"\n },\n photographs: {\n \"id\": \"option.departments.photographs\",\n \"defaultMessage\": \"Photographs\"\n },\n 'prints-drawings': {\n \"id\": \"option.departments.prints-drawings\",\n \"defaultMessage\": \"Prints and Drawings\"\n }\n});\nconst formatDepartment = data => {\n const message = departmentMessages[data];\n return message ? (0,_intl__WEBPACK_IMPORTED_MODULE_0__.getIntl)().formatMessage(message) : data;\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n basename: '',\n container: '#cspace-browser',\n gatewayUrl: 'http://localhost:8180/gateway/core',\n locale: 'en-US',\n detailPath: 'detail',\n // Time in milliseconds to wait before fetching a search result image. If the search result is\n // scrolled offscreen before the time elapses, the image is not loaded until the result is\n // scrolled into view again. This applies only to pages of results after the first. Images for\n // the first page are fetched immediately.\n imageLoadDelay: 2000,\n // Time in milliseconds to wait before fetching another page of search results, when the result\n // list is scrolled to the bottom.\n pageLoadDelay: 1000,\n // The maximum number of results to automatically load while scrolling. Once this number of\n // results has been retrieved, the user must click a button to load more results.\n pageAutoLoadLimit: 80,\n defaultQuery: {\n term: {\n 'ecm:primaryType': 'CollectionObject'\n }\n },\n fulltextSearchFields: ['all_field'],\n includeFields: ['ecm:name', 'ecm:primaryType', 'collectionspace_denorm:mediaCsid', 'collectionspace_denorm:title'],\n referenceField: 'ecm:name',\n defaultSortOrder: 'bestmatch',\n sortField: 'collectionspace_denorm:title',\n storageKey: 'cspace-browser',\n searchResultImageDerivative: 'Small',\n detailImageDerivative: 'Medium',\n tileTitle: {\n field: 'collectionspace_denorm:title',\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n },\n filters: {\n fields: {\n objectName: {\n field: 'collectionobjects_common:objectNameList.objectName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectName.label\",\n \"defaultMessage\": \"Name\"\n },\n shortLabel: {\n \"id\": \"filter.objectName.shortLabel\",\n \"defaultMessage\": \"Name\"\n }\n })\n },\n objectProductionPerson: {\n field: 'collectionobjects_common:objectProductionPersonGroupList.objectProductionPerson.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionPerson.label\",\n \"defaultMessage\": \"Production person\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionPerson.shortLabel\",\n \"defaultMessage\": \"Prod. person\"\n }\n })\n },\n objectProductionOrganization: {\n field: 'collectionobjects_common:objectProductionOrganizationGroupList.objectProductionOrganization.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionOrganization.label\",\n \"defaultMessage\": \"Production organization\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionOrganization.shortLabel\",\n \"defaultMessage\": \"Prod. organization\"\n }\n })\n },\n objectProductionPeople: {\n field: 'collectionobjects_common:objectProductionPeopleGroupList.objectProductionPeople',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionPeople.label\",\n \"defaultMessage\": \"Production people/culture\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionPeople.shortLabel\",\n \"defaultMessage\": \"Prod. people/culture\"\n }\n })\n },\n prodYears: {\n field: 'collectionspace_denorm:prodYears',\n type: 'histogram',\n interval: 10,\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.decade,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.prodYears.label\",\n \"defaultMessage\": \"Production date\"\n },\n shortLabel: {\n \"id\": \"filter.prodYears.shortLabel\",\n \"defaultMessage\": \"Prod. date\"\n }\n })\n },\n objectProductionPlace: {\n field: 'collectionobjects_common:objectProductionPlaceGroupList.objectProductionPlace',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionPlace.label\",\n \"defaultMessage\": \"Production place\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionPlace.shortLabel\",\n \"defaultMessage\": \"Prod. place\"\n }\n })\n },\n material: {\n field: 'collectionobjects_common:materialGroupList.material',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.material.label\",\n \"defaultMessage\": \"Material\"\n },\n shortLabel: {\n \"id\": \"filter.material.shortLabel\",\n \"defaultMessage\": \"Material\"\n }\n })\n },\n color: {\n field: 'collectionobjects_common:colors',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.color.label\",\n \"defaultMessage\": \"Color\"\n },\n shortLabel: {\n \"id\": \"filter.color.shortLabel\",\n \"defaultMessage\": \"Color\"\n }\n })\n },\n responsibleDepartment: {\n field: 'collectionobjects_common:responsibleDepartments',\n formatValue: formatDepartment,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.responsibleDepartment.label\",\n \"defaultMessage\": \"Department\"\n },\n shortLabel: {\n \"id\": \"filter.responsibleDepartment.shortLabel\",\n \"defaultMessage\": \"Dept\"\n }\n })\n },\n exhibitionTitle: {\n field: 'collectionspace_denorm:exhibition.title',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.exhibitionTitle.label\",\n \"defaultMessage\": \"Exhibition title\"\n },\n shortLabel: {\n \"id\": \"filter.exhibitionTitle.shortLabel\",\n \"defaultMessage\": \"Exhibition title\"\n }\n })\n },\n contentConcept: {\n field: 'collectionobjects_common:contentConcepts.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.contentConcept.label\",\n \"defaultMessage\": \"Subject\"\n },\n shortLabel: {\n \"id\": \"filter.contentConcept.shortLabel\",\n \"defaultMessage\": \"Subject\"\n }\n }),\n order: {\n _count: 'desc'\n }\n },\n technique: {\n field: 'collectionobjects_common:techniqueGroupList.technique',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.technique.label\",\n \"defaultMessage\": \"Technique\"\n },\n shortLabel: {\n \"id\": \"filter.technique.shortLabel\",\n \"defaultMessage\": \"Technique\"\n }\n })\n },\n hasMedia: {\n field: 'collectionspace_denorm:hasMedia',\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.boolean,\n showSearch: false,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.hasMedia.label\",\n \"defaultMessage\": \"Has image\"\n },\n shortLabel: {\n \"id\": \"filter.hasMedia.shortLabel\",\n \"defaultMessage\": \"Has image\"\n }\n })\n }\n },\n groups: {\n group_id: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_id.label\",\n \"defaultMessage\": \"Identification\"\n }\n }),\n fields: ['responsibleDepartment', 'objectName', 'exhibitionTitle']\n },\n group_media: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_media.label\",\n \"defaultMessage\": \"Media\"\n }\n }),\n fields: ['hasMedia']\n },\n group_description: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_description.label\",\n \"defaultMessage\": \"Description\"\n }\n }),\n fields: ['material', 'contentConcept', 'color']\n },\n group_production: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_production.label\",\n \"defaultMessage\": \"Production\"\n }\n }),\n fields: ['technique', 'objectProductionPerson', 'objectProductionOrganization', 'objectProductionPeople', 'objectProductionPlace', 'prodYears']\n }\n },\n layout: {\n filters1: ['group_id', 'group_media', 'group_description', 'group_production']\n }\n },\n detailTitle: data => {\n const {\n 'collectionobjects_common:titleGroupList': titleGroups\n } = data;\n if (titleGroups && titleGroups.length > 0) {\n const {\n title\n } = titleGroups[0];\n return title;\n }\n return undefined;\n },\n detailSubtitle: data => {\n const {\n 'collectionobjects_common:objectNameList': objectNameGroups\n } = data;\n if (objectNameGroups && objectNameGroups.length > 0) {\n const {\n objectName\n } = objectNameGroups[0];\n return objectName;\n }\n return undefined;\n },\n detailDescription: data => {\n const {\n 'collectionobjects_common:briefDescriptions': briefDescriptions\n } = data;\n if (briefDescriptions && briefDescriptions.length > 0) {\n return briefDescriptions[0];\n }\n return undefined;\n },\n detailFields: {\n fields: {\n objectNumber: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectNumber.label\",\n \"defaultMessage\": \"Number\"\n }\n }),\n field: 'collectionobjects_common:objectNumber'\n },\n responsibleDepartment: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.responsibleDepartment.label\",\n \"defaultMessage\": \"Department\"\n }\n }),\n field: 'collectionobjects_common:responsibleDepartments',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n linkTextFormat: formatDepartment\n }))\n },\n objectProductionPerson: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionPerson.label\",\n \"defaultMessage\": \"Person\"\n }\n }),\n field: 'collectionobjects_common:objectProductionPersonGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionPerson',\n roleFieldName: 'objectProductionPersonRole'\n }))\n },\n objectProductionOrganization: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionOrganization.label\",\n \"defaultMessage\": \"Organization\"\n }\n }),\n field: 'collectionobjects_common:objectProductionOrganizationGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionOrganization',\n roleFieldName: 'objectProductionOrganizationRole'\n }))\n },\n objectProductionPeople: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionPeople.label\",\n \"defaultMessage\": \"People/culture\"\n }\n }),\n field: 'collectionobjects_common:objectProductionPeopleGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionPeople',\n roleFieldName: 'objectProductionPeopleRole'\n }))\n },\n objectProductionPlace: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionPlace.label\",\n \"defaultMessage\": \"Place\"\n }\n }),\n field: 'collectionobjects_common:objectProductionPlaceGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionPlace',\n roleFieldName: 'objectProductionPlaceRole'\n }))\n },\n objectProductionDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionDate.label\",\n \"defaultMessage\": \"Date\"\n }\n }),\n field: 'collectionobjects_common:objectProductionDateGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'dateDisplayDate'\n }))\n },\n material: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.material.label\",\n \"defaultMessage\": \"Material\"\n }\n }),\n field: 'collectionobjects_common:materialGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'material',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({})\n }))\n },\n technique: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.technique.label\",\n \"defaultMessage\": \"Technique\"\n }\n }),\n field: 'collectionobjects_common:techniqueGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'technique',\n roleFieldName: 'techniqueType'\n }))\n },\n contentConcept: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.contentConcept.label\",\n \"defaultMessage\": \"Subject\"\n }\n }),\n field: 'collectionobjects_common:contentConcepts',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n measuredPart: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.measuredPart.label\",\n \"defaultMessage\": \"Dimensions\"\n }\n }),\n field: 'collectionobjects_common:measuredPartGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'dimensionSummary',\n roleFieldName: 'measuredPart',\n linkName: false\n }))\n },\n creditLine: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.creditLine.label\",\n \"defaultMessage\": \"Credit\"\n }\n }),\n field: 'collectionspace_denorm:creditLine',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.list\n }\n },\n groups: {\n group_id: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_id.label\",\n \"defaultMessage\": \"Identification\"\n }\n }),\n fields: ['objectNumber', 'responsibleDepartment']\n },\n group_description: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_description.label\",\n \"defaultMessage\": \"Description\"\n }\n }),\n fields: ['material', 'technique', 'contentConcept', 'measuredPart', 'creditLine']\n },\n group_production: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_production.label\",\n \"defaultMessage\": \"Production\"\n }\n }),\n fields: ['objectProductionPerson', 'objectProductionOrganization', 'objectProductionPeople', 'objectProductionPlace', 'objectProductionDate']\n }\n },\n layout: {\n fields1: ['group_id', 'group_description', 'group_production']\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/default.js?");
|
|
722
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var _intl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../intl */ \"./src/intl/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n\nconst departmentMessages = (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n antiquities: {\n \"id\": \"option.departments.antiquities\",\n \"defaultMessage\": \"Antiquities\"\n },\n 'architecture-design': {\n \"id\": \"option.departments.architecture-design\",\n \"defaultMessage\": \"Architecture and Design\"\n },\n 'decorative-arts': {\n \"id\": \"option.departments.decorative-arts\",\n \"defaultMessage\": \"Decorative Arts\"\n },\n ethnography: {\n \"id\": \"option.departments.ethnography\",\n \"defaultMessage\": \"Ethnography\"\n },\n herpetology: {\n \"id\": \"option.departments.herpetology\",\n \"defaultMessage\": \"Herpetology\"\n },\n 'media-performance-art': {\n \"id\": \"option.departments.media-performance-art\",\n \"defaultMessage\": \"Media and Performance Art\"\n },\n 'paintings-sculpture': {\n \"id\": \"option.departments.paintings-sculpture\",\n \"defaultMessage\": \"Paintings and Sculpture\"\n },\n paleobotany: {\n \"id\": \"option.departments.paleobotany\",\n \"defaultMessage\": \"Paleobotany\"\n },\n photographs: {\n \"id\": \"option.departments.photographs\",\n \"defaultMessage\": \"Photographs\"\n },\n 'prints-drawings': {\n \"id\": \"option.departments.prints-drawings\",\n \"defaultMessage\": \"Prints and Drawings\"\n }\n});\nconst formatDepartment = data => {\n const message = departmentMessages[data];\n return message ? (0,_intl__WEBPACK_IMPORTED_MODULE_0__.getIntl)().formatMessage(message) : data;\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n basename: '',\n container: '#cspace-browser',\n gatewayUrl: 'http://localhost:8180/gateway/core',\n locale: 'en-US',\n detailPath: 'detail',\n // Time in milliseconds to wait before fetching a search result image. If the search result is\n // scrolled offscreen before the time elapses, the image is not loaded until the result is\n // scrolled into view again. This applies only to pages of results after the first. Images for\n // the first page are fetched immediately.\n imageLoadDelay: 2000,\n // Time in milliseconds to wait before fetching another page of search results, when the result\n // list is scrolled to the bottom.\n pageLoadDelay: 1000,\n // The maximum number of results to automatically load while scrolling. Once this number of\n // results has been retrieved, the user must click a button to load more results.\n pageAutoLoadLimit: 80,\n defaultQuery: {\n term: {\n 'ecm:primaryType': 'CollectionObject'\n }\n },\n fulltextSearchFields: ['all_field'],\n includeFields: ['ecm:name', 'ecm:primaryType', 'collectionspace_denorm:mediaCsid', 'collectionspace_denorm:title'],\n referenceField: 'ecm:name',\n defaultSortOrder: 'bestmatch',\n sortField: 'collectionspace_denorm:title',\n storageKey: 'cspace-browser',\n searchResultImageDerivative: 'Small',\n detailImageDerivative: 'Medium',\n tileTitle: {\n field: 'collectionspace_denorm:title',\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n },\n filters: {\n fields: {\n objectName: {\n field: 'collectionspace_denorm:objectNameList.objectName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectName.label\",\n \"defaultMessage\": \"Name\"\n },\n shortLabel: {\n \"id\": \"filter.objectName.shortLabel\",\n \"defaultMessage\": \"Name\"\n }\n })\n },\n objectProductionPerson: {\n field: 'collectionobjects_common:objectProductionPersonGroupList.objectProductionPerson.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionPerson.label\",\n \"defaultMessage\": \"Production person\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionPerson.shortLabel\",\n \"defaultMessage\": \"Prod. person\"\n }\n })\n },\n objectProductionOrganization: {\n field: 'collectionobjects_common:objectProductionOrganizationGroupList.objectProductionOrganization.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionOrganization.label\",\n \"defaultMessage\": \"Production organization\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionOrganization.shortLabel\",\n \"defaultMessage\": \"Prod. organization\"\n }\n })\n },\n objectProductionPeople: {\n field: 'collectionobjects_common:objectProductionPeopleGroupList.objectProductionPeople',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionPeople.label\",\n \"defaultMessage\": \"Production people/culture\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionPeople.shortLabel\",\n \"defaultMessage\": \"Prod. people/culture\"\n }\n })\n },\n prodYears: {\n field: 'collectionspace_denorm:prodYears',\n type: 'histogram',\n interval: 10,\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.decade,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.prodYears.label\",\n \"defaultMessage\": \"Production date\"\n },\n shortLabel: {\n \"id\": \"filter.prodYears.shortLabel\",\n \"defaultMessage\": \"Prod. date\"\n }\n })\n },\n objectProductionPlace: {\n field: 'collectionobjects_common:objectProductionPlaceGroupList.objectProductionPlace',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.objectProductionPlace.label\",\n \"defaultMessage\": \"Production place\"\n },\n shortLabel: {\n \"id\": \"filter.objectProductionPlace.shortLabel\",\n \"defaultMessage\": \"Prod. place\"\n }\n })\n },\n material: {\n field: 'collectionspace_denorm:materialGroupList.material',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.material.label\",\n \"defaultMessage\": \"Material\"\n },\n shortLabel: {\n \"id\": \"filter.material.shortLabel\",\n \"defaultMessage\": \"Material\"\n }\n })\n },\n color: {\n field: 'collectionobjects_common:colors',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.color.label\",\n \"defaultMessage\": \"Color\"\n },\n shortLabel: {\n \"id\": \"filter.color.shortLabel\",\n \"defaultMessage\": \"Color\"\n }\n })\n },\n responsibleDepartment: {\n field: 'collectionobjects_common:responsibleDepartments',\n formatValue: formatDepartment,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.responsibleDepartment.label\",\n \"defaultMessage\": \"Department\"\n },\n shortLabel: {\n \"id\": \"filter.responsibleDepartment.shortLabel\",\n \"defaultMessage\": \"Dept\"\n }\n })\n },\n exhibitionTitle: {\n field: 'collectionspace_denorm:exhibition.title',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.exhibitionTitle.label\",\n \"defaultMessage\": \"Exhibition title\"\n },\n shortLabel: {\n \"id\": \"filter.exhibitionTitle.shortLabel\",\n \"defaultMessage\": \"Exhibition title\"\n }\n })\n },\n contentConcept: {\n field: 'collectionobjects_common:contentConcepts.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.contentConcept.label\",\n \"defaultMessage\": \"Subject\"\n },\n shortLabel: {\n \"id\": \"filter.contentConcept.shortLabel\",\n \"defaultMessage\": \"Subject\"\n }\n }),\n order: {\n _count: 'desc'\n }\n },\n technique: {\n field: 'collectionobjects_common:techniqueGroupList.technique',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.technique.label\",\n \"defaultMessage\": \"Technique\"\n },\n shortLabel: {\n \"id\": \"filter.technique.shortLabel\",\n \"defaultMessage\": \"Technique\"\n }\n })\n },\n hasMedia: {\n field: 'collectionspace_denorm:hasMedia',\n formatValue: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.boolean,\n showSearch: false,\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.hasMedia.label\",\n \"defaultMessage\": \"Has image\"\n },\n shortLabel: {\n \"id\": \"filter.hasMedia.shortLabel\",\n \"defaultMessage\": \"Has image\"\n }\n })\n }\n },\n groups: {\n group_id: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_id.label\",\n \"defaultMessage\": \"Identification\"\n }\n }),\n fields: ['responsibleDepartment', 'objectName', 'exhibitionTitle']\n },\n group_media: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_media.label\",\n \"defaultMessage\": \"Media\"\n }\n }),\n fields: ['hasMedia']\n },\n group_description: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_description.label\",\n \"defaultMessage\": \"Description\"\n }\n }),\n fields: ['material', 'contentConcept', 'color']\n },\n group_production: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_production.label\",\n \"defaultMessage\": \"Production\"\n }\n }),\n fields: ['technique', 'objectProductionPerson', 'objectProductionOrganization', 'objectProductionPeople', 'objectProductionPlace', 'prodYears']\n }\n },\n layout: {\n filters1: ['group_id', 'group_media', 'group_description', 'group_production']\n }\n },\n detailTitle: data => {\n const {\n 'collectionobjects_common:titleGroupList': titleGroups\n } = data;\n if (titleGroups && titleGroups.length > 0) {\n const {\n title\n } = titleGroups[0];\n return title;\n }\n return undefined;\n },\n detailSubtitle: data => {\n const {\n 'collectionspace_denorm:objectNameList': objectNameGroups\n } = data;\n if (objectNameGroups && objectNameGroups.length > 0) {\n const {\n objectName\n } = objectNameGroups[0];\n return objectName;\n }\n return undefined;\n },\n detailDescription: data => {\n const {\n 'collectionobjects_common:briefDescriptions': briefDescriptions\n } = data;\n if (briefDescriptions && briefDescriptions.length > 0) {\n return briefDescriptions[0];\n }\n return undefined;\n },\n detailFields: {\n fields: {\n objectNumber: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectNumber.label\",\n \"defaultMessage\": \"Number\"\n }\n }),\n field: 'collectionobjects_common:objectNumber'\n },\n objectName: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectName.label\",\n \"defaultMessage\": \"Name\"\n }\n }),\n field: 'collectionspace_denorm:objectNameList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'objectName',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({})\n }))\n },\n responsibleDepartment: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.responsibleDepartment.label\",\n \"defaultMessage\": \"Department\"\n }\n }),\n field: 'collectionobjects_common:responsibleDepartments',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n linkTextFormat: formatDepartment\n }))\n },\n objectProductionPerson: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionPerson.label\",\n \"defaultMessage\": \"Person\"\n }\n }),\n field: 'collectionobjects_common:objectProductionPersonGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionPerson',\n roleFieldName: 'objectProductionPersonRole'\n }))\n },\n objectProductionOrganization: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionOrganization.label\",\n \"defaultMessage\": \"Organization\"\n }\n }),\n field: 'collectionobjects_common:objectProductionOrganizationGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionOrganization',\n roleFieldName: 'objectProductionOrganizationRole'\n }))\n },\n objectProductionPeople: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionPeople.label\",\n \"defaultMessage\": \"People/culture\"\n }\n }),\n field: 'collectionobjects_common:objectProductionPeopleGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionPeople',\n roleFieldName: 'objectProductionPeopleRole'\n }))\n },\n objectProductionPlace: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionPlace.label\",\n \"defaultMessage\": \"Place\"\n }\n }),\n field: 'collectionobjects_common:objectProductionPlaceGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'objectProductionPlace',\n roleFieldName: 'objectProductionPlaceRole'\n }))\n },\n objectProductionDate: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.objectProductionDate.label\",\n \"defaultMessage\": \"Date\"\n }\n }),\n field: 'collectionobjects_common:objectProductionDateGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'dateDisplayDate'\n }))\n },\n material: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.material.label\",\n \"defaultMessage\": \"Material\"\n }\n }),\n field: 'collectionspace_denorm:materialGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'material',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({})\n }))\n },\n technique: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.technique.label\",\n \"defaultMessage\": \"Technique\"\n }\n }),\n field: 'collectionobjects_common:techniqueGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'technique',\n roleFieldName: 'techniqueType'\n }))\n },\n contentConcept: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.contentConcept.label\",\n \"defaultMessage\": \"Subject\"\n }\n }),\n field: 'collectionobjects_common:contentConcepts',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n measuredPart: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.measuredPart.label\",\n \"defaultMessage\": \"Dimensions\"\n }\n }),\n field: 'collectionobjects_common:measuredPartGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'dimensionSummary',\n roleFieldName: 'measuredPart',\n linkName: false\n }))\n },\n creditLine: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailField.creditLine.label\",\n \"defaultMessage\": \"Credit\"\n }\n }),\n field: 'collectionspace_denorm:creditLine',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.list\n }\n },\n groups: {\n group_id: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_id.label\",\n \"defaultMessage\": \"Identification\"\n }\n }),\n fields: ['objectNumber', 'objectName', 'responsibleDepartment']\n },\n group_description: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_description.label\",\n \"defaultMessage\": \"Description\"\n }\n }),\n fields: ['material', 'technique', 'contentConcept', 'measuredPart', 'creditLine']\n },\n group_production: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"detailGroup.group_production.label\",\n \"defaultMessage\": \"Production\"\n }\n }),\n fields: ['objectProductionPerson', 'objectProductionOrganization', 'objectProductionPeople', 'objectProductionPlace', 'objectProductionDate']\n }\n },\n layout: {\n fields1: ['group_id', 'group_description', 'group_production']\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/default.js?");
|
|
723
723
|
|
|
724
724
|
/***/ }),
|
|
725
725
|
|
|
@@ -774,7 +774,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
774
774
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
775
775
|
|
|
776
776
|
"use strict";
|
|
777
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var cspace_refname__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cspace-refname */ \"./node_modules/cspace-refname/lib/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n\nconst composition = data => {\n const parts = ['materialCompositionFamilyName', 'materialCompositionClassName', 'materialCompositionGenericName'].map(fieldName => (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.renderFilterLink)(fieldName, (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName)(data[fieldName])));\n return (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.renderJoined)(parts, ' - ');\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n messages: {\n 'rootPage.title': 'Material Order',\n 'searchQueryInput.label': 'Search materials',\n 'searchQueryInput.placeholder': 'Search materials',\n 'searchResultStats.count': '{count, plural, one {# material} other {# materials}} found',\n 'institutionIndex.label': 'Samples at {title}'\n },\n gatewayUrl: 'http://localhost:8180/gateway/materials',\n detailPath: 'material',\n imageLoadDelay: 4000,\n pageLoadDelay: 1500,\n pageAutoLoadLimit: 40,\n defaultQuery: {\n term: {\n 'ecm:primaryType': 'Materialitem'\n }\n },\n includeFields: ['ecm:name', 'ecm:primaryType', 'collectionspace_denorm:holdingInstitutions', 'collectionspace_denorm:mediaCsid', 'collectionspace_denorm:title', 'materials_common:shortIdentifier'],\n referenceField: 'materials_common:shortIdentifier',\n storageKey: 'mo',\n searchResultImageDerivative: 'OriginalJpeg',\n detailImageDerivative: 'OriginalJpeg',\n detailTitle: data => {\n const {\n 'materials_common:materialTermGroupList': materialTermGroups\n } = data;\n if (materialTermGroups && materialTermGroups.length > 0) {\n const {\n termDisplayName,\n historicalStatus\n } = materialTermGroups[0];\n const title = termDisplayName + (historicalStatus === 'historical' ? ' (formerly known as)' : '');\n return title;\n }\n return undefined;\n },\n detailSubtitle: data => {\n const {\n 'materials_common:materialTermGroupList': materialTermGroups\n } = data;\n if (materialTermGroups && materialTermGroups.length > 1) {\n const displayNames = materialTermGroups.slice(1).map(termGroup => {\n const {\n termDisplayName,\n historicalStatus\n } = termGroup;\n return termDisplayName + (historicalStatus === 'historical' ? ' (formerly known as)' : '');\n });\n return (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.renderJoined)(displayNames, '\\n');\n }\n return undefined;\n },\n detailDescription: data => {\n const {\n 'materials_common:description': description\n } = data;\n return description;\n },\n filters: {\n fields: {\n materialTermAttributionContributingOrganization: {\n field: 'collectionspace_denorm:holdingInstitutions.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialTermAttributionContributingOrganization.label\",\n \"defaultMessage\": \"Institution\"\n }\n })\n },\n materialCompositionFamilyName: {\n field: 'materials_common:materialCompositionGroupList.materialCompositionFamilyName.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialCompositionFamilyName.label\",\n \"defaultMessage\": \"Family name\"\n },\n shortLabel: {\n \"id\": \"filter.materialCompositionFamilyName.shortLabel\",\n \"defaultMessage\": \"Family\"\n }\n })\n },\n materialCompositionClassName: {\n field: 'materials_common:materialCompositionGroupList.materialCompositionClassName.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialCompositionClassName.label\",\n \"defaultMessage\": \"Class name\"\n },\n shortLabel: {\n \"id\": \"filter.materialCompositionClassName.shortLabel\",\n \"defaultMessage\": \"Class\"\n }\n })\n },\n materialCompositionGenericName: {\n field: 'materials_common:materialCompositionGroupList.materialCompositionGenericName.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialCompositionGenericName.label\",\n \"defaultMessage\": \"Generic name\"\n },\n shortLabel: {\n \"id\": \"filter.materialCompositionGenericName.shortLabel\",\n \"defaultMessage\": \"Generic\"\n }\n })\n },\n typicalUses: {\n field: 'materials_common:typicalUses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.typicalUses.label\",\n \"defaultMessage\": \"Typical use\"\n }\n })\n },\n commonForm: {\n field: 'materials_common:commonForm.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.commonForm.label\",\n \"defaultMessage\": \"Common form\"\n }\n })\n },\n formType: {\n field: 'materials_common:formTypeGroupList.formType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.formType.label\",\n \"defaultMessage\": \"Form type\"\n }\n })\n },\n acousticalPropertyType: {\n field: 'materials_common:acousticalPropertyGroupList.acousticalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.acousticalPropertyType.label\",\n \"defaultMessage\": \"Acoustical property\"\n },\n shortLabel: {\n \"id\": \"filter.acousticalPropertyType.shortLabel\",\n \"defaultMessage\": \"Acoustical\"\n }\n })\n },\n durabilityPropertyType: {\n field: 'materials_common:durabilityPropertyGroupList.durabilityPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.durabilityPropertyType.label\",\n \"defaultMessage\": \"Durability property\"\n },\n shortLabel: {\n \"id\": \"filter.durabilityPropertyType.shortLabel\",\n \"defaultMessage\": \"Durability\"\n }\n })\n },\n electricalPropertyType: {\n field: 'materials_common:electricalPropertyGroupList.electricalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.electricalPropertyType.label\",\n \"defaultMessage\": \"Electrical property\"\n },\n shortLabel: {\n \"id\": \"filter.electricalPropertyType.shortLabel\",\n \"defaultMessage\": \"Electrical\"\n }\n })\n },\n hygrothermalPropertyType: {\n field: 'materials_common:hygrothermalPropertyGroupList.hygrothermalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.hygrothermalPropertyType.label\",\n \"defaultMessage\": \"Hygrothermal property\"\n },\n shortLabel: {\n \"id\": \"filter.hygrothermalPropertyType.shortLabel\",\n \"defaultMessage\": \"Hygrothermal\"\n }\n })\n },\n mechanicalPropertyType: {\n field: 'materials_common:mechanicalPropertyGroupList.mechanicalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.mechanicalPropertyType.label\",\n \"defaultMessage\": \"Mechanical property\"\n },\n shortLabel: {\n \"id\": \"filter.mechanicalPropertyType.shortLabel\",\n \"defaultMessage\": \"Mechanical\"\n }\n })\n },\n opticalPropertyType: {\n field: 'materials_common:opticalPropertyGroupList.opticalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.opticalPropertyType.label\",\n \"defaultMessage\": \"Optical property\"\n },\n shortLabel: {\n \"id\": \"filter.opticalPropertyType.shortLabel\",\n \"defaultMessage\": \"Optical\"\n }\n })\n },\n sensorialPropertyType: {\n field: 'materials_common:sensorialPropertyGroupList.sensorialPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.sensorialPropertyType.label\",\n \"defaultMessage\": \"Sensorial property\"\n },\n shortLabel: {\n \"id\": \"filter.sensorialPropertyType.shortLabel\",\n \"defaultMessage\": \"Sensorial\"\n }\n })\n },\n smartMaterialPropertyType: {\n field: 'materials_common:smartMaterialPropertyGroupList.smartMaterialPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.smartMaterialPropertyType.label\",\n \"defaultMessage\": \"Smart material property\"\n },\n shortLabel: {\n \"id\": \"filter.smartMaterialPropertyType.shortLabel\",\n \"defaultMessage\": \"Smart material\"\n }\n })\n },\n additionalPropertyType: {\n field: 'materials_common:additionalPropertyGroupList.additionalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.additionalPropertyType.label\",\n \"defaultMessage\": \"Additional property\"\n }\n })\n },\n recycledContentQualifier: {\n field: 'materials_common:recycledContentGroupList.recycledContentQualifier.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.recycledContentQualifier.label\",\n \"defaultMessage\": \"Recycled content\"\n },\n shortLabel: {\n \"id\": \"filter.recycledContentQualifier.shortLabel\",\n \"defaultMessage\": \"Recycled\"\n }\n })\n },\n lifecycleComponent: {\n field: 'materials_common:lifecycleComponentGroupList.lifecycleComponent.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.lifecycleComponent.label\",\n \"defaultMessage\": \"Lifecycle component\"\n },\n shortLabel: {\n \"id\": \"filter.lifecycleComponent.shortLabel\",\n \"defaultMessage\": \"Lifecycle\"\n }\n })\n },\n certificationProgram: {\n field: 'materials_common:certificationCreditGroupList.certificationProgram.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.certificationProgram.label\",\n \"defaultMessage\": \"Certification program\"\n },\n shortLabel: {\n \"id\": \"filter.certificationProgram.shortLabel\",\n \"defaultMessage\": \"Certification\"\n }\n })\n },\n castingProcesses: {\n field: 'materials_common:castingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.castingProcesses.label\",\n \"defaultMessage\": \"Casting process\"\n },\n shortLabel: {\n \"id\": \"filter.castingProcesses.shortLabel\",\n \"defaultMessage\": \"Casting\"\n }\n })\n },\n deformingProcesses: {\n field: 'materials_common:deformingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.deformingProcesses.label\",\n \"defaultMessage\": \"Deforming process\"\n },\n shortLabel: {\n \"id\": \"filter.deformingProcesses.shortLabel\",\n \"defaultMessage\": \"Deforming\"\n }\n })\n },\n joiningProcesses: {\n field: 'materials_common:joiningProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.joiningProcesses.label\",\n \"defaultMessage\": \"Joining process\"\n },\n shortLabel: {\n \"id\": \"filter.joiningProcesses.shortLabel\",\n \"defaultMessage\": \"Joining\"\n }\n })\n },\n machiningProcesses: {\n field: 'materials_common:machiningProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.machiningProcesses.label\",\n \"defaultMessage\": \"Machining process\"\n },\n shortLabel: {\n \"id\": \"filter.machiningProcesses.shortLabel\",\n \"defaultMessage\": \"Machining\"\n }\n })\n },\n moldingProcesses: {\n field: 'materials_common:moldingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.moldingProcesses.label\",\n \"defaultMessage\": \"Molding process\"\n },\n shortLabel: {\n \"id\": \"filter.moldingProcesses.shortLabel\",\n \"defaultMessage\": \"Molding\"\n }\n })\n },\n rapidPrototypingProcesses: {\n field: 'materials_common:rapidPrototypingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.rapidPrototypingProcesses.label\",\n \"defaultMessage\": \"Rapid prototyping process\"\n },\n shortLabel: {\n \"id\": \"filter.rapidPrototypingProcesses.shortLabel\",\n \"defaultMessage\": \"Rapid prototyping\"\n }\n })\n },\n surfacingProcesses: {\n field: 'materials_common:surfacingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.surfacingProcesses.label\",\n \"defaultMessage\": \"Surfacing process\"\n },\n shortLabel: {\n \"id\": \"filter.surfacingProcesses.shortLabel\",\n \"defaultMessage\": \"Surfacing\"\n }\n })\n },\n additionalProcess: {\n field: 'materials_common:additionalProcessGroupList.additionalProcess.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.additionalProcess.label\",\n \"defaultMessage\": \"Additional process\"\n }\n })\n }\n },\n groups: {\n group_institution: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_institution.label\",\n \"defaultMessage\": \"Holding Institution\"\n }\n }),\n fields: ['materialTermAttributionContributingOrganization']\n },\n group_composition: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_composition.label\",\n \"defaultMessage\": \"Composition\"\n }\n }),\n fields: ['materialCompositionFamilyName', 'materialCompositionClassName', 'materialCompositionGenericName']\n },\n group_use: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_use.label\",\n \"defaultMessage\": \"Use\"\n }\n }),\n fields: ['typicalUses']\n },\n group_form: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_form.label\",\n \"defaultMessage\": \"Form\"\n }\n }),\n fields: ['commonForm', 'formType']\n },\n group_properties: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_properties.label\",\n \"defaultMessage\": \"Properties\"\n }\n }),\n fields: ['acousticalPropertyType', 'durabilityPropertyType', 'electricalPropertyType', 'hygrothermalPropertyType', 'mechanicalPropertyType', 'opticalPropertyType', 'sensorialPropertyType', 'smartMaterialPropertyType', 'additionalPropertyType']\n },\n group_ecology: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_ecology.label\",\n \"defaultMessage\": \"Material Ecology\"\n }\n }),\n fields: ['recycledContentQualifier', 'lifecycleComponent', 'certificationProgram']\n },\n group_processing: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_processing.label\",\n \"defaultMessage\": \"Processing\"\n }\n }),\n fields: ['castingProcesses', 'deformingProcesses', 'joiningProcesses', 'machiningProcesses', 'moldingProcesses', 'rapidPrototypingProcesses', 'surfacingProcesses', 'additionalProcess']\n }\n },\n layout: {\n filters1: ['group_institution', 'group_composition', 'group_use', 'group_form', 'group_properties', 'group_ecology', 'group_processing']\n }\n },\n detailFields: {\n fields: {\n featuredCollectionGroupList: {\n field: 'materials_common:featuredCollectionGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'featuredCollection',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n materialCompositionGroupList: {\n field: 'materials_common:materialCompositionGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)(composition)\n },\n typicalUses: {\n field: 'materials_common:typicalUses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n featuredApplicationGroupList: {\n field: 'materials_common:featuredApplicationGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'featuredApplication',\n noteFieldName: 'featuredApplicationNote'\n }))\n },\n materialProductionOrganizationGroupList: {\n label: 'Company',\n field: 'materials_common:materialProductionOrganizationGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'materialProductionOrganization',\n roleFieldName: 'materialProductionOrganizationRole',\n linkName: false\n }))\n },\n materialProductionPersonGroupList: {\n label: 'Person',\n field: 'materials_common:materialProductionPersonGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'materialProductionPerson',\n roleFieldName: 'materialProductionPersonRole',\n linkName: false\n }))\n },\n materialProductionPlaceGroupList: {\n label: 'Place',\n field: 'materials_common:materialProductionPlaceGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'materialProductionPlace',\n roleFieldName: 'materialProductionPlaceRole',\n linkName: false\n }))\n },\n productionDate: {\n label: 'Date',\n field: 'materials_common:productionDate',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'dateDisplayDate'\n })\n },\n discontinued: {\n label: 'Discontinued',\n field: 'materials_common:discontinued'\n },\n productionNote: {\n label: 'Production Note',\n field: 'materials_common:productionNote'\n },\n externalUrlGroupList: {\n field: 'materials_common:externalUrlGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.linkText)({\n urlFieldName: 'externalUrl',\n textFieldName: 'externalUrlNote',\n type: 'external'\n }))\n },\n additionalResourceGroupList: {\n field: 'materials_common:additionalResourceGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'additionalResource',\n noteFieldName: 'additionalResourceNote'\n }))\n },\n commonForm: {\n label: 'Common form',\n field: 'materials_common:commonForm',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n })\n },\n formTypeGroupList: {\n label: 'Form type',\n field: 'materials_common:formTypeGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'formType',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n })\n }))\n },\n acousticalPropertyGroupList: {\n label: 'Acoustical',\n field: 'materials_common:acousticalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'acousticalPropertyType',\n noteFieldName: 'acousticalPropertyNote'\n }))\n },\n durabilityPropertyGroupList: {\n label: 'Durability',\n field: 'materials_common:durabilityPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'durabilityPropertyType',\n noteFieldName: 'durabilityPropertyNote'\n }))\n },\n electricalPropertyGroupList: {\n label: 'Electrical',\n field: 'materials_common:electricalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'electricalPropertyType',\n noteFieldName: 'electricalPropertyNote'\n }))\n },\n hygrothermalPropertyGroupList: {\n label: 'Hygro-thermal',\n field: 'materials_common:hygrothermalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'hygrothermalPropertyType',\n noteFieldName: 'hygrothermalPropertyNote'\n }))\n },\n mechanicalPropertyGroupList: {\n label: 'Mechanical',\n field: 'materials_common:mechanicalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'mechanicalPropertyType',\n noteFieldName: 'mechanicalPropertyNote'\n }))\n },\n opticalPropertyGroupList: {\n label: 'Optical',\n field: 'materials_common:opticalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'opticalPropertyType',\n noteFieldName: 'opticalPropertyNote'\n }))\n },\n sensorialPropertyGroupList: {\n label: 'Sensorial',\n field: 'materials_common:sensorialPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'sensorialPropertyType',\n noteFieldName: 'sensorialPropertyNote'\n }))\n },\n smartMaterialPropertyGroupList: {\n label: 'Smart material',\n field: 'materials_common:smartMaterialPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'smartMaterialPropertyType',\n noteFieldName: 'smartMaterialPropertyNote'\n }))\n },\n additionalPropertyGroupList: {\n label: 'Additional',\n field: 'materials_common:additionalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'additionalPropertyType',\n noteFieldName: 'additionalPropertyNote'\n }))\n },\n propertyNote: {\n label: 'Property note',\n field: 'materials_common:propertyNote'\n },\n recycledContentGroupList: {\n label: 'Recycled content',\n field: 'materials_common:recycledContentGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.numericRange)({\n lowFieldName: 'recycledContent',\n highFieldName: 'recycledContentHigh',\n unit: '%',\n qualifierFieldName: 'recycledContentQualifier',\n linkQualifier: true\n }))\n },\n lifecycleComponentGroupList: {\n label: 'Lifecycle component',\n field: 'materials_common:lifecycleComponentGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'lifecycleComponent',\n noteFieldName: 'lifecycleComponentNote',\n noteLabel: '',\n separator: ' - '\n }))\n },\n embodiedEnergyGroupList: {\n label: 'Embodied energy',\n field: 'materials_common:embodiedEnergyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.numericRange)({\n lowFieldName: 'embodiedEnergyValue',\n highFieldName: 'embodiedEnergyValueHigh',\n unitFieldName: 'embodiedEnergyUnit',\n qualifierFieldName: 'embodiedEnergyNote',\n qualifierSeparator: ' - '\n }))\n },\n certificationCreditGroupList: {\n label: 'Certification credit',\n field: 'materials_common:certificationCreditGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'certificationProgram',\n noteFieldName: 'certificationCreditNote',\n noteLabel: '',\n separator: ' - '\n }))\n },\n ecologyNote: {\n label: 'Material ecology note',\n field: 'materials_common:ecologyNote'\n },\n castingProcesses: {\n label: 'Casting',\n field: 'materials_common:castingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n joiningProcesses: {\n label: 'Joining',\n field: 'materials_common:joiningProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n moldingProcesses: {\n label: 'Molding',\n field: 'materials_common:moldingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n surfacingProcesses: {\n label: 'Surfacing',\n field: 'materials_common:surfacingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n deformingProcesses: {\n label: 'Deforming',\n field: 'materials_common:deformingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n machiningProcesses: {\n label: 'Machining',\n field: 'materials_common:machiningProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n rapidPrototypingProcesses: {\n label: 'Rapid prototyping',\n field: 'materials_common:rapidPrototypingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n additionalProcessGroupList: {\n label: 'Additional process',\n field: 'materials_common:additionalProcessGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'additionalProcess',\n noteFieldName: 'additionalProcessNote'\n }))\n },\n processNote: {\n label: 'Process note',\n field: 'materials_common:processNote'\n }\n },\n groups: {\n group_featured_collection: {\n label: 'Featured collection',\n fields: ['featuredCollectionGroupList']\n },\n group_composition: {\n label: 'Composition',\n fields: ['materialCompositionGroupList']\n },\n group_use: {\n label: 'Typical use',\n fields: ['typicalUses']\n },\n group_application: {\n label: 'Featured application',\n fields: ['featuredApplicationGroupList']\n },\n group_production: {\n label: 'Production',\n fields: ['materialProductionOrganizationGroupList', 'materialProductionPersonGroupList', 'materialProductionPlaceGroupList', 'productionDate', 'discontinued', 'productionNote']\n },\n group_link: {\n label: 'External links',\n fields: ['externalUrlGroupList']\n },\n group_standard: {\n label: 'External standard',\n fields: ['additionalResourceGroupList']\n },\n group_form: {\n label: 'Form',\n fields: ['commonForm', 'formTypeGroupList']\n },\n group_property: {\n label: 'Properties',\n fields: ['acousticalPropertyGroupList', 'durabilityPropertyGroupList', 'electricalPropertyGroupList', 'hygrothermalPropertyGroupList', 'mechanicalPropertyGroupList', 'opticalPropertyGroupList', 'sensorialPropertyGroupList', 'smartMaterialPropertyGroupList', 'additionalPropertyGroupList', 'propertyNote']\n },\n group_ecology: {\n label: 'Material ecology',\n fields: ['recycledContentGroupList', 'lifecycleComponentGroupList', 'embodiedEnergyGroupList', 'certificationCreditGroupList', 'ecologyNote']\n },\n group_process: {\n label: 'Processes',\n fields: ['castingProcesses', 'joiningProcesses', 'moldingProcesses', 'surfacingProcesses', 'deformingProcesses', 'machiningProcesses', 'rapidPrototypingProcesses', 'additionalProcessGroupList', 'processNote']\n }\n },\n layout: {\n fields1: ['group_featured_collection', 'group_composition', 'group_use', 'group_application', 'group_production', 'group_link', 'group_standard', 'group_form', 'group_property'],\n fields2: ['group_ecology', 'group_process']\n }\n },\n institutionHoldings: {\n query: data => {\n const {\n 'collectionspace_core:refName': refName\n } = data;\n const shortId = (0,cspace_refname__WEBPACK_IMPORTED_MODULE_0__.getItemShortID)(refName);\n return {\n term: {\n 'collectionobjects_common:materialGroupList.material.shortid': shortId\n }\n };\n },\n sortField: 'collectionobjects_common:objectNumber',\n title: {\n name: 'collectionobjects_common:otherNumberList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.pickFromList)({\n condition: {\n path: 'numberType',\n value: 'callnumber'\n },\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'numberValue'\n })\n })\n },\n detailFields: {\n fields: {\n otherNumberList: {\n label: 'Call number',\n field: 'collectionobjects_common:otherNumberList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.pickAllFromList)({\n condition: {\n path: 'numberType',\n value: 'callnumber'\n },\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'numberValue'\n })\n }),\n className: 'title'\n },\n collection: {\n label: 'Collection',\n field: 'collectionobjects_common:collection',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n },\n namedCollection: {\n label: 'Named collection',\n field: 'collectionobjects_common:namedCollections',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName)\n },\n computedCurrentLocation: {\n label: 'Current location',\n field: 'collectionobjects_common:computedCurrentLocation',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n },\n materialPhysicalDescriptions: {\n label: 'Physical description',\n field: 'collectionobjects_materials:materialPhysicalDescriptions',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.paragraphs\n },\n materialContainerGroupList: {\n label: 'Container',\n field: 'collectionobjects_materials:materialContainerGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'container',\n noteFieldName: 'containerNote',\n linkValue: false\n }))\n },\n materialConditionGroupList: {\n label: 'Condition',\n field: 'collectionobjects_materials:materialConditionGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'condition',\n noteFieldName: 'conditionNote',\n linkValue: false\n }))\n },\n materialHandlingGroupList: {\n label: 'Handling',\n field: 'collectionobjects_materials:materialHandlingGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'handling',\n noteFieldName: 'handlingNote',\n linkValue: false\n }))\n },\n colors: {\n label: 'Color',\n field: 'collectionobjects_common:colors',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineList\n },\n materialGenericColors: {\n label: 'Generic color',\n field: 'collectionobjects_materials:materialGenericColors',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName)\n },\n materialFinishGroupList: {\n label: 'Finish',\n field: 'collectionobjects_materials:materialFinishGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'finish',\n noteFieldName: 'finishNote',\n linkValue: false\n }))\n },\n numberOfObjects: {\n label: 'Holdings',\n field: 'collectionobjects_common:numberOfObjects'\n },\n objectStatusList: {\n label: 'Type',\n field: 'collectionobjects_common:objectStatusList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.objectTypeValue)\n },\n briefDescriptions: {\n label: 'Production description',\n field: 'collectionobjects_common:briefDescriptions',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.paragraphs\n },\n measuredPartGroupList: {\n label: 'Size',\n field: 'collectionobjects_common:measuredPartGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'dimensionSummary'\n }))\n },\n objectNumber: {\n label: 'System number',\n field: 'collectionobjects_common:objectNumber'\n }\n },\n groups: {\n group_sample_otherNumberList: {\n fields: ['otherNumberList']\n },\n group_sample_collection: {\n fields: ['collection']\n },\n group_sample_namedCollection: {\n fields: ['namedCollection']\n },\n group_sample_computedCurrentLocation: {\n fields: ['computedCurrentLocation']\n },\n group_sample_materialPhysicalDescriptions: {\n fields: ['materialPhysicalDescriptions']\n },\n group_sample_condition: {\n fields: ['materialContainerGroupList', 'materialConditionGroupList', 'materialHandlingGroupList']\n },\n group_sample_description: {\n fields: ['colors', 'materialGenericColors', 'materialFinishGroupList']\n },\n group_sample_holdings: {\n fields: ['numberOfObjects', 'objectStatusList'],\n className: 'inline'\n },\n group_sample_briefDescriptions: {\n fields: ['briefDescriptions']\n },\n group_sample_measuredPartGroupList: {\n fields: ['measuredPartGroupList']\n },\n group_sample_system: {\n fields: ['objectNumber']\n }\n },\n layout: {\n fields1: ['group_sample_otherNumberList', 'group_sample_collection', 'group_sample_namedCollection', 'group_sample_computedCurrentLocation', 'group_sample_materialPhysicalDescriptions', 'group_sample_condition', 'group_sample_description', 'group_sample_holdings', 'group_sample_briefDescriptions', 'group_sample_measuredPartGroupList', 'group_sample_system']\n }\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/materials.js?");
|
|
777
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_intl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-intl */ \"./node_modules/react-intl/lib/index.js\");\n/* harmony import */ var cspace_refname__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cspace-refname */ \"./node_modules/cspace-refname/lib/index.js\");\n/* harmony import */ var _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/formatHelpers */ \"./src/helpers/formatHelpers.jsx\");\n\n\n\nconst composition = data => {\n const parts = ['materialCompositionFamilyName', 'materialCompositionClassName', 'materialCompositionGenericName'].map(fieldName => (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.renderFilterLink)(fieldName, (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName)(data[fieldName])));\n return (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.renderJoined)(parts, ' - ');\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n messages: {\n 'rootPage.title': 'Material Order',\n 'searchQueryInput.label': 'Search materials',\n 'searchQueryInput.placeholder': 'Search materials',\n 'searchResultStats.count': '{count, plural, one {# material} other {# materials}} found',\n 'institutionIndex.label': 'Samples at {title}'\n },\n gatewayUrl: 'http://localhost:8180/gateway/materials',\n detailPath: 'material',\n imageLoadDelay: 4000,\n pageLoadDelay: 1500,\n pageAutoLoadLimit: 40,\n defaultQuery: {\n term: {\n 'ecm:primaryType': 'Materialitem'\n }\n },\n includeFields: ['ecm:name', 'ecm:primaryType', 'collectionspace_denorm:holdingInstitutions', 'collectionspace_denorm:mediaCsid', 'collectionspace_denorm:title', 'materials_common:shortIdentifier'],\n referenceField: 'materials_common:shortIdentifier',\n storageKey: 'mo',\n searchResultImageDerivative: 'OriginalJpeg',\n detailImageDerivative: 'OriginalJpeg',\n detailTitle: data => {\n const {\n 'materials_common:materialTermGroupList': materialTermGroups\n } = data;\n if (materialTermGroups && materialTermGroups.length > 0) {\n const {\n termDisplayName,\n historicalStatus\n } = materialTermGroups[0];\n const title = termDisplayName + (historicalStatus === 'historical' ? ' (formerly known as)' : '');\n return title;\n }\n return undefined;\n },\n detailSubtitle: data => {\n const {\n 'materials_common:materialTermGroupList': materialTermGroups\n } = data;\n if (materialTermGroups && materialTermGroups.length > 1) {\n const displayNames = materialTermGroups.slice(1).map(termGroup => {\n const {\n termDisplayName,\n historicalStatus\n } = termGroup;\n return termDisplayName + (historicalStatus === 'historical' ? ' (formerly known as)' : '');\n });\n return (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.renderJoined)(displayNames, '\\n');\n }\n return undefined;\n },\n detailDescription: data => {\n const {\n 'materials_common:description': description\n } = data;\n return description;\n },\n filters: {\n fields: {\n material: {\n field: 'collectionobjects_common:materialGroupList.material'\n },\n materialTermAttributionContributingOrganization: {\n field: 'collectionspace_denorm:holdingInstitutions.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialTermAttributionContributingOrganization.label\",\n \"defaultMessage\": \"Institution\"\n }\n })\n },\n materialCompositionFamilyName: {\n field: 'materials_common:materialCompositionGroupList.materialCompositionFamilyName.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialCompositionFamilyName.label\",\n \"defaultMessage\": \"Family name\"\n },\n shortLabel: {\n \"id\": \"filter.materialCompositionFamilyName.shortLabel\",\n \"defaultMessage\": \"Family\"\n }\n })\n },\n materialCompositionClassName: {\n field: 'materials_common:materialCompositionGroupList.materialCompositionClassName.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialCompositionClassName.label\",\n \"defaultMessage\": \"Class name\"\n },\n shortLabel: {\n \"id\": \"filter.materialCompositionClassName.shortLabel\",\n \"defaultMessage\": \"Class\"\n }\n })\n },\n materialCompositionGenericName: {\n field: 'materials_common:materialCompositionGroupList.materialCompositionGenericName.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.materialCompositionGenericName.label\",\n \"defaultMessage\": \"Generic name\"\n },\n shortLabel: {\n \"id\": \"filter.materialCompositionGenericName.shortLabel\",\n \"defaultMessage\": \"Generic\"\n }\n })\n },\n typicalUses: {\n field: 'materials_common:typicalUses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.typicalUses.label\",\n \"defaultMessage\": \"Typical use\"\n }\n })\n },\n commonForm: {\n field: 'materials_common:commonForm.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.commonForm.label\",\n \"defaultMessage\": \"Common form\"\n }\n })\n },\n formType: {\n field: 'materials_common:formTypeGroupList.formType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.formType.label\",\n \"defaultMessage\": \"Form type\"\n }\n })\n },\n acousticalPropertyType: {\n field: 'materials_common:acousticalPropertyGroupList.acousticalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.acousticalPropertyType.label\",\n \"defaultMessage\": \"Acoustical property\"\n },\n shortLabel: {\n \"id\": \"filter.acousticalPropertyType.shortLabel\",\n \"defaultMessage\": \"Acoustical\"\n }\n })\n },\n durabilityPropertyType: {\n field: 'materials_common:durabilityPropertyGroupList.durabilityPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.durabilityPropertyType.label\",\n \"defaultMessage\": \"Durability property\"\n },\n shortLabel: {\n \"id\": \"filter.durabilityPropertyType.shortLabel\",\n \"defaultMessage\": \"Durability\"\n }\n })\n },\n electricalPropertyType: {\n field: 'materials_common:electricalPropertyGroupList.electricalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.electricalPropertyType.label\",\n \"defaultMessage\": \"Electrical property\"\n },\n shortLabel: {\n \"id\": \"filter.electricalPropertyType.shortLabel\",\n \"defaultMessage\": \"Electrical\"\n }\n })\n },\n hygrothermalPropertyType: {\n field: 'materials_common:hygrothermalPropertyGroupList.hygrothermalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.hygrothermalPropertyType.label\",\n \"defaultMessage\": \"Hygrothermal property\"\n },\n shortLabel: {\n \"id\": \"filter.hygrothermalPropertyType.shortLabel\",\n \"defaultMessage\": \"Hygrothermal\"\n }\n })\n },\n mechanicalPropertyType: {\n field: 'materials_common:mechanicalPropertyGroupList.mechanicalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.mechanicalPropertyType.label\",\n \"defaultMessage\": \"Mechanical property\"\n },\n shortLabel: {\n \"id\": \"filter.mechanicalPropertyType.shortLabel\",\n \"defaultMessage\": \"Mechanical\"\n }\n })\n },\n opticalPropertyType: {\n field: 'materials_common:opticalPropertyGroupList.opticalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.opticalPropertyType.label\",\n \"defaultMessage\": \"Optical property\"\n },\n shortLabel: {\n \"id\": \"filter.opticalPropertyType.shortLabel\",\n \"defaultMessage\": \"Optical\"\n }\n })\n },\n sensorialPropertyType: {\n field: 'materials_common:sensorialPropertyGroupList.sensorialPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.sensorialPropertyType.label\",\n \"defaultMessage\": \"Sensorial property\"\n },\n shortLabel: {\n \"id\": \"filter.sensorialPropertyType.shortLabel\",\n \"defaultMessage\": \"Sensorial\"\n }\n })\n },\n smartMaterialPropertyType: {\n field: 'materials_common:smartMaterialPropertyGroupList.smartMaterialPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.smartMaterialPropertyType.label\",\n \"defaultMessage\": \"Smart material property\"\n },\n shortLabel: {\n \"id\": \"filter.smartMaterialPropertyType.shortLabel\",\n \"defaultMessage\": \"Smart material\"\n }\n })\n },\n additionalPropertyType: {\n field: 'materials_common:additionalPropertyGroupList.additionalPropertyType.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.additionalPropertyType.label\",\n \"defaultMessage\": \"Additional property\"\n }\n })\n },\n recycledContentQualifier: {\n field: 'materials_common:recycledContentGroupList.recycledContentQualifier.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.recycledContentQualifier.label\",\n \"defaultMessage\": \"Recycled content\"\n },\n shortLabel: {\n \"id\": \"filter.recycledContentQualifier.shortLabel\",\n \"defaultMessage\": \"Recycled\"\n }\n })\n },\n lifecycleComponent: {\n field: 'materials_common:lifecycleComponentGroupList.lifecycleComponent.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.lifecycleComponent.label\",\n \"defaultMessage\": \"Lifecycle component\"\n },\n shortLabel: {\n \"id\": \"filter.lifecycleComponent.shortLabel\",\n \"defaultMessage\": \"Lifecycle\"\n }\n })\n },\n certificationProgram: {\n field: 'materials_common:certificationCreditGroupList.certificationProgram.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.certificationProgram.label\",\n \"defaultMessage\": \"Certification program\"\n },\n shortLabel: {\n \"id\": \"filter.certificationProgram.shortLabel\",\n \"defaultMessage\": \"Certification\"\n }\n })\n },\n castingProcesses: {\n field: 'materials_common:castingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.castingProcesses.label\",\n \"defaultMessage\": \"Casting process\"\n },\n shortLabel: {\n \"id\": \"filter.castingProcesses.shortLabel\",\n \"defaultMessage\": \"Casting\"\n }\n })\n },\n deformingProcesses: {\n field: 'materials_common:deformingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.deformingProcesses.label\",\n \"defaultMessage\": \"Deforming process\"\n },\n shortLabel: {\n \"id\": \"filter.deformingProcesses.shortLabel\",\n \"defaultMessage\": \"Deforming\"\n }\n })\n },\n joiningProcesses: {\n field: 'materials_common:joiningProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.joiningProcesses.label\",\n \"defaultMessage\": \"Joining process\"\n },\n shortLabel: {\n \"id\": \"filter.joiningProcesses.shortLabel\",\n \"defaultMessage\": \"Joining\"\n }\n })\n },\n machiningProcesses: {\n field: 'materials_common:machiningProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.machiningProcesses.label\",\n \"defaultMessage\": \"Machining process\"\n },\n shortLabel: {\n \"id\": \"filter.machiningProcesses.shortLabel\",\n \"defaultMessage\": \"Machining\"\n }\n })\n },\n moldingProcesses: {\n field: 'materials_common:moldingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.moldingProcesses.label\",\n \"defaultMessage\": \"Molding process\"\n },\n shortLabel: {\n \"id\": \"filter.moldingProcesses.shortLabel\",\n \"defaultMessage\": \"Molding\"\n }\n })\n },\n rapidPrototypingProcesses: {\n field: 'materials_common:rapidPrototypingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.rapidPrototypingProcesses.label\",\n \"defaultMessage\": \"Rapid prototyping process\"\n },\n shortLabel: {\n \"id\": \"filter.rapidPrototypingProcesses.shortLabel\",\n \"defaultMessage\": \"Rapid prototyping\"\n }\n })\n },\n surfacingProcesses: {\n field: 'materials_common:surfacingProcesses.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.surfacingProcesses.label\",\n \"defaultMessage\": \"Surfacing process\"\n },\n shortLabel: {\n \"id\": \"filter.surfacingProcesses.shortLabel\",\n \"defaultMessage\": \"Surfacing\"\n }\n })\n },\n additionalProcess: {\n field: 'materials_common:additionalProcessGroupList.additionalProcess.displayName',\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filter.additionalProcess.label\",\n \"defaultMessage\": \"Additional process\"\n }\n })\n }\n },\n groups: {\n group_institution: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_institution.label\",\n \"defaultMessage\": \"Holding Institution\"\n }\n }),\n fields: ['materialTermAttributionContributingOrganization']\n },\n group_composition: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_composition.label\",\n \"defaultMessage\": \"Composition\"\n }\n }),\n fields: ['materialCompositionFamilyName', 'materialCompositionClassName', 'materialCompositionGenericName']\n },\n group_use: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_use.label\",\n \"defaultMessage\": \"Use\"\n }\n }),\n fields: ['typicalUses']\n },\n group_form: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_form.label\",\n \"defaultMessage\": \"Form\"\n }\n }),\n fields: ['commonForm', 'formType']\n },\n group_properties: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_properties.label\",\n \"defaultMessage\": \"Properties\"\n }\n }),\n fields: ['acousticalPropertyType', 'durabilityPropertyType', 'electricalPropertyType', 'hygrothermalPropertyType', 'mechanicalPropertyType', 'opticalPropertyType', 'sensorialPropertyType', 'smartMaterialPropertyType', 'additionalPropertyType']\n },\n group_ecology: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_ecology.label\",\n \"defaultMessage\": \"Material Ecology\"\n }\n }),\n fields: ['recycledContentQualifier', 'lifecycleComponent', 'certificationProgram']\n },\n group_processing: {\n messages: (0,react_intl__WEBPACK_IMPORTED_MODULE_2__.defineMessages)({\n label: {\n \"id\": \"filterGroup.group_processing.label\",\n \"defaultMessage\": \"Processing\"\n }\n }),\n fields: ['castingProcesses', 'deformingProcesses', 'joiningProcesses', 'machiningProcesses', 'moldingProcesses', 'rapidPrototypingProcesses', 'surfacingProcesses', 'additionalProcess']\n }\n },\n layout: {\n filters1: ['group_institution', 'group_composition', 'group_use', 'group_form', 'group_properties', 'group_ecology', 'group_processing']\n }\n },\n detailFields: {\n fields: {\n material: {\n field: 'collectionobjects_common:materialGroupList'\n },\n featuredCollectionGroupList: {\n field: 'materials_common:featuredCollectionGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'featuredCollection',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n materialCompositionGroupList: {\n field: 'materials_common:materialCompositionGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)(composition)\n },\n typicalUses: {\n field: 'materials_common:typicalUses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n featuredApplicationGroupList: {\n field: 'materials_common:featuredApplicationGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'featuredApplication',\n noteFieldName: 'featuredApplicationNote'\n }))\n },\n materialProductionOrganizationGroupList: {\n label: 'Company',\n field: 'materials_common:materialProductionOrganizationGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'materialProductionOrganization',\n roleFieldName: 'materialProductionOrganizationRole',\n linkName: false\n }))\n },\n materialProductionPersonGroupList: {\n label: 'Person',\n field: 'materials_common:materialProductionPersonGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'materialProductionPerson',\n roleFieldName: 'materialProductionPersonRole',\n linkName: false\n }))\n },\n materialProductionPlaceGroupList: {\n label: 'Place',\n field: 'materials_common:materialProductionPlaceGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.nameRole)({\n nameFieldName: 'materialProductionPlace',\n roleFieldName: 'materialProductionPlaceRole',\n linkName: false\n }))\n },\n productionDate: {\n label: 'Date',\n field: 'materials_common:productionDate',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'dateDisplayDate'\n })\n },\n discontinued: {\n label: 'Discontinued',\n field: 'materials_common:discontinued'\n },\n productionNote: {\n label: 'Production Note',\n field: 'materials_common:productionNote'\n },\n externalUrlGroupList: {\n field: 'materials_common:externalUrlGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.linkText)({\n urlFieldName: 'externalUrl',\n textFieldName: 'externalUrlNote',\n type: 'external'\n }))\n },\n additionalResourceGroupList: {\n field: 'materials_common:additionalResourceGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'additionalResource',\n noteFieldName: 'additionalResourceNote'\n }))\n },\n commonForm: {\n label: 'Common form',\n field: 'materials_common:commonForm',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n })\n },\n formTypeGroupList: {\n label: 'Form type',\n field: 'materials_common:formTypeGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'formType',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n })\n }))\n },\n acousticalPropertyGroupList: {\n label: 'Acoustical',\n field: 'materials_common:acousticalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'acousticalPropertyType',\n noteFieldName: 'acousticalPropertyNote'\n }))\n },\n durabilityPropertyGroupList: {\n label: 'Durability',\n field: 'materials_common:durabilityPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'durabilityPropertyType',\n noteFieldName: 'durabilityPropertyNote'\n }))\n },\n electricalPropertyGroupList: {\n label: 'Electrical',\n field: 'materials_common:electricalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'electricalPropertyType',\n noteFieldName: 'electricalPropertyNote'\n }))\n },\n hygrothermalPropertyGroupList: {\n label: 'Hygro-thermal',\n field: 'materials_common:hygrothermalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'hygrothermalPropertyType',\n noteFieldName: 'hygrothermalPropertyNote'\n }))\n },\n mechanicalPropertyGroupList: {\n label: 'Mechanical',\n field: 'materials_common:mechanicalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'mechanicalPropertyType',\n noteFieldName: 'mechanicalPropertyNote'\n }))\n },\n opticalPropertyGroupList: {\n label: 'Optical',\n field: 'materials_common:opticalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'opticalPropertyType',\n noteFieldName: 'opticalPropertyNote'\n }))\n },\n sensorialPropertyGroupList: {\n label: 'Sensorial',\n field: 'materials_common:sensorialPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'sensorialPropertyType',\n noteFieldName: 'sensorialPropertyNote'\n }))\n },\n smartMaterialPropertyGroupList: {\n label: 'Smart material',\n field: 'materials_common:smartMaterialPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'smartMaterialPropertyType',\n noteFieldName: 'smartMaterialPropertyNote'\n }))\n },\n additionalPropertyGroupList: {\n label: 'Additional',\n field: 'materials_common:additionalPropertyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'additionalPropertyType',\n noteFieldName: 'additionalPropertyNote'\n }))\n },\n propertyNote: {\n label: 'Property note',\n field: 'materials_common:propertyNote'\n },\n recycledContentGroupList: {\n label: 'Recycled content',\n field: 'materials_common:recycledContentGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.numericRange)({\n lowFieldName: 'recycledContent',\n highFieldName: 'recycledContentHigh',\n unit: '%',\n qualifierFieldName: 'recycledContentQualifier',\n linkQualifier: true\n }))\n },\n lifecycleComponentGroupList: {\n label: 'Lifecycle component',\n field: 'materials_common:lifecycleComponentGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'lifecycleComponent',\n noteFieldName: 'lifecycleComponentNote',\n noteLabel: '',\n separator: ' - '\n }))\n },\n embodiedEnergyGroupList: {\n label: 'Embodied energy',\n field: 'materials_common:embodiedEnergyGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.numericRange)({\n lowFieldName: 'embodiedEnergyValue',\n highFieldName: 'embodiedEnergyValueHigh',\n unitFieldName: 'embodiedEnergyUnit',\n qualifierFieldName: 'embodiedEnergyNote',\n qualifierSeparator: ' - '\n }))\n },\n certificationCreditGroupList: {\n label: 'Certification credit',\n field: 'materials_common:certificationCreditGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'certificationProgram',\n noteFieldName: 'certificationCreditNote',\n noteLabel: '',\n separator: ' - '\n }))\n },\n ecologyNote: {\n label: 'Material ecology note',\n field: 'materials_common:ecologyNote'\n },\n castingProcesses: {\n label: 'Casting',\n field: 'materials_common:castingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n joiningProcesses: {\n label: 'Joining',\n field: 'materials_common:joiningProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n moldingProcesses: {\n label: 'Molding',\n field: 'materials_common:moldingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n surfacingProcesses: {\n label: 'Surfacing',\n field: 'materials_common:surfacingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n deformingProcesses: {\n label: 'Deforming',\n field: 'materials_common:deformingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n machiningProcesses: {\n label: 'Machining',\n field: 'materials_common:machiningProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n rapidPrototypingProcesses: {\n label: 'Rapid prototyping',\n field: 'materials_common:rapidPrototypingProcesses',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.filterLink)({\n filterValueFormat: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n }))\n },\n additionalProcessGroupList: {\n label: 'Additional process',\n field: 'materials_common:additionalProcessGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'additionalProcess',\n noteFieldName: 'additionalProcessNote'\n }))\n },\n processNote: {\n label: 'Process note',\n field: 'materials_common:processNote'\n }\n },\n groups: {\n group_featured_collection: {\n label: 'Featured collection',\n fields: ['featuredCollectionGroupList']\n },\n group_composition: {\n label: 'Composition',\n fields: ['materialCompositionGroupList']\n },\n group_use: {\n label: 'Typical use',\n fields: ['typicalUses']\n },\n group_application: {\n label: 'Featured application',\n fields: ['featuredApplicationGroupList']\n },\n group_production: {\n label: 'Production',\n fields: ['materialProductionOrganizationGroupList', 'materialProductionPersonGroupList', 'materialProductionPlaceGroupList', 'productionDate', 'discontinued', 'productionNote']\n },\n group_link: {\n label: 'External links',\n fields: ['externalUrlGroupList']\n },\n group_standard: {\n label: 'External standard',\n fields: ['additionalResourceGroupList']\n },\n group_form: {\n label: 'Form',\n fields: ['commonForm', 'formTypeGroupList']\n },\n group_property: {\n label: 'Properties',\n fields: ['acousticalPropertyGroupList', 'durabilityPropertyGroupList', 'electricalPropertyGroupList', 'hygrothermalPropertyGroupList', 'mechanicalPropertyGroupList', 'opticalPropertyGroupList', 'sensorialPropertyGroupList', 'smartMaterialPropertyGroupList', 'additionalPropertyGroupList', 'propertyNote']\n },\n group_ecology: {\n label: 'Material ecology',\n fields: ['recycledContentGroupList', 'lifecycleComponentGroupList', 'embodiedEnergyGroupList', 'certificationCreditGroupList', 'ecologyNote']\n },\n group_process: {\n label: 'Processes',\n fields: ['castingProcesses', 'joiningProcesses', 'moldingProcesses', 'surfacingProcesses', 'deformingProcesses', 'machiningProcesses', 'rapidPrototypingProcesses', 'additionalProcessGroupList', 'processNote']\n }\n },\n layout: {\n fields1: ['group_featured_collection', 'group_composition', 'group_use', 'group_application', 'group_production', 'group_link', 'group_standard', 'group_form', 'group_property'],\n fields2: ['group_ecology', 'group_process']\n }\n },\n institutionHoldings: {\n query: data => {\n const {\n 'collectionspace_core:refName': refName\n } = data;\n const shortId = (0,cspace_refname__WEBPACK_IMPORTED_MODULE_0__.getItemShortID)(refName);\n return {\n term: {\n 'collectionobjects_common:materialGroupList.material.shortid': shortId\n }\n };\n },\n sortField: 'collectionobjects_common:objectNumber',\n title: {\n name: 'collectionobjects_common:otherNumberList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.pickFromList)({\n condition: {\n path: 'numberType',\n value: 'callnumber'\n },\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'numberValue'\n })\n })\n },\n detailFields: {\n fields: {\n otherNumberList: {\n label: 'Call number',\n field: 'collectionobjects_common:otherNumberList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.pickAllFromList)({\n condition: {\n path: 'numberType',\n value: 'callnumber'\n },\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'numberValue'\n })\n }),\n className: 'title'\n },\n collection: {\n label: 'Collection',\n field: 'collectionobjects_common:collection',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n },\n namedCollection: {\n label: 'Named collection',\n field: 'collectionobjects_common:namedCollections',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName)\n },\n computedCurrentLocation: {\n label: 'Current location',\n field: 'collectionobjects_common:computedCurrentLocation',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName\n },\n materialPhysicalDescriptions: {\n label: 'Physical description',\n field: 'collectionobjects_materials:materialPhysicalDescriptions',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.paragraphs\n },\n materialContainerGroupList: {\n label: 'Container',\n field: 'collectionobjects_materials:materialContainerGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'container',\n noteFieldName: 'containerNote',\n linkValue: false\n }))\n },\n materialConditionGroupList: {\n label: 'Condition',\n field: 'collectionobjects_materials:materialConditionGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'condition',\n noteFieldName: 'conditionNote',\n linkValue: false\n }))\n },\n materialHandlingGroupList: {\n label: 'Handling',\n field: 'collectionobjects_materials:materialHandlingGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'handling',\n noteFieldName: 'handlingNote',\n linkValue: false\n }))\n },\n colors: {\n label: 'Color',\n field: 'collectionobjects_common:colors',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineList\n },\n materialGenericColors: {\n label: 'Generic color',\n field: 'collectionobjects_materials:materialGenericColors',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.displayName)\n },\n materialFinishGroupList: {\n label: 'Finish',\n field: 'collectionobjects_materials:materialFinishGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueWithNote)({\n valueFieldName: 'finish',\n noteFieldName: 'finishNote',\n linkValue: false\n }))\n },\n numberOfObjects: {\n label: 'Holdings',\n field: 'collectionobjects_common:numberOfObjects'\n },\n objectStatusList: {\n label: 'Type',\n field: 'collectionobjects_common:objectStatusList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.inlineListOf)(_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.objectTypeValue)\n },\n briefDescriptions: {\n label: 'Production description',\n field: 'collectionobjects_common:briefDescriptions',\n format: _helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.paragraphs\n },\n measuredPartGroupList: {\n label: 'Size',\n field: 'collectionobjects_common:measuredPartGroupList',\n format: (0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.listOf)((0,_helpers_formatHelpers__WEBPACK_IMPORTED_MODULE_1__.valueAt)({\n path: 'dimensionSummary'\n }))\n },\n objectNumber: {\n label: 'System number',\n field: 'collectionobjects_common:objectNumber'\n }\n },\n groups: {\n group_sample_otherNumberList: {\n fields: ['otherNumberList']\n },\n group_sample_collection: {\n fields: ['collection']\n },\n group_sample_namedCollection: {\n fields: ['namedCollection']\n },\n group_sample_computedCurrentLocation: {\n fields: ['computedCurrentLocation']\n },\n group_sample_materialPhysicalDescriptions: {\n fields: ['materialPhysicalDescriptions']\n },\n group_sample_condition: {\n fields: ['materialContainerGroupList', 'materialConditionGroupList', 'materialHandlingGroupList']\n },\n group_sample_description: {\n fields: ['colors', 'materialGenericColors', 'materialFinishGroupList']\n },\n group_sample_holdings: {\n fields: ['numberOfObjects', 'objectStatusList'],\n className: 'inline'\n },\n group_sample_briefDescriptions: {\n fields: ['briefDescriptions']\n },\n group_sample_measuredPartGroupList: {\n fields: ['measuredPartGroupList']\n },\n group_sample_system: {\n fields: ['objectNumber']\n }\n },\n layout: {\n fields1: ['group_sample_otherNumberList', 'group_sample_collection', 'group_sample_namedCollection', 'group_sample_computedCurrentLocation', 'group_sample_materialPhysicalDescriptions', 'group_sample_condition', 'group_sample_description', 'group_sample_holdings', 'group_sample_briefDescriptions', 'group_sample_measuredPartGroupList', 'group_sample_system']\n }\n }\n }\n});\n\n//# sourceURL=webpack://cspacePublicBrowser/./src/config/materials.js?");
|
|
778
778
|
|
|
779
779
|
/***/ }),
|
|
780
780
|
|