@mikezimm/fps-library-v2 1.1.18 → 1.1.20
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 +29 -5
- package/lib/components/atoms/Highlights/createContentItemCount.d.ts +5 -0
- package/lib/components/atoms/Highlights/createContentItemCount.d.ts.map +1 -0
- package/lib/components/atoms/Highlights/createContentItemCount.js +15 -0
- package/lib/components/atoms/Highlights/createContentItemCount.js.map +1 -0
- package/lib/components/atoms/Highlights/createContentPubDate.d.ts +4 -0
- package/lib/components/atoms/Highlights/createContentPubDate.d.ts.map +1 -0
- package/lib/components/atoms/Highlights/createContentPubDate.js +11 -0
- package/lib/components/atoms/Highlights/createContentPubDate.js.map +1 -0
- package/lib/components/atoms/Highlights/createContentViewsRecent.d.ts +4 -0
- package/lib/components/atoms/Highlights/createContentViewsRecent.d.ts.map +1 -0
- package/lib/components/atoms/Highlights/createContentViewsRecent.js +10 -0
- package/lib/components/atoms/Highlights/createContentViewsRecent.js.map +1 -0
- package/lib/components/atoms/Highlights/createItemHighlights.d.ts +4 -0
- package/lib/components/atoms/Highlights/createItemHighlights.d.ts.map +1 -0
- package/lib/components/atoms/Highlights/createItemHighlights.js +19 -0
- package/lib/components/atoms/Highlights/createItemHighlights.js.map +1 -0
- package/lib/components/molecules/AnyContent/IAnyContent.d.ts +2 -0
- package/lib/components/molecules/AnyContent/IAnyContent.d.ts.map +1 -1
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.d.ts +4 -2
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.d.ts.map +1 -1
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.js +2 -1
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.js.map +1 -1
- package/lib/components/molecules/FPSTiles/components/FPSTile/FpsTileElement.d.ts +16 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/FpsTileElement.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/FpsTileElement.js +48 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/FpsTileElement.js.map +1 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/IFPSTileElementProps.d.ts +18 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/IFPSTileElementProps.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/IFPSTileElementProps.js +2 -0
- package/lib/components/molecules/FPSTiles/components/FPSTile/IFPSTileElementProps.js.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/buildFPSSubHubTileItems.d.ts +14 -0
- package/lib/components/molecules/FPSTiles/functions/buildFPSSubHubTileItems.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/buildFPSSubHubTileItems.js +58 -0
- package/lib/components/molecules/FPSTiles/functions/buildFPSSubHubTileItems.js.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/createErrorFPSTileItem.d.ts +15 -0
- package/lib/components/molecules/FPSTiles/functions/createErrorFPSTileItem.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/createErrorFPSTileItem.js +199 -0
- package/lib/components/molecules/FPSTiles/functions/createErrorFPSTileItem.js.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/getFPSHubTiles.d.ts +16 -0
- package/lib/components/molecules/FPSTiles/functions/getFPSHubTiles.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/getFPSHubTiles.js +26 -0
- package/lib/components/molecules/FPSTiles/functions/getFPSHubTiles.js.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/mergeDeep.d.ts +12 -0
- package/lib/components/molecules/FPSTiles/functions/mergeDeep.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/mergeDeep.js +62 -0
- package/lib/components/molecules/FPSTiles/functions/mergeDeep.js.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/onFPSClick.d.ts +4 -0
- package/lib/components/molecules/FPSTiles/functions/onFPSClick.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/onFPSClick.js +27 -0
- package/lib/components/molecules/FPSTiles/functions/onFPSClick.js.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/packageFPSTileProps.d.ts +20 -0
- package/lib/components/molecules/FPSTiles/functions/packageFPSTileProps.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/functions/packageFPSTileProps.js +49 -0
- package/lib/components/molecules/FPSTiles/functions/packageFPSTileProps.js.map +1 -0
- package/lib/components/molecules/FPSTiles/webPart/FPSTileWPGroup.d.ts +8 -0
- package/lib/components/molecules/FPSTiles/webPart/FPSTileWPGroup.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/webPart/FPSTileWPGroup.js +66 -0
- package/lib/components/molecules/FPSTiles/webPart/FPSTileWPGroup.js.map +1 -0
- package/lib/components/molecules/FPSTiles/webPart/IFpsTileComponentWPProps.d.ts +11 -0
- package/lib/components/molecules/FPSTiles/webPart/IFpsTileComponentWPProps.d.ts.map +1 -0
- package/lib/components/molecules/FPSTiles/webPart/IFpsTileComponentWPProps.js +2 -0
- package/lib/components/molecules/FPSTiles/webPart/IFpsTileComponentWPProps.js.map +1 -0
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.d.ts +2 -1
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.js +1 -0
- package/lib/components/molecules/SearchPage/Interfaces/IContentGroup.js.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.js +12 -11
- package/lib/components/molecules/SearchPage/Interfaces/ProgrammingFileKeys.js.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/StandardTypes.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/StandardTypes.js +40 -36
- package/lib/components/molecules/SearchPage/Interfaces/StandardTypes.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts +0 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.js +2 -34
- package/lib/components/molecules/SearchPage/functions/addItemIsA.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addListIsAMeta.d.ts +3 -0
- package/lib/components/molecules/SearchPage/functions/addListIsAMeta.d.ts.map +1 -0
- package/lib/components/molecules/SearchPage/functions/addListIsAMeta.js +27 -0
- package/lib/components/molecules/SearchPage/functions/addListIsAMeta.js.map +1 -0
- package/lib/components/molecules/SearchPage/functions/addSearchAll.d.ts +6 -0
- package/lib/components/molecules/SearchPage/functions/addSearchAll.d.ts.map +1 -0
- package/lib/components/molecules/SearchPage/functions/addSearchAll.js +14 -0
- package/lib/components/molecules/SearchPage/functions/addSearchAll.js.map +1 -0
- package/lib/components/molecules/SearchPage/functions/addSearchFile.d.ts +1 -0
- package/lib/components/molecules/SearchPage/functions/addSearchFile.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchFile.js +6 -0
- package/lib/components/molecules/SearchPage/functions/addSearchFile.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.d.ts +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js +30 -6
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta2.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta2.js +2 -0
- package/lib/components/molecules/SearchPage/functions/addSearchMeta2.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/markPopular.js.map +1 -1
- package/lib/components/molecules/SpHttp/HubsSubs/{fetchMyHubsSubs.d.ts → fetches/fetchMyHubsSubs.d.ts} +1 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetches/fetchMyHubsSubs.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/fetches/fetchMyHubsSubs.js.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/{fetchMyHubsites.d.ts → fetches/fetchMyHubsites.d.ts} +1 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetches/fetchMyHubsites.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/{fetchMyHubsites.js → fetches/fetchMyHubsites.js} +5 -5
- package/lib/components/molecules/SpHttp/HubsSubs/fetches/fetchMyHubsites.js.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/{fetchMySubsites.d.ts → fetches/fetchMySubsites.d.ts} +1 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetches/fetchMySubsites.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/{fetchMySubsites.js → fetches/fetchMySubsites.js} +5 -5
- package/lib/components/molecules/SpHttp/HubsSubs/fetches/fetchMySubsites.js.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/{cleanSearchedWebs.d.ts → functions/cleanSearchedWebs.d.ts} +1 -1
- package/lib/components/molecules/SpHttp/HubsSubs/functions/cleanSearchedWebs.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/{cleanSearchedWebs.js → functions/cleanSearchedWebs.js} +1 -1
- package/lib/components/molecules/SpHttp/HubsSubs/functions/cleanSearchedWebs.js.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/functions/processHubSubResults.d.ts +5 -0
- package/lib/components/molecules/SpHttp/HubsSubs/functions/processHubSubResults.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/functions/processHubSubResults.js +22 -0
- package/lib/components/molecules/SpHttp/HubsSubs/functions/processHubSubResults.js.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/getHubAssocSites.d.ts +17 -0
- package/lib/components/molecules/SpHttp/HubsSubs/getHubAssocSites.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/HubsSubs/getHubAssocSites.js +21 -0
- package/lib/components/molecules/SpHttp/HubsSubs/getHubAssocSites.js.map +1 -0
- package/package.json +2 -2
- package/lib/components/molecules/SpHttp/HubsSubs/cleanSearchedWebs.d.ts.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/cleanSearchedWebs.js.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetchMyHubsSubs.d.ts.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetchMyHubsSubs.js.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetchMyHubsites.d.ts.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetchMyHubsites.js.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetchMySubsites.d.ts.map +0 -1
- package/lib/components/molecules/SpHttp/HubsSubs/fetchMySubsites.js.map +0 -1
- /package/lib/components/molecules/SpHttp/HubsSubs/{fetchMyHubsSubs.js → fetches/fetchMyHubsSubs.js} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ContentGroupCode, ContentGroupData } from "./IContentGroup";
|
|
2
2
|
import { StdSharePointKeys, MediaFileKeys, StdFileKeys, StdSharePointSearchTypes, MediaFileSearchTypes, StdFileSearchTypes, } from "./StandardTypes";
|
|
3
|
+
import { ItemIsAFile, ItemIsCodeContent, ItemIsDataContent } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
3
4
|
// Keys must be in same order as in StdSharePointSearchTypes
|
|
4
5
|
export const XProgrammingFileKeys = [
|
|
5
6
|
"ts", "md", "py", "vba"
|
|
6
7
|
];
|
|
7
8
|
export const XProgrammingFileSearchTypes = [
|
|
8
|
-
{ key: "ts", title: "ts", icon: "TypeScriptLanguage", style: "", count: 0, color: "blue", similarKey: 'ts', contentGroup: ContentGroupCode, isAKeys: [
|
|
9
|
-
{ key: "md", title: "md", icon: "MarkDownLanguage", style: "", count: 0, color: "blue", similarKey: 'md', contentGroup: ContentGroupCode, isAKeys: [
|
|
10
|
-
{ key: "py", title: "py", icon: "PythonLanguage", style: "", count: 0, color: "blue", similarKey: 'py', contentGroup: ContentGroupCode, isAKeys: [
|
|
11
|
-
{ key: "vba", title: "vba", icon: "VisualBasicLanguage", style: "", count: 0, color: "blue", similarKey: 'vba', contentGroup: ContentGroupCode, isAKeys: [
|
|
9
|
+
{ key: "ts", title: "ts", icon: "TypeScriptLanguage", style: "", count: 0, color: "blue", similarKey: 'ts', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
10
|
+
{ key: "md", title: "md", icon: "MarkDownLanguage", style: "", count: 0, color: "blue", similarKey: 'md', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
11
|
+
{ key: "py", title: "py", icon: "PythonLanguage", style: "", count: 0, color: "blue", similarKey: 'py', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
12
|
+
{ key: "vba", title: "vba", icon: "VisualBasicLanguage", style: "", count: 0, color: "blue", similarKey: 'vba', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
12
13
|
];
|
|
13
14
|
export const ProgrammingFileKeys = [
|
|
14
15
|
"js", "html", "css",
|
|
@@ -16,13 +17,13 @@ export const ProgrammingFileKeys = [
|
|
|
16
17
|
];
|
|
17
18
|
export const ALLProgrammingFileKeys = [...ProgrammingFileKeys, ...XProgrammingFileKeys,];
|
|
18
19
|
export const ProgrammingFileSearchTypes = [
|
|
19
|
-
{ key: "js", title: "js", icon: "JS", style: "", count: 0, color: "blue", similarKey: 'js', contentGroup: ContentGroupCode, isAKeys: [
|
|
20
|
-
{ key: "html", title: "html", icon: "FileHTML", style: "", count: 0, color: "blue", similarKey: 'html', contentGroup: ContentGroupCode, isAKeys: [
|
|
21
|
-
{ key: "css", title: "css", icon: "CSS", style: "", count: 0, color: "blue", similarKey: 'css', contentGroup: ContentGroupCode, isAKeys: [
|
|
22
|
-
{ key: "json", title: "json", icon: "Code", style: "", count: 0, color: "blue", similarKey: 'json', contentGroup: ContentGroupData, isAKeys: [
|
|
23
|
-
{ key: "xml", title: "xml", icon: "CalculatorMultiply", style: "", count: 0, color: "blue", similarKey: 'xml', contentGroup: ContentGroupCode, isAKeys: [
|
|
24
|
-
{ key: "exe", title: "exe", icon: "CSharpLanguage", style: "", count: 0, color: "blue", similarKey: 'exe', contentGroup: ContentGroupCode, isAKeys: [
|
|
25
|
-
{ key: "ps1", title: "ps1", icon: "PowerShell2", style: "", count: 0, color: "blue", similarKey: 'ps1', contentGroup: ContentGroupCode, isAKeys: [
|
|
20
|
+
{ key: "js", title: "js", icon: "JS", style: "", count: 0, color: "blue", similarKey: 'js', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
21
|
+
{ key: "html", title: "html", icon: "FileHTML", style: "", count: 0, color: "blue", similarKey: 'html', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
22
|
+
{ key: "css", title: "css", icon: "CSS", style: "", count: 0, color: "blue", similarKey: 'css', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
23
|
+
{ key: "json", title: "json", icon: "Code", style: "", count: 0, color: "blue", similarKey: 'json', contentGroup: ContentGroupData, isAKeys: [ItemIsAFile, ItemIsCodeContent, ItemIsDataContent] },
|
|
24
|
+
{ key: "xml", title: "xml", icon: "CalculatorMultiply", style: "", count: 0, color: "blue", similarKey: 'xml', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
25
|
+
{ key: "exe", title: "exe", icon: "CSharpLanguage", style: "", count: 0, color: "blue", similarKey: 'exe', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
26
|
+
{ key: "ps1", title: "ps1", icon: "PowerShell2", style: "", count: 0, color: "blue", similarKey: 'ps1', contentGroup: ContentGroupCode, isAKeys: [ItemIsAFile, ItemIsCodeContent] },
|
|
26
27
|
];
|
|
27
28
|
/**
|
|
28
29
|
* 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,GAAG,MAAM,iBAAiB,CAAC;
|
|
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,GAAG,MAAM,iBAAiB,CAAC;AACrJ,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErG,4DAA4D;AAE5D,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,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,EAAE;IACvL,EAAE,GA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,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,EAAE;IACtL,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,WAAW,EAAE,iBAAiB,CAAC,EAAE;CACpL,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/StandardTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/StandardTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK3D,eAAO,MAAM,WAAW,EAAE,MAAM,EAc/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oGAAoG,CAAC;AAElI;;;GAGG;AAEH,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAiC3C,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,MAAM,EAKjC,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,oBAAoB,EAAE,WAAW,EAe7C,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,MAAM,EAIrC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,WAAW,EASjD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,YAWzB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ContentGroupData, ContentGroupOffice, ContentGroupSP, ContentGroupMedia, ContentGroupFolder } from "./IContentGroup";
|
|
1
|
+
import { ContentGroupData, ContentGroupOffice, ContentGroupSP, ContentGroupMedia, ContentGroupFolder, ContentGroupArchive } from "./IContentGroup";
|
|
2
|
+
import { ItemIsAFile, ItemIsArchiveContent, ItemIsDataContent, ItemIsFolderContent, ItemIsMediaContent, ItemIsOfficeContent, ItemIsSharePointContent } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
2
3
|
// Keys must be in same order as in StdFileSearchTypes
|
|
3
4
|
export const StdFileKeys = [
|
|
4
5
|
"pdf",
|
|
@@ -8,7 +9,7 @@ export const StdFileKeys = [
|
|
|
8
9
|
"rtf", "txt", "csv",
|
|
9
10
|
"msg",
|
|
10
11
|
"one", "onepkg",
|
|
11
|
-
"7z", "
|
|
12
|
+
"zip", "7z", "tar", "rar", "lzh",
|
|
12
13
|
"folder",
|
|
13
14
|
];
|
|
14
15
|
export const OldOfficeWarning = `This file is using an outdated Office format which can be inefficient and use a lot more space.`;
|
|
@@ -17,26 +18,29 @@ export const OldOfficeWarning = `This file is using an outdated Office format wh
|
|
|
17
18
|
* However, I'm not sure if the title should be the same for all the variants of certain types of files.
|
|
18
19
|
*/
|
|
19
20
|
export const StdFileSearchTypes = [
|
|
20
|
-
{ key: "pdf", title: "pdf", icon: "PDF", style: "", count: 0, color: 'red', similarKey: 'pdf', contentGroup: ContentGroupOffice, isAKeys: [
|
|
21
|
-
{ key: "ppt", title: "ppt", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', warning: OldOfficeWarning, isAKeys: [
|
|
22
|
-
{ key: "pptx", title: "pptx", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, isAKeys: [
|
|
23
|
-
{ key: "pptm", title: "pptm", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, isAKeys: [
|
|
24
|
-
{ key: "xls", title: "xls", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [
|
|
25
|
-
{ key: "xlsm", title: "xlsm", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [
|
|
26
|
-
{ key: "xlsx", title: "xlsx", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [
|
|
27
|
-
{ key: "xlsb", title: "xlsb", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [
|
|
28
|
-
{ key: "doc", title: "doc", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: [
|
|
29
|
-
{ key: "docx", title: "docx", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: [
|
|
30
|
-
{ key: "docm", title: "docm", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: [
|
|
31
|
-
{ key: "rtf", title: "rtf", icon: "AlignLeft", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: [
|
|
32
|
-
{ key: "txt", title: "txt", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: [
|
|
33
|
-
{ key: "csv", title: "csv", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: [
|
|
34
|
-
{ key: "msg", title: "msg", icon: "OutlookLogo", style: "", count: 0, color: 'blue', similarKey: 'mail', contentGroup: ContentGroupOffice, isAKeys: [
|
|
35
|
-
{ key: "one", title: "one", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, isAKeys: [
|
|
36
|
-
{ key: "onepkg", title: "onenote", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, isAKeys: [
|
|
37
|
-
{ key: "
|
|
38
|
-
{ key: "
|
|
39
|
-
{ key: "
|
|
21
|
+
{ key: "pdf", title: "pdf", icon: "PDF", style: "", count: 0, color: 'red', similarKey: 'pdf', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent] },
|
|
22
|
+
{ key: "ppt", title: "ppt", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', warning: OldOfficeWarning, isAKeys: [ItemIsAFile, ItemIsOfficeContent], contentGroup: ContentGroupOffice },
|
|
23
|
+
{ key: "pptx", title: "pptx", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -1 },
|
|
24
|
+
{ key: "pptm", title: "pptm", icon: "PowerPointDocument", style: "", count: 0, color: 'firebrick', similarKey: 'ppt', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -2 },
|
|
25
|
+
{ key: "xls", title: "xls", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], warning: OldOfficeWarning },
|
|
26
|
+
{ key: "xlsm", title: "xlsm", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -1 },
|
|
27
|
+
{ key: "xlsx", title: "xlsx", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -2 },
|
|
28
|
+
{ key: "xlsb", title: "xlsb", icon: "ExcelDocument", style: "", count: 0, color: 'darkgreen', similarKey: 'xls', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -3 },
|
|
29
|
+
{ key: "doc", title: "doc", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], warning: OldOfficeWarning },
|
|
30
|
+
{ key: "docx", title: "docx", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -1 },
|
|
31
|
+
{ key: "docm", title: "docm", icon: "WordDocument", style: "", count: 0, color: 'darkblue', similarKey: 'doc', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -2 },
|
|
32
|
+
{ key: "rtf", title: "rtf", icon: "AlignLeft", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: [ItemIsAFile, ItemIsDataContent] },
|
|
33
|
+
{ key: "txt", title: "txt", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: [ItemIsAFile, ItemIsDataContent], adjust: -1 },
|
|
34
|
+
{ key: "csv", title: "csv", icon: "TextDocument", style: "", count: 0, color: 'black', similarKey: 'txt', contentGroup: ContentGroupData, isAKeys: [ItemIsAFile, ItemIsDataContent], adjust: -2 },
|
|
35
|
+
{ key: "msg", title: "msg", icon: "OutlookLogo", style: "", count: 0, color: 'blue', similarKey: 'mail', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent] },
|
|
36
|
+
{ key: "one", title: "one", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent] },
|
|
37
|
+
{ key: "onepkg", title: "onenote", icon: "OneNoteLogo", style: "", count: 0, color: 'purple', similarKey: 'onenote', contentGroup: ContentGroupOffice, isAKeys: [ItemIsAFile, ItemIsOfficeContent], adjust: -1 },
|
|
38
|
+
{ key: "zip", title: "zip", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupArchive, isAKeys: [ItemIsAFile, ItemIsArchiveContent] },
|
|
39
|
+
{ key: "7z", title: "7-zip", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupArchive, isAKeys: [ItemIsAFile, ItemIsArchiveContent], adjust: -1 },
|
|
40
|
+
{ key: "tar", title: "tar", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupArchive, isAKeys: [ItemIsAFile, ItemIsArchiveContent], adjust: -2 },
|
|
41
|
+
{ key: "rar", title: "rar", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupArchive, isAKeys: [ItemIsAFile, ItemIsArchiveContent], adjust: -3 },
|
|
42
|
+
{ key: "lzh", title: "lzh", icon: "ZipFolder", style: "", count: 0, color: 'blue', similarKey: 'zip', contentGroup: ContentGroupArchive, isAKeys: [ItemIsAFile, ItemIsArchiveContent], adjust: -4 },
|
|
43
|
+
{ key: "folder", title: "folder", icon: "FabricOpenFolderHorizontal", style: "", count: 0, color: '', similarKey: 'folder', isAKeys: [ItemIsAFile, ItemIsFolderContent, ItemIsSharePointContent], contentGroup: ContentGroupFolder },
|
|
40
44
|
];
|
|
41
45
|
// Keys must be in same order as in StdFileSearchTypes
|
|
42
46
|
export const MediaFileKeys = [
|
|
@@ -49,16 +53,16 @@ export const MediaFileKeys = [
|
|
|
49
53
|
* However, I'm not sure if the title should be the same for all the variants of certain types of files.
|
|
50
54
|
*/
|
|
51
55
|
export const MediaFileSearchTypes = [
|
|
52
|
-
{ key: "avi", title: "avi", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [
|
|
53
|
-
{ key: "mp4", title: "mp4", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [
|
|
54
|
-
{ key: "wmf", title: "wmf", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [
|
|
55
|
-
{ key: "mov", title: "mov", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [
|
|
56
|
-
{ key: "wmv", title: "wmv", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [
|
|
57
|
-
{ key: "png", title: "png", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [
|
|
58
|
-
{ key: "gif", title: "gif", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [
|
|
59
|
-
{ key: "jpg", title: "jpg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [
|
|
60
|
-
{ key: "jpeg", title: "jpeg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [
|
|
61
|
-
{ key: "dwg", title: "dwg", icon: "PenWorkspace", style: "", count: 0, color: 'black', similarKey: 'dwg', isAKeys: [
|
|
56
|
+
{ key: "avi", title: "avi", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent] },
|
|
57
|
+
{ key: "mp4", title: "mp4", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -1 },
|
|
58
|
+
{ key: "wmf", title: "wmf", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -2 },
|
|
59
|
+
{ key: "mov", title: "mov", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -3 },
|
|
60
|
+
{ key: "wmv", title: "wmv", icon: "MSNVideosSolid", style: "", count: 0, color: 'blue', similarKey: 'video', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -4 },
|
|
61
|
+
{ key: "png", title: "png", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent] },
|
|
62
|
+
{ key: "gif", title: "gif", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -1 },
|
|
63
|
+
{ key: "jpg", title: "jpg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -2 },
|
|
64
|
+
{ key: "jpeg", title: "jpeg", icon: "Photo2", style: "", count: 0, color: 'blue', similarKey: 'image', contentGroup: ContentGroupMedia, isAKeys: [ItemIsAFile, ItemIsMediaContent], adjust: -3 },
|
|
65
|
+
{ key: "dwg", title: "dwg", icon: "PenWorkspace", style: "", count: 0, color: 'black', similarKey: 'dwg', isAKeys: [ItemIsAFile, ItemIsMediaContent] },
|
|
62
66
|
];
|
|
63
67
|
// Keys must be in same order as in StdSharePointSearchTypes
|
|
64
68
|
export const StdSharePointKeys = [
|
|
@@ -67,10 +71,10 @@ export const StdSharePointKeys = [
|
|
|
67
71
|
"spitem"
|
|
68
72
|
];
|
|
69
73
|
export const StdSharePointSearchTypes = [
|
|
70
|
-
{ key: "docset", title: "docset", icon: "DocumentSet", style: "", count: 0, color: '', similarKey: 'docset', contentGroup: ContentGroupFolder, isAKeys: [
|
|
71
|
-
{ key: "page", title: "page", icon: "KnowledgeArticle", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP, isAKeys: [
|
|
72
|
-
{ key: "news", title: "news", icon: "News", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP, isAKeys: [
|
|
73
|
-
{ key: "spitem", title: "spitem", icon: "BulletedList2", style: "", count: 0, color: "blue", similarKey: 'spitem', contentGroup: ContentGroupSP, isAKeys: [
|
|
74
|
+
{ key: "docset", title: "docset", icon: "DocumentSet", style: "", count: 0, color: '', similarKey: 'docset', contentGroup: ContentGroupFolder, isAKeys: [ItemIsAFile, ItemIsSharePointContent, ItemIsFolderContent,] },
|
|
75
|
+
{ key: "page", title: "page", icon: "KnowledgeArticle", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP, isAKeys: [ItemIsAFile, ItemIsSharePointContent] },
|
|
76
|
+
{ key: "news", title: "news", icon: "News", style: "", count: 0, color: "blue", similarKey: 'page', contentGroup: ContentGroupSP, isAKeys: [ItemIsAFile, ItemIsSharePointContent] },
|
|
77
|
+
{ key: "spitem", title: "spitem", icon: "BulletedList2", style: "", count: 0, color: "blue", similarKey: 'spitem', contentGroup: ContentGroupSP, isAKeys: [ItemIsAFile, ItemIsSharePointContent] },
|
|
74
78
|
];
|
|
75
79
|
/**
|
|
76
80
|
* 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,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;
|
|
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,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAClK,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE/L,sDAAsD;AACtD,MAAM,CAAC,MAAM,WAAW,GAAc;IACpC,KAAK;IACL,KAAK,EAAE,MAAM,EAAE,MAAM;IACrB,KAAK,EAAE,MAAM,EAAG,MAAM,EAAG,MAAM;IAC/B,KAAK,EAAE,MAAM,EAAE,MAAM;IACrB,KAAK,EAAE,KAAK,EAAE,KAAK;IAEnB,KAAK;IAEL,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK;IAEhC,QAAQ;CAET,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,iGAAiG,CAAC;AAElI;;;GAGG;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAkB;IAC/C,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,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AEvN,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,uBAAuB,CAAC,EAAG;IAChM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,uBAAuB,CAAC,EAAE;IAEnL,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,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,WAAW,EAAE,uBAAuB,CAAC,EAAE;CAEnM,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,5 +1,4 @@
|
|
|
1
1
|
import { IAnySourceItem } from "../../AnyContent/IAnyContent";
|
|
2
2
|
import { IItemIsAValues } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
3
3
|
export declare function addItemIsA(item: IAnySourceItem, ItemIsAThis: IItemIsAValues): IAnySourceItem;
|
|
4
|
-
export declare function addOtherIsAMeta(item: IAnySourceItem): IAnySourceItem;
|
|
5
4
|
//# sourceMappingURL=addItemIsA.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addItemIsA.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"addItemIsA.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAEJ,MAAM,kCAAkC,CAAC;AAE5D,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,GAAG,cAAc,CAqB5F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ItemIsAKeys, ItemIsAValues } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
2
2
|
export function addItemIsA(item, ItemIsAThis) {
|
|
3
|
-
let { searchTextLC,
|
|
3
|
+
let { searchTextLC, } = item.FPSItem.Search;
|
|
4
4
|
const { meta } = item.FPSItem.Search;
|
|
5
5
|
const itemIsAIdx = ItemIsAValues.indexOf(ItemIsAThis);
|
|
6
6
|
if (itemIsAIdx < 0) {
|
|
@@ -13,42 +13,10 @@ export function addItemIsA(item, ItemIsAThis) {
|
|
|
13
13
|
meta.push(ItemIsAThis);
|
|
14
14
|
searchTextLC = `${ItemIsAThis.toLocaleLowerCase()} || ${searchTextLC}`;
|
|
15
15
|
item.FPSItem.IsA[`${itemIsAKey}`] = true;
|
|
16
|
-
// if ( !allIsAKeys ) allIsAKeys = []; - Added directly to FPSItem.IsA object
|
|
17
16
|
if (item.FPSItem.IsA.allIsAKeys.indexOf(ItemIsAThis) < 0)
|
|
18
17
|
item.FPSItem.IsA.allIsAKeys.push(ItemIsAThis);
|
|
19
18
|
}
|
|
20
19
|
return item;
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
|
-
export function addOtherIsAMeta(item) {
|
|
24
|
-
// // List-Library type of props
|
|
25
|
-
// 'RequiresCheckout' | 'VersionsDisabled' | 'MinorVersionsEnabled' | 'AttachmentsDisabled' |
|
|
26
|
-
// 'CheckedOut' | 'HasMinimalDownload' |
|
|
27
|
-
// 'ItemRequiresCheckout' , 'ItemHasNoVersioning' , 'ItemHasMinors' , 'ItemHasNoAttachments',
|
|
28
|
-
// 'ItemIsCheckedOut', 'ItemHasMinimalDownload',
|
|
29
|
-
if (item.HasUniqueRoleAssignments === true) {
|
|
30
|
-
item = addItemIsA(item, ItemHasUniquePerms);
|
|
31
|
-
}
|
|
32
|
-
// ItemRequiresCheckout / RequiresCheckout
|
|
33
|
-
if (item.ForceCheckout === true) {
|
|
34
|
-
item = addItemIsA(item, ItemRequiresCheckout);
|
|
35
|
-
}
|
|
36
|
-
// ItemHasNoVersioning / VersionsDisabled
|
|
37
|
-
if (item.BaseTemplate && item.EnableVersioning === false) { // Only found when item.BaseTemplate is found
|
|
38
|
-
item = addItemIsA(item, ItemHasNoVersioning);
|
|
39
|
-
}
|
|
40
|
-
// ItemHasMinors / MinorVersionsEnabled
|
|
41
|
-
if (item.BaseTemplate && item.EnableVersioning === false) { // Only found when item.BaseTemplate is found
|
|
42
|
-
item = addItemIsA(item, ItemHasMinors);
|
|
43
|
-
}
|
|
44
|
-
// ItemHasNoAttachments / AttachmentsDisabled
|
|
45
|
-
if (item.BaseTemplate === 100 && item.EnableAttachments === false) { // Only found when item.BaseTemplate === 100
|
|
46
|
-
item = addItemIsA(item, ItemHasNoAttachments);
|
|
47
|
-
}
|
|
48
|
-
// ItemHasMinimalDownload / HasMinimalDownload
|
|
49
|
-
if (item.EnableMinimalDownload === true) {
|
|
50
|
-
item = addItemIsA(item, ItemHasMinimalDownload);
|
|
51
|
-
}
|
|
52
|
-
return item;
|
|
53
|
-
}
|
|
54
22
|
//# sourceMappingURL=addItemIsA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addItemIsA.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"addItemIsA.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addItemIsA.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,WAAW,EACX,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAE5D,MAAM,UAAU,UAAU,CAAC,IAAoB,EAAE,WAA2B;IAC1E,IAAI,EAAE,YAAY,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IACrC,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;QAE3C,IAAK,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,EAAG;YACnC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACvB,YAAY,GAAG,GAAG,WAAW,CAAC,iBAAiB,EAAE,OAAO,YAAY,EAAE,CAAC;YACvE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,UAAU,EAAE,CAAC,GAAG,IAAI,CAAC;YACzC,IAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAE,WAAW,CAAE,GAAG,CAAC;gBAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAE,WAAW,CAAE,CAAC;SAC/G;QAED,OAAO,IAAI,CAAC;KACb;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addListIsAMeta.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addListIsAMeta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ9D,wBAAgB,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CA6BnE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ItemHasMinimalDownload, ItemHasMinors, ItemHasNoAttachments, ItemHasNoVersioning, ItemRequiresCheckout } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
2
|
+
import { addItemIsA } from "./addItemIsA";
|
|
3
|
+
// addOtherIsAMeta
|
|
4
|
+
export function addListIsAMeta(item) {
|
|
5
|
+
// ItemRequiresCheckout / RequiresCheckout
|
|
6
|
+
if (item.ForceCheckout === true) {
|
|
7
|
+
item = addItemIsA(item, ItemRequiresCheckout);
|
|
8
|
+
}
|
|
9
|
+
// ItemHasNoVersioning / VersionsDisabled
|
|
10
|
+
if (item.BaseTemplate && item.EnableVersioning === false) { // Only found when item.BaseTemplate is found
|
|
11
|
+
item = addItemIsA(item, ItemHasNoVersioning);
|
|
12
|
+
}
|
|
13
|
+
// ItemHasMinors / MinorVersionsEnabled
|
|
14
|
+
if (item.BaseTemplate && item.EnableVersioning === false) { // Only found when item.BaseTemplate is found
|
|
15
|
+
item = addItemIsA(item, ItemHasMinors);
|
|
16
|
+
}
|
|
17
|
+
// ItemHasNoAttachments / AttachmentsDisabled
|
|
18
|
+
if (item.BaseTemplate === 100 && item.EnableAttachments === false) { // Only found when item.BaseTemplate === 100
|
|
19
|
+
item = addItemIsA(item, ItemHasNoAttachments);
|
|
20
|
+
}
|
|
21
|
+
// ItemHasMinimalDownload / HasMinimalDownload
|
|
22
|
+
if (item.EnableMinimalDownload === true) {
|
|
23
|
+
item = addItemIsA(item, ItemHasMinimalDownload);
|
|
24
|
+
}
|
|
25
|
+
return item;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=addListIsAMeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addListIsAMeta.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addListIsAMeta.ts"],"names":[],"mappings":"AACA,OAAO,EACL,sBAAsB,EAAE,aAAa,EAAE,oBAAoB,EAC3D,mBAAmB,EAAE,oBAAoB,EAC1C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,kBAAkB;AAClB,MAAM,UAAU,cAAc,CAAC,IAAoB;IAEjD,0CAA0C;IAC1C,IAAI,IAAI,CAAC,aAAa,KAAK,IAAI,EAAE;QAC/B,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;KAC/C;IAED,0CAA0C;IAC1C,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,gBAAgB,KAAK,KAAK,EAAE,EAAE,6CAA6C;QACvG,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC;KAC9C;IAED,uCAAuC;IACvC,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,gBAAgB,KAAK,KAAK,EAAE,EAAE,6CAA6C;QACvG,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;KACxC;IAED,6CAA6C;IAC7C,IAAI,IAAI,CAAC,YAAY,KAAK,GAAG,IAAI,IAAI,CAAC,iBAAiB,KAAK,KAAK,EAAE,EAAE,4CAA4C;QAC/G,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;KAC/C;IAED,8CAA8C;IAC9C,IAAI,IAAI,CAAC,qBAAqB,KAAK,IAAI,EAAE;QACvC,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC;KACjD;IAED,OAAO,IAAI,CAAC;AAEd,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ISourceProps } from "../../../../pnpjs/SourceItems/Interface";
|
|
2
|
+
import { IAnySourceItem } from "../../AnyContent/IAnyContent";
|
|
3
|
+
import { ISearchTypes } from "../Interfaces/ISearchTypes";
|
|
4
|
+
import { ISourceSearch } from "../Interfaces/ISourceSearch";
|
|
5
|
+
export declare function addSearchMetaAll(items: IAnySourceItem[], sourceProps: ISourceProps, search: ISourceSearch, SearchTypes: ISearchTypes, popPercent: number): IAnySourceItem[];
|
|
6
|
+
//# sourceMappingURL=addSearchAll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addSearchAll.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchAll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAM5D,wBAAgB,gBAAgB,CAAE,KAAK,EAAE,cAAc,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,GAAI,cAAc,EAAE,CAQ7K"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { addSearchFileDataItems } from "./addSearchFile";
|
|
2
|
+
import { addSearchMeta1 } from "./addSearchMeta1";
|
|
3
|
+
import { addSearchMeta2 } from "./addSearchMeta2";
|
|
4
|
+
import { addPopularityToItems } from "./markPopular";
|
|
5
|
+
export function addSearchMetaAll(items, sourceProps, search, SearchTypes, popPercent) {
|
|
6
|
+
items = addSearchMeta1(items, sourceProps, search);
|
|
7
|
+
items = addSearchFileDataItems(items, sourceProps);
|
|
8
|
+
if (SearchTypes)
|
|
9
|
+
items = addSearchMeta2(items, SearchTypes);
|
|
10
|
+
if (popPercent)
|
|
11
|
+
items = addPopularityToItems(items, popPercent);
|
|
12
|
+
return items;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=addSearchAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addSearchAll.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchAll.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,UAAU,gBAAgB,CAAE,KAAuB,EAAE,WAAyB,EAAE,MAAqB,EAAE,WAAyB,EAAE,UAAkB;IAExJ,KAAK,GAAG,cAAc,CAAE,KAAK,EAAE,WAAW,EAAE,MAAM,CAAE,CAAC;IACrD,KAAK,GAAG,sBAAsB,CAAE,KAAK,EAAE,WAAW,CAAG,CAAC;IACtD,IAAK,WAAW;QAAG,KAAK,GAAG,cAAc,CAAE,KAAK,EAAE,WAAW,CAAE,CAAC;IAChE,IAAK,UAAU;QAAG,KAAK,GAAG,oBAAoB,CAAE,KAAK,EAAE,UAAU,CAAE,CAAC;IACpE,OAAO,KAAK,CAAC;AAEf,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ISourceProps } from "../../../../pnpjs/SourceItems/Interface";
|
|
2
2
|
import { IAnySourceItem } from "../../AnyContent/IAnyContent";
|
|
3
|
+
export declare function addSearchFileDataItems(items: IAnySourceItem[], sourceProps: ISourceProps): IAnySourceItem[];
|
|
3
4
|
export declare function addSearchFileData(item: IAnySourceItem, sourceProps: ISourceProps): IAnySourceItem;
|
|
4
5
|
//# sourceMappingURL=addSearchFile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSearchFile.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAgB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAM5E,wBAAgB,iBAAiB,CAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,GAAI,cAAc,CAkJnG"}
|
|
1
|
+
{"version":3,"file":"addSearchFile.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAgB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAM5E,wBAAgB,sBAAsB,CAAE,KAAK,EAAE,cAAc,EAAE,EAAE,WAAW,EAAE,YAAY,GAAI,cAAc,EAAE,CAK7G;AAED,wBAAgB,iBAAiB,CAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,GAAI,cAAc,CAkJnG"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { ItemIsADocSet, ItemIsADraft, ItemIsAFile, ItemIsAFileObject, ItemIsAMajor, ItemIsANewsLink, ItemIsANewsPost, ItemIsAPage, ItemIsCheckedOut, ItemIsCodeContent, ItemIsFolderContent, ItemIsPublished, ItemIsUnPublished } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
2
2
|
import { ALLProgrammingFileKeys } from "../Interfaces/ProgrammingFileKeys";
|
|
3
3
|
import { addItemIsA } from "./addItemIsA";
|
|
4
|
+
export function addSearchFileDataItems(items, sourceProps) {
|
|
5
|
+
items.map((item) => {
|
|
6
|
+
item = addSearchFileData(item, sourceProps);
|
|
7
|
+
});
|
|
8
|
+
return items;
|
|
9
|
+
}
|
|
4
10
|
export function addSearchFileData(item, sourceProps) {
|
|
5
11
|
if (item.File || item.FileSizeDisplay || item.FileLeafRef || item.FileRef || item.File_x0020_Type || item.FirstPublishedDate) {
|
|
6
12
|
// Item is a file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSearchFile.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchFile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1Q,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,UAAU,iBAAiB,CAAE,IAAoB,EAAE,WAAyB;IAEhF,IAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,kBAAkB,EAAG;QAC9H,iBAAiB;QACjB,IAAI,GAAG,UAAU,CAAE,IAAI,EAAE,iBAAiB,CAAE,CAAC;KAE9C;SAAM;QACL,OAAO,IAAI,CAAC;KAEb;IAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC,CAAC,+CAA+C;IAEvF,wDAAwD;IACxD,+CAA+C;IAC/C,IAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAG;QAC9C,IAAI,CAAC,wBAA+C,CAAC,GAAG,IAAI,CAAC,IAAI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
|
|
10
10
|
* @param item
|
|
11
11
|
* @returns
|
|
12
12
|
*/
|
|
13
|
-
export declare function
|
|
13
|
+
export declare function addDateTimeInfoSearch(item: IAnySourceItem): IAnySourceItem;
|
|
14
14
|
export declare function addSearchMeta1(items: IAnySourceItem[], sourceProps: ISourceProps, search: ISourceSearch): IAnySourceItem[];
|
|
15
15
|
/**
|
|
16
16
|
* addStandardSearchArrays:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSearchMeta1.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchMeta1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAoC,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAI,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"addSearchMeta1.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/addSearchMeta1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAoC,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAI,MAAM,6BAA6B,CAAC;AAU9D,wBAAgB,oBAAoB,CAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,GAAK,YAAY,CAazF;AAED,wBAAgB,oBAAoB,CAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,GAAK,cAAc,CAmC3F;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAG,IAAI,EAAE,cAAc,GAAI,cAAc,CAmD7E;AAED,wBAAgB,cAAc,CAAG,KAAK,EAAE,cAAc,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,GAAI,cAAc,EAAE,CA6W7H;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,GAAI,cAAc,CAehI;AAED;;;;;;;;;;GAUG;AAEH,wBAAgB,oBAAoB,CAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,GAAE,MAA2B,GAAI,cAAc,CA+BjK"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { DefaultOverflowTab } from "../../../../banner/components/EasyPages/interfaces/epTypes";
|
|
2
|
-
import {
|
|
2
|
+
import { ItemHasUniquePerms } from "../../AnyContent/IsA/IFPSItemIsA";
|
|
3
|
+
import { addItemIsA } from "./addItemIsA";
|
|
4
|
+
// import { addOtherIsAMeta } from "./addOtherIsAMeta";
|
|
3
5
|
import { EmptyFPSItemSearch } from "../../AnyContent/IFPSItemSearch";
|
|
4
|
-
import { addSearchFileData } from "./addSearchFile";
|
|
6
|
+
// import { addSearchFileData } from "./addSearchFile";
|
|
5
7
|
const Today = new Date();
|
|
6
8
|
const TodayMS = Today.getTime();
|
|
7
9
|
export function createMinFPSItemTime(item, field) {
|
|
@@ -70,7 +72,7 @@ export function createMinFPSItemUser(item, field) {
|
|
|
70
72
|
* @param item
|
|
71
73
|
* @returns
|
|
72
74
|
*/
|
|
73
|
-
export function
|
|
75
|
+
export function addDateTimeInfoSearch(item) {
|
|
74
76
|
if (!item.FPSItem)
|
|
75
77
|
item.FPSItem = {
|
|
76
78
|
IsA: { allIsAKeys: [] }
|
|
@@ -79,6 +81,18 @@ export function addDateTimeFileInfoSearch(item) {
|
|
|
79
81
|
item.FPSItem.Search = EmptyFPSItemSearch;
|
|
80
82
|
const Stamp = {};
|
|
81
83
|
//https://stackoverflow.com/a/15191245
|
|
84
|
+
/**
|
|
85
|
+
* If item is based on search results (like subs, lists, libraries, hubs ) it will have LastItemUserModifiedDate
|
|
86
|
+
* Then use the LastItemUserModifiedDate and do not try to add a person's name
|
|
87
|
+
*/
|
|
88
|
+
if (!item.Modified) {
|
|
89
|
+
if (item.LastItemModifiedDate) {
|
|
90
|
+
item.Modified = item.LastItemModifiedDate;
|
|
91
|
+
}
|
|
92
|
+
else if (item.LastItemUserModifiedDate) {
|
|
93
|
+
item.Modified = item.LastItemUserModifiedDate;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
82
96
|
if (item.Created) {
|
|
83
97
|
Stamp.created = createMinFPSItemTime(item, 'Created');
|
|
84
98
|
item.createdAge = Stamp.created.age; // Added for AgeSlider search using getFilteredV1
|
|
@@ -97,6 +111,14 @@ export function addDateTimeFileInfoSearch(item) {
|
|
|
97
111
|
// });
|
|
98
112
|
Stamp.author = createMinFPSItemUser(item, 'Author');
|
|
99
113
|
Stamp.editor = createMinFPSItemUser(item, 'Editor');
|
|
114
|
+
/**
|
|
115
|
+
* If item is based on search results (like subs, lists, libraries, hubs ) it will have LastItemUserModifiedDate
|
|
116
|
+
* Then use the LastItemUserModifiedDate and do not try to add a person's name
|
|
117
|
+
*/
|
|
118
|
+
if (Stamp.author && Stamp.created)
|
|
119
|
+
Stamp.createdNote = `${Stamp.author.Title} - ${item.Created.substring(0, 10)}`;
|
|
120
|
+
if (Stamp.editor && Stamp.modified)
|
|
121
|
+
Stamp.modifiedNote = `${Stamp.editor.Title} - ${item.Modified.substring(0, 10)}`;
|
|
100
122
|
item.FPSItem.Stamp = Stamp;
|
|
101
123
|
return item;
|
|
102
124
|
}
|
|
@@ -120,7 +142,7 @@ export function addSearchMeta1(items, sourceProps, search) {
|
|
|
120
142
|
File: { valid: false, fileDisplayName: '' },
|
|
121
143
|
Search: JSON.parse(JSON.stringify(EmptyFPSItemSearch)),
|
|
122
144
|
};
|
|
123
|
-
item =
|
|
145
|
+
item = addDateTimeInfoSearch(item);
|
|
124
146
|
// This was only from ALVFinMan... should be removed
|
|
125
147
|
if (item.ReportingSections) {
|
|
126
148
|
item.Reporting = item.ReportingSections;
|
|
@@ -251,11 +273,14 @@ export function addSearchMeta1(items, sourceProps, search) {
|
|
|
251
273
|
// }
|
|
252
274
|
// });
|
|
253
275
|
// }
|
|
276
|
+
if (item.HasUniqueRoleAssignments === true) {
|
|
277
|
+
item = addItemIsA(item, ItemHasUniquePerms);
|
|
278
|
+
}
|
|
279
|
+
// item = addOtherIsAMeta( item );
|
|
254
280
|
item.FPSItem.Search.searchTitle = `${searchTitle}`;
|
|
255
281
|
item.FPSItem.Search.searchDesc = `${searchDesc}`;
|
|
256
282
|
item.FPSItem.Search.searchHref = `${searchHref}`;
|
|
257
283
|
// item.FPSItem.Search.meta = [...meta, ...item.FPSItem.Search.leftSearch, ...item.FPSItem.Search.topSearch ];
|
|
258
|
-
item = addSearchFileData(item, sourceProps);
|
|
259
284
|
// Check if it's a file:
|
|
260
285
|
// if ( item.File || item.FileSizeDisplay || item.FileLeafRef || item.FileRef || item.File_x0020_Type || item.FirstPublishedDate ) {
|
|
261
286
|
// // Item is a file
|
|
@@ -331,7 +356,6 @@ export function addSearchMeta1(items, sourceProps, search) {
|
|
|
331
356
|
// item.FPSItem.File.folderString = folderString;
|
|
332
357
|
// item.FPSItem.File.folderTree = folderTree;
|
|
333
358
|
// }
|
|
334
|
-
item = addOtherIsAMeta(item);
|
|
335
359
|
// item.FPSItem.Search.searchTitle = `${searchTitle}`;
|
|
336
360
|
// item.FPSItem.Search.searchDesc = `${searchDesc}`;
|
|
337
361
|
// item.FPSItem.Search.searchHref = `${searchHref}`;
|