@churchillliving/se-ui-toolkit 6.53.93 → 6.53.95
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/bundles/churchillliving-se-ui-toolkit.umd.js +10 -0
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/services/utilities.service.js +7 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js +7 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/services/utilities.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1112,6 +1112,15 @@
|
|
|
1112
1112
|
field.hyperlink.params = data;
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
|
+
function setAutoCompleteData(values, uniqueId, labelKey, ValueKey) {
|
|
1116
|
+
if ((values === null || values === void 0 ? void 0 : values.length) > 0) {
|
|
1117
|
+
values = values === null || values === void 0 ? void 0 : values.map(function (rowValue) {
|
|
1118
|
+
var _k;
|
|
1119
|
+
return (_k = {}, _k[labelKey] = rowValue, _k[ValueKey] = uniqueId, _k);
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
return values;
|
|
1123
|
+
}
|
|
1115
1124
|
function setLookupData(_k, field, data) {
|
|
1116
1125
|
var formSections = _k.formSections;
|
|
1117
1126
|
formSections === null || formSections === void 0 ? void 0 : formSections.map(function (section) {
|
|
@@ -9292,6 +9301,7 @@
|
|
|
9292
9301
|
exports.setAddComponentData = setAddComponentData;
|
|
9293
9302
|
exports.setAllFormFieldsValues = setAllFormFieldsValues;
|
|
9294
9303
|
exports.setAndFilter = setAndFilter;
|
|
9304
|
+
exports.setAutoCompleteData = setAutoCompleteData;
|
|
9295
9305
|
exports.setCardFieldsData = setCardFieldsData;
|
|
9296
9306
|
exports.setDataFields = setDataFields;
|
|
9297
9307
|
exports.setDialogData = setDialogData;
|