@pega/custom-dx-components 0.242.19 → 0.242.21
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/package.json +2 -2
- package/src/tasks/build-lib/index.js +82 -32
- package/src/tasks/create/index.js +2 -6
- package/src/tasks/create-all/index.js +2 -5
- package/src/tasks/delete/helper.js +19 -3
- package/src/tasks/init/template/package.json.mustache +8 -6
- package/src/tasks/list-lib/index.js +21 -7
- package/src/tasks/publish-lib/index.js +2 -1
- package/src/tasks/rename-lib/index.js +75 -91
- package/src/util.js +16 -0
- package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +2 -2
- package/tests/assets/library/components/create/Pega_DXIL_MyTestText/index.tsx +1 -0
- package/tests/assets/library/components/create/shared/create-nonce.ts +6 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +3 -3
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +23 -24
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +3 -5
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +2 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -15
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/shared/create-nonce.ts +6 -0
- package/tests/assets/original/components/create/Pega_DXIL_MyTestText/create-nonce.ts +6 -0
- package/tests/assets/original/components/create/Pega_DXIL_MyTestText/index.tsx +1 -0
- package/tests/assets/original/components/create/shared/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +23 -24
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +3 -5
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +2 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -15
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +3 -5
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +2 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +6 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +6 -0
|
@@ -7,10 +7,25 @@ import inquirer from 'inquirer';
|
|
|
7
7
|
import ncp from 'ncp';
|
|
8
8
|
import chalk from 'chalk';
|
|
9
9
|
|
|
10
|
-
import {
|
|
11
|
-
|
|
10
|
+
import {
|
|
11
|
+
checkPathAccess,
|
|
12
|
+
showVersion,
|
|
13
|
+
getComponentsObj,
|
|
14
|
+
getDirectoryFiles,
|
|
15
|
+
getPegaServerConfig,
|
|
16
|
+
getLibraryBased,
|
|
17
|
+
deleteLocalLibrary,
|
|
18
|
+
getC11NB2STokenAndStaticServer,
|
|
19
|
+
updateComponentDefaultLibrary,
|
|
20
|
+
updateDefaultOrganization
|
|
21
|
+
} from '../../util.js';
|
|
22
|
+
import {
|
|
23
|
+
TASKS_CONFIG_JSON_FILENAME,
|
|
24
|
+
COMPONENTS_DIRECTORY_PATH,
|
|
25
|
+
COMPONENTS_PATH
|
|
26
|
+
} from '../../constants.js';
|
|
12
27
|
|
|
13
|
-
import {
|
|
28
|
+
import { localBuildLibrary } from '@pega/custom-dx-components/src/tasks/build-lib/index.js';
|
|
14
29
|
|
|
15
30
|
export const DXCB_CONFIG_INTERNAL_JSON_FILENAME = 'src/dxcb.config.json';
|
|
16
31
|
const currentDirectory = process.cwd();
|
|
@@ -18,20 +33,18 @@ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
|
|
|
18
33
|
|
|
19
34
|
const isLibraryBased = await getLibraryBased();
|
|
20
35
|
|
|
21
|
-
|
|
22
36
|
import {
|
|
23
37
|
convertIntoPascalCase,
|
|
24
38
|
getComponentDirectoryPath,
|
|
25
39
|
getPegaConfig,
|
|
26
40
|
getComponentDefaults,
|
|
27
41
|
getComponents,
|
|
42
|
+
getAboutData,
|
|
28
43
|
sanitize
|
|
29
44
|
} from '../../util.js';
|
|
30
45
|
|
|
31
|
-
|
|
32
46
|
const copy = promisify(ncp);
|
|
33
47
|
|
|
34
|
-
|
|
35
48
|
export const getOrgLib = async () => {
|
|
36
49
|
const defaultPegaConfig = await getPegaServerConfig();
|
|
37
50
|
|
|
@@ -41,7 +54,9 @@ export const getOrgLib = async () => {
|
|
|
41
54
|
data = data && JSON.parse(data);
|
|
42
55
|
|
|
43
56
|
if (!data[COMPONENTS_DIRECTORY_PATH]) {
|
|
44
|
-
console.error(
|
|
57
|
+
console.error(
|
|
58
|
+
`${chalk.red.bold('ERROR')} Could not able find components directory path in config.json`
|
|
59
|
+
);
|
|
45
60
|
process.exit(1);
|
|
46
61
|
}
|
|
47
62
|
|
|
@@ -56,7 +71,7 @@ export const getOrgLib = async () => {
|
|
|
56
71
|
componentDefaults.organization = organization;
|
|
57
72
|
|
|
58
73
|
return componentDefaults;
|
|
59
|
-
}
|
|
74
|
+
};
|
|
60
75
|
|
|
61
76
|
export const updateConfig = async (
|
|
62
77
|
{
|
|
@@ -69,13 +84,12 @@ export const updateConfig = async (
|
|
|
69
84
|
version,
|
|
70
85
|
description,
|
|
71
86
|
allowedApplications,
|
|
72
|
-
targetDirectory
|
|
87
|
+
targetDirectory
|
|
73
88
|
},
|
|
74
89
|
options,
|
|
75
90
|
onlyCompanion = false
|
|
76
91
|
) => {
|
|
77
|
-
|
|
78
|
-
let configData = fs.readFileSync(join(targetDirectory, "/config.json"), { encoding: 'utf8' });
|
|
92
|
+
let configData = fs.readFileSync(join(targetDirectory, '/config.json'), { encoding: 'utf8' });
|
|
79
93
|
configData = configData && JSON.parse(configData);
|
|
80
94
|
|
|
81
95
|
configData.name = newComponentKey;
|
|
@@ -84,34 +98,32 @@ export const updateConfig = async (
|
|
|
84
98
|
if (configData.componentKey) configData.componentKey = newComponentKey;
|
|
85
99
|
configData.library = library;
|
|
86
100
|
configData.version = version;
|
|
87
|
-
configData.description =
|
|
101
|
+
configData.description = description != '' ? description : componentLabel;
|
|
88
102
|
|
|
89
103
|
configData.allowedApplications = allowedApplications;
|
|
90
104
|
|
|
91
105
|
// stringify "4", makes the json string look like JSON in the file, formated instead of a single line
|
|
92
|
-
fs.writeFileSync(join(targetDirectory,
|
|
93
|
-
|
|
106
|
+
fs.writeFileSync(join(targetDirectory, '/config.json'), JSON.stringify(configData, null, 4), {
|
|
107
|
+
encoding: 'utf8'
|
|
108
|
+
});
|
|
94
109
|
};
|
|
95
110
|
|
|
96
111
|
export const updateFile = async (
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
112
|
+
fileName,
|
|
113
|
+
oldComponentKeyPC,
|
|
114
|
+
newComponentKeyPC,
|
|
115
|
+
targetDirectory
|
|
101
116
|
) => {
|
|
102
|
-
|
|
103
|
-
let fileData = fs.readFileSync(join(targetDirectory, "/", fileName), { encoding: 'utf8' });
|
|
117
|
+
let fileData = fs.readFileSync(join(targetDirectory, '/', fileName), { encoding: 'utf8' });
|
|
104
118
|
|
|
105
119
|
if (fileData.indexOf(oldComponentKeyPC) >= 0) {
|
|
106
120
|
fileData = fileData.replaceAll(oldComponentKeyPC, newComponentKeyPC);
|
|
107
121
|
|
|
108
|
-
fs.writeFileSync(join(targetDirectory,
|
|
122
|
+
fs.writeFileSync(join(targetDirectory, '/', fileName), fileData, { encoding: 'utf8' });
|
|
109
123
|
}
|
|
110
|
-
|
|
111
124
|
};
|
|
112
125
|
|
|
113
|
-
export const renameLibrary = async ({library, organization}, options) => {
|
|
114
|
-
|
|
126
|
+
export const renameLibrary = async ({ library, organization }, options) => {
|
|
115
127
|
const compDef = await getOrgLib();
|
|
116
128
|
const currentOrganization = compDef.organization;
|
|
117
129
|
const currentLibrary = compDef.library;
|
|
@@ -122,53 +134,60 @@ export const renameLibrary = async ({library, organization}, options) => {
|
|
|
122
134
|
const tokenAndStaticServer = await getC11NB2STokenAndStaticServer();
|
|
123
135
|
|
|
124
136
|
if (tokenAndStaticServer.C11NB2S === undefined) {
|
|
125
|
-
console.log(
|
|
137
|
+
console.log(
|
|
138
|
+
chalk.redBright(
|
|
139
|
+
'Need to authenticate, missing services token.\nBuilding a library requires authentication to acquire a token to build.'
|
|
140
|
+
)
|
|
141
|
+
);
|
|
126
142
|
process.exit(1);
|
|
127
|
-
|
|
128
143
|
}
|
|
129
144
|
|
|
130
|
-
const currentOrgLib = currentOrganization.concat(
|
|
131
|
-
const newOrgLib = organization.concat(
|
|
145
|
+
const currentOrgLib = currentOrganization.concat('_').concat(currentLibrary);
|
|
146
|
+
const newOrgLib = organization.concat('_').concat(library);
|
|
132
147
|
|
|
133
148
|
// reaname all the components
|
|
134
149
|
const components = await getComponents();
|
|
135
150
|
|
|
136
|
-
|
|
137
|
-
|
|
151
|
+
let wasDevBuild = false;
|
|
138
152
|
|
|
139
153
|
for (const index in components) {
|
|
140
154
|
const componentKey = components[index];
|
|
141
155
|
const componentName = componentKey.split('_')[2];
|
|
142
156
|
const currentDirectory = await getComponentDirectoryPath(componentKey);
|
|
143
157
|
|
|
144
|
-
let configData = fs.readFileSync(join(currentDirectory,
|
|
158
|
+
let configData = fs.readFileSync(join(currentDirectory, '/config.json'), { encoding: 'utf8' });
|
|
145
159
|
configData = configData && JSON.parse(configData);
|
|
146
160
|
|
|
147
|
-
const componentLabel = configData.label
|
|
148
|
-
const description = configData.description
|
|
161
|
+
const componentLabel = configData.label;
|
|
162
|
+
const description = configData.description;
|
|
149
163
|
const version = configData.version;
|
|
150
164
|
compVersion = version;
|
|
151
165
|
|
|
152
166
|
// can only rename "devBuilds", so if version doesn't have "-dev", add it and will create dev version
|
|
153
|
-
if (compVersion && compVersion.indexOf(
|
|
154
|
-
|
|
167
|
+
if (compVersion && compVersion.indexOf('-dev') != -1) {
|
|
168
|
+
wasDevBuild = true;
|
|
155
169
|
}
|
|
156
170
|
const allowedApplications = configData.allowedApplications;
|
|
157
171
|
|
|
158
|
-
await renameComponent(
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
172
|
+
await renameComponent(
|
|
173
|
+
{
|
|
174
|
+
library,
|
|
175
|
+
organization,
|
|
176
|
+
componentKey,
|
|
177
|
+
componentName,
|
|
178
|
+
componentLabel,
|
|
179
|
+
version,
|
|
180
|
+
description,
|
|
181
|
+
allowedApplications
|
|
182
|
+
},
|
|
183
|
+
options
|
|
184
|
+
);
|
|
163
185
|
}
|
|
164
186
|
|
|
165
|
-
|
|
166
187
|
// delete and rebuild library
|
|
167
188
|
try {
|
|
168
189
|
await deleteLocalLibrary(currentOrgLib);
|
|
169
|
-
}
|
|
170
|
-
catch (ex) {}
|
|
171
|
-
|
|
190
|
+
} catch (ex) {}
|
|
172
191
|
|
|
173
192
|
// update config
|
|
174
193
|
await updateComponentDefaultLibrary(library);
|
|
@@ -177,16 +196,10 @@ export const renameLibrary = async ({library, organization}, options) => {
|
|
|
177
196
|
// call constellation-dx-components-build-utils build library, which will create a directory of the "buildLibName"
|
|
178
197
|
// with subdirectories for each version.
|
|
179
198
|
// If "buildDev", we append to version "-dev". Currently, only "-dev" versions, when published, can be deleted.
|
|
180
|
-
if(newOrgLib && compVersion) {
|
|
181
|
-
|
|
199
|
+
if (newOrgLib && compVersion) {
|
|
200
|
+
localBuildLibrary(organization, library, currentVersion, wasDevBuild);
|
|
182
201
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
|
|
202
|
+
};
|
|
190
203
|
|
|
191
204
|
export const renameComponent = async (
|
|
192
205
|
{
|
|
@@ -202,8 +215,6 @@ export const renameComponent = async (
|
|
|
202
215
|
options,
|
|
203
216
|
onlyCompanion = false
|
|
204
217
|
) => {
|
|
205
|
-
|
|
206
|
-
|
|
207
218
|
let pegaConfig = await getPegaConfig();
|
|
208
219
|
|
|
209
220
|
const newComponentKey = `${organization}_${library}_${componentName}`;
|
|
@@ -215,14 +226,11 @@ export const renameComponent = async (
|
|
|
215
226
|
const currentDirectory = await getComponentDirectoryPath(componentKey);
|
|
216
227
|
const targetDirectory = await getComponentDirectoryPath(newComponentKey);
|
|
217
228
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
229
|
// custom component
|
|
222
230
|
try {
|
|
223
231
|
fs.renameSync(currentDirectory, targetDirectory);
|
|
224
|
-
} catch(err) {
|
|
225
|
-
console.log(err)
|
|
232
|
+
} catch (err) {
|
|
233
|
+
console.log(err);
|
|
226
234
|
}
|
|
227
235
|
|
|
228
236
|
const targetFileList = await getDirectoryFiles(targetDirectory);
|
|
@@ -230,7 +238,7 @@ export const renameComponent = async (
|
|
|
230
238
|
for (var fileIndex in targetFileList) {
|
|
231
239
|
const fileName = targetFileList[fileIndex];
|
|
232
240
|
|
|
233
|
-
if (fileName ===
|
|
241
|
+
if (fileName === 'config.json') {
|
|
234
242
|
await updateConfig(
|
|
235
243
|
{
|
|
236
244
|
oldComponentKey,
|
|
@@ -242,34 +250,21 @@ export const renameComponent = async (
|
|
|
242
250
|
description,
|
|
243
251
|
allowedApplications,
|
|
244
252
|
organization,
|
|
245
|
-
targetDirectory
|
|
253
|
+
targetDirectory
|
|
246
254
|
},
|
|
247
255
|
options
|
|
248
256
|
);
|
|
257
|
+
} else {
|
|
258
|
+
await updateFile(fileName, oldComponentKeyPC, newComponentKeyPC, targetDirectory);
|
|
249
259
|
}
|
|
250
|
-
else {
|
|
251
|
-
await updateFile(
|
|
252
|
-
fileName,
|
|
253
|
-
oldComponentKeyPC,
|
|
254
|
-
newComponentKeyPC,
|
|
255
|
-
targetDirectory );
|
|
256
|
-
|
|
257
|
-
}
|
|
258
|
-
|
|
259
260
|
} // for
|
|
260
261
|
|
|
261
|
-
|
|
262
262
|
console.log(chalk.green(`Component ${oldComponentKey} renamed to ${newComponentKey}`));
|
|
263
|
-
|
|
264
263
|
};
|
|
265
264
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
265
|
export default async options => {
|
|
271
266
|
if (!isLibraryBased) {
|
|
272
|
-
console.log(`Command only supported for ${chalk.bold.green('library based')} components.`)
|
|
267
|
+
console.log(`Command only supported for ${chalk.bold.green('library based')} components.`);
|
|
273
268
|
process.exit();
|
|
274
269
|
}
|
|
275
270
|
|
|
@@ -297,12 +292,10 @@ export default async options => {
|
|
|
297
292
|
|
|
298
293
|
const localComponents = await getComponentsObj();
|
|
299
294
|
|
|
300
|
-
|
|
301
295
|
if (options.params.length >= 5) {
|
|
302
296
|
const organization = options.params[3];
|
|
303
297
|
const library = options.params[4];
|
|
304
298
|
|
|
305
|
-
|
|
306
299
|
await renameLibrary(
|
|
307
300
|
{
|
|
308
301
|
library,
|
|
@@ -310,9 +303,7 @@ export default async options => {
|
|
|
310
303
|
},
|
|
311
304
|
options
|
|
312
305
|
);
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
else {
|
|
306
|
+
} else {
|
|
316
307
|
const questions = [
|
|
317
308
|
{
|
|
318
309
|
name: 'organization',
|
|
@@ -344,10 +335,7 @@ export default async options => {
|
|
|
344
335
|
];
|
|
345
336
|
|
|
346
337
|
await inquirer.prompt(questions).then(async answers => {
|
|
347
|
-
const {
|
|
348
|
-
organization,
|
|
349
|
-
library
|
|
350
|
-
} = answers;
|
|
338
|
+
const { organization, library } = answers;
|
|
351
339
|
|
|
352
340
|
await renameLibrary(
|
|
353
341
|
{
|
|
@@ -356,10 +344,6 @@ export default async options => {
|
|
|
356
344
|
},
|
|
357
345
|
options
|
|
358
346
|
);
|
|
359
|
-
|
|
360
347
|
});
|
|
361
348
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
349
|
};
|
package/src/util.js
CHANGED
|
@@ -5,6 +5,7 @@ import { promisify } from 'util';
|
|
|
5
5
|
import https from 'https';
|
|
6
6
|
import crypto from 'node:crypto';
|
|
7
7
|
import { createRequire } from 'module';
|
|
8
|
+
import {jwtDecode} from 'jwt-decode';
|
|
8
9
|
|
|
9
10
|
import chalk from 'chalk';
|
|
10
11
|
import mustache from 'mustache';
|
|
@@ -104,6 +105,21 @@ export const updateUseWebPackPromotion = async ( useValue = false ) => {
|
|
|
104
105
|
|
|
105
106
|
}
|
|
106
107
|
|
|
108
|
+
export const getAboutData = async (currentOrgLib, buildVersion, dateStamp) => {
|
|
109
|
+
const tokenAndStaticServer = await getC11NB2STokenAndStaticServer();
|
|
110
|
+
|
|
111
|
+
if (tokenAndStaticServer.C11NB2S === undefined) {
|
|
112
|
+
console.log(chalk.redBright("Need to authenticate, missing services token.\nBuilding a library requires authentication to acquire a token to build."));
|
|
113
|
+
process.exit(1);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const jwt = jwtDecode(tokenAndStaticServer.C11NB2S);
|
|
117
|
+
let infinityVersion= jwt.infinity_version;
|
|
118
|
+
infinityVersion = infinityVersion.replace("8.", "");
|
|
119
|
+
|
|
120
|
+
return `${currentOrgLib} ${buildVersion}, ${dateStamp}, ${infinityVersion}`;
|
|
121
|
+
}
|
|
122
|
+
|
|
107
123
|
export const getLibraryBased = async () => {
|
|
108
124
|
const currentDirectory = process.cwd();
|
|
109
125
|
const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Pega_DXIL_MyTestText",
|
|
3
|
-
"label": "My Test Text
|
|
4
|
-
"description": "My Test Text Description
|
|
3
|
+
"label": "My Test Text",
|
|
4
|
+
"description": "My Test Text Description",
|
|
5
5
|
"organization": "Pega",
|
|
6
6
|
"version": "0.0.1",
|
|
7
7
|
"library": "DXIL",
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Pega_DXIL_MyCaseWidget",
|
|
3
|
-
"label": "My Case Widget
|
|
4
|
-
"description": "My Case Widget
|
|
3
|
+
"label": "My Case Widget",
|
|
4
|
+
"description": "My Case Widget",
|
|
5
5
|
"organization": "Pega",
|
|
6
6
|
"version": "0.0.1",
|
|
7
7
|
"library": "DXIL",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"defaultConfig": {
|
|
21
|
-
"label": "@L My Case Widget
|
|
21
|
+
"label": "@L My Case Widget"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -18,36 +18,35 @@ if (!window.PCore) {
|
|
|
18
18
|
window.PCore = {};
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
return {
|
|
23
|
-
CASE_INFO: {
|
|
24
|
-
CASE_INFO_ID: 'caseInfo.ID'
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
};
|
|
21
|
+
export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
28
22
|
|
|
29
|
-
window.PCore.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
window.PCore.getConstants = () => {
|
|
24
|
+
return {
|
|
25
|
+
CASE_INFO: {
|
|
26
|
+
CASE_INFO_ID: 'caseInfo.ID'
|
|
27
|
+
}
|
|
28
|
+
};
|
|
34
29
|
};
|
|
35
|
-
};
|
|
36
30
|
|
|
37
|
-
window.PCore.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
31
|
+
window.PCore.getLocaleUtils = () => {
|
|
32
|
+
return {
|
|
33
|
+
getLocaleValue: (value: any) => {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
44
37
|
};
|
|
45
|
-
};
|
|
46
38
|
|
|
47
|
-
|
|
39
|
+
window.PCore.getDataApiUtils = () => {
|
|
40
|
+
return {
|
|
41
|
+
getData: () => {
|
|
42
|
+
return new Promise(resolve => {
|
|
43
|
+
resolve(historyData);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
48
|
|
|
49
49
|
const props = {
|
|
50
|
-
|
|
51
50
|
getPConnect: () => {
|
|
52
51
|
return {
|
|
53
52
|
getValue: (value: any) => {
|
|
@@ -71,7 +70,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
71
70
|
resolveConfigProps: () => {/* nothing */}
|
|
72
71
|
};
|
|
73
72
|
}
|
|
74
|
-
};
|
|
73
|
+
};
|
|
75
74
|
|
|
76
75
|
return (
|
|
77
76
|
<>
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
2
|
import { Table, Text, withConfiguration } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from '../shared/PConnProps';
|
|
4
|
+
import '../shared/create-nonce';
|
|
4
5
|
|
|
5
6
|
import StyledPegaDxilMyCaseWidgetWrapper from './styles';
|
|
6
7
|
|
|
@@ -3,6 +3,7 @@ import { DateInput, FieldValueList, DateTimeDisplay, Text, withConfiguration } f
|
|
|
3
3
|
import FormattedText from "./FormattedText";
|
|
4
4
|
|
|
5
5
|
import type { PConnFieldProps } from '../shared/PConnProps';
|
|
6
|
+
import '../shared/create-nonce';
|
|
6
7
|
|
|
7
8
|
import StyledPegaDxilMyDateWrapper from './styles';
|
|
8
9
|
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
2
|
import { DateTimeInput, FieldValueList, DateTimeDisplay, Text, withConfiguration } from "@pega/cosmos-react-core";
|
|
3
3
|
import type { PConnFieldProps } from '../shared/PConnProps';
|
|
4
|
+
import '../shared/create-nonce';
|
|
4
5
|
|
|
5
6
|
// includes in bundle
|
|
6
7
|
import DateTimeFormatter from "./date-time";
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import { useState, useEffect, useRef } from 'react';
|
|
|
2
2
|
import { NumberInput, NumberDisplay, CurrencyDisplay, FieldValueList, Text, withConfiguration } from '@pega/cosmos-react-core';
|
|
3
3
|
|
|
4
4
|
import type { PConnFieldProps } from '../shared/PConnProps';
|
|
5
|
+
import '../shared/create-nonce';
|
|
5
6
|
|
|
6
7
|
// includes in bundle
|
|
7
8
|
import StyledPegaDxilMyDecimalWrapper from './styles';
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx
CHANGED
|
@@ -6,8 +6,6 @@ import PegaDxilMyDetails from './index';
|
|
|
6
6
|
import { pyReviewRaw, pyReviewResolved, regionChildrenResolved, operatorDetails, configProps } from './mock';
|
|
7
7
|
import StatusWorkRenderer from './StatusWork';
|
|
8
8
|
import Operator from './Operator';
|
|
9
|
-
import type C11nEnv from '@pega/pcore-pconnect-typedefs/interpreter/c11n-env';
|
|
10
|
-
|
|
11
9
|
|
|
12
10
|
const meta: Meta<typeof PegaDxilMyDetails> = {
|
|
13
11
|
title: 'PegaDxilMyDetails',
|
|
@@ -76,7 +74,7 @@ const renderField = (resolvedProps: any) => {
|
|
|
76
74
|
value={value}
|
|
77
75
|
variant='datetime'
|
|
78
76
|
format='long'
|
|
79
|
-
clockFormat={
|
|
77
|
+
clockFormat={null}
|
|
80
78
|
key={key}
|
|
81
79
|
/>
|
|
82
80
|
);
|
|
@@ -143,7 +141,7 @@ export const BasePegaDxilMyDetails: Story = (args: any) => {
|
|
|
143
141
|
getInheritedProps: () => {
|
|
144
142
|
return pyReviewRaw.config.inheritedProps;
|
|
145
143
|
},
|
|
146
|
-
createComponent:
|
|
144
|
+
createComponent: config => {
|
|
147
145
|
// eslint-disable-next-line default-case
|
|
148
146
|
switch (config.config.value) {
|
|
149
147
|
case '@P .pyStatusWork':
|
|
@@ -186,7 +184,7 @@ export const BasePegaDxilMyDetails: Story = (args: any) => {
|
|
|
186
184
|
getRawMetadata: () => pyReviewRaw.children[0].children[index],
|
|
187
185
|
getConfigProps: () => {},
|
|
188
186
|
resolveConfigProps: () => regionChildrenResolved[index],
|
|
189
|
-
getComponent:
|
|
187
|
+
getComponent: config =>
|
|
190
188
|
props.getPConnect().createComponent(pyReviewRaw.children[0].children[index])
|
|
191
189
|
})
|
|
192
190
|
};
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Fragment, Children, type ReactElement } from 'react';
|
|
2
2
|
import { Grid, Flex, FieldGroup, withConfiguration, type GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from '../shared/PConnProps';
|
|
4
|
+
import '../shared/create-nonce';
|
|
5
|
+
|
|
4
6
|
import DetailsRender from './DetailsRender';
|
|
5
7
|
import HighlightRender from './HighlightRender';
|
|
6
8
|
|