@pega/react-sdk-components 0.23.5 → 0.23.7

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.
Files changed (31) hide show
  1. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js +1 -1
  2. package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js.map +1 -1
  3. package/lib/components/helpers/formatters/index.d.ts +1 -1
  4. package/lib/components/helpers/formatters/index.js +1 -1
  5. package/lib/components/helpers/formatters/index.js.map +1 -1
  6. package/lib/components/infra/ToDo/ToDo.d.ts.map +1 -1
  7. package/lib/components/infra/ToDo/ToDo.js +7 -4
  8. package/lib/components/infra/ToDo/ToDo.js.map +1 -1
  9. package/lib/components/templates/ListView/ListView.js +1 -1
  10. package/lib/components/templates/ListView/ListView.js.map +1 -1
  11. package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js +1 -1
  12. package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -1
  13. package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js +1 -1
  14. package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -1
  15. package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js +1 -1
  16. package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
  17. package/lib/components/templates/SimpleTable/{helpers.d.ts → simpleTableHelpers.d.ts} +1 -1
  18. package/lib/components/templates/SimpleTable/simpleTableHelpers.d.ts.map +1 -0
  19. package/lib/components/templates/SimpleTable/{helpers.js → simpleTableHelpers.js} +1 -1
  20. package/lib/components/templates/SimpleTable/simpleTableHelpers.js.map +1 -0
  21. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -1
  22. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js +1 -2
  23. package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -1
  24. package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js +1 -1
  25. package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -1
  26. package/lib/sdk-pega-component-map.d.ts +6 -2
  27. package/lib/sdk-pega-component-map.js +9 -5
  28. package/lib/sdk-pega-component-map.js.map +1 -1
  29. package/package.json +1 -1
  30. package/lib/components/templates/SimpleTable/helpers.d.ts.map +0 -1
  31. package/lib/components/templates/SimpleTable/helpers.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleTableManual.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,QAAQ,MAAM,4BAA4B,CAAC;AAClD,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,uBAAuB,MAAM,mCAAmC,CAAC;AAExE,OAAO,cAAc,MAAM,kCAAk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AAE,gBAAgB,GAC1B,CACH,CACA,CACJ,CAAC,CAAC,CAAC,CACF;gBACE,oBAAC,MAAM,IACL,EAAE,EAAC,QAAQ,EACX,SAAS,QACT,QAAQ,EAAE,qBAAqB,EAC/B,KAAK,EAAE,2BAA2B;oBAElC,oBAAC,QAAQ,IAAC,KAAK,EAAC,UAAU,eAAoB;oBAC9C,oBAAC,QAAQ,IAAC,KAAK,EAAC,QAAQ,aAAkB;oBAC1C,oBAAC,QAAQ,IAAC,KAAK,EAAC,YAAY,kBAAuB,CAC5C;gBACT,oBAAC,SAAS,IACR,SAAS,QACT,MAAM,EAAC,OAAO,EACd,EAAE,EAAC,gBAAgB,EACnB,IAAI,EAAC,MAAM,EACX,SAAS,QACT,KAAK,EAAE,0BAA0B,EACjC,QAAQ,EAAE,oBAAoB,GAC9B,CACD,CACJ,CACa;YAChB,oBAAC,aAAa;gBACZ,oBAAC,MAAM,IAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAC,WAAW,aAEvC;gBACT,oBAAC,MAAM,IAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAC,SAAS,aAEtC,CACK,CACT,CACM,CAClB,CAAC;AACJ,CAAC","sourcesContent":["/* eslint-disable no-nested-ternary */\nimport React, { useEffect, useState } from 'react';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TableRow from '@material-ui/core/TableRow';\nimport Paper from '@material-ui/core/Paper';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { buildFieldsForTable, filterData } from '../helpers';\nimport { getDataPage } from '../../../helpers/data_page';\nimport Link from '@material-ui/core/Link';\nimport { getReferenceList } from '../../../helpers/field-group-utils';\nimport { Utils } from '../../../helpers/utils';\nimport { createElement } from 'react';\n\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\n\nimport TableSortLabel from '@material-ui/core/TableSortLabel';\nimport MoreIcon from '@material-ui/icons/MoreVert';\nimport Menu from '@material-ui/core/Menu';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport FilterListIcon from '@material-ui/icons/FilterList';\nimport SubjectIcon from '@material-ui/icons/Subject';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport Select from '@material-ui/core/Select';\nimport Button from '@material-ui/core/Button';\nimport TextField from '@material-ui/core/TextField';\n\nconst useStyles = makeStyles((/* theme */) => ({\n label: {\n margin: '8px'\n },\n header: {\n background: '#f5f5f5'\n },\n tableCell: {\n borderRight: '1px solid lightgray',\n padding: '8px'\n },\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n moreIcon: {\n verticalAlign: 'bottom'\n }\n}));\n\ndeclare const PCore: any;\n\nlet menuColumnId = '';\nlet menuColumnType = '';\nlet menuColumnLabel = '';\n\nconst filterByColumns: Array<any> = [];\nlet myRows: Array<any>;\nexport default function SimpleTableManual(props) {\n const classes = useStyles();\n const {\n getPConnect,\n referenceList = [], // if referenceList not in configProps$, default to empy list\n children,\n renderMode,\n presets,\n label: labelProp,\n showLabel,\n dataPageName,\n contextClass,\n hideAddRow,\n hideDeleteRow,\n propertyLabel,\n fieldMetadata\n } = props;\n const pConn = getPConnect();\n const [rowData, setRowData] = useState([]);\n const [elements, setElementsData] = useState([]);\n const [order, setOrder] = useState<Order>('asc');\n const [orderBy, setOrderBy] = useState<keyof any>('');\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);\n const [open, setOpen] = useState(false);\n const [filterBy, setFilterBy] = useState<string>();\n const [containsDateOrTime, setContainsDateOrTime] = useState<boolean>(false);\n const [filterType, setFilterType] = useState<string>('string');\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [displayDialogFilterName, setDisplayDialogFilterName] = useState<string>('');\n const [displayDialogContainsFilter, setDisplayDialogContainsFilter] =\n useState<string>('contains');\n const [displayDialogContainsValue, setDisplayDialogContainsValue] = useState<string>('');\n const [displayDialogDateFilter, setDisplayDialogDateFilter] = useState<string>('notequal');\n const [displayDialogDateValue, setDisplayDialogDateValue] = useState<string>('');\n\n const parameters = fieldMetadata?.datasource?.parameters;\n\n const label = labelProp || propertyLabel;\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n if (propsToUse.showLabel === false) {\n propsToUse.label = '';\n }\n // Getting current context\n const context = getPConnect().getContextName();\n const resolvedList = getReferenceList(pConn);\n const pageReference = `${pConn.getPageReference()}${resolvedList}`;\n pConn.setReferenceList(resolvedList);\n const menuIconOverride$ = Utils.getImageSrc('trash', PCore.getAssetLoader().getStaticServerUrl());\n\n const resolvedFields = children?.[0]?.children || presets?.[0].children?.[0].children;\n // NOTE: props has each child.config with datasource and value undefined\n // but getRawMetadata() has each child.config with datasource and value showing their unresolved values (ex: \"@P thePropName\")\n // We need to use the prop name as the \"glue\" to tie the table dataSource, displayColumns and data together.\n // So, in the code below, we'll use the unresolved config.value (but replacing the space with an underscore to keep things happy)\n const rawMetadata = getPConnect().getRawMetadata();\n\n // get raw config since @P and other annotations are processed and don't appear in the resolved config.\n // Destructure \"raw\" children into array var: \"rawFields\"\n // NOTE: when config.listType == \"associated\", the property can be found in either\n // config.value (ex: \"@P .DeclarantChoice\") or\n // config.datasource (ex: \"@ASSOCIATED .DeclarantChoice\")\n // Neither of these appear in the resolved props\n\n const rawConfig = rawMetadata?.config;\n const rawFields =\n rawConfig?.children?.[0]?.children || rawConfig?.presets?.[0].children?.[0]?.children;\n\n const readOnlyMode = renderMode === 'ReadOnly';\n const editableMode = renderMode === 'Editable';\n const showAddRowButton = !readOnlyMode && !hideAddRow;\n const showDeleteButton = !readOnlyMode && !hideDeleteRow;\n useEffect(() => {\n if (editableMode) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n buildElementsForTable();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n generateRowsData();\n }\n }, [referenceList.length]);\n\n // Nebula has other handling for isReadOnlyMode but has Cosmos-specific code\n // so ignoring that for now...\n // fieldDefs will be an array where each entry will have a \"name\" which will be the\n // \"resolved\" property name (that we can use as the colId) though it's not really\n // resolved. The buildFieldsForTable helper just removes the \"@P \" (which is what\n // Nebula does). It will also have the \"label\", and \"meta\" contains the original,\n // unchanged config info. For now, much of the info here is carried over from\n // Nebula and we may not end up using it all.\n const fieldDefs = buildFieldsForTable(rawFields, resolvedFields, showDeleteButton);\n\n const displayedColumns = fieldDefs.map(field => {\n return field.name ? field.name : field.cellRenderer;\n });\n\n // console.log(`SimpleTable displayedColumns:`);\n // console.log(displayedColumns);\n\n // And now we can process the resolvedFields to add in the \"name\"\n // from from the fieldDefs. This \"name\" is the value that\n // we'll share to connect things together in the table.\n\n // const processedFields = resolvedFields.map((field, i) => {\n // field.config['name'] = displayedColumns[i]; // .config[\"value\"].replace(/ ./g,\"_\"); // replace space dot with underscore\n // return field;\n // });\n\n // console.log(\"SimpleTable processedFields:\");\n // console.log(processedFields);\n\n // return the value that should be shown as the contents for the given row data\n // of the given row field\n function getRowValue(inRowData: Object, inColKey: string): any {\n // See what data (if any) we have to display\n const refKeys: Array<string> = inColKey.split('.');\n let valBuilder = inRowData;\n for (const key of refKeys) {\n valBuilder = valBuilder[key];\n }\n return valBuilder;\n }\n\n const formatRowsData = data => {\n return data.map(item => {\n return displayedColumns.reduce((dataForRow, colKey) => {\n dataForRow[colKey] = getRowValue(item, colKey);\n return dataForRow;\n }, {});\n });\n };\n\n function generateRowsData() {\n // if dataPageName property value exists then make a datapage fetch call and get the list of data.\n if (dataPageName) {\n getDataPage(dataPageName, parameters, context).then(listData => {\n const data = formatRowsData(listData);\n myRows = data;\n setRowData(data);\n });\n } else {\n // The referenceList prop has the JSON data for each row to be displayed\n // in the table. So, iterate over referenceList to create the dataRows that\n // we're using as the table's dataSource\n const data: any = [];\n for (const row of referenceList) {\n const dataForRow: Object = {};\n for (const col of displayedColumns) {\n const colKey: string = col;\n const theVal = getRowValue(row, colKey);\n dataForRow[colKey] = theVal || '';\n }\n data.push(dataForRow);\n myRows = data;\n }\n setRowData(data);\n }\n }\n\n // These are the data structures referred to in the html file.\n // These are the relationships that make the table work\n // displayedColumns: key/value pairs where key is order of column and\n // value is the property shown in that column. Ex: 1: \"FirstName\"\n // processedFields: key/value pairs where each key is order of column\n // and each value is an object of more detailed information about that\n // column.\n // rowData: array of each row's key/value pairs. Inside each row,\n // each key is an entry in displayedColumns: ex: \"FirstName\": \"Charles\"\n // Ex: { 1: {config: {label: \"First Name\", readOnly: true: name: \"FirstName\"}}, type: \"TextInput\" }\n // The \"type\" indicates the type of component that should be used for editing (when editing is enabled)\n //\n // Note that the \"property\" shown in the column (\"FirstName\" in the above examples) is what\n // ties the 3 data structures together.\n\n // console.log(\"SimpleTable displayedColumns:\");\n // console.log(displayedColumns);\n // console.log(\"SimpleTable processedFields:\");\n // console.log(processedFields);\n // console.log(`SimpleTable rowData (${rowData.length} row(s)):`);\n // console.log(JSON.stringify(rowData));\n\n const addRecord = () => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().insert({ classID: contextClass }, referenceList.length, pageReference);\n } else {\n pConn.getListActions().insert({ classID: contextClass }, referenceList.length);\n }\n };\n\n const deleteRecord = index => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().deleteEntry(index, pageReference);\n } else {\n pConn.getListActions().deleteEntry(index);\n }\n };\n\n function buildElementsForTable() {\n const eleData: any = [];\n referenceList.forEach((element, index) => {\n const data: any = [];\n rawFields.forEach(item => {\n // removing label field from config to hide title in the table cell\n item = {...item, config: {...item.config, label: ''}};\n const referenceListData = getReferenceList(pConn);\n const isDatapage = referenceListData.startsWith('D_');\n const pageReferenceValue = isDatapage\n ? `${referenceListData}[${index}]`\n : `${pConn.getPageReference()}${referenceListData.substring(\n referenceListData.lastIndexOf('.')\n )}[${index}]`;\n const config = {\n meta: item,\n options: {\n context,\n pageReference: pageReferenceValue,\n referenceList: referenceListData,\n hasForm: true\n }\n };\n const view = PCore.createPConnect(config);\n data.push(createElement(createPConnectComponent(), view));\n });\n eleData.push(data);\n });\n setElementsData(eleData);\n }\n\n const handleRequestSort = (event: React.MouseEvent<unknown>, property: keyof any) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const createSortHandler = (property: keyof any) => (event: React.MouseEvent<unknown>) => {\n handleRequestSort(event, property);\n };\n\n function descendingComparator<T>(a: T, b: T, orderedBy: keyof T) {\n if (b[orderedBy] < a[orderedBy]) {\n return -1;\n }\n if (b[orderedBy] > a[orderedBy]) {\n return 1;\n }\n return 0;\n }\n\n type Order = 'asc' | 'desc';\n\n function getComparator<Key extends keyof any>(\n theOrder: Order,\n orderedBy: Key\n // eslint-disable-next-line no-unused-vars\n ): (a: { [key in Key]: number | string }, b: { [key in Key]: number | string }) => number {\n return theOrder === 'desc'\n ? (a, b) => descendingComparator(a, b, orderedBy)\n : (a, b) => -descendingComparator(a, b, orderedBy);\n }\n\n // eslint-disable-next-line no-unused-vars\n function stableSort<T>(array: Array<T>, comparator: (a: T, b: T) => number) {\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\n stabilizedThis.sort((a, b) => {\n // eslint-disable-next-line @typescript-eslint/no-shadow, no-shadow\n const order = comparator(a[0], b[0]);\n if (order !== 0) return order;\n return a[1] - b[1];\n });\n\n return stabilizedThis.map(el => el[0]);\n }\n\n function _menuClick(event, columnId: string, columnType: string, labelValue: string) {\n menuColumnId = columnId;\n menuColumnType = columnType;\n menuColumnLabel = labelValue;\n\n setAnchorEl(event.currentTarget);\n }\n\n function _menuClose() {\n setAnchorEl(null);\n }\n\n function _filterMenu() {\n setAnchorEl(null);\n\n let bFound = false;\n\n for (const filterObj of filterByColumns) {\n if (filterObj.ref === menuColumnId) {\n setFilterBy(menuColumnLabel);\n if (\n filterObj.type === 'Date' ||\n filterObj.type === 'DateTime' ||\n filterObj.type === 'Time'\n ) {\n setContainsDateOrTime(true);\n setFilterType(filterObj.type);\n setDisplayDialogDateFilter(filterObj.containsFilter);\n setDisplayDialogDateValue(filterObj.containsFilterValue);\n } else {\n setContainsDateOrTime(false);\n setFilterType('string');\n setDisplayDialogContainsFilter(filterObj.containsFilter);\n setDisplayDialogContainsValue(filterObj.containsFilterValue);\n }\n bFound = true;\n break;\n }\n }\n\n if (!bFound) {\n setFilterBy(menuColumnLabel);\n setDisplayDialogFilterName(menuColumnId);\n setDisplayDialogContainsValue('');\n\n switch (menuColumnType) {\n case 'Date':\n case 'DateTime':\n case 'Time':\n setContainsDateOrTime(true);\n setFilterType(menuColumnType);\n break;\n default:\n setContainsDateOrTime(false);\n setFilterType('string');\n break;\n }\n }\n\n // open dialog\n setOpen(true);\n }\n\n function _groupMenu() {}\n\n function _closeDialog() {\n setOpen(false);\n }\n\n function _dialogContainsFilter(event) {\n setDisplayDialogContainsFilter(event.target.value);\n }\n\n function _dialogContainsValue(event) {\n setDisplayDialogContainsValue(event.target.value);\n }\n\n function _dialogDateFilter(event) {\n setDisplayDialogDateFilter(event.target.value);\n }\n\n function _dialogDateValue(event) {\n setDisplayDialogDateValue(event.target.value);\n }\n\n function filterSortGroupBy() {\n // get original data set\n let theData: any = myRows.slice();\n\n // last filter config data is global\n theData = theData.filter(filterData(filterByColumns));\n\n // move data to array and then sort\n setRowData(theData);\n }\n\n function updateFilterWithInfo() {\n let bFound = false;\n for (const filterObj of filterByColumns) {\n if (filterObj['ref'] === menuColumnId) {\n filterObj['type'] = filterType;\n if (containsDateOrTime) {\n filterObj['containsFilter'] = displayDialogDateFilter;\n filterObj['containsFilterValue'] = displayDialogDateValue;\n } else {\n filterObj['containsFilter'] = displayDialogContainsFilter;\n filterObj['containsFilterValue'] = displayDialogContainsValue;\n }\n bFound = true;\n break;\n }\n }\n\n if (!bFound) {\n // add in\n const filterObj: any = {};\n filterObj.ref = menuColumnId;\n filterObj['type'] = filterType;\n if (containsDateOrTime) {\n filterObj['containsFilter'] = displayDialogDateFilter;\n filterObj['containsFilterValue'] = displayDialogDateValue;\n } else {\n filterObj['containsFilter'] = displayDialogContainsFilter;\n filterObj['containsFilterValue'] = displayDialogContainsValue;\n }\n\n filterByColumns.push(filterObj);\n }\n }\n\n function _submitFilter() {\n updateFilterWithInfo();\n filterSortGroupBy();\n\n setOpen(false);\n }\n\n function _showFilteredIcon(columnId) {\n for (const filterObj of filterByColumns) {\n if (filterObj['ref'] === columnId) {\n // eslint-disable-next-line sonarjs/prefer-single-boolean-return\n if (filterObj['containsFilterValue'] !== '') {\n return true;\n }\n return false;\n }\n }\n\n return false;\n }\n\n function results() {\n const len = editableMode ? elements.length : rowData.length;\n\n return len ? (\n <span style={{ fontSize: '0.9em', opacity: '0.7' }}>\n {len} result{len > 1 ? 's' : ''}\n </span>\n ) : null;\n }\n\n return (\n <React.Fragment>\n <TableContainer component={Paper} style={{ margin: '4px 0px' }} id=\"simple-table-manual\">\n {propsToUse.label && (\n <h3 className={classes.label}>\n {propsToUse.label} {results()}\n </h3>\n )}\n <Table>\n <TableHead className={classes.header}>\n <TableRow>\n {fieldDefs.map((field: any, index) => {\n return (\n <TableCell key={`head-${displayedColumns[index]}`} className={classes.tableCell}>\n {readOnlyMode ? (\n <div>\n <TableSortLabel\n active={orderBy === displayedColumns[index]}\n direction={orderBy === displayedColumns[index] ? order : 'asc'}\n onClick={createSortHandler(displayedColumns[index])}\n >\n {field.label}\n {_showFilteredIcon(field.name) && (\n <FilterListIcon className={classes.moreIcon} />\n )}\n {orderBy === displayedColumns[index] ? (\n <span className={classes.visuallyHidden}>\n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n </span>\n ) : null}\n </TableSortLabel>\n <MoreIcon\n id='menu-icon'\n className={classes.moreIcon}\n onClick={event => {\n _menuClick(event, field.name, field.meta.type, field.label);\n }}\n />\n </div>\n ) : (\n field.label\n )}\n </TableCell>\n );\n })}\n </TableRow>\n </TableHead>\n <TableBody>\n {editableMode &&\n elements.map((row: any, index) => {\n const theKey = `row-${index}`;\n return (\n <TableRow key={theKey}>\n {row.map((item, childIndex) => {\n const theColKey = `data-${index}-${childIndex}`;\n return (\n <TableCell key={theColKey} className={classes.tableCell}>\n {item}\n </TableCell>\n );\n })}\n {showDeleteButton && (\n <TableCell>\n <button\n type='button'\n className='psdk-utility-button'\n id='delete-button'\n onClick={() => deleteRecord(index)}\n >\n <img\n className='psdk-utility-card-action-svg-icon'\n src={menuIconOverride$}\n ></img>\n </button>\n </TableCell>\n )}\n </TableRow>\n );\n })}\n {readOnlyMode &&\n rowData &&\n rowData.length > 0 &&\n stableSort(rowData, getComparator(order, orderBy))\n .slice(0)\n .map(row => {\n return (\n <TableRow key={row[1]}>\n {displayedColumns.map(colKey => {\n return (\n <TableCell key={colKey} className={classes.tableCell}>\n {typeof row[colKey] === 'boolean' && !row[colKey]\n ? 'False'\n : typeof row[colKey] === 'boolean' && row[colKey]\n ? 'True'\n : row[colKey]}\n </TableCell>\n );\n })}\n </TableRow>\n );\n })}\n </TableBody>\n </Table>\n {readOnlyMode && rowData && rowData.length === 0 && (\n <div className='no-records' id='no-records'>\n No records found.\n </div>\n )}\n {editableMode && referenceList && referenceList.length === 0 && (\n <div className='no-records' id='no-records'>\n No records found.\n </div>\n )}\n </TableContainer>\n {showAddRowButton && (\n <div style={{ fontSize: '1rem' }}>\n <Link style={{ cursor: 'pointer' }} onClick={addRecord}>\n + Add\n </Link>\n </div>\n )}\n <Menu\n id='simple-menu'\n anchorEl={anchorEl}\n keepMounted\n open={Boolean(anchorEl)}\n onClose={_menuClose}\n >\n <MenuItem onClick={_filterMenu}>\n <FilterListIcon /> Filter\n </MenuItem>\n <MenuItem onClick={_groupMenu}>\n <SubjectIcon /> Group\n </MenuItem>\n </Menu>\n <Dialog open={open} onClose={_closeDialog} aria-labelledby='form-dialog-title'>\n <DialogTitle id='form-dialog-title'>Filter: {filterBy}</DialogTitle>\n <DialogContent>\n {containsDateOrTime ? (\n <>\n <Select value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>\n <MenuItem value='notequal'>is not equal to</MenuItem>\n <MenuItem value='equal'>is equal to</MenuItem>\n <MenuItem value='after'>after</MenuItem>\n <MenuItem value='before'>before</MenuItem>\n <MenuItem value='null'>is null</MenuItem>\n <MenuItem value='notnull'>is not null</MenuItem>\n </Select>\n {filterType === 'Date' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='date'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n {filterType === 'DateTime' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='datetime-local'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n {filterType === 'Time' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='time'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n </>\n ) : (\n <>\n <Select\n id='filter'\n fullWidth\n onChange={_dialogContainsFilter}\n value={displayDialogContainsFilter}\n >\n <MenuItem value='contains'>Contains</MenuItem>\n <MenuItem value='equals'>Equals</MenuItem>\n <MenuItem value='startswith'>Starts with</MenuItem>\n </Select>\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='text'\n fullWidth\n value={displayDialogContainsValue}\n onChange={_dialogContainsValue}\n />\n </>\n )}\n </DialogContent>\n <DialogActions>\n <Button onClick={_closeDialog} color='secondary'>\n Cancel\n </Button>\n <Button onClick={_submitFilter} color='primary'>\n Submit\n </Button>\n </DialogActions>\n </Dialog>\n </React.Fragment>\n );\n}\n"]}
1
+ {"version":3,"file":"SimpleTableManual.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.tsx"],"names":[],"mappings":"AAAA,sCAAs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QACT,KAAK,EAAE,0BAA0B,EACjC,QAAQ,EAAE,oBAAoB,GAC9B,CACD,CACJ,CACa;YAChB,oBAAC,aAAa;gBACZ,oBAAC,MAAM,IAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAC,WAAW,aAEvC;gBACT,oBAAC,MAAM,IAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAC,SAAS,aAEtC,CACK,CACT,CACM,CAClB,CAAC;AACJ,CAAC","sourcesContent":["/* eslint-disable no-nested-ternary */\nimport React, { useEffect, useState } from 'react';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TableRow from '@material-ui/core/TableRow';\nimport Paper from '@material-ui/core/Paper';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { buildFieldsForTable, filterData } from '../simpleTableHelpers';\nimport { getDataPage } from '../../../helpers/data_page';\nimport Link from '@material-ui/core/Link';\nimport { getReferenceList } from '../../../helpers/field-group-utils';\nimport { Utils } from '../../../helpers/utils';\nimport { createElement } from 'react';\n\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\n\nimport TableSortLabel from '@material-ui/core/TableSortLabel';\nimport MoreIcon from '@material-ui/icons/MoreVert';\nimport Menu from '@material-ui/core/Menu';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport FilterListIcon from '@material-ui/icons/FilterList';\nimport SubjectIcon from '@material-ui/icons/Subject';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport Select from '@material-ui/core/Select';\nimport Button from '@material-ui/core/Button';\nimport TextField from '@material-ui/core/TextField';\n\nconst useStyles = makeStyles((/* theme */) => ({\n label: {\n margin: '8px'\n },\n header: {\n background: '#f5f5f5'\n },\n tableCell: {\n borderRight: '1px solid lightgray',\n padding: '8px'\n },\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n moreIcon: {\n verticalAlign: 'bottom'\n }\n}));\n\ndeclare const PCore: any;\n\nlet menuColumnId = '';\nlet menuColumnType = '';\nlet menuColumnLabel = '';\n\nconst filterByColumns: Array<any> = [];\nlet myRows: Array<any>;\nexport default function SimpleTableManual(props) {\n const classes = useStyles();\n const {\n getPConnect,\n referenceList = [], // if referenceList not in configProps$, default to empy list\n children,\n renderMode,\n presets,\n label: labelProp,\n showLabel,\n dataPageName,\n contextClass,\n hideAddRow,\n hideDeleteRow,\n propertyLabel,\n fieldMetadata\n } = props;\n const pConn = getPConnect();\n const [rowData, setRowData] = useState([]);\n const [elements, setElementsData] = useState([]);\n const [order, setOrder] = useState<Order>('asc');\n const [orderBy, setOrderBy] = useState<keyof any>('');\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);\n const [open, setOpen] = useState(false);\n const [filterBy, setFilterBy] = useState<string>();\n const [containsDateOrTime, setContainsDateOrTime] = useState<boolean>(false);\n const [filterType, setFilterType] = useState<string>('string');\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [displayDialogFilterName, setDisplayDialogFilterName] = useState<string>('');\n const [displayDialogContainsFilter, setDisplayDialogContainsFilter] =\n useState<string>('contains');\n const [displayDialogContainsValue, setDisplayDialogContainsValue] = useState<string>('');\n const [displayDialogDateFilter, setDisplayDialogDateFilter] = useState<string>('notequal');\n const [displayDialogDateValue, setDisplayDialogDateValue] = useState<string>('');\n\n const parameters = fieldMetadata?.datasource?.parameters;\n\n const label = labelProp || propertyLabel;\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n if (propsToUse.showLabel === false) {\n propsToUse.label = '';\n }\n // Getting current context\n const context = getPConnect().getContextName();\n const resolvedList = getReferenceList(pConn);\n const pageReference = `${pConn.getPageReference()}${resolvedList}`;\n pConn.setReferenceList(resolvedList);\n const menuIconOverride$ = Utils.getImageSrc('trash', PCore.getAssetLoader().getStaticServerUrl());\n\n const resolvedFields = children?.[0]?.children || presets?.[0].children?.[0].children;\n // NOTE: props has each child.config with datasource and value undefined\n // but getRawMetadata() has each child.config with datasource and value showing their unresolved values (ex: \"@P thePropName\")\n // We need to use the prop name as the \"glue\" to tie the table dataSource, displayColumns and data together.\n // So, in the code below, we'll use the unresolved config.value (but replacing the space with an underscore to keep things happy)\n const rawMetadata = getPConnect().getRawMetadata();\n\n // get raw config since @P and other annotations are processed and don't appear in the resolved config.\n // Destructure \"raw\" children into array var: \"rawFields\"\n // NOTE: when config.listType == \"associated\", the property can be found in either\n // config.value (ex: \"@P .DeclarantChoice\") or\n // config.datasource (ex: \"@ASSOCIATED .DeclarantChoice\")\n // Neither of these appear in the resolved props\n\n const rawConfig = rawMetadata?.config;\n const rawFields =\n rawConfig?.children?.[0]?.children || rawConfig?.presets?.[0].children?.[0]?.children;\n\n const readOnlyMode = renderMode === 'ReadOnly';\n const editableMode = renderMode === 'Editable';\n const showAddRowButton = !readOnlyMode && !hideAddRow;\n const showDeleteButton = !readOnlyMode && !hideDeleteRow;\n useEffect(() => {\n if (editableMode) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n buildElementsForTable();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n generateRowsData();\n }\n }, [referenceList.length]);\n\n // Nebula has other handling for isReadOnlyMode but has Cosmos-specific code\n // so ignoring that for now...\n // fieldDefs will be an array where each entry will have a \"name\" which will be the\n // \"resolved\" property name (that we can use as the colId) though it's not really\n // resolved. The buildFieldsForTable helper just removes the \"@P \" (which is what\n // Nebula does). It will also have the \"label\", and \"meta\" contains the original,\n // unchanged config info. For now, much of the info here is carried over from\n // Nebula and we may not end up using it all.\n const fieldDefs = buildFieldsForTable(rawFields, resolvedFields, showDeleteButton);\n\n const displayedColumns = fieldDefs.map(field => {\n return field.name ? field.name : field.cellRenderer;\n });\n\n // console.log(`SimpleTable displayedColumns:`);\n // console.log(displayedColumns);\n\n // And now we can process the resolvedFields to add in the \"name\"\n // from from the fieldDefs. This \"name\" is the value that\n // we'll share to connect things together in the table.\n\n // const processedFields = resolvedFields.map((field, i) => {\n // field.config['name'] = displayedColumns[i]; // .config[\"value\"].replace(/ ./g,\"_\"); // replace space dot with underscore\n // return field;\n // });\n\n // console.log(\"SimpleTable processedFields:\");\n // console.log(processedFields);\n\n // return the value that should be shown as the contents for the given row data\n // of the given row field\n function getRowValue(inRowData: Object, inColKey: string): any {\n // See what data (if any) we have to display\n const refKeys: Array<string> = inColKey.split('.');\n let valBuilder = inRowData;\n for (const key of refKeys) {\n valBuilder = valBuilder[key];\n }\n return valBuilder;\n }\n\n const formatRowsData = data => {\n return data.map(item => {\n return displayedColumns.reduce((dataForRow, colKey) => {\n dataForRow[colKey] = getRowValue(item, colKey);\n return dataForRow;\n }, {});\n });\n };\n\n function generateRowsData() {\n // if dataPageName property value exists then make a datapage fetch call and get the list of data.\n if (dataPageName) {\n getDataPage(dataPageName, parameters, context).then(listData => {\n const data = formatRowsData(listData);\n myRows = data;\n setRowData(data);\n });\n } else {\n // The referenceList prop has the JSON data for each row to be displayed\n // in the table. So, iterate over referenceList to create the dataRows that\n // we're using as the table's dataSource\n const data: any = [];\n for (const row of referenceList) {\n const dataForRow: Object = {};\n for (const col of displayedColumns) {\n const colKey: string = col;\n const theVal = getRowValue(row, colKey);\n dataForRow[colKey] = theVal || '';\n }\n data.push(dataForRow);\n myRows = data;\n }\n setRowData(data);\n }\n }\n\n // These are the data structures referred to in the html file.\n // These are the relationships that make the table work\n // displayedColumns: key/value pairs where key is order of column and\n // value is the property shown in that column. Ex: 1: \"FirstName\"\n // processedFields: key/value pairs where each key is order of column\n // and each value is an object of more detailed information about that\n // column.\n // rowData: array of each row's key/value pairs. Inside each row,\n // each key is an entry in displayedColumns: ex: \"FirstName\": \"Charles\"\n // Ex: { 1: {config: {label: \"First Name\", readOnly: true: name: \"FirstName\"}}, type: \"TextInput\" }\n // The \"type\" indicates the type of component that should be used for editing (when editing is enabled)\n //\n // Note that the \"property\" shown in the column (\"FirstName\" in the above examples) is what\n // ties the 3 data structures together.\n\n // console.log(\"SimpleTable displayedColumns:\");\n // console.log(displayedColumns);\n // console.log(\"SimpleTable processedFields:\");\n // console.log(processedFields);\n // console.log(`SimpleTable rowData (${rowData.length} row(s)):`);\n // console.log(JSON.stringify(rowData));\n\n const addRecord = () => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().insert({ classID: contextClass }, referenceList.length, pageReference);\n } else {\n pConn.getListActions().insert({ classID: contextClass }, referenceList.length);\n }\n };\n\n const deleteRecord = index => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().deleteEntry(index, pageReference);\n } else {\n pConn.getListActions().deleteEntry(index);\n }\n };\n\n function buildElementsForTable() {\n const eleData: any = [];\n referenceList.forEach((element, index) => {\n const data: any = [];\n rawFields.forEach(item => {\n // removing label field from config to hide title in the table cell\n item = {...item, config: {...item.config, label: ''}};\n const referenceListData = getReferenceList(pConn);\n const isDatapage = referenceListData.startsWith('D_');\n const pageReferenceValue = isDatapage\n ? `${referenceListData}[${index}]`\n : `${pConn.getPageReference()}${referenceListData.substring(\n referenceListData.lastIndexOf('.')\n )}[${index}]`;\n const config = {\n meta: item,\n options: {\n context,\n pageReference: pageReferenceValue,\n referenceList: referenceListData,\n hasForm: true\n }\n };\n const view = PCore.createPConnect(config);\n data.push(createElement(createPConnectComponent(), view));\n });\n eleData.push(data);\n });\n setElementsData(eleData);\n }\n\n const handleRequestSort = (event: React.MouseEvent<unknown>, property: keyof any) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const createSortHandler = (property: keyof any) => (event: React.MouseEvent<unknown>) => {\n handleRequestSort(event, property);\n };\n\n function descendingComparator<T>(a: T, b: T, orderedBy: keyof T) {\n if (b[orderedBy] < a[orderedBy]) {\n return -1;\n }\n if (b[orderedBy] > a[orderedBy]) {\n return 1;\n }\n return 0;\n }\n\n type Order = 'asc' | 'desc';\n\n function getComparator<Key extends keyof any>(\n theOrder: Order,\n orderedBy: Key\n // eslint-disable-next-line no-unused-vars\n ): (a: { [key in Key]: number | string }, b: { [key in Key]: number | string }) => number {\n return theOrder === 'desc'\n ? (a, b) => descendingComparator(a, b, orderedBy)\n : (a, b) => -descendingComparator(a, b, orderedBy);\n }\n\n // eslint-disable-next-line no-unused-vars\n function stableSort<T>(array: Array<T>, comparator: (a: T, b: T) => number) {\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\n stabilizedThis.sort((a, b) => {\n // eslint-disable-next-line @typescript-eslint/no-shadow, no-shadow\n const order = comparator(a[0], b[0]);\n if (order !== 0) return order;\n return a[1] - b[1];\n });\n\n return stabilizedThis.map(el => el[0]);\n }\n\n function _menuClick(event, columnId: string, columnType: string, labelValue: string) {\n menuColumnId = columnId;\n menuColumnType = columnType;\n menuColumnLabel = labelValue;\n\n setAnchorEl(event.currentTarget);\n }\n\n function _menuClose() {\n setAnchorEl(null);\n }\n\n function _filterMenu() {\n setAnchorEl(null);\n\n let bFound = false;\n\n for (const filterObj of filterByColumns) {\n if (filterObj.ref === menuColumnId) {\n setFilterBy(menuColumnLabel);\n if (\n filterObj.type === 'Date' ||\n filterObj.type === 'DateTime' ||\n filterObj.type === 'Time'\n ) {\n setContainsDateOrTime(true);\n setFilterType(filterObj.type);\n setDisplayDialogDateFilter(filterObj.containsFilter);\n setDisplayDialogDateValue(filterObj.containsFilterValue);\n } else {\n setContainsDateOrTime(false);\n setFilterType('string');\n setDisplayDialogContainsFilter(filterObj.containsFilter);\n setDisplayDialogContainsValue(filterObj.containsFilterValue);\n }\n bFound = true;\n break;\n }\n }\n\n if (!bFound) {\n setFilterBy(menuColumnLabel);\n setDisplayDialogFilterName(menuColumnId);\n setDisplayDialogContainsValue('');\n\n switch (menuColumnType) {\n case 'Date':\n case 'DateTime':\n case 'Time':\n setContainsDateOrTime(true);\n setFilterType(menuColumnType);\n break;\n default:\n setContainsDateOrTime(false);\n setFilterType('string');\n break;\n }\n }\n\n // open dialog\n setOpen(true);\n }\n\n function _groupMenu() {}\n\n function _closeDialog() {\n setOpen(false);\n }\n\n function _dialogContainsFilter(event) {\n setDisplayDialogContainsFilter(event.target.value);\n }\n\n function _dialogContainsValue(event) {\n setDisplayDialogContainsValue(event.target.value);\n }\n\n function _dialogDateFilter(event) {\n setDisplayDialogDateFilter(event.target.value);\n }\n\n function _dialogDateValue(event) {\n setDisplayDialogDateValue(event.target.value);\n }\n\n function filterSortGroupBy() {\n // get original data set\n let theData: any = myRows.slice();\n\n // last filter config data is global\n theData = theData.filter(filterData(filterByColumns));\n\n // move data to array and then sort\n setRowData(theData);\n }\n\n function updateFilterWithInfo() {\n let bFound = false;\n for (const filterObj of filterByColumns) {\n if (filterObj['ref'] === menuColumnId) {\n filterObj['type'] = filterType;\n if (containsDateOrTime) {\n filterObj['containsFilter'] = displayDialogDateFilter;\n filterObj['containsFilterValue'] = displayDialogDateValue;\n } else {\n filterObj['containsFilter'] = displayDialogContainsFilter;\n filterObj['containsFilterValue'] = displayDialogContainsValue;\n }\n bFound = true;\n break;\n }\n }\n\n if (!bFound) {\n // add in\n const filterObj: any = {};\n filterObj.ref = menuColumnId;\n filterObj['type'] = filterType;\n if (containsDateOrTime) {\n filterObj['containsFilter'] = displayDialogDateFilter;\n filterObj['containsFilterValue'] = displayDialogDateValue;\n } else {\n filterObj['containsFilter'] = displayDialogContainsFilter;\n filterObj['containsFilterValue'] = displayDialogContainsValue;\n }\n\n filterByColumns.push(filterObj);\n }\n }\n\n function _submitFilter() {\n updateFilterWithInfo();\n filterSortGroupBy();\n\n setOpen(false);\n }\n\n function _showFilteredIcon(columnId) {\n for (const filterObj of filterByColumns) {\n if (filterObj['ref'] === columnId) {\n // eslint-disable-next-line sonarjs/prefer-single-boolean-return\n if (filterObj['containsFilterValue'] !== '') {\n return true;\n }\n return false;\n }\n }\n\n return false;\n }\n\n function results() {\n const len = editableMode ? elements.length : rowData.length;\n\n return len ? (\n <span style={{ fontSize: '0.9em', opacity: '0.7' }}>\n {len} result{len > 1 ? 's' : ''}\n </span>\n ) : null;\n }\n\n return (\n <React.Fragment>\n <TableContainer component={Paper} style={{ margin: '4px 0px' }} id=\"simple-table-manual\">\n {propsToUse.label && (\n <h3 className={classes.label}>\n {propsToUse.label} {results()}\n </h3>\n )}\n <Table>\n <TableHead className={classes.header}>\n <TableRow>\n {fieldDefs.map((field: any, index) => {\n return (\n <TableCell key={`head-${displayedColumns[index]}`} className={classes.tableCell}>\n {readOnlyMode ? (\n <div>\n <TableSortLabel\n active={orderBy === displayedColumns[index]}\n direction={orderBy === displayedColumns[index] ? order : 'asc'}\n onClick={createSortHandler(displayedColumns[index])}\n >\n {field.label}\n {_showFilteredIcon(field.name) && (\n <FilterListIcon className={classes.moreIcon} />\n )}\n {orderBy === displayedColumns[index] ? (\n <span className={classes.visuallyHidden}>\n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n </span>\n ) : null}\n </TableSortLabel>\n <MoreIcon\n id='menu-icon'\n className={classes.moreIcon}\n onClick={event => {\n _menuClick(event, field.name, field.meta.type, field.label);\n }}\n />\n </div>\n ) : (\n field.label\n )}\n </TableCell>\n );\n })}\n </TableRow>\n </TableHead>\n <TableBody>\n {editableMode &&\n elements.map((row: any, index) => {\n const theKey = `row-${index}`;\n return (\n <TableRow key={theKey}>\n {row.map((item, childIndex) => {\n const theColKey = `data-${index}-${childIndex}`;\n return (\n <TableCell key={theColKey} className={classes.tableCell}>\n {item}\n </TableCell>\n );\n })}\n {showDeleteButton && (\n <TableCell>\n <button\n type='button'\n className='psdk-utility-button'\n id='delete-button'\n onClick={() => deleteRecord(index)}\n >\n <img\n className='psdk-utility-card-action-svg-icon'\n src={menuIconOverride$}\n ></img>\n </button>\n </TableCell>\n )}\n </TableRow>\n );\n })}\n {readOnlyMode &&\n rowData &&\n rowData.length > 0 &&\n stableSort(rowData, getComparator(order, orderBy))\n .slice(0)\n .map(row => {\n return (\n <TableRow key={row[1]}>\n {displayedColumns.map(colKey => {\n return (\n <TableCell key={colKey} className={classes.tableCell}>\n {typeof row[colKey] === 'boolean' && !row[colKey]\n ? 'False'\n : typeof row[colKey] === 'boolean' && row[colKey]\n ? 'True'\n : row[colKey]}\n </TableCell>\n );\n })}\n </TableRow>\n );\n })}\n </TableBody>\n </Table>\n {readOnlyMode && rowData && rowData.length === 0 && (\n <div className='no-records' id='no-records'>\n No records found.\n </div>\n )}\n {editableMode && referenceList && referenceList.length === 0 && (\n <div className='no-records' id='no-records'>\n No records found.\n </div>\n )}\n </TableContainer>\n {showAddRowButton && (\n <div style={{ fontSize: '1rem' }}>\n <Link style={{ cursor: 'pointer' }} onClick={addRecord}>\n + Add\n </Link>\n </div>\n )}\n <Menu\n id='simple-menu'\n anchorEl={anchorEl}\n keepMounted\n open={Boolean(anchorEl)}\n onClose={_menuClose}\n >\n <MenuItem onClick={_filterMenu}>\n <FilterListIcon /> Filter\n </MenuItem>\n <MenuItem onClick={_groupMenu}>\n <SubjectIcon /> Group\n </MenuItem>\n </Menu>\n <Dialog open={open} onClose={_closeDialog} aria-labelledby='form-dialog-title'>\n <DialogTitle id='form-dialog-title'>Filter: {filterBy}</DialogTitle>\n <DialogContent>\n {containsDateOrTime ? (\n <>\n <Select value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>\n <MenuItem value='notequal'>is not equal to</MenuItem>\n <MenuItem value='equal'>is equal to</MenuItem>\n <MenuItem value='after'>after</MenuItem>\n <MenuItem value='before'>before</MenuItem>\n <MenuItem value='null'>is null</MenuItem>\n <MenuItem value='notnull'>is not null</MenuItem>\n </Select>\n {filterType === 'Date' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='date'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n {filterType === 'DateTime' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='datetime-local'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n {filterType === 'Time' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='time'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n </>\n ) : (\n <>\n <Select\n id='filter'\n fullWidth\n onChange={_dialogContainsFilter}\n value={displayDialogContainsFilter}\n >\n <MenuItem value='contains'>Contains</MenuItem>\n <MenuItem value='equals'>Equals</MenuItem>\n <MenuItem value='startswith'>Starts with</MenuItem>\n </Select>\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='text'\n fullWidth\n value={displayDialogContainsValue}\n onChange={_dialogContainsValue}\n />\n </>\n )}\n </DialogContent>\n <DialogActions>\n <Button onClick={_closeDialog} color='secondary'>\n Cancel\n </Button>\n <Button onClick={_submitFilter} color='primary'>\n Submit\n </Button>\n </DialogActions>\n </Dialog>\n </React.Fragment>\n );\n}\n"]}
@@ -76,4 +76,4 @@ export declare const getAddRowCallback: (pConnect: any, index: any) => () => any
76
76
  */
77
77
  export declare const createPConnect: (contextName: any, referenceList: any, pageReference: any) => any;
78
78
  export declare const filterData: (filterByColumns: any) => (item: any) => boolean;
79
- //# sourceMappingURL=helpers.d.ts.map
79
+ //# sourceMappingURL=simpleTableHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simpleTableHelpers.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SimpleTable/simpleTableHelpers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,gBAAgB,CAAC;AACxC,eAAO,MAAM,WAAW,eAAe,CAAC;AAwCxC,eAAO,MAAM,UAAU;;;;CAmBtB,CAAC;AAEF,eAAO,MAAM,cAAc,uBAI1B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;CAwBzB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gEAmC/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAuB9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0CAE7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,mEAY1B,CAAC;AAEF,eAAO,MAAM,UAAU,kDA+HtB,CAAA"}
@@ -303,4 +303,4 @@ export const filterData = (filterByColumns) => {
303
303
  return bKeep;
304
304
  };
305
305
  };
