@mikezimm/fps-core-v7 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152.d.ts +1 -1
  2. package/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152.d.ts.map +1 -1
  3. package/lib/banner/bannerX/sendFeedback.d.ts +4 -0
  4. package/lib/banner/bannerX/sendFeedback.d.ts.map +1 -0
  5. package/lib/banner/bannerX/sendFeedback.js +20 -0
  6. package/lib/banner/bannerX/sendFeedback.js.map +1 -0
  7. package/lib/banner/features/FPSDOM/FPSDocument.d.ts +25 -0
  8. package/lib/banner/features/FPSDOM/FPSDocument.d.ts.map +1 -0
  9. package/lib/banner/features/FPSDOM/FPSDocument.js +152 -0
  10. package/lib/banner/features/FPSDOM/FPSDocument.js.map +1 -0
  11. package/lib/banner/features/FPSDOM/FPSEnviro.d.ts +5 -0
  12. package/lib/banner/features/FPSDOM/FPSEnviro.d.ts.map +1 -0
  13. package/lib/banner/features/FPSDOM/FPSEnviro.js +103 -0
  14. package/lib/banner/features/FPSDOM/FPSEnviro.js.map +1 -0
  15. package/lib/{types/fps-class/window → banner/features/FPSDOM}/IFPSEnviro.d.ts +3 -3
  16. package/lib/{types/fps-class/window → banner/features/FPSDOM}/IFPSEnviro.d.ts.map +1 -1
  17. package/lib/banner/features/FPSDOM/IFPSEnviro.js.map +1 -0
  18. package/lib/banner/features/FPSDOM/IFPSSection.d.ts +35 -0
  19. package/lib/banner/features/FPSDOM/IFPSSection.d.ts.map +1 -0
  20. package/lib/banner/features/FPSDOM/IFPSSection.js +5 -0
  21. package/lib/banner/features/FPSDOM/IFPSSection.js.map +1 -0
  22. package/lib/banner/features/FPSDOM/IFPSWindowProps.d.ts +40 -0
  23. package/lib/banner/features/FPSDOM/IFPSWindowProps.d.ts.map +1 -0
  24. package/lib/banner/features/FPSDOM/IFPSWindowProps.js.map +1 -0
  25. package/lib/banner/features/FPSDOM/Window.d.ts +14 -0
  26. package/lib/banner/features/FPSDOM/Window.d.ts.map +1 -0
  27. package/lib/banner/features/FPSDOM/Window.js +2 -0
  28. package/lib/banner/features/FPSDOM/Window.js.map +1 -0
  29. package/lib/banner/features/ImportExport/BuildExportPropsX.d.ts +16 -0
  30. package/lib/banner/features/ImportExport/BuildExportPropsX.d.ts.map +1 -0
  31. package/lib/banner/features/ImportExport/BuildExportPropsX.js +79 -0
  32. package/lib/banner/features/ImportExport/BuildExportPropsX.js.map +1 -0
  33. package/lib/banner/features/ImportExport/ExportFunctions.d.ts +34 -0
  34. package/lib/banner/features/ImportExport/ExportFunctions.d.ts.map +1 -0
  35. package/lib/banner/features/ImportExport/ExportFunctions.js +59 -0
  36. package/lib/banner/features/ImportExport/ExportFunctions.js.map +1 -0
  37. package/lib/banner/features/ImportExport/IgnoreBlockProps.d.ts +3 -0
  38. package/lib/banner/features/ImportExport/IgnoreBlockProps.d.ts.map +1 -0
  39. package/lib/banner/features/ImportExport/IgnoreBlockProps.js +14 -0
  40. package/lib/banner/features/ImportExport/IgnoreBlockProps.js.map +1 -0
  41. package/lib/components/atoms/FilterButtons/functions/onFPSFilterButtonFieldChanged.js +1 -1
  42. package/lib/components/atoms/FilterButtons/functions/onFPSFilterButtonFieldChanged.js.map +1 -1
  43. package/lib/components/atoms/Links/GulpLinks.d.ts +3 -0
  44. package/lib/components/atoms/Links/GulpLinks.d.ts.map +1 -0
  45. package/lib/components/atoms/Links/GulpLinks.js +13 -0
  46. package/lib/components/atoms/Links/GulpLinks.js.map +1 -0
  47. package/lib/components/atoms/Links/ValidateLinks.d.ts +3 -0
  48. package/lib/components/atoms/Links/ValidateLinks.d.ts.map +1 -0
  49. package/lib/components/atoms/Links/ValidateLinks.js +13 -0
  50. package/lib/components/atoms/Links/ValidateLinks.js.map +1 -0
  51. package/lib/components/atoms/Links/_LinkIsValid.d.ts +15 -0
  52. package/lib/components/atoms/Links/_LinkIsValid.d.ts.map +1 -0
  53. package/lib/components/atoms/Links/_LinkIsValid.js +75 -0
  54. package/lib/components/atoms/Links/_LinkIsValid.js.map +1 -0
  55. package/lib/components/atoms/easy-analytics/functions/buildAnalyticsSummary.d.ts +4 -0
  56. package/lib/components/atoms/easy-analytics/functions/buildAnalyticsSummary.d.ts.map +1 -0
  57. package/lib/components/atoms/easy-analytics/functions/buildAnalyticsSummary.js +84 -0
  58. package/lib/components/atoms/easy-analytics/functions/buildAnalyticsSummary.js.map +1 -0
  59. package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.d.ts +6 -0
  60. package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.d.ts.map +1 -0
  61. package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.js +36 -0
  62. package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.js.map +1 -0
  63. package/lib/components/atoms/easy-analytics/functions/getBestAnalyticsLinkAndIcon.d.ts +9 -0
  64. package/lib/components/atoms/easy-analytics/functions/getBestAnalyticsLinkAndIcon.d.ts.map +1 -0
  65. package/lib/components/atoms/easy-analytics/functions/getBestAnalyticsLinkAndIcon.js +32 -0
  66. package/lib/components/atoms/easy-analytics/functions/getBestAnalyticsLinkAndIcon.js.map +1 -0
  67. package/lib/components/atoms/easy-analytics/functions/getPageTitle.d.ts +3 -0
  68. package/lib/components/atoms/easy-analytics/functions/getPageTitle.d.ts.map +1 -0
  69. package/lib/components/atoms/easy-analytics/functions/getPageTitle.js +11 -0
  70. package/lib/components/atoms/easy-analytics/functions/getPageTitle.js.map +1 -0
  71. package/lib/components/atoms/easy-analytics/functions/summarizeArrayByKey.d.ts +63 -0
  72. package/lib/components/atoms/easy-analytics/functions/summarizeArrayByKey.d.ts.map +1 -0
  73. package/lib/components/atoms/easy-analytics/functions/summarizeArrayByKey.js +172 -0
  74. package/lib/components/atoms/easy-analytics/functions/summarizeArrayByKey.js.map +1 -0
  75. package/lib/components/atoms/easy-analytics/interfaces/EasyContents.d.ts +8 -0
  76. package/lib/components/atoms/easy-analytics/interfaces/EasyContents.d.ts.map +1 -0
  77. package/lib/components/atoms/easy-analytics/interfaces/EasyContents.js +8 -0
  78. package/lib/components/atoms/easy-analytics/interfaces/EasyContents.js.map +1 -0
  79. package/lib/components/atoms/easy-analytics/interfaces/ExtremeStorageLog.d.ts +2 -0
  80. package/lib/components/atoms/easy-analytics/interfaces/ExtremeStorageLog.d.ts.map +1 -0
  81. package/lib/components/atoms/easy-analytics/interfaces/ExtremeStorageLog.js +2 -0
  82. package/lib/components/atoms/easy-analytics/interfaces/ExtremeStorageLog.js.map +1 -0
  83. package/lib/components/atoms/{easy-pages → easy-analytics}/interfaces/IEasyAnalyticsHookProps.d.ts +1 -1
  84. package/lib/components/atoms/easy-analytics/interfaces/IEasyAnalyticsHookProps.d.ts.map +1 -0
  85. package/lib/components/atoms/easy-analytics/interfaces/IEasyAnalyticsHookProps.js.map +1 -0
  86. package/lib/components/atoms/easy-analytics/interfaces/IStateSourceA.d.ts +15 -0
  87. package/lib/components/atoms/easy-analytics/interfaces/IStateSourceA.d.ts.map +1 -0
  88. package/lib/components/atoms/easy-analytics/interfaces/IStateSourceA.js +2 -0
  89. package/lib/components/atoms/easy-analytics/interfaces/IStateSourceA.js.map +1 -0
  90. package/lib/components/atoms/easy-analytics/interfaces/analytics.d.ts +86 -0
  91. package/lib/components/atoms/easy-analytics/interfaces/analytics.d.ts.map +1 -0
  92. package/lib/components/atoms/easy-analytics/interfaces/analytics.js +5 -0
  93. package/lib/components/atoms/easy-analytics/interfaces/analytics.js.map +1 -0
  94. package/lib/components/atoms/easy-analytics/interfaces/constants.d.ts +8 -0
  95. package/lib/components/atoms/easy-analytics/interfaces/constants.d.ts.map +1 -0
  96. package/lib/components/atoms/easy-analytics/interfaces/constants.js +23 -0
  97. package/lib/components/atoms/easy-analytics/interfaces/constants.js.map +1 -0
  98. package/lib/components/atoms/easy-pages/interfaces/IEasyPagesHookProps.d.ts +1 -1
  99. package/lib/components/atoms/easy-pages/interfaces/IEasyPagesHookProps.d.ts.map +1 -1
  100. package/lib/components/atoms/easy-pages/interfaces/createAnalyticsSourceProps.d.ts +6 -0
  101. package/lib/components/atoms/easy-pages/interfaces/createAnalyticsSourceProps.d.ts.map +1 -0
  102. package/lib/components/atoms/easy-pages/interfaces/createAnalyticsSourceProps.js +31 -0
  103. package/lib/components/atoms/easy-pages/interfaces/createAnalyticsSourceProps.js.map +1 -0
  104. package/lib/components/molecules/AnyContent/IAnyContent.d.ts +2 -2
  105. package/lib/components/molecules/AnyContent/IAnyContent.d.ts.map +1 -1
  106. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.d.ts +25 -0
  107. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.d.ts.map +1 -0
  108. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.js +13 -0
  109. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.js.map +1 -0
  110. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.d.ts +31 -0
  111. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.d.ts.map +1 -0
  112. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.js +4 -0
  113. package/lib/components/molecules/ModernPages/Interfaces/IModernPagesProps.js.map +1 -0
  114. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.d.ts +23 -0
  115. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.d.ts.map +1 -0
  116. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.js +2 -0
  117. package/lib/components/molecules/ModernPages/Interfaces/ISingleModernPageProps.js.map +1 -0
  118. package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.d.ts +3 -0
  119. package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.d.ts.map +1 -0
  120. package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.js +9 -0
  121. package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.js.map +1 -0
  122. package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts +4 -0
  123. package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts.map +1 -0
  124. package/lib/components/molecules/SearchPage/functions/addItemIsA.js +22 -0
  125. package/lib/components/molecules/SearchPage/functions/addItemIsA.js.map +1 -0
  126. package/lib/components/molecules/SearchPage/functions/addListIsAMeta.d.ts +4 -0
  127. package/lib/components/molecules/SearchPage/functions/addListIsAMeta.d.ts.map +1 -0
  128. package/lib/components/molecules/SearchPage/functions/addListIsAMeta.js +73 -0
  129. package/lib/components/molecules/SearchPage/functions/addListIsAMeta.js.map +1 -0
  130. package/lib/components/molecules/SearchPage/functions/addSearchAll.d.ts +6 -0
  131. package/lib/components/molecules/SearchPage/functions/addSearchAll.d.ts.map +1 -0
  132. package/lib/components/molecules/SearchPage/functions/addSearchAll.js +14 -0
  133. package/lib/components/molecules/SearchPage/functions/addSearchAll.js.map +1 -0
  134. package/lib/components/molecules/SearchPage/functions/addSearchAllV2.d.ts +6 -0
  135. package/lib/components/molecules/SearchPage/functions/addSearchAllV2.d.ts.map +1 -0
  136. package/lib/components/molecules/SearchPage/functions/addSearchAllV2.js +14 -0
  137. package/lib/components/molecules/SearchPage/functions/addSearchAllV2.js.map +1 -0
  138. package/lib/components/molecules/SearchPage/functions/addSearchFile.d.ts +5 -0
  139. package/lib/components/molecules/SearchPage/functions/addSearchFile.d.ts.map +1 -0
  140. package/lib/components/molecules/SearchPage/functions/addSearchFile.js +137 -0
  141. package/lib/components/molecules/SearchPage/functions/addSearchFile.js.map +1 -0
  142. package/lib/components/molecules/SearchPage/functions/addSearchFileV2.d.ts +7 -0
  143. package/lib/components/molecules/SearchPage/functions/addSearchFileV2.d.ts.map +1 -0
  144. package/lib/components/molecules/SearchPage/functions/addSearchFileV2.js +182 -0
  145. package/lib/components/molecules/SearchPage/functions/addSearchFileV2.js.map +1 -0
  146. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.d.ts +39 -0
  147. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.d.ts.map +1 -0
  148. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js +513 -0
  149. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js.map +1 -0
  150. package/lib/components/molecules/SearchPage/functions/addSearchMeta2.d.ts +10 -0
  151. package/lib/components/molecules/SearchPage/functions/addSearchMeta2.d.ts.map +1 -0
  152. package/lib/components/molecules/SearchPage/functions/addSearchMeta2.js +83 -0
  153. package/lib/components/molecules/SearchPage/functions/addSearchMeta2.js.map +1 -0
  154. package/lib/components/molecules/SearchPage/functions/getFilteredV1.d.ts +20 -0
  155. package/lib/components/molecules/SearchPage/functions/getFilteredV1.d.ts.map +1 -0
  156. package/lib/components/molecules/SearchPage/functions/getFilteredV1.js +130 -0
  157. package/lib/components/molecules/SearchPage/functions/getFilteredV1.js.map +1 -0
  158. package/lib/components/molecules/SearchPage/functions/markPopular.d.ts +19 -0
  159. package/lib/components/molecules/SearchPage/functions/markPopular.d.ts.map +1 -0
  160. package/lib/components/molecules/SearchPage/functions/markPopular.js +78 -0
  161. package/lib/components/molecules/SearchPage/functions/markPopular.js.map +1 -0
  162. package/lib/components/molecules/SpHttp/Groups/fetchWebGroupInfoAPI.d.ts +3 -0
  163. package/lib/components/molecules/SpHttp/Groups/fetchWebGroupInfoAPI.d.ts.map +1 -0
  164. package/lib/components/molecules/SpHttp/Groups/fetchWebGroupInfoAPI.js +44 -0
  165. package/lib/components/molecules/SpHttp/Groups/fetchWebGroupInfoAPI.js.map +1 -0
  166. package/lib/components/molecules/SpHttp/Lists/fetchSourceListsAPI.d.ts +4 -0
  167. package/lib/components/molecules/SpHttp/Lists/fetchSourceListsAPI.d.ts.map +1 -0
  168. package/lib/components/molecules/SpHttp/Lists/fetchSourceListsAPI.js +55 -0
  169. package/lib/components/molecules/SpHttp/Lists/fetchSourceListsAPI.js.map +1 -0
  170. package/lib/components/molecules/SpHttp/doSpJsFetch.d.ts +39 -0
  171. package/lib/components/molecules/SpHttp/doSpJsFetch.d.ts.map +1 -0
  172. package/lib/components/molecules/SpHttp/doSpJsFetch.js +88 -0
  173. package/lib/components/molecules/SpHttp/doSpJsFetch.js.map +1 -0
  174. package/lib/components/molecules/SpHttp/interfaces/IFPSSearchAPIResultsData.d.ts +31 -0
  175. package/lib/components/molecules/SpHttp/interfaces/IFPSSearchAPIResultsData.d.ts.map +1 -0
  176. package/lib/components/molecules/SpHttp/interfaces/IFPSSearchAPIResultsData.js +6 -0
  177. package/lib/components/molecules/SpHttp/interfaces/IFPSSearchAPIResultsData.js.map +1 -0
  178. package/lib/components/molecules/process-results/CheckItemsResults.d.ts +5 -2
  179. package/lib/components/molecules/process-results/CheckItemsResults.d.ts.map +1 -1
  180. package/lib/components/molecules/process-results/CheckItemsResults.js.map +1 -1
  181. package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.d.ts +4 -0
  182. package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.d.ts.map +1 -0
  183. package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.js +16 -0
  184. package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.js.map +1 -0
  185. package/lib/components/molecules/process-results/createErrorFpsListItemsReturn.d.ts +3 -0
  186. package/lib/components/molecules/process-results/createErrorFpsListItemsReturn.d.ts.map +1 -0
  187. package/lib/components/molecules/process-results/createErrorFpsListItemsReturn.js +10 -0
  188. package/lib/components/molecules/process-results/createErrorFpsListItemsReturn.js.map +1 -0
  189. package/lib/components/molecules/source-props/Lists/getVX/SysLists.d.ts +46 -0
  190. package/lib/components/molecules/source-props/Lists/getVX/SysLists.d.ts.map +1 -0
  191. package/lib/components/molecules/source-props/Lists/getVX/SysLists.js +125 -0
  192. package/lib/components/molecules/source-props/Lists/getVX/SysLists.js.map +1 -0
  193. package/lib/components/molecules/state-source/IStateSource.d.ts.map +1 -1
  194. package/lib/components/molecules/state-source/IStateSource.js +2 -0
  195. package/lib/components/molecules/state-source/IStateSource.js.map +1 -1
  196. package/lib/logic/Math/getNumber.d.ts +12 -0
  197. package/lib/logic/Math/getNumber.d.ts.map +1 -0
  198. package/lib/logic/Math/getNumber.js +24 -0
  199. package/lib/logic/Math/getNumber.js.map +1 -0
  200. package/lib/logic/Math/labels.d.ts +26 -0
  201. package/lib/logic/Math/labels.d.ts.map +1 -0
  202. package/lib/logic/Math/labels.js +52 -0
  203. package/lib/logic/Math/labels.js.map +1 -0
  204. package/lib/logic/Math/rounding.d.ts +13 -0
  205. package/lib/logic/Math/rounding.d.ts.map +1 -0
  206. package/lib/logic/Math/rounding.js +30 -0
  207. package/lib/logic/Math/rounding.js.map +1 -0
  208. package/lib/logic/Strings/getStringArrayBasic.d.ts +26 -0
  209. package/lib/logic/Strings/getStringArrayBasic.d.ts.map +1 -0
  210. package/lib/logic/Strings/getStringArrayBasic.js +45 -0
  211. package/lib/logic/Strings/getStringArrayBasic.js.map +1 -0
  212. package/lib/logic/Strings/getWordsFromString.d.ts +28 -0
  213. package/lib/logic/Strings/getWordsFromString.d.ts.map +1 -0
  214. package/lib/logic/Strings/getWordsFromString.js +88 -0
  215. package/lib/logic/Strings/getWordsFromString.js.map +1 -0
  216. package/lib/logic/Strings/urlServices.d.ts +62 -0
  217. package/lib/logic/Strings/urlServices.d.ts.map +1 -0
  218. package/lib/logic/Strings/urlServices.js +193 -0
  219. package/lib/logic/Strings/urlServices.js.map +1 -0
  220. package/lib/types/fps-class/window/Window.d.ts +2 -2
  221. package/lib/types/fps-class/window/Window.d.ts.map +1 -1
  222. package/lib/types/fps-returns/common/IFpsErrorObject.d.ts +1 -0
  223. package/lib/types/fps-returns/common/IFpsErrorObject.d.ts.map +1 -1
  224. package/lib/types/react/IFPSJSX_Element.d.ts.map +1 -1
  225. package/package.json +1 -1
  226. package/lib/components/atoms/easy-pages/interfaces/IEasyAnalyticsHookProps.d.ts.map +0 -1
  227. package/lib/components/atoms/easy-pages/interfaces/IEasyAnalyticsHookProps.js.map +0 -1
  228. package/lib/types/fps-class/window/IFPSEnviro.js.map +0 -1
  229. package/lib/types/fps-class/window/IFPSWindowProps.d.ts +0 -73
  230. package/lib/types/fps-class/window/IFPSWindowProps.d.ts.map +0 -1
  231. package/lib/types/fps-class/window/IFPSWindowProps.js.map +0 -1
  232. /package/lib/{types/fps-class/window → banner/features/FPSDOM}/IFPSEnviro.js +0 -0
  233. /package/lib/{types/fps-class/window → banner/features/FPSDOM}/IFPSWindowProps.js +0 -0
  234. /package/lib/components/atoms/{easy-pages → easy-analytics}/interfaces/IEasyAnalyticsHookProps.js +0 -0
@@ -0,0 +1,11 @@
1
+ export function getPageTitle(item) {
2
+ // 2024-09-07: Set 'return undefined as any' to remove typing warning
3
+ if (!item) {
4
+ console.log(`EasyAnalytics ERROR: getPageTitle item is undefined!`, item);
5
+ return undefined;
6
+ }
7
+ const { PageLink, PageURL } = item;
8
+ let result = PageLink && PageLink.Description.indexOf('.aspx') > 0 ? PageLink.Description : PageURL && PageURL.indexOf('.aspx') > 0 ? PageURL.substring(PageURL.lastIndexOf('/') + 1) : '';
9
+ return result;
10
+ }
11
+ //# sourceMappingURL=getPageTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPageTitle.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/functions/getPageTitle.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,YAAY,CAAC,IAAwB;IACnD,sEAAsE;IACtE,IAAI,CAAC,IAAI,EAAE;QAAE,OAAO,CAAC,GAAG,CAAC,sDAAsD,EAAE,IAAI,CAAC,CAAC;QAAC,OAAO,SAAgB,CAAC;KAAE;IAClH,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACnC,IAAI,MAAM,GAAG,QAAQ,IAAI,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3L,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { IPerformanceOp } from "../../../../components/molecules/Performance/IPerformance";
2
+ import { IAnySourceItem, IFPSItem } from "../../../../components/molecules/AnyContent/IAnyContent";
3
+ import { IUnifiedPerformanceOps } from "../../../../types/fps-returns/common/IFpsErrorObject";
4
+ export interface IOjbectKeySummaryItem {
5
+ primaryKey: string;
6
+ link?: string;
7
+ countT: number;
8
+ countI: number;
9
+ countV: number;
10
+ percentT: number;
11
+ percentV: number;
12
+ percentB: number;
13
+ sum: number;
14
+ avg: number;
15
+ labelV: string;
16
+ FPSItem: IFPSItem;
17
+ items: IAnySourceItem[];
18
+ key0?: string[];
19
+ key1?: string[];
20
+ key2?: string[];
21
+ key3?: string[];
22
+ key4?: string[];
23
+ key5?: string[];
24
+ keyZ: string;
25
+ }
26
+ export interface IObjArraySummary {
27
+ keys: string[];
28
+ summaries: IOjbectKeySummaryItem[];
29
+ topLabels: string[];
30
+ }
31
+ export declare function createKeyObject(keyZ: string, prime: string, labelV: string, otherKeys: string[]): IOjbectKeySummaryItem;
32
+ export interface IAnalyticsSummary {
33
+ Titles: IObjArraySummary;
34
+ Sites: IObjArraySummary;
35
+ Offices: IObjArraySummary;
36
+ Languages: IObjArraySummary;
37
+ Users: IObjArraySummary;
38
+ Dates: IObjArraySummary;
39
+ CodeVersion: IObjArraySummary;
40
+ processOp: IPerformanceOp;
41
+ unifiedPerformanceOps: IUnifiedPerformanceOps;
42
+ refreshId: string;
43
+ stats: {
44
+ Titles: number;
45
+ Sites: number;
46
+ Offices: number;
47
+ Languages: number;
48
+ Users: number;
49
+ Dates: number;
50
+ CodeVersion: number;
51
+ x0: number;
52
+ x1: number;
53
+ x2: number;
54
+ x3: number;
55
+ };
56
+ x0: IObjArraySummary;
57
+ x1: IObjArraySummary;
58
+ x2: IObjArraySummary;
59
+ x3: IObjArraySummary;
60
+ }
61
+ export declare function easyAnalyticsSummary(items: IAnySourceItem[], wpFilterProps: string[]): IAnalyticsSummary;
62
+ export declare function summarizeArrayByKey(items: IAnySourceItem[], key: string, valProp: string, otherKeys: string[]): IObjArraySummary;
63
+ //# sourceMappingURL=summarizeArrayByKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summarizeArrayByKey.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/functions/summarizeArrayByKey.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2DAA2D,CAAC;AAG3F,OAAO,EAAE,cAAc,EAAqB,QAAQ,EAAE,MAAM,yDAAyD,CAAC;AAUtH,OAAO,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAK9F,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;IAElB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,E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AAE,EAAE,aAAa,EAAE,MAAM,EAAE,GAAK,iBAAiB,CAyD3G;AAQD,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,cAAc,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAI,gBAAgB,CAkFlI"}
@@ -0,0 +1,172 @@
1
+ import { startPerformOpV2, updatePerformanceEndV2 } from "../../../../components/molecules/Performance/functions";
2
+ import { makeid } from "../../../../logic/Strings/guids";
3
+ import { check4This } from '../../../../logic/Links/CheckSearch';
4
+ import { checkDeepProperty } from "../../../../logic/Objects/deep";
5
+ // import { getSumableNumber } from "../../../logic/Math/getNumber";
6
+ import { EmptyFPSItemSearch } from "../../../../components/molecules/AnyContent/IFPSItemSearch";
7
+ import { getBestAnalyticsLinkAndIcon } from "./getBestAnalyticsLinkAndIcon";
8
+ import { sortObjectArrayByNumberKey } from "../../../../logic/Arrays/sorting/numbers";
9
+ import { getSumableNumber } from "../../../../logic/Math/getNumber";
10
+ export function createKeyObject(keyZ, prime, labelV, otherKeys) {
11
+ prime = prime ? prime : `<< EMPTY ${keyZ} >>`;
12
+ const result = {
13
+ primaryKey: prime,
14
+ link: '',
15
+ countT: 0,
16
+ countI: 0,
17
+ countV: 0,
18
+ percentT: 0,
19
+ percentV: 0,
20
+ percentB: 0,
21
+ labelV: labelV,
22
+ FPSItem: {
23
+ IsA: { allIsAKeys: [] },
24
+ Search: EmptyFPSItemSearch,
25
+ // 2024-09-07: Added Search and File to pass the updated IFPSItem requirements
26
+ File: undefined,
27
+ },
28
+ sum: 0,
29
+ avg: 0,
30
+ items: [],
31
+ keyZ: keyZ,
32
+ };
33
+ // create empty arrays as needed
34
+ [0, 1, 2, 3, 4, 5].map(num => {
35
+ if (otherKeys.length > num) {
36
+ result[`key${num}`] = [];
37
+ }
38
+ });
39
+ return result;
40
+ }
41
+ export function easyAnalyticsSummary(items, wpFilterProps) {
42
+ const performanceSettings = { label: 'summary', updateMiliseconds: true, includeMsStr: true, op: 'analyze' };
43
+ let processOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
44
+ const Titles = summarizeArrayByKey(items, 'Titles', 'Title', ['Author/Office', 'Author/Title', 'language', 'CodeVersion']);
45
+ const Sites = summarizeArrayByKey(items, 'SiteTitle', 'Title', ['Author/Office', 'Author/Title', 'language', 'CodeVersion']);
46
+ const Offices = summarizeArrayByKey(items, 'Author/Office', 'Title', ['SiteTitle', 'Author/Title', 'language', 'CodeVersion']);
47
+ const Languages = summarizeArrayByKey(items, 'language', 'Title', ['SiteTitle', 'Author/Title', 'Author/Office', 'CodeVersion']);
48
+ const Users = summarizeArrayByKey(items, 'Author/Title', 'Title', ['Author/Office', 'SiteTitle', 'language', 'CodeVersion']);
49
+ const Dates = summarizeArrayByKey(items, 'createdAge', 'Title', ['Author/Office', 'SiteTitle', 'language', 'Author/Title', 'CodeVersion']);
50
+ const CodeVersion = summarizeArrayByKey(items, 'CodeVersion', 'Title', ['Author/Office', 'SiteTitle', 'language', 'Author/Title', 'createdAge']);
51
+ // If there is a filter prop for the index, then build the summary. Else just copy the Titles one so it has the correct structure.
52
+ const x0 = wpFilterProps.length < 1 ? EmptyObjArraySummary : summarizeArrayByKey(items, wpFilterProps[0], 'Title', ['Author/Office', 'SiteTitle', 'language', 'Author/Title', 'createdAge']);
53
+ const x1 = wpFilterProps.length < 2 ? EmptyObjArraySummary : summarizeArrayByKey(items, wpFilterProps[1], 'Title', ['Author/Office', 'SiteTitle', 'language', 'Author/Title', 'createdAge']);
54
+ const x2 = wpFilterProps.length < 3 ? EmptyObjArraySummary : summarizeArrayByKey(items, wpFilterProps[2], 'Title', ['Author/Office', 'SiteTitle', 'language', 'Author/Title', 'createdAge']);
55
+ const x3 = wpFilterProps.length < 4 ? EmptyObjArraySummary : summarizeArrayByKey(items, wpFilterProps[3], 'Title', ['Author/Office', 'SiteTitle', 'language', 'Author/Title', 'createdAge']);
56
+ //2024-09-07: Added processOp as IPerformanceOp for this line to pass Linting since it should be a value.
57
+ processOp = updatePerformanceEndV2({ op: processOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: items.length * 6 });
58
+ const result = {
59
+ Titles: Titles,
60
+ Sites: Sites,
61
+ Offices: Offices,
62
+ Languages: Languages,
63
+ Users: Users,
64
+ Dates: Dates,
65
+ CodeVersion: CodeVersion,
66
+ //2024-09-07: Added processOp as IPerformanceOp for these to lines to pass Linting since it should be a value.
67
+ processOp: processOp,
68
+ unifiedPerformanceOps: { process: processOp },
69
+ refreshId: makeid(5),
70
+ stats: {
71
+ Titles: Titles.keys.length,
72
+ Sites: Sites.keys.length,
73
+ Offices: Offices.keys.length,
74
+ Languages: Languages.keys.length,
75
+ Users: Users.keys.length,
76
+ Dates: Dates.keys.length,
77
+ CodeVersion: CodeVersion.keys.length,
78
+ x0: x0.keys.length,
79
+ x1: x1.keys.length,
80
+ x2: x2.keys.length,
81
+ x3: x3.keys.length,
82
+ },
83
+ x0: x0,
84
+ x1: x1,
85
+ x2: x2,
86
+ x3: x3,
87
+ };
88
+ if (check4This('sourceResults=true') === true)
89
+ console.log('sourceResults easyAnalyticsSummary', result);
90
+ return result;
91
+ }
92
+ const EmptyObjArraySummary = {
93
+ keys: [],
94
+ summaries: [],
95
+ topLabels: [],
96
+ };
97
+ export function summarizeArrayByKey(items, key, valProp, otherKeys) {
98
+ const summary = JSON.parse(JSON.stringify(EmptyObjArraySummary));
99
+ const keyIsDate = key.indexOf('Age') > -1 ? true : false;
100
+ items.map((item, idx0) => {
101
+ let itemValue = key.indexOf('.') < 0 ? item[key] : `${checkDeepProperty(item, key.split('.'), 'EmptyString', false)}`;
102
+ // if itemValue is a date, then convert to integer to group by date in the past
103
+ if (keyIsDate === true)
104
+ itemValue = parseInt(itemValue, 10) + 0; // Added 0 to make this non mutating
105
+ // Get index of this item and create object if it does not exist
106
+ let idx = summary.keys.indexOf(itemValue);
107
+ if (idx < 0) {
108
+ idx = summary.keys.length;
109
+ summary.keys.push(itemValue);
110
+ const keyItem = createKeyObject(key, keyIsDate === true ? getDateLabel(itemValue) : itemValue, valProp, otherKeys);
111
+ // Only add link if it is for a site.
112
+ if (key === 'SiteTitle')
113
+ keyItem.link = getBestAnalyticsLinkAndIcon(item, false, ['SiteLink', 'PageLink', 'PageURL']).linkUrl;
114
+ summary.summaries.push(keyItem);
115
+ }
116
+ item.primeIdx = idx0;
117
+ const thisSum = summary.summaries[idx];
118
+ thisSum.countT++;
119
+ if (itemValue)
120
+ thisSum.countI++;
121
+ if (typeof itemValue === 'number' || typeof itemValue === 'bigint') {
122
+ thisSum.countV++;
123
+ thisSum.sum += getSumableNumber(itemValue);
124
+ }
125
+ // Add other keys for additional information
126
+ otherKeys.map((oKey, idx) => {
127
+ // 2024-09-07: Set sumKeyValue: any and used below to pass linting and build errors... only used for analytics now and never had an issue yet.
128
+ const sumKeyValue = thisSum[`key${idx}`];
129
+ if (item[oKey] && sumKeyValue && sumKeyValue.indexOf(item[oKey]) < 0) {
130
+ /**
131
+ * 2024-09-07: Checked with chatGPT and it said this should update the original array if it's an array....
132
+ * Reference Types: If thisSum['key0'] is an array (which is a reference type),
133
+ * then sumKeyValue is a reference to the same array. In this case,
134
+ * updating sumKeyValue by calling push() will also update the array
135
+ * stored in thisSum['key0'] because they both refer to the same underlying array.
136
+ */
137
+ sumKeyValue.push(item[oKey]);
138
+ }
139
+ });
140
+ thisSum.items.push(item);
141
+ });
142
+ summary.summaries.map(thisSum => {
143
+ if (thisSum.sum > 0)
144
+ thisSum.avg = thisSum.sum / thisSum.countV;
145
+ });
146
+ // Sort by count unless it's an age, then asc sort by date ( which is the avg value of the column )
147
+ // 2023-10-06: https://github.com/mikezimm/fps-library-v2/issues/120
148
+ // Only sort if not date... sortObjectArrayByNumberKey( summary.summaries, 'dec', keyIsDate === true ? 'avg' : 'countT' );
149
+ // if key === createdAge then it is already reverse sorted during fetch and will show latest on top.
150
+ if (key !== 'createdAge')
151
+ summary.summaries = sortObjectArrayByNumberKey(summary.summaries, 'dec', keyIsDate === true ? 'avg' : 'countT');
152
+ // Get top 10 labels by count
153
+ summary.topLabels = summary.summaries.slice(0, 9).map(thisSum => { return thisSum.primaryKey; });
154
+ // Get % T - 100 = max item: https://stackoverflow.com/a/16751601
155
+ const sumCountT = summary.summaries.map(thisSum => { return thisSum.countT; }).reduce((partialSum, a) => partialSum + a, 0);
156
+ const countMax = Math.max(...summary.summaries.map(thisSum => { return thisSum.countT; }));
157
+ if (sumCountT !== 0)
158
+ summary.summaries.map(thisSum => { thisSum.percentT = (thisSum.countT / sumCountT) * 100; });
159
+ if (countMax !== 0)
160
+ summary.summaries.map(thisSum => { thisSum.percentB = (thisSum.countT / countMax) * 100; });
161
+ summary.summaries.map(thisSum => {
162
+ thisSum.FPSItem.Search.searchText = thisSum.primaryKey;
163
+ thisSum.FPSItem.Search.searchTextLC = thisSum.primaryKey.toLowerCase();
164
+ });
165
+ return summary;
166
+ }
167
+ function getDateLabel(daysAgo) {
168
+ const date = new Date();
169
+ date.setDate(date.getDate() - daysAgo);
170
+ return date.toLocaleDateString();
171
+ }
172
+ //# sourceMappingURL=summarizeArrayByKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summarizeArrayByKey.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/functions/summarizeArrayByKey.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAElH,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAKzD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,oEAAoE;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAEhG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAC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,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACvD,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;IACxE,CAAC,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC;AAEjB,CAAC;AAED,SAAS,YAAY,CAAC,OAAe;IACnC,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IACxB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC;IACvC,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;AACnC,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const EasyContentsLog = "EasyContentsLog";
2
+ export declare const EasyContentsRails = "EasyContentsRails";
3
+ export declare const EasyContentsHistory = "EasyContentsHistory";
4
+ export declare const EasyContentsRailsApply = "EasyContentsRailsApply";
5
+ export declare const EasyContentsRailsGroups = "EasyContentsRailsGroups";
6
+ export declare const PermissionsHistory = "PermissionsHistory";
7
+ export declare const EasyContentsCompare = "EasyContentsCompare";
8
+ //# sourceMappingURL=EasyContents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EasyContents.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/EasyContents.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const EasyContentsLog = 'EasyContentsLog'; //strings.analyticsList
2
+ export const EasyContentsRails = 'EasyContentsRails'; //strings.analyticsListRails
3
+ export const EasyContentsHistory = 'EasyContentsHistory'; //strings.analyticsListListery
4
+ export const EasyContentsRailsApply = 'EasyContentsRailsApply'; //strings.analyticsListRailsApply
5
+ export const EasyContentsRailsGroups = 'EasyContentsRailsGroups'; //strings.analyticsListRailsGroups
6
+ export const PermissionsHistory = 'PermissionsHistory'; //strings.analyticsListPermissionsHistory
7
+ export const EasyContentsCompare = 'EasyContentsCompare'; //strings.analyticsListory
8
+ //# sourceMappingURL=EasyContents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EasyContents.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/EasyContents.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC,CAAE,wBAAwB;AAC3E,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,CAAE,4BAA4B;AACnF,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC,CAAE,8BAA8B;AACzF,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC,CAAE,iCAAiC;AAClG,MAAM,CAAC,MAAM,uBAAuB,GAAG,yBAAyB,CAAC,CAAE,kCAAkC;AACrG,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,CAAE,yCAAyC;AAClG,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC,CAAE,0BAA0B"}
@@ -0,0 +1,2 @@
1
+ export declare const ExtremeStorageLog = "ExtremeStorageLog";
2
+ //# sourceMappingURL=ExtremeStorageLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtremeStorageLog.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/ExtremeStorageLog.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export const ExtremeStorageLog = 'ExtremeStorageLog';
2
+ //# sourceMappingURL=ExtremeStorageLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtremeStorageLog.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/ExtremeStorageLog.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * 2024-09-06: Migrated from fps-library-v2\src\banner\components\EasyPages\Analytics\components\...
3
3
  */
4
- import { IEasyPagesSourceProps } from "./IEasyPagesPageProps";
4
+ import { IEasyPagesSourceProps } from "../../easy-pages/interfaces/IEasyPagesPageProps";
5
5
  export interface IEasyAnalyticsProps {
6
6
  expandedState: boolean;
7
7
  analyticsListX: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEasyAnalyticsHookProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/IEasyAnalyticsHookProps.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AAGxF,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,kBAAkB,EAAE,mBAAmB,CAAC;IACxC,oBAAoB,EAAE,qBAAqB,CAAC;CAE7C;AAED,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,MAAM,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAAC;AAC5G,eAAO,MAAM,aAAa,EAAE,aAAa,EAAgF,CAAC;AAE1H,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,CAAC;AAC5E,eAAO,MAAM,UAAU,EAAE,WAAW,EAAqD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEasyAnalyticsHookProps.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/IEasyAnalyticsHookProps.tsx"],"names":[],"mappings":"AAAA;;GAEG;AA4BH,MAAM,CAAC,MAAM,aAAa,GAAoB,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;AAG1H,MAAM,CAAC,MAAM,UAAU,GAAkB,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { IStateSource } from "../../../molecules/state-source/IStateSource";
2
+ import { IZFullAnalytics } from "./analytics";
3
+ export interface IZFetchedAnalytics extends IZFullAnalytics {
4
+ performanceObj?: any;
5
+ FPSPropsObj?: any;
6
+ }
7
+ export interface IStateSourceA extends IStateSource {
8
+ items: IZFetchedAnalytics[];
9
+ itemsA: any[];
10
+ itemsS: any[];
11
+ itemsO: any[];
12
+ itemsP: any[];
13
+ meta1: string[];
14
+ }
15
+ //# sourceMappingURL=IStateSourceA.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStateSourceA.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/IStateSourceA.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,WAAW,CAAC,EAAE,GAAG,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;CAEjB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IStateSourceA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStateSourceA.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/IStateSourceA.ts"],"names":[],"mappings":""}
@@ -0,0 +1,86 @@
1
+ /**
2
+ * This standard was started with eXTreme Storage webpart
3
+ */
4
+ import { ISimpleLink } from "../../../../logic/Links/interfaces/ISimpleLink";
5
+ import { IAnySourceItem } from "../../../molecules/AnyContent/IAnyContent";
6
+ /**
7
+ * IZLoadAnalytics can be created when the webpart loads the data so it's easy to pass
8
+ */
9
+ export interface IZLoadAnalytics {
10
+ SiteID: string;
11
+ WebID: string;
12
+ SiteTitle: string;
13
+ ListID: string;
14
+ ListTitle: string;
15
+ TargetSite?: string;
16
+ TargetList?: string;
17
+ }
18
+ /**
19
+ * IZSentAnalytics can be created based on IZLoadAnalytics when the webpart generates final data to save
20
+ */
21
+ export interface IZSentAnalytics {
22
+ loadProperties: IZLoadAnalytics;
23
+ Title: string;
24
+ Result: string;
25
+ Setting?: string;
26
+ zzzText1?: string;
27
+ zzzText2?: string;
28
+ zzzText3?: string;
29
+ zzzText4?: string;
30
+ zzzText5?: string;
31
+ zzzText6?: string;
32
+ zzzText7?: string;
33
+ fetch?: number;
34
+ process?: number;
35
+ zzzNumber1?: number;
36
+ zzzNumber2?: number;
37
+ zzzNumber3?: number;
38
+ zzzNumber4?: number;
39
+ zzzNumber5?: number;
40
+ zzzNumber6?: number;
41
+ zzzNumber7?: number;
42
+ zzzRichText1?: any;
43
+ zzzRichText2?: any;
44
+ zzzRichText3?: any;
45
+ performance?: any;
46
+ FPSUser?: string;
47
+ FPSProps?: any;
48
+ FetchInfo?: any;
49
+ AnalyticsVersion?: string;
50
+ CodeVersion?: string;
51
+ language?: string;
52
+ TargetList?: ISimpleLink;
53
+ SiteLink?: ISimpleLink;
54
+ }
55
+ /**
56
+ * This contains properties automatically added based on the current url
57
+ */
58
+ export interface IZFullAnalytics extends IAnySourceItem, IZSentAnalytics {
59
+ /**
60
+ * Added duplicate here to resolve typing error
61
+ * Interface 'IZFullAnalytics' cannot simultaneously extend types 'IAnySourceItem' and 'IZSentAnalytics'.
62
+ Named property 'Title' of types 'IAnySourceItem' and 'IZSentAnalytics' are not identical.ts(2320)
63
+ */
64
+ Title: string;
65
+ loadProperties: any;
66
+ CollectionUrl?: string;
67
+ PageURL: string;
68
+ getParams?: string;
69
+ PageLink?: ISimpleLink;
70
+ SiteLink?: ISimpleLink;
71
+ language?: string;
72
+ SiteID: string;
73
+ WebID: string;
74
+ SiteTitle: string;
75
+ ListID: string;
76
+ ListTitle: string;
77
+ TargetSite?: ISimpleLink;
78
+ TargetList?: ISimpleLink;
79
+ memory: string;
80
+ browser: string;
81
+ JSHeapSize: number;
82
+ screen: string;
83
+ screenSize: string;
84
+ device: string;
85
+ }
86
+ //# sourceMappingURL=analytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/analytics.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAK3E;;GAEG;AACH,MAAM,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AAG,CAAC;IAEhB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc,EAAE,eAAe;IAEtE;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,GAAG,CAAC;IAEpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC;IAEzB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAEhB"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This standard was started with eXTreme Storage webpart
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=analytics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/analytics.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,8 @@
1
+ export declare const AnalyticsWebLeg = "/sites/Templates/Analytics/";
2
+ export declare const AnalyticsWebNew = "/sites/FPTWebAlytics/";
3
+ export declare const AnalyticsWeb: string;
4
+ export declare const RequestListSite = "/sites/SharePointAssist";
5
+ export declare const RequestListList = "Assists";
6
+ export declare const PatternsWeb = "/sites/Patterns/";
7
+ export declare const ErrorLog = "ErrorLog";
8
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/constants.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,gCAAgC,CAAC;AAC7D,eAAO,MAAM,eAAe,0BAA0B,CAAC;AAMvD,eAAO,MAAM,YAAY,QAAsD,CAAC;AAWhF,eAAO,MAAM,eAAe,4BAA4B,CAAC;AACzD,eAAO,MAAM,eAAe,YAAY,CAAC;AAEzC,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAE9C,eAAO,MAAM,QAAQ,aAAa,CAAC"}
@@ -0,0 +1,23 @@
1
+ //Standard lists used to save analytics
2
+ import { TrickyTenantA } from "../../../../banner/features/Tricky/constants";
3
+ import { ecrptMe } from "../../../../banner/features/Tricky/logfun";
4
+ import { decrpt, encrpt } from "../../../../banner/features/Tricky/verify";
5
+ import { CurrentTenant } from "../../../molecules/source-props/IMinSourceFetchProps";
6
+ // import { TrickyTenantA, } from "@mikezimm/fps-core-v7/lib/banner/features/Tricky/constants";
7
+ // import { ecrptMe } from "@mikezimm/fps-core-v7/lib/banner/features/Tricky/logfun";
8
+ // import { decrpt, encrpt } from "@mikezimm/fps-core-v7/lib/banner/features/Tricky/verify";
9
+ // import { CurrentTenant } from "../../SourceItems/IMinSourceFetchProps";
10
+ export const AnalyticsWebLeg = '/sites/Templates/Analytics/';
11
+ export const AnalyticsWebNew = '/sites/FPTWebAlytics/';
12
+ const useNew = ecrptMe(CurrentTenant, encrpt, decrpt) === TrickyTenantA ? false : true;
13
+ // @mikezimm/fps-library-v2/lib/pnpjs/Logging/Interfaces/constants
14
+ export const AnalyticsWeb = useNew === true ? AnalyticsWebNew : AnalyticsWebLeg;
15
+ // export const AnalyticsWeb = '/sites/Templates/Analytics/';
16
+ // export const AnalyticsWebV2 = '/sites/WebAlytics/';
17
+ // export const AnalyticsWeb = '/sites/Templates/Analytics/';
18
+ // export const AnalyticsWebV2 = '/sites/WebAlytics/';
19
+ export const RequestListSite = '/sites/SharePointAssist';
20
+ export const RequestListList = 'Assists';
21
+ export const PatternsWeb = '/sites/Patterns/';
22
+ export const ErrorLog = 'ErrorLog'; //strings.analyticsListErrors
23
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-analytics/interfaces/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAErF,+FAA+F;AAC/F,qFAAqF;AACrF,4FAA4F;AAC5F,0EAA0E;AAE1E,MAAM,CAAC,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAC7D,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAEvD,MAAM,MAAM,GAAG,OAAO,CAAE,aAAa,EAAE,MAAM,EAAE,MAAM,CAAE,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;AAGzF,kEAAkE;AAClE,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC;AAEhF,6DAA6D;AAC7D,sDAAsD;AAKtD,6DAA6D;AAC7D,sDAAsD;AAEtD,MAAM,CAAC,MAAM,eAAe,GAAG,yBAAyB,CAAC;AACzD,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE9C,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC,CAAE,6BAA6B"}
@@ -2,7 +2,7 @@
2
2
  * 2024-09-06: Migrated to fps-core-v7\src\banner\components\EasyPages\interfaces\
3
3
  */
4
4
  import { IEasyIcons } from "../../easy-icons/interfaces/eiTypes";
5
- import { IEasyAnalyticsProps } from "./IEasyAnalyticsHookProps";
5
+ import { IEasyAnalyticsProps } from "../../easy-analytics/interfaces/IEasyAnalyticsHookProps";
6
6
  import { IEasyPagesSourceProps } from "./IEasyPagesPageProps";
7
7
  export interface IEasyPagesHookProps {
8
8
  easyPagesSourceProps: IEasyPagesSourceProps;
@@ -1 +1 @@
1
- {"version":3,"file":"IEasyPagesHookProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-pages/interfaces/IEasyPagesHookProps.tsx"],"names":[],"mappings":"AACA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAI9D,MAAM,WAAW,mBAAmB;IAClC,oBAAoB,EAAE,qBAAqB,CAAC;IAC5C,mBAAmB,EAAE,oBAAoB,CAAC;IAC1C,eAAe,EAAE,UAAU,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE,mBAAmB,CAAC;CACzC;AAED,MAAM,WAAW,oBAAoB;IAEnC,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IAEzB,uBAAuB,EAAE,GAAG,CAAC;IAC7B,iBAAiB,EAAE,OAAO,CAAC;IAE3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAEhB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAM7B,eAAe,CAAC,EAAE,OAAO,CAAC;CAE3B"}
1
+ {"version":3,"file":"IEasyPagesHookProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-pages/interfaces/IEasyPagesHookProps.tsx"],"names":[],"mappings":"AACA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAE9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAI9D,MAAM,WAAW,mBAAmB;IAClC,oBAAoB,EAAE,qBAAqB,CAAC;IAC5C,mBAAmB,EAAE,oBAAoB,CAAC;IAC1C,eAAe,EAAE,UAAU,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE,mBAAmB,CAAC;CACzC;AAED,MAAM,WAAW,oBAAoB;IAEnC,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IAEzB,uBAAuB,EAAE,GAAG,CAAC;IAC7B,iBAAiB,EAAE,OAAO,CAAC;IAE3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAEhB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAM7B,eAAe,CAAC,EAAE,OAAO,CAAC;CAE3B"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 2024-09-07: Migrated to SAME FOLDER in fps-core-v7\src/components/atoms/easy-pages/interfaces\...
3
+ */
4
+ import { ISourceProps } from "../../../molecules/source-props/ISourceProps";
5
+ export declare function createAnalyticsSourceProps(analyticsListX: string, analyticsWebX?: string): ISourceProps;
6
+ //# sourceMappingURL=createAnalyticsSourceProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAnalyticsSourceProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-pages/interfaces/createAnalyticsSourceProps.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAI5E,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,MAAM,EAAG,aAAa,GAAE,MAAqB,GAAK,YAAY,CA0BxH"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * 2024-09-07: Migrated to SAME FOLDER in fps-core-v7\src/components/atoms/easy-pages/interfaces\...
3
+ */
4
+ import { createSeriesSort } from "../../../molecules/source-props/createOrderBy";
5
+ import { CurrentTenant } from "../../../molecules/source-props/IMinSourceFetchProps";
6
+ import { prepSourceColumns } from "../../../molecules/source-props/prepSourceColumns";
7
+ import { AnalyticsWeb } from "../../easy-analytics/interfaces/constants";
8
+ export function createAnalyticsSourceProps(analyticsListX, analyticsWebX = AnalyticsWeb) {
9
+ const key = `analytics`;
10
+ const AnalyticsSourceProps = prepSourceColumns({
11
+ key: key,
12
+ defType: key,
13
+ tenant: CurrentTenant,
14
+ webUrl: `${window.location.origin}${analyticsWebX}`,
15
+ webRelativeLink: `/lists/${analyticsListX}`,
16
+ searchSource: key,
17
+ searchSourceDesc: key,
18
+ listTitle: analyticsListX,
19
+ columns: ['*',],
20
+ searchProps: ['ID', 'Author/Title', 'Author/Office', 'SiteTitle', 'language', 'CodeVersion'],
21
+ selectThese: ['*', 'Author/Title', 'Author/Office', 'performance'],
22
+ isModern: true,
23
+ defSearchButtons: [],
24
+ orderBy: createSeriesSort('Id', false),
25
+ fetchCount: 5000,
26
+ performanceSettings: { label: 'analytics', updateMiliseconds: true, includeMsStr: true, op: 'fetch' },
27
+ fpsContentType: ['item'],
28
+ }, '');
29
+ return AnalyticsSourceProps;
30
+ }
31
+ //# sourceMappingURL=createAnalyticsSourceProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAnalyticsSourceProps.js","sourceRoot":"","sources":["../../../../../src/components/atoms/easy-pages/interfaces/createAnalyticsSourceProps.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAErF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAEzE,MAAM,UAAU,0BAA0B,CAAC,cAAsB,EAAG,gBAAwB,YAAY;IAEtG,MAAM,GAAG,GAAW,WAAW,CAAC;IAChC,MAAM,oBAAoB,GAAiB,iBAAiB,CAAE;QAC5D,GAAG,EAAE,GAAG;QACR,OAAO,EAAE,GAAG;QACZ,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,aAAa,EAAE;QACnD,eAAe,EAAE,UAAU,cAAc,EAAE;QAC3C,YAAY,EAAE,GAAG;QACjB,gBAAgB,EAAE,GAAG;QACrB,SAAS,EAAE,cAAc;QACzB,OAAO,EAAE,CAAE,GAAG,EAAG;QACjB,WAAW,EAAE,CAAE,IAAI,EAAE,cAAc,EAAC,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,CAAE;QAC7F,WAAW,EAAE,CAAC,GAAG,EAAE,cAAc,EAAC,eAAe,EAAE,aAAa,CAAE;QAClE,QAAQ,EAAE,IAAI;QACd,gBAAgB,EAAE,EAAE;QACpB,OAAO,EAAE,gBAAgB,CAAE,IAAI,EAAE,KAAK,CAAE;QACxC,UAAU,EAAE,IAAI;QAChB,mBAAmB,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE;QACrG,cAAc,EAAE,CAAE,MAAM,CAAE;KAE3B,EAAE,EAAE,CAAE,CAAC;IAER,OAAO,oBAAoB,CAAC;AAE9B,CAAC"}
@@ -105,10 +105,10 @@ export interface IFPSItem {
105
105
  Image?: IFPSItemImage;
106
106
  Link?: IFPSItemLink;
107
107
  Icon?: IFPSItemIcon;
108
- Search?: IFPSItemSearch;
108
+ Search: IFPSItemSearch;
109
109
  Suggestion?: IFPSItemSug;
110
110
  Font?: IFPSItemFont;
111
- File?: IFPSItemFile;
111
+ File: IFPSItemFile;
112
112
  IsA: IFPSItemIsA;
113
113
  Related?: IFPSItemRelated;
114
114
  Elements?: IFPSItemElements;