@churchillliving/se-ui-toolkit 6.53.140 → 6.53.141
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 +3 -6
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/services/hyperlink.service.js +4 -7
- package/fesm2015/churchillliving-se-ui-toolkit.js +3 -6
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -830,14 +830,11 @@
|
|
|
830
830
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
831
831
|
var isLabelLink = formField.label && typeof formField.label === 'object';
|
|
832
832
|
if (((_a = formField.field) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === (field === null || field === void 0 ? void 0 : field.toLowerCase()) ||
|
|
833
|
-
(isLabelLink &&
|
|
834
|
-
|
|
835
|
-
(formField.label &&
|
|
836
|
-
typeof formField.label === 'string' &&
|
|
837
|
-
((_d = formField.label) === null || _d === void 0 ? void 0 : _d.toLowerCase()) === (field === null || field === void 0 ? void 0 : field.toLowerCase()))) {
|
|
833
|
+
(isLabelLink && ((_c = (_b = formField.label) === null || _b === void 0 ? void 0 : _b.name) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === (field === null || field === void 0 ? void 0 : field.toLowerCase())) ||
|
|
834
|
+
(formField.label && typeof formField.label === 'string' && ((_d = formField.label) === null || _d === void 0 ? void 0 : _d.toLowerCase()) === (field === null || field === void 0 ? void 0 : field.toLowerCase()))) {
|
|
838
835
|
var newLink_1 = isLabelLink
|
|
839
836
|
? (_f = (_e = formField.label) === null || _e === void 0 ? void 0 : _e.labelControl) === null || _f === void 0 ? void 0 : _f.orignalLink
|
|
840
|
-
: (_g = formField.hyperlink) === null || _g === void 0 ? void 0 : _g.link;
|
|
837
|
+
: formField.orignalLink ? formField.orignalLink : (_g = formField.hyperlink) === null || _g === void 0 ? void 0 : _g.link;
|
|
841
838
|
if (newLink_1 && newLink_1.length > 0) {
|
|
842
839
|
return params.map(function (paramObj) {
|
|
843
840
|
var _a, _b, _c, _d;
|