306
- //# sourceMappingURL=helpers.js.map
306
+ //# sourceMappingURL=simpleTableHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simpleTableHelpers.js","sourceRoot":"","sources":["../../../../src/components/templates/SimpleTable/simpleTableHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAI5C,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC;AACxC,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,4EAA4E;AAC5E,0BAA0B;AAC1B,SAAS,aAAa,CAAC,KAAK,EAAE,KAAK;IACjC,IAAI,KAAK,CAAC;IACV,QAAQ,KAAK,CAAC,IAAI,EAAE;QAClB,KAAK,MAAM;YACT,KAAK,GAAG,GAAG,CAAC;YACZ,MAAM;QACR,KAAK,MAAM;YACT,KAAK,GAAG,GAAG,CAAC;YACZ,MAAM;QACR,KAAK,UAAU;YACb,KAAK,GAAG,GAAG,CAAC;YACZ,MAAM;QACR,KAAK,cAAc,CAAC;QACpB,KAAK,UAAU;YACb,KAAK,GAAG,GAAG,CAAC;YACZ,MAAM;QACR,KAAK,UAAU,CAAC;QAChB,KAAK,WAAW;YACd,KAAK,GAAG,GAAG,CAAC;YACZ,MAAM;QACR,KAAK,UAAU;YACb,gDAAgD;YAChD,MAAM,IAAI,GAAG,QAAQ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SAAS,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;wBAC1C,WAAW,GAAG,SAAS,CAAC,mBAAmB,CAAC,WAAW,EAAE,CAAC;wBAE1D,oDAAoD;wBACpD,QAAQ,SAAS,CAAC,cAAc,EAAE;4BAChC,KAAK,UAAU;gCACb,IAAI,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE;oCAClC,KAAK,GAAG,KAAK,CAAC;iCACf;gCACD,MAAM;4BAER,KAAK,QAAQ;gCACX,IAAI,KAAK,KAAK,WAAW,EAAE;oCACzB,KAAK,GAAG,KAAK,CAAC;iCACf;gCACD,MAAM;4BAER,KAAK,YAAY;gCACf,IAAI,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;oCACpC,KAAK,GAAG,KAAK,CAAC;iCACf;gCACD,MAAM;4BAER;gCACE,MAAM;yBACT;wBAED,MAAM;iBACT;aACF;YAED,+BAA+B;YAC/B,IAAI,CAAC,KAAK,EAAE;gBACV,MAAM;aACP;SACF;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { Utils } from '../../helpers/utils';\n\ndeclare const PCore;\n\nexport const TABLE_CELL = \"SdkRenderer\";\nexport const DELETE_ICON = \"DeleteIcon\";\n\n// BUG-615253: Workaround for autosize in table with lazy loading components\n/* istanbul ignore next */\nfunction getFieldWidth(field, label) {\n let width;\n switch (field.type) {\n case \"Time\":\n width = 150;\n break;\n case \"Date\":\n width = 160;\n break;\n case \"DateTime\":\n width = 205;\n break;\n case \"AutoComplete\":\n case \"TextArea\":\n width = 190;\n break;\n case \"Currency\":\n case \"TextInput\":\n width = 182;\n break;\n case \"Checkbox\":\n // eslint-disable-next-line no-case-declarations\n const text = document.createElement(\"span\");\n document.body.appendChild(text);\n text.style.fontSize = \"13px\";\n text.style.position = \"absolute\";\n text.innerHTML = label;\n width = Math.ceil(text.clientWidth) + 30;\n document.body.removeChild(text);\n break;\n default:\n width = 180;\n }\n return width;\n}\n\nexport const getContext = (thePConn) => {\n const contextName = thePConn.getContextName();\n const pageReference = thePConn.getPageReference();\n let { referenceList } = thePConn.getStateProps().config;\n const pageReferenceForRows = referenceList.startsWith(\".\")\n ? `${pageReference}.${referenceList.substring(1)}`\n : referenceList;\n\n // removing \"caseInfo.content\" prefix to avoid setting it as a target while preparing pageInstructions\n referenceList = pageReferenceForRows.replace(\n PCore.getConstants().CASE_INFO.CASE_INFO_CONTENT,\n \"\"\n );\n\n return {\n contextName,\n referenceListStr: referenceList,\n pageReferenceForRows\n };\n};\n\nexport const populateRowKey = (rawData) => {\n return rawData.map((row, index) => {\n return { ...row, index };\n });\n};\n\nexport const getApiContext = (processedData, pConnect, reorderCB) => {\n return {\n fetchData: () => {\n return new Promise((resolve) => {\n resolve({\n data: processedData,\n filteredRecordCount: processedData.length,\n totalRecordCount: processedData.length\n });\n });\n },\n fetchPersonalizations: () => {\n return Promise.resolve({});\n },\n applyRowReorder: (sourceKey, destinationKey) => {\n // indexes are keys for simple table so, it should work.\n reorderCB();\n return Promise.resolve(\n pConnect\n .getListActions()\n .reorder(parseInt(sourceKey, 10), parseInt(destinationKey, 10))\n );\n }\n };\n};\n\nexport const buildMetaForListView = (\n fieldMetadata,\n fields,\n type,\n ruleClass,\n name,\n propertyLabel,\n parameters\n) => {\n return {\n name,\n config: {\n type,\n referenceList: fieldMetadata.datasource.name,\n parameters: parameters ?? fieldMetadata.datasource.parameters,\n personalization: false,\n grouping: true,\n globalSearch: true,\n reorderFields: true,\n toggleFieldVisibility: true,\n personalizationId: \"\" /* TODO */,\n template: \"ListView\",\n presets: [\n {\n name: \"presets\",\n template: \"Table\",\n config: {},\n children: [\n {\n name: \"Columns\",\n type: \"Region\",\n children: fields\n }\n ],\n label: propertyLabel,\n id: \"P_\" /* TODO */\n }\n ],\n ruleClass\n }\n };\n};\n\nexport const buildFieldsForTable = (configFields, fields, showDeleteButton) => {\n const fieldDefs = configFields.map((field, index) => {\n return {\n type: \"text\",\n label: fields[index].config.label || fields[index].config.caption,\n fillAvailableSpace: !!field.config.fillAvailableSpace,\n id: index,\n name: field.config.value.substr(4),\n cellRenderer: TABLE_CELL,\n sort: false,\n noContextMenu: true,\n showMenu: false,\n meta: {\n ...field\n },\n // BUG-615253: Workaround for autosize in table with lazy loading components\n width: getFieldWidth(field, fields[index].config.label)\n };\n });\n\n // ONLY add DELETE_ICON to fields when the table is requested as EDITABLE\n if (showDeleteButton) {\n fieldDefs.push({\n type: \"text\",\n id: fieldDefs.length,\n cellRenderer: DELETE_ICON,\n sort: false,\n noContextMenu: true,\n showMenu: false,\n // BUG-615253: Workaround for autosize in table with lazy loading components\n width: 46\n });\n }\n\n return fieldDefs;\n};\n\nexport const createMetaForTable = (fields, renderMode) => {\n return {\n height: {\n minHeight: \"auto\",\n fitHeightToElement: \"fitHeightToElement\",\n deltaAdjustment: \"deltaAdjustment\",\n autoSize: true\n },\n fieldDefs: fields,\n itemKey: \"index\",\n grouping: false,\n reorderFields: false,\n reorderItems: renderMode === \"Editable\",\n dragHandle: renderMode === \"Editable\",\n globalSearch: false,\n personalization: false,\n toggleFieldVisibility: false,\n toolbar: false,\n footer: false,\n filterExpression: null,\n editing: false,\n timezone: PCore.getEnvironmentInfo().getTimeZone()\n };\n};\n\n/**\n * This method returns a callBack function for Add action.\n * @param {object} pConnect - PConnect object\n * @param {number} index - index of the page list to add\n */\nexport const getAddRowCallback = (pConnect, index) => {\n return () => pConnect.getListActions().insert({}, index);\n};\n\n/**\n * This method creates a PConnect object with proper options for Add and Delete actions\n * @param {string} contextName - contextName\n * @param {string} referenceList - referenceList\n * @param {string} pageReference - pageReference\n */\nexport const createPConnect = (contextName, referenceList, pageReference) => {\n const options = {\n context: contextName,\n pageReference,\n referenceList\n };\n\n // create PConnect object\n const config = { meta: {}, options };\n const { getPConnect } = PCore.createPConnect(config);\n\n return getPConnect();\n};\n\nexport const filterData = (filterByColumns) => {\n return function filteringData(item) {\n let bKeep = true;\n for (const filterObj of filterByColumns) {\n if (\n filterObj.containsFilterValue !== '' ||\n filterObj.containsFilter === 'null' ||\n filterObj.containsFilter === 'notnull'\n ) {\n let value: any;\n let filterValue: any;\n\n switch (filterObj.type) {\n case 'Date':\n case 'DateTime':\n case 'Time':\n value =\n item[filterObj.ref] !== null ?? item[filterObj.ref] !== ''\n ? Utils.getSeconds(item[filterObj.ref])\n : null;\n filterValue =\n filterObj.containsFilterValue !== null && filterObj.containsFilterValue !== ''\n ? Utils.getSeconds(filterObj.containsFilterValue)\n : null;\n\n // eslint-disable-next-line sonarjs/no-nested-switch\n switch (filterObj.containsFilter) {\n case 'notequal':\n // becasue filterValue is in minutes, need to have a range of less than 60 secons\n\n if (value !== null && filterValue !== null) {\n // get rid of milliseconds\n value /= 1000;\n filterValue /= 1000;\n\n const diff = value - filterValue;\n if (diff >= 0 && diff < 60) {\n bKeep = false;\n }\n }\n\n break;\n\n case 'equal':\n // becasue filterValue is in minutes, need to have a range of less than 60 secons\n\n if (value !== null && filterValue !== null) {\n // get rid of milliseconds\n value /= 1000;\n filterValue /= 1000;\n\n const diff = value - filterValue;\n if (diff !== 0) {\n bKeep = false;\n }\n }\n\n break;\n\n case 'after':\n if (value < filterValue) {\n bKeep = false;\n }\n break;\n\n case 'before':\n if (value > filterValue) {\n bKeep = false;\n }\n break;\n\n case 'null':\n if (value !== null) {\n bKeep = false;\n }\n break;\n\n case 'notnull':\n if (value === null) {\n bKeep = false;\n }\n break;\n\n default:\n break;\n }\n break;\n\n default:\n value = item[filterObj.ref].toLowerCase();\n filterValue = filterObj.containsFilterValue.toLowerCase();\n\n // eslint-disable-next-line sonarjs/no-nested-switch\n switch (filterObj.containsFilter) {\n case 'contains':\n if (value.indexOf(filterValue) < 0) {\n bKeep = false;\n }\n break;\n\n case 'equals':\n if (value !== filterValue) {\n bKeep = false;\n }\n break;\n\n case 'startswith':\n if (value.indexOf(filterValue) !== 0) {\n bKeep = false;\n }\n break;\n\n default:\n break;\n }\n\n break;\n }\n }\n\n // if don't keep stop filtering\n if (!bKeep) {\n break;\n }\n }\n return bKeep;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumnPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AASnC,iBAAwB,aAAa,CAAC,KAAK,KAAA,eAO1C;kBAPuB,aAAa;;;;;;eAAb,aAAa"}
1
+ {"version":3,"file":"TwoColumnPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,iBAAwB,aAAa,CAAC,KAAK,KAAA,eAO1C;kBAPuB,aAAa;;;;;;eAAb,aAAa"}
@@ -1,7 +1,6 @@
1
1
  import React from "react";
