@claritylabs/cl-sdk 3.0.25 → 3.0.27
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/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3436,6 +3436,9 @@ function isNameCell(label, value) {
|
|
|
3436
3436
|
if (/\b(coverage|coverage part|insuring agreement|description|item|name)\b/.test(normalizedLabel)) {
|
|
3437
3437
|
return true;
|
|
3438
3438
|
}
|
|
3439
|
+
if (/^column\s+1$/.test(normalizedLabel) && !/^(item\s+\d+|nwc-|iso-|cg |il |form\b|page\b)/i.test(normalizedValue)) {
|
|
3440
|
+
return true;
|
|
3441
|
+
}
|
|
3439
3442
|
if (/^column\s+\d+$/.test(normalizedLabel) && /\b(coverage|sub[-\s]?limit|liability|expense|part\s+[a-z])\b/.test(normalizedValue)) {
|
|
3440
3443
|
return true;
|
|
3441
3444
|
}
|
|
@@ -3581,8 +3584,10 @@ function isOperationalCoverageRow(coverage) {
|
|
|
3581
3584
|
const name = normalizeLabel(coverage.name);
|
|
3582
3585
|
if (!hasCoverageLimitTerm(coverage.limits)) return false;
|
|
3583
3586
|
if (/^(item\s+\d+|option:|annual policy premium|total premium|premium and payment)\b/i.test(coverage.name)) return false;
|
|
3587
|
+
if (/^coverage part\s+s\b/i.test(coverage.name)) return false;
|
|
3584
3588
|
if (/^(nwc|iso|cg|il|acord)[-\s]?[a-z0-9]/i.test(coverage.name)) return false;
|
|
3585
3589
|
if (/\b(forms?|endorsements?|premium|payment|terrorism risk insurance act|tria|erp option|bilateral discovery)\b/i.test(name)) return false;
|
|
3590
|
+
if (/\b(incurred in excess|shall erode|subject to|combined defense expenses)\b/i.test(name)) return false;
|
|
3586
3591
|
if (coverage.name.split(/\s+/).length > 16 && !/\b(coverage|liability|sub[-\s]?limit|aggregate|each\s+(claim|loss|occurrence)|limit)\b/i.test(coverage.name)) {
|
|
3587
3592
|
return false;
|
|
3588
3593
|
}
|