@fctc/widget-logic 2.0.7 → 2.0.9

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 CHANGED
@@ -7298,10 +7298,9 @@ var searchController = ({
7298
7298
  };
7299
7299
  const formatDomain = () => {
7300
7300
  if (domainAction) {
7301
- console.log("domainAction", domainAction);
7302
7301
  const domain2 = [];
7303
7302
  if (domainAction?.length > 0) {
7304
- if (Object.keys(searchMap).length > 0) {
7303
+ if (Object.keys(searchMap).some((key) => !key.includes(import_constants5.SearchType.GROUP))) {
7305
7304
  domain2.push("&");
7306
7305
  }
7307
7306
  domainAction.forEach((domainItem) => {
package/dist/index.mjs CHANGED
@@ -7356,10 +7356,9 @@ var searchController = ({
7356
7356
  };
7357
7357
  const formatDomain = () => {
7358
7358
  if (domainAction) {
7359
- console.log("domainAction", domainAction);
7360
7359
  const domain2 = [];
7361
7360
  if (domainAction?.length > 0) {
7362
- if (Object.keys(searchMap).length > 0) {
7361
+ if (Object.keys(searchMap).some((key) => !key.includes(SearchType.GROUP))) {
7363
7362
  domain2.push("&");
7364
7363
  }
7365
7364
  domainAction.forEach((domainItem) => {
package/dist/widget.js CHANGED
@@ -7024,10 +7024,9 @@ var searchController = ({
7024
7024
  };
7025
7025
  const formatDomain = () => {
7026
7026
  if (domainAction) {
7027
- console.log("domainAction", domainAction);
7028
7027
  const domain2 = [];
7029
7028
  if (domainAction?.length > 0) {
7030
- if (Object.keys(searchMap).length > 0) {
7029
+ if (Object.keys(searchMap).some((key) => !key.includes(import_constants5.SearchType.GROUP))) {
7031
7030
  domain2.push("&");
7032
7031
  }
7033
7032
  domainAction.forEach((domainItem) => {
package/dist/widget.mjs CHANGED
@@ -7058,10 +7058,9 @@ var searchController = ({
7058
7058
  };
7059
7059
  const formatDomain = () => {
7060
7060
  if (domainAction) {
7061
- console.log("domainAction", domainAction);
7062
7061
  const domain2 = [];
7063
7062
  if (domainAction?.length > 0) {
7064
- if (Object.keys(searchMap).length > 0) {
7063
+ if (Object.keys(searchMap).some((key) => !key.includes(SearchType.GROUP))) {
7065
7064
  domain2.push("&");
7066
7065
  }
7067
7066
  domainAction.forEach((domainItem) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",