d2aura 23.0.36 → 23.0.37

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.
@@ -0,0 +1,3 @@
1
+ export declare class HighlightUtils {
2
+ static shouldHighlight(fieldsToHighlight?: string[], possibleFields?: string[]): boolean;
3
+ }
@@ -0,0 +1,7 @@
1
+ import { intersection } from "lodash";
2
+ export class HighlightUtils {
3
+ static shouldHighlight(fieldsToHighlight, possibleFields = []) {
4
+ return intersection(fieldsToHighlight, possibleFields).length > 0;
5
+ }
6
+ }
7
+ //# sourceMappingURL=highlightUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlightUtils.js","sourceRoot":"","sources":["../../../../api/util/highlightUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,QAAQ,CAAC;AAEpC,MAAM,OAAO,cAAc;IAEvB,MAAM,CAAC,eAAe,CAAC,iBAA4B,EAAE,iBAA2B,EAAE;QAC9E,OAAO,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,MAAM,GAAG,CAAC,CAAA;IACrE,CAAC;CAEJ","sourcesContent":["import {intersection} from \"lodash\";\r\n\r\nexport class HighlightUtils {\r\n\r\n static shouldHighlight(fieldsToHighlight?: string[], possibleFields: string[] = []) {\r\n return intersection(fieldsToHighlight, possibleFields).length > 0\r\n }\r\n \r\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "d2aura",
3
- "version": "23.0.36",
3
+ "version": "23.0.37",
4
4
  "description": "D2 AURA - Advanced User Interface Resource Architecture",
5
5
  "author": "Ipesoft s.r.o.",
6
6
  "license": "MIT",