@mikezimm/fps-library-v2 1.0.142 → 1.0.144
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/CHANGELOG.md +13 -1
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.d.ts +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.js +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.js.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/ISearchTypes.d.ts +2 -0
- package/lib/components/molecules/SearchPage/Interfaces/ISearchTypes.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.js +11 -11
- package/lib/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.js.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/StandardTypes.js +34 -34
- package/lib/components/molecules/SearchPage/Interfaces/StandardTypes.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.js +7 -3
- package/lib/components/molecules/SearchPage/functions/addItemIsA.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta2.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta2.js +17 -5
- package/lib/components/molecules/SearchPage/functions/addSearchMeta2.js.map +1 -1
- package/lib/components/molecules/SourceList/IAnyContent.d.ts +3 -1
- package/lib/components/molecules/SourceList/IAnyContent.d.ts.map +1 -1
- package/lib/logic/Strings/getWordsFromString.js +3 -3
- package/lib/logic/Strings/getWordsFromString.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,12 +5,24 @@ npm run build
|
|
|
5
5
|
npm version major/minor/patch
|
|
6
6
|
npm publish --access=public
|
|
7
7
|
|
|
8
|
-
npm install @mikezimm/fps-library-v2@1.0.
|
|
8
|
+
npm install @mikezimm/fps-library-v2@1.0.144
|
|
9
9
|
|
|
10
10
|
# Changelog
|
|
11
11
|
|
|
12
12
|
NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
|
|
13
13
|
|
|
14
|
+
## 1.0.144 - 2023-Mar-20: SearchTypes
|
|
15
|
+
- refactor addItemIsA to simplify code ( put updates in if item.meta .... )
|
|
16
|
+
- update addSearchMeta2 - map item.allIsAKeys into meta in case it was not already added
|
|
17
|
+
- change ItemIsDataContent from xml file to json in components\molecules\SearchPage\Interfaces\ProgrammingFileKeys.ts
|
|
18
|
+
|
|
19
|
+
## 1.0.143 - 2023-Mar-20: SearchTypes
|
|
20
|
+
- add to IAnySourceItem: primarySearchType: ISearchType; searchTypes: ISearchType[]; allIsAKeys: IItemIsAValues[];
|
|
21
|
+
- add to ISearchType: isAKeys: IItemIsAValues[]; update all default constants
|
|
22
|
+
- change MediaGroupOffice to ContentGroupMedia
|
|
23
|
+
- update addSearchMeta2 to add item.primarySearchType, searchTypes, allIsAKeys
|
|
24
|
+
- reduce 'Invalid searchTypeIdx not found:' by filtering out api ones from Compliance web part
|
|
25
|
+
|
|
14
26
|
## 1.0.142 - 2023-Mar-20: SearchTypes
|
|
15
27
|
- update ItemIsAValues to be consistent:
|
|
16
28
|
export type IItemIsAValues = 'DocSetItem' | 'FileItem' | 'FolderItem' | 'PageItem' | 'NewsItem' | 'NewsLinkItem'
|
|
@@ -2,6 +2,6 @@ export type IContentGroup = 'Office' | 'Code' | 'Data' | 'SharePoint' | 'Media';
|
|
|
2
2
|
export declare const ContentGroupOffice: IContentGroup;
|
|
3
3
|
export declare const ContentGroupData: IContentGroup;
|
|
4
4
|
export declare const ContentGroupCode: IContentGroup;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const ContentGroupMedia: IContentGroup;
|
|
6
6
|
export declare const ContentGroupSP: IContentGroup;
|
|
7
7
|
//# sourceMappingURL=IContentGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IContentGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/IContentGroup.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,CAAC;AAEhF,eAAO,MAAM,kBAAkB,EAAE,aAAwB,CAAC;AAC1D,eAAO,MAAM,gBAAgB,EAAE,aAAsB,CAAC;AACtD,eAAO,MAAM,gBAAgB,EAAE,aAAsB,CAAC;AACtD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"IContentGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/IContentGroup.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,CAAC;AAEhF,eAAO,MAAM,kBAAkB,EAAE,aAAwB,CAAC;AAC1D,eAAO,MAAM,gBAAgB,EAAE,aAAsB,CAAC;AACtD,eAAO,MAAM,gBAAgB,EAAE,aAAsB,CAAC;AACtD,eAAO,MAAM,iBAAiB,EAAE,aAAuB,CAAC;AACxD,eAAO,MAAM,cAAc,EAAE,aAA4B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const ContentGroupOffice = 'Office';
|
|
2
2
|
export const ContentGroupData = 'Data';
|
|
3
3
|
export const ContentGroupCode = 'Code';
|
|
4
|
-
export const
|
|
4
|
+
export const ContentGroupMedia = 'Media';
|
|
5
5
|
export const ContentGroupSP = 'SharePoint';
|
|
6
6
|
//# sourceMappingURL=IContentGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IContentGroup.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/IContentGroup.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAkB,QAAQ,CAAC;AAC1D,MAAM,CAAC,MAAM,gBAAgB,GAAkB,MAAM,CAAC;AACtD,MAAM,CAAC,MAAM,gBAAgB,GAAkB,MAAM,CAAC;AACtD,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"IContentGroup.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/IContentGroup.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAkB,QAAQ,CAAC;AAC1D,MAAM,CAAC,MAAM,gBAAgB,GAAkB,MAAM,CAAC;AACtD,MAAM,CAAC,MAAM,gBAAgB,GAAkB,MAAM,CAAC;AACtD,MAAM,CAAC,MAAM,iBAAiB,GAAkB,OAAO,CAAC;AACxD,MAAM,CAAC,MAAM,cAAc,GAAkB,YAAY,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IItemIsAValues } from "../../SourceList/IAnyContent";
|
|
1
2
|
import { IContentGroup } from "./IContentGroup";
|
|
2
3
|
export interface ISearchType {
|
|
3
4
|
key: string;
|
|
@@ -10,6 +11,7 @@ export interface ISearchType {
|
|
|
10
11
|
similarKey: string;
|
|
11
12
|
contentGroup?: IContentGroup;
|
|
12
13
|
warning?: string;
|
|
14
|
+
isAKeys: IItemIsAValues[];
|
|
13
15
|
}
|
|
14
16
|
export interface ISearchTypes {
|
|
15
17
|
keys: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISearchTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/ISearchTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ISearchTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/ISearchTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,cAAc,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,WAAW,EAAE,CAAC;CACrB"}
|
|
@@ -5,10 +5,10 @@ export const XProgrammingFileKeys = [
|
|
|
5
5
|
"ts", "md", "py", "vba"
|
|
6
6
|
];
|
|
7
7
|
export const XProgrammingFileSearchTypes = [
|
|
8
|
-
{ key: "ts", title: "ts", icon: "TypeScriptLanguage", style: "", count: 0, color: "blue", similarKey: 'ts', contentGroup: ContentGroupCode },
|
|
9
|
-
{ key: "md", title: "md", icon: "MarkDownLanguage", style: "", count: 0, color: "blue", similarKey: 'md', contentGroup: ContentGroupCode },
|
|
10
|
-
{ key: "py", title: "py", icon: "PythonLanguage", style: "", count: 0, color: "blue", similarKey: 'py', contentGroup: ContentGroupCode },
|
|
11
|
-
{ key: "vba", title: "vba", icon: "VisualBasicLanguage", style: "", count: 0, color: "blue", similarKey: 'vba', contentGroup: ContentGroupCode },
|
|
8
|
+
{ key: "ts", title: "ts", icon: "TypeScriptLanguage", style: "", count: 0, color: "blue", similarKey: 'ts', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
9
|
+
{ key: "md", title: "md", icon: "MarkDownLanguage", style: "", count: 0, color: "blue", similarKey: 'md', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
10
|
+
{ key: "py", title: "py", icon: "PythonLanguage", style: "", count: 0, color: "blue", similarKey: 'py', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
11
|
+
{ key: "vba", title: "vba", icon: "VisualBasicLanguage", style: "", count: 0, color: "blue", similarKey: 'vba', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
12
12
|
];
|
|
13
13
|
export const ProgrammingFileKeys = [
|
|
14
14
|
"js", "html", "css",
|
|
@@ -16,13 +16,13 @@ export const ProgrammingFileKeys = [
|
|
|
16
16
|
];
|
|
17
17
|
export const ALLProgrammingFileKeys = [...ProgrammingFileKeys, ...XProgrammingFileKeys,];
|
|
18
18
|
export const ProgrammingFileSearchTypes = [
|
|
19
|
-
{ key: "js", title: "js", icon: "JS", style: "", count: 0, color: "blue", similarKey: 'js', contentGroup: ContentGroupCode },
|
|
20
|
-
{ key: "html", title: "html", icon: "FileHTML", style: "", count: 0, color: "blue", similarKey: 'html', contentGroup: ContentGroupCode },
|
|
21
|
-
{ key: "css", title: "css", icon: "CSS", style: "", count: 0, color: "blue", similarKey: 'css', contentGroup: ContentGroupCode },
|
|
22
|
-
{ key: "json", title: "json", icon: "Code", style: "", count: 0, color: "blue", similarKey: 'json', contentGroup: ContentGroupData },
|
|
23
|
-
{ key: "xml", title: "xml", icon: "CalculatorMultiply", style: "", count: 0, color: "blue", similarKey: 'xml', contentGroup: ContentGroupCode },
|
|
24
|
-
{ key: "exe", title: "exe", icon: "CSharpLanguage", style: "", count: 0, color: "blue", similarKey: 'exe', contentGroup: ContentGroupCode },
|
|
25
|
-
{ key: "ps1", title: "ps1", icon: "PowerShell2", style: "", count: 0, color: "blue", similarKey: 'ps1', contentGroup: ContentGroupCode },
|
|
19
|
+
{ key: "js", title: "js", icon: "JS", style: "", count: 0, color: "blue", similarKey: 'js', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
20
|
+
{ key: "html", title: "html", icon: "FileHTML", style: "", count: 0, color: "blue", similarKey: 'html', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
21
|
+
{ key: "css", title: "css", icon: "CSS", style: "", count: 0, color: "blue", similarKey: 'css', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
22
|
+
{ key: "json", title: "json", icon: "Code", style: "", count: 0, color: "blue", similarKey: 'json', contentGroup: ContentGroupData, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent', 'ItemIsDataContent'] },
|
|
23
|
+
{ key: "xml", title: "xml", icon: "CalculatorMultiply", style: "", count: 0, color: "blue", similarKey: 'xml', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
24
|
+
{ key: "exe", title: "exe", icon: "CSharpLanguage", style: "", count: 0, color: "blue", similarKey: 'exe', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
25
|
+
{ key: "ps1", title: "ps1", icon: "PowerShell2", style: "", count: 0, color: "blue", similarKey: 'ps1', contentGroup: ContentGroupCode, isAKeys: ['ItemIsAFile', 'ItemIsCodeContent'] },
|
|
26
26
|
];
|
|
27
27
|
/**
|
|
28
28
|
* Use SearchTypes for addSearchMeta1 && addSearchMeta2 function
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgrammingFileKeys.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,kBAAkB,GAAI,MAAM,iBAAiB,CAAC;AAEtJ,4DAA4D;AAG5D,MAAM,CAAC,MAAM,oBAAoB,GAAa;IAC5C,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAkB;IACxD,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,gBAAgB,EAAE;
|
|
1
|
+
{"version":3,"file":"ProgrammingFileKeys.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,kBAAkB,GAAI,MAAM,iBAAiB,CAAC;AAEtJ,4DAA4D;AAG5D,MAAM,CAAC,MAAM,oBAAoB,GAAa;IAC5C,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAkB;IACxD,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,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AE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,mBAAmB,CAAC,EAAE;IAC9L,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,mBAAmB,CAAC,EAAE;IAC1L,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,mBAAmB,CAAC,EAAE;CACxL,CAAC;AACF;;;GAGG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAiB;IAC1C,IAAI,EAAE;QACJ,GAAG,iBAAiB;QACpB,GAAG,WAAW;QACd,GAAG,aAAa;QAChB,GAAG,mBAAmB;QACtB,GAAG,oBAAoB;KACxB;IACD,IAAI,EAAE;QACJ,GAAG,wBAAwB;QAC3B,GAAG,kBAAkB;QACrB,GAAG,oBAAoB;QACvB,GAAG,0BAA0B;QAC7B,GAAG,2BAA2B;KAC/B;CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContentGroupData, ContentGroupOffice, ContentGroupSP,
|
|
1
|
+
import { ContentGroupData, ContentGroupOffice, ContentGroupSP, ContentGroupMedia } from "./IContentGroup";
|
|
2
2
|
// Keys must be in same order as in StdFileSearchTypes
|
|
3
3
|
export const StdFileKeys = [
|
|
4
4
|
"pdf",
|
|
@@ -17,25 +17,25 @@ export const OldOfficeWarning = `This file is using an outdated Office format wh
|
|
|
17
17
|
* However, I'm not sure if the title should be the same for all the variants of certain types of files.
|
|
18
18
|
*/
|
|
19
19
|
export const StdFileSearchTypes = [
|
|
20
|
-
{ key: "pdf", title: "pdf", icon: "PDF", style: "", count: 0, color: 'red', similarKey: 'pdf', contentGroup: ContentGroupOffice },
|
|
21
|
-
{ key: "ppt", title: "ppt", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', warning: OldOfficeWarning, contentGroup: ContentGroupOffice },
|
|
22
|
-
{ key: "pptx", title: "pptx", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, adjust: -1 },
|
|
23
|
-
{ key: "pptm", title: "pptm", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, adjust: -2 },
|
|
24
|
-
{ key: "xls", title: "xls", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, warning: OldOfficeWarning },
|
|
25
|
-
{ key: "xlsm", title: "xlsm", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, adjust: -1 },
|
|
26
|
-
{ key: "xlsx", title: "xlsx", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, adjust: -2 },
|
|
27
|
-
{ key: "xlsb", title: "xlsb", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, adjust: -3 },
|
|
28
|
-
{ key: "doc", title: "doc", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, warning: OldOfficeWarning },
|
|
29
|
-
{ key: "docx", title: "docx", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, adjust: -1 },
|
|
30
|
-
{ key: "rtf", title: "rtf", icon: "AlignLeft", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData },
|
|
31
|
-
{ key: "txt", title: "txt", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, adjust: -1 },
|
|
32
|
-
{ key: "csv", title: "csv", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, adjust: -2 },
|
|
33
|
-
{ key: "msg", title: "msg", icon: "OutlookLogo", style: "", count: 0, color: 'blue', similarKey: 'mail', contentGroup: ContentGroupOffice },
|
|
34
|
-
{ key: "one", title: "one", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice },
|
|
35
|
-
{ key: "onepkg", title: "onenote", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, adjust: -1 },
|
|
36
|
-
{ key: "7z", title: "7-zip", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupOffice },
|
|
37
|
-
{ key: "zip", title: "zip", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupOffice, adjust: -1 },
|
|
38
|
-
{ key: "folder", title: "folder", icon: "FabricOpenFolderHorizontal", style: "", count: 0, color: '', similarKey: 'folder', contentGroup: ContentGroupSP },
|
|
20
|
+
{ key: "pdf", title: "pdf", icon: "PDF", style: "", count: 0, color: 'red', similarKey: 'pdf', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'] },
|
|
21
|
+
{ key: "ppt", title: "ppt", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', warning: OldOfficeWarning, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], contentGroup: ContentGroupOffice },
|
|
22
|
+
{ key: "pptx", title: "pptx", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -1 },
|
|
23
|
+
{ key: "pptm", title: "pptm", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -2 },
|
|
24
|
+
{ key: "xls", title: "xls", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], warning: OldOfficeWarning },
|
|
25
|
+
{ key: "xlsm", title: "xlsm", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -1 },
|
|
26
|
+
{ key: "xlsx", title: "xlsx", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -2 },
|
|
27
|
+
{ key: "xlsb", title: "xlsb", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -3 },
|
|
28
|
+
{ key: "doc", title: "doc", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], warning: OldOfficeWarning },
|
|
29
|
+
{ key: "docx", title: "docx", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -1 },
|
|
30
|
+
{ key: "rtf", title: "rtf", icon: "AlignLeft", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: ['ItemIsAFile', 'ItemIsDataContent'] },
|
|
31
|
+
{ key: "txt", title: "txt", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: ['ItemIsAFile', 'ItemIsDataContent'], adjust: -1 },
|
|
32
|
+
{ key: "csv", title: "csv", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: ['ItemIsAFile', 'ItemIsDataContent'], adjust: -2 },
|
|
33
|
+
{ key: "msg", title: "msg", icon: "OutlookLogo", style: "", count: 0, color: 'blue', similarKey: 'mail', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'] },
|
|
34
|
+
{ key: "one", title: "one", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'] },
|
|
35
|
+
{ key: "onepkg", title: "onenote", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -1 },
|
|
36
|
+
{ key: "7z", title: "7-zip", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'] },
|
|
37
|
+
{ key: "zip", title: "zip", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupOffice, isAKeys: ['ItemIsAFile', 'ItemIsOfficeContent'], adjust: -1 },
|
|
38
|
+
{ key: "folder", title: "folder", icon: "FabricOpenFolderHorizontal", style: "", count: 0, color: '', similarKey: 'folder', isAKeys: ['ItemIsAFile', 'ItemIsSharePointContent'], contentGroup: ContentGroupSP },
|
|
39
39
|
];
|
|
40
40
|
// Keys must be in same order as in StdFileSearchTypes
|
|
41
41
|
export const MediaFileKeys = [
|
|
@@ -48,16 +48,16 @@ export const MediaFileKeys = [
|
|
|
48
48
|
* However, I'm not sure if the title should be the same for all the variants of certain types of files.
|
|
49
49
|
*/
|
|
50
50
|
export const MediaFileSearchTypes = [
|
|
51
|
-
{ key: "avi", title: "avi", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup:
|
|
52
|
-
{ key: "mp4", title: "mp4", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup:
|
|
53
|
-
{ key: "wmf", title: "wmf", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup:
|
|
54
|
-
{ key: "mov", title: "mov", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup:
|
|
55
|
-
{ key: "wmv", title: "wmv", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup:
|
|
56
|
-
{ key: "png", title: "png", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup:
|
|
57
|
-
{ key: "gif", title: "gif", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup:
|
|
58
|
-
{ key: "jpg", title: "jpg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup:
|
|
59
|
-
{ key: "jpeg", title: "jpeg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup:
|
|
60
|
-
{ key: "dwg", title: "dwg", icon: "PenWorkspace", style: "", count: 0, color: 'black', similarKey: 'dwg' },
|
|
51
|
+
{ key: "avi", title: "avi", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'] },
|
|
52
|
+
{ key: "mp4", title: "mp4", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -1 },
|
|
53
|
+
{ key: "wmf", title: "wmf", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -2 },
|
|
54
|
+
{ key: "mov", title: "mov", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -3 },
|
|
55
|
+
{ key: "wmv", title: "wmv", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -4 },
|
|
56
|
+
{ key: "png", title: "png", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'] },
|
|
57
|
+
{ key: "gif", title: "gif", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -1 },
|
|
58
|
+
{ key: "jpg", title: "jpg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -2 },
|
|
59
|
+
{ key: "jpeg", title: "jpeg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'], adjust: -3 },
|
|
60
|
+
{ key: "dwg", title: "dwg", icon: "PenWorkspace", style: "", count: 0, color: 'black', similarKey: 'dwg', isAKeys: ['ItemIsAFile', 'ItemIsMediaContent'] },
|
|
61
61
|
];
|
|
62
62
|
// Keys must be in same order as in StdSharePointSearchTypes
|
|
63
63
|
export const StdSharePointKeys = [
|
|
@@ -66,10 +66,10 @@ export const StdSharePointKeys = [
|
|
|
66
66
|
"spitem"
|
|
67
67
|
];
|
|
68
68
|
export const StdSharePointSearchTypes = [
|
|
69
|
-
{ key: "docset", title: "docset", icon: "DocumentSet", style: "", count: 0, color: '', similarKey: 'docset', contentGroup: ContentGroupSP },
|
|
70
|
-
{ key: "page", title: "page", icon: "KnowledgeArticle", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP },
|
|
71
|
-
{ key: "news", title: "news", icon: "News", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP },
|
|
72
|
-
{ key: "spitem", title: "spitem", icon: "BulletedList2", style: "", count: 0, color: "blue", similarKey: 'spitem', contentGroup: ContentGroupSP },
|
|
69
|
+
{ key: "docset", title: "docset", icon: "DocumentSet", style: "", count: 0, color: '', similarKey: 'docset', contentGroup: ContentGroupSP, isAKeys: ['ItemIsAFile', 'ItemIsSharePointContent'] },
|
|
70
|
+
{ key: "page", title: "page", icon: "KnowledgeArticle", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP, isAKeys: ['ItemIsAFile', 'ItemIsSharePointContent'] },
|
|
71
|
+
{ key: "news", title: "news", icon: "News", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP, isAKeys: ['ItemIsAFile', 'ItemIsSharePointContent'] },
|
|
72
|
+
{ key: "spitem", title: "spitem", icon: "BulletedList2", style: "", count: 0, color: "blue", similarKey: 'spitem', contentGroup: ContentGroupSP, isAKeys: ['ItemIsAFile', 'ItemIsSharePointContent'] },
|
|
73
73
|
];
|
|
74
74
|
/**
|
|
75
75
|
* Use SearchTypes for addSearchMeta1 && addSearchMeta2 function
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/StandardTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,EAAiB,
|
|
1
|
+
{"version":3,"file":"StandardTypes.js","sourceRoot":"","sources":["../../../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K,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,yBAAyB,CAAC,EAAE;CAEvM,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAiB;IACvC,IAAI,EAAE;QACJ,GAAG,iBAAiB;QACpB,GAAG,WAAW;QACd,GAAG,aAAa;KACjB;IACD,IAAI,EAAE;QACJ,GAAG,wBAAwB;QAC3B,GAAG,kBAAkB;QACrB,GAAG,oBAAoB;KACxB;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addItemIsA.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAiH,MAAM,8BAA8B,CAAC;AAI7L,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"addItemIsA.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAiH,MAAM,8BAA8B,CAAC;AAI7L,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,GAAG,cAAc,CAuB5F;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAuBpE"}
|
|
@@ -8,10 +8,14 @@ export function addItemIsA(item, ItemIsAThis) {
|
|
|
8
8
|
}
|
|
9
9
|
else {
|
|
10
10
|
const itemIsAKey = ItemIsAKeys[itemIsAIdx];
|
|
11
|
-
item.
|
|
12
|
-
if (item.meta.indexOf(ItemIsAThis) < 0)
|
|
11
|
+
if (item.meta.indexOf(ItemIsAThis) < 0) {
|
|
13
12
|
item.meta.push(ItemIsAThis);
|
|
14
|
-
|
|
13
|
+
item.searchTextLC = `${ItemIsAThis.toLocaleLowerCase()} || ${item.searchTextLC}`;
|
|
14
|
+
item[`${itemIsAKey}`] = true;
|
|
15
|
+
if (!item.allIsAKeys)
|
|
16
|
+
item.allIsAKeys = [];
|
|
17
|
+
item.allIsAKeys.push(ItemIsAThis);
|
|
18
|
+
}
|
|
15
19
|
return item;
|
|
16
20
|
}
|
|
17
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addItemIsA.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAC7L,OAAO,EAAE,sBAAsB,GAAG,MAAM,mCAAmC,CAAC;AAG5E,MAAM,UAAU,UAAU,CAAC,IAAoB,EAAE,WAA2B;IAE1E,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CAAC,WAA6B,CAAC,CAAC;IAExE,IAAI,UAAU,GAAG,CAAC,EAAE;QAClB,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,WAAW,CAAC,CAAC;QAC7D,OAAO,IAAI,CAAC;KAEb;SAAM;QACL,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"addItemIsA.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAC7L,OAAO,EA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AAA,CAAC;IAEF,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,EAAE;QAC5B,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;KAE5C;SAAM,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,EAAE;QACnC,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;KAC1C;IAED,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE;QAC3F,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;KAC5C;IAED,OAAO,IAAI,CAAC;AAEd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSearchMeta2.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchMeta2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"addSearchMeta2.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchMeta2.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAkB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAGvE;;;;;GAKG;AAEH,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,WAAW,EAAE,YAAY,GAAG,cAAc,EAAE,CA+DnG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { check4Gulp } from "@mikezimm/fps-pnp2/lib/services/sp/CheckGulping";
|
|
2
|
+
import { mergeWordArrays } from "../../../../logic/Strings/getWordsFromString";
|
|
2
3
|
import { addItemIsA } from "./addItemIsA";
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
@@ -36,7 +37,7 @@ export function addSearchMeta2(items, SearchTypes) {
|
|
|
36
37
|
let searchTypeIdx = SearchTypes.keys.indexOf(item.type);
|
|
37
38
|
let typeIdx = searchTypeIdx;
|
|
38
39
|
if (searchTypeIdx === -1) {
|
|
39
|
-
if (check4Gulp() === true)
|
|
40
|
+
if (check4Gulp() === true && item.type !== 'labels' && item.type !== 'rigItems')
|
|
40
41
|
console.log('Invalid searchTypeIdx not found:', item.type, SearchTypes.keys);
|
|
41
42
|
}
|
|
42
43
|
// 2023-02-13: This is needed because sometimes the type is not found and this will prevent crashes
|
|
@@ -47,11 +48,22 @@ export function addSearchMeta2(items, SearchTypes) {
|
|
|
47
48
|
item.contentGroup = SearchTypes.objs[searchTypeIdx].contentGroup;
|
|
48
49
|
item = addItemIsA(item, `ItemIs${SearchTypes.objs[searchTypeIdx].contentGroup}Content`);
|
|
49
50
|
}
|
|
50
|
-
item.
|
|
51
|
+
item.primarySearchType = SearchTypes.objs[searchTypeIdx];
|
|
52
|
+
if (!item.searchTypes)
|
|
53
|
+
item.searchTypes = [];
|
|
54
|
+
if (!item.allIsAKeys)
|
|
55
|
+
item.allIsAKeys = [];
|
|
56
|
+
// Get existing item.SearchTypes that match the current one
|
|
57
|
+
const SearchTypeIsAlreadyAdded = item.searchTypes.filter((sType) => { return sType.key === SearchTypes.objs[searchTypeIdx].key; });
|
|
58
|
+
// Add current one if it does not already exist.
|
|
59
|
+
if (SearchTypeIsAlreadyAdded.length === 0)
|
|
60
|
+
item.searchTypes.push(SearchTypes.objs[searchTypeIdx]);
|
|
61
|
+
// Merge allIsAKeys from this Search Type with the Item's allIsAKeys
|
|
62
|
+
item.allIsAKeys = mergeWordArrays(SearchTypes.objs[searchTypeIdx].isAKeys, item.allIsAKeys, false, 'asis');
|
|
51
63
|
}
|
|
52
|
-
// if
|
|
53
|
-
|
|
54
|
-
|
|
64
|
+
// This was added to insure all allIsKeys get pushed to meta if they have not already been pushed.
|
|
65
|
+
item.allIsAKeys.map(key => { if (item.meta.indexOf(key) < 0)
|
|
66
|
+
item.meta.push(key); });
|
|
55
67
|
item.typeIdx = typeIdx > -1 ? typeIdx : SearchTypes.keys.length - 1;
|
|
56
68
|
item.searchTypeIdx = searchTypeIdx;
|
|
57
69
|
item.searchTitle = `${searchTitle}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSearchMeta2.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchMeta2.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"addSearchMeta2.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchMeta2.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAG/E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;GAKG;AAEH,MAAM,UAAU,cAAc,CAAC,KAAuB,EAAE,WAAyB;IAE/E,KAAK,CAAC,GAAG,CAAC,CAAC,IAAoB,EAAE,EAAE;QAEjC,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;QACnD;;WAEG;QACH,4FAA4F;QAC5F,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,MAAM,EAAE;YAAE,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAAE;QAC/D,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,EAAE;YAAE,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;SAAE,CAAC,uDAAuD;QAC9K,IAAI,CAAC,UAAU,EAAE;YAAE,UAAU,GAAG,EAAE,CAAC;SAAE;QAErC,IAAI,CAAC,UAAU,EAAE;YACf,IAAI,IAAI,CAAC,wBAAwB,EAAE;gBAAE,UA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AAU,EAAE,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,GAAG,UAAU,EAAE,CAAC;IAEpC,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC;AAEf,CAAC"}
|
|
@@ -55,7 +55,9 @@ export interface IAnySourceItem extends Partial<any> {
|
|
|
55
55
|
sourceSearchLC: string[];
|
|
56
56
|
searchSource: string;
|
|
57
57
|
searchSourceLC: string;
|
|
58
|
-
|
|
58
|
+
primarySearchType: ISearchType;
|
|
59
|
+
searchTypes: ISearchType[];
|
|
60
|
+
allIsAKeys: IItemIsAValues[];
|
|
59
61
|
type: string;
|
|
60
62
|
searchTypeIdx: number;
|
|
61
63
|
typeIdx: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAnyContent.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/SourceList/IAnyContent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,aAAa,GAAG,eAAe,GAC9E,aAAa,GAAG,iBAAiB,GAAG,iBAAiB,GACrD,cAAc,GAAG,cAAc,GAAG,iBAAiB,GAAG,mBAAmB,GACzE,mBAAmB,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,oBAAoB,GAAG,yBAAyB,CAAE;AAGtH;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAG,cAAgC,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAG,cAA8B,CAAC;AAC1D,eAAO,MAAM,aAAa,EAAG,cAAgC,CAAC;AAE9D,eAAO,MAAM,WAAW,EAAG,cAA8B,CAAC;AAC1D,eAAO,MAAM,eAAe,EAAG,cAAkC,CAAC;AAClE,eAAO,MAAM,eAAe,EAAG,cAAkC,CAAC;AAElE,eAAO,MAAM,YAAY,EAAG,cAA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, ignoreC
|
|
|
49
49
|
return finalVals;
|
|
50
50
|
}
|
|
51
51
|
export function mergeWordArrays(mergeThese, intoThese, ignoreCase, order, localLanguage = 'en') {
|
|
52
|
-
let finalWords = intoThese;
|
|
53
|
-
const finalCompareWords = ignoreCase === true ? finalWords.map(item => { return item.toLocaleLowerCase(); }) : finalWords;
|
|
54
|
-
const mergeTheseCompare = ignoreCase === true ? mergeThese.map(item => { return item.toLocaleLowerCase(); }) : mergeThese;
|
|
52
|
+
let finalWords = [...intoThese];
|
|
53
|
+
const finalCompareWords = ignoreCase === true ? finalWords.map(item => { return item.toLocaleLowerCase(); }) : [...finalWords];
|
|
54
|
+
const mergeTheseCompare = ignoreCase === true ? mergeThese.map(item => { return item.toLocaleLowerCase(); }) : [...mergeThese];
|
|
55
55
|
// Now compare the filteredNewWords with the finalWords and only add ones that are not a duplicate.
|
|
56
56
|
mergeTheseCompare.map((compareWord, index) => {
|
|
57
57
|
if (finalCompareWords.indexOf(compareWord) === -1) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWordsFromString.js","sourceRoot":"","sources":["../../../src/logic/Strings/getWordsFromString.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAG7E;;;;;;;GAOG;AAEH,MAAM,UAAU,2BAA2B,CAAE,GAAW,EAAE,SAAmB,EAAE,YAAqB,EAAE,UAAmB,EAAE,UAAmB,EAAE,KAAkB,EAAE,gBAAwB,IAAI;IAE9L,IAAK,CAAC,GAAG;QAAG,OAAO,EAAE,CAAC;IACtB,MAAM,UAAU,GAAa,yBAAyB,CAAE,GAAG,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,CAAE,CAAC;IAC1H,MAAM,OAAO,GAAa,eAAe,CAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,CAAE,CAAC;IACrG,OAAO,OAAO,CAAC;AAEjB,C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