@optimiser/common 1.0.419 → 1.0.421
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/dist/lib/utility.js +6 -1
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -2364,6 +2364,10 @@ function FilterConditions(condition, match, fields) {
|
|
|
2364
2364
|
}
|
|
2365
2365
|
}
|
|
2366
2366
|
break;
|
|
2367
|
+
case "text":
|
|
2368
|
+
case "textarea":
|
|
2369
|
+
obj.Value = obj.Value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // [Rishi: QPC-10169] Escape string special characters
|
|
2370
|
+
break;
|
|
2367
2371
|
}
|
|
2368
2372
|
}
|
|
2369
2373
|
// Or Condition code in NOT_CONTAINS filter was added by Shahzaib for QPC-6368
|
|
@@ -5902,7 +5906,8 @@ exports.Delay = Delay;
|
|
|
5902
5906
|
* @reply {string} wraps the complete content structure
|
|
5903
5907
|
*/
|
|
5904
5908
|
var ACTIVITY_MAIL_TEMPLATE = function (content) {
|
|
5905
|
-
|
|
5909
|
+
// QPC-10148: Updating project name team to 'CRM' in email footer
|
|
5910
|
+
return "<html xmlns:v=\"urn:schemas-microsoft-com:vml\">\n <head>\n <style> v:* { behavior: url(#default#VML); }</style >\n </head>\n <body style='background-color: #fff;'>\n <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n <!-- <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"background:#fff;\"> -->\n <tr>\n <td align=\"center\" valign=\"top\">\n <table width=\"650\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"background:#fff;\">\n <tr>\n <td align=\"center\" valign=\"top\" bgcolor=\"#fff\" style=\"background-color: #fff; text-align: left; padding-right: 0px; padding-left: 0px; font-size:16px; font-family:Arial, Helvetica, sans-serif; color:#000000;\">\n ".concat(content, "\n <p style=\"margin-bottom: 1em;\">\n Thanks,<br>\n ").concat(constants_1.default.ProjectName, " CRM\n </p>\n </td>\n </tr> \n </table>\n <tr>\n <td>\n <tr>\n <td style=\"text-align: center;\">\n <table style=\"margin: 0 auto;\">\n <tr>\n <td style=\"padding: 3px; font-size:13px; font-family:Arial, Helvetica, sans-serif;\">Powered By</td>\n <td style=\"padding: 3px;\"><a target=\"_blank\" href=\"https://www.optimiser.com\"><img src=\"https://platform.optimiser.com/images/MainLogo.png\" style=\"height: 45px;\"></a></td>\n </tr>\n </table>\n </td>\n </tr>\n </td>\n </tr>\n </td>\n </tr>\n </table>\n </body>");
|
|
5906
5911
|
};
|
|
5907
5912
|
/**
|
|
5908
5913
|
* Common Mail Template Structure
|