@pega/angular-sdk-components 0.242.10 → 0.242.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/esm2022/lib/_components/field/check-box/check-box.component.mjs +3 -3
- package/esm2022/lib/_components/field/date/date.component.mjs +3 -3
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +3 -3
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/_components/field/phone/phone.component.mjs +3 -3
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/field/text/text.component.mjs +5 -3
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/_components/field/time/time.component.mjs +3 -3
- package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +1 -1
- package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +2 -2
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +1 -1
- package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +2 -2
- package/esm2022/lib/_components/template/list-view/utils.mjs +1 -1
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +1 -17
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +3 -2
- package/esm2022/lib/_components/template/utils.mjs +17 -1
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +1 -1
- package/esm2022/lib/_helpers/utils.mjs +5 -1
- package/esm2022/public-api.mjs +11 -11
- package/fesm2022/pega-angular-sdk-components.mjs +49 -55
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/template/simple-table-manual/helpers.d.ts +0 -7
- package/lib/_components/template/utils.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +10 -10
- package/esm2022/lib/_components/template/field-group-template/utils.mjs +0 -11
- package/lib/_components/template/field-group-template/utils.d.ts +0 -1
|
@@ -80,10 +80,3 @@ export declare const getAddRowCallback: (pConnect: any, index: any) => () => any
|
|
|
80
80
|
* @param {string} pageReference - pageReference
|
|
81
81
|
*/
|
|
82
82
|
export declare const createPConnect: (contextName: any, referenceList: any, pageReference: any) => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
83
|
-
/**
|
|
84
|
-
* This method evaluates whether a row action is allowed based on the provided conditions.
|
|
85
|
-
* @param {string|boolean|undefined} allowRowDelete - The condition for allowing row deletion.
|
|
86
|
-
* @param {object} rowData - The data of the row being evaluated.
|
|
87
|
-
* @returns {boolean} - Returns true if the row action is allowed, false otherwise.
|
|
88
|
-
*/
|
|
89
|
-
export declare const evaluateAllowRowAction: (allowRowDelete: any, rowData: any) => boolean;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export declare function getAllFields(pConnect: any): never[];
|
|
2
2
|
export declare function filterForFieldValueList(fields: any): any;
|
|
3
|
+
/**
|
|
4
|
+
* This method evaluates whether a row action is allowed based on the provided conditions.
|
|
5
|
+
* @param {string|boolean|undefined} allowRowDelete - The condition for allowing row deletion.
|
|
6
|
+
* @param {object} rowData - The data of the row being evaluated.
|
|
7
|
+
* @returns {boolean} - Returns true if the row action is allowed, false otherwise.
|
|
8
|
+
*/
|
|
9
|
+
export declare const evaluateAllowRowAction: (allowRowDelete: any, rowData: any) => boolean;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './sdk-local-component-map';
|
|
1
2
|
export * from './lib/_bridge/component-mapper/component-mapper.component';
|
|
2
3
|
export * from './lib/_bridge/helpers/sdk_component_map';
|
|
3
4
|
export * from './lib/_bridge/angular-pconnect';
|
|
@@ -74,6 +75,7 @@ export * from './lib/_components/template/page/page.component';
|
|
|
74
75
|
export * from './lib/_components/template/promoted-filters/promoted-filters.component';
|
|
75
76
|
export * from './lib/_components/template/repeating-structures/repeating-structures.component';
|
|
76
77
|
export * from './lib/_components/template/simple-table/simple-table.component';
|
|
78
|
+
export * from './lib/_components/template/simple-table-manual/helpers';
|
|
77
79
|
export * from './lib/_components/template/simple-table-manual/simple-table-manual.component';
|
|
78
80
|
export * from './lib/_components/template/simple-table-select/simple-table-select.component';
|
|
79
81
|
export * from './lib/_components/template/single-reference-readonly/single-reference-readonly.component';
|
|
@@ -86,7 +88,6 @@ export * from './lib/_components/template/two-column-tab/two-column-tab.componen
|
|
|
86
88
|
export * from './lib/_components/template/wide-narrow-form/wide-narrow-form.component';
|
|
87
89
|
export * from './lib/_components/template/wide-narrow-page/wide-narrow-page.component';
|
|
88
90
|
export * from './lib/_components/template/utils';
|
|
89
|
-
export * from './lib/_components/template/simple-table-manual/helpers';
|
|
90
91
|
export * from './lib/_components/widget/app-announcement/app-announcement.component';
|
|
91
92
|
export * from './lib/_components/widget/attachment/attachment.component';
|
|
92
93
|
export * from './lib/_components/widget/case-history/case-history.component';
|
|
@@ -109,32 +110,31 @@ export * from './lib/_components/designSystemExtension/operator/operator.compone
|
|
|
109
110
|
export * from './lib/_components/designSystemExtension/pulse/pulse.component';
|
|
110
111
|
export * from './lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component';
|
|
111
112
|
export * from './lib/_directives/thousand-seperator.directive';
|
|
112
|
-
export * from './lib/_services/
|
|
113
|
+
export * from './lib/_services/banner.service';
|
|
113
114
|
export * from './lib/_services/case.service';
|
|
114
115
|
export * from './lib/_services/datapage.service';
|
|
115
|
-
export * from './lib/_services/banner.service';
|
|
116
116
|
export * from './lib/_services/endpoints';
|
|
117
|
+
export * from './lib/_services/server-config.service';
|
|
117
118
|
export * from './lib/_helpers/case-utils';
|
|
118
|
-
export * from './lib/_helpers/currency-utils';
|
|
119
119
|
export * from './lib/_helpers/common';
|
|
120
120
|
export * from './lib/_helpers/createstage-utils';
|
|
121
|
+
export * from './lib/_helpers/currency-utils';
|
|
121
122
|
export * from './lib/_helpers/date-format-utils';
|
|
122
123
|
export * from './lib/_helpers/event-util';
|
|
123
124
|
export * from './lib/_helpers/field-group-utils';
|
|
124
|
-
export * from './lib/_helpers/
|
|
125
|
-
export * from './lib/_helpers/formatters/currency-map';
|
|
126
|
-
export * from './lib/_helpers/formatters/date';
|
|
125
|
+
export * from './lib/_helpers/filter-utils';
|
|
127
126
|
export * from './lib/_helpers/formatters/boolean';
|
|
128
127
|
export * from './lib/_helpers/formatters/currency';
|
|
128
|
+
export * from './lib/_helpers/formatters/currency-map';
|
|
129
|
+
export * from './lib/_helpers/formatters/date';
|
|
130
|
+
export * from './lib/_helpers/formatters/format-utils';
|
|
129
131
|
export * from './lib/_helpers/formatters/index';
|
|
132
|
+
export * from './lib/_helpers/instructions-utils';
|
|
130
133
|
export * from './lib/_helpers/tab-utils';
|
|
131
134
|
export * from './lib/_helpers/template-utils';
|
|
132
135
|
export * from './lib/_helpers/utils';
|
|
133
136
|
export * from './lib/_helpers/versionHelpers';
|
|
134
|
-
export * from './lib/_helpers/filter-utils';
|
|
135
|
-
export * from './lib/_helpers/instructions-utils';
|
|
136
137
|
export * from './lib/_messages/error-messages.service';
|
|
137
138
|
export * from './lib/_messages/progress-spinner.service';
|
|
138
139
|
export * from './lib/_messages/update-worklist.service';
|
|
139
140
|
export * from './lib/_types/PConnProps.interface';
|
|
140
|
-
export * from './sdk-local-component-map';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const evaluateAllowRowAction = (allowRowDelete, rowData) => {
|
|
2
|
-
if (allowRowDelete === undefined || allowRowDelete === true)
|
|
3
|
-
return true;
|
|
4
|
-
if (allowRowDelete.startsWith?.('@E ')) {
|
|
5
|
-
const expression = allowRowDelete.replace('@E ', '');
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
return PCore.getExpressionEngine().evaluate(expression, rowData);
|
|
8
|
-
}
|
|
9
|
-
return false;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8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