@pega/custom-dx-components 24.2.11 → 24.2.12
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 +1 -1
- package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.tsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.tsx.mustache +4 -4
- package/src/tasks/create/templates/Constellation/Widget/PAGE/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/demo.stories.tsx.mustache +3 -3
- package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.tsx.mustache +4 -4
- package/src/tasks/create/templates/Launchpad/Widget/PAGE/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.tsx.mustache +3 -3
- package/src/tasks/init/template/package.json.mustache +1 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +4 -4
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +3 -3
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +3 -3
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +2 -2
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +3 -3
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +4 -4
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +3 -3
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +3 -3
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +3 -3
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.tsx +4 -4
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +3 -3
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +3 -3
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx +2 -2
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +3 -3
- package/tests/functional/localLibCreateLibBuildLibDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibBuildLibListPubDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibValidateDeleteLib.test.js +1 -1
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -26,7 +26,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
26
26
|
getLocale: () => {
|
|
27
27
|
return 'en-GB';
|
|
28
28
|
}
|
|
29
|
-
};
|
|
29
|
+
} as any;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
|
|
@@ -14,7 +14,7 @@ type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
if (!window.PCore) {
|
|
17
|
-
window.PCore = {};
|
|
17
|
+
window.PCore = {} as any;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -25,7 +25,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
25
25
|
getLocale: () => {
|
|
26
26
|
return 'en-GB';
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/demo.stories.tsx.mustache
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const statelistData = {
|
|
@@ -49,7 +49,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
|
49
49
|
resolve(statelistData);
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
};
|
|
52
|
+
} as any;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const props = {
|
|
@@ -21,7 +21,7 @@ export default meta;
|
|
|
21
21
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
22
22
|
|
|
23
23
|
if (!window.PCore) {
|
|
24
|
-
window.PCore = {};
|
|
24
|
+
window.PCore = {} as any;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -29,7 +29,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
29
29
|
getLocaleValue: (value: any) => {
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
|
-
};
|
|
32
|
+
} as any;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
window.PCore.getUserApi = () => {
|
|
@@ -39,7 +39,7 @@ window.PCore.getUserApi = () => {
|
|
|
39
39
|
resolve(operatorDetails);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
};
|
|
42
|
+
} as any;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const Region = (props: any) => {
|
package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.tsx.mustache
CHANGED
|
@@ -20,7 +20,7 @@ export default meta;
|
|
|
20
20
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
21
21
|
|
|
22
22
|
if (!window.PCore) {
|
|
23
|
-
window.PCore = {};
|
|
23
|
+
window.PCore = {} as any;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -28,7 +28,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
28
28
|
getLocaleValue: (value: any) => {
|
|
29
29
|
return value;
|
|
30
30
|
}
|
|
31
|
-
};
|
|
31
|
+
} as any;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
window.PCore.getUserApi = () => {
|
|
@@ -38,7 +38,7 @@ window.PCore.getUserApi = () => {
|
|
|
38
38
|
resolve(operatorDetails);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
};
|
|
41
|
+
} as any;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const Region = (props: any) => {
|
|
@@ -19,7 +19,7 @@ type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
|
19
19
|
|
|
20
20
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
21
21
|
if (!window.PCore) {
|
|
22
|
-
window.PCore = {};
|
|
22
|
+
window.PCore = {} as any;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -27,7 +27,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
|
27
27
|
getLocaleValue: (val: any) => {
|
|
28
28
|
return val;
|
|
29
29
|
}
|
|
30
|
-
};
|
|
30
|
+
} as any;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const configProps = pyHome1Resolved.children[0].children[0].config;
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
@@ -25,7 +25,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
|
25
25
|
CASE_INFO: {
|
|
26
26
|
CASE_INFO_ID: 'caseInfo.ID'
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -33,7 +33,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
|
33
33
|
getLocaleValue: (value: any) => {
|
|
34
34
|
return value;
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
window.PCore.getDataApiUtils = () => {
|
|
@@ -43,7 +43,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
|
43
43
|
resolve(historyData);
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
};
|
|
46
|
+
} as any;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
const props = {
|
|
@@ -17,7 +17,7 @@ export default meta;
|
|
|
17
17
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
18
18
|
|
|
19
19
|
if (!window.PCore) {
|
|
20
|
-
window.PCore = {};
|
|
20
|
+
window.PCore = {} as any;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const worklistData = {
|
|
@@ -59,7 +59,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
|
59
59
|
resolve(worklistData);
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
};
|
|
62
|
+
} as any;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
const props = {
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
23
23
|
getLocaleValue: (value: any) => {
|
|
24
24
|
return value;
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getUserApi = () => {
|
|
@@ -33,7 +33,7 @@ window.PCore.getUserApi = () => {
|
|
|
33
33
|
resolve(operatorDetails);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/demo.stories.tsx.mustache
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const countrylistData = {
|
|
@@ -47,7 +47,7 @@ window.PCore.getDataPageUtils = () => {
|
|
|
47
47
|
resolve(countrylistData);
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
};
|
|
50
|
+
} as any;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getConstants = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getConstants = () => {
|
|
|
23
23
|
CASE_INFO: {
|
|
24
24
|
CASE_INFO_ID: 'caseInfo.ID'
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -31,7 +31,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
31
31
|
getLocaleValue: (value: any) => {
|
|
32
32
|
return value;
|
|
33
33
|
}
|
|
34
|
-
};
|
|
34
|
+
} as any;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
window.PCore.getDataApiUtils = () => {
|
|
@@ -41,7 +41,7 @@ window.PCore.getDataApiUtils = () => {
|
|
|
41
41
|
resolve(historyData);
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
};
|
|
44
|
+
} as any;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
@@ -16,7 +16,7 @@ export default meta;
|
|
|
16
16
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
17
17
|
|
|
18
18
|
if (!window.PCore) {
|
|
19
|
-
window.PCore = {};
|
|
19
|
+
window.PCore = {} as any;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
const worklistData = {
|
|
@@ -57,7 +57,7 @@ window.PCore.getDataApiUtils = () => {
|
|
|
57
57
|
resolve(worklistData);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
};
|
|
60
|
+
} as any;
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
23
23
|
getLocaleValue: (value: any) => {
|
|
24
24
|
return value;
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getUserApi = () => {
|
|
@@ -33,7 +33,7 @@ window.PCore.getUserApi = () => {
|
|
|
33
33
|
resolve(operatorDetails);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@pega/configs": "^0.15.1",
|
|
104
|
-
"@pega/custom-dx-components": "~24.2.
|
|
104
|
+
"@pega/custom-dx-components": "~24.2.12",
|
|
105
105
|
"@pega/pcore-pconnect-typedefs": "3.2.1",
|
|
106
106
|
"@storybook/addon-actions": "^7.6.19",
|
|
107
107
|
"@storybook/addon-essentials": "^7.6.19",
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyCaseWidget>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
@@ -25,7 +25,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
25
25
|
CASE_INFO: {
|
|
26
26
|
CASE_INFO_ID: 'caseInfo.ID'
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -33,7 +33,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
33
33
|
getLocaleValue: (value: any) => {
|
|
34
34
|
return value;
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
window.PCore.getDataApiUtils = () => {
|
|
@@ -43,7 +43,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
43
43
|
resolve(historyData);
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
};
|
|
46
|
+
} as any;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
const props = {
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyDate>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -26,7 +26,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
26
26
|
getLocale: () => {
|
|
27
27
|
return 'en-GB';
|
|
28
28
|
}
|
|
29
|
-
};
|
|
29
|
+
} as any;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export const BasePegaDxilMyDate: Story = args => {
|
|
@@ -14,7 +14,7 @@ type Story = StoryObj<typeof PegaDxilMyDateTime>;
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
if (!window.PCore) {
|
|
17
|
-
window.PCore = {};
|
|
17
|
+
window.PCore = {} as any;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -25,7 +25,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
25
25
|
getLocale: () => {
|
|
26
26
|
return 'en-GB';
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export const BasePegaDxilMyDateTime: Story = (args: any) => {
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx
CHANGED
|
@@ -21,7 +21,7 @@ export default meta;
|
|
|
21
21
|
type Story = StoryObj<typeof PegaDxilMyDetails>;
|
|
22
22
|
|
|
23
23
|
if (!window.PCore) {
|
|
24
|
-
window.PCore = {};
|
|
24
|
+
window.PCore = {} as any;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -29,7 +29,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
29
29
|
getLocaleValue: (value: any) => {
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
|
-
};
|
|
32
|
+
} as any;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
window.PCore.getUserApi = () => {
|
|
@@ -39,7 +39,7 @@ window.PCore.getUserApi = () => {
|
|
|
39
39
|
resolve(operatorDetails);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
};
|
|
42
|
+
} as any;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const Region = (props: any) => {
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyIconButtonUrl>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const statelistData = {
|
|
@@ -49,7 +49,7 @@ export const BasePegaDxilMyIconButtonUrl: Story = (args: any) => {
|
|
|
49
49
|
resolve(statelistData);
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
};
|
|
52
|
+
} as any;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const props = {
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx
CHANGED
|
@@ -19,7 +19,7 @@ type Story = StoryObj<typeof PegaDxilMyPage>;
|
|
|
19
19
|
|
|
20
20
|
export const BasePegaDxilMyPage: Story = (args: any) => {
|
|
21
21
|
if (!window.PCore) {
|
|
22
|
-
window.PCore = {};
|
|
22
|
+
window.PCore = {} as any;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -27,7 +27,7 @@ export const BasePegaDxilMyPage: Story = (args: any) => {
|
|
|
27
27
|
getLocaleValue: (val: any) => {
|
|
28
28
|
return val;
|
|
29
29
|
}
|
|
30
|
-
};
|
|
30
|
+
} as any;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const configProps = pyHome1Resolved.children[0].children[0].config;
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyPageCaseWidget>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
23
23
|
getLocaleValue: (value: any) => {
|
|
24
24
|
return value;
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getUserApi = () => {
|
|
@@ -33,7 +33,7 @@ window.PCore.getUserApi = () => {
|
|
|
33
33
|
resolve(operatorDetails);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export const BasePegaDxilMyPageCaseWidget: Story = (args: any) => {
|
|
@@ -17,7 +17,7 @@ export default meta;
|
|
|
17
17
|
type Story = StoryObj<typeof PegaDxilMyPageWidget>;
|
|
18
18
|
|
|
19
19
|
if (!window.PCore) {
|
|
20
|
-
window.PCore = {};
|
|
20
|
+
window.PCore = {} as any;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const worklistData = {
|
|
@@ -59,7 +59,7 @@ export const BasePegaDxilMyPageWidget: Story = (args: any) => {
|
|
|
59
59
|
resolve(worklistData);
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
};
|
|
62
|
+
} as any;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
const props = {
|
|
@@ -20,7 +20,7 @@ export default meta;
|
|
|
20
20
|
type Story = StoryObj<typeof PegaDxilMyTwoColumnDetails>;
|
|
21
21
|
|
|
22
22
|
if (!window.PCore) {
|
|
23
|
-
window.PCore = {};
|
|
23
|
+
window.PCore = {} as any;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -28,7 +28,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
28
28
|
getLocaleValue: (value: any) => {
|
|
29
29
|
return value;
|
|
30
30
|
}
|
|
31
|
-
};
|
|
31
|
+
} as any;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
window.PCore.getUserApi = () => {
|
|
@@ -38,7 +38,7 @@ window.PCore.getUserApi = () => {
|
|
|
38
38
|
resolve(operatorDetails);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
};
|
|
41
|
+
} as any;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const Region = (props: any) => {
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyCaseWidget>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
@@ -25,7 +25,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
25
25
|
CASE_INFO: {
|
|
26
26
|
CASE_INFO_ID: 'caseInfo.ID'
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -33,7 +33,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
33
33
|
getLocaleValue: (value: any) => {
|
|
34
34
|
return value;
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
window.PCore.getDataApiUtils = () => {
|
|
@@ -43,7 +43,7 @@ export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
|
|
43
43
|
resolve(historyData);
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
};
|
|
46
|
+
} as any;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
const props = {
|
package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyDate>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -26,7 +26,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
26
26
|
getLocale: () => {
|
|
27
27
|
return 'en-GB';
|
|
28
28
|
}
|
|
29
|
-
};
|
|
29
|
+
} as any;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export const BasePegaDxilMyDate: Story = args => {
|
|
@@ -14,7 +14,7 @@ type Story = StoryObj<typeof PegaDxilMyDateTime>;
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
if (!window.PCore) {
|
|
17
|
-
window.PCore = {};
|
|
17
|
+
window.PCore = {} as any;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -25,7 +25,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
25
25
|
getLocale: () => {
|
|
26
26
|
return 'en-GB';
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export const BasePegaDxilMyDateTime: Story = (args: any) => {
|
|
@@ -21,7 +21,7 @@ export default meta;
|
|
|
21
21
|
type Story = StoryObj<typeof PegaDxilMyDetails>;
|
|
22
22
|
|
|
23
23
|
if (!window.PCore) {
|
|
24
|
-
window.PCore = {};
|
|
24
|
+
window.PCore = {} as any;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -29,7 +29,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
29
29
|
getLocaleValue: (value: any) => {
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
|
-
};
|
|
32
|
+
} as any;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
window.PCore.getUserApi = () => {
|
|
@@ -39,7 +39,7 @@ window.PCore.getUserApi = () => {
|
|
|
39
39
|
resolve(operatorDetails);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
};
|
|
42
|
+
} as any;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const Region = (props: any) => {
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyIconButtonUrl>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const statelistData = {
|
|
@@ -49,7 +49,7 @@ export const BasePegaDxilMyIconButtonUrl: Story = (args: any) => {
|
|
|
49
49
|
resolve(statelistData);
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
};
|
|
52
|
+
} as any;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
const props = {
|
package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx
CHANGED
|
@@ -19,7 +19,7 @@ type Story = StoryObj<typeof PegaDxilMyPage>;
|
|
|
19
19
|
|
|
20
20
|
export const BasePegaDxilMyPage: Story = (args: any) => {
|
|
21
21
|
if (!window.PCore) {
|
|
22
|
-
window.PCore = {};
|
|
22
|
+
window.PCore = {} as any;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -27,7 +27,7 @@ export const BasePegaDxilMyPage: Story = (args: any) => {
|
|
|
27
27
|
getLocaleValue: (val: any) => {
|
|
28
28
|
return val;
|
|
29
29
|
}
|
|
30
|
-
};
|
|
30
|
+
} as any;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const configProps = pyHome1Resolved.children[0].children[0].config;
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyPageCaseWidget>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
23
23
|
getLocaleValue: (value: any) => {
|
|
24
24
|
return value;
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getUserApi = () => {
|
|
@@ -33,7 +33,7 @@ window.PCore.getUserApi = () => {
|
|
|
33
33
|
resolve(operatorDetails);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export const BasePegaDxilMyPageCaseWidget: Story = (args: any) => {
|
|
@@ -17,7 +17,7 @@ export default meta;
|
|
|
17
17
|
type Story = StoryObj<typeof PegaDxilMyPageWidget>;
|
|
18
18
|
|
|
19
19
|
if (!window.PCore) {
|
|
20
|
-
window.PCore = {};
|
|
20
|
+
window.PCore = {} as any;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const worklistData = {
|
|
@@ -59,7 +59,7 @@ export const BasePegaDxilMyPageWidget: Story = (args: any) => {
|
|
|
59
59
|
resolve(worklistData);
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
};
|
|
62
|
+
} as any;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
const props = {
|
|
@@ -20,7 +20,7 @@ export default meta;
|
|
|
20
20
|
type Story = StoryObj<typeof PegaDxilMyTwoColumnDetails>;
|
|
21
21
|
|
|
22
22
|
if (!window.PCore) {
|
|
23
|
-
window.PCore = {};
|
|
23
|
+
window.PCore = {} as any;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -28,7 +28,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
28
28
|
getLocaleValue: (value: any) => {
|
|
29
29
|
return value;
|
|
30
30
|
}
|
|
31
|
-
};
|
|
31
|
+
} as any;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
window.PCore.getUserApi = () => {
|
|
@@ -38,7 +38,7 @@ window.PCore.getUserApi = () => {
|
|
|
38
38
|
resolve(operatorDetails);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
};
|
|
41
|
+
} as any;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const Region = (props: any) => {
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.tsx
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyCaseWidget>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getConstants = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getConstants = () => {
|
|
|
23
23
|
CASE_INFO: {
|
|
24
24
|
CASE_INFO_ID: 'caseInfo.ID'
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -31,7 +31,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
31
31
|
getLocaleValue: (value: any) => {
|
|
32
32
|
return value;
|
|
33
33
|
}
|
|
34
|
-
};
|
|
34
|
+
} as any;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
window.PCore.getDataApiUtils = () => {
|
|
@@ -41,7 +41,7 @@ window.PCore.getDataApiUtils = () => {
|
|
|
41
41
|
resolve(historyData);
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
};
|
|
44
|
+
} as any;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
export const BasePegaDxilMyCaseWidget: Story = (args: any) => {
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx
CHANGED
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyDate>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -26,7 +26,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
26
26
|
getLocale: () => {
|
|
27
27
|
return 'en-GB';
|
|
28
28
|
}
|
|
29
|
-
};
|
|
29
|
+
} as any;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export const BasePegaDxilMyDate: Story = args => {
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx
CHANGED
|
@@ -14,7 +14,7 @@ type Story = StoryObj<typeof PegaDxilMyDateTime>;
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
if (!window.PCore) {
|
|
17
|
-
window.PCore = {};
|
|
17
|
+
window.PCore = {} as any;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
window.PCore.getEnvironmentInfo = () => {
|
|
@@ -25,7 +25,7 @@ window.PCore.getEnvironmentInfo = () => {
|
|
|
25
25
|
getLocale: () => {
|
|
26
26
|
return 'en-GB';
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
} as any;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export const BasePegaDxilMyDateTime: Story = (args: any) => {
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx
CHANGED
|
@@ -21,7 +21,7 @@ export default meta;
|
|
|
21
21
|
type Story = StoryObj<typeof PegaDxilMyDetails>;
|
|
22
22
|
|
|
23
23
|
if (!window.PCore) {
|
|
24
|
-
window.PCore = {};
|
|
24
|
+
window.PCore = {} as any;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -29,7 +29,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
29
29
|
getLocaleValue: (value: any) => {
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
|
-
};
|
|
32
|
+
} as any;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
window.PCore.getUserApi = () => {
|
|
@@ -39,7 +39,7 @@ window.PCore.getUserApi = () => {
|
|
|
39
39
|
resolve(operatorDetails);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
};
|
|
42
|
+
} as any;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const Region = (props: any) => {
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyIconButtonUrl>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const countrylistData = {
|
|
@@ -47,7 +47,7 @@ window.PCore.getDataPageUtils = () => {
|
|
|
47
47
|
resolve(countrylistData);
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
};
|
|
50
|
+
} as any;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
export const BasePegaDxilMyIconButtonUrl: Story = (args: any) => {
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx
CHANGED
|
@@ -19,7 +19,7 @@ type Story = StoryObj<typeof PegaDxilMyPage>;
|
|
|
19
19
|
|
|
20
20
|
export const BasePegaDxilMyPage: Story = (args: any) => {
|
|
21
21
|
if (!window.PCore) {
|
|
22
|
-
window.PCore = {};
|
|
22
|
+
window.PCore = {} as any;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -27,7 +27,7 @@ export const BasePegaDxilMyPage: Story = (args: any) => {
|
|
|
27
27
|
getLocaleValue: (val: any) => {
|
|
28
28
|
return val;
|
|
29
29
|
}
|
|
30
|
-
};
|
|
30
|
+
} as any;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const configProps = pyHome1Resolved.children[0].children[0].config;
|
|
@@ -15,7 +15,7 @@ export default meta;
|
|
|
15
15
|
type Story = StoryObj<typeof PegaDxilMyPageCaseWidget>;
|
|
16
16
|
|
|
17
17
|
if (!window.PCore) {
|
|
18
|
-
window.PCore = {};
|
|
18
|
+
window.PCore = {} as any;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -23,7 +23,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
23
23
|
getLocaleValue: (value: any) => {
|
|
24
24
|
return value;
|
|
25
25
|
}
|
|
26
|
-
};
|
|
26
|
+
} as any;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
window.PCore.getUserApi = () => {
|
|
@@ -33,7 +33,7 @@ window.PCore.getUserApi = () => {
|
|
|
33
33
|
resolve(operatorDetails);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
};
|
|
36
|
+
} as any;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
export const BasePegaDxilMyPageCaseWidget: Story = (args: any) => {
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx
CHANGED
|
@@ -16,7 +16,7 @@ export default meta;
|
|
|
16
16
|
type Story = StoryObj<typeof PegaDxilMyPageWidget>;
|
|
17
17
|
|
|
18
18
|
if (!window.PCore) {
|
|
19
|
-
window.PCore = {};
|
|
19
|
+
window.PCore = {} as any;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
const worklistData = {
|
|
@@ -57,7 +57,7 @@ window.PCore.getDataApiUtils = () => {
|
|
|
57
57
|
resolve(worklistData);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
};
|
|
60
|
+
} as any;
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
|
|
@@ -20,7 +20,7 @@ export default meta;
|
|
|
20
20
|
type Story = StoryObj<typeof PegaDxilMyTwoColumnDetails>;
|
|
21
21
|
|
|
22
22
|
if (!window.PCore) {
|
|
23
|
-
window.PCore = {};
|
|
23
|
+
window.PCore = {} as any;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
window.PCore.getLocaleUtils = () => {
|
|
@@ -28,7 +28,7 @@ window.PCore.getLocaleUtils = () => {
|
|
|
28
28
|
getLocaleValue: (value: any) => {
|
|
29
29
|
return value;
|
|
30
30
|
}
|
|
31
|
-
};
|
|
31
|
+
} as any;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
window.PCore.getUserApi = () => {
|
|
@@ -38,7 +38,7 @@ window.PCore.getUserApi = () => {
|
|
|
38
38
|
resolve(operatorDetails);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
};
|
|
41
|
+
} as any;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const Region = (props: any) => {
|
|
@@ -207,7 +207,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
207
207
|
expect(stdout).toContain('Pega_DXIL_MyTestDetails schema is valid');
|
|
208
208
|
|
|
209
209
|
expect(stdout).toContain('Building Library...');
|
|
210
|
-
expect(stdout).toContain('Compile check...');
|
|
210
|
+
// expect(stdout).toContain('Compile check...');
|
|
211
211
|
|
|
212
212
|
expect(stdout).toContain('Webpacked library Pega_DXIL:0.0.1-dev successfully!!');
|
|
213
213
|
expect(stdout).toContain('== Creating manifest for the library version - completed ==');
|
|
@@ -197,7 +197,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
197
197
|
expect(stdout).toContain('Pega_DXIL_MyTestDetails schema is valid');
|
|
198
198
|
|
|
199
199
|
expect(stdout).toContain('Building Library...');
|
|
200
|
-
expect(stdout).toContain('Compile check...');
|
|
200
|
+
// expect(stdout).toContain('Compile check...');
|
|
201
201
|
|
|
202
202
|
expect(stdout).toContain('Webpacked library Pega_DXIL:0.0.1-dev successfully!!');
|
|
203
203
|
expect(stdout).toContain('== Creating manifest for the library version - completed ==');
|
|
@@ -205,7 +205,7 @@ describe(`createLib create validate deleteLib: ${serverDir} - ${compType}` , ()
|
|
|
205
205
|
expect(stdout).toContain('Pega_DXIL_MyTestPage schema is valid');
|
|
206
206
|
expect(stdout).toContain('Pega_DXIL_MyTestDetails schema is valid');
|
|
207
207
|
|
|
208
|
-
expect(stdout).toContain('Validation compile...');
|
|
208
|
+
// expect(stdout).toContain('Validation compile...');
|
|
209
209
|
expect(stdout).toContain('Done.');
|
|
210
210
|
|
|
211
211
|
}, 200000);
|