@mikezimm/fps-core-v7 1.0.72 → 1.0.74
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/banner/components/ItemPicker/functions/fetchFileList.js +1 -1
- package/lib/banner/components/ItemPicker/functions/fetchFileList.js.map +1 -1
- package/lib/banner/components/ItemPicker/functions/fetchListList.js +1 -1
- package/lib/banner/components/ItemPicker/functions/fetchListList.js.map +1 -1
- package/lib/banner/features/WebPartHistory/Functions.d.ts +0 -43
- package/lib/banner/features/WebPartHistory/Functions.d.ts.map +1 -1
- package/lib/banner/features/WebPartHistory/Functions.js +3 -1
- package/lib/banner/features/WebPartHistory/Functions.js.map +1 -1
- package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.d.ts.map +1 -1
- package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.js +2 -1
- package/lib/components/atoms/easy-analytics/functions/createAnalyticsSourceProps.js.map +1 -1
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.d.ts +18 -0
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.js +85 -0
- package/lib/components/molecules/Provisioning/constants/columnsOOTB.js.map +1 -0
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.d.ts +10 -0
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.js +16 -0
- package/lib/components/molecules/Provisioning/functions/replaceTitleWithThisColumn.js.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.d.ts +36 -0
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.js +76 -0
- package/lib/components/molecules/Provisioning/interfaces/FPSTemplates.js.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.d.ts +2 -0
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.js +2 -0
- package/lib/components/molecules/Provisioning/interfaces/IDefinedLists.js.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.d.ts +50 -0
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.js +9 -0
- package/lib/components/molecules/Provisioning/interfaces/IMakeThisList.js.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.d.ts +251 -0
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.js +38 -0
- package/lib/components/molecules/Provisioning/interfaces/columnTypes.js.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/listTypes.d.ts +169 -0
- package/lib/components/molecules/Provisioning/interfaces/listTypes.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/listTypes.js +51 -0
- package/lib/components/molecules/Provisioning/interfaces/listTypes.js.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.d.ts +67 -0
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.d.ts.map +1 -0
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.js +28 -0
- package/lib/components/molecules/Provisioning/interfaces/viewTypes.js.map +1 -0
- package/lib/components/molecules/SpHttp/Js/doSpJsFetch.js +6 -6
- package/lib/components/molecules/SpHttp/Js/doSpJsFetch.js.map +1 -1
- package/lib/components/molecules/SpHttp/Sp/doSpHttpFetch.d.ts +1 -1
- package/lib/components/molecules/SpHttp/Sp/doSpHttpFetch.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/Sp/doSpHttpFetch.js +21 -6
- package/lib/components/molecules/SpHttp/Sp/doSpHttpFetch.js.map +1 -1
- package/lib/components/molecules/SpHttp/headerInitUtilities.d.ts +1 -1
- package/lib/components/molecules/SpHttp/headerInitUtilities.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/headerInitUtilities.js +7 -2
- package/lib/components/molecules/SpHttp/headerInitUtilities.js.map +1 -1
- package/lib/components/molecules/process-results/CheckWDigest/CheckAnyResultsWDigest.js +1 -1
- package/lib/components/molecules/process-results/CheckWDigest/CheckAnyResultsWDigest.js.map +1 -1
- package/lib/components/molecules/process-results/CheckWDigest/CheckItemsResultsWDigest.js +1 -1
- package/lib/components/molecules/process-results/CheckWDigest/CheckItemsResultsWDigest.js.map +1 -1
- package/lib/components/molecules/process-results/CheckWService/CheckAnyResults.js +1 -1
- package/lib/components/molecules/process-results/CheckWService/CheckAnyResults.js.map +1 -1
- package/lib/components/molecules/process-results/CheckWService/CheckItemsResults.js +1 -1
- package/lib/components/molecules/process-results/CheckWService/CheckItemsResults.js.map +1 -1
- package/lib/components/molecules/source-props/Lists/getVX/getSelectV2.js +2 -1
- package/lib/components/molecules/source-props/Lists/getVX/getSelectV2.js.map +1 -1
- package/lib/components/molecules/source-props/createSources/Sites/createSiteSource.d.ts +14 -0
- package/lib/components/molecules/source-props/createSources/Sites/createSiteSource.d.ts.map +1 -0
- package/lib/components/molecules/source-props/createSources/Sites/createSiteSource.js +44 -0
- package/lib/components/molecules/source-props/createSources/Sites/createSiteSource.js.map +1 -0
- package/lib/components/molecules/source-props/createSources/cloneSourceProps.d.ts.map +1 -1
- package/lib/components/molecules/source-props/createSources/cloneSourceProps.js +12 -0
- package/lib/components/molecules/source-props/createSources/cloneSourceProps.js.map +1 -1
- package/lib/components/webparts/PalettePal/functions/ReactComponent.js +1 -1
- package/lib/components/webparts/PalettePal/functions/ReactComponent.js.map +1 -1
- package/lib/restAPIs/lists/fields/getSourceFieldsAPI.js +1 -1
- package/lib/restAPIs/lists/fields/getSourceFieldsAPI.js.map +1 -1
- package/lib/restAPIs/lists/files/getFileEmbedUrl.js +1 -1
- package/lib/restAPIs/lists/files/getFileEmbedUrl.js.map +1 -1
- package/lib/restAPIs/lists/items/getFpsPageAsXmlAPI.js +1 -1
- package/lib/restAPIs/lists/items/getFpsPageAsXmlAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/getPreConfig.d.ts +24 -0
- package/lib/restAPIs/lists/items/getPreConfig.d.ts.map +1 -0
- package/lib/restAPIs/lists/items/getPreConfig.js +77 -0
- package/lib/restAPIs/lists/items/getPreConfig.js.map +1 -0
- package/lib/restAPIs/lists/items/getSourceItemsAPI.js +1 -1
- package/lib/restAPIs/lists/items/getSourceItemsAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/postSourceItemAPI.js +1 -1
- package/lib/restAPIs/lists/items/postSourceItemAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/updateAnyItemAPI.js +1 -1
- package/lib/restAPIs/lists/items/updateAnyItemAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/updateCommandItemAPI.js +1 -1
- package/lib/restAPIs/lists/items/updateCommandItemAPI.js.map +1 -1
- package/lib/restAPIs/lists/lists/getSourceListsAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/lists/getSourceListsAPI.js +11 -7
- package/lib/restAPIs/lists/lists/getSourceListsAPI.js.map +1 -1
- package/lib/restAPIs/lists/types/getSourceContentTypesAPI.js +1 -1
- package/lib/restAPIs/lists/types/getSourceContentTypesAPI.js.map +1 -1
- package/lib/restAPIs/lists/views/getSourceViewsAPI.js +1 -1
- package/lib/restAPIs/lists/views/getSourceViewsAPI.js.map +1 -1
- package/lib/restAPIs/logging/Analytics/getAnalyticsAPI.d.ts +22 -0
- package/lib/restAPIs/logging/Analytics/getAnalyticsAPI.d.ts.map +1 -0
- package/lib/restAPIs/logging/Analytics/getAnalyticsAPI.js +54 -0
- package/lib/restAPIs/logging/Analytics/getAnalyticsAPI.js.map +1 -0
- package/lib/restAPIs/logging/Analytics/saveAnalyticsAPI.d.ts +39 -0
- package/lib/restAPIs/logging/Analytics/saveAnalyticsAPI.d.ts.map +1 -0
- package/lib/restAPIs/logging/Analytics/saveAnalyticsAPI.js +350 -0
- package/lib/restAPIs/logging/Analytics/saveAnalyticsAPI.js.map +1 -0
- package/lib/restAPIs/logging/Assists/saveAssist.d.ts +23 -0
- package/lib/restAPIs/logging/Assists/saveAssist.d.ts.map +1 -0
- package/lib/restAPIs/logging/Assists/saveAssist.js +86 -0
- package/lib/restAPIs/logging/Assists/saveAssist.js.map +1 -0
- package/lib/restAPIs/logging/Errors/saveErrorToLog.d.ts +13 -0
- package/lib/restAPIs/logging/Errors/saveErrorToLog.d.ts.map +1 -0
- package/lib/restAPIs/logging/{saveErrorToLog.js → Errors/saveErrorToLog.js} +6 -4
- package/lib/restAPIs/logging/Errors/saveErrorToLog.js.map +1 -0
- package/lib/restAPIs/logging/Errors/saveErrorToLogOriginal.d.ts.map +1 -0
- package/lib/restAPIs/logging/Errors/saveErrorToLogOriginal.js.map +1 -0
- package/lib/restAPIs/logging/{saveErrorToLogWDigest.d.ts → Errors/saveErrorToLogWDigest.d.ts} +1 -1
- package/lib/restAPIs/logging/Errors/saveErrorToLogWDigest.d.ts.map +1 -0
- package/lib/restAPIs/logging/{saveErrorToLogWDigest.js → Errors/saveErrorToLogWDigest.js} +5 -5
- package/lib/restAPIs/logging/Errors/saveErrorToLogWDigest.js.map +1 -0
- package/lib/restAPIs/logging/Permissions/savePermissionAnalyticsAPI.d.ts +32 -0
- package/lib/restAPIs/logging/Permissions/savePermissionAnalyticsAPI.d.ts.map +1 -0
- package/lib/restAPIs/logging/Permissions/savePermissionAnalyticsAPI.js +150 -0
- package/lib/restAPIs/logging/Permissions/savePermissionAnalyticsAPI.js.map +1 -0
- package/lib/restAPIs/logging/Permissions/savePermissionHistory.d.ts +26 -0
- package/lib/restAPIs/logging/Permissions/savePermissionHistory.d.ts.map +1 -0
- package/lib/restAPIs/logging/Permissions/savePermissionHistory.js +119 -0
- package/lib/restAPIs/logging/Permissions/savePermissionHistory.js.map +1 -0
- package/lib/restAPIs/logging/Provisioning/saveProvisioning.d.ts +35 -0
- package/lib/restAPIs/logging/Provisioning/saveProvisioning.d.ts.map +1 -0
- package/lib/restAPIs/logging/Provisioning/saveProvisioning.js +110 -0
- package/lib/restAPIs/logging/Provisioning/saveProvisioning.js.map +1 -0
- package/lib/restAPIs/logging/interfaces/RailConstants.d.ts +10 -0
- package/lib/restAPIs/logging/interfaces/RailConstants.d.ts.map +1 -0
- package/lib/restAPIs/logging/interfaces/RailConstants.js +10 -0
- package/lib/restAPIs/logging/interfaces/RailConstants.js.map +1 -0
- package/lib/restAPIs/permissions/IFpsRoleAssignmentInfo.d.ts +24 -0
- package/lib/restAPIs/permissions/IFpsRoleAssignmentInfo.d.ts.map +1 -0
- package/lib/restAPIs/permissions/IFpsRoleAssignmentInfo.js +7 -0
- package/lib/restAPIs/permissions/IFpsRoleAssignmentInfo.js.map +1 -0
- package/lib/restAPIs/permissions/getListRoleAssignmentsAPI.d.ts +23 -0
- package/lib/restAPIs/permissions/getListRoleAssignmentsAPI.d.ts.map +1 -0
- package/lib/restAPIs/permissions/getListRoleAssignmentsAPI.js +58 -0
- package/lib/restAPIs/permissions/getListRoleAssignmentsAPI.js.map +1 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsAPI.d.ts +20 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsAPI.d.ts.map +1 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsAPI.js +64 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsAPI.js.map +1 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsInBatchAPI.d.ts +1 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsInBatchAPI.d.ts.map +1 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsInBatchAPI.js +25 -0
- package/lib/restAPIs/permissions/getUserListRoleAssignmentsInBatchAPI.js.map +1 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsAPI.d.ts +19 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsAPI.d.ts.map +1 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsAPI.js +65 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsAPI.js.map +1 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsInBatchAPI.d.ts +25 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsInBatchAPI.d.ts.map +1 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsInBatchAPI.js +69 -0
- package/lib/restAPIs/permissions/getUserWebRoleAssignmentsInBatchAPI.js.map +1 -0
- package/lib/restAPIs/permissions/getWebRoleAssignmentsAPI.d.ts +18 -0
- package/lib/restAPIs/permissions/getWebRoleAssignmentsAPI.d.ts.map +1 -0
- package/lib/restAPIs/permissions/getWebRoleAssignmentsAPI.js +55 -0
- package/lib/restAPIs/permissions/getWebRoleAssignmentsAPI.js.map +1 -0
- package/lib/restAPIs/sites/HubsSubs/fetches/fetchMyHubsites.js +1 -1
- package/lib/restAPIs/sites/HubsSubs/fetches/fetchMyHubsites.js.map +1 -1
- package/lib/restAPIs/sites/HubsSubs/fetches/fetchMySubsites.js +2 -2
- package/lib/restAPIs/sites/HubsSubs/fetches/fetchMySubsites.js.map +1 -1
- package/lib/restAPIs/sites/groups/getGroupMembersAPI.js +1 -1
- package/lib/restAPIs/sites/groups/getGroupMembersAPI.js.map +1 -1
- package/lib/restAPIs/sites/groups/getWebAssociatedGroupAPI.js +1 -1
- package/lib/restAPIs/sites/groups/getWebAssociatedGroupAPI.js.map +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoAPI.js +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoAPI.js.map +1 -1
- package/lib/restAPIs/sites/nav/getHubSiteDataAPI.js +1 -1
- package/lib/restAPIs/sites/nav/getHubSiteDataAPI.js.map +1 -1
- package/lib/restAPIs/sites/nav/getOrAddWebNavAPI.js +1 -1
- package/lib/restAPIs/sites/nav/getOrAddWebNavAPI.js.map +1 -1
- package/lib/restAPIs/sites/sites/getClientSideWebParts.js +1 -1
- package/lib/restAPIs/sites/sites/getClientSideWebParts.js.map +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.js +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.js.map +1 -1
- package/lib/restAPIs/sites/sites/getSiteFeaturesAPI.js +1 -1
- package/lib/restAPIs/sites/sites/getSiteFeaturesAPI.js.map +1 -1
- package/lib/restAPIs/sites/users/ensureUserOnWeb.js +1 -1
- package/lib/restAPIs/sites/users/ensureUserOnWeb.js.map +1 -1
- package/lib/restAPIs/sites/users/getSiteUsersAPI.js +1 -1
- package/lib/restAPIs/sites/users/getSiteUsersAPI.js.map +1 -1
- package/lib/types/fps-returns/common/IFPSBaseContentType.d.ts +1 -1
- package/lib/types/fps-returns/common/IFPSBaseContentType.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/components/molecules/SpHttp/Js/doSpJsFetch copy.d.ts +0 -1
- package/lib/components/molecules/SpHttp/Js/doSpJsFetch copy.d.ts.map +0 -1
- package/lib/components/molecules/SpHttp/Js/doSpJsFetch copy.js +0 -163
- package/lib/components/molecules/SpHttp/Js/doSpJsFetch copy.js.map +0 -1
- package/lib/restAPIs/logging/saveErrorToLog.d.ts +0 -11
- package/lib/restAPIs/logging/saveErrorToLog.d.ts.map +0 -1
- package/lib/restAPIs/logging/saveErrorToLog.js.map +0 -1
- package/lib/restAPIs/logging/saveErrorToLogOriginal.d.ts.map +0 -1
- package/lib/restAPIs/logging/saveErrorToLogOriginal.js.map +0 -1
- package/lib/restAPIs/logging/saveErrorToLogWDigest.d.ts.map +0 -1
- package/lib/restAPIs/logging/saveErrorToLogWDigest.js.map +0 -1
- /package/lib/restAPIs/logging/{saveErrorToLogOriginal.d.ts → Errors/saveErrorToLogOriginal.d.ts} +0 -0
- /package/lib/restAPIs/logging/{saveErrorToLogOriginal.js → Errors/saveErrorToLogOriginal.js} +0 -0
|
@@ -0,0 +1,251 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* This file was copied directly from npmFunctions last update and used in:
|
|
16
|
+
* Easy Contents
|
|
17
|
+
* Library Provisioning (for labels)
|
|
18
|
+
*
|
|
19
|
+
* Changes only include cleaning up imports and removed the [ key: .... ] stuff
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
import { ChoiceFieldFormatType, UrlFieldFormatType, DateTimeFieldFormatType, CalendarType, DateTimeFieldFriendlyFormatType, FieldUserSelectionMode } from "../../../../types/@pnp/@2.14.0/sp/fields";
|
|
23
|
+
import { IListInfo } from '../../../../types/@pnp/@2.14.0/sp/lists';
|
|
24
|
+
import { IFieldInfo } from "../../../../types/@pnp/@2.14.0/sp/fields";
|
|
25
|
+
import { IFieldCreationProperties } from "../../../../types/@pnp/@2.14.0/sp/fields";
|
|
26
|
+
export declare const minInfinity: number;
|
|
27
|
+
export declare const maxInfinity: number;
|
|
28
|
+
export interface MyListDef {
|
|
29
|
+
title: string;
|
|
30
|
+
desc?: string;
|
|
31
|
+
template?: number;
|
|
32
|
+
enableContentTypes?: boolean;
|
|
33
|
+
additionalSettings?: Partial<IListInfo>;
|
|
34
|
+
}
|
|
35
|
+
export interface MyFieldDef {
|
|
36
|
+
kind: number | null;
|
|
37
|
+
type: string | null;
|
|
38
|
+
vType: string;
|
|
39
|
+
label: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const cCount: MyFieldDef;
|
|
42
|
+
export declare const cInt: MyFieldDef;
|
|
43
|
+
export declare const cText: MyFieldDef;
|
|
44
|
+
export declare const cMText: MyFieldDef;
|
|
45
|
+
export declare const cDate: MyFieldDef;
|
|
46
|
+
export declare const cChoice: MyFieldDef;
|
|
47
|
+
export declare const cLook: MyFieldDef;
|
|
48
|
+
export declare const cDLook: MyFieldDef;
|
|
49
|
+
export declare const cBool: MyFieldDef;
|
|
50
|
+
export declare const cNumb: MyFieldDef;
|
|
51
|
+
export declare const cCurr: MyFieldDef;
|
|
52
|
+
export declare const cURL: MyFieldDef;
|
|
53
|
+
export declare const cMChoice: MyFieldDef;
|
|
54
|
+
export declare const cCalcN: MyFieldDef;
|
|
55
|
+
export declare const cCalcT: MyFieldDef;
|
|
56
|
+
export declare const cUser: MyFieldDef;
|
|
57
|
+
export declare const cMUser: MyFieldDef;
|
|
58
|
+
export declare const cLocal: MyFieldDef;
|
|
59
|
+
export declare const cModStatus: MyFieldDef;
|
|
60
|
+
export declare const cSLook: MyFieldDef;
|
|
61
|
+
export declare const cComputed: MyFieldDef;
|
|
62
|
+
export declare const myFieldDefs: MyFieldDef[];
|
|
63
|
+
export type IMyFieldTypes = IBaseField | ITextField | IMultiLineTextField | INumberField | IXMLField | IBooleanField | ICalculatedField | IDateTimeField | ICurrencyField | IUserField | ILookupField | IChoiceField | IMultiChoiceField | IDepLookupField | ILocationField;
|
|
64
|
+
export type IMyFieldDefStringOrDef = string | IMyFieldTypes;
|
|
65
|
+
/**
|
|
66
|
+
* Adds a new SP.FieldText to the collection
|
|
67
|
+
*
|
|
68
|
+
* @param title The field title
|
|
69
|
+
* @param maxLength The maximum number of characters allowed in the value of the field.
|
|
70
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
71
|
+
*/
|
|
72
|
+
export type changes = 'create' | 'changes1' | 'changes2' | 'changes3' | 'changesFinal' | 'setForm';
|
|
73
|
+
/**
|
|
74
|
+
* Had to add type any to keys to get error to go away
|
|
75
|
+
*/
|
|
76
|
+
export interface IBaseField extends Partial<IFieldInfo> {
|
|
77
|
+
fieldType: MyFieldDef;
|
|
78
|
+
name: string;
|
|
79
|
+
onCreateProps?: IFieldCreationProperties;
|
|
80
|
+
showNew?: boolean;
|
|
81
|
+
showEdit?: boolean;
|
|
82
|
+
showDisplay?: boolean;
|
|
83
|
+
title?: string;
|
|
84
|
+
onCreateChanges?: IFieldCreationProperties;
|
|
85
|
+
changes1?: IFieldCreationProperties;
|
|
86
|
+
changes2?: IFieldCreationProperties;
|
|
87
|
+
changes3?: IFieldCreationProperties;
|
|
88
|
+
changesFinal?: IFieldCreationProperties;
|
|
89
|
+
}
|
|
90
|
+
export interface IXMLField extends IBaseField {
|
|
91
|
+
xml: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ITextField extends IBaseField {
|
|
94
|
+
maxLength?: number;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Adds a new SP.FieldMultiLineText to the collection
|
|
98
|
+
*
|
|
99
|
+
* @param title The field title
|
|
100
|
+
* @param numberOfLines Specifies the number of lines of text to display for the field.
|
|
101
|
+
* @param richText Specifies whether the field supports rich formatting.
|
|
102
|
+
* @param restrictedMode Specifies whether the field supports a subset of rich formatting.
|
|
103
|
+
* @param appendOnly Specifies whether all changes to the value of the field are displayed in list forms.
|
|
104
|
+
* @param allowHyperlink Specifies whether a hyperlink is allowed as a value of the field.
|
|
105
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
export interface IMultiLineTextField extends IBaseField {
|
|
109
|
+
numberOfLines?: number;
|
|
110
|
+
richText?: boolean;
|
|
111
|
+
restrictedMode?: boolean;
|
|
112
|
+
appendOnly?: boolean;
|
|
113
|
+
allowHyperlink?: boolean;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Adds a new SP.FieldNumber to the collection
|
|
117
|
+
*
|
|
118
|
+
* @param title The field title
|
|
119
|
+
* @param minValue The field's minimum value
|
|
120
|
+
* @param maxValue The field's maximum value
|
|
121
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
122
|
+
*/
|
|
123
|
+
export interface INumberField extends IBaseField {
|
|
124
|
+
minValue?: number;
|
|
125
|
+
maxValue?: number;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Adds a new SP.FieldBoolean to the collection
|
|
129
|
+
*
|
|
130
|
+
* @param title The field title.
|
|
131
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
132
|
+
*/
|
|
133
|
+
export interface IBooleanField extends IBaseField {
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Adds a new SP.FieldCalculated to the collection
|
|
137
|
+
*
|
|
138
|
+
* @param title The field title.
|
|
139
|
+
* @param formula The formula for the field.
|
|
140
|
+
* @param dateFormat The date and time format that is displayed in the field.
|
|
141
|
+
* @param outputType Specifies the output format for the field. Represents a FieldType value.
|
|
142
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
143
|
+
*/
|
|
144
|
+
export interface ICalculatedField extends IBaseField {
|
|
145
|
+
formula: string;
|
|
146
|
+
dateFormat?: DateTimeFieldFormatType;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Adds a new SP.FieldDateTime to the collection
|
|
150
|
+
*
|
|
151
|
+
* @param title The field title
|
|
152
|
+
* @param displayFormat The format of the date and time that is displayed in the field.
|
|
153
|
+
* @param calendarType Specifies the calendar type of the field.
|
|
154
|
+
* @param friendlyDisplayFormat The type of friendly display format that is used in the field.
|
|
155
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
156
|
+
*/
|
|
157
|
+
export interface IDateTimeField extends IBaseField {
|
|
158
|
+
displayFormat?: DateTimeFieldFormatType;
|
|
159
|
+
calendarType?: CalendarType;
|
|
160
|
+
friendlyDisplayFormat?: DateTimeFieldFriendlyFormatType;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Adds a new SP.FieldCurrency to the collection
|
|
164
|
+
*
|
|
165
|
+
* @param title The field title
|
|
166
|
+
* @param minValue The field's minimum value
|
|
167
|
+
* @param maxValue The field's maximum value
|
|
168
|
+
* @param currencyLocalId Specifies the language code identifier (LCID) used to format the value of the field
|
|
169
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
170
|
+
*/
|
|
171
|
+
export interface ICurrencyField extends IBaseField {
|
|
172
|
+
minValue?: number;
|
|
173
|
+
maxValue?: number;
|
|
174
|
+
currencyLocalId?: number;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Adds a new SP.FieldUrl to the collection
|
|
178
|
+
* @param title The field title
|
|
179
|
+
*/
|
|
180
|
+
export interface IURLField extends IBaseField {
|
|
181
|
+
displayFormat?: UrlFieldFormatType;
|
|
182
|
+
}
|
|
183
|
+
/** Adds a user field to the colleciton
|
|
184
|
+
*
|
|
185
|
+
* @param title The new field's title
|
|
186
|
+
* @param selectionMode The selection mode of the field
|
|
187
|
+
* @param selectionGroup Value that specifies the identifier of the SharePoint group whose members can be selected as values of the field
|
|
188
|
+
* @param properties
|
|
189
|
+
*/
|
|
190
|
+
export interface IUserField extends IBaseField {
|
|
191
|
+
selectionMode: FieldUserSelectionMode;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Adds a SP.FieldLookup to the collection
|
|
195
|
+
*
|
|
196
|
+
* @param title The new field's title
|
|
197
|
+
* @param lookupListId The guid id of the list where the source of the lookup is found
|
|
198
|
+
* @param lookupFieldName The internal name of the field in the source list
|
|
199
|
+
* @param properties Set of additional properties to set on the new field
|
|
200
|
+
*/
|
|
201
|
+
export interface ILookupField extends IBaseField {
|
|
202
|
+
lookupListId: string;
|
|
203
|
+
lookupFieldName: string;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Adds a new SP.FieldChoice to the collection
|
|
207
|
+
*
|
|
208
|
+
* @param title The field title.
|
|
209
|
+
* @param choices The choices for the field.
|
|
210
|
+
* @param format The display format of the available options for the field.
|
|
211
|
+
* @param fillIn Specifies whether the field allows fill-in values.
|
|
212
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
213
|
+
*/
|
|
214
|
+
export interface IChoiceField extends IBaseField {
|
|
215
|
+
choices: string[];
|
|
216
|
+
format?: ChoiceFieldFormatType;
|
|
217
|
+
fillIn?: boolean;
|
|
218
|
+
FillInChoice?: boolean;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Adds a new SP.FieldMultiChoice to the collection
|
|
222
|
+
*
|
|
223
|
+
* @param title The field title.
|
|
224
|
+
* @param choices The choices for the field.
|
|
225
|
+
* @param fillIn Specifies whether the field allows fill-in values.
|
|
226
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
227
|
+
*/
|
|
228
|
+
export interface IMultiChoiceField extends IBaseField {
|
|
229
|
+
choices: string[];
|
|
230
|
+
fillIn?: boolean;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Creates a secondary (dependent) lookup field, based on the Id of the primary lookup field.
|
|
234
|
+
*
|
|
235
|
+
* @param displayName The display name of the new field.
|
|
236
|
+
* @param primaryLookupFieldId The guid of the primary Lookup Field.
|
|
237
|
+
* @param showField Which field to show from the lookup list.
|
|
238
|
+
*/
|
|
239
|
+
export interface IDepLookupField extends IBaseField {
|
|
240
|
+
primaryLookupFieldId: string;
|
|
241
|
+
showField: string;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Adds a new SP.FieldLocation to the collection
|
|
245
|
+
*
|
|
246
|
+
* @param title The field title.
|
|
247
|
+
* @param properties Differ by type of field being created (see: https://msdn.microsoft.com/en-us/library/office/dn600182.aspx)
|
|
248
|
+
*/
|
|
249
|
+
export interface ILocationField extends IBaseField {
|
|
250
|
+
}
|
|
251
|
+
//# sourceMappingURL=columnTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Provisioning/interfaces/columnTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH;;;;;;;GAOG;AAEH,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAC9C,uBAAuB,EAAE,YAAY,EAAE,+BAA+B,EACtE,sBAAsB,EAAI,MAAM,0CAA0C,CAAC;AAG/E,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAEpF,eAAO,MAAM,WAAW,EAAE,MAAiC,CAAC;AAC5D,eAAO,MAAM,WAAW,QAAmB,CAAE;AAE7C,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,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EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACnD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;EAME;AACF,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAe,SAAQ,UAAU;CAEjD"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
export const minInfinity = -1.7976931348623157e+308;
|
|
15
|
+
export const maxInfinity = -1 * minInfinity;
|
|
16
|
+
export const cCount = { kind: null, type: null, vType: 'Counter', label: 'Counter' };
|
|
17
|
+
export const cInt = { kind: null, type: null, vType: 'Integer', label: 'Number' };
|
|
18
|
+
export const cText = { kind: 2, type: 'SP.FieldText', vType: 'Text', label: 'Text' };
|
|
19
|
+
export const cMText = { kind: 3, type: 'SP.FieldMultiLineText', vType: '', label: 'Text' };
|
|
20
|
+
export const cDate = { kind: 4, type: 'SP.FieldDateTime', vType: 'DateTime', label: 'Date' };
|
|
21
|
+
export const cChoice = { kind: 6, type: 'SP.FieldChoice', vType: 'Text', label: 'Choice' };
|
|
22
|
+
export const cLook = { kind: 7, type: 'SP.FieldCreationInformation', vType: '', label: '9' };
|
|
23
|
+
export const cDLook = { kind: 7, type: 'SP.FieldCreationInformation', vType: '', label: '9' };
|
|
24
|
+
export const cBool = { kind: 8, type: 'SP.Field', vType: 'Boolean', label: 'Boolean' };
|
|
25
|
+
export const cNumb = { kind: 9, type: 'SP.FieldNumber', vType: 'Number', label: 'Number' };
|
|
26
|
+
export const cCurr = { kind: 10, type: 'SP.FieldCurrency', vType: '', label: 'Curr' };
|
|
27
|
+
export const cURL = { kind: 11, type: 'SP.FieldUrl', vType: '', label: 'URL' };
|
|
28
|
+
export const cMChoice = { kind: 15, type: 'SP.FieldMultiChoice', vType: '', label: 'Choice' };
|
|
29
|
+
export const cCalcN = { kind: 17, type: 'SP.FieldCalculated', vType: 'Number', label: 'Calculated' };
|
|
30
|
+
export const cCalcT = { kind: 17, type: 'SP.FieldCalculated', vType: 'Text', label: 'Calculated' };
|
|
31
|
+
export const cUser = { kind: 20, type: 'SP.FieldUser', vType: 'Integer', label: 'User' };
|
|
32
|
+
export const cMUser = { 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.
|
|
33
|
+
export const cLocal = { kind: 33, type: 'SP.FieldLocation', vType: '', label: 'Loc' };
|
|
34
|
+
export const cModStatus = { kind: 23, type: 'SP.FieldChoice', vType: '', label: 'ModStatus' };
|
|
35
|
+
export const cSLook = { kind: 7, type: 'SP.FieldLookup', vType: '', label: 'Lookup' };
|
|
36
|
+
export const cComputed = { kind: 12, type: 'SP.FieldComputed', vType: '', label: 'Computed' };
|
|
37
|
+
export const myFieldDefs = [cCount, cInt, cText, cMText, cDate, cChoice, cLook, cDLook, cBool, cNumb, cCurr, cURL, cMChoice, cCalcN, cCalcT, cUser, cMUser, cLocal, cSLook, cComputed, cModStatus];
|
|
38
|
+
//# sourceMappingURL=columnTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/Provisioning/interfaces/columnTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAqBH,MAAM,CAAC,MAAM,WAAW,GAAW,CAAC,uBAAuB,CAAC;AAC5D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,GAAG,WAAW,CAAE;AAiB7C,MAAM,CAAC,MAAM,MAAM,GAAmB,EAAK,IAAI,EAAG,IAAI,EAAK,IAAI,EAAG,IAAI,EAAG,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAC,CAAC;AAE7G,MAAM,CAAC,MAAM,IAAI,GAAmB,EAAK,IAAI,EAAG,IAAI,EAAK,IAAI,EAAG,IAAI,EAAG,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAC,CAAC;AAE1G,MAAM,CAAC,MAAM,KAAK,GAAmB,EAAK,IAAI,EAAG,CAAC,EAAK,IAAI,EAAG,cAAc,EAAG,KAAK,EAAE,MAAM,EAAE,KAA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K,IAAI,EAAG,CAAC,EAAK,IAAI,EAAG,gBAAgB,EAAI,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAC,CAAC;AAE9G,MAAM,CAAC,MAAM,SAAS,GAAkB,EAAK,IAAI,EAAG,EAAE,EAAK,IAAI,EAAG,kBAAkB,EAAI,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAC,CAAC;AAEtH,MAAM,CAAC,MAAM,WAAW,GAAkB,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,169 @@
|
|
|
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
|
+
export declare function notify(statusLog: IServiceLog | any, verb: any, status: any, step: any, f: any, returnField: any, checkValue?: any, noAlert?: boolean): any;
|
|
19
|
+
export interface IServiceLog {
|
|
20
|
+
time: string;
|
|
21
|
+
step: string;
|
|
22
|
+
verb: string;
|
|
23
|
+
status: string;
|
|
24
|
+
checkValue?: any;
|
|
25
|
+
returnField?: any;
|
|
26
|
+
item?: any;
|
|
27
|
+
}
|
|
28
|
+
export interface IMyListInfo {
|
|
29
|
+
webURL?: string;
|
|
30
|
+
title: string;
|
|
31
|
+
desc?: string;
|
|
32
|
+
template?: number;
|
|
33
|
+
enableContentTypes?: boolean;
|
|
34
|
+
additionalSettings?: Partial<IListInfo>;
|
|
35
|
+
}
|
|
36
|
+
export interface IListInfo {
|
|
37
|
+
BaseTemplate?: number;
|
|
38
|
+
Base?: number;
|
|
39
|
+
BaseType?: number;
|
|
40
|
+
DefaultViewPath?: any;
|
|
41
|
+
DefaultViewUrl?: string;
|
|
42
|
+
EnableRequestSignOff: boolean;
|
|
43
|
+
EnableVersioning: boolean;
|
|
44
|
+
EntityTypeName: string;
|
|
45
|
+
ExemptFromBlockDownloadOfNonViewableFiles: boolean;
|
|
46
|
+
FileSavePostProcessingEnabled: boolean;
|
|
47
|
+
ForceCheckout: boolean;
|
|
48
|
+
HasExternalDataSource: boolean;
|
|
49
|
+
Hidden: boolean;
|
|
50
|
+
Id: string;
|
|
51
|
+
ImagePath: {
|
|
52
|
+
DecodedUrl: string;
|
|
53
|
+
};
|
|
54
|
+
ImageUrl: string;
|
|
55
|
+
IrmEnabled: boolean;
|
|
56
|
+
IrmExpire: boolean;
|
|
57
|
+
IrmReject: boolean;
|
|
58
|
+
IsApplicationList: boolean;
|
|
59
|
+
IsCatalog: boolean;
|
|
60
|
+
IsPrivate: boolean;
|
|
61
|
+
ItemCount: number;
|
|
62
|
+
HasUniqueRoleAssignments: boolean;
|
|
63
|
+
LastItemDeletedDate: string;
|
|
64
|
+
LastItemModifiedDate: string;
|
|
65
|
+
LastItemUserModifiedDate: string;
|
|
66
|
+
ListExperienceOptions: number;
|
|
67
|
+
ListItemEntityTypeFullName: string;
|
|
68
|
+
MajorVersionLimit: number;
|
|
69
|
+
MajorWithMinorVersionsLimit: number;
|
|
70
|
+
MultipleDataList: boolean;
|
|
71
|
+
NoCrawl: boolean;
|
|
72
|
+
ParentWebPath: {
|
|
73
|
+
DecodedUrl: string;
|
|
74
|
+
};
|
|
75
|
+
ParentWebUrl: string;
|
|
76
|
+
ParserDisabled: boolean;
|
|
77
|
+
RootFolder?: {
|
|
78
|
+
Exists: boolean;
|
|
79
|
+
IsWOPIEnabled: boolean;
|
|
80
|
+
ItemCount: number;
|
|
81
|
+
Name: string;
|
|
82
|
+
ProgID: string | null;
|
|
83
|
+
ServerRelativeUrl: string;
|
|
84
|
+
TimeCreated: string;
|
|
85
|
+
TimeLastModified: string;
|
|
86
|
+
UniqueId: string;
|
|
87
|
+
WelcomePage: string;
|
|
88
|
+
};
|
|
89
|
+
ServerTemplateCanCreateFolders: boolean;
|
|
90
|
+
TemplateFeatureId: string;
|
|
91
|
+
Title: string;
|
|
92
|
+
UniquePerms?: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface IContentsLists {
|
|
95
|
+
tabs: string[];
|
|
96
|
+
lists: {
|
|
97
|
+
all: IContentsListInfo[];
|
|
98
|
+
searched: IContentsListInfo[];
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export interface IContentsListInfo {
|
|
102
|
+
AllowContentTypes?: boolean;
|
|
103
|
+
ContentTypesEnabled: boolean;
|
|
104
|
+
BaseTemplate: number;
|
|
105
|
+
EntityTypeName: string;
|
|
106
|
+
Title: string;
|
|
107
|
+
Hidden: boolean;
|
|
108
|
+
Id: string;
|
|
109
|
+
Description: string;
|
|
110
|
+
ItemCount: number;
|
|
111
|
+
Created: string;
|
|
112
|
+
HasUniqueRoleAssignments: boolean;
|
|
113
|
+
LastItemDeletedDate: string;
|
|
114
|
+
LastItemModifiedDate: string;
|
|
115
|
+
LastItemUserModifiedDate: string;
|
|
116
|
+
ParentWebPath: {
|
|
117
|
+
DecodedUrl: string;
|
|
118
|
+
};
|
|
119
|
+
ParentWebUrl: string;
|
|
120
|
+
listURL: string;
|
|
121
|
+
railsOffLink: boolean;
|
|
122
|
+
allowCrazyLink: boolean;
|
|
123
|
+
responseIndex: any;
|
|
124
|
+
EnableRequestSignOff: boolean;
|
|
125
|
+
EnableVersioning: boolean;
|
|
126
|
+
EnableMinorVersions: boolean;
|
|
127
|
+
MajorVersionLimit: number;
|
|
128
|
+
MajorWithMinorVersionsLimit: number;
|
|
129
|
+
DraftVersionVisibility: number;
|
|
130
|
+
ForceCheckout: boolean;
|
|
131
|
+
EnableModeration: boolean;
|
|
132
|
+
ServerTemplateCanCreateFolders: boolean;
|
|
133
|
+
EnableAttachments: boolean;
|
|
134
|
+
NoCrawl: boolean;
|
|
135
|
+
UniquePerms?: boolean;
|
|
136
|
+
searchString: string;
|
|
137
|
+
modifiedAge?: number;
|
|
138
|
+
modifiedSettingAge?: number;
|
|
139
|
+
createdAge?: number;
|
|
140
|
+
modifiedUserAge?: number;
|
|
141
|
+
deletedAge?: number;
|
|
142
|
+
meta?: string[];
|
|
143
|
+
sort: string;
|
|
144
|
+
bucketCategory: string;
|
|
145
|
+
bucketLabel: string;
|
|
146
|
+
bucketIdx: any;
|
|
147
|
+
odataEtag: string;
|
|
148
|
+
odataId: string;
|
|
149
|
+
ListItemEntityTypeFullName: string;
|
|
150
|
+
ImagePath: {
|
|
151
|
+
DecodedUrl: string;
|
|
152
|
+
};
|
|
153
|
+
ImageUrl: string;
|
|
154
|
+
IrmEnabled: boolean;
|
|
155
|
+
IrmExpire: boolean;
|
|
156
|
+
IrmReject: boolean;
|
|
157
|
+
IsApplicationList: boolean;
|
|
158
|
+
IsCatalog: boolean;
|
|
159
|
+
IsPrivate: boolean;
|
|
160
|
+
TemplateFeatureId: string;
|
|
161
|
+
HasExternalDataSource: boolean;
|
|
162
|
+
ExemptFromBlockDownloadOfNonViewableFiles?: boolean;
|
|
163
|
+
FileSavePostProcessingEnabled?: boolean;
|
|
164
|
+
ParserDisabled: boolean;
|
|
165
|
+
ListExperienceOptions: number;
|
|
166
|
+
MultipleDataList: boolean;
|
|
167
|
+
BaseType: number;
|
|
168
|
+
}
|
|
169
|
+
//# sourceMappingURL=listTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Provisioning/interfaces/listTypes.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH;;;;;;;;GAQG;AAGH,wBAAgB,MAAM,CAAC,SAAS,EAAG,WAAW,GAAG,GAAG,EAAE,IAAI,EAAG,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAG,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,UAAU,GAAG,GAAU,EAAE,OAAO,UAAQ,OAuB5J;AAGD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,SAAS;IAExB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,gBAAg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AAgB,EAAE,OAAO,CAAC;IAM1B,QAAQ,EAAE,MAAM,CAAC;CAgClB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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, verb, status, step, f, returnField, checkValue = null, noAlert = false) {
|
|
20
|
+
if (f == null) {
|
|
21
|
+
f = { name: '' };
|
|
22
|
+
}
|
|
23
|
+
let thisItem = f == null ? null : f.name ? f.name : f.Title;
|
|
24
|
+
let thisNotify = {
|
|
25
|
+
time: (new Date()).toLocaleString(),
|
|
26
|
+
verb: verb,
|
|
27
|
+
step: '',
|
|
28
|
+
status: '',
|
|
29
|
+
//status: status,
|
|
30
|
+
//checkValue: checkValue,
|
|
31
|
+
};
|
|
32
|
+
if (step !== null && step !== undefined) {
|
|
33
|
+
thisNotify["step"] = step;
|
|
34
|
+
}
|
|
35
|
+
if (status !== null && status !== undefined) {
|
|
36
|
+
thisNotify["status"] = status;
|
|
37
|
+
}
|
|
38
|
+
if (thisItem !== null && thisItem !== undefined) {
|
|
39
|
+
thisNotify["item"] = thisItem;
|
|
40
|
+
}
|
|
41
|
+
if (returnField !== null && returnField !== undefined) {
|
|
42
|
+
thisNotify["returnField"] = returnField;
|
|
43
|
+
}
|
|
44
|
+
if (checkValue !== null && checkValue !== undefined) {
|
|
45
|
+
thisNotify["checkValue"] = checkValue;
|
|
46
|
+
}
|
|
47
|
+
//alert(verb + ' ' + f.name + ' ' + status );
|
|
48
|
+
statusLog.push(thisNotify);
|
|
49
|
+
return statusLog;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=listTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/Provisioning/interfaces/listTypes.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH;;;;;;;;GAQG;AACH,8JAA8J;AAE9J,MAAM,UAAU,MAAM,CAAC,SAA6B,EAAE,IAAU,EAAE,MAAW,EAAE,IAAU,EAAE,CAAM,EAAE,WAAgB,EAAE,aAAmB,IAAI,EAAE,OAAO,GAAG,KAAK;IAC3J,IAAK,CAAC,IAAI,IAAI,EAAG;QAAE,CAAC,GAAG,EAAC,IAAI,EAAC,EAAE,EAAC,CAAE;KAAE;IACpC,IAAI,QAAQ,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5D,IAAI,UAAU,GAAiB;QAC3B,IAAI,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,cAAc,EAAE;QACnC,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,EAAE;QACV,iBAAiB;QACjB,yBAAyB;KAC5B,CAAC;IAEF,IAAK,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAG;QAAE,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;KAAE;IACzE,IAAK,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS,EAAG;QAAE,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;KAAE;IACjF,IAAK,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAG;QAAE,UAAU,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC;KAAE;IACrF,IAAK,WAAW,KAAK,IAAI,IAAI,WAAW,KAAK,SAAS,EAAG;QAAE,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;KAAE;IACrG,IAAK,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAG;QAAE,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;KAAE;IAEjG,6CAA6C;IAC7C,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAE3B,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* This file was copied directly from npmFunctions last update and used in:
|
|
8
|
+
* Easy Contents
|
|
9
|
+
* Library Provisioning (for labels)
|
|
10
|
+
*
|
|
11
|
+
* Changes only include cleaning up imports and removed the [ key: .... ] stuff
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
import { IViewInfo } from '../../../../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 declare const queryValueCurrentUser = "<Value Type=\"Integer\"><UserID Type=\"Integer\" /></Value>";
|
|
24
|
+
export declare function queryValueToday(offSetDays?: number | null): string;
|
|
25
|
+
export declare const Eq: MyOperator;
|
|
26
|
+
export declare const Ne: MyOperator;
|
|
27
|
+
export declare const Gt: MyOperator;
|
|
28
|
+
export declare const Geq: MyOperator;
|
|
29
|
+
export declare const Lt: MyOperator;
|
|
30
|
+
export declare const Leq: MyOperator;
|
|
31
|
+
export declare const IsNull: MyOperator;
|
|
32
|
+
export declare const IsNotNull: MyOperator;
|
|
33
|
+
export declare const Contains: MyOperator;
|
|
34
|
+
export declare const BeginsWith: MyOperator;
|
|
35
|
+
export interface IViewOrder {
|
|
36
|
+
field: string | IMyFieldTypes;
|
|
37
|
+
asc: true | false;
|
|
38
|
+
}
|
|
39
|
+
export interface IViewWhere {
|
|
40
|
+
field: string | IMyFieldTypes;
|
|
41
|
+
clause: 'Or' | 'And';
|
|
42
|
+
oper: MyOperator;
|
|
43
|
+
val: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IViewGroupBy {
|
|
46
|
+
fields?: IViewOrder[];
|
|
47
|
+
collapse?: boolean;
|
|
48
|
+
limit?: number;
|
|
49
|
+
}
|
|
50
|
+
export type IViewField = IMyFieldTypes | string;
|
|
51
|
+
export interface IMyView extends Partial<IViewInfo> {
|
|
52
|
+
Title: string;
|
|
53
|
+
ServerRelativeUrl?: string;
|
|
54
|
+
RowLimit?: number;
|
|
55
|
+
iFields?: IViewField[];
|
|
56
|
+
wheres?: IViewWhere[];
|
|
57
|
+
orders?: IViewOrder[];
|
|
58
|
+
groups?: IViewGroupBy;
|
|
59
|
+
foundView?: boolean;
|
|
60
|
+
actualViewSchema?: string;
|
|
61
|
+
viewFieldsSchemaString?: string;
|
|
62
|
+
viewWhereXML?: string;
|
|
63
|
+
viewOrderByXML?: string;
|
|
64
|
+
viewGroupByXML?: string;
|
|
65
|
+
errMess?: string;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=viewTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Provisioning/interfaces/viewTypes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH;;;;;;;GAOG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAG,MAAM,eAAe,CAAC;AAE/C,MAAM,WAAW,UAAU;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,gEAA4D,CAAC;AAE/F,wBAAgB,eAAe,CAAC,UAAU,GAAE,MAAM,GAAG,IAAW,UAQ/D;AAED,eAAO,MAAM,EAAE,EAAG,UAA+B,CAAC;AAClD,eAAO,MAAM,EAAE,EAAG,UAAgC,CAAC;AACnD,eAAO,MAAM,EAAE,EAAG,UAA+B,CAAC;AAClD,eAAO,MAAM,GAAG,EAAG,UAAiC,CAAC;AACrD,eAAO,MAAM,EAAE,EAAG,UAA+B,CAAC;AAClD,eAAO,MAAM,GAAG,EAAG,UAAiC,CAAC;AACrD,eAAO,MAAM,MAAM,EAAG,UAAwC,CAAC;AAC/D,eAAO,MAAM,SAAS,EAAG,UAA8C,CAAC;AACxE,eAAO,MAAM,QAAQ,EAAG,UAA4C,CAAC;AACrE,eAAO,MAAM,UAAU,EAAG,UAAgD,CAAC;AAG3E,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,GAAG,aAAa,CAAC;IAC9B,GAAG,EAAE,IAAI,GAAG,KAAK,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,GAAG,aAAa,CAAC;IAC9B,MAAM,EAAE,IAAI,GAAG,KAAK,CAAC;IACrB,IAAI,EAAE,UAAU,CAAE;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,MAAM,CAAC;AAEhD,MAAM,WAAW,OAAQ,SAAQ,OAAO,CAAC,SAAS,CAAC;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,YAAY,CAAC;IAGtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAElB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* Standard query values
|
|
8
|
+
*/
|
|
9
|
+
export const queryValueCurrentUser = '<Value Type="Integer"><UserID Type="Integer" /></Value>';
|
|
10
|
+
export function queryValueToday(offSetDays = null) {
|
|
11
|
+
if (offSetDays == null || offSetDays === 0) {
|
|
12
|
+
return '<Value Type="DateTime"><Today /></Value>';
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
return '<Value Type="DateTime"><Today OffsetDays="' + offSetDays + '" /></Value>';
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export const Eq = { q: 'Eq', o: '=' };
|
|
19
|
+
export const Ne = { q: 'Ne', o: '<>' };
|
|
20
|
+
export const Gt = { q: 'Gt', o: '>' };
|
|
21
|
+
export const Geq = { q: 'Geq', o: '>=' };
|
|
22
|
+
export const Lt = { q: 'Lt', o: '<' };
|
|
23
|
+
export const Leq = { q: 'Leq', o: '<=' };
|
|
24
|
+
export const IsNull = { q: 'IsNull', o: 'IsNull' };
|
|
25
|
+
export const IsNotNull = { q: 'IsNotNull', o: 'IsNotNull' };
|
|
26
|
+
export const Contains = { q: 'Contains', o: 'Contains' };
|
|
27
|
+
export const BeginsWith = { q: 'BeginsWith', o: 'BeginsWith' };
|
|
28
|
+
//# sourceMappingURL=viewTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewTypes.js","sourceRoot":"","sources":["../../../../../src/components/molecules/Provisioning/interfaces/viewTypes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsBH;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,yDAAyD,CAAC;AAE/F,MAAM,UAAU,eAAe,CAAC,aAA4B,IAAI;IAE9D,IAAK,UAAU,IAAI,IAAI,IAAI,UAAU,KAAK,CAAC,EAAG;QAC5C,OAAO,0CAA0C,CAAC;KACnD;SAAM;QACL,OAAO,4CAA4C,GAAG,UAAU,GAAG,cAAc,CAAC;KACnF;AAEH,CAAC;AAED,MAAM,CAAC,MAAM,EAAE,GAAgB,EAAE,CAAC,EAAC,IAAI,EAAG,CAAC,EAAE,GAAG,EAAC,CAAC;AAClD,MAAM,CAAC,MAAM,EAAE,GAAgB,EAAE,CAAC,EAAC,IAAI,EAAG,CAAC,EAAE,IAAI,EAAC,CAAC;AACnD,MAAM,CAAC,MAAM,EAAE,GAAgB,EAAE,CAAC,EAAC,IAAI,EAAG,CAAC,EAAE,GAAG,EAAC,CAAC;AA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