2
2
  import PropTypes from "prop-types";
3
- // import { TwoColumnPage as TwoColumn } from "@pega/cosmos-react-core";
4
- import TwoColumn from '../TwoColumn';
3
+ import TwoColumn from '../TwoColumn/TwoColumn';
5
4
  /*
6
5
  * The wrapper handles knowing how to take in just children
7
6
  * and mapping to the TwoColumn template.
@@ -1 +1 @@
1
- {"version":3,"file":"TwoColumnPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,wEAAwE;AACxE,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK;IAEzC,OAAO,CACL,oBAAC,SAAS,OACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;CACvD,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG,EAC5B,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\n// import { TwoColumnPage as TwoColumn } from \"@pega/cosmos-react-core\";\nimport TwoColumn from '../TwoColumn';\n\n/*\n * The wrapper handles knowing how to take in just children\n * and mapping to the TwoColumn template.\n */\nexport default function TwoColumnPage(props) {\n\n return (\n <TwoColumn\n {...props}\n />\n );\n}\n\nTwoColumnPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n};\n\nTwoColumnPage.defaultProps = {\n};\n"]}
1
+ {"version":3,"file":"TwoColumnPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK;IAEzC,OAAO,CACL,oBAAC,SAAS,OACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;CACvD,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG,EAC5B,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport TwoColumn from '../TwoColumn/TwoColumn';\n\n/*\n * The wrapper handles knowing how to take in just children\n * and mapping to the TwoColumn template.\n */\nexport default function TwoColumnPage(props) {\n\n return (\n <TwoColumn\n {...props}\n />\n );\n}\n\nTwoColumnPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n};\n\nTwoColumnPage.defaultProps = {\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import React, { Children } from "react";
2
2
  import PropTypes from "prop-types";
3
3
  // import { TwoColumnPage as TwoColumn } from "@pega/cosmos-react-core";
4
- import WideNarrow from '../WideNarrow';
4
+ import WideNarrow from '../WideNarrow/WideNarrow';
5
5
  /*
6
6
  * The wrapper handles knowing how to take in just children and mapping
7
7
  * to the Cosmos template.
@@ -1 +1 @@
1
- {"version":3,"file":"WideNarrowPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,wEAAwE;AACxE,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK;IAC1C,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACrD,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9C,OAAO,CACL;QACA,oBAAC,UAAU,IACP,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,WAAW,EACjB,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,GACjC,CACE,CACP,CAAC;AACJ,CAAC;AAED,cAAc,CAAC,SAAS,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IAClC,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,IAAI,EAAE,SAAS,CAAC,MAAM;CACvB,CAAC;AAEF,cAAc,CAAC,YAAY,GAAG;IAC5B,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,EAAE;CACT,CAAC","sourcesContent":["import React, { Children } from \"react\";\nimport PropTypes from \"prop-types\";\n\n// import { TwoColumnPage as TwoColumn } from \"@pega/cosmos-react-core\";\nimport WideNarrow from '../WideNarrow';\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template.\n */\nexport default function WideNarrowPage(props) {\n const { children, title, templateCol, icon } = props;\n const childArray = Children.toArray(children);\n\n return (\n <div>\n <WideNarrow\n a={childArray[0]}\n b={childArray[1]}\n title={title}\n cols={templateCol}\n icon={icon?.replace(\"pi pi-\", \"\")}\n />\n </div>\n );\n}\n\nWideNarrowPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n title: PropTypes.string.isRequired,\n templateCol: PropTypes.string,\n icon: PropTypes.string\n};\n\nWideNarrowPage.defaultProps = {\n templateCol: \"1fr 1fr\",\n icon: \"\"\n};\n"]}
1
+ {"version":3,"file":"WideNarrowPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,wEAAwE;AACxE,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK;IAC1C,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACrD,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9C,OAAO,CACL;QACA,oBAAC,UAAU,IACP,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,WAAW,EACjB,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,GACjC,CACE,CACP,CAAC;AACJ,CAAC;AAED,cAAc,CAAC,SAAS,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IAClC,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,IAAI,EAAE,SAAS,CAAC,MAAM;CACvB,CAAC;AAEF,cAAc,CAAC,YAAY,GAAG;IAC5B,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,EAAE;CACT,CAAC","sourcesContent":["import React, { Children } from \"react\";\nimport PropTypes from \"prop-types\";\n\n// import { TwoColumnPage as TwoColumn } from \"@pega/cosmos-react-core\";\nimport WideNarrow from '../WideNarrow/WideNarrow';\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template.\n */\nexport default function WideNarrowPage(props) {\n const { children, title, templateCol, icon } = props;\n const childArray = Children.toArray(children);\n\n return (\n <div>\n <WideNarrow\n a={childArray[0]}\n b={childArray[1]}\n title={title}\n cols={templateCol}\n icon={icon?.replace(\"pi pi-\", \"\")}\n />\n </div>\n );\n}\n\nWideNarrowPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n title: PropTypes.string.isRequired,\n templateCol: PropTypes.string,\n icon: PropTypes.string\n};\n\nWideNarrowPage.defaultProps = {\n templateCol: \"1fr 1fr\",\n icon: \"\"\n};\n"]}
@@ -10,6 +10,7 @@ declare namespace pegaSdkComponentMap {
10
10
  export { CancelAlert };
11
11
  export { CaseHistory };
12
12
  export { CaseSummary };
13
+ export { CaseSummaryFields };
13
14
  export { CaseView };
14
15
  export { Checkbox };
15
16
  export { Currency };
@@ -19,11 +20,11 @@ declare namespace pegaSdkComponentMap {
19
20
  export { DateTime };
20
21
  export { Decimal };
21
22
  export { DefaultForm };
23
+ export { DeferLoad };
22
24
  export { Details };
23
25
  export { DetailsSubTabs };
24
26
  export { DetailsThreeColumn };
25
27
  export { DetailsTwoColumn };
26
- export { DeferLoad };
27
28
  export { Dropdown };
28
29
  export { Email };
29
30
  export { ErrorBoundary };
@@ -47,6 +48,7 @@ declare namespace pegaSdkComponentMap {
47
48
  export { OneColumn };
48
49
  export { OneColumnPage };
49
50
  export { OneColumnTab };
51
+ export { Operator };
50
52
  export { Percentage };
51
53
  export { Phone };
52
54
  export { PromotedFilters };
@@ -92,6 +94,7 @@ import AutoComplete from "../lib/components/forms/AutoComplete";
92
94
  import CancelAlert from "../lib/components/forms/CancelAlert";
93
95
  import CaseHistory from "../lib/components/widgets/CaseHistory";
94
96
  import CaseSummary from "../lib/components/templates/CaseSummary";
97
+ import CaseSummaryFields from "../lib/components/designSystemExtensions/CaseSummaryFields";
95
98
  import CaseView from "../lib/components/templates/CaseView";
96
99
  import Checkbox from "../lib/components/forms/Checkbox";
97
100
  import Currency from "../lib/components/forms/Currency";
@@ -101,11 +104,11 @@ import Date from "../lib/components/forms/Date";
101
104
  import DateTime from "../lib/components/forms/DateTime";
102
105
  import Decimal from "../lib/components/forms/Decimal";
103
106
  import DefaultForm from "../lib/components/templates/DefaultForm";
107
+ import DeferLoad from "../lib/components/infra/DeferLoad";
104
108
  import Details from "../lib/components/templates/Details/Details";
105
109
  import DetailsSubTabs from "../lib/components/templates/Details/DetailsSubTabs";
106
110
  import DetailsThreeColumn from "./components/templates/Details/DetailsThreeColumn";
107
111
  import DetailsTwoColumn from "../lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn";
108
- import DeferLoad from "../lib/components/infra/DeferLoad";
109
112
  import Dropdown from "../lib/components/forms/Dropdown";
110
113
  import Email from "../lib/components/forms/Email/Email";
111
114
  import ErrorBoundary from "../lib/components/infra/ErrorBoundary";
@@ -129,6 +132,7 @@ import NavBar from "../lib/components/infra/NavBar";
129
132
  import OneColumn from "../lib/components/templates/OneColumn/OneColumn";
130
133
  import OneColumnPage from "../lib/components/templates/OneColumn/OneColumnPage";
131
134
  import OneColumnTab from "../lib/components/templates/OneColumn/OneColumnTab";
135
+ import Operator from "../lib/components/designSystemExtensions/Operator";
132
136
  import Percentage from "../lib/components/forms/Percentage";
133
137
  import Phone from "../lib/components/forms/Phone/Phone";
134
138
  import PromotedFilters from "../lib/components/templates/PromotedFilters";
@@ -2,7 +2,7 @@
2
2
  // placed in the npm module's 'lib' directory. So, we expect to import from there.
3
3
  // This file should import and expose ALL of the components that may be
4
4
  // dynamically rendered at runtime via calls to react_pconnect or the View component
5
- import ActionButtons from '../lib/components/infra/ActionButtons'; // '../lib/components/infra/ActionButtons';
5
+ import ActionButtons from '../lib/components/infra/ActionButtons';
6
6
  import AppAnnouncement from '../lib/components/widgets/AppAnnouncement';
7
7
  import AppShell from '../lib/components/templates/AppShell/AppShell';
8
8
  import Assignment from '../lib/components/infra/Assignment/Assignment';
@@ -12,6 +12,7 @@ import AutoComplete from '../lib/components/forms/AutoComplete';
12
12
  import CancelAlert from '../lib/components/forms/CancelAlert';
13
13
  import CaseHistory from '../lib/components/widgets/CaseHistory';
14
14
  import CaseSummary from '../lib/components/templates/CaseSummary';
15
+ import CaseSummaryFields from '../lib/components/designSystemExtensions/CaseSummaryFields';
15
16
  import CaseView from '../lib/components/templates/CaseView';
16
17
  import Checkbox from '../lib/components/forms/Checkbox';
17
18
  import Currency from '../lib/components/forms/Currency';
@@ -27,8 +28,8 @@ import DetailsSubTabs from '../lib/components/templates/Details/DetailsSubTabs';
27
28
  import DetailsThreeColumn from './components/templates/Details/DetailsThreeColumn';
28
29
  import DetailsTwoColumn from '../lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn';
29
30
  import Dropdown from '../lib/components/forms/Dropdown';
30
- import ErrorBoundary from '../lib/components/infra/ErrorBoundary';
31
31
  import Email from '../lib/components/forms/Email/Email';
32
+ import ErrorBoundary from '../lib/components/infra/ErrorBoundary';
32
33
  import FieldGroupTemplate from './components/templates/FieldGroupTemplate';
33
34
  import FileUtility from '../lib/components/widgets/FileUtility/FileUtility';
34
35
  import FlowContainer from '../lib/components/infra/Containers/FlowContainer';
@@ -49,6 +50,7 @@ import NavBar from '../lib/components/infra/NavBar';
49
50
  import OneColumn from '../lib/components/templates/OneColumn/OneColumn';
50
51
  import OneColumnPage from '../lib/components/templates/OneColumn/OneColumnPage';
51
52
  import OneColumnTab from '../lib/components/templates/OneColumn/OneColumnTab';
53
+ import Operator from '../lib/components/designSystemExtensions/Operator';
52
54
  import Percentage from '../lib/components/forms/Percentage';
53
55
  import Phone from '../lib/components/forms/Phone/Phone';
54
56
  import PromotedFilters from '../lib/components/templates/PromotedFilters';
@@ -58,12 +60,12 @@ import Reference from '../lib/components/infra/Reference/Reference';
58
60
  import Region from '../lib/components/infra/Region/Region';
59
61
  import RootContainer from '../lib/components/infra/RootContainer/RootContainer';
60
62
  import SemanticLink from '../lib/components/forms/SemanticLink';
61
- import Stages from '../lib/components/infra/Stages';
62
- import SubTabs from '../lib/components/templates/SubTabs';
63
63
  import SimpleTable from '../lib/components/templates/SimpleTable/SimpleTable';
64
64
  import SimpleTableManual from '../lib/components/templates/SimpleTable/SimpleTableManual';
65
65
  import SimpleTableSelect from '../lib/components/templates/SimpleTable/SimpleTableSelect';
66
66
  import SingleReferenceReadOnly from './components/templates/SingleReferenceReadOnly';
67
+ import Stages from '../lib/components/infra/Stages';
68
+ import SubTabs from '../lib/components/templates/SubTabs';
67
69
  import SummaryItem from '../lib/components/widgets/SummaryItem';
68
70
  import SummaryList from '../lib/components/widgets/SummaryList';
69
71
  import TextArea from '../lib/components/forms/TextArea';
@@ -101,6 +103,7 @@ const pegaSdkComponentMap = {
101
103
  'CancelAlert': CancelAlert,
102
104
  'CaseHistory': CaseHistory,
103
105
  'CaseSummary': CaseSummary,
106
+ 'CaseSummaryFields': CaseSummaryFields,
104
107
  'CaseView': CaseView,
105
108
  'Checkbox': Checkbox,
106
109
  'Currency': Currency,
@@ -110,11 +113,11 @@ const pegaSdkComponentMap = {
110
113
  'DateTime': DateTime,
111
114
  'Decimal': Decimal,
112
115
  'DefaultForm': DefaultForm,
116
+ 'DeferLoad': DeferLoad,
113
117
  'Details': Details,
114
118
  'DetailsSubTabs': DetailsSubTabs,
115
119
  'DetailsThreeColumn': DetailsThreeColumn,
116
120
  'DetailsTwoColumn': DetailsTwoColumn,
117
- 'DeferLoad': DeferLoad,
118
121
  'Dropdown': Dropdown,
119
122
  'Email': Email,
120
123
  'ErrorBoundary': ErrorBoundary,
@@ -138,6 +141,7 @@ const pegaSdkComponentMap = {
138
141
  'OneColumn': OneColumn,
139
142
  'OneColumnPage': OneColumnPage,
140
143
  'OneColumnTab': OneColumnTab,
144
+ 'Operator': Operator,
141
145
  'Percentage': Percentage,
142
146
  'Phone': Phone,
143
147
  'PromotedFilters': PromotedFilters,
@@ -1 +1 @@
1
- {"version":3,"file":"sdk-pega-component-map.js","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,mFAAmF;AACnF,wEAAwE;AACxE,qFAAqF;AAErF,OAAO,aAAa,MAAM,uCAAuC,CAAC,CAAC,2CAA2C;AAC9G,OAAO,eAAe,MAAM,2CAA2C,CAAC;AACxE,OAAO,QAAQ,MAAM,+CAA+C,CAAC;AACrE,OAAO,UAAU,MAAM,+CAA+C,CAAC;AACvE,OAAO,cAAc,MAAM,uDAAuD,CAAC;AACnF,OAAO,UAAU,MAAM,+CAA+C,CAAC;AACvE,OAAO,YAAY,MAAM,sCAAsC,CAAC;AAChE,OAAO,WAAW,MAAM,qCAAqC,CAAC;AAC9D,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,QAAQ,MAAM,sCAAsC,CAAC;AAC5D,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,O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generated npm module, the components are\n// placed in the npm module's 'lib' directory. So, we expect to import from there.\n// This file should import and expose ALL of the components that may be\n// dynamically rendered at runtime via calls to react_pconnect or the View component\n\nimport ActionButtons from '../lib/components/infra/ActionButtons'; // '../lib/components/infra/ActionButtons';\nimport AppAnnouncement from '../lib/components/widgets/AppAnnouncement';\nimport AppShell from '../lib/components/templates/AppShell/AppShell';\nimport Assignment from '../lib/components/infra/Assignment/Assignment';\nimport AssignmentCard from '../lib/components/infra/AssignmentCard/AssignmentCard';\nimport Attachment from '../lib/components/infra/Attachment/Attachment';\nimport AutoComplete from '../lib/components/forms/AutoComplete';\nimport CancelAlert from '../lib/components/forms/CancelAlert';\nimport CaseHistory from '../lib/components/widgets/CaseHistory';\nimport CaseSummary from '../lib/components/templates/CaseSummary';\nimport CaseView from '../lib/components/templates/CaseView';\nimport Checkbox from '../lib/components/forms/Checkbox';\nimport Currency from '../lib/components/forms/Currency';\nimport DashboardFilter from '../lib/components/infra/DashboardFilter';\nimport DataReference from '../lib/components/templates/DataReference';\nimport Date from '../lib/components/forms/Date';\nimport DateTime from '../lib/components/forms/DateTime';\nimport Decimal from '../lib/components/forms/Decimal';\nimport DefaultForm from '../lib/components/templates/DefaultForm';\nimport DeferLoad from '../lib/components/infra/DeferLoad';\nimport Details from '../lib/components/templates/Details/Details';\nimport DetailsSubTabs from '../lib/components/templates/Details/DetailsSubTabs';\nimport DetailsThreeColumn from './components/templates/Details/DetailsThreeColumn';\nimport DetailsTwoColumn from '../lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn';\nimport Dropdown from '../lib/components/forms/Dropdown';\nimport ErrorBoundary from '../lib/components/infra/ErrorBoundary';\nimport Email from '../lib/components/forms/Email/Email';\nimport FieldGroupTemplate from './components/templates/FieldGroupTemplate';\nimport FileUtility from '../lib/components/widgets/FileUtility/FileUtility';\nimport FlowContainer from '../lib/components/infra/Containers/FlowContainer';\nimport Followers from '../lib/components/widgets/Followers';\nimport InlineDashboard from '../lib/components/templates/InlineDashboard';\nimport InlineDashboardPage from '../lib/components/templates/InlineDashboardPage/InlineDashboardPage';\nimport Integer from '../lib/components/forms/Integer';\nimport ListPage from '../lib/components/templates/ListPage/ListPage';\nimport ListView from '../lib/components/templates/ListView';\nimport ModalViewContainer from '../lib/components/infra/Containers/ModalViewContainer/ModalViewContainer';\nimport MultiReferenceReadOnly from './components/templates/MultiReferenceReadOnly';\nimport MultiStep from '../lib/components/infra/MultiStep';\nimport NarrowWide from '../lib/components/templates/NarrowWide/NarrowWide';\nimport NarrowWideDetails from '../lib/components/templates/NarrowWide/NarrowWideDetails';\nimport NarrowWideForm from '../lib/components/templates/NarrowWide/NarrowWideForm';\nimport NarrowWidePage from '../lib/components/templates/NarrowWide/NarrowWidePage';\nimport NavBar from '../lib/components/infra/NavBar';\nimport OneColumn from '../lib/components/templates/OneColumn/OneColumn';\nimport OneColumnPage from '../lib/components/templates/OneColumn/OneColumnPage';\nimport OneColumnTab from '../lib/components/templates/OneColumn/OneColumnTab';\nimport Percentage from '../lib/components/forms/Percentage';\nimport Phone from '../lib/components/forms/Phone/Phone';\nimport PromotedFilters from '../lib/components/templates/PromotedFilters';\nimport Pulse from '../lib/components/designSystemExtensions/Pulse';\nimport RadioButtons from '../lib/components/forms/RadioButtons';\nimport Reference from '../lib/components/infra/Reference/Reference';\nimport Region from '../lib/components/infra/Region/Region';\nimport RootContainer from '../lib/components/infra/RootContainer/RootContainer';\nimport SemanticLink from '../lib/components/forms/SemanticLink';\nimport Stages from '../lib/components/infra/Stages';\nimport SubTabs from '../lib/components/templates/SubTabs';\nimport SimpleTable from '../lib/components/templates/SimpleTable/SimpleTable';\nimport SimpleTableManual from '../lib/components/templates/SimpleTable/SimpleTableManual';\nimport SimpleTableSelect from '../lib/components/templates/SimpleTable/SimpleTableSelect';\nimport SingleReferenceReadOnly from './components/templates/SingleReferenceReadOnly';\nimport SummaryItem from '../lib/components/widgets/SummaryItem';\nimport SummaryList from '../lib/components/widgets/SummaryList';\nimport TextArea from '../lib/components/forms/TextArea';\nimport TextContent from '../lib/components/forms/TextContent';\nimport TextInput from '../lib/components/forms/TextInput/TextInput';\nimport Time from '../lib/components/forms/Time';\nimport ToDo from '../lib/components/infra/ToDo';\nimport TwoColumn from '../lib/components/templates/TwoColumn/TwoColumn';\nimport TwoColumnPage from '../lib/components/templates/TwoColumn/TwoColumnPage';\nimport TwoColumnTab from './components/templates/TwoColumn/TwoColumnTab';\nimport URL from '../lib/components/forms/URL';\nimport UserReference from '../lib/components/forms/UserReference';\nimport VerticalTabs from '../lib/components/infra/VerticalTabs';\nimport View from '../lib/components/infra/View';\nimport ViewContainer from '../lib/components/infra/Containers/ViewContainer';\nimport WideNarrow from '../lib/components/templates/WideNarrow/WideNarrow';\nimport WideNarrowDetails from '../lib/components/templates/WideNarrow/WideNarrowDetails';\nimport WideNarrowForm from '../lib/components/templates/WideNarrow/WideNarrowForm';\nimport WideNarrowPage from '../lib/components/templates/WideNarrow/WideNarrowPage';\n\n\n// pegaSdkComponentMap is the JSON object where we'll store the components that are\n// the default implementations provided by the SDK. These will be used if there isn't\n// an entry in the localSdkComponentMap\n\n// NOTE: A few components have non-standard capitalization:\n// 'reference' is what's in the metadata, not Reference\n// 'Todo' is what's in the metadata, not ToDo\n// Also, note that \"Checkbox\" component is named/exported as CheckboxComponent\n\nconst pegaSdkComponentMap = {\n 'ActionButtons': ActionButtons,\n 'AppAnnouncement': AppAnnouncement,\n 'AppShell': AppShell,\n 'Assignment': Assignment,\n 'AssignmentCard': AssignmentCard,\n 'Attachment': Attachment,\n 'AutoComplete': AutoComplete,\n 'CancelAlert': CancelAlert,\n 'CaseHistory': CaseHistory,\n 'CaseSummary': CaseSummary,\n 'CaseView': CaseView,\n 'Checkbox': Checkbox,\n 'Currency': Currency,\n 'DashboardFilter': DashboardFilter,\n 'DataReference': DataReference,\n 'Date': Date,\n 'DateTime': DateTime,\n 'Decimal': Decimal,\n 'DefaultForm': DefaultForm,\n 'Details': Details,\n 'DetailsSubTabs': DetailsSubTabs,\n 'DetailsThreeColumn': DetailsThreeColumn,\n 'DetailsTwoColumn': DetailsTwoColumn,\n 'DeferLoad': DeferLoad,\n 'Dropdown': Dropdown,\n 'Email': Email,\n 'ErrorBoundary': ErrorBoundary,\n 'FieldGroupTemplate': FieldGroupTemplate,\n 'FileUtility': FileUtility,\n 'FlowContainer': FlowContainer,\n 'Followers': Followers,\n 'InlineDashboard': InlineDashboard,\n 'InlineDashboardPage': InlineDashboardPage,\n 'Integer': Integer,\n 'ListPage': ListPage,\n 'ListView': ListView,\n 'ModalViewContainer': ModalViewContainer,\n 'MultiReferenceReadOnly': MultiReferenceReadOnly,\n 'MultiStep': MultiStep,\n 'NarrowWide': NarrowWide,\n 'NarrowWideDetails': NarrowWideDetails,\n 'NarrowWideForm': NarrowWideForm,\n 'NarrowWidePage': NarrowWidePage,\n 'NavBar': NavBar,\n 'OneColumn': OneColumn,\n 'OneColumnPage': OneColumnPage,\n 'OneColumnTab': OneColumnTab,\n 'Percentage': Percentage,\n 'Phone': Phone,\n 'PromotedFilters': PromotedFilters,\n 'Pulse': Pulse,\n 'reference': Reference,\n 'RadioButtons': RadioButtons,\n 'Region': Region,\n 'RootContainer': RootContainer,\n 'SemanticLink': SemanticLink,\n 'SimpleTable': SimpleTable,\n 'SimpleTableManual': SimpleTableManual,\n 'SimpleTableSelect': SimpleTableSelect,\n 'SingleReferenceReadOnly': SingleReferenceReadOnly,\n 'Stages': Stages,\n 'SubTabs': SubTabs,\n 'SummaryItem': SummaryItem,\n 'SummaryList': SummaryList,\n 'TextArea': TextArea,\n 'TextContent': TextContent,\n 'TextInput': TextInput,\n 'Time': Time,\n 'Todo': ToDo,\n 'TwoColumn': TwoColumn,\n 'TwoColumnPage': TwoColumnPage,\n 'TwoColumnTab': TwoColumnTab,\n 'URL': URL,\n 'UserReference': UserReference,\n 'VerticalTabs': VerticalTabs,\n 'View': View,\n 'ViewContainer': ViewContainer,\n 'WideNarrow': WideNarrow,\n 'WideNarrowDetails': WideNarrowDetails,\n 'WideNarrowForm': WideNarrowForm,\n 'WideNarrowPage': WideNarrowPage\n};\n\nexport default pegaSdkComponentMap;\n"]}
1
+ {"version":3,"file":"sdk-pega-component-map.js","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,mFAAmF;AACnF,wEAAwE;AACxE,qFAAqF;AAErF,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAClE,OAAO,eAAe,MAAM,2CAA2C,CAAC;AACxE,OAAO,QAAQ,MAAM,+CAA+C,CAAC;AACrE,OAAO,UAAU,MAAM,+CAA+C,CAAC;AACvE,OAAO,cAAc,MAAM,uDAAuD,CAAC;AACnF,OAAO,UAAU,MAAM,+CAA+C,CAAC;AACvE,OAAO,YAAY,MAAM,sCAAsC,CAAC;AAChE,OAAO,WAAW,MAAM,qCAAqC,CAAC;AAC9D,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,iBAAiB,MAAM,4DAA4D,CAAC;AAC3F,OAAO,QAAQ,MAAM,sCAAsC,CAAC;AAC5D,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,eAAe,MAAM,yCAAyC,CAAC;AACtE,OAAO,aAAa,MAAM,2CAA2C,CAAC;AACtE,OAAO,IAAI,MAAM,8BAA8B,CAAC;AAChD,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,OAAO,MAAM,iCAAiC,CAAC;AACtD,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,SAAS,MAAM,mCAAmC,CAAC;AAC1D,OAAO,OAAO,MAAM,6CAA6C,CAAC;AAClE,OAAO,cAAc,MAAM,oDAAoD,CAAC;AAChF,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,gBAAgB,MAAM,uEAAuE,CAAC;AACrG,OAAO,QA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,OAAO,EAAE,KAAK;IACd,iBAAiB,EAAE,eAAe;IAClC,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,SAAS;IACtB,cAAc,EAAE,YAAY;IAC5B,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE,aAAa;IAC9B,cAAc,EAAE,YAAY;IAC5B,aAAa,EAAE,WAAW;IAC1B,mBAAmB,EAAE,iBAAiB;IACtC,mBAAmB,EAAE,iBAAiB;IACtC,yBAAyB,EAAE,uBAAuB;IAClD,QAAQ,EAAE,MAAM;IAChB,SAAS,EAAE,OAAO;IAClB,aAAa,EAAE,WAAW;IAC1B,aAAa,EAAE,WAAW;IAC1B,UAAU,EAAE,QAAQ;IACpB,aAAa,EAAE,WAAW;IAC1B,WAAW,EAAE,SAAS;IACtB,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,SAAS;IACtB,eAAe,EAAE,aAAa;IAC9B,cAAc,EAAE,YAAY;IAC5B,KAAK,EAAE,GAAG;IACV,eAAe,EAAE,aAAa;IAC9B,cAAc,EAAE,YAAY;IAC5B,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,aAAa;IAC9B,YAAY,EAAE,UAAU;IACxB,mBAAmB,EAAE,iBAAiB;IACtC,gBAAgB,EAAE,cAAc;IAChC,gBAAgB,EAAE,cAAc;CACjC,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["// When this code is run from the generated npm module, the components are\n// placed in the npm module's 'lib' directory. So, we expect to import from there.\n// This file should import and expose ALL of the components that may be\n// dynamically rendered at runtime via calls to react_pconnect or the View component\n\nimport ActionButtons from '../lib/components/infra/ActionButtons';\nimport AppAnnouncement from '../lib/components/widgets/AppAnnouncement';\nimport AppShell from '../lib/components/templates/AppShell/AppShell';\nimport Assignment from '../lib/components/infra/Assignment/Assignment';\nimport AssignmentCard from '../lib/components/infra/AssignmentCard/AssignmentCard';\nimport Attachment from '../lib/components/infra/Attachment/Attachment';\nimport AutoComplete from '../lib/components/forms/AutoComplete';\nimport CancelAlert from '../lib/components/forms/CancelAlert';\nimport CaseHistory from '../lib/components/widgets/CaseHistory';\nimport CaseSummary from '../lib/components/templates/CaseSummary';\nimport CaseSummaryFields from '../lib/components/designSystemExtensions/CaseSummaryFields';\nimport CaseView from '../lib/components/templates/CaseView';\nimport Checkbox from '../lib/components/forms/Checkbox';\nimport Currency from '../lib/components/forms/Currency';\nimport DashboardFilter from '../lib/components/infra/DashboardFilter';\nimport DataReference from '../lib/components/templates/DataReference';\nimport Date from '../lib/components/forms/Date';\nimport DateTime from '../lib/components/forms/DateTime';\nimport Decimal from '../lib/components/forms/Decimal';\nimport DefaultForm from '../lib/components/templates/DefaultForm';\nimport DeferLoad from '../lib/components/infra/DeferLoad';\nimport Details from '../lib/components/templates/Details/Details';\nimport DetailsSubTabs from '../lib/components/templates/Details/DetailsSubTabs';\nimport DetailsThreeColumn from './components/templates/Details/DetailsThreeColumn';\nimport DetailsTwoColumn from '../lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn';\nimport Dropdown from '../lib/components/forms/Dropdown';\nimport Email from '../lib/components/forms/Email/Email';\nimport ErrorBoundary from '../lib/components/infra/ErrorBoundary';\nimport FieldGroupTemplate from './components/templates/FieldGroupTemplate';\nimport FileUtility from '../lib/components/widgets/FileUtility/FileUtility';\nimport FlowContainer from '../lib/components/infra/Containers/FlowContainer';\nimport Followers from '../lib/components/widgets/Followers';\nimport InlineDashboard from '../lib/components/templates/InlineDashboard';\nimport InlineDashboardPage from '../lib/components/templates/InlineDashboardPage/InlineDashboardPage';\nimport Integer from '../lib/components/forms/Integer';\nimport ListPage from '../lib/components/templates/ListPage/ListPage';\nimport ListView from '../lib/components/templates/ListView';\nimport ModalViewContainer from '../lib/components/infra/Containers/ModalViewContainer/ModalViewContainer';\nimport MultiReferenceReadOnly from './components/templates/MultiReferenceReadOnly';\nimport MultiStep from '../lib/components/infra/MultiStep';\nimport NarrowWide from '../lib/components/templates/NarrowWide/NarrowWide';\nimport NarrowWideDetails from '../lib/components/templates/NarrowWide/NarrowWideDetails';\nimport NarrowWideForm from '../lib/components/templates/NarrowWide/NarrowWideForm';\nimport NarrowWidePage from '../lib/components/templates/NarrowWide/NarrowWidePage';\nimport NavBar from '../lib/components/infra/NavBar';\nimport OneColumn from '../lib/components/templates/OneColumn/OneColumn';\nimport OneColumnPage from '../lib/components/templates/OneColumn/OneColumnPage';\nimport OneColumnTab from '../lib/components/templates/OneColumn/OneColumnTab';\nimport Operator from '../lib/components/designSystemExtensions/Operator';\nimport Percentage from '../lib/components/forms/Percentage';\nimport Phone from '../lib/components/forms/Phone/Phone';\nimport PromotedFilters from '../lib/components/templates/PromotedFilters';\nimport Pulse from '../lib/components/designSystemExtensions/Pulse';\nimport RadioButtons from '../lib/components/forms/RadioButtons';\nimport Reference from '../lib/components/infra/Reference/Reference';\nimport Region from '../lib/components/infra/Region/Region';\nimport RootContainer from '../lib/components/infra/RootContainer/RootContainer';\nimport SemanticLink from '../lib/components/forms/SemanticLink';\nimport SimpleTable from '../lib/components/templates/SimpleTable/SimpleTable';\nimport SimpleTableManual from '../lib/components/templates/SimpleTable/SimpleTableManual';\nimport SimpleTableSelect from '../lib/components/templates/SimpleTable/SimpleTableSelect';\nimport SingleReferenceReadOnly from './components/templates/SingleReferenceReadOnly';\nimport Stages from '../lib/components/infra/Stages';\nimport SubTabs from '../lib/components/templates/SubTabs';\nimport SummaryItem from '../lib/components/widgets/SummaryItem';\nimport SummaryList from '../lib/components/widgets/SummaryList';\nimport TextArea from '../lib/components/forms/TextArea';\nimport TextContent from '../lib/components/forms/TextContent';\nimport TextInput from '../lib/components/forms/TextInput/TextInput';\nimport Time from '../lib/components/forms/Time';\nimport ToDo from '../lib/components/infra/ToDo';\nimport TwoColumn from '../lib/components/templates/TwoColumn/TwoColumn';\nimport TwoColumnPage from '../lib/components/templates/TwoColumn/TwoColumnPage';\nimport TwoColumnTab from './components/templates/TwoColumn/TwoColumnTab';\nimport URL from '../lib/components/forms/URL';\nimport UserReference from '../lib/components/forms/UserReference';\nimport VerticalTabs from '../lib/components/infra/VerticalTabs';\nimport View from '../lib/components/infra/View';\nimport ViewContainer from '../lib/components/infra/Containers/ViewContainer';\nimport WideNarrow from '../lib/components/templates/WideNarrow/WideNarrow';\nimport WideNarrowDetails from '../lib/components/templates/WideNarrow/WideNarrowDetails';\nimport WideNarrowForm from '../lib/components/templates/WideNarrow/WideNarrowForm';\nimport WideNarrowPage from '../lib/components/templates/WideNarrow/WideNarrowPage';\n\n\n// pegaSdkComponentMap is the JSON object where we'll store the components that are\n// the default implementations provided by the SDK. These will be used if there isn't\n// an entry in the localSdkComponentMap\n\n// NOTE: A few components have non-standard capitalization:\n// 'reference' is what's in the metadata, not Reference\n// 'Todo' is what's in the metadata, not ToDo\n// Also, note that \"Checkbox\" component is named/exported as CheckboxComponent\n\nconst pegaSdkComponentMap = {\n 'ActionButtons': ActionButtons,\n 'AppAnnouncement': AppAnnouncement,\n 'AppShell': AppShell,\n 'Assignment': Assignment,\n 'AssignmentCard': AssignmentCard,\n 'Attachment': Attachment,\n 'AutoComplete': AutoComplete,\n 'CancelAlert': CancelAlert,\n 'CaseHistory': CaseHistory,\n 'CaseSummary': CaseSummary,\n 'CaseSummaryFields': CaseSummaryFields,\n 'CaseView': CaseView,\n 'Checkbox': Checkbox,\n 'Currency': Currency,\n 'DashboardFilter': DashboardFilter,\n 'DataReference': DataReference,\n 'Date': Date,\n 'DateTime': DateTime,\n 'Decimal': Decimal,\n 'DefaultForm': DefaultForm,\n 'DeferLoad': DeferLoad,\n 'Details': Details,\n 'DetailsSubTabs': DetailsSubTabs,\n 'DetailsThreeColumn': DetailsThreeColumn,\n 'DetailsTwoColumn': DetailsTwoColumn,\n 'Dropdown': Dropdown,\n 'Email': Email,\n 'ErrorBoundary': ErrorBoundary,\n 'FieldGroupTemplate': FieldGroupTemplate,\n 'FileUtility': FileUtility,\n 'FlowContainer': FlowContainer,\n 'Followers': Followers,\n 'InlineDashboard': InlineDashboard,\n 'InlineDashboardPage': InlineDashboardPage,\n 'Integer': Integer,\n 'ListPage': ListPage,\n 'ListView': ListView,\n 'ModalViewContainer': ModalViewContainer,\n 'MultiReferenceReadOnly': MultiReferenceReadOnly,\n 'MultiStep': MultiStep,\n 'NarrowWide': NarrowWide,\n 'NarrowWideDetails': NarrowWideDetails,\n 'NarrowWideForm': NarrowWideForm,\n 'NarrowWidePage': NarrowWidePage,\n 'NavBar': NavBar,\n 'OneColumn': OneColumn,\n 'OneColumnPage': OneColumnPage,\n 'OneColumnTab': OneColumnTab,\n 'Operator': Operator,\n 'Percentage': Percentage,\n 'Phone': Phone,\n 'PromotedFilters': PromotedFilters,\n 'Pulse': Pulse,\n 'reference': Reference,\n 'RadioButtons': RadioButtons,\n 'Region': Region,\n 'RootContainer': RootContainer,\n 'SemanticLink': SemanticLink,\n 'SimpleTable': SimpleTable,\n 'SimpleTableManual': SimpleTableManual,\n 'SimpleTableSelect': SimpleTableSelect,\n 'SingleReferenceReadOnly': SingleReferenceReadOnly,\n 'Stages': Stages,\n 'SubTabs': SubTabs,\n 'SummaryItem': SummaryItem,\n 'SummaryList': SummaryList,\n 'TextArea': TextArea,\n 'TextContent': TextContent,\n 'TextInput': TextInput,\n 'Time': Time,\n 'Todo': ToDo,\n 'TwoColumn': TwoColumn,\n 'TwoColumnPage': TwoColumnPage,\n 'TwoColumnTab': TwoColumnTab,\n 'URL': URL,\n 'UserReference': UserReference,\n 'VerticalTabs': VerticalTabs,\n 'View': View,\n 'ViewContainer': ViewContainer,\n 'WideNarrow': WideNarrow,\n 'WideNarrowDetails': WideNarrowDetails,\n 'WideNarrowForm': WideNarrowForm,\n 'WideNarrowPage': WideNarrowPage\n};\n\nexport default pegaSdkComponentMap;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/react-sdk-components",
3
- "version": "0.23.5",
3
+ "version": "0.23.7",
4
4
  "description": "React SDK Infrastructure: bridge and components",
5
5
  "_filesComment": "During packing, npm ignores everything NOT in the files list",
6
6
  "files": [
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SimpleTable/helpers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,gBAAgB,CAAC;AACxC,eAAO,MAAM,WAAW,eAAe,CAAC;AAwCxC,eAAO,MAAM,UAAU;;;;CAmBtB,CAAC;AAEF,eAAO,MAAM,cAAc,uBAI1B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;CAwBzB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gEAmC/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAuB9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0CAE7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,mEAY1B,CAAC;AAEF,eAAO,MAAM,UAAU,kDA+HtB,CAAA"}