@pega/dx-component-builder-sdk 0.24.4 → 0.24.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/constants.js +0 -20
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.scss.mustache +14 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +5 -6
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.tsx.mustache +10 -0
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.html.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.scss.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +8 -0
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/demo.stories.tsx.mustache +3 -0
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/demo.stories.tsx.mustache +42 -41
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +0 -3
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.ts.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.ts.mustache +1 -3
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.ts.mustache +0 -2
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.html.mustache +3 -4
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.html.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +5 -5
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/demo.stories.tsx.mustache +35 -34
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.tsx.mustache +27 -26
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.html.mustache +0 -2
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.html +6 -6
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/operator/operator.component.ts +4 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.ts +5 -6
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.html +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.ts +9 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/rich-text/config-ext.json +11 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment/assignment.component.ts +7 -32
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.html +7 -3
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.ts +15 -8
- package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.ts +40 -7
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view/view.component.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/inline-dashboard-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.html +2 -1
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/demo.stories.tsx +10 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.scss +14 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.ts +5 -6
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.scss +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.ts +8 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/demo.stories.tsx +3 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/demo.stories.tsx +42 -41
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-paragraph/pega-dxil-my-paragraph.component.ts +0 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.ts +0 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-radiobuttons/pega-dxil-my-radiobuttons.component.ts +1 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/pega-dxil-my-searchbox.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.html +3 -4
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/pega-dxil-my-two-column-form.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/demo.stories.tsx +35 -34
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/pega-dxil-my-case-widget.component.ts +5 -5
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.html +0 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/demo.stories.tsx +27 -26
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.html +6 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/operator/operator.component.ts +4 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts +5 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.ts +9 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/rich-text/config-ext.json +11 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment/assignment.component.ts +7 -32
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.html +7 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.ts +15 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.ts +40 -7
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view/view.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/inline-dashboard-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.html +2 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.ts +1 -1
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -10
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +22 -22
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +166 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/reference/reference.component.html +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/infra/reference/reference.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/reference/reference.component.ts +0 -165
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/reference/reference.component.html +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/reference/reference.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/reference/reference.component.ts +0 -165
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/PConnProps.d.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/create-nonce.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/demo.stories.tsx +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/event-utils.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/index.tsx +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/mock.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/styles.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/suggestions-handler.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/textformat-utils.tsx +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"componentKey": "InlineDashboardPage",
|
|
3
|
+
"name": "InlineDashboardPage",
|
|
4
|
+
"label": "Inline Dashboard",
|
|
5
|
+
"description": "Inline Dashboard Page Template",
|
|
6
|
+
"type": "Template",
|
|
7
|
+
"subtype": "PAGE",
|
|
8
|
+
"icon": "InlineDashboardPage.svg",
|
|
9
|
+
"properties": []
|
|
10
|
+
}
|
|
@@ -172,7 +172,7 @@ export class ListViewComponent implements OnInit, OnDestroy {
|
|
|
172
172
|
/** If compositeKeys is defined, use dynamic value, else fallback to pyID or pyGUID. */
|
|
173
173
|
this.compositeKeys = this.configProps$?.compositeKeys;
|
|
174
174
|
this.rowID = this.compositeKeys && this.compositeKeys?.length === 1 ? this.compositeKeys[0] : defRowID;
|
|
175
|
-
this.bShowSearch$ = this.utils.getBooleanValue(this.configProps
|
|
175
|
+
this.bShowSearch$ = this.utils.getBooleanValue(this.configProps$?.globalSearch ? this.configProps$.globalSearch : this.payload?.globalSearch);
|
|
176
176
|
this.bColumnReorder$ = this.utils.getBooleanValue(this.configProps$.reorderFields);
|
|
177
177
|
this.bGrouping$ = this.utils.getBooleanValue(this.configProps$.grouping);
|
|
178
178
|
this.showDynamicFields = this.configProps$?.showDynamicFields;
|
|
@@ -960,9 +960,7 @@ export class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
960
960
|
this.rawFields?.forEach(item => {
|
|
961
961
|
const referenceListData = getReferenceList(this.pConn$);
|
|
962
962
|
const isDatapage = referenceListData.startsWith('D_');
|
|
963
|
-
const pageReferenceValue = isDatapage
|
|
964
|
-
? `${referenceListData}[${index}]`
|
|
965
|
-
: `${this.pConn$.getPageReference()}${referenceListData.substring(referenceListData.lastIndexOf('.'))}[${index}]`;
|
|
963
|
+
const pageReferenceValue = isDatapage ? `${referenceListData}[${index}]` : `${this.pConn$.getPageReference()}${referenceListData}[${index}]`;
|
|
966
964
|
const config = {
|
|
967
965
|
meta: item,
|
|
968
966
|
options: {
|
package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.html
CHANGED
|
@@ -16,9 +16,10 @@
|
|
|
16
16
|
<div class="psdk-todo-assignment-data">
|
|
17
17
|
<div class="psdk-todo-assignment-task">
|
|
18
18
|
{{ localizedVal('Task in', localeCategory) }}
|
|
19
|
-
<button class="psdk-todo-id" style="cursor: pointer" (click)="clickGo(assignment)">
|
|
19
|
+
<button class="psdk-todo-id" style="cursor: pointer" (click)="clickGo(assignment)" *ngIf="!isConfirm || canPerform; else readOnlyText">
|
|
20
20
|
{{ assignment.name }} {{ getID(assignment) }}
|
|
21
21
|
</button>
|
|
22
|
+
<ng-template #readOnlyText> {{ assignment.name }} {{ getID(assignment) }} </ng-template>
|
|
22
23
|
<span *ngIf="assignment.status != undefined">
|
|
23
24
|
• <span class="psdk-todo-assignment-status">{{ assignment?.status }}</span>
|
|
24
25
|
</span>
|
|
@@ -231,7 +231,7 @@ export class TodoComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
231
231
|
const sTarget = this.pConn$.getContainerName();
|
|
232
232
|
const sTargetContainerName = sTarget;
|
|
233
233
|
|
|
234
|
-
const options: any = { containerName: sTargetContainerName };
|
|
234
|
+
const options: any = { containerName: sTargetContainerName, channelName: '' };
|
|
235
235
|
|
|
236
236
|
if (classname === null || classname === '') {
|
|
237
237
|
classname = this.pConn$.getCaseInfo().getClassName();
|
|
@@ -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 './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
|
|
5
6
|
// includes in bundle
|
|
6
7
|
import DateTimeFormatter from "./date-time";
|
|
@@ -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 './PConnProps';
|
|
5
|
+
import './create-nonce';
|
|
5
6
|
|
|
6
7
|
// includes in bundle
|
|
7
8
|
import StyledPegaDxilMyDecimalWrapper from './styles';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect, useRef } from 'react';
|
|
2
2
|
import { Input, EmailDisplay, FieldValueList, Text, URLDisplay, PhoneDisplay, withConfiguration } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
|
|
5
6
|
// includes in bundle
|
|
6
7
|
import { suggestionsHandler } from './suggestions-handler';
|
|
@@ -36,18 +36,23 @@ const statelistData = {
|
|
|
36
36
|
]
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
window.PCore.getDataPageUtils = () => {
|
|
40
|
-
return {
|
|
41
|
-
getDataAsync: () => {
|
|
42
|
-
return new Promise(resolve => {
|
|
43
|
-
resolve(statelistData);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
|
|
49
39
|
export const BasePegaDxilMyIconButtonUrl: Story = args => {
|
|
50
40
|
|
|
41
|
+
window.PCore.getDataPageUtils = () => {
|
|
42
|
+
return {
|
|
43
|
+
getData: () => {
|
|
44
|
+
return new Promise(resolve => {
|
|
45
|
+
resolve(statelistData);
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
getDataAsync: () => {
|
|
49
|
+
return new Promise(resolve => {
|
|
50
|
+
resolve(statelistData);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
51
56
|
const props = {
|
|
52
57
|
countryCode: configProps.countryCode,
|
|
53
58
|
getPConnect: () => {
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
URLDisplay
|
|
11
11
|
} from '@pega/cosmos-react-core';
|
|
12
12
|
import type { PConnFieldProps } from './PConnProps';
|
|
13
|
+
import './create-nonce';
|
|
13
14
|
|
|
14
15
|
// IMPORTANT
|
|
15
16
|
// To use Icons, need to individually import the icon file form @pega/cosmos-react-core (see path below)
|
|
@@ -2,6 +2,7 @@ import { useState, useEffect, useRef } from 'react';
|
|
|
2
2
|
import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
|
|
3
3
|
|
|
4
4
|
import type { PConnFieldProps } from './PConnProps';
|
|
5
|
+
import './create-nonce';
|
|
5
6
|
|
|
6
7
|
// includes in bundle
|
|
7
8
|
import { suggestionsHandler } from './suggestions-handler';
|
|
@@ -4,6 +4,7 @@ import { useState, useEffect, useRef } from 'react';
|
|
|
4
4
|
import { Select, Option, FieldValueList, Text, withConfiguration } from '@pega/cosmos-react-core';
|
|
5
5
|
|
|
6
6
|
import type { PConnFieldProps } from './PConnProps';
|
|
7
|
+
import './create-nonce';
|
|
7
8
|
|
|
8
9
|
// includes in bundle
|
|
9
10
|
import handleEvent from "./event-utils";
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { RadioButton, RadioButtonGroup, withConfiguration } from '@pega/cosmos-react-core';
|
|
4
4
|
import type { PConnFieldProps } from './PConnProps';
|
|
5
|
+
import './create-nonce';
|
|
5
6
|
|
|
6
7
|
// includes in bundle
|
|
7
8
|
import { formatExists, textFormatter } from './textformat-utils';
|
|
@@ -4,6 +4,7 @@ import { useEffect, useRef, useState, useMemo, type MutableRefObject, type SetSt
|
|
|
4
4
|
import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, withConfiguration, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
|
|
5
5
|
import get from 'lodash.get';
|
|
6
6
|
import type { PConnFieldProps } from './PConnProps';
|
|
7
|
+
import './create-nonce';
|
|
7
8
|
|
|
8
9
|
// includes in bundle
|
|
9
10
|
import handleEvent from "./event-utils";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useEffect, useState, useRef } from 'react';
|
|
2
2
|
import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
|
|
5
6
|
// include in bundle
|
|
6
7
|
import handleEvent from "./event-utils";
|
package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useState, useEffect, useRef} from "react";
|
|
2
2
|
import { Input, FieldValueList, Text, withConfiguration } from "@pega/cosmos-react-core";
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
|
|
5
6
|
// includes in bundle
|
|
6
7
|
import {formatExists,textFormatter, urlFormatter} from "./text-url";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Fragment, Children, ReactElement } from 'react';
|
|
2
2
|
import { Grid, Flex, FieldGroup, withConfiguration, GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
import DetailsRender from './DetailsRender';
|
|
5
6
|
import HighlightRender from './HighlightRender';
|
|
6
7
|
|
|
@@ -3,6 +3,7 @@ import { OneColumnPage as OneColumn, withConfiguration } from '@pega/cosmos-reac
|
|
|
3
3
|
import { ConfigurableLayout } from '@pega/cosmos-react-work'
|
|
4
4
|
// import { registerIcon } from '@pega/cosmos-react-core';
|
|
5
5
|
import type { PConnFieldProps } from './PConnProps';
|
|
6
|
+
import './create-nonce';
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Fragment, Children, ReactElement } from 'react';
|
|
2
2
|
import { Grid, Flex, FieldGroup, withConfiguration, GridContainerProps } from '@pega/cosmos-react-core';
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
import DetailsRender from './DetailsRender';
|
|
5
6
|
import HighlightRender from './HighlightRender';
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
|
|
2
2
|
|
|
3
3
|
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
+
import './create-nonce';
|
|
4
5
|
import DetailsRender from './DetailsRender';
|
|
5
6
|
|
|
6
7
|
import StyledPegaDxilMyTwoColumnFormWrapper from './styles';
|
|
@@ -20,33 +20,33 @@ if (!window.PCore) {
|
|
|
20
20
|
window.PCore = {};
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
export const BasePegaDxilMyCaseWidget: Story = args => {
|
|
24
|
+
|
|
25
|
+
window.PCore.getConstants = () => {
|
|
26
|
+
return {
|
|
27
|
+
CASE_INFO: {
|
|
28
|
+
CASE_INFO_ID: 'caseInfo.ID'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
28
31
|
};
|
|
29
|
-
};
|
|
30
32
|
|
|
31
|
-
window.PCore.getLocaleUtils = () => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
window.PCore.getLocaleUtils = () => {
|
|
34
|
+
return {
|
|
35
|
+
getLocaleValue: value => {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
36
39
|
};
|
|
37
|
-
};
|
|
38
40
|
|
|
39
|
-
window.PCore.getDataApiUtils = () => {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
window.PCore.getDataApiUtils = () => {
|
|
42
|
+
return {
|
|
43
|
+
getData: () => {
|
|
44
|
+
return new Promise(resolve => {
|
|
45
|
+
resolve(historyData);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
};
|
|
46
49
|
};
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const BasePegaDxilMyCaseWidget: Story = args => {
|
|
50
50
|
|
|
51
51
|
const props = {
|
|
52
52
|
|
|
@@ -4,6 +4,7 @@ import { Fragment } from 'react';
|
|
|
4
4
|
import { DateTimeDisplay, Card, CardHeader, CardContent, Flex, withConfiguration } from '@pega/cosmos-react-core';
|
|
5
5
|
|
|
6
6
|
import type { PConnFieldProps } from './PConnProps';
|
|
7
|
+
import './create-nonce';
|
|
7
8
|
|
|
8
9
|
// includes in bundle
|
|
9
10
|
import Operator from './Operator';
|