@mikezimm/fps-library-v2 2.0.71 → 2.0.73
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/lib/components/molecules/ProvisioningD/constants/columnsOOTB.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/constants/columnsOOTB.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/constants/columnsOOTB.js +85 -0
- package/lib/components/molecules/ProvisioningD/constants/columnsOOTB.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/functions/replaceTitleWithThisColumn.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/functions/replaceTitleWithThisColumn.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/functions/replaceTitleWithThisColumn.js +17 -0
- package/lib/components/molecules/ProvisioningD/functions/replaceTitleWithThisColumn.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/FPSTemplates.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/FPSTemplates.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/FPSTemplates.js +90 -0
- package/lib/components/molecules/ProvisioningD/interfaces/FPSTemplates.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IDefinedLists.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IDefinedLists.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IDefinedLists.js +3 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IDefinedLists.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IMakeThisList.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IMakeThisList.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IMakeThisList.js +51 -0
- package/lib/components/molecules/ProvisioningD/interfaces/IMakeThisList.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/columnTypes.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/columnTypes.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/columnTypes.js +257 -0
- package/lib/components/molecules/ProvisioningD/interfaces/columnTypes.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/listTypes.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/listTypes.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/listTypes.js +230 -0
- package/lib/components/molecules/ProvisioningD/interfaces/listTypes.js.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/viewTypes.d.ts +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/viewTypes.d.ts.map +1 -0
- package/lib/components/molecules/ProvisioningD/interfaces/viewTypes.js +74 -0
- package/lib/components/molecules/ProvisioningD/interfaces/viewTypes.js.map +1 -0
- package/lib/components/molecules/SpHttp/HubSiteData/fetchMyHubNav.js +1 -1
- package/lib/components/molecules/SpHttp/HubSiteData/fetchMyHubNav.js.map +1 -1
- package/lib/pnpjs/CommandItems/updateItem.js +1 -1
- package/lib/pnpjs/CommandItems/updateItem.js.map +1 -1
- package/lib/pnpjs/Logging/RailConstants.d.ts +5 -3
- package/lib/pnpjs/Logging/RailConstants.d.ts.map +1 -1
- package/lib/pnpjs/Logging/RailConstants.js +5 -3
- package/lib/pnpjs/Logging/RailConstants.js.map +1 -1
- package/lib/pnpjs/Logging/fetch.d.ts +5 -3
- package/lib/pnpjs/Logging/fetch.d.ts.map +1 -1
- package/lib/pnpjs/Logging/fetch.js +5 -3
- package/lib/pnpjs/Logging/fetch.js.map +1 -1
- package/lib/pnpjs/Logging/index.d.ts +0 -1
- package/lib/pnpjs/Logging/index.d.ts.map +1 -1
- package/lib/pnpjs/Logging/index.js +1 -1
- package/lib/pnpjs/Logging/index.js.map +1 -1
- package/lib/pnpjs/Logging/saveAnalytics.d.ts +21 -3
- package/lib/pnpjs/Logging/saveAnalytics.d.ts.map +1 -1
- package/lib/pnpjs/Logging/saveAnalytics.js +23 -5
- package/lib/pnpjs/Logging/saveAnalytics.js.map +1 -1
- package/lib/pnpjs/Logging/saveAssist.d.ts +1 -1
- package/lib/pnpjs/Logging/saveAssist.d.ts.map +1 -1
- package/lib/pnpjs/Logging/saveAssist.js +1 -1
- package/lib/pnpjs/Logging/saveAssist.js.map +1 -1
- package/lib/pnpjs/Logging/saveErrorToLog.d.ts +3 -1
- package/lib/pnpjs/Logging/saveErrorToLog.d.ts.map +1 -1
- package/lib/pnpjs/Logging/saveErrorToLog.js +3 -1
- package/lib/pnpjs/Logging/saveErrorToLog.js.map +1 -1
- package/lib/pnpjs/Logging/{permissionsSave.d.ts → savePermissionAnalytics.d.ts} +5 -2
- package/lib/pnpjs/Logging/savePermissionAnalytics.d.ts.map +1 -0
- package/lib/pnpjs/Logging/{permissionsSave.js → savePermissionAnalytics.js} +5 -2
- package/lib/pnpjs/Logging/savePermissionAnalytics.js.map +1 -0
- package/lib/pnpjs/Logging/{permissions.d.ts → savePermissionHistory.d.ts} +6 -1
- package/lib/pnpjs/Logging/savePermissionHistory.d.ts.map +1 -0
- package/lib/pnpjs/Logging/{permissions.js → savePermissionHistory.js} +10 -5
- package/lib/pnpjs/Logging/savePermissionHistory.js.map +1 -0
- package/lib/pnpjs/Logging/saveProvisioning.d.ts +5 -2
- package/lib/pnpjs/Logging/saveProvisioning.d.ts.map +1 -1
- package/lib/pnpjs/Logging/saveProvisioning.js +7 -10
- package/lib/pnpjs/Logging/saveProvisioning.js.map +1 -1
- package/lib/pnpjs/Navigation/getWebNav.d.ts.map +1 -1
- package/lib/pnpjs/Navigation/getWebNav.js.map +1 -1
- package/lib/pnpjs/Permissions/getListPerms.d.ts +1 -1
- package/lib/pnpjs/Permissions/getListPerms.d.ts.map +1 -1
- package/lib/pnpjs/Permissions/getListPerms.js +1 -1
- package/lib/pnpjs/Permissions/getListPerms.js.map +1 -1
- package/lib/pnpjs/Permissions/getUserListPerms.d.ts +1 -1
- package/lib/pnpjs/Permissions/getUserListPerms.d.ts.map +1 -1
- package/lib/pnpjs/Permissions/getUserListPerms.js +1 -1
- package/lib/pnpjs/Permissions/getUserListPerms.js.map +1 -1
- package/lib/pnpjs/Permissions/getUserListPermsBatch.d.ts +1 -1
- package/lib/pnpjs/Permissions/getUserListPermsBatch.d.ts.map +1 -1
- package/lib/pnpjs/Permissions/getUserListPermsBatch.js +1 -1
- package/lib/pnpjs/Permissions/getUserListPermsBatch.js.map +1 -1
- package/lib/pnpjs/Permissions/getUserWebPerms.d.ts +1 -1
- package/lib/pnpjs/Permissions/getUserWebPerms.d.ts.map +1 -1
- package/lib/pnpjs/Permissions/getUserWebPerms.js +1 -1
- package/lib/pnpjs/Permissions/getUserWebPerms.js.map +1 -1
- package/lib/pnpjs/Permissions/getUserWebPermsBatch.d.ts +1 -1
- package/lib/pnpjs/Permissions/getUserWebPermsBatch.d.ts.map +1 -1
- package/lib/pnpjs/Permissions/getUserWebPermsBatch.js +1 -1
- package/lib/pnpjs/Permissions/getUserWebPermsBatch.js.map +1 -1
- package/lib/pnpjs/Permissions/getWebPerms.d.ts +1 -1
- package/lib/pnpjs/Permissions/getWebPerms.d.ts.map +1 -1
- package/lib/pnpjs/Permissions/getWebPerms.js +1 -1
- package/lib/pnpjs/Permissions/getWebPerms.js.map +1 -1
- package/lib/pnpjs/Users/calls/ensureTheseUsers.d.ts +1 -1
- package/lib/pnpjs/Users/calls/ensureTheseUsers.d.ts.map +1 -1
- package/lib/pnpjs/Users/calls/ensureTheseUsers.js +3 -3
- package/lib/pnpjs/Users/calls/ensureTheseUsers.js.map +1 -1
- package/lib/pnpjs/Users/calls/ensureUserHere.d.ts +1 -1
- package/lib/pnpjs/Users/calls/ensureUserHere.d.ts.map +1 -1
- package/lib/pnpjs/Users/calls/ensureUserHere.js +3 -3
- package/lib/pnpjs/Users/calls/ensureUserHere.js.map +1 -1
- package/lib/pnpjs/Users/calls/ensureUserInfo.js +2 -2
- package/lib/pnpjs/Users/calls/ensureUserInfo.js.map +1 -1
- package/lib/pnpjs/Users/calls/getCurrentUser.d.ts +1 -1
- package/lib/pnpjs/Users/calls/getCurrentUser.d.ts.map +1 -1
- package/lib/pnpjs/Users/calls/getCurrentUser.js +3 -3
- package/lib/pnpjs/Users/calls/getCurrentUser.js.map +1 -1
- package/lib/pnpjs/Users/indexes/EnsureTheseUsers.d.ts +0 -3
- package/lib/pnpjs/Users/indexes/EnsureTheseUsers.d.ts.map +1 -1
- package/lib/pnpjs/Users/indexes/EnsureTheseUsers.js +3 -2
- package/lib/pnpjs/Users/indexes/EnsureTheseUsers.js.map +1 -1
- package/lib/pnpjs/Users/indexes/EnsureUserHere.d.ts +0 -3
- package/lib/pnpjs/Users/indexes/EnsureUserHere.d.ts.map +1 -1
- package/lib/pnpjs/Users/indexes/EnsureUserHere.js +3 -2
- package/lib/pnpjs/Users/indexes/EnsureUserHere.js.map +1 -1
- package/lib/pnpjs/Users/indexes/GetCurrentUser.d.ts +0 -3
- package/lib/pnpjs/Users/indexes/GetCurrentUser.d.ts.map +1 -1
- package/lib/pnpjs/Users/indexes/GetCurrentUser.js +3 -2
- package/lib/pnpjs/Users/indexes/GetCurrentUser.js.map +1 -1
- package/lib/pnpjs/Users/indexes/index.d.ts +0 -7
- package/lib/pnpjs/Users/indexes/index.d.ts.map +1 -1
- package/lib/pnpjs/Users/indexes/index.js +7 -7
- package/lib/pnpjs/Users/indexes/index.js.map +1 -1
- package/lib/pnpjs/Users/logic/createIEnsureUserInfo.d.ts +1 -1
- package/lib/pnpjs/Users/logic/createIEnsureUserInfo.d.ts.map +1 -1
- package/lib/pnpjs/Users/logic/createIEnsureUserInfo.js +2 -2
- package/lib/pnpjs/Users/logic/createIEnsureUserInfo.js.map +1 -1
- package/lib/pnpjs/Users/logic/createISiteUsersInfoObject.js +1 -1
- package/lib/pnpjs/Users/logic/createISiteUsersInfoObject.js.map +1 -1
- package/package.json +2 -2
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.d.ts +0 -18
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.js +0 -85
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.js.map +0 -1
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.d.ts +0 -10
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.js +0 -16
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.js.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.d.ts +0 -36
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.js +0 -76
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.js.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.d.ts +0 -2
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.js +0 -2
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.js.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.d.ts +0 -49
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.js +0 -9
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.js.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.d.ts +0 -251
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.js +0 -38
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.js.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/listTypes.d.ts +0 -169
- package/lib/components/molecules/Provisioning/interfaces/listTypes.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/listTypes.js +0 -51
- package/lib/components/molecules/Provisioning/interfaces/listTypes.js.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.d.ts +0 -67
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.d.ts.map +0 -1
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.js +0 -28
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.js.map +0 -1
- package/lib/pnpjs/Logging/permissions.d.ts.map +0 -1
- package/lib/pnpjs/Logging/permissions.js.map +0 -1
- package/lib/pnpjs/Logging/permissionsSave.d.ts.map +0 -1
- package/lib/pnpjs/Logging/permissionsSave.js.map +0 -1
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
// /**
|
|
2
|
+
// * This file was copied directly from npmFunctions last update and used in:
|
|
3
|
+
// * Easy Contents
|
|
4
|
+
// * Library Provisioning (for labels)
|
|
5
|
+
// *
|
|
6
|
+
// * Changes only include cleaning up imports and removed the [ key: .... ] stuff
|
|
7
|
+
// *
|
|
8
|
+
// */
|
|
9
|
+
// /**
|
|
10
|
+
// * Ensures that the specified list exists in the collection (note: this method not supported for batching)
|
|
11
|
+
// *
|
|
12
|
+
// * @param title The new list's title
|
|
13
|
+
// * @param desc The new list's description
|
|
14
|
+
// * @param template The list template value
|
|
15
|
+
// * @param enableContentTypes If true content types will be allowed and enabled, otherwise they will be disallowed and not enabled
|
|
16
|
+
// * @param additionalSettings Will be passed as part of the list creation body or used to update an existing list
|
|
17
|
+
// */
|
|
18
|
+
// // ensure(title: string, desc?: string, template?: number, enableContentTypes?: boolean, additionalSettings?: Partial<IListInfo>): Promise<IListEnsureResult>;
|
|
19
|
+
// export function notify(statusLog : IServiceLog | any, verb : any, status: any, step : any, f: any, returnField: any, checkValue : any = null, noAlert = false) {
|
|
20
|
+
// if ( f == null ) { f = {name:''} ; }
|
|
21
|
+
// let thisItem = f == null ? null : f.name ? f.name : f.Title;
|
|
22
|
+
// let thisNotify : IServiceLog = {
|
|
23
|
+
// time: (new Date()).toLocaleString() ,
|
|
24
|
+
// verb: verb,
|
|
25
|
+
// step: '',
|
|
26
|
+
// status: '',
|
|
27
|
+
// //status: status,
|
|
28
|
+
// //checkValue: checkValue,
|
|
29
|
+
// };
|
|
30
|
+
// if ( step !== null && step !== undefined ) { thisNotify["step"] = step; }
|
|
31
|
+
// if ( status !== null && status !== undefined ) { thisNotify["status"] = status; }
|
|
32
|
+
// if ( thisItem !== null && thisItem !== undefined ) { thisNotify["item"] = thisItem; }
|
|
33
|
+
// if ( returnField !== null && returnField !== undefined ) { thisNotify["returnField"] = returnField; }
|
|
34
|
+
// if ( checkValue !== null && checkValue !== undefined ) { thisNotify["checkValue"] = checkValue; }
|
|
35
|
+
// //alert(verb + ' ' + f.name + ' ' + status );
|
|
36
|
+
// statusLog.push(thisNotify);
|
|
37
|
+
// return statusLog;
|
|
38
|
+
// }
|
|
39
|
+
// export interface IServiceLog {
|
|
40
|
+
// time: string;
|
|
41
|
+
// step: string;
|
|
42
|
+
// verb: string;
|
|
43
|
+
// status: string;
|
|
44
|
+
// checkValue?: any;
|
|
45
|
+
// returnField?: any;
|
|
46
|
+
// item?: any;
|
|
47
|
+
// }
|
|
48
|
+
// export interface IMyListInfo {
|
|
49
|
+
// webURL?: string;
|
|
50
|
+
// title: string;
|
|
51
|
+
// desc?: string;
|
|
52
|
+
// template?: number;
|
|
53
|
+
// enableContentTypes?: boolean;
|
|
54
|
+
// additionalSettings?: Partial<IListInfo>;
|
|
55
|
+
// }
|
|
56
|
+
// export interface IListInfo {
|
|
57
|
+
// // Added BaseTemplate and Base for compatibility with ApplyTemplateHook
|
|
58
|
+
// BaseTemplate?: number;
|
|
59
|
+
// Base?: number;
|
|
60
|
+
// BaseType?: number; // 1 | 0;
|
|
61
|
+
// // 2023-09-17: Added these from pnpjs IListInfo
|
|
62
|
+
// DefaultViewPath?: any;
|
|
63
|
+
// DefaultViewUrl?: string;
|
|
64
|
+
// EnableRequestSignOff: boolean;
|
|
65
|
+
// EnableVersioning: boolean;
|
|
66
|
+
// EntityTypeName: string;
|
|
67
|
+
// ExemptFromBlockDownloadOfNonViewableFiles: boolean;
|
|
68
|
+
// FileSavePostProcessingEnabled: boolean;
|
|
69
|
+
// ForceCheckout: boolean;
|
|
70
|
+
// HasExternalDataSource: boolean;
|
|
71
|
+
// Hidden: boolean;
|
|
72
|
+
// Id: string;
|
|
73
|
+
// ImagePath: {
|
|
74
|
+
// DecodedUrl: string;
|
|
75
|
+
// };
|
|
76
|
+
// ImageUrl: string;
|
|
77
|
+
// IrmEnabled: boolean;
|
|
78
|
+
// IrmExpire: boolean;
|
|
79
|
+
// IrmReject: boolean;
|
|
80
|
+
// IsApplicationList: boolean;
|
|
81
|
+
// IsCatalog: boolean;
|
|
82
|
+
// IsPrivate: boolean;
|
|
83
|
+
// ItemCount: number;
|
|
84
|
+
// HasUniqueRoleAssignments: boolean;
|
|
85
|
+
// LastItemDeletedDate: string;
|
|
86
|
+
// LastItemModifiedDate: string;
|
|
87
|
+
// LastItemUserModifiedDate: string;
|
|
88
|
+
// ListExperienceOptions: number;
|
|
89
|
+
// ListItemEntityTypeFullName: string;
|
|
90
|
+
// MajorVersionLimit: number;
|
|
91
|
+
// MajorWithMinorVersionsLimit: number;
|
|
92
|
+
// MultipleDataList: boolean;
|
|
93
|
+
// NoCrawl: boolean;
|
|
94
|
+
// ParentWebPath: {
|
|
95
|
+
// DecodedUrl: string;
|
|
96
|
+
// };
|
|
97
|
+
// ParentWebUrl: string;
|
|
98
|
+
// ParserDisabled: boolean;
|
|
99
|
+
// RootFolder?: {
|
|
100
|
+
// Exists: boolean;
|
|
101
|
+
// IsWOPIEnabled: boolean;
|
|
102
|
+
// ItemCount: number;
|
|
103
|
+
// Name: string;
|
|
104
|
+
// ProgID: string | null;
|
|
105
|
+
// ServerRelativeUrl: string;
|
|
106
|
+
// TimeCreated: string;
|
|
107
|
+
// TimeLastModified: string;
|
|
108
|
+
// UniqueId: string;
|
|
109
|
+
// WelcomePage: string;
|
|
110
|
+
// };
|
|
111
|
+
// ServerTemplateCanCreateFolders: boolean;
|
|
112
|
+
// TemplateFeatureId: string;
|
|
113
|
+
// Title: string;
|
|
114
|
+
// UniquePerms?: boolean;
|
|
115
|
+
// }
|
|
116
|
+
// export interface IContentsLists {
|
|
117
|
+
// tabs: string[];
|
|
118
|
+
// lists: {
|
|
119
|
+
// all: IContentsListInfo[];
|
|
120
|
+
// searched: IContentsListInfo[];
|
|
121
|
+
// };
|
|
122
|
+
// }
|
|
123
|
+
// export interface IContentsListInfo {
|
|
124
|
+
// AllowContentTypes?: boolean; //Added to comply with IPermissionList for panel
|
|
125
|
+
// ContentTypesEnabled: boolean;
|
|
126
|
+
// BaseTemplate: number;
|
|
127
|
+
// EntityTypeName: string; //"Projects83List"
|
|
128
|
+
// Title: string;
|
|
129
|
+
// Hidden: boolean;
|
|
130
|
+
// Id: string;
|
|
131
|
+
// Description: string;
|
|
132
|
+
// ItemCount: number;
|
|
133
|
+
// Created: string;
|
|
134
|
+
// HasUniqueRoleAssignments: boolean;
|
|
135
|
+
// LastItemDeletedDate: string;
|
|
136
|
+
// LastItemModifiedDate: string;
|
|
137
|
+
// LastItemUserModifiedDate: string;
|
|
138
|
+
// ParentWebPath: {
|
|
139
|
+
// DecodedUrl: string;
|
|
140
|
+
// };
|
|
141
|
+
// ParentWebUrl: string;
|
|
142
|
+
// listURL: string;
|
|
143
|
+
// railsOffLink: boolean; // true only show link to list when in railsOff mode
|
|
144
|
+
// allowCrazyLink: boolean; // true for going directly to very hidden settings
|
|
145
|
+
// responseIndex: any;
|
|
146
|
+
// //Versioning
|
|
147
|
+
// EnableRequestSignOff: boolean;
|
|
148
|
+
// EnableVersioning: boolean;
|
|
149
|
+
// EnableMinorVersions: boolean;
|
|
150
|
+
// MajorVersionLimit: number;
|
|
151
|
+
// MajorWithMinorVersionsLimit: number;
|
|
152
|
+
// DraftVersionVisibility: number;
|
|
153
|
+
// ForceCheckout: boolean;
|
|
154
|
+
// EnableModeration: boolean;
|
|
155
|
+
// //Advanced Settings
|
|
156
|
+
// ServerTemplateCanCreateFolders: boolean;
|
|
157
|
+
// EnableAttachments: boolean;
|
|
158
|
+
// NoCrawl: boolean;
|
|
159
|
+
// //Custom info
|
|
160
|
+
// UniquePerms?: boolean;
|
|
161
|
+
// searchString: string;
|
|
162
|
+
// modifiedAge?: number; //This will be depricated at some point... replace with modifiedSettingAge
|
|
163
|
+
// modifiedSettingAge?: number; //This may break other webparts... was modifiedAage
|
|
164
|
+
// createdAge?: number;
|
|
165
|
+
// modifiedUserAge?: number;
|
|
166
|
+
// deletedAge?: number;
|
|
167
|
+
// meta?: string[];
|
|
168
|
+
// sort: string;
|
|
169
|
+
// bucketCategory: string;
|
|
170
|
+
// bucketLabel: string;
|
|
171
|
+
// bucketIdx: any;
|
|
172
|
+
// //Backend Info
|
|
173
|
+
// odataEtag: string; //""121""
|
|
174
|
+
// odataId: string; //odata.id: "https://mcclickster.sharepoint.com/sites/Templates/Testing/_api/Web/Lists(guid'd6f45bb5-57d9-436a-a62a-ac9bd2fbffec')"
|
|
175
|
+
// ListItemEntityTypeFullName: string; //: "SP.Data.Projects83ListItem"
|
|
176
|
+
// ImagePath: {
|
|
177
|
+
// DecodedUrl: string;
|
|
178
|
+
// };
|
|
179
|
+
// ImageUrl: string;
|
|
180
|
+
// IrmEnabled: boolean;
|
|
181
|
+
// IrmExpire: boolean;
|
|
182
|
+
// IrmReject: boolean;
|
|
183
|
+
// IsApplicationList: boolean;
|
|
184
|
+
// IsCatalog: boolean;
|
|
185
|
+
// IsPrivate: boolean;
|
|
186
|
+
// TemplateFeatureId: string;
|
|
187
|
+
// //Unknown Props
|
|
188
|
+
// HasExternalDataSource: boolean;
|
|
189
|
+
// ExemptFromBlockDownloadOfNonViewableFiles?: boolean;
|
|
190
|
+
// FileSavePostProcessingEnabled?: boolean;
|
|
191
|
+
// ParserDisabled: boolean;
|
|
192
|
+
// ListExperienceOptions: number;
|
|
193
|
+
// MultipleDataList: boolean;
|
|
194
|
+
// // Here are the parts missing per ChatGPT analysis
|
|
195
|
+
// // // AllowContentTypes: boolean;
|
|
196
|
+
// // AllowDeletion: boolean;
|
|
197
|
+
// BaseType: number; // Ensure BaseType is set to number
|
|
198
|
+
// // // ContentTypesEnabled: boolean;
|
|
199
|
+
// // CrawlNonDefaultViews: boolean;
|
|
200
|
+
// // // Created: string;
|
|
201
|
+
// // CurrentChangeToken: {
|
|
202
|
+
// // StringValue: string;
|
|
203
|
+
// // };
|
|
204
|
+
// // CustomActionElements: {
|
|
205
|
+
// // Type: string;
|
|
206
|
+
// // Version: string;
|
|
207
|
+
// // AnyAttr: any[];
|
|
208
|
+
// // ScriptBlock: string;
|
|
209
|
+
// // CommandUIExtension: {
|
|
210
|
+
// // Any: any[];
|
|
211
|
+
// // };
|
|
212
|
+
// // }[];
|
|
213
|
+
// // DefaultContentApprovalWorkflowId: string;
|
|
214
|
+
// // DefaultDisplayFormUrl: string;
|
|
215
|
+
// // DefaultEditFormUrl: string;
|
|
216
|
+
// // DefaultNewFormUrl: string;
|
|
217
|
+
// // // Description: string;
|
|
218
|
+
// // Direction: string;
|
|
219
|
+
// // DocumentTemplateUrl: string;
|
|
220
|
+
// // // DraftVersionVisibility: number;
|
|
221
|
+
// // // EnableAttachments: boolean;
|
|
222
|
+
// // EnableFolderCreation: boolean;
|
|
223
|
+
// // // EnableMinorVersions: boolean;
|
|
224
|
+
// // // EnableModeration: boolean;
|
|
225
|
+
// // OnQuickLaunch: boolean;
|
|
226
|
+
// // ValidationFormula: string;
|
|
227
|
+
// // ValidationMessage: string;
|
|
228
|
+
// // WriteSecurity: number;
|
|
229
|
+
// }
|
|
230
|
+
//# sourceMappingURL=listTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/listTypes.ts"],"names":[],"mappings":"AACA,MAAM;AACN,8EAA8E;AAC9E,oBAAoB;AACpB,wCAAwC;AACxC,KAAK;AACL,mFAAmF;AACnF,K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AiB;AACjB,4BAA4B;AAC5B,OAAO;AAEP,sBAAsB;AACtB,yBAAyB;AACzB,wBAAwB;AACxB,wBAAwB;AACxB,gCAAgC;AAChC,wBAAwB;AACxB,wBAAwB;AAExB,+BAA+B;AAE/B,oBAAoB;AACpB,oCAAoC;AACpC,yDAAyD;AACzD,6CAA6C;AAC7C,6BAA6B;AAE7B,mCAAmC;AACnC,+BAA+B;AAE/B,uDAAuD;AAEvD,sCAAsC;AACtC,+BAA+B;AAC/B,2DAA2D;AAC3D,wCAAwC;AACxC,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,gCAAgC;AAChC,UAAU;AACV,+BAA+B;AAC/B,yBAAyB;AACzB,4BAA4B;AAC5B,2BAA2B;AAC3B,gCAAgC;AAChC,iCAAiC;AACjC,2BAA2B;AAC3B,cAAc;AACd,YAAY;AACZ,iDAAiD;AACjD,sCAAsC;AACtC,mCAAmC;AACnC,kCAAkC;AAClC,+BAA+B;AAC/B,0BAA0B;AAC1B,oCAAoC;AACpC,0CAA0C;AAC1C,sCAAsC;AACtC,sCAAsC;AACtC,wCAAwC;AACxC,qCAAqC;AACrC,+BAA+B;AAC/B,kCAAkC;AAClC,kCAAkC;AAClC,8BAA8B;AAC9B,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=viewTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/viewTypes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// /**
|
|
2
|
+
// * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
3
|
+
// * Update:: import { IViewInfo } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/views;'
|
|
4
|
+
// */
|
|
5
|
+
// /**
|
|
6
|
+
// * This file was copied directly from npmFunctions last update and used in:
|
|
7
|
+
// * Easy Contents
|
|
8
|
+
// * Library Provisioning (for labels)
|
|
9
|
+
// *
|
|
10
|
+
// * Changes only include cleaning up imports and removed the [ key: .... ] stuff
|
|
11
|
+
// *
|
|
12
|
+
// */
|
|
13
|
+
// // import { IViewInfo } from "@pnp/sp/views/types";
|
|
14
|
+
// import { IViewInfo } from '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/views';
|
|
15
|
+
// import { IMyFieldTypes, } from './columnTypes';
|
|
16
|
+
// export interface MyOperator {
|
|
17
|
+
// q: string;
|
|
18
|
+
// o: string;
|
|
19
|
+
// }
|
|
20
|
+
// /**
|
|
21
|
+
// * Standard query values
|
|
22
|
+
// */
|
|
23
|
+
// export const queryValueCurrentUser = '<Value Type="Integer"><UserID Type="Integer" /></Value>';
|
|
24
|
+
// export function queryValueToday(offSetDays: number | null = null){
|
|
25
|
+
// if ( offSetDays == null || offSetDays === 0 ) {
|
|
26
|
+
// return '<Value Type="DateTime"><Today /></Value>';
|
|
27
|
+
// } else {
|
|
28
|
+
// return '<Value Type="DateTime"><Today OffsetDays="' + offSetDays + '" /></Value>';
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
// export const Eq : MyOperator = { q:'Eq' , o: '='};
|
|
32
|
+
// export const Ne : MyOperator = { q:'Ne' , o: '<>'};
|
|
33
|
+
// export const Gt : MyOperator = { q:'Gt' , o: '>'};
|
|
34
|
+
// export const Geq : MyOperator = { q:'Geq' , o: '>='};
|
|
35
|
+
// export const Lt : MyOperator = { q:'Lt' , o: '<'};
|
|
36
|
+
// export const Leq : MyOperator = { q:'Leq' , o: '<='};
|
|
37
|
+
// export const IsNull : MyOperator = { q:'IsNull' , o: 'IsNull'};
|
|
38
|
+
// export const IsNotNull : MyOperator = { q:'IsNotNull' , o: 'IsNotNull'};
|
|
39
|
+
// export const Contains : MyOperator = { q:'Contains' , o: 'Contains'};
|
|
40
|
+
// export const BeginsWith : MyOperator = { q:'BeginsWith' , o: 'BeginsWith'};
|
|
41
|
+
// export interface IViewOrder {
|
|
42
|
+
// field: string | IMyFieldTypes;
|
|
43
|
+
// asc: true | false;
|
|
44
|
+
// }
|
|
45
|
+
// export interface IViewWhere {
|
|
46
|
+
// field: string | IMyFieldTypes; // Static Name
|
|
47
|
+
// clause: 'Or' | 'And'; //clause
|
|
48
|
+
// oper: MyOperator ; //Operator
|
|
49
|
+
// val: string; //Value
|
|
50
|
+
// }
|
|
51
|
+
// export interface IViewGroupBy {
|
|
52
|
+
// fields?: IViewOrder[];
|
|
53
|
+
// collapse?: boolean;
|
|
54
|
+
// limit?: number;
|
|
55
|
+
// }
|
|
56
|
+
// export type IViewField = IMyFieldTypes | string;
|
|
57
|
+
// export interface IMyView extends Partial<IViewInfo> {
|
|
58
|
+
// Title: string;
|
|
59
|
+
// ServerRelativeUrl?: string; //For creating views, just partial URL with no .aspx
|
|
60
|
+
// RowLimit?: number; //Optional. Default = 30
|
|
61
|
+
// iFields?: IViewField[]; //Interface Objects of ViewFields in array (from columnTypes)
|
|
62
|
+
// wheres?: IViewWhere[];
|
|
63
|
+
// orders?: IViewOrder[];
|
|
64
|
+
// groups?: IViewGroupBy;
|
|
65
|
+
// // 2023-09-15: Added these to improve viewServices logic just adding it to the view itself.
|
|
66
|
+
// foundView?: boolean;
|
|
67
|
+
// actualViewSchema?: string;
|
|
68
|
+
// viewFieldsSchemaString?: string;
|
|
69
|
+
// viewWhereXML?: string;
|
|
70
|
+
// viewOrderByXML?: string;
|
|
71
|
+
// viewGroupByXML?: string;
|
|
72
|
+
// errMess?: string;
|
|
73
|
+
// }
|
|
74
|
+
//# sourceMappingURL=viewTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/viewTypes.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,mEAAmE;AACnE,+FAA+F;AAE/F,MAAM;AAGN,MAAM;AACN,8EAA8E;AAC9E,oBAAoB;AACpB,wCAAwC;AACxC,KAAK;AACL,mFAAmF;AACnF,KAAK;AACL,MAAM;AAEN,sDAAsD;AAEtD,qFAAqF;AACrF,kDAAkD;AAElD,gCAAgC;AAChC,eAAe;AACf,eAAe;AACf,IAAI;AAEJ,MAAM;AACN,2BAA2B;AAC3B,MAAM;AACN,kGAAkG;AAElG,qEAAqE;AAErE,oDAAoD;AACpD,yDAAyD;AACzD,aAAa;AACb,yFAAyF;AACzF,MAAM;AAEN,IAAI;AAEJ,qDAAqD;AACrD,sDAAsD;AACtD,qDAAqD;AACrD,wDAAwD;AACxD,qDAAqD;AACrD,wDAAwD;AACxD,kEAAkE;AAClE,2EAA2E;AAC3E,wEAAwE;AACxE,8EAA8E;AAG9E,gCAAgC;AAChC,mCAAmC;AACnC,uBAAuB;AACvB,IAAI;AAEJ,gCAAgC;AAChC,kDAAkD;AAClD,mCAAmC;AACnC,kCAAkC;AAClC,yBAAyB;AACzB,IAAI;AAEJ,kCAAkC;AAClC,2BAA2B;AAC3B,wBAAwB;AACxB,oBAAoB;AACpB,IAAI;AAEJ,mDAAmD;AAEnD,wDAAwD;AACxD,mBAAmB;AACnB,sFAAsF;AACtF,iDAAiD;AACjD,0FAA0F;AAC1F,2BAA2B;AAC3B,2BAA2B;AAC3B,2BAA2B;AAE3B,iGAAiG;AACjG,yBAAyB;AACzB,+BAA+B;AAC/B,qCAAqC;AACrC,2BAA2B;AAC3B,6BAA6B;AAC7B,6BAA6B;AAC7B,sBAAsB;AAEtB,IAAI"}
|
|
@@ -36,7 +36,7 @@ export async function fetchMyHubNavD(fpsSpService, webUrl) {
|
|
|
36
36
|
// api from chatGPT
|
|
37
37
|
// const apiFetchHubNav: string = `${webUrl}/_api/web/hubSiteData?$select=navigation`;// 9 Works
|
|
38
38
|
const apiFetchHubNav = `${webUrl}/_api/web/HubSiteData(true)`; // 9 Works
|
|
39
|
-
let resultHubNav = await doSpHttpFetchOrPostAndCheck(apiFetchHubNav, 'GET', fpsSpService, '', false, true, 'hub', null);
|
|
39
|
+
let resultHubNav = await doSpHttpFetchOrPostAndCheck(apiFetchHubNav, 'GET', fpsSpService, '', false, true, 'hub', false, null);
|
|
40
40
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
41
|
if (typeof resultHubNav.items === 'string') {
|
|
42
42
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchMyHubNav.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SpHttp/HubSiteData/fetchMyHubNav.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gGAAgG,CAAC;AAInI,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,sEAAsE,CAAC;AAC/H,OAAO,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAcrH;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAE,YAAkC,EAAE,MAAc;IAEtF,IAAI,mBAAmB,GAAyB,EAAG,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;IAC/H,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAE,mBAAmB,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAErF,mBAAmB;IACnB,gGAAgG;IAChG,MAAM,cAAc,GAAW,GAAG,MAAM,6BAA6B,CAAC,CAAA,UAAU;IAEhF,IAAI,YAAY,GAAe,MAAM,2BAA2B,CAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"fetchMyHubNav.js","sourceRoot":"","sources":["../../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AC;SACJ;IACH,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import { convertHelpfullError, } from '@mikezimm/fps-core-v7/lib/logic/Errors/friendly';
|
|
21
21
|
import { updateAnyItem } from '@mikezimm/fps-pnp2/lib/services/sp/update/item';
|
|
22
|
-
import { saveErrorToLog } from '@mikezimm/fps-core-v7/lib/restAPIs/logging/saveErrorToLog';
|
|
22
|
+
import { saveErrorToLog } from '@mikezimm/fps-core-v7/lib/restAPIs/logging/Errors/saveErrorToLog';
|
|
23
23
|
import { CommandUpdateFailedMessage } from '@mikezimm/fps-core-v7/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands';
|
|
24
24
|
import { startPerformOpV2, updatePerformanceEndV2 } from '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions';
|
|
25
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateItem.js","sourceRoot":"","sources":["../../../src/pnpjs/CommandItems/updateItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,oBAAoB,GAAG,MAAM,iDAAiD,CAAC;AAExF,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAI/E,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"updateItem.js","sourceRoot":"","sources":["../../../src/pnpjs/CommandItems/updateItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,oBAAoB,GAAG,MAAM,iDAAiD,CAAC;AAExF,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAI/E,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAC;AAElI,OAAO,EAAE,g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KAAK,EAAE,CAAC;QAC9J,WAAW,CAAC,SAAS,GAAG,oBAAoB,CAAE,WAAW,CAAC,UAAU,CAAE,CAAC;QAEvE,cAAc,CAAE,WAAW,CAAC,SAAS,EAAE,WAAW,CAAC,UAAU,EAAE,WAAW,CAAC,YAAY,CAAE,CAAC;QAE1F,IAAI,UAAU,GAAG,GAAG,0BAA0B,MAAM,WAAW,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;QAErF,IAAI,WAAW,CAAC,OAAO,EAAE;YACvB,KAAK,CAAC,GAAG,0BAA0B,KAAK,WAAW,CAAC,OAAO,KAAK,UAAU,EAAE,CAAC,CAAC;SAC/E;QACD,OAAO,CAAC,GAAG,CAAC,GAAG,0BAA0B,KAAK,WAAW,CAAC,UAAU,KAAK,UAAU,EAAE,CAAC,CAAC;KAExF;SAAM;QACL,KAAK,CAAG,6CAA8C,aAAa,CAAC,MAAO,EAAE,CAAC,CAAC;KAChF;IAED,uDAAuD;IACvD,IAAK,CAAC,WAAW,CAAC,qBAAqB;QAAG,WAAW,CAAC,qBAAqB,GAAG,EAAE,CAAC;IACjF,WAAW,CAAC,qBAAqB,CAAC,IAAI,GAAG,sBAAsB,CAAE,EAAE,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAEpH,WAAW,CAAC,MAAM,GAAG,WAAW,CAAC,qBAAqB,CAAC,IAAI,CAAC;IAE5D,OAAO,WAAW,CAAC;AAErB,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Be sure to update your analyticsList and analyticsWeb in en-us.js strings file
|
|
3
3
|
|
|
4
|
+
import { ApplyTemplate_Rail_SaveTitle } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/interfaces/RailConstants";
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ApplyTemplate_Rail_SaveTitleD = "Apply Template Rail";
|
|
8
|
+
export declare const ApplyTemplate_Page_SaveTitleD = "Apply Template Page";
|
|
9
|
+
export declare const ProvisionListsSaveTitleD = "Provision Lists";
|
|
8
10
|
//# sourceMappingURL=RailConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RailConstants.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/RailConstants.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"RailConstants.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/RailConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;AACnE,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;AACnE,eAAO,MAAM,wBAAwB,oBAAoB,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Be sure to update your analyticsList and analyticsWeb in en-us.js strings file
|
|
3
3
|
|
|
4
|
+
import { ApplyTemplate_Rail_SaveTitle } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/interfaces/RailConstants";
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
7
|
+
export const ApplyTemplate_Rail_SaveTitleD = 'Apply Template Rail';
|
|
8
|
+
export const ApplyTemplate_Page_SaveTitleD = 'Apply Template Page';
|
|
9
|
+
export const ProvisionListsSaveTitleD = 'Provision Lists';
|
|
8
10
|
//# sourceMappingURL=RailConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RailConstants.js","sourceRoot":"","sources":["../../../src/pnpjs/Logging/RailConstants.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"RailConstants.js","sourceRoot":"","sources":["../../../src/pnpjs/Logging/RailConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AACnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AACnE,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC"}
|
|
@@ -9,16 +9,18 @@
|
|
|
9
9
|
import { IRailAnalytics } from '@mikezimm/fps-core-v7/lib/logic/Arrays/grouping';
|
|
10
10
|
import { IFpsSpHttpServiceMIN } from '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* 2025-01-03: MOVED
|
|
13
|
+
* import { getAnalyticsAPI } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/getAnalyticsAPI";
|
|
14
14
|
*
|
|
15
15
|
* IN place of this, review fetchAnalytics from EasyAnalytics, BUT just update the restFilter and top number
|
|
16
16
|
*
|
|
17
|
+
*
|
|
18
|
+
*
|
|
17
19
|
* @param analyticsWeb
|
|
18
20
|
* @param analyticsList
|
|
19
21
|
* @param WebID
|
|
20
22
|
* @param ListID
|
|
21
23
|
* @param fetchOnlyThisList : Set to true in order to add the list ID to the rest filter to return only relavent items
|
|
22
24
|
*/
|
|
23
|
-
export declare function
|
|
25
|
+
export declare function fetchAnalyticsDD(fpsSpService: IFpsSpHttpServiceMIN, analyticsWeb: string, analyticsList: string, WebID: string, ListID: string | null, fetchOnlyThisList: boolean, theseColumns: any[], top: number, baseErrorTrace: string): Promise<IRailAnalytics[]>;
|
|
24
26
|
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAoBH,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAKjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+EAA+E,CAAC;AAErH
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAoBH,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAKjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+EAA+E,CAAC;AAErH;;;;;;;;;;;;;GAaG;AAEH,wBAAsB,gBAAgB,CAAE,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAW,EAChK,iBAAiB,EAAE,OAAe,EAAE,YAAY,EAAE,GAAG,EAAO,EAAE,GAAG,EAAE,MAAa,EAAE,cAAc,EAAE,MAAM,6BA2D3G"}
|
|
@@ -25,18 +25,20 @@ import { makeAbsoluteUrl } from '@mikezimm/fps-core-v7/lib/logic/Strings/getSite
|
|
|
25
25
|
import { checkItemsResults } from '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckWService/CheckItemsResults';
|
|
26
26
|
import { getExpandColumns } from '@mikezimm/fps-core-v7/lib/components/molecules/source-props/Lists/getVX/getExpandV2'; //./Lists/getVX/getExpandV2';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* 2025-01-03: MOVED
|
|
29
|
+
* import { getAnalyticsAPI } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/getAnalyticsAPI";
|
|
30
30
|
*
|
|
31
31
|
* IN place of this, review fetchAnalytics from EasyAnalytics, BUT just update the restFilter and top number
|
|
32
32
|
*
|
|
33
|
+
*
|
|
34
|
+
*
|
|
33
35
|
* @param analyticsWeb
|
|
34
36
|
* @param analyticsList
|
|
35
37
|
* @param WebID
|
|
36
38
|
* @param ListID
|
|
37
39
|
* @param fetchOnlyThisList : Set to true in order to add the list ID to the rest filter to return only relavent items
|
|
38
40
|
*/
|
|
39
|
-
export async function
|
|
41
|
+
export async function fetchAnalyticsDD(fpsSpService, analyticsWeb, analyticsList, WebID, ListID = null, fetchOnlyThisList = false, theseColumns = [], top = 5000, baseErrorTrace) {
|
|
40
42
|
//Do nothing if either of these strings is blank
|
|
41
43
|
if (!analyticsList) {
|
|
42
44
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.js","sourceRoot":"","sources":["../../../src/pnpjs/Logging/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;GASG;AAEH;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAGtF,OAAO,EAAE,eAAe,EAAE,MAAM,sEAAsE,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gGAAgG,CAAC;AAEnI,OAAO,EAAE,gBAAgB,EAAE,MAAM,qFAAqF,CAAC,CAAC,6BAA6B;AAGrJ
|
|
1
|
+
{"version":3,"file":"fetch.js","sourceRoot":"","sources":["../../../src/pnpjs/Logging/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;GASG;AAEH;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAGtF,OAAO,EAAE,eAAe,EAAE,MAAM,sEAAsE,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gGAAgG,CAAC;AAEnI,OAAO,EAAE,gBAAgB,EAAE,MAAM,qFAAqF,CAAC,CAAC,6BAA6B;AAGrJ;;;;;;;;;;;;;GAaG;AAEH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAE,YAAkC,EAAE,YAAoB,EAAE,aAAqB,EAAE,KAAa,EAAE,SAAwB,IAAI,EAChK,oBAA6B,KAAK,EAAE,eAAsB,EAAE,EAAE,MAAc,IAAI,EAAE,cAAsB;IAE1G,gDAAgD;IAChD,IAAI,CAAC,aAAa,EAAE;QAA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SAAS,EAAE,aAAa;QACxB,UAAU,EAAE,UAAU;QACtB,UAAU,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,CAAC,CAAC,GAAG;QAC5B,WAAW,EAAE,UAAU;QACvB,WAAW,EAAE,UAAU;QACvB,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACd,IAAI,EAAE,IAAI;YACV,GAAG,EAAE,KAAK;SACX;QACD,OAAO,EAAE,OAAO;QAChB,UAAU,EAAE,UAAU;KACvB,CAAA;IAED,MAAM,aAAa,GAAG,MAAM,cAAc,CAAE,UAAU,CAAE,CAAC;IAEzD,MAAM,MAAM,GAAqB,iBAAiB,CAAE,YAAY,EAAE,aAAgC,EAAE,qCAAqC,EAAE,OAAO,EAAE,UAAU,CAAE,CAAC;IACjK,MAAM,CAAC,cAAc,CAAC,IAAI,CAAE,MAAM,CAAE,CAAC;IAErC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IAErB,OAAO,KAAK,CAAE;AAEhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { saveErrorToLog } from './saveErrorToLog';
|
|
1
|
+
// export { saveErrorToLog } from './saveErrorToLog';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pnpjs/Logging/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pnpjs/Logging/index.ts"],"names":[],"mappings":"AAAA,qDAAqD"}
|
|
@@ -48,20 +48,38 @@ export declare function getMinPerformanceString(performanceObj: ILoadPerformance
|
|
|
48
48
|
export declare function getMinPerformance(performanceObj: ILoadPerformance, capMS?: number, capValue?: any): IMinPerformance;
|
|
49
49
|
/**
|
|
50
50
|
* saveAnalytics4 is the same as 3 except you do not need the WebUrl... it's either Legacy or New depending on the tenant
|
|
51
|
+
*
|
|
52
|
+
* * 2025-01-03: MOVED
|
|
53
|
+
* import { saveAnalytics4 } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/saveAnalyticsAPI";
|
|
54
|
+
*
|
|
51
55
|
* @param analyticsList
|
|
52
56
|
* @param saveObject
|
|
53
57
|
* @param muteConsole
|
|
54
58
|
* @param language
|
|
55
59
|
*/
|
|
56
|
-
export declare function
|
|
60
|
+
export declare function saveAnalytics4D(fpsSpService: IFpsSpHttpServiceMIN, analyticsList: string, saveObject: IZSentAnalytics, muteConsole: boolean, language?: string): void;
|
|
57
61
|
/**
|
|
58
62
|
* Same as 2 but also adds the language to the object
|
|
63
|
+
*
|
|
64
|
+
* 2025-01-03: MOVED
|
|
65
|
+
* import { saveAnalytics3 } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/saveAnalyticsAPI";
|
|
66
|
+
*
|
|
67
|
+
* @param analyticsWeb
|
|
68
|
+
* @param analyticsList
|
|
69
|
+
* @param saveObject
|
|
70
|
+
* @param muteConsole
|
|
71
|
+
*/
|
|
72
|
+
export declare function saveAnalytics3D(fpsSpService: IFpsSpHttpServiceMIN, analyticsWeb: string, analyticsList: string, saveObject: IZSentAnalytics, muteConsole: boolean, language?: string): void;
|
|
73
|
+
/**
|
|
74
|
+
* 2025-01-03: MOVED
|
|
75
|
+
* import { saveAnalytics2 } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/saveAnalyticsAPI";
|
|
76
|
+
*
|
|
77
|
+
* @param fpsSpService
|
|
59
78
|
* @param analyticsWeb
|
|
60
79
|
* @param analyticsList
|
|
61
80
|
* @param saveObject
|
|
62
81
|
* @param muteConsole
|
|
63
82
|
*/
|
|
64
|
-
export declare function
|
|
65
|
-
export declare function saveAnalytics2(fpsSpService: IFpsSpHttpServiceMIN, analyticsWeb: string, analyticsList: string, saveObject: IZSentAnalytics, muteConsole: boolean): Promise<void>;
|
|
83
|
+
export declare function saveAnalytics2D(fpsSpService: IFpsSpHttpServiceMIN, analyticsWeb: string, analyticsList: string, saveObject: IZSentAnalytics, muteConsole: boolean): Promise<void>;
|
|
66
84
|
export declare function getAspectRatio(width: number, height: number): string;
|
|
67
85
|
//# sourceMappingURL=saveAnalytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveAnalytics.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/saveAnalytics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;GAgBG;AAEH;;;GAGG;AAEH,OAAO,EAAmB,eAAe,EAAE,MAAM,gFAAgF,CAAC;AAIlI,OAAO,EAAE,gBAAgB,EAAE,MAAM,yEAAyE,CAAC;AAC3G,OAAO,EAAE,eAAe,EAAsC,MAAM,yEAAyE,CAAC;AAiB9I,OAAO,EAAE,oBAAoB,EAAE,MAAM,+EAA+E,CAAC;AAErH,wBAAgB,uBAAuB,CAAE,cAAc,EAAE,gBAAgB,EAAE,KAAK,GAAE,MAAa,EAAE,QAAQ,GAAE,GAAe,GAAK,MAAM,CAWpI;AAED;;;;;;GAMG;AAEH,wBAAgB,iBAAiB,CAAE,cAAc,EAAE,gBAAgB,EAAE,KAAK,GAAE,MAAa,EAAE,QAAQ,GAAE,GAAe,GAAM,eAAe,CAiDxI;AAED
|
|
1
|
+
{"version":3,"file":"saveAnalytics.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Logging/saveAnalytics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;GAgBG;AAEH;;;GAGG;AAEH,OAAO,EAAmB,eAAe,EAAE,MAAM,gFAAgF,CAAC;AAIlI,OAAO,EAAE,gBAAgB,EAAE,MAAM,yEAAyE,CAAC;AAC3G,OAAO,EAAE,eAAe,EAAsC,MAAM,yEAAyE,CAAC;AAiB9I,OAAO,EAAE,oBAAoB,EAAE,MAAM,+EAA+E,CAAC;AAErH,wBAAgB,uBAAuB,CAAE,cAAc,EAAE,gBAAgB,EAAE,KAAK,GAAE,MAAa,EAAE,QAAQ,GAAE,GAAe,GAAK,MAAM,CAWpI;AAED;;;;;;GAMG;AAEH,wBAAgB,iBAAiB,CAAE,cAAc,EAAE,gBAAgB,EAAE,KAAK,GAAE,MAAa,EAAE,QAAQ,GAAE,GAAe,GAAM,eAAe,CAiDxI;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAG,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,QAGhK;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAG,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,QAoBtL;AAED;;;;;;;;;GASG;AACH,wBAAsB,eAAe,CAAG,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,iBA6MzK;AAED,wBAAgB,cAAc,CAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UA0B5D"}
|
|
@@ -83,23 +83,31 @@ export function getMinPerformance(performanceObj, capMS = 7000, capValue = 'paus
|
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* saveAnalytics4 is the same as 3 except you do not need the WebUrl... it's either Legacy or New depending on the tenant
|
|
86
|
+
*
|
|
87
|
+
* * 2025-01-03: MOVED
|
|
88
|
+
* import { saveAnalytics4 } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/saveAnalyticsAPI";
|
|
89
|
+
*
|
|
86
90
|
* @param analyticsList
|
|
87
91
|
* @param saveObject
|
|
88
92
|
* @param muteConsole
|
|
89
93
|
* @param language
|
|
90
94
|
*/
|
|
91
|
-
export function
|
|
95
|
+
export function saveAnalytics4D(fpsSpService, analyticsList, saveObject, muteConsole, language) {
|
|
92
96
|
saveObject.AnalyticsVersion = 'saveAnalytics4';
|
|
93
|
-
|
|
97
|
+
saveAnalytics3D(fpsSpService, AnalyticsWeb, `${analyticsList}`, saveObject, muteConsole, language);
|
|
94
98
|
}
|
|
95
99
|
/**
|
|
96
100
|
* Same as 2 but also adds the language to the object
|
|
101
|
+
*
|
|
102
|
+
* 2025-01-03: MOVED
|
|
103
|
+
* import { saveAnalytics3 } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/saveAnalyticsAPI";
|
|
104
|
+
*
|
|
97
105
|
* @param analyticsWeb
|
|
98
106
|
* @param analyticsList
|
|
99
107
|
* @param saveObject
|
|
100
108
|
* @param muteConsole
|
|
101
109
|
*/
|
|
102
|
-
export function
|
|
110
|
+
export function saveAnalytics3D(fpsSpService, analyticsWeb, analyticsList, saveObject, muteConsole, language) {
|
|
103
111
|
const fpsWindow = window;
|
|
104
112
|
if (language && language.length > 0) {
|
|
105
113
|
saveObject.language = navigator.language;
|
|
@@ -113,9 +121,19 @@ export function saveAnalytics3(fpsSpService, analyticsWeb, analyticsList, saveOb
|
|
|
113
121
|
if (fpsWindow.FPSUser)
|
|
114
122
|
saveObject.FPSUser = fpsWindow.FPSUser.simple;
|
|
115
123
|
saveObject.AnalyticsVersion = saveObject.AnalyticsVersion ? saveObject.AnalyticsVersion : 'saveAnalytics3';
|
|
116
|
-
|
|
124
|
+
saveAnalytics2D(fpsSpService, analyticsWeb, analyticsList, saveObject, muteConsole);
|
|
117
125
|
}
|
|
118
|
-
|
|
126
|
+
/**
|
|
127
|
+
* 2025-01-03: MOVED
|
|
128
|
+
* import { saveAnalytics2 } from "@mikezimm/fps-core-v7/lib/restAPIs/Logging/Analytics/saveAnalyticsAPI";
|
|
129
|
+
*
|
|
130
|
+
* @param fpsSpService
|
|
131
|
+
* @param analyticsWeb
|
|
132
|
+
* @param analyticsList
|
|
133
|
+
* @param saveObject
|
|
134
|
+
* @param muteConsole
|
|
135
|
+
*/
|
|
136
|
+
export async function saveAnalytics2D(fpsSpService, analyticsWeb, analyticsList, saveObject, muteConsole) {
|
|
119
137
|
let saveOjbectCopy = saveObject ? JSON.parse(JSON.stringify(saveObject)) : {};
|
|
120
138
|
let finalSaveObject = saveOjbectCopy;
|
|
121
139
|
finalSaveObject.AnalyticsVersion = finalSaveObject.AnalyticsVersion ? finalSaveObject.AnalyticsVersion : 'saveAnalytics2';
|