@mikezimm/fps-library-v2 1.0.205 → 1.0.207

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 (126) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/lib/banner/FPSWebPartClass/BuildBannerPropsX2.d.ts.map +1 -1
  3. package/lib/banner/FPSWebPartClass/BuildBannerPropsX2.js +3 -2
  4. package/lib/banner/FPSWebPartClass/BuildBannerPropsX2.js.map +1 -1
  5. package/lib/banner/FPSWebPartClass/FPSBaseClass.d.ts +1 -0
  6. package/lib/banner/FPSWebPartClass/FPSBaseClass.d.ts.map +1 -1
  7. package/lib/banner/FPSWebPartClass/FPSBaseClass.js +2 -1
  8. package/lib/banner/FPSWebPartClass/FPSBaseClass.js.map +1 -1
  9. package/lib/banner/FPSWebPartClass/IThisFPSWebPartClass.d.ts +1 -0
  10. package/lib/banner/FPSWebPartClass/IThisFPSWebPartClass.d.ts.map +1 -1
  11. package/lib/banner/FPSWebPartClass/functions/showTricks.d.ts +2 -1
  12. package/lib/banner/FPSWebPartClass/functions/showTricks.d.ts.map +1 -1
  13. package/lib/banner/FPSWebPartClass/functions/showTricks.js +14 -2
  14. package/lib/banner/FPSWebPartClass/functions/showTricks.js.map +1 -1
  15. package/lib/banner/FPSWebPartClass/runOnPropChange.js +1 -1
  16. package/lib/banner/FPSWebPartClass/runOnPropChange.js.map +1 -1
  17. package/lib/banner/bannerX/FetchBannerX.js +1 -1
  18. package/lib/banner/bannerX/FetchBannerX.js.map +1 -1
  19. package/lib/banner/components/EasyPages/Analytics/analyticsPage.d.ts +1 -0
  20. package/lib/banner/components/EasyPages/Analytics/analyticsPage.d.ts.map +1 -0
  21. package/lib/banner/components/EasyPages/Analytics/analyticsPage.js +172 -0
  22. package/lib/banner/components/EasyPages/Analytics/analyticsPage.js.map +1 -0
  23. package/lib/banner/components/EasyPages/Analytics/fetchAnalytics.d.ts +7 -0
  24. package/lib/banner/components/EasyPages/Analytics/fetchAnalytics.d.ts.map +1 -0
  25. package/lib/banner/components/EasyPages/Analytics/fetchAnalytics.js +32 -0
  26. package/lib/banner/components/EasyPages/Analytics/fetchAnalytics.js.map +1 -0
  27. package/lib/banner/components/EasyPages/components/EasyPagesGroup.d.ts +8 -0
  28. package/lib/banner/components/EasyPages/components/EasyPagesGroup.d.ts.map +1 -0
  29. package/lib/banner/components/EasyPages/{EasyPagesGroup.js → components/EasyPagesGroup.js} +1 -1
  30. package/lib/banner/components/EasyPages/components/EasyPagesGroup.js.map +1 -0
  31. package/lib/banner/components/EasyPages/{componentPage.d.ts → components/componentPage.d.ts} +5 -23
  32. package/lib/banner/components/EasyPages/components/componentPage.d.ts.map +1 -0
  33. package/lib/banner/components/EasyPages/{componentPage.js → components/componentPage.js} +8 -6
  34. package/lib/banner/components/EasyPages/components/componentPage.js.map +1 -0
  35. package/lib/banner/components/EasyPages/{componentSources.d.ts → components/componentSources.d.ts} +3 -2
  36. package/lib/banner/components/EasyPages/components/componentSources.d.ts.map +1 -0
  37. package/lib/banner/components/EasyPages/{componentSources.js → components/componentSources.js} +14 -4
  38. package/lib/banner/components/EasyPages/components/componentSources.js.map +1 -0
  39. package/lib/banner/components/EasyPages/components/elements.d.ts.map +1 -0
  40. package/lib/banner/components/EasyPages/{elements.js → components/elements.js} +1 -1
  41. package/lib/banner/components/EasyPages/components/elements.js.map +1 -0
  42. package/lib/banner/components/EasyPages/functions/compoundArrayFilter.d.ts +10 -0
  43. package/lib/banner/components/EasyPages/functions/compoundArrayFilter.d.ts.map +1 -0
  44. package/lib/banner/components/EasyPages/functions/compoundArrayFilter.js +24 -0
  45. package/lib/banner/components/EasyPages/functions/compoundArrayFilter.js.map +1 -0
  46. package/lib/banner/components/EasyPages/functions/createEasyPagesExtraWPProps.d.ts +4 -0
  47. package/lib/banner/components/EasyPages/functions/createEasyPagesExtraWPProps.d.ts.map +1 -0
  48. package/lib/banner/components/EasyPages/{createEasyPagesExtraWPProps.js → functions/createEasyPagesExtraWPProps.js} +3 -2
  49. package/lib/banner/components/EasyPages/functions/createEasyPagesExtraWPProps.js.map +1 -0
  50. package/lib/banner/components/EasyPages/functions/createEasyPagesSourceWPProps.d.ts +11 -0
  51. package/lib/banner/components/EasyPages/functions/createEasyPagesSourceWPProps.d.ts.map +1 -0
  52. package/lib/banner/components/EasyPages/{createEasyPagesSourceWPProps.js → functions/createEasyPagesSourceWPProps.js} +1 -1
  53. package/lib/banner/components/EasyPages/functions/createEasyPagesSourceWPProps.js.map +1 -0
  54. package/lib/banner/components/EasyPages/{createNewSitePagesSource.d.ts → functions/createNewSitePagesSource.d.ts} +2 -2
  55. package/lib/banner/components/EasyPages/functions/createNewSitePagesSource.d.ts.map +1 -0
  56. package/lib/banner/components/EasyPages/{createNewSitePagesSource.js → functions/createNewSitePagesSource.js} +2 -2
  57. package/lib/banner/components/EasyPages/functions/createNewSitePagesSource.js.map +1 -0
  58. package/lib/banner/components/EasyPages/{devLinks.d.ts → functions/devLinks.d.ts} +2 -2
  59. package/lib/banner/components/EasyPages/functions/devLinks.d.ts.map +1 -0
  60. package/lib/banner/components/EasyPages/{devLinks.js → functions/devLinks.js} +1 -1
  61. package/lib/banner/components/EasyPages/functions/devLinks.js.map +1 -0
  62. package/lib/banner/components/EasyPages/{functions.d.ts → functions/getPagesContent.d.ts} +5 -13
  63. package/lib/banner/components/EasyPages/functions/getPagesContent.d.ts.map +1 -0
  64. package/lib/banner/components/EasyPages/functions/getPagesContent.js +71 -0
  65. package/lib/banner/components/EasyPages/functions/getPagesContent.js.map +1 -0
  66. package/lib/banner/components/EasyPages/interfaces/IEasyPagesPageProps.d.ts +23 -0
  67. package/lib/banner/components/EasyPages/interfaces/IEasyPagesPageProps.d.ts.map +1 -0
  68. package/lib/banner/components/EasyPages/interfaces/IEasyPagesPageProps.js +2 -0
  69. package/lib/banner/components/EasyPages/interfaces/IEasyPagesPageProps.js.map +1 -0
  70. package/lib/banner/components/EasyPages/{epTypes.d.ts → interfaces/epTypes.d.ts} +3 -2
  71. package/lib/banner/components/EasyPages/interfaces/epTypes.d.ts.map +1 -0
  72. package/lib/banner/components/EasyPages/{epTypes.js → interfaces/epTypes.js} +1 -0
  73. package/lib/banner/components/EasyPages/interfaces/epTypes.js.map +1 -0
  74. package/lib/banner/features/ImportExport/BuildExportPropsX.js +1 -1
  75. package/lib/banner/features/ImportExport/BuildExportPropsX.js.map +1 -1
  76. package/lib/banner/features/Tricky/constants.d.ts +2 -0
  77. package/lib/banner/features/Tricky/constants.d.ts.map +1 -1
  78. package/lib/banner/features/Tricky/constants.js +8 -1
  79. package/lib/banner/features/Tricky/constants.js.map +1 -1
  80. package/lib/banner/interfaces/MinWP/IMinBannerUtilityProps.d.ts +1 -0
  81. package/lib/banner/interfaces/MinWP/IMinBannerUtilityProps.d.ts.map +1 -1
  82. package/lib/banner/interfaces/MinWP/IMinBannerUtilityProps.js.map +1 -1
  83. package/lib/banner/interfaces/MinWP/IMinWPBannerProps.d.ts +1 -1
  84. package/lib/banner/interfaces/MinWP/IMinWPBannerProps.d.ts.map +1 -1
  85. package/lib/banner/mainReact/IWebpartBannerProps.d.ts +3 -2
  86. package/lib/banner/mainReact/IWebpartBannerProps.d.ts.map +1 -1
  87. package/lib/banner/propPane/AllDefaultFPSGroups.js +1 -1
  88. package/lib/banner/propPane/AllDefaultFPSGroups.js.map +1 -1
  89. package/lib/common/PropPaneHelp/preconfig/PreConfiguredConstants.js +1 -1
  90. package/lib/common/PropPaneHelp/preconfig/PreConfiguredConstants.js.map +1 -1
  91. package/lib/components/atoms/EasyIcons/SystemIcons/EasyCCSPageIcons.js +1 -1
  92. package/lib/components/atoms/EasyIcons/SystemIcons/EasyCCSPageIcons.js.map +1 -1
  93. package/lib/components/atoms/EasyIcons/SystemIcons/EasySystemLibraryIcons.js +1 -1
  94. package/lib/components/atoms/EasyIcons/SystemIcons/EasySystemLibraryIcons.js.map +1 -1
  95. package/lib/components/atoms/EasyIcons/functions/getEasyIcon.d.ts +1 -1
  96. package/lib/components/atoms/EasyIcons/functions/getEasyIcon.d.ts.map +1 -1
  97. package/lib/components/atoms/EasyIcons/functions/getEasyIcon.js +1 -1
  98. package/lib/components/atoms/EasyIcons/functions/getEasyIcon.js.map +1 -1
  99. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js +1 -1
  100. package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js.map +1 -1
  101. package/package.json +1 -1
  102. package/lib/banner/components/EasyPages/EasyPagesGroup.d.ts +0 -8
  103. package/lib/banner/components/EasyPages/EasyPagesGroup.d.ts.map +0 -1
  104. package/lib/banner/components/EasyPages/EasyPagesGroup.js.map +0 -1
  105. package/lib/banner/components/EasyPages/componentPage.d.ts.map +0 -1
  106. package/lib/banner/components/EasyPages/componentPage.js.map +0 -1
  107. package/lib/banner/components/EasyPages/componentSources.d.ts.map +0 -1
  108. package/lib/banner/components/EasyPages/componentSources.js.map +0 -1
  109. package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.d.ts +0 -4
  110. package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.d.ts.map +0 -1
  111. package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.js.map +0 -1
  112. package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.d.ts +0 -11
  113. package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.d.ts.map +0 -1
  114. package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.js.map +0 -1
  115. package/lib/banner/components/EasyPages/createNewSitePagesSource.d.ts.map +0 -1
  116. package/lib/banner/components/EasyPages/createNewSitePagesSource.js.map +0 -1
  117. package/lib/banner/components/EasyPages/devLinks.d.ts.map +0 -1
  118. package/lib/banner/components/EasyPages/devLinks.js.map +0 -1
  119. package/lib/banner/components/EasyPages/elements.d.ts.map +0 -1
  120. package/lib/banner/components/EasyPages/elements.js.map +0 -1
  121. package/lib/banner/components/EasyPages/epTypes.d.ts.map +0 -1
  122. package/lib/banner/components/EasyPages/epTypes.js.map +0 -1
  123. package/lib/banner/components/EasyPages/functions.d.ts.map +0 -1
  124. package/lib/banner/components/EasyPages/functions.js +0 -151
  125. package/lib/banner/components/EasyPages/functions.js.map +0 -1
  126. /package/lib/banner/components/EasyPages/{elements.d.ts → components/elements.d.ts} +0 -0
@@ -1,151 +0,0 @@
1
- import { sortObjectArrayByStringKeyCollator } from "../../../logic/Arrays/sorting/objects";
2
- //Interfaces
3
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
- import { EasyPagesSysTab } from './epTypes'; //SourceInfo,
5
- import { createBasePerformanceInit, startPerformOp, updatePerformanceEnd } from '../../../components/molecules/Performance/functions';
6
- // import { warnMutuallyExclusive } from 'office-ui-fabric-react';
7
- import { EasyIconObjectDefault, } from "../../../components/atoms/EasyIcons/interfaces/eiTypes";
8
- import { addEasyIcons } from "../../../components/atoms/EasyIcons/functions/getEasyIcon";
9
- import { getSourceItems, } from "../../../pnpjs/SourceItems/getSourceItems";
10
- /**
11
- * This filters first by a meta string and then by text search string
12
- * @param items
13
- * @param MetaFilter
14
- * @param SearchString
15
- * @returns
16
- */
17
- export function compoundArrayFilter(items, MetaFilter, SearchString) {
18
- const SearchStringLc = SearchString.toLocaleLowerCase();
19
- const links = !MetaFilter ? items : items.filter((link) => link.tabs.indexOf(MetaFilter) > -1);
20
- let filtered = [];
21
- if (!SearchStringLc) {
22
- filtered = links;
23
- }
24
- else {
25
- links.map((item) => {
26
- const textFound = !SearchStringLc ? 0 : item.searchTextLC.indexOf(SearchStringLc);
27
- if (textFound > -1)
28
- filtered.push(item);
29
- });
30
- }
31
- return filtered;
32
- }
33
- /**
34
- * This returns only tabs that were found and in the original order provided by props.
35
- * @param sourceProps
36
- * @param items
37
- * @returns
38
- */
39
- export function getUsedTabs(sourceProps, items) {
40
- var _a;
41
- const foundTabs = [];
42
- let showOverFlow = false;
43
- let systemTab = false; // https://github.com/mikezimm/drilldown7/issues/280
44
- items.map(item => {
45
- item.tabs.map(tab => {
46
- if (tab === EasyPagesSysTab) {
47
- systemTab = true; // https://github.com/mikezimm/drilldown7/issues/280
48
- }
49
- else if (foundTabs.indexOf(tab) < 0) {
50
- foundTabs.push(tab);
51
- }
52
- else if (tab === sourceProps.EasyPageOverflowTab) {
53
- showOverFlow = true;
54
- }
55
- });
56
- });
57
- const sortedTabs = [];
58
- (_a = sourceProps.meta1) === null || _a === void 0 ? void 0 : _a.map(tab => { if (foundTabs.indexOf(tab) > -1)
59
- sortedTabs.push(tab); });
60
- if (showOverFlow === true && sourceProps.EasyPageOverflowTab)
61
- sortedTabs.push(sourceProps.EasyPageOverflowTab);
62
- if (systemTab === true)
63
- sortedTabs.push(EasyPagesSysTab); // https://github.com/mikezimm/drilldown7/issues/280
64
- return sortedTabs;
65
- }
66
- export async function getPagesContent(sourceProps, EasyIconObject = EasyIconObjectDefault, parentLink) {
67
- //"List 'Site Pages' does not exist at site with URL
68
- const performance = createBasePerformanceInit(1, false);
69
- performance.ops.fetch1 = startPerformOp('fetch1 - getPages', null, true); // https://github.com/mikezimm/Slick-Sections/issues/69
70
- const fetchResults = await getSourceItems(sourceProps, false, true);
71
- // eslint-disable-next-line @typescript-eslint/no-unused-vars, prefer-const
72
- let { items, errorInfo, } = fetchResults;
73
- if (errorInfo && errorInfo.returnMess.indexOf(`"List 'Site Pages' does not exist`) > 1)
74
- alert(`I'm sorry, this site does NOT have a library Titled 'Site Pages :(`);
75
- performance.ops.fetch1 = updatePerformanceEnd(performance.ops.fetch1, true, items.length);
76
- if (parentLink)
77
- items.push(//'Title','Description','Author/Title','Editor/Title','File/ServerRelativeUrl','BannerImageUrl'
78
- {
79
- Title: '.. ^ Go to Parent Site',
80
- Description: 'Quick link to parent site Home page',
81
- File: { ServerRelativeUrl: parentLink },
82
- type: 'current',
83
- });
84
- performance.ops.analyze1 = startPerformOp('analyze1 - addSearchMeta', null, true); // https://github.com/mikezimm/Slick-Sections/issues/69
85
- items = addEasyIcons(items, sourceProps, EasyIconObject);
86
- performance.ops.analyze1 = updatePerformanceEnd(performance.ops.analyze1, true, items.length);
87
- items = sortObjectArrayByStringKeyCollator(items, 'asc', 'title', true, 'en');
88
- // eslint-disable-next-line no-eval
89
- if (sourceProps.evalFilter)
90
- items = items.filter(item => eval(sourceProps.evalFilter ? sourceProps.evalFilter : '') === true);
91
- console.log(sourceProps.defType, sourceProps.listTitle, items);
92
- return { items: items, performance: performance, errMessage: errorInfo ? errorInfo.returnMess : '' };
93
- }
94
- // const DefaultThumbCCS : string = `https://www.crowcanyon.com/wp-content/uploads/2020/12/NITRO_Studio_Transparent2.png`;
95
- // const DefaultThumbEasyContents : string = `https://cdn.hubblecontent.osi.office.net/m365content/publish/8833527d-1d55-40be-8d14-0e45b17ce81b/thumbnails/large.jpg`;
96
- // const DefaultThumbExtreme : string = `https://cdn.hubblecontent.osi.office.net/m365content/publish/3232a7cd-821f-48bd-bf98-9d84185566a5/thumbnails/large.jpg`;
97
- // const DefaultThumbEarth : string = `https://cdn.hubblecontent.osi.office.net/m365content/publish/a505371c-2fca-4d30-ba21-8e4d36e41e65/thumbnails/large.jpg`;
98
- // export const DefaultSiteLogo : string = `_layouts/15/images/sitepagethumbnail.png`;
99
- // /**
100
- // * This adds Search String and Meta arrays to items
101
- // * @param items
102
- // * @param sourceProps
103
- // * @returns
104
- // */
105
- // export function addSearchMeta ( items: IEasyLink[], sourceProps: ISourcePropsEP, EasyIcons: IEasyIcons ): IEasyLink[] {
106
- // items.map( item => {
107
- // item.tabs = [];
108
- // item.title = item.Title;
109
- // item.description = item.Description;
110
- // item.url = item.File?.ServerRelativeUrl;
111
- // item.imageUrl = item.BannerImageUrl?.Url;
112
- // item.imageDesc = item.BannerImageUrl?.Description;
113
- // // https://github.com/mikezimm/drilldown7/issues/280
114
- // EasyPagesCCSPages.map( ccs => {
115
- // if ( item.url?.toLocaleLowerCase().indexOf( `/${ccs.toLocaleLowerCase()}.aspx` ) > -1 ) { item.imageUrl = DefaultThumbCCS; }
116
- // });
117
- // if ( !item.imageUrl || item.imageUrl.indexOf( DefaultSiteLogo ) > - 1 ) {
118
- // if ( item.title?.indexOf( 'Contents' ) > -1 ) { item.imageUrl = DefaultThumbEasyContents; }
119
- // else if ( item.title?.toLocaleLowerCase().indexOf( 'extreme' ) > -1 ) { item.imageUrl = DefaultThumbExtreme; }
120
- // else if ( item.title === 'Home' ) { item.imageUrl = DefaultThumbEarth; }
121
- // else {
122
- // const EasyIconUrl = getEasyIcon( EasyIcons, item );
123
- // if ( EasyIconUrl ) item.imageUrl = EasyIconUrl ? EasyIconUrl : item.imageUrl; // If one is found, then use it, else use the defaul sitepagelogo
124
- // if ( EasyIconUrl ) item.imageDesc = EasyIconUrl ? `Using EasyIcon:) ${ EasyIconUrl.replace( EasyIconLocation, '' )}` : item.imageDesc; // If one is found, then use it, else use the defaul sitepagelogo
125
- // }
126
- // }
127
- // item.searchTextLC = `${item.Title} || ${item.Description}`.toLocaleLowerCase();
128
- // // https://github.com/mikezimm/drilldown7/issues/280
129
- // EasyPagesSysPages.map( sysPage => {
130
- // if ( item.url?.toLocaleLowerCase().indexOf( `/${sysPage.toLocaleLowerCase()}.aspx` ) > -1 ) { item.tabs.push( EasyPagesSysTab ); }
131
- // });
132
- // //Only add to user tabs if it's NOT a known System page
133
- // if ( sourceProps.meta1 && item.tabs.indexOf( EasyPagesSysTab ) < 0 ) {
134
- // sourceProps.meta1.map( ( tab : string ) => {
135
- // if ( item.searchTextLC.indexOf( tab.toLocaleLowerCase() ) > -1 ) item.tabs.push( tab );
136
- // } );
137
- // }
138
- // });
139
- // items.map( item => {
140
- // if ( item.tabs.length === 0 ) {
141
- // //2023-016: Added check for if there isn't an EasyPages overflow tab on the sourceProps
142
- // if ( sourceProps.EasyPageOverflowTab ) {
143
- // item.tabs.push( sourceProps.EasyPageOverflowTab ) ;
144
- // } else if ( sourceProps.OverflowTab ) {
145
- // item.tabs.push( sourceProps.OverflowTab ) ;
146
- // }
147
- // }
148
- // });
149
- // return items;
150
- // }
151
- //# sourceMappingURL=functions.js.map
@@ -1 +0,0 @@
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