@imedx/ics-imedx-chromely-plugin-index-examine
Advanced tools
Comparing version 0.0.1-beta.9 to 0.0.1-beta.10
@@ -205,7 +205,8 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
// (name:*安* OR spellCode:*安* OR strokeCode:*安*) AND pid:34* AND rank:[1 TO 3] | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category + " "; | ||
if (rank === 5) { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*) AND pid:" + category + " "; | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
} | ||
else { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*) AND pid:" + category + " AND rank:[1 TO " + rank + "]"; | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + "AND rank:[1 TO " + rank + "]"; | ||
} | ||
@@ -212,0 +213,0 @@ }; |
@@ -211,7 +211,8 @@ (function (global, factory) { | ||
// (name:*安* OR spellCode:*安* OR strokeCode:*安*) AND pid:34* AND rank:[1 TO 3] | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category + " "; | ||
if (rank === 5) { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*) AND pid:" + category + " "; | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
} | ||
else { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*) AND pid:" + category + " AND rank:[1 TO " + rank + "]"; | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + "AND rank:[1 TO " + rank + "]"; | ||
} | ||
@@ -218,0 +219,0 @@ }; |
@@ -53,7 +53,8 @@ "use strict"; | ||
// (name:*安* OR spellCode:*安* OR strokeCode:*安*) AND pid:34* AND rank:[1 TO 3] | ||
var condition = category !== null && category !== void 0 ? category : " AND pid:" + category + " "; | ||
if (rank === 5) { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*) AND pid:" + category + " "; | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition; | ||
} | ||
else { | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*) AND pid:" + category + " AND rank:[1 TO " + rank + "]"; | ||
return "(name:*" + keys + "* OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)" + condition + "AND rank:[1 TO " + rank + "]"; | ||
} | ||
@@ -60,0 +61,0 @@ }; |
{ | ||
"name": "@imedx/ics-imedx-chromely-plugin-index-examine", | ||
"version": "0.0.1-beta.9", | ||
"version": "0.0.1-beta.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63359
813