@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 @@
|
|
|
1
|
+
//# sourceMappingURL=columnsOOTB.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnsOOTB.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/constants/columnsOOTB.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// /**
|
|
2
|
+
// * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
3
|
+
// * Update:: import { FieldUserSelectionMode } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
4
|
+
// */
|
|
5
|
+
// // >>>> ADD import additional controls/components
|
|
6
|
+
// // import { FieldUserSelectionMode, } from "@pnp/sp/fields/types";
|
|
7
|
+
// import { FieldUserSelectionMode } from '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields';
|
|
8
|
+
// import {ITextField , INumberField ,IDateTimeField , IUserField, IMyFieldTypes } from '../interfaces/columnTypes';
|
|
9
|
+
// import { cCount, cInt, cDate, cText, cNumb, cComputed } from '../interfaces/columnTypes';
|
|
10
|
+
// // import { ootbID, ootbTitle, ootbEditor, ootbAuthor, ootbCreated, ootbModified, } from './columnsOOTB';
|
|
11
|
+
// /***
|
|
12
|
+
// * .d8b. d8888b. d8888b. d888b d8888b. .d88b. db db d8888b. d8b db .d8b. .88b d88. d88888b
|
|
13
|
+
// * d8' `8b 88 `8D 88 `8D 88' Y8b 88 `8D .8P Y8. 88 88 88 `8D 888o 88 d8' `8b 88'YbdP`88 88'
|
|
14
|
+
// * 88ooo88 88 88 88 88 88 88oobY' 88 88 88 88 88oodD' 88V8o 88 88ooo88 88 88 88 88ooooo
|
|
15
|
+
// * 88~~~88 88 88 88 88 88 ooo 88`8b 88 88 88 88 88~~~ 88 V8o88 88~~~88 88 88 88 88~~~~~
|
|
16
|
+
// * 88 88 88 .8D 88 .8D 88. ~8~ 88 `88. `8b d8' 88b d88 88 88 V888 88 88 88 88 88 88.
|
|
17
|
+
// * YP YP Y8888D' Y8888D' Y888P 88 YD `Y88P' ~Y8888P' 88 VP V8P YP YP YP YP YP Y88888P
|
|
18
|
+
// *
|
|
19
|
+
// *
|
|
20
|
+
// */
|
|
21
|
+
// const thisColumnGroup = 'Custom Columns';
|
|
22
|
+
// const defGroup = {
|
|
23
|
+
// Group: thisColumnGroup,
|
|
24
|
+
// };
|
|
25
|
+
// export const ootbID : ITextField = {
|
|
26
|
+
// fieldType: cCount,
|
|
27
|
+
// name: 'ID',
|
|
28
|
+
// title: 'ID',
|
|
29
|
+
// onCreateProps: defGroup,
|
|
30
|
+
// };
|
|
31
|
+
// export const ootbVersion : INumberField = {
|
|
32
|
+
// fieldType: cNumb,
|
|
33
|
+
// name: '_UIVersionString',
|
|
34
|
+
// title: 'UI Version',
|
|
35
|
+
// onCreateProps: defGroup,
|
|
36
|
+
// };
|
|
37
|
+
// // NOTE: This was created but not tested... DO NOT HAVE IComputedField interface yet
|
|
38
|
+
// export const ootbLinkFilename : ITextField = {
|
|
39
|
+
// fieldType: cComputed,
|
|
40
|
+
// name: 'LinkFilename',
|
|
41
|
+
// title: 'FileName',
|
|
42
|
+
// // onCreateProps: defGroup,
|
|
43
|
+
// };
|
|
44
|
+
// export const ootbTitle : ITextField = {
|
|
45
|
+
// fieldType: cText,
|
|
46
|
+
// name: 'Title',
|
|
47
|
+
// title: 'Title',
|
|
48
|
+
// onCreateProps: defGroup,
|
|
49
|
+
// };
|
|
50
|
+
// export const ootbEditor : IUserField = {
|
|
51
|
+
// fieldType: cInt,
|
|
52
|
+
// selectionMode: FieldUserSelectionMode.PeopleOnly,
|
|
53
|
+
// name: 'Editor',
|
|
54
|
+
// title: 'Modified By',
|
|
55
|
+
// onCreateProps: defGroup,
|
|
56
|
+
// };
|
|
57
|
+
// export const ootbAuthor : IUserField = {
|
|
58
|
+
// fieldType: cInt,
|
|
59
|
+
// selectionMode: FieldUserSelectionMode.PeopleOnly,
|
|
60
|
+
// name: 'Author',
|
|
61
|
+
// title: 'Created By',
|
|
62
|
+
// onCreateProps: defGroup,
|
|
63
|
+
// };
|
|
64
|
+
// export const ootbCreated : IDateTimeField = {
|
|
65
|
+
// fieldType: cDate,
|
|
66
|
+
// name: 'Created',
|
|
67
|
+
// title: 'Created',
|
|
68
|
+
// onCreateProps: defGroup,
|
|
69
|
+
// };
|
|
70
|
+
// export const ootbModified : IDateTimeField = {
|
|
71
|
+
// fieldType: cDate,
|
|
72
|
+
// name: 'Modified',
|
|
73
|
+
// title: 'Modified',
|
|
74
|
+
// onCreateProps: defGroup,
|
|
75
|
+
// };
|
|
76
|
+
// export const RecentCreatedViewColumns: IMyFieldTypes[] = [
|
|
77
|
+
// ootbAuthor, ootbCreated,
|
|
78
|
+
// ];
|
|
79
|
+
// export const RecentModifiedViewColumns: IMyFieldTypes[] = [
|
|
80
|
+
// ootbEditor, ootbModified,
|
|
81
|
+
// ];
|
|
82
|
+
// export const AllRecentUpdatesViewColumns: IMyFieldTypes[] = [
|
|
83
|
+
// ootbAuthor, ootbCreated, ootbEditor, ootbModified,
|
|
84
|
+
// ];
|
|
85
|
+
//# sourceMappingURL=columnsOOTB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnsOOTB.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/constants/columnsOOTB.ts"],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|
|
|
1
|
+
//# sourceMappingURL=replaceTitleWithThisColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replaceTitleWithThisColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/functions/replaceTitleWithThisColumn.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// import { ootbLinkFilename } from '../constants/columnsOOTB';
|
|
2
|
+
// import { IMyFieldDefStringOrDef, IMyFieldTypes } from '../interfaces/columnTypes';
|
|
3
|
+
// /**
|
|
4
|
+
// * replaceTitleWithThisColumn will replace the 'Title' column with any other column in an array of fields.
|
|
5
|
+
// * By default, it will replace Title with the LinkFileName since that is the most common replacement for a library.
|
|
6
|
+
// * @param currentFields
|
|
7
|
+
// * @param replacementField
|
|
8
|
+
// * @returns
|
|
9
|
+
// */
|
|
10
|
+
// export function replaceTitleWithThisColumn(currentFields: IMyFieldDefStringOrDef[], replacementField: IMyFieldTypes = ootbLinkFilename ): IMyFieldDefStringOrDef[] {
|
|
11
|
+
// const result: IMyFieldDefStringOrDef[] = [];
|
|
12
|
+
// currentFields.map((field: IMyFieldTypes) => {
|
|
13
|
+
// result.push( field.name !== 'Title' ? field : replacementField ); }
|
|
14
|
+
// );
|
|
15
|
+
// return result;
|
|
16
|
+
// }
|
|
17
|
+
//# sourceMappingURL=replaceTitleWithThisColumn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replaceTitleWithThisColumn.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/functions/replaceTitleWithThisColumn.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,qFAAqF;AAErF,MAAM;AACN,6GAA6G;AAC7G,yHAAyH;AACzH,0BAA0B;AAC1B,6BAA6B;AAC7B,cAAc;AACd,MAAM;AACN,uKAAuK;AACvK,iDAAiD;AACjD,kDAAkD;AAClD,0EAA0E;AAC1E,OAAO;AACP,mBAAmB;AACnB,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FPSTemplates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FPSTemplates.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/FPSTemplates.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// export type IValidTemplate = 100 | 101;
|
|
2
|
+
// // IProvisionableFPSlates must match exactly with the BaseTemplate property of IFPSListTemplate
|
|
3
|
+
// export type IProvisionableFPSlates = 100 | 101 | 119 | 850;
|
|
4
|
+
// export type IFPSBaseTypeText = 'List' | 'Library';
|
|
5
|
+
// export interface IFPSListTemplate {
|
|
6
|
+
// Base: 0 | 1;
|
|
7
|
+
// BaseTemplate: number;
|
|
8
|
+
// BaseText: IFPSBaseTypeText;
|
|
9
|
+
// Title: string;
|
|
10
|
+
// AKA: string; // Also known as this
|
|
11
|
+
// Description: string;
|
|
12
|
+
// Modern: boolean;
|
|
13
|
+
// }
|
|
14
|
+
// export const FPSListTemplate: IFPSListTemplate = {
|
|
15
|
+
// Base: 0,
|
|
16
|
+
// BaseText: 'List',
|
|
17
|
+
// BaseTemplate: 100,
|
|
18
|
+
// Title: 'Modern List',
|
|
19
|
+
// AKA: 'Custom List',
|
|
20
|
+
// Description: 'Default List',
|
|
21
|
+
// Modern: true,
|
|
22
|
+
// };
|
|
23
|
+
// export const FPSLibTemplate: IFPSListTemplate = {
|
|
24
|
+
// Base: 1,
|
|
25
|
+
// BaseText: 'Library',
|
|
26
|
+
// BaseTemplate: 101,
|
|
27
|
+
// Title: 'Modern Documents',
|
|
28
|
+
// AKA: 'Shared Documents',
|
|
29
|
+
// Description: 'Default Documents Library',
|
|
30
|
+
// Modern: true,
|
|
31
|
+
// };
|
|
32
|
+
// export const FPSSitePagesTemplate: IFPSListTemplate = {
|
|
33
|
+
// Base: 1,
|
|
34
|
+
// BaseText: 'Library',
|
|
35
|
+
// BaseTemplate: 119,
|
|
36
|
+
// Title: 'Site Pages',
|
|
37
|
+
// AKA: 'Site Pages',
|
|
38
|
+
// Description: 'Modern Site Pages library',
|
|
39
|
+
// Modern: true,
|
|
40
|
+
// };
|
|
41
|
+
// export const FPSPageLibTemplate: IFPSListTemplate = {
|
|
42
|
+
// Base: 1,
|
|
43
|
+
// BaseText: 'Library',
|
|
44
|
+
// BaseTemplate: 850,
|
|
45
|
+
// Title: 'Pages',
|
|
46
|
+
// AKA: 'Pages',
|
|
47
|
+
// Description: 'Classic Pages library',
|
|
48
|
+
// Modern: false,
|
|
49
|
+
// };
|
|
50
|
+
// export const FPSAssetLibTemplate: IFPSListTemplate = {
|
|
51
|
+
// Base: 1,
|
|
52
|
+
// BaseText: 'Library',
|
|
53
|
+
// BaseTemplate: 851,
|
|
54
|
+
// Title: 'Asset Library',
|
|
55
|
+
// AKA: 'Asset Library',
|
|
56
|
+
// Description: 'Asset Library provisionable via Powershell',
|
|
57
|
+
// Modern: false,
|
|
58
|
+
// };
|
|
59
|
+
// export const FPSCommonTemplates: IFPSListTemplate[] = [
|
|
60
|
+
// FPSListTemplate,
|
|
61
|
+
// FPSLibTemplate,
|
|
62
|
+
// FPSSitePagesTemplate,
|
|
63
|
+
// FPSPageLibTemplate,
|
|
64
|
+
// FPSAssetLibTemplate,
|
|
65
|
+
// ];
|
|
66
|
+
// export const FPSProvisionableTemplates: IFPSListTemplate[] = [
|
|
67
|
+
// FPSListTemplate,
|
|
68
|
+
// FPSLibTemplate,
|
|
69
|
+
// FPSSitePagesTemplate,
|
|
70
|
+
// // FPSPageLibTemplate,
|
|
71
|
+
// // FPSAssetLibTemplate,
|
|
72
|
+
// ];
|
|
73
|
+
// export const FPSProvisionalbeBaseTemplates = FPSProvisionableTemplates.map( ( template ) => { return template.BaseTemplate } );
|
|
74
|
+
// export const FPSUnCommonFPSlates: IFPSListTemplate[] = [
|
|
75
|
+
// ];
|
|
76
|
+
// /**
|
|
77
|
+
// * These are other templates that I have not decided to build up since they have limited use.
|
|
78
|
+
// */
|
|
79
|
+
// export const FPSModernEvents = 106;
|
|
80
|
+
// export const FPSClassicSurvey = 102;
|
|
81
|
+
// export const FPSClassicLinks = 103;
|
|
82
|
+
// export const FPSClassicAnnouncements = 104;
|
|
83
|
+
// export const FPSClassicContacts = 105;
|
|
84
|
+
// export const FPSClassicTasks = 107;
|
|
85
|
+
// export const FPSClassicDiscussion = 108;
|
|
86
|
+
// export const FPSClassicPictureLib = 109;
|
|
87
|
+
// export const FPSClassicWorkflowHistory = 140;
|
|
88
|
+
// export const FPSClassicGanttTasks = 150;
|
|
89
|
+
// export const FPSClassicIssueTracking = 1100;
|
|
90
|
+
//# sourceMappingURL=FPSTemplates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FPSTemplates.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/FPSTemplates.ts"],"names":[],"mappings":"AACA,0CAA0C;AAE1C,kGAAkG;AAClG,+DAA+D;AAE/D,qDAAqD;AAErD,sCAAsC;AACtC,iBAAiB;AACjB,0BAA0B;AAC1B,gCAAgC;AAChC,mBAAmB;AACnB,uCAAuC;AACvC,yBAAyB;AACzB,qBAAqB;AACrB,IAAI;AAEJ,qDAAqD;AACrD,aAAa;AACb,sBAAsB;AACtB,uBAAuB;AACvB,0BAA0B;AAC1B,wBAAwB;AACxB,iCAAiC;AACjC,kBAAkB;AAClB,KAAK;AAEL,oDAAoD;AACpD,aAAa;AACb,yBAAyB;AACzB,uBAAuB;AACvB,+BAA+B;AAC/B,6BAA6B;AAC7B,8CAA8C;AAC9C,kBAAkB;AAClB,KAAK;AAEL,0DAA0D;AAC1D,aAAa;AACb,yBAAyB;AACzB,uBAAuB;AACvB,yBAAyB;AACzB,uBAAuB;AACvB,8CAA8C;AAC9C,kBAAkB;AAClB,KAAK;AAEL,wDAAwD;AACxD,aAAa;AACb,yBAAyB;AACzB,uBAAuB;AACvB,oBAAoB;AACpB,kBAAkB;AAClB,0CAA0C;AAC1C,mBAAmB;AACnB,KAAK;AAEL,yDAAyD;AACzD,aAAa;AACb,yBAAyB;AACzB,uBAAuB;AACvB,4BAA4B;AAC5B,0BAA0B;AAC1B,+DAA+D;AAC/D,mBAAmB;AACnB,KAAK;AAEL,0DAA0D;AAC1D,qBAAqB;AACrB,oBAAoB;AACpB,0BAA0B;AAC1B,wBAAwB;AACxB,yBAAyB;AACzB,KAAK;AAEL,iEAAiE;AACjE,qBAAqB;AACrB,oBAAoB;AACpB,0BAA0B;AAC1B,2BAA2B;AAC3B,4BAA4B;AAC5B,KAAK;AAEL,kIAAkI;AAElI,2DAA2D;AAE3D,KAAK;AAEL,MAAM;AACN,gGAAgG;AAChG,MAAM;AACN,sCAAsC;AACtC,uCAAuC;AACvC,sCAAsC;AACtC,8CAA8C;AAC9C,yCAAyC;AACzC,sCAAsC;AACtC,2CAA2C;AAC3C,2CAA2C;AAC3C,gDAAgD;AAChD,2CAA2C;AAC3C,+CAA+C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IDefinedLists.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDefinedLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/IDefinedLists.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// export type IDefinedLists = 'No List Available' | 'ErrorChecks' | 'TrackMyTime' | 'Harmon.ie' | 'Customer Requirements' | 'Tasks' | 'Reports' | 'Turnover' |
|
|
2
|
+
// 'Socialiis' | 'PivotTiles' | 'Drilldown' | 'PreConfig' | 'Manufacturing' | 'Analytics' | 'Logistics' | 'Components';
|
|
3
|
+
//# sourceMappingURL=IDefinedLists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDefinedLists.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/IDefinedLists.ts"],"names":[],"mappings":"AACA,+JAA+J;AAC/J,yHAAyH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IMakeThisList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMakeThisList.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/IMakeThisList.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// /**
|
|
2
|
+
// * CodeAnalizerComment: Updated 3 imports on 2024-09-21 23:07:24
|
|
3
|
+
// * Update:: import { IValidTemplate } to '@mikezimm/fps-core-v7/lib/components/molecules/FieldPanel/interfaces/IFieldPanelHookProps;'
|
|
4
|
+
// * Update:: import { IFields } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
5
|
+
// * Update:: import { IViews } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/views;'
|
|
6
|
+
// */
|
|
7
|
+
// // import { IFields } from "@pnp/sp/fields/types";
|
|
8
|
+
// // import { IViews } from "@pnp/sp/views/types";
|
|
9
|
+
// import { IMyFieldTypes } from './columnTypes';
|
|
10
|
+
// import { IMyView } from './viewTypes';
|
|
11
|
+
// import { IValidTemplate } from "@mikezimm/fps-core-v7/lib/components/molecules/FieldPanel/interfaces/IFieldPanelHookProps";
|
|
12
|
+
// import { IDefinedLists } from "./IDefinedLists";
|
|
13
|
+
// import { IFields } from '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields';
|
|
14
|
+
// import { IViews } from '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/views';
|
|
15
|
+
// export type IAnyArray = any[];
|
|
16
|
+
// export interface IMakeThisList {
|
|
17
|
+
// title: string;
|
|
18
|
+
// name: string;
|
|
19
|
+
// webURL: string;
|
|
20
|
+
// listURL: string;
|
|
21
|
+
// desc: string;
|
|
22
|
+
// template: IValidTemplate; // listURL, template
|
|
23
|
+
// enableContentTypes: boolean;
|
|
24
|
+
// additionalSettings: {
|
|
25
|
+
// EnableVersioning: boolean;
|
|
26
|
+
// MajorVersionLimit: number;
|
|
27
|
+
// OnQuickLaunch: boolean;
|
|
28
|
+
// };
|
|
29
|
+
// createTheseFields: IMyFieldTypes[];
|
|
30
|
+
// createTheseViews: IMyView[];
|
|
31
|
+
// currentFields: IFields[];
|
|
32
|
+
// currentViews: IViews[];
|
|
33
|
+
// createTheseItems: IAnyArray;
|
|
34
|
+
// autoItemCreate: boolean;
|
|
35
|
+
// alternateItemCreateMessage?: string;
|
|
36
|
+
// confirmed: boolean; // Likely not needed... seems like this was used on PageProvisioning if anything... but can not see any use.
|
|
37
|
+
// // onCurrentSite: boolean; //- Checked in EasyContents and this only seems to be used in defineTheMaster and no where else.
|
|
38
|
+
// webExists: boolean; // Likely can be removed if there is always a valid web url passed in from context or text box
|
|
39
|
+
// listExists: boolean; // Likely can be removed if this is always called after the list is created or already known from web part
|
|
40
|
+
// listExistedB4: boolean; // Likely can be removed if this is always called after the list is created or already known from web part
|
|
41
|
+
// existingTemplate: number; // This is actuall the BaseTemplate
|
|
42
|
+
// sameTemplate: boolean; // Used for determining provision button text and disabled... could be done differently though
|
|
43
|
+
// listDefinition: string;
|
|
44
|
+
// definedList: IDefinedLists;
|
|
45
|
+
// validUserIds?: number[]; // Used for creating sample items with user columns
|
|
46
|
+
// templateDesc: string;
|
|
47
|
+
// templateDetails: string;
|
|
48
|
+
// templateFields: JSX.Element;
|
|
49
|
+
// templateViews: JSX.Element;
|
|
50
|
+
// }// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
51
|
+
//# sourceMappingURL=IMakeThisList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMakeThisList.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/IMakeThisList.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,mEAAmE;AACnE,wIAAwI;AACxI,8FAA8F;AAC9F,4FAA4F;AAE5F,MAAM;AAEN,qDAAqD;AACrD,mDAAmD;AACnD,iDAAiD;AACjD,yCAAyC;AACzC,8HAA8H;AAC9H,mDAAmD;AACnD,oFAAoF;AACpF,kFAAkF;AAElF,iCAAiC;AAEjC,mCAAmC;AAEnC,mBAAmB;AACnB,kBAAkB;AAClB,oBAAoB;AACpB,qBAAqB;AACrB,kBAAkB;AAClB,mDAAmD;AACnD,iCAAiC;AACjC,0BAA0B;AAC1B,iCAAiC;AACjC,iCAAiC;AACjC,8BAA8B;AAC9B,OAAO;AACP,wCAAwC;AACxC,iCAAiC;AAEjC,8BAA8B;AAC9B,4BAA4B;AAE5B,iCAAiC;AACjC,6BAA6B;AAC7B,yCAAyC;AACzC,qIAAqI;AAErI,iIAAiI;AACjI,uHAAuH;AACvH,oIAAoI;AACpI,uIAAuI;AACvI,kEAAkE;AAClE,0HAA0H;AAC1H,4BAA4B;AAC5B,gCAAgC;AAChC,iFAAiF;AACjF,0BAA0B;AAC1B,6BAA6B;AAC7B,iCAAiC;AACjC,gCAAgC;AAEhC,kEAAkE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=columnTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/columnTypes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
// /**
|
|
2
|
+
// * CodeAnalizerComment: Updated 9 imports on 2024-09-21 23:07:24
|
|
3
|
+
// * Update:: import { ChoiceFieldFormatType } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
4
|
+
// * Update:: import { UrlFieldFormatType } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
5
|
+
// * Update:: import { DateTimeFieldFormatType } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
6
|
+
// * Update:: import { CalendarType } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
7
|
+
// * Update:: import { DateTimeFieldFriendlyFormatType } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
8
|
+
// * Update:: import { FieldUserSelectionMode } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
9
|
+
// * Update:: import { IListInfo } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/lists;'
|
|
10
|
+
// * Update:: import { IFieldInfo } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
11
|
+
// * Update:: import { IFieldCreationProperties } to '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields;'
|
|
12
|
+
// */
|
|
13
|
+
// /**
|
|
14
|
+
// * This file was copied directly from npmFunctions last update and used in:
|
|
15
|
+
// * Easy Contents
|
|
16
|
+
// * Library Provisioning (for labels)
|
|
17
|
+
// *
|
|
18
|
+
// * Changes only include cleaning up imports and removed the [ key: .... ] stuff
|
|
19
|
+
// *
|
|
20
|
+
// */
|
|
21
|
+
// import { ChoiceFieldFormatType, UrlFieldFormatType,
|
|
22
|
+
// DateTimeFieldFormatType, CalendarType, DateTimeFieldFriendlyFormatType,
|
|
23
|
+
// FieldUserSelectionMode, } from "@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields"; //IFieldInfo, IFieldCreationProperties,
|
|
24
|
+
// // import "@pnp/sp/lists";
|
|
25
|
+
// import { IListInfo } from '@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/lists';
|
|
26
|
+
// import { IFieldInfo } from "@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields";
|
|
27
|
+
// import { IFieldCreationProperties } from "@mikezimm/fps-core-v7/lib/types/@pnp/@2.14.0/sp/fields";
|
|
28
|
+
// export const minInfinity: number = -1.7976931348623157e+308;
|
|
29
|
+
// export const maxInfinity = -1 * minInfinity ;
|
|
30
|
+
// export interface MyListDef {
|
|
31
|
+
// title: string;
|
|
32
|
+
// desc?: string;
|
|
33
|
+
// template?: number;
|
|
34
|
+
// enableContentTypes?: boolean;
|
|
35
|
+
// additionalSettings?: Partial<IListInfo>;
|
|
36
|
+
// }
|
|
37
|
+
// export interface MyFieldDef {
|
|
38
|
+
// kind: number | null; //Was just string in Drilldown web part version
|
|
39
|
+
// type: string | null; //Was just string in Drilldown web part version
|
|
40
|
+
// vType: string;
|
|
41
|
+
// label: string;
|
|
42
|
+
// }
|
|
43
|
+
// export const cCount : MyFieldDef = { kind : null, type : null , vType: 'Counter', label: 'Counter'};
|
|
44
|
+
// export const cInt : MyFieldDef = { kind : null, type : null , vType: 'Integer', label: 'Number'};
|
|
45
|
+
// export const cText : MyFieldDef = { kind : 2, type : 'SP.FieldText' , vType: 'Text', label: 'Text'};
|
|
46
|
+
// export const cMText : MyFieldDef = { kind : 3, type : 'SP.FieldMultiLineText' , vType: '', label: 'Text'};
|
|
47
|
+
// export const cDate : MyFieldDef = { kind : 4, type : 'SP.FieldDateTime' , vType: 'DateTime', label: 'Date'};
|
|
48
|
+
// export const cChoice : MyFieldDef = { kind :6 , type : 'SP.FieldChoice' , vType: 'Text', label: 'Choice'};
|
|
49
|
+
// export const cLook : MyFieldDef = { kind : 7, type : 'SP.FieldCreationInformation' , vType: '', label: '9'};
|
|
50
|
+
// export const cDLook : MyFieldDef = { kind : 7, type : 'SP.FieldCreationInformation' , vType: '', label: '9'};
|
|
51
|
+
// export const cBool : MyFieldDef = { kind :8 , type : 'SP.Field' , vType: 'Boolean', label: 'Boolean'};
|
|
52
|
+
// export const cNumb : MyFieldDef = { kind : 9, type : 'SP.FieldNumber' , vType: 'Number', label: 'Number'};
|
|
53
|
+
// export const cCurr : MyFieldDef = { kind : 10, type : 'SP.FieldCurrency' , vType: '', label: 'Curr'};
|
|
54
|
+
// export const cURL : MyFieldDef = { kind : 11, type : 'SP.FieldUrl' , vType: '', label: 'URL'};
|
|
55
|
+
// export const cMChoice : MyFieldDef = { kind :15 , type : 'SP.FieldMultiChoice' , vType: '', label: 'Choice'};
|
|
56
|
+
// export const cCalcN : MyFieldDef = { kind : 17, type : 'SP.FieldCalculated' , vType: 'Number', label: 'Calculated'};
|
|
57
|
+
// export const cCalcT : MyFieldDef = { kind : 17, type : 'SP.FieldCalculated' , vType: 'Text', label: 'Calculated'};
|
|
58
|
+
// export const cUser : MyFieldDef = { kind : 20, type : 'SP.FieldUser' , vType: 'Integer', label: 'User'};
|
|
59
|
+
// export const cMUser : MyFieldDef = { kind : 20, type : 'SP.FieldUserMulti' , vType: '', label: 'User'}; //This may be SP.FieldUserMulti or may not ????... but this is required for the function in columnServices.ts to catch this option.
|
|
60
|
+
// export const cLocal : MyFieldDef = { kind : 33, type : 'SP.FieldLocation' , vType: '', label: 'Loc'};
|
|
61
|
+
// export const cModStatus : MyFieldDef = { kind : 23, type : 'SP.FieldChoice' , vType: '', label: 'ModStatus'};
|
|
62
|
+
// export const cSLook : MyFieldDef = { kind : 7, type : 'SP.FieldLookup' , vType: '', label: 'Lookup'};
|
|
63
|
+
// export const cComputed : MyFieldDef = { kind : 12, type : 'SP.FieldComputed' , vType: '', label: 'Computed'};
|
|
64
|
+
// export const myFieldDefs : MyFieldDef[] = [cCount, cInt, cText, cMText, cDate, cChoice, cLook, cDLook, cBool, cNumb, cCurr, cURL, cMChoice, cCalcN, cCalcT, cUser, cMUser, cLocal, cSLook, cComputed, cModStatus];
|
|
65
|
+
// export type IMyFieldTypes = IBaseField | ITextField | IMultiLineTextField | INumberField | IXMLField |
|
|
66
|
+
// IBooleanField | ICalculatedField | IDateTimeField | ICurrencyField | IUserField | ILookupField | IChoiceField |
|
|
67
|
+
// IMultiChoiceField | IDepLookupField | ILocationField;
|
|
68
|
+
// export type IMyFieldDefStringOrDef = string | IMyFieldTypes;
|
|
69
|
+
// /**
|
|
70
|
+
// * Adds a new SP.FieldText to the collection
|
|
71
|
+
// *
|
|
72
|
+
// * @param title The field title
|
|
73
|
+
// * @param maxLength The maximum number of characters allowed in the value of the field.
|
|
74
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
75
|
+
// */
|
|
76
|
+
// export type changes = 'create' | 'changes1' | 'changes2' | 'changes3' | 'changesFinal' | 'setForm';
|
|
77
|
+
// /**
|
|
78
|
+
// * Had to add type any to keys to get error to go away
|
|
79
|
+
// */
|
|
80
|
+
// export interface IBaseField extends Partial<IFieldInfo>{
|
|
81
|
+
// fieldType: MyFieldDef;
|
|
82
|
+
// name: string; //Will be Title of list unless title is specified
|
|
83
|
+
// onCreateProps?: IFieldCreationProperties; //Initial Properties at time of creating field
|
|
84
|
+
// showNew?: boolean;
|
|
85
|
+
// showEdit?: boolean;
|
|
86
|
+
// showDisplay?: boolean;
|
|
87
|
+
// title?: string;
|
|
88
|
+
// onCreateChanges?: IFieldCreationProperties; //Properties you want changed right after creating field (like update Title so it's matches calculated column titles)
|
|
89
|
+
// changes1?: IFieldCreationProperties; //Properties you want changed any time in your code
|
|
90
|
+
// changes2?: IFieldCreationProperties; //Properties you want changed any time in your code
|
|
91
|
+
// changes3?: IFieldCreationProperties; //Properties you want changed any time in your code
|
|
92
|
+
// changesFinal?: IFieldCreationProperties; //Properties you want changed at the very end... like hiding fields once formula columns are created and views are also created (can't add to view if it's hidden)
|
|
93
|
+
// }
|
|
94
|
+
// export interface IXMLField extends IBaseField {
|
|
95
|
+
// xml: string;
|
|
96
|
+
// }
|
|
97
|
+
// export interface ITextField extends IBaseField{
|
|
98
|
+
// maxLength?: number;
|
|
99
|
+
// }
|
|
100
|
+
// /**
|
|
101
|
+
// * Adds a new SP.FieldMultiLineText to the collection
|
|
102
|
+
// *
|
|
103
|
+
// * @param title The field title
|
|
104
|
+
// * @param numberOfLines Specifies the number of lines of text to display for the field.
|
|
105
|
+
// * @param richText Specifies whether the field supports rich formatting.
|
|
106
|
+
// * @param restrictedMode Specifies whether the field supports a subset of rich formatting.
|
|
107
|
+
// * @param appendOnly Specifies whether all changes to the value of the field are displayed in list forms.
|
|
108
|
+
// * @param allowHyperlink Specifies whether a hyperlink is allowed as a value of the field.
|
|
109
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
110
|
+
// *
|
|
111
|
+
// */
|
|
112
|
+
// export interface IMultiLineTextField extends IBaseField {
|
|
113
|
+
// numberOfLines?: number;
|
|
114
|
+
// richText?: boolean;
|
|
115
|
+
// restrictedMode?: boolean;
|
|
116
|
+
// appendOnly?: boolean;
|
|
117
|
+
// allowHyperlink?: boolean;
|
|
118
|
+
// }
|
|
119
|
+
// /**
|
|
120
|
+
// * Adds a new SP.FieldNumber to the collection
|
|
121
|
+
// *
|
|
122
|
+
// * @param title The field title
|
|
123
|
+
// * @param minValue The field's minimum value
|
|
124
|
+
// * @param maxValue The field's maximum value
|
|
125
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
126
|
+
// */
|
|
127
|
+
// // addNumber(title: string, minValue?: number, maxValue?: number, properties?: IFieldCreationProperties): Promise<IFieldAddResult>;
|
|
128
|
+
// export interface INumberField extends IBaseField {
|
|
129
|
+
// minValue?: number;
|
|
130
|
+
// maxValue?: number;
|
|
131
|
+
// }
|
|
132
|
+
// /**
|
|
133
|
+
// * Adds a new SP.FieldBoolean to the collection
|
|
134
|
+
// *
|
|
135
|
+
// * @param title The field title.
|
|
136
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
137
|
+
// */
|
|
138
|
+
// export interface IBooleanField extends IBaseField {
|
|
139
|
+
// }
|
|
140
|
+
// /**
|
|
141
|
+
// * Adds a new SP.FieldCalculated to the collection
|
|
142
|
+
// *
|
|
143
|
+
// * @param title The field title.
|
|
144
|
+
// * @param formula The formula for the field.
|
|
145
|
+
// * @param dateFormat The date and time format that is displayed in the field.
|
|
146
|
+
// * @param outputType Specifies the output format for the field. Represents a FieldType value.
|
|
147
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
148
|
+
// */
|
|
149
|
+
// export interface ICalculatedField extends IBaseField {
|
|
150
|
+
// formula: string;
|
|
151
|
+
// dateFormat?: DateTimeFieldFormatType;
|
|
152
|
+
// }
|
|
153
|
+
// /**
|
|
154
|
+
// * Adds a new SP.FieldDateTime to the collection
|
|
155
|
+
// *
|
|
156
|
+
// * @param title The field title
|
|
157
|
+
// * @param displayFormat The format of the date and time that is displayed in the field.
|
|
158
|
+
// * @param calendarType Specifies the calendar type of the field.
|
|
159
|
+
// * @param friendlyDisplayFormat The type of friendly display format that is used in the field.
|
|
160
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
161
|
+
// */
|
|
162
|
+
// export interface IDateTimeField extends IBaseField {
|
|
163
|
+
// displayFormat?: DateTimeFieldFormatType;
|
|
164
|
+
// calendarType?: CalendarType;
|
|
165
|
+
// friendlyDisplayFormat?: DateTimeFieldFriendlyFormatType;
|
|
166
|
+
// }
|
|
167
|
+
// /**
|
|
168
|
+
// * Adds a new SP.FieldCurrency to the collection
|
|
169
|
+
// *
|
|
170
|
+
// * @param title The field title
|
|
171
|
+
// * @param minValue The field's minimum value
|
|
172
|
+
// * @param maxValue The field's maximum value
|
|
173
|
+
// * @param currencyLocalId Specifies the language code identifier (LCID) used to format the value of the field
|
|
174
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
175
|
+
// */
|
|
176
|
+
// export interface ICurrencyField extends IBaseField {
|
|
177
|
+
// minValue?: number;
|
|
178
|
+
// maxValue?: number;
|
|
179
|
+
// currencyLocalId?: number; //This is technically available but
|
|
180
|
+
// }
|
|
181
|
+
// /**
|
|
182
|
+
// * Adds a new SP.FieldUrl to the collection
|
|
183
|
+
// * @param title The field title
|
|
184
|
+
// */
|
|
185
|
+
// export interface IURLField extends IBaseField {
|
|
186
|
+
// displayFormat?: UrlFieldFormatType;
|
|
187
|
+
// }
|
|
188
|
+
// /** Adds a user field to the colleciton
|
|
189
|
+
// *
|
|
190
|
+
// * @param title The new field's title
|
|
191
|
+
// * @param selectionMode The selection mode of the field
|
|
192
|
+
// * @param selectionGroup Value that specifies the identifier of the SharePoint group whose members can be selected as values of the field
|
|
193
|
+
// * @param properties
|
|
194
|
+
// */
|
|
195
|
+
// export interface IUserField extends IBaseField {
|
|
196
|
+
// selectionMode: FieldUserSelectionMode;
|
|
197
|
+
// //selectionGroup?: any; //This is not used in addUser function and not applicable in building webparts... User would need to fill in.
|
|
198
|
+
// }
|
|
199
|
+
// /**
|
|
200
|
+
// * Adds a SP.FieldLookup to the collection
|
|
201
|
+
// *
|
|
202
|
+
// * @param title The new field's title
|
|
203
|
+
// * @param lookupListId The guid id of the list where the source of the lookup is found
|
|
204
|
+
// * @param lookupFieldName The internal name of the field in the source list
|
|
205
|
+
// * @param properties Set of additional properties to set on the new field
|
|
206
|
+
// */
|
|
207
|
+
// export interface ILookupField extends IBaseField {
|
|
208
|
+
// lookupListId: string;
|
|
209
|
+
// lookupFieldName: string;
|
|
210
|
+
// }
|
|
211
|
+
// /**
|
|
212
|
+
// * Adds a new SP.FieldChoice to the collection
|
|
213
|
+
// *
|
|
214
|
+
// * @param title The field title.
|
|
215
|
+
// * @param choices The choices for the field.
|
|
216
|
+
// * @param format The display format of the available options for the field.
|
|
217
|
+
// * @param fillIn Specifies whether the field allows fill-in values.
|
|
218
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
219
|
+
// */
|
|
220
|
+
// export interface IChoiceField extends IBaseField {
|
|
221
|
+
// choices: string[];
|
|
222
|
+
// format?: ChoiceFieldFormatType;
|
|
223
|
+
// fillIn?: boolean;
|
|
224
|
+
// FillInChoice?: boolean; //This is the actual property to allow fill in
|
|
225
|
+
// }
|
|
226
|
+
// /**
|
|
227
|
+
// * Adds a new SP.FieldMultiChoice to the collection
|
|
228
|
+
// *
|
|
229
|
+
// * @param title The field title.
|
|
230
|
+
// * @param choices The choices for the field.
|
|
231
|
+
// * @param fillIn Specifies whether the field allows fill-in values.
|
|
232
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
233
|
+
// */
|
|
234
|
+
// export interface IMultiChoiceField extends IBaseField {
|
|
235
|
+
// choices: string[];
|
|
236
|
+
// fillIn?: boolean;
|
|
237
|
+
// }
|
|
238
|
+
// /**
|
|
239
|
+
// * Creates a secondary (dependent) lookup field, based on the Id of the primary lookup field.
|
|
240
|
+
// *
|
|
241
|
+
// * @param displayName The display name of the new field.
|
|
242
|
+
// * @param primaryLookupFieldId The guid of the primary Lookup Field.
|
|
243
|
+
// * @param showField Which field to show from the lookup list.
|
|
244
|
+
// */
|
|
245
|
+
// export interface IDepLookupField extends IBaseField {
|
|
246
|
+
// primaryLookupFieldId: string;
|
|
247
|
+
// showField: string;
|
|
248
|
+
// }
|
|
249
|
+
// /**
|
|
250
|
+
// * Adds a new SP.FieldLocation to the collection
|
|
251
|
+
// *
|
|
252
|
+
// * @param title The field title.
|
|
253
|
+
// * @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
254
|
+
// */
|
|
255
|
+
// export interface ILocationField extends IBaseField {
|
|
256
|
+
// }
|
|
257
|
+
//# sourceMappingURL=columnTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/columnTypes.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,mEAAmE;AACnE,4GAA4G;AAC5G,yGAAyG;AACzG,8GAA8G;AAC9G,mGAAmG;AACnG,sHAAsH;AACtH,6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N,8CAA8C;AAC9C,kCAAkC;AAClC,MAAM;AACN,kDAAkD;AAClD,wCAAwC;AACxC,IAAI;AAEJ,0CAA0C;AAC1C,IAAI;AACJ,uCAAuC;AACvC,yDAAyD;AACzD,2IAA2I;AAC3I,sBAAsB;AACtB,KAAK;AACL,mDAAmD;AACnD,2CAA2C;AAC3C,0IAA0I;AAC1I,IAAI;AAEJ,MAAM;AACN,6CAA6C;AAC7C,KAAK;AACL,wCAAwC;AACxC,yFAAyF;AACzF,8EAA8E;AAC9E,4EAA4E;AAC5E,MAAM;AACN,qDAAqD;AACrD,0BAA0B;AAC1B,6BAA6B;AAC7B,IAAI;AAEJ,MAAM;AACN,iDAAiD;AACjD,KAAK;AACL,mCAAmC;AACnC,+CAA+C;AAC/C,8EAA8E;AAC9E,sEAAsE;AACtE,kIAAkI;AAClI,MAAM;AACN,qDAAqD;AACrD,uBAAuB;AACvB,oCAAoC;AACpC,sBAAsB;AACtB,2EAA2E;AAC3E,IAAI;AAEJ,MAAM;AACN,sDAAsD;AACtD,KAAK;AACL,mCAAmC;AACnC,+CAA+C;AAC/C,sEAAsE;AACtE,kIAAkI;AAClI,MAAM;AACN,0DAA0D;AAC1D,uBAAuB;AACvB,sBAAsB;AACtB,IAAI;AAEJ,MAAM;AACN,+FAA+F;AAC/F,IAAI;AACJ,0DAA0D;AAC1D,sEAAsE;AACtE,+DAA+D;AAC/D,KAAK;AACL,wDAAwD;AACxD,kCAAkC;AAClC,uBAAuB;AACvB,IAAI;AAEJ,MAAM;AACN,mDAAmD;AACnD,KAAK;AACL,mCAAmC;AACnC,kIAAkI;AAClI,MAAM;AACN,uDAAuD;AAEvD,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=listTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ProvisioningD/interfaces/listTypes.ts"],"names":[],"mappings":""}
|