@pega/react-sdk-components 0.25.8 → 0.25.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.css +46 -0
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts +2 -1
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts.map +1 -1
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js +18 -16
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js.map +1 -1
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js +1 -1
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js.map +1 -1
- package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -1
- package/lib/components/infra/Assignment/Assignment.js +6 -2
- package/lib/components/infra/Assignment/Assignment.js.map +1 -1
- package/lib/components/infra/Assignment/useValidationBanner.d.ts +7 -0
- package/lib/components/infra/Assignment/useValidationBanner.d.ts.map +1 -0
- package/lib/components/infra/Assignment/useValidationBanner.js +26 -0
- package/lib/components/infra/Assignment/useValidationBanner.js.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +4 -5
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +4 -0
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -1
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +4 -0
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +4 -7
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -1
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts +1 -0
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -1
- package/lib/components/infra/DeferLoad/DeferLoad.js +24 -9
- package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -1
- package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -1
- package/lib/components/infra/NavBar/NavBar.js +6 -0
- package/lib/components/infra/NavBar/NavBar.js.map +1 -1
- package/lib/components/infra/Reference/Reference.d.ts.map +1 -1
- package/lib/components/infra/Reference/Reference.js +4 -0
- package/lib/components/infra/Reference/Reference.js.map +1 -1
- package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -1
- package/lib/components/infra/RootContainer/RootContainer.js +4 -5
- package/lib/components/infra/RootContainer/RootContainer.js.map +1 -1
- package/lib/components/infra/View/View.d.ts.map +1 -1
- package/lib/components/infra/View/View.js +5 -6
- package/lib/components/infra/View/View.js.map +1 -1
- package/lib/components/template/AppShell/AppShell.css +0 -4
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts +1 -0
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -1
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +7 -3
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -1
- package/lib/components/template/HierarchicalForm/HierarchicalForm.d.ts +4 -0
- package/lib/components/template/HierarchicalForm/HierarchicalForm.d.ts.map +1 -0
- package/lib/components/template/HierarchicalForm/HierarchicalForm.js +16 -0
- package/lib/components/template/HierarchicalForm/HierarchicalForm.js.map +1 -0
- package/lib/components/template/HierarchicalForm/hooks.d.ts +15 -0
- package/lib/components/template/HierarchicalForm/hooks.d.ts.map +1 -0
- package/lib/components/template/HierarchicalForm/hooks.js +163 -0
- package/lib/components/template/HierarchicalForm/hooks.js.map +1 -0
- package/lib/components/template/HierarchicalForm/index.d.ts +2 -0
- package/lib/components/template/HierarchicalForm/index.d.ts.map +1 -0
- package/lib/components/template/HierarchicalForm/index.js +2 -0
- package/lib/components/template/HierarchicalForm/index.js.map +1 -0
- package/lib/components/template/ListView/ListView.d.ts +1 -0
- package/lib/components/template/ListView/ListView.d.ts.map +1 -1
- package/lib/components/template/ListView/ListView.js +56 -9
- package/lib/components/template/ListView/ListView.js.map +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +3 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js +13 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -1
- package/lib/components/template/ObjectPage/index.d.ts +2 -0
- package/lib/components/template/ObjectPage/index.d.ts.map +1 -0
- package/lib/components/template/ObjectPage/index.js +2 -0
- package/lib/components/template/ObjectPage/index.js.map +1 -0
- package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.d.ts.map +1 -1
- package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.js +13 -2
- package/lib/components/template/SelfServiceCaseView/SelfServiceCaseView.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js +8 -6
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/SimpleTableSelectReadonly.d.ts +17 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/SimpleTableSelectReadonly.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/SimpleTableSelectReadonly.js +94 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/SimpleTableSelectReadonly.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/index.d.ts +2 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/index.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/index.js +2 -0
- package/lib/components/template/SimpleTable/SimpleTableSelectReadonly/index.js.map +1 -0
- package/lib/hooks/useFocusFirstField.d.ts +3 -3
- package/lib/hooks/useFocusFirstField.d.ts.map +1 -1
- package/lib/hooks/useFocusFirstField.js +19 -12
- package/lib/hooks/useFocusFirstField.js.map +1 -1
- package/lib/sdk-pega-component-map.d.ts +6 -0
- package/lib/sdk-pega-component-map.d.ts.map +1 -1
- package/lib/sdk-pega-component-map.js +6 -0
- package/lib/sdk-pega-component-map.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleTableSelectReadonly.js","sourceRoot":"","sources":["../../../../../src/components/template/SimpleTable/SimpleTableSelectReadonly/SimpleTableSelectReadonly.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,uBAAuB,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAiBpF,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,KAAqC;IACrF,MAAM,EACJ,KAAK,GAAG,EAAE,EACV,WAAW,EACX,mBAAmB,GAAG,EAAE,EACxB,YAAY,GA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,EAAC,QAAQ,EAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAC,OAAO,kBAC1D,UAAU,OAAG,YAAY,CAAC,OAAO,EAAE,cAAc,CAAC,SAC/C,CACR,IACG,CACP,CAAC;IACJ,CAAC;IAED,IAAI,WAAW,KAAK,cAAc,EAAE,CAAC;QACnC,OAAO,WAAW,IAAI,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,oBAAiB,CAAC;IACrE,CAAC;IAED,OAAO,CACL,eAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,aACzF,CAAC,SAAS,IAAI,KAAK,IAAI,CACtB,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,gBAAgB,YAC/C,KAAK,GACK,CACd,EACA,WAAW,EACX,WAAW,EAAE,IACV,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { createElement, Fragment, useState } from 'react';\nimport Button from '@mui/material/Button';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport Link from '@mui/material/Link';\nimport Typography from '@mui/material/Typography';\n\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\nimport { Utils } from '../../../helpers/utils';\nimport { SIMPLE_TABLE_MANUAL_READONLY } from '../../../field/ObjectReference/utils';\nimport type { PConnProps } from '../../../../types/PConnProps';\n\ninterface SimpleTableSelectReadonlyProps extends PConnProps {\n label?: string;\n referenceList: object[] | string;\n readonlyContextList?: object[];\n primaryField?: string;\n referenceType?: string;\n selectionKey?: string;\n selectionList?: string;\n hideLabel?: boolean;\n variant?: string;\n displayAs?: string;\n displayMode?: string;\n}\n\nexport default function SimpleTableSelectReadonly(props: SimpleTableSelectReadonlyProps) {\n const {\n label = '',\n getPConnect,\n readonlyContextList = [],\n primaryField = '',\n referenceType = '',\n selectionKey = '',\n selectionList = '',\n hideLabel = false,\n displayAs = 'readonly',\n displayMode\n } = props;\n\n const [modalOpen, setModalOpen] = useState(false);\n\n const { DATA, CASE } = PCore.getConstants().RESOURCE_TYPES;\n const pConn = getPConnect();\n const localizedVal = PCore.getLocaleUtils().getLocaleValue;\n const localeCategory = 'SimpleTableSelectReadOnly';\n const PComponent = createPConnectComponent();\n\n const openModal = () => {\n const rawConfig = (getPConnect().getRawMetadata() as any).config;\n const rawFields = rawConfig?.presets?.[0].children?.[0]?.children || [];\n\n const caseFields = rawFields\n .filter((field: any) => field.config.value.includes(`@P .${Utils.getMappedKey('pyID')}`) || field.config.value.includes(`@P ${primaryField}`))\n .map((field: any) => field.config.value);\n\n const dataFields = rawFields.filter((field: any) => field.config.value.includes(`@P ${primaryField}`)).map((field: any) => field.config.value);\n\n const defaultFields: any[] = rawConfig?.detailsDisplay || [];\n if (defaultFields?.length === 2 && defaultFields[0].config.value === defaultFields[1].config.value) {\n defaultFields.splice(0, 1);\n }\n defaultFields.forEach((field: any) => {\n if (\n (referenceType.toUpperCase() === CASE && !caseFields.includes(field?.config?.value)) ||\n (referenceType.toUpperCase() === DATA && !dataFields.includes(field?.config?.value))\n ) {\n (getPConnect().getRawMetadata() as any).config?.presets?.[0].children?.[0]?.children?.unshift(field);\n }\n });\n\n setModalOpen(true);\n };\n\n const closeModal = () => {\n setModalOpen(false);\n };\n\n const renderModal = () => {\n const SimpleTableManual = getComponentFromMap('SimpleTableManual');\n\n let readonlyContextObject: { referenceList?: object[] } | undefined;\n if (typeof props.referenceList === 'string') {\n readonlyContextObject = { referenceList: readonlyContextList };\n }\n\n return (\n <Dialog open={modalOpen} onClose={closeModal} maxWidth='md' fullWidth>\n <DialogTitle>{label}</DialogTitle>\n <DialogContent>\n <SimpleTableManual {...props} {...readonlyContextObject} classId={SIMPLE_TABLE_MANUAL_READONLY} />\n </DialogContent>\n <DialogActions>\n <Button onClick={closeModal} variant='contained'>\n {localizedVal('Close', localeCategory)}\n </Button>\n </DialogActions>\n </Dialog>\n );\n };\n\n let displayComp: any;\n\n if (readonlyContextList && readonlyContextList.length > 0) {\n const listLength = readonlyContextList.length;\n const filteredList = ['combobox', 'checkboxgroup'].includes(displayAs) ? readonlyContextList : readonlyContextList.slice(0, 5);\n\n displayComp = (\n <div>\n {filteredList.map((child: any, index: number) => {\n const selectionKeyProp = selectionKey.substring(1);\n const primaryFieldProp = primaryField?.substring(1);\n const selectionListProp = selectionList?.substring(1);\n const referenceLabel = child[primaryFieldProp] || '';\n\n let resourcePayload = {};\n let resourceParams = {};\n let previewKey = '';\n\n if (referenceType.toUpperCase() === CASE) {\n previewKey = child[Utils.getMappedKey('pzInsKey')];\n resourcePayload = { caseClassName: child.classID };\n resourceParams = { workID: child[selectionKeyProp] };\n }\n\n const metadata = {\n type: 'SemanticLink',\n config: {\n text: referenceLabel,\n resourceParams,\n resourcePayload,\n previewKey,\n referenceType\n }\n };\n\n const childPConnectConfig = PCore.createPConnect({\n meta: metadata,\n options: {\n context: pConn.getContextName(),\n pageReference: `${pConn.getPageReference()}.${selectionListProp}[${index}]`\n }\n });\n\n return (\n <Fragment key={child[selectionKeyProp]}>\n {createElement(PComponent, { ...childPConnectConfig })}\n {index + 1 !== filteredList.length && ', '}\n </Fragment>\n );\n })}\n {listLength > 5 && !['combobox', 'checkboxgroup'].includes(displayAs) && (\n <Link component='button' onClick={openModal} underline='hover'>\n ({listLength} {localizedVal('Total', localeCategory)})\n </Link>\n )}\n </div>\n );\n }\n\n if (displayMode === 'DISPLAY_ONLY') {\n return displayComp ?? <Typography variant='body2'>---</Typography>;\n }\n\n return (\n <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'baseline', gap: '0.5rem' }}>\n {!hideLabel && label && (\n <Typography variant='body2' color='text.secondary'>\n {label}\n </Typography>\n )}\n {displayComp}\n {renderModal()}\n </div>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/SimpleTable/SimpleTableSelectReadonly/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/template/SimpleTable/SimpleTableSelectReadonly/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export { default } from './SimpleTableSelectReadonly';\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @example useFocusFirstField(id,
|
|
3
|
-
* Focuses first editable field in the view.
|
|
2
|
+
* @example useFocusFirstField(id, viewName);
|
|
3
|
+
* Focuses first editable field in the view based on field identity.
|
|
4
4
|
*/
|
|
5
|
-
declare const useFocusFirstField: (id: any,
|
|
5
|
+
declare const useFocusFirstField: (id: any, viewName: any) => void;
|
|
6
6
|
export default useFocusFirstField;
|
|
7
7
|
//# sourceMappingURL=useFocusFirstField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusFirstField.d.ts","sourceRoot":"","sources":["../../src/hooks/useFocusFirstField.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,kBAAkB,GAAI,OAAE,EAAE,aAAQ,
|
|
1
|
+
{"version":3,"file":"useFocusFirstField.d.ts","sourceRoot":"","sources":["../../src/hooks/useFocusFirstField.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,QAAA,MAAM,kBAAkB,GAAI,OAAE,EAAE,aAAQ,SAsBvC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useLayoutEffect, useRef } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* @example useFocusFirstField(id,
|
|
4
|
-
* Focuses first editable field in the view.
|
|
3
|
+
* @example useFocusFirstField(id, viewName);
|
|
4
|
+
* Focuses first editable field in the view based on field identity.
|
|
5
5
|
*/
|
|
6
|
-
const useFocusFirstField = (id,
|
|
7
|
-
|
|
6
|
+
const useFocusFirstField = (id, viewName) => {
|
|
7
|
+
const previousViewNameRef = useRef(null);
|
|
8
|
+
useLayoutEffect(() => {
|
|
9
|
+
if (previousViewNameRef.current === viewName || !viewName) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
previousViewNameRef.current = viewName;
|
|
8
13
|
const assignment = document.getElementById(id);
|
|
9
14
|
if (assignment) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
setTimeout(() => {
|
|
16
|
+
// Find all editable elements within the div
|
|
17
|
+
const editableElements = assignment.querySelectorAll('input, select, textarea, div[role="combobox"]');
|
|
18
|
+
if (editableElements.length > 0) {
|
|
19
|
+
// Focus on the first editable element
|
|
20
|
+
editableElements[0].focus();
|
|
21
|
+
}
|
|
22
|
+
}, 100);
|
|
16
23
|
}
|
|
17
|
-
}, [
|
|
24
|
+
}, [viewName]);
|
|
18
25
|
};
|
|
19
26
|
export default useFocusFirstField;
|
|
20
27
|
//# sourceMappingURL=useFocusFirstField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusFirstField.js","sourceRoot":"","sources":["../../src/hooks/useFocusFirstField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useFocusFirstField.js","sourceRoot":"","sources":["../../src/hooks/useFocusFirstField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEhD;;;GAGG;AACH,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE;IAC1C,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAEzC,eAAe,CAAC,GAAG,EAAE;QACnB,IAAI,mBAAmB,CAAC,OAAO,KAAK,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC1D,OAAO;QACT,CAAC;QAED,mBAAmB,CAAC,OAAO,GAAG,QAAQ,CAAC;QACvC,MAAM,UAAU,GAAG,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;QAE/C,IAAI,UAAU,EAAE,CAAC;YACf,UAAU,CAAC,GAAG,EAAE;gBACd,4CAA4C;gBAC5C,MAAM,gBAAgB,GAA4B,UAAU,CAAC,gBAAgB,CAAC,+CAA+C,CAAC,CAAC;gBAC/H,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBAChC,sCAAsC;oBACtC,gBAAgB,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;gBAC9B,CAAC;YACH,CAAC,EAAE,GAAG,CAAC,CAAC;QACV,CAAC;IACH,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import { useLayoutEffect, useRef } from 'react';\n\n/**\n * @example useFocusFirstField(id, viewName);\n * Focuses first editable field in the view based on field identity.\n */\nconst useFocusFirstField = (id, viewName) => {\n const previousViewNameRef = useRef(null);\n\n useLayoutEffect(() => {\n if (previousViewNameRef.current === viewName || !viewName) {\n return;\n }\n\n previousViewNameRef.current = viewName;\n const assignment = document.getElementById(id);\n\n if (assignment) {\n setTimeout(() => {\n // Find all editable elements within the div\n const editableElements: NodeListOf<HTMLElement> = assignment.querySelectorAll('input, select, textarea, div[role=\"combobox\"]');\n if (editableElements.length > 0) {\n // Focus on the first editable element\n editableElements[0].focus();\n }\n }, 100);\n }\n }, [viewName]);\n};\n\nexport default useFocusFirstField;\n"]}
|
|
@@ -27,6 +27,7 @@ declare namespace pegaSdkComponentMap {
|
|
|
27
27
|
export { DateTime };
|
|
28
28
|
export { Decimal };
|
|
29
29
|
export { DefaultForm };
|
|
30
|
+
export { HierarchicalForm };
|
|
30
31
|
export { DefaultPage };
|
|
31
32
|
export { DeferLoad };
|
|
32
33
|
export { Details };
|
|
@@ -62,6 +63,7 @@ declare namespace pegaSdkComponentMap {
|
|
|
62
63
|
export { NarrowWideForm };
|
|
63
64
|
export { NarrowWidePage };
|
|
64
65
|
export { NavBar };
|
|
66
|
+
export { ObjectPage };
|
|
65
67
|
export { ObjectReference };
|
|
66
68
|
export { OneColumn };
|
|
67
69
|
export { OneColumnPage };
|
|
@@ -87,6 +89,7 @@ declare namespace pegaSdkComponentMap {
|
|
|
87
89
|
export { SimpleTable };
|
|
88
90
|
export { SimpleTableManual };
|
|
89
91
|
export { SimpleTableSelect };
|
|
92
|
+
export { SimpleTableSelectReadonly };
|
|
90
93
|
export { SingleReferenceReadOnly };
|
|
91
94
|
export { Stages };
|
|
92
95
|
export { SubTabs };
|
|
@@ -139,6 +142,7 @@ import Date from './components/field/Date';
|
|
|
139
142
|
import DateTime from './components/field/DateTime';
|
|
140
143
|
import Decimal from './components/field/Decimal';
|
|
141
144
|
import DefaultForm from './components/template/DefaultForm';
|
|
145
|
+
import HierarchicalForm from './components/template/HierarchicalForm';
|
|
142
146
|
import DefaultPage from './components/template/DefaultPage';
|
|
143
147
|
import DeferLoad from './components/infra/DeferLoad';
|
|
144
148
|
import Details from './components/template/Details/Details';
|
|
@@ -174,6 +178,7 @@ import NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetail
|
|
|
174
178
|
import NarrowWideForm from './components/template/NarrowWide/NarrowWideForm';
|
|
175
179
|
import NarrowWidePage from './components/template/NarrowWide/NarrowWidePage';
|
|
176
180
|
import NavBar from './components/infra/NavBar';
|
|
181
|
+
import ObjectPage from './components/template/ObjectPage';
|
|
177
182
|
import ObjectReference from './components/field/ObjectReference';
|
|
178
183
|
import OneColumn from './components/template/OneColumn/OneColumn';
|
|
179
184
|
import OneColumnPage from './components/template/OneColumn/OneColumnPage';
|
|
@@ -199,6 +204,7 @@ import SemanticLink from './components/field/SemanticLink';
|
|
|
199
204
|
import SimpleTable from './components/template/SimpleTable/SimpleTable';
|
|
200
205
|
import SimpleTableManual from './components/template/SimpleTable/SimpleTableManual';
|
|
201
206
|
import SimpleTableSelect from './components/template/SimpleTable/SimpleTableSelect';
|
|
207
|
+
import SimpleTableSelectReadonly from './components/template/SimpleTable/SimpleTableSelectReadonly';
|
|
202
208
|
import SingleReferenceReadOnly from './components/template/SingleReferenceReadOnly';
|
|
203
209
|
import Stages from './components/infra/Stages';
|
|
204
210
|
import SubTabs from './components/template/SubTabs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-pega-component-map.d.ts","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sdk-pega-component-map.d.ts","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAO0B,kCAAkC;qCACvB,0DAA0D;2BACpE,sCAAsC;wBACzC,gDAAgD;4BAC5C,qCAAqC;qBAC5C,yCAAyC;uBACvC,0CAA0C;2BACtC,kDAAkD;uBACtD,gCAAgC;yBAC9B,iCAAiC;mBACvC,2CAA2C;uBACvC,kCAAkC;wBACjC,gCAAgC;wBAChC,iCAAiC;wBACjC,mCAAmC;8BAC7B,sDAAsD;qBAC/D,gCAAgC;gCACrB,2CAA2C;qBACtD,6BAA6B;yBACzB,oCAAoC;qBACxC,6BAA6B;4BACtB,oCAAoC;0BACtC,qCAAqC;iBAC9C,yBAAyB;qBACrB,6BAA6B;oBAC9B,4BAA4B;wBACxB,mCAAmC;6BAC9B,wCAAwC;wBAC7C,mCAAmC;sBACr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,yBAAyB;0BAChB,6CAA6C;uBAChD,6CAA6C;8BACtC,oDAAoD;2BACvD,iDAAiD;2BACjD,iDAAiD;sBACtD,2CAA2C;2BACtC,mDAAmD"}
|
|
@@ -30,6 +30,7 @@ import Date from './components/field/Date';
|
|
|
30
30
|
import DateTime from './components/field/DateTime';
|
|
31
31
|
import Decimal from './components/field/Decimal';
|
|
32
32
|
import DefaultForm from './components/template/DefaultForm';
|
|
33
|
+
import HierarchicalForm from './components/template/HierarchicalForm';
|
|
33
34
|
import DefaultPage from './components/template/DefaultPage';
|
|
34
35
|
import DeferLoad from './components/infra/DeferLoad';
|
|
35
36
|
import Details from './components/template/Details/Details';
|
|
@@ -65,6 +66,7 @@ import NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetail
|
|
|
65
66
|
import NarrowWideForm from './components/template/NarrowWide/NarrowWideForm';
|
|
66
67
|
import NarrowWidePage from './components/template/NarrowWide/NarrowWidePage';
|
|
67
68
|
import NavBar from './components/infra/NavBar';
|
|
69
|
+
import ObjectPage from './components/template/ObjectPage';
|
|
68
70
|
import ObjectReference from './components/field/ObjectReference';
|
|
69
71
|
import OneColumn from './components/template/OneColumn/OneColumn';
|
|
70
72
|
import OneColumnPage from './components/template/OneColumn/OneColumnPage';
|
|
@@ -90,6 +92,7 @@ import SelectableCard from './components/field/SelectableCard';
|
|
|
90
92
|
import SimpleTable from './components/template/SimpleTable/SimpleTable';
|
|
91
93
|
import SimpleTableManual from './components/template/SimpleTable/SimpleTableManual';
|
|
92
94
|
import SimpleTableSelect from './components/template/SimpleTable/SimpleTableSelect';
|
|
95
|
+
import SimpleTableSelectReadonly from './components/template/SimpleTable/SimpleTableSelectReadonly';
|
|
93
96
|
import SingleReferenceReadOnly from './components/template/SingleReferenceReadOnly';
|
|
94
97
|
import Stages from './components/infra/Stages';
|
|
95
98
|
import SubTabs from './components/template/SubTabs';
|
|
@@ -149,6 +152,7 @@ const pegaSdkComponentMap = {
|
|
|
149
152
|
DateTime,
|
|
150
153
|
Decimal,
|
|
151
154
|
DefaultForm,
|
|
155
|
+
HierarchicalForm,
|
|
152
156
|
DefaultPage,
|
|
153
157
|
DeferLoad,
|
|
154
158
|
Details,
|
|
@@ -184,6 +188,7 @@ const pegaSdkComponentMap = {
|
|
|
184
188
|
NarrowWideForm,
|
|
185
189
|
NarrowWidePage,
|
|
186
190
|
NavBar,
|
|
191
|
+
ObjectPage,
|
|
187
192
|
ObjectReference,
|
|
188
193
|
OneColumn,
|
|
189
194
|
OneColumnPage,
|
|
@@ -209,6 +214,7 @@ const pegaSdkComponentMap = {
|
|
|
209
214
|
SimpleTable,
|
|
210
215
|
SimpleTableManual,
|
|
211
216
|
SimpleTableSelect,
|
|
217
|
+
SimpleTableSelectReadonly,
|
|
212
218
|
SingleReferenceReadOnly,
|
|
213
219
|
Stages,
|
|
214
220
|
SubTabs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-pega-component-map.js","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":"AAAA,iCAAiC;AAEjC,0EAA0E;AAC1E,mFAAmF;AACnF,wEAAwE;AACxE,qFAAqF;AAErF,OAAO,aAAa,MAAM,kCAAkC,CAAC;AAC7D,OAAO,wBAAwB,MAAM,0DAA0D,CAAC;AAChG,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAClE,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,cAAc,MAAM,kDAAkD,CAAC;AAC9E,OAAO,UAAU,MAAM,gCAAgC,CAAC;AACxD,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAC3D,OAAO,MAAM,MAAM,2CAA2C,CAAC;AAC/D,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD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Ac;IACd,aAAa;IACb,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,mBAAmB;IACnB,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,uBAAuB;IACvB,MAAM;IACN,OAAO;IACP,WAAW;IACX,WAAW;IACX,QAAQ;IACR,WAAW;IACX,SAAS;IACT,IAAI;IACJ,IAAI,EAAE,IAAI,EAAE,mDAAmD;IAC/D,SAAS;IACT,aAAa;IACb,YAAY;IACZ,GAAG;IACH,aAAa;IACb,YAAY;IACZ,IAAI;IACJ,aAAa;IACb,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,SAAS;IACT,cAAc;CACf,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["/* eslint-disable no-redeclare */\n\n// 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 './components/infra/ActionButtons';\nimport ActionButtonsForFileUtil from './components/widget/FileUtility/ActionButtonsForFileUtil';\nimport AdvancedSearch from './components/template/AdvancedSearch';\nimport AlertBanner from './components/designSystemExtension/AlertBanner';\nimport AppAnnouncement from './components/widget/AppAnnouncement';\nimport AppShell from './components/template/AppShell/AppShell';\nimport Assignment from './components/infra/Assignment/Assignment';\nimport AssignmentCard from './components/infra/AssignmentCard/AssignmentCard';\nimport Attachment from './components/widget/Attachment';\nimport AutoComplete from './components/field/AutoComplete';\nimport Banner from './components/designSystemExtension/Banner';\nimport BannerPage from './components/template/BannerPage';\nimport CancelAlert from './components/field/CancelAlert';\nimport CaseHistory from './components/widget/CaseHistory';\nimport CaseSummary from './components/template/CaseSummary';\nimport CaseSummaryFields from './components/designSystemExtension/CaseSummaryFields';\nimport CaseView from './components/template/CaseView';\nimport CaseViewActionsMenu from './components/template/CaseViewActionsMenu';\nimport Checkbox from './components/field/Checkbox';\nimport Confirmation from './components/template/Confirmation';\nimport Currency from './components/field/Currency';\nimport DashboardFilter from './components/infra/DashboardFilter';\nimport DataReference from './components/template/DataReference';\nimport Date from './components/field/Date';\nimport DateTime from './components/field/DateTime';\nimport Decimal from './components/field/Decimal';\nimport DefaultForm from './components/template/DefaultForm';\nimport DefaultPage from './components/template/DefaultPage';\nimport DeferLoad from './components/infra/DeferLoad';\nimport Details from './components/template/Details/Details';\nimport DetailsSubTabs from './components/template/Details/DetailsSubTabs';\nimport DetailsThreeColumn from './components/template/Details/DetailsThreeColumn';\nimport DetailsTwoColumn from './components/template/Details/DetailsTwoColumn/DetailsTwoColumn';\nimport Dropdown from './components/field/Dropdown';\nimport DynamicTabs from './components/template/Details/DynamicTabs';\nimport Email from './components/field/Email/Email';\nimport ErrorBoundary from './components/infra/ErrorBoundary';\nimport FieldGroup from './components/designSystemExtension/FieldGroup';\nimport FieldGroupList from './components/designSystemExtension/FieldGroupList';\nimport FieldGroupTemplate from './components/template/FieldGroupTemplate';\nimport FieldValueList from './components/designSystemExtension/FieldValueList';\nimport FileUtility from './components/widget/FileUtility/FileUtility';\nimport FlowContainer from './components/infra/Containers/FlowContainer';\nimport Followers from './components/widget/Followers';\nimport Group from './components/field/Group';\nimport InlineDashboard from './components/template/InlineDashboard';\nimport InlineDashboardPage from './components/template/InlineDashboardPage/InlineDashboardPage';\nimport Integer from './components/field/Integer';\nimport LeftAlignVerticalTabs from './components/infra/VerticalTabs/LeftAlignVerticalTabs';\nimport ListPage from './components/template/ListPage/ListPage';\nimport ListView from './components/template/ListView';\nimport ListViewActionButtons from './components/infra/Containers/ModalViewContainer/ListViewActionButtons';\nimport Location from './components/field/Location';\nimport ModalViewContainer from './components/infra/Containers/ModalViewContainer/ModalViewContainer';\nimport MultiReferenceReadOnly from './components/template/MultiReferenceReadOnly';\nimport Multiselect from './components/field/Multiselect/Multiselect';\nimport MultiStep from './components/infra/MultiStep';\nimport NarrowWide from './components/template/NarrowWide/NarrowWide';\nimport NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetails';\nimport NarrowWideForm from './components/template/NarrowWide/NarrowWideForm';\nimport NarrowWidePage from './components/template/NarrowWide/NarrowWidePage';\nimport NavBar from './components/infra/NavBar';\nimport ObjectReference from './components/field/ObjectReference';\nimport OneColumn from './components/template/OneColumn/OneColumn';\nimport OneColumnPage from './components/template/OneColumn/OneColumnPage';\nimport OneColumnTab from './components/template/OneColumn/OneColumnTab';\nimport Operator from './components/designSystemExtension/Operator';\nimport Percentage from './components/field/Percentage';\nimport Phone from './components/field/Phone/Phone';\nimport PromotedFilters from './components/template/PromotedFilters';\nimport Pulse from './components/designSystemExtension/Pulse';\nimport QuickCreate from './components/widget/QuickCreate';\nimport RadioButtons from './components/field/RadioButtons';\nimport Reference from './components/infra/Reference/Reference';\nimport Region from './components/infra/Region/Region';\nimport RichText from './components/field/RichText';\nimport RichTextEditor from './components/designSystemExtension/RichTextEditor';\nimport RootContainer from './components/infra/RootContainer/RootContainer';\nimport ScalarList from './components/field/ScalarList';\nimport SearchForm from './components/template/DataReference/SearchForm';\nimport SearchGroups from './components/template/AdvancedSearch/SearchGroups';\nimport SelfServiceCaseView from './components/template/SelfServiceCaseView';\nimport SemanticLink from './components/field/SemanticLink';\nimport SelectableCard from './components/field/SelectableCard';\nimport SimpleTable from './components/template/SimpleTable/SimpleTable';\nimport SimpleTableManual from './components/template/SimpleTable/SimpleTableManual';\nimport SimpleTableSelect from './components/template/SimpleTable/SimpleTableSelect';\nimport SingleReferenceReadOnly from './components/template/SingleReferenceReadOnly';\nimport Stages from './components/infra/Stages';\nimport SubTabs from './components/template/SubTabs';\nimport SummaryItem from './components/widget/SummaryItem';\nimport SummaryList from './components/widget/SummaryList';\nimport TextArea from './components/field/TextArea';\nimport TextContent from './components/field/TextContent';\nimport TextInput from './components/field/TextInput/TextInput';\nimport Time from './components/field/Time';\nimport ToDo from './components/widget/ToDo';\nimport TwoColumn from './components/template/TwoColumn/TwoColumn';\nimport TwoColumnPage from './components/template/TwoColumn/TwoColumnPage';\nimport TwoColumnTab from './components/template/TwoColumn/TwoColumnTab';\nimport URL from './components/field/URL';\nimport UserReference from './components/field/UserReference';\nimport VerticalTabs from './components/infra/VerticalTabs/VerticalTabs';\nimport View from './components/infra/View';\nimport ViewContainer from './components/infra/Containers/ViewContainer';\nimport WideNarrow from './components/template/WideNarrow/WideNarrow';\nimport WideNarrowDetails from './components/template/WideNarrow/WideNarrowDetails';\nimport WideNarrowForm from './components/template/WideNarrow/WideNarrowForm';\nimport WideNarrowPage from './components/template/WideNarrow/WideNarrowPage';\nimport WssNavBar from './components/template/WssNavBar/WssNavBar';\nimport WssQuickCreate from './components/designSystemExtension/WssQuickCreate';\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,\n ActionButtonsForFileUtil,\n AdvancedSearch,\n AlertBanner,\n AppAnnouncement,\n AppShell,\n Assignment,\n AssignmentCard,\n Attachment,\n AutoComplete,\n Banner,\n BannerPage,\n CancelAlert,\n CaseHistory,\n CaseSummary,\n CaseSummaryFields,\n CaseView,\n CaseViewActionsMenu,\n Checkbox,\n Confirmation,\n Currency,\n DashboardFilter,\n DataReference,\n Date,\n DateTime,\n Decimal,\n DefaultForm,\n DefaultPage,\n DeferLoad,\n Details,\n DetailsSubTabs,\n DetailsThreeColumn,\n DetailsTwoColumn,\n Dropdown,\n DynamicTabs,\n Email,\n ErrorBoundary,\n FieldGroup,\n FieldGroupList,\n FieldGroupTemplate,\n FieldValueList,\n FileUtility,\n FlowContainer,\n Followers,\n Group,\n InlineDashboard,\n InlineDashboardPage,\n Integer,\n LeftAlignVerticalTabs,\n ListPage,\n ListView,\n ListViewActionButtons,\n Location,\n ModalViewContainer,\n MultiReferenceReadOnly,\n Multiselect,\n MultiStep,\n NarrowWide,\n NarrowWideDetails,\n NarrowWideForm,\n NarrowWidePage,\n NavBar,\n ObjectReference,\n OneColumn,\n OneColumnPage,\n OneColumnTab,\n Operator,\n Percentage,\n Phone,\n PromotedFilters,\n Pulse,\n QuickCreate,\n reference: Reference, // See note about about non-standard capitalization\n RadioButtons,\n Region,\n RichText,\n RichTextEditor,\n RootContainer,\n ScalarList,\n SearchForm,\n SearchGroups,\n SelectableCard,\n SelfServiceCaseView,\n SemanticLink,\n SimpleTable,\n SimpleTableManual,\n SimpleTableSelect,\n SingleReferenceReadOnly,\n Stages,\n SubTabs,\n SummaryItem,\n SummaryList,\n TextArea,\n TextContent,\n TextInput,\n Time,\n Todo: ToDo, // See note about about non-standard capitalization\n TwoColumn,\n TwoColumnPage,\n TwoColumnTab,\n URL,\n UserReference,\n VerticalTabs,\n View,\n ViewContainer,\n WideNarrow,\n WideNarrowDetails,\n WideNarrowForm,\n WideNarrowPage,\n WssNavBar,\n WssQuickCreate\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,iCAAiC;AAEjC,0EAA0E;AAC1E,mFAAmF;AACnF,wEAAwE;AACxE,qFAAqF;AAErF,OAAO,aAAa,MAAM,kCAAkC,CAAC;AAC7D,OAAO,wBAAwB,MAAM,0DAA0D,CAAC;AAChG,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAClE,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,cAAc,MAAM,kDAAkD,CAAC;AAC9E,OAAO,UAAU,MAAM,gCAAgC,CAAC;AACxD,OAAO,YAAY,MAAM,iCAAiC,CAA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W;IACX,SAAS;IACT,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,MAAM;IACN,UAAU;IACV,eAAe;IACf,SAAS;IACT,aAAa;IACb,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,KAAK;IACL,eAAe;IACf,KAAK;IACL,WAAW;IACX,SAAS,EAAE,SAAS,EAAE,mDAAmD;IACzE,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,cAAc;IACd,aAAa;IACb,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,mBAAmB;IACnB,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,yBAAyB;IACzB,uBAAuB;IACvB,MAAM;IACN,OAAO;IACP,WAAW;IACX,WAAW;IACX,QAAQ;IACR,WAAW;IACX,SAAS;IACT,IAAI;IACJ,IAAI,EAAE,IAAI,EAAE,mDAAmD;IAC/D,SAAS;IACT,aAAa;IACb,YAAY;IACZ,GAAG;IACH,aAAa;IACb,YAAY;IACZ,IAAI;IACJ,aAAa;IACb,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,SAAS;IACT,cAAc;CACf,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["/* eslint-disable no-redeclare */\n\n// 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 './components/infra/ActionButtons';\nimport ActionButtonsForFileUtil from './components/widget/FileUtility/ActionButtonsForFileUtil';\nimport AdvancedSearch from './components/template/AdvancedSearch';\nimport AlertBanner from './components/designSystemExtension/AlertBanner';\nimport AppAnnouncement from './components/widget/AppAnnouncement';\nimport AppShell from './components/template/AppShell/AppShell';\nimport Assignment from './components/infra/Assignment/Assignment';\nimport AssignmentCard from './components/infra/AssignmentCard/AssignmentCard';\nimport Attachment from './components/widget/Attachment';\nimport AutoComplete from './components/field/AutoComplete';\nimport Banner from './components/designSystemExtension/Banner';\nimport BannerPage from './components/template/BannerPage';\nimport CancelAlert from './components/field/CancelAlert';\nimport CaseHistory from './components/widget/CaseHistory';\nimport CaseSummary from './components/template/CaseSummary';\nimport CaseSummaryFields from './components/designSystemExtension/CaseSummaryFields';\nimport CaseView from './components/template/CaseView';\nimport CaseViewActionsMenu from './components/template/CaseViewActionsMenu';\nimport Checkbox from './components/field/Checkbox';\nimport Confirmation from './components/template/Confirmation';\nimport Currency from './components/field/Currency';\nimport DashboardFilter from './components/infra/DashboardFilter';\nimport DataReference from './components/template/DataReference';\nimport Date from './components/field/Date';\nimport DateTime from './components/field/DateTime';\nimport Decimal from './components/field/Decimal';\nimport DefaultForm from './components/template/DefaultForm';\nimport HierarchicalForm from './components/template/HierarchicalForm';\nimport DefaultPage from './components/template/DefaultPage';\nimport DeferLoad from './components/infra/DeferLoad';\nimport Details from './components/template/Details/Details';\nimport DetailsSubTabs from './components/template/Details/DetailsSubTabs';\nimport DetailsThreeColumn from './components/template/Details/DetailsThreeColumn';\nimport DetailsTwoColumn from './components/template/Details/DetailsTwoColumn/DetailsTwoColumn';\nimport Dropdown from './components/field/Dropdown';\nimport DynamicTabs from './components/template/Details/DynamicTabs';\nimport Email from './components/field/Email/Email';\nimport ErrorBoundary from './components/infra/ErrorBoundary';\nimport FieldGroup from './components/designSystemExtension/FieldGroup';\nimport FieldGroupList from './components/designSystemExtension/FieldGroupList';\nimport FieldGroupTemplate from './components/template/FieldGroupTemplate';\nimport FieldValueList from './components/designSystemExtension/FieldValueList';\nimport FileUtility from './components/widget/FileUtility/FileUtility';\nimport FlowContainer from './components/infra/Containers/FlowContainer';\nimport Followers from './components/widget/Followers';\nimport Group from './components/field/Group';\nimport InlineDashboard from './components/template/InlineDashboard';\nimport InlineDashboardPage from './components/template/InlineDashboardPage/InlineDashboardPage';\nimport Integer from './components/field/Integer';\nimport LeftAlignVerticalTabs from './components/infra/VerticalTabs/LeftAlignVerticalTabs';\nimport ListPage from './components/template/ListPage/ListPage';\nimport ListView from './components/template/ListView';\nimport ListViewActionButtons from './components/infra/Containers/ModalViewContainer/ListViewActionButtons';\nimport Location from './components/field/Location';\nimport ModalViewContainer from './components/infra/Containers/ModalViewContainer/ModalViewContainer';\nimport MultiReferenceReadOnly from './components/template/MultiReferenceReadOnly';\nimport Multiselect from './components/field/Multiselect/Multiselect';\nimport MultiStep from './components/infra/MultiStep';\nimport NarrowWide from './components/template/NarrowWide/NarrowWide';\nimport NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetails';\nimport NarrowWideForm from './components/template/NarrowWide/NarrowWideForm';\nimport NarrowWidePage from './components/template/NarrowWide/NarrowWidePage';\nimport NavBar from './components/infra/NavBar';\nimport ObjectPage from './components/template/ObjectPage';\nimport ObjectReference from './components/field/ObjectReference';\nimport OneColumn from './components/template/OneColumn/OneColumn';\nimport OneColumnPage from './components/template/OneColumn/OneColumnPage';\nimport OneColumnTab from './components/template/OneColumn/OneColumnTab';\nimport Operator from './components/designSystemExtension/Operator';\nimport Percentage from './components/field/Percentage';\nimport Phone from './components/field/Phone/Phone';\nimport PromotedFilters from './components/template/PromotedFilters';\nimport Pulse from './components/designSystemExtension/Pulse';\nimport QuickCreate from './components/widget/QuickCreate';\nimport RadioButtons from './components/field/RadioButtons';\nimport Reference from './components/infra/Reference/Reference';\nimport Region from './components/infra/Region/Region';\nimport RichText from './components/field/RichText';\nimport RichTextEditor from './components/designSystemExtension/RichTextEditor';\nimport RootContainer from './components/infra/RootContainer/RootContainer';\nimport ScalarList from './components/field/ScalarList';\nimport SearchForm from './components/template/DataReference/SearchForm';\nimport SearchGroups from './components/template/AdvancedSearch/SearchGroups';\nimport SelfServiceCaseView from './components/template/SelfServiceCaseView';\nimport SemanticLink from './components/field/SemanticLink';\nimport SelectableCard from './components/field/SelectableCard';\nimport SimpleTable from './components/template/SimpleTable/SimpleTable';\nimport SimpleTableManual from './components/template/SimpleTable/SimpleTableManual';\nimport SimpleTableSelect from './components/template/SimpleTable/SimpleTableSelect';\nimport SimpleTableSelectReadonly from './components/template/SimpleTable/SimpleTableSelectReadonly';\nimport SingleReferenceReadOnly from './components/template/SingleReferenceReadOnly';\nimport Stages from './components/infra/Stages';\nimport SubTabs from './components/template/SubTabs';\nimport SummaryItem from './components/widget/SummaryItem';\nimport SummaryList from './components/widget/SummaryList';\nimport TextArea from './components/field/TextArea';\nimport TextContent from './components/field/TextContent';\nimport TextInput from './components/field/TextInput/TextInput';\nimport Time from './components/field/Time';\nimport ToDo from './components/widget/ToDo';\nimport TwoColumn from './components/template/TwoColumn/TwoColumn';\nimport TwoColumnPage from './components/template/TwoColumn/TwoColumnPage';\nimport TwoColumnTab from './components/template/TwoColumn/TwoColumnTab';\nimport URL from './components/field/URL';\nimport UserReference from './components/field/UserReference';\nimport VerticalTabs from './components/infra/VerticalTabs/VerticalTabs';\nimport View from './components/infra/View';\nimport ViewContainer from './components/infra/Containers/ViewContainer';\nimport WideNarrow from './components/template/WideNarrow/WideNarrow';\nimport WideNarrowDetails from './components/template/WideNarrow/WideNarrowDetails';\nimport WideNarrowForm from './components/template/WideNarrow/WideNarrowForm';\nimport WideNarrowPage from './components/template/WideNarrow/WideNarrowPage';\nimport WssNavBar from './components/template/WssNavBar/WssNavBar';\nimport WssQuickCreate from './components/designSystemExtension/WssQuickCreate';\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,\n ActionButtonsForFileUtil,\n AdvancedSearch,\n AlertBanner,\n AppAnnouncement,\n AppShell,\n Assignment,\n AssignmentCard,\n Attachment,\n AutoComplete,\n Banner,\n BannerPage,\n CancelAlert,\n CaseHistory,\n CaseSummary,\n CaseSummaryFields,\n CaseView,\n CaseViewActionsMenu,\n Checkbox,\n Confirmation,\n Currency,\n DashboardFilter,\n DataReference,\n Date,\n DateTime,\n Decimal,\n DefaultForm,\n HierarchicalForm,\n DefaultPage,\n DeferLoad,\n Details,\n DetailsSubTabs,\n DetailsThreeColumn,\n DetailsTwoColumn,\n Dropdown,\n DynamicTabs,\n Email,\n ErrorBoundary,\n FieldGroup,\n FieldGroupList,\n FieldGroupTemplate,\n FieldValueList,\n FileUtility,\n FlowContainer,\n Followers,\n Group,\n InlineDashboard,\n InlineDashboardPage,\n Integer,\n LeftAlignVerticalTabs,\n ListPage,\n ListView,\n ListViewActionButtons,\n Location,\n ModalViewContainer,\n MultiReferenceReadOnly,\n Multiselect,\n MultiStep,\n NarrowWide,\n NarrowWideDetails,\n NarrowWideForm,\n NarrowWidePage,\n NavBar,\n ObjectPage,\n ObjectReference,\n OneColumn,\n OneColumnPage,\n OneColumnTab,\n Operator,\n Percentage,\n Phone,\n PromotedFilters,\n Pulse,\n QuickCreate,\n reference: Reference, // See note about about non-standard capitalization\n RadioButtons,\n Region,\n RichText,\n RichTextEditor,\n RootContainer,\n ScalarList,\n SearchForm,\n SearchGroups,\n SelectableCard,\n SelfServiceCaseView,\n SemanticLink,\n SimpleTable,\n SimpleTableManual,\n SimpleTableSelect,\n SimpleTableSelectReadonly,\n SingleReferenceReadOnly,\n Stages,\n SubTabs,\n SummaryItem,\n SummaryList,\n TextArea,\n TextContent,\n TextInput,\n Time,\n Todo: ToDo, // See note about about non-standard capitalization\n TwoColumn,\n TwoColumnPage,\n TwoColumnTab,\n URL,\n UserReference,\n VerticalTabs,\n View,\n ViewContainer,\n WideNarrow,\n WideNarrowDetails,\n WideNarrowForm,\n WideNarrowPage,\n WssNavBar,\n WssQuickCreate\n};\n\nexport default pegaSdkComponentMap;\n"]}
|
package/package.json
CHANGED