@mikezimm/fps-core-v7 1.0.18 → 1.0.19
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/types/@fluentUI/@7.199.1/Pivot.d.ts +21 -2
- package/lib/types/@fluentUI/@7.199.1/Pivot.d.ts.map +1 -1
- package/lib/types/@fluentUI/@7.199.1/Pivot.js +47 -1
- package/lib/types/@fluentUI/@7.199.1/Pivot.js.map +1 -1
- package/lib/types/@pnp/@2.14.0/sp/files.d.ts +19 -0
- package/lib/types/@pnp/@2.14.0/sp/files.d.ts.map +1 -1
- package/lib/types/@pnp/@2.14.0/sp/files.js +7 -1
- package/lib/types/@pnp/@2.14.0/sp/files.js.map +1 -1
- package/lib/types/@pnp/@2.14.0/sp/security.d.ts +20 -1
- package/lib/types/@pnp/@2.14.0/sp/security.d.ts.map +1 -1
- package/lib/types/@pnp/@2.14.0/sp/security.js +165 -1
- package/lib/types/@pnp/@2.14.0/sp/security.js.map +1 -1
- package/lib/types/@pnp/@2.14.0/sp/types.d.ts +19 -0
- package/lib/types/@pnp/@2.14.0/sp/types.d.ts.map +1 -1
- package/lib/types/@pnp/@2.14.0/sp/types.js +33 -3
- package/lib/types/@pnp/@2.14.0/sp/types.js.map +1 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.d.ts +19 -0
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.d.ts.map +1 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.js +39 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.js.map +1 -1
- package/package.json +4 -3
|
@@ -1,13 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
3
|
+
*
|
|
4
|
+
* Per ChatGPT: may be the source of many errors:
|
|
5
|
+
* Key Differences
|
|
6
|
+
Implementation: export type includes the actual type definition and
|
|
7
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
8
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
9
|
+
|
|
10
|
+
Use Case:
|
|
11
|
+
Use export type when you want to define a type in your module.
|
|
12
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
13
|
+
|
|
14
|
+
* When to Use Each
|
|
15
|
+
Use export type when you are defining new types in your source files.
|
|
16
|
+
|
|
17
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
18
|
+
with external libraries where the type definitions are provided separately.
|
|
19
|
+
*/
|
|
1
20
|
/**
|
|
2
21
|
* {@docCategory Pivot}
|
|
3
22
|
* Display mode for the pivot links/tabs
|
|
4
23
|
*/
|
|
5
|
-
export
|
|
24
|
+
export type PivotLinkFormatType = 'links' | 'tabs';
|
|
6
25
|
/**
|
|
7
26
|
* {@docCategory Pivot}
|
|
8
27
|
* Size of the pivot links/tabs
|
|
9
28
|
*/
|
|
10
|
-
export
|
|
29
|
+
export type PivotLinkSizeType = 'normal' | 'large';
|
|
11
30
|
/**
|
|
12
31
|
* {@docCategory Pivot}
|
|
13
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pivot.d.ts","sourceRoot":"","sources":["../../../../src/types/@fluentUI/@7.199.1/Pivot.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"Pivot.d.ts","sourceRoot":"","sources":["../../../../src/types/@fluentUI/@7.199.1/Pivot.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAGH;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,MAAM,CAAC;AACnD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,CAAC;AACnD;;GAEG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,KAAK,IAAI;IACT;;OAEG;IACH,IAAI,IAAI;CACX;AACD;;GAEG;AACH,oBAAY,aAAa;IACrB;;OAEG;IACH,MAAM,IAAI;IACV;;OAEG;IACH,KAAK,IAAI;CACZ"}
|
|
@@ -1,2 +1,48 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
3
|
+
*
|
|
4
|
+
* Per ChatGPT: may be the source of many errors:
|
|
5
|
+
* Key Differences
|
|
6
|
+
Implementation: export type includes the actual type definition and
|
|
7
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
8
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
9
|
+
|
|
10
|
+
Use Case:
|
|
11
|
+
Use export type when you want to define a type in your module.
|
|
12
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
13
|
+
|
|
14
|
+
* When to Use Each
|
|
15
|
+
Use export type when you are defining new types in your source files.
|
|
16
|
+
|
|
17
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
18
|
+
with external libraries where the type definitions are provided separately.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* {@docCategory Pivot}
|
|
22
|
+
*/
|
|
23
|
+
export var PivotLinkFormat;
|
|
24
|
+
(function (PivotLinkFormat) {
|
|
25
|
+
/**
|
|
26
|
+
* Display Pivot Links as links
|
|
27
|
+
*/
|
|
28
|
+
PivotLinkFormat[PivotLinkFormat["links"] = 0] = "links";
|
|
29
|
+
/**
|
|
30
|
+
* Display Pivot Links as Tabs
|
|
31
|
+
*/
|
|
32
|
+
PivotLinkFormat[PivotLinkFormat["tabs"] = 1] = "tabs";
|
|
33
|
+
})(PivotLinkFormat || (PivotLinkFormat = {}));
|
|
34
|
+
/**
|
|
35
|
+
* {@docCategory Pivot}
|
|
36
|
+
*/
|
|
37
|
+
export var PivotLinkSize;
|
|
38
|
+
(function (PivotLinkSize) {
|
|
39
|
+
/**
|
|
40
|
+
* Display Link using normal font size
|
|
41
|
+
*/
|
|
42
|
+
PivotLinkSize[PivotLinkSize["normal"] = 0] = "normal";
|
|
43
|
+
/**
|
|
44
|
+
* Display links using large font size
|
|
45
|
+
*/
|
|
46
|
+
PivotLinkSize[PivotLinkSize["large"] = 1] = "large";
|
|
47
|
+
})(PivotLinkSize || (PivotLinkSize = {}));
|
|
2
48
|
//# sourceMappingURL=Pivot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pivot.js","sourceRoot":"","sources":["../../../../src/types/@fluentUI/@7.199.1/Pivot.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Pivot.js","sourceRoot":"","sources":["../../../../src/types/@fluentUI/@7.199.1/Pivot.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAaH;;GAEG;AACH,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACvB;;OAEG;IACH,uDAAS,CAAA;IACT;;OAEG;IACH,qDAAQ,CAAA;AACZ,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B;AACD;;GAEG;AACH,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACrB;;OAEG;IACH,qDAAU,CAAA;IACV;;OAEG;IACH,mDAAS,CAAA;AACb,CAAC,EATW,aAAa,KAAb,aAAa,QASxB"}
|
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
* Originally copied from node_modules\@pnp\sp\files\types.d.ts
|
|
3
3
|
* @pnp/sp": "^2.14.0
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
7
|
+
*
|
|
8
|
+
* Per ChatGPT: may be the source of many errors:
|
|
9
|
+
* Key Differences
|
|
10
|
+
Implementation: export type includes the actual type definition and
|
|
11
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
12
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
13
|
+
|
|
14
|
+
Use Case:
|
|
15
|
+
Use export type when you want to define a type in your module.
|
|
16
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
17
|
+
|
|
18
|
+
* When to Use Each
|
|
19
|
+
Use export type when you are defining new types in your source files.
|
|
20
|
+
|
|
21
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
22
|
+
with external libraries where the type definitions are provided separately.
|
|
23
|
+
*/
|
|
5
24
|
import { ISharePointQueryableInstance } from "./sharepointqueryable";
|
|
6
25
|
import { ISharePointQueryableCollection } from "./sharepointqueryable.js";
|
|
7
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/files.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,4BAA4B,EAAG,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAG1E;;;;;;;;;;GAUG;AACH,MAAM,WAAW,MAAO,SAAQ,KAAK,CAAC,SAAS,CAAC;CAAG;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,WAAW,KAAM,SAAQ,SAAS;CAAG;AAG3C;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,SAAU,SAAQ,8BAA8B;CAAG;AAIpE;;;;;;GAMG;AACH,MAAM,WAAW,QAAS,SAAQ,4BAA4B;CAAG;AAEjE,MAAM,CAAC,OAAO,MAAM,WAAW;IAC3B,KAAK,IAAI;IACT,KAAK,IAAI;IACT,SAAS,IAAI;CAChB;AACD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,SAAS,CAAC;CACnB;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,MAAM,cAAc;IAC9B;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,SAAS,IAAI;IACb;;OAEG;IACH,mBAAmB,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ACH,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -2,5 +2,11 @@
|
|
|
2
2
|
* Originally copied from node_modules\@pnp\sp\files\types.d.ts
|
|
3
3
|
* @pnp/sp": "^2.14.0
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export var TemplateFileType;
|
|
6
|
+
(function (TemplateFileType) {
|
|
7
|
+
TemplateFileType[TemplateFileType["StandardPage"] = 0] = "StandardPage";
|
|
8
|
+
TemplateFileType[TemplateFileType["WikiPage"] = 1] = "WikiPage";
|
|
9
|
+
TemplateFileType[TemplateFileType["FormPage"] = 2] = "FormPage";
|
|
10
|
+
TemplateFileType[TemplateFileType["ClientSidePage"] = 3] = "ClientSidePage";
|
|
11
|
+
})(TemplateFileType || (TemplateFileType = {}));
|
|
6
12
|
//# sourceMappingURL=files.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/files.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/files.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0IH,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IACxB,uEAAgB,CAAA;IAChB,+DAAY,CAAA;IACZ,+DAAY,CAAA;IACZ,2EAAkB,CAAA;AACtB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B"}
|
|
@@ -66,7 +66,26 @@ export interface IRoleDefinitionInfo {
|
|
|
66
66
|
Order: number;
|
|
67
67
|
RoleTypeKind: RoleTypeKind;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
/**
|
|
70
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
71
|
+
*
|
|
72
|
+
* Per ChatGPT: may be the source of many errors:
|
|
73
|
+
* Key Differences
|
|
74
|
+
Implementation: export type includes the actual type definition and
|
|
75
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
76
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
77
|
+
|
|
78
|
+
Use Case:
|
|
79
|
+
Use export type when you want to define a type in your module.
|
|
80
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
81
|
+
|
|
82
|
+
* When to Use Each
|
|
83
|
+
Use export type when you are defining new types in your source files.
|
|
84
|
+
|
|
85
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
86
|
+
with external libraries where the type definitions are provided separately.
|
|
87
|
+
*/
|
|
88
|
+
export type RoleTypeKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
70
89
|
export declare enum PermissionKind {
|
|
71
90
|
/**
|
|
72
91
|
* Has no permissions on the Site. Not available through the user interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/security.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,gBAAkB,SAAQ,KAAK,CAAC,eAAe,CAAC;CAAG;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;CAC3D;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,mBAAmB,CAAC;CACnE;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;CAC3D;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AACD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACrC,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AACD,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,mBAAmB;IAChC,eAAe,EAAE,gBAAgB,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,YAAY,CAAC;CAC9B;
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/security.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,gBAAkB,SAAQ,KAAK,CAAC,eAAe,CAAC;CAAG;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;CAC3D;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,mBAAmB,CAAC;CACnE;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;CAC3D;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AACD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACrC,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AACD,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,mBAAmB;IAChC,eAAe,EAAE,gBAAgB,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,I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B,KAAK;IACzB;;OAEG;IACH,aAAa,KAAK;IAClB;;OAEG;IACH,YAAY,KAAK;IACjB;;OAEG;IACH,YAAY,KAAK;IACjB;;OAEG;IACH,cAAc,KAAK;IACnB;;OAEG;IACH,oBAAoB,KAAK;IACzB;;OAEG;IACH,QAAQ,KAAK;CAChB"}
|
|
@@ -2,5 +2,169 @@
|
|
|
2
2
|
* Originally copied from node_modules\@pnp\sp\security\types.d.ts
|
|
3
3
|
* @pnp/sp": "^2.14.0
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export var PermissionKind;
|
|
6
|
+
(function (PermissionKind) {
|
|
7
|
+
/**
|
|
8
|
+
* Has no permissions on the Site. Not available through the user interface.
|
|
9
|
+
*/
|
|
10
|
+
PermissionKind[PermissionKind["EmptyMask"] = 0] = "EmptyMask";
|
|
11
|
+
/**
|
|
12
|
+
* View items in lists, documents in document libraries, and Web discussion comments.
|
|
13
|
+
*/
|
|
14
|
+
PermissionKind[PermissionKind["ViewListItems"] = 1] = "ViewListItems";
|
|
15
|
+
/**
|
|
16
|
+
* Add items to lists, documents to document libraries, and Web discussion comments.
|
|
17
|
+
*/
|
|
18
|
+
PermissionKind[PermissionKind["AddListItems"] = 2] = "AddListItems";
|
|
19
|
+
/**
|
|
20
|
+
* Edit items in lists, edit documents in document libraries, edit Web discussion comments
|
|
21
|
+
* in documents, and customize Web Part Pages in document libraries.
|
|
22
|
+
*/
|
|
23
|
+
PermissionKind[PermissionKind["EditListItems"] = 3] = "EditListItems";
|
|
24
|
+
/**
|
|
25
|
+
* Delete items from a list, documents from a document library, and Web discussion
|
|
26
|
+
* comments in documents.
|
|
27
|
+
*/
|
|
28
|
+
PermissionKind[PermissionKind["DeleteListItems"] = 4] = "DeleteListItems";
|
|
29
|
+
/**
|
|
30
|
+
* Approve a minor version of a list item or document.
|
|
31
|
+
*/
|
|
32
|
+
PermissionKind[PermissionKind["ApproveItems"] = 5] = "ApproveItems";
|
|
33
|
+
/**
|
|
34
|
+
* View the source of documents with server-side file handlers.
|
|
35
|
+
*/
|
|
36
|
+
PermissionKind[PermissionKind["OpenItems"] = 6] = "OpenItems";
|
|
37
|
+
/**
|
|
38
|
+
* View past versions of a list item or document.
|
|
39
|
+
*/
|
|
40
|
+
PermissionKind[PermissionKind["ViewVersions"] = 7] = "ViewVersions";
|
|
41
|
+
/**
|
|
42
|
+
* Delete past versions of a list item or document.
|
|
43
|
+
*/
|
|
44
|
+
PermissionKind[PermissionKind["DeleteVersions"] = 8] = "DeleteVersions";
|
|
45
|
+
/**
|
|
46
|
+
* Discard or check in a document which is checked out to another user.
|
|
47
|
+
*/
|
|
48
|
+
PermissionKind[PermissionKind["CancelCheckout"] = 9] = "CancelCheckout";
|
|
49
|
+
/**
|
|
50
|
+
* Create, change, and delete personal views of lists.
|
|
51
|
+
*/
|
|
52
|
+
PermissionKind[PermissionKind["ManagePersonalViews"] = 10] = "ManagePersonalViews";
|
|
53
|
+
/**
|
|
54
|
+
* Create and delete lists, add or remove columns in a list, and add or remove public views of a list.
|
|
55
|
+
*/
|
|
56
|
+
PermissionKind[PermissionKind["ManageLists"] = 12] = "ManageLists";
|
|
57
|
+
/**
|
|
58
|
+
* View forms, views, and application pages, and enumerate lists.
|
|
59
|
+
*/
|
|
60
|
+
PermissionKind[PermissionKind["ViewFormPages"] = 13] = "ViewFormPages";
|
|
61
|
+
/**
|
|
62
|
+
* Make content of a list or document library retrieveable for anonymous users through SharePoint search.
|
|
63
|
+
* The list permissions in the site do not change.
|
|
64
|
+
*/
|
|
65
|
+
PermissionKind[PermissionKind["AnonymousSearchAccessList"] = 14] = "AnonymousSearchAccessList";
|
|
66
|
+
/**
|
|
67
|
+
* Allow users to open a Site, list, or folder to access items inside that container.
|
|
68
|
+
*/
|
|
69
|
+
PermissionKind[PermissionKind["Open"] = 17] = "Open";
|
|
70
|
+
/**
|
|
71
|
+
* View pages in a Site.
|
|
72
|
+
*/
|
|
73
|
+
PermissionKind[PermissionKind["ViewPages"] = 18] = "ViewPages";
|
|
74
|
+
/**
|
|
75
|
+
* Add, change, or delete HTML pages or Web Part Pages, and edit the Site using
|
|
76
|
+
* a Windows SharePoint Services compatible editor.
|
|
77
|
+
*/
|
|
78
|
+
PermissionKind[PermissionKind["AddAndCustomizePages"] = 19] = "AddAndCustomizePages";
|
|
79
|
+
/**
|
|
80
|
+
* Apply a theme or borders to the entire Site.
|
|
81
|
+
*/
|
|
82
|
+
PermissionKind[PermissionKind["ApplyThemeAndBorder"] = 20] = "ApplyThemeAndBorder";
|
|
83
|
+
/**
|
|
84
|
+
* Apply a style sheet (.css file) to the Site.
|
|
85
|
+
*/
|
|
86
|
+
PermissionKind[PermissionKind["ApplyStyleSheets"] = 21] = "ApplyStyleSheets";
|
|
87
|
+
/**
|
|
88
|
+
* View reports on Site usage.
|
|
89
|
+
*/
|
|
90
|
+
PermissionKind[PermissionKind["ViewUsageData"] = 22] = "ViewUsageData";
|
|
91
|
+
/**
|
|
92
|
+
* Create a Site using Self-Service Site Creation.
|
|
93
|
+
*/
|
|
94
|
+
PermissionKind[PermissionKind["CreateSSCSite"] = 23] = "CreateSSCSite";
|
|
95
|
+
/**
|
|
96
|
+
* Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites.
|
|
97
|
+
*/
|
|
98
|
+
PermissionKind[PermissionKind["ManageSubwebs"] = 24] = "ManageSubwebs";
|
|
99
|
+
/**
|
|
100
|
+
* Create a group of users that can be used anywhere within the site collection.
|
|
101
|
+
*/
|
|
102
|
+
PermissionKind[PermissionKind["CreateGroups"] = 25] = "CreateGroups";
|
|
103
|
+
/**
|
|
104
|
+
* Create and change permission levels on the Site and assign permissions to users
|
|
105
|
+
* and groups.
|
|
106
|
+
*/
|
|
107
|
+
PermissionKind[PermissionKind["ManagePermissions"] = 26] = "ManagePermissions";
|
|
108
|
+
/**
|
|
109
|
+
* Enumerate files and folders in a Site using Microsoft Office SharePoint Designer
|
|
110
|
+
* and WebDAV interfaces.
|
|
111
|
+
*/
|
|
112
|
+
PermissionKind[PermissionKind["BrowseDirectories"] = 27] = "BrowseDirectories";
|
|
113
|
+
/**
|
|
114
|
+
* View information about users of the Site.
|
|
115
|
+
*/
|
|
116
|
+
PermissionKind[PermissionKind["BrowseUserInfo"] = 28] = "BrowseUserInfo";
|
|
117
|
+
/**
|
|
118
|
+
* Add or remove personal Web Parts on a Web Part Page.
|
|
119
|
+
*/
|
|
120
|
+
PermissionKind[PermissionKind["AddDelPrivateWebParts"] = 29] = "AddDelPrivateWebParts";
|
|
121
|
+
/**
|
|
122
|
+
* Update Web Parts to display personalized information.
|
|
123
|
+
*/
|
|
124
|
+
PermissionKind[PermissionKind["UpdatePersonalWebParts"] = 30] = "UpdatePersonalWebParts";
|
|
125
|
+
/**
|
|
126
|
+
* Grant the ability to perform all administration tasks for the Site as well as
|
|
127
|
+
* manage content, activate, deactivate, or edit properties of Site scoped Features
|
|
128
|
+
* through the object model or through the user interface (UI). When granted on the
|
|
129
|
+
* root Site of a Site Collection, activate, deactivate, or edit properties of
|
|
130
|
+
* site collection scoped Features through the object model. To browse to the Site
|
|
131
|
+
* Collection Features page and activate or deactivate Site Collection scoped Features
|
|
132
|
+
* through the UI, you must be a Site Collection administrator.
|
|
133
|
+
*/
|
|
134
|
+
PermissionKind[PermissionKind["ManageWeb"] = 31] = "ManageWeb";
|
|
135
|
+
/**
|
|
136
|
+
* Content of lists and document libraries in the Web site will be retrieveable for anonymous users through
|
|
137
|
+
* SharePoint search if the list or document library has AnonymousSearchAccessList set.
|
|
138
|
+
*/
|
|
139
|
+
PermissionKind[PermissionKind["AnonymousSearchAccessWebLists"] = 32] = "AnonymousSearchAccessWebLists";
|
|
140
|
+
/**
|
|
141
|
+
* Use features that launch client applications. Otherwise, users must work on documents
|
|
142
|
+
* locally and upload changes.
|
|
143
|
+
*/
|
|
144
|
+
PermissionKind[PermissionKind["UseClientIntegration"] = 37] = "UseClientIntegration";
|
|
145
|
+
/**
|
|
146
|
+
* Use SOAP, WebDAV, or Microsoft Office SharePoint Designer interfaces to access the Site.
|
|
147
|
+
*/
|
|
148
|
+
PermissionKind[PermissionKind["UseRemoteAPIs"] = 38] = "UseRemoteAPIs";
|
|
149
|
+
/**
|
|
150
|
+
* Manage alerts for all users of the Site.
|
|
151
|
+
*/
|
|
152
|
+
PermissionKind[PermissionKind["ManageAlerts"] = 39] = "ManageAlerts";
|
|
153
|
+
/**
|
|
154
|
+
* Create e-mail alerts.
|
|
155
|
+
*/
|
|
156
|
+
PermissionKind[PermissionKind["CreateAlerts"] = 40] = "CreateAlerts";
|
|
157
|
+
/**
|
|
158
|
+
* Allows a user to change his or her user information, such as adding a picture.
|
|
159
|
+
*/
|
|
160
|
+
PermissionKind[PermissionKind["EditMyUserInfo"] = 41] = "EditMyUserInfo";
|
|
161
|
+
/**
|
|
162
|
+
* Enumerate permissions on Site, list, folder, document, or list item.
|
|
163
|
+
*/
|
|
164
|
+
PermissionKind[PermissionKind["EnumeratePermissions"] = 63] = "EnumeratePermissions";
|
|
165
|
+
/**
|
|
166
|
+
* Has all permissions on the Site. Not available through the user interface.
|
|
167
|
+
*/
|
|
168
|
+
PermissionKind[PermissionKind["FullMask"] = 65] = "FullMask";
|
|
169
|
+
})(PermissionKind || (PermissionKind = {}));
|
|
6
170
|
//# sourceMappingURL=security.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/security.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
1
|
+
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/security.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA4FH,MAAM,CAAN,IAAY,cAmKX;AAnKD,WAAY,cAAc;IACtB;;OAEG;IACH,6DAAa,CAAA;IACb;;OAEG;IACH,qEAAiB,CAAA;IACjB;;OAEG;IACH,mEAAgB,CAAA;IAChB;;;OAGG;IACH,qEAAiB,CAAA;IACjB;;;OAGG;IACH,yEAAmB,CAAA;IACnB;;OAEG;IACH,mEAAgB,CAAA;IAChB;;OAEG;IACH,6DAAa,CAAA;IACb;;OAEG;IACH,mEAAgB,CAAA;IAChB;;OAEG;IACH,uEAAkB,CAAA;IAClB;;OAEG;IACH,uEAAkB,CAAA;IAClB;;OAEG;IACH,kFAAwB,CAAA;IACxB;;OAEG;IACH,kEAAgB,CAAA;IAChB;;OAEG;IACH,sEAAkB,CAAA;IAClB;;;OAGG;IACH,8FAA8B,CAAA;IAC9B;;OAEG;IACH,oDAAS,CAAA;IACT;;OAEG;IACH,8DAAc,CAAA;IACd;;;OAGG;IACH,oFAAyB,CAAA;IACzB;;OAEG;IACH,kFAAwB,CAAA;IACxB;;OAEG;IACH,4EAAqB,CAAA;IACrB;;OAEG;IACH,sEAAkB,CAAA;IAClB;;OAEG;IACH,sEAAkB,CAAA;IAClB;;OAEG;IACH,sEAAkB,CAAA;IAClB;;OAEG;IACH,oEAAiB,CAAA;IACjB;;;OAGG;IACH,8EAAsB,CAAA;IACtB;;;OAGG;IACH,8EAAsB,CAAA;IACtB;;OAEG;IACH,wEAAmB,CAAA;IACnB;;OAEG;IACH,sFAA0B,CAAA;IAC1B;;OAEG;IACH,wFAA2B,CAAA;IAC3B;;;;;;;;OAQG;IACH,8DAAc,CAAA;IACd;;;OAGG;IACH,sGAAkC,CAAA;IAClC;;;OAGG;IACH,oFAAyB,CAAA;IACzB;;OAEG;IACH,sEAAkB,CAAA;IAClB;;OAEG;IACH,oEAAiB,CAAA;IACjB;;OAEG;IACH,oEAAiB,CAAA;IACjB;;OAEG;IACH,wEAAmB,CAAA;IACnB;;OAEG;IACH,oFAAyB,CAAA;IACzB;;OAEG;IACH,4DAAa,CAAA;AACjB,CAAC,EAnKW,cAAc,KAAd,cAAc,QAmKzB"}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
3
|
+
*
|
|
4
|
+
* Per ChatGPT: may be the source of many errors:
|
|
5
|
+
* Key Differences
|
|
6
|
+
Implementation: export type includes the actual type definition and
|
|
7
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
8
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
9
|
+
|
|
10
|
+
Use Case:
|
|
11
|
+
Use export type when you want to define a type in your module.
|
|
12
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
13
|
+
|
|
14
|
+
* When to Use Each
|
|
15
|
+
Use export type when you are defining new types in your source files.
|
|
16
|
+
|
|
17
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
18
|
+
with external libraries where the type definitions are provided separately.
|
|
19
|
+
*/
|
|
1
20
|
/**
|
|
2
21
|
* Originally copied from node_modules\@pnp\sp\types.d.ts
|
|
3
22
|
* @pnp/sp": "^2.14.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/types.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AAIH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AACD;;EAEE;AACF,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,K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ACH,IAAI,IAAI;IACR;;OAEG;IACH,gBAAgB,IAAI;IACpB;;OAEG;IACH,aAAa,IAAI;IACjB;;OAEG;IACH,eAAe,IAAI;IACnB;;OAEG;IACH,GAAG,KAAK;CACT;AACD;;EAEE;AACF,0BAAkB,eAAe;IAC/B;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,OAAO,IAAI;IACX;;OAEG;IACH,kBAAkB,IAAI;IACtB;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,GAAG,KAAK;CACT;AACD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB;AACD,oBAAY,QAAQ;IAClB,OAAO,KAAK;IACZ,WAAW,IAAI;IACf,UAAU,IAAI;IACd,UAAU,IAAI;IACd,IAAI,IAAI;IACR,WAAW,IAAI;IACf,iBAAiB,IAAI;IACrB,QAAQ,IAAI;IACZ,cAAc,IAAI;IAClB,OAAO,IAAI;IACX,aAAa,IAAI;IACjB,YAAY,KAAK;IACjB,aAAa,KAAK;CACnB"}
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
3
|
+
*
|
|
4
|
+
* Per ChatGPT: may be the source of many errors:
|
|
5
|
+
* Key Differences
|
|
6
|
+
Implementation: export type includes the actual type definition and
|
|
7
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
8
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
9
|
+
|
|
10
|
+
Use Case:
|
|
11
|
+
Use export type when you want to define a type in your module.
|
|
12
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
13
|
+
|
|
14
|
+
* When to Use Each
|
|
15
|
+
Use export type when you are defining new types in your source files.
|
|
16
|
+
|
|
17
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
18
|
+
with external libraries where the type definitions are provided separately.
|
|
4
19
|
*/
|
|
5
|
-
export
|
|
20
|
+
export var PageType;
|
|
21
|
+
(function (PageType) {
|
|
22
|
+
PageType[PageType["Invalid"] = -1] = "Invalid";
|
|
23
|
+
PageType[PageType["DefaultView"] = 0] = "DefaultView";
|
|
24
|
+
PageType[PageType["NormalView"] = 1] = "NormalView";
|
|
25
|
+
PageType[PageType["DialogView"] = 2] = "DialogView";
|
|
26
|
+
PageType[PageType["View"] = 3] = "View";
|
|
27
|
+
PageType[PageType["DisplayForm"] = 4] = "DisplayForm";
|
|
28
|
+
PageType[PageType["DisplayFormDialog"] = 5] = "DisplayFormDialog";
|
|
29
|
+
PageType[PageType["EditForm"] = 6] = "EditForm";
|
|
30
|
+
PageType[PageType["EditFormDialog"] = 7] = "EditFormDialog";
|
|
31
|
+
PageType[PageType["NewForm"] = 8] = "NewForm";
|
|
32
|
+
PageType[PageType["NewFormDialog"] = 9] = "NewFormDialog";
|
|
33
|
+
PageType[PageType["SolutionForm"] = 10] = "SolutionForm";
|
|
34
|
+
PageType[PageType["PAGE_MAXITEMS"] = 11] = "PAGE_MAXITEMS";
|
|
35
|
+
})(PageType || (PageType = {}));
|
|
6
36
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/types.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAoNH,MAAM,CAAN,IAAY,QAcX;AAdD,WAAY,QAAQ;IAClB,8CAAY,CAAA;IACZ,qDAAe,CAAA;IACf,mDAAc,CAAA;IACd,mDAAc,CAAA;IACd,uCAAQ,CAAA;IACR,qDAAe,CAAA;IACf,iEAAqB,CAAA;IACrB,+CAAY,CAAA;IACZ,2DAAkB,CAAA;IAClB,6CAAW,CAAA;IACX,yDAAiB,CAAA;IACjB,wDAAiB,CAAA;IACjB,0DAAkB,CAAA;AACpB,CAAC,EAdW,QAAQ,KAAR,QAAQ,QAcnB"}
|
|
@@ -10,6 +10,25 @@
|
|
|
10
10
|
* Choices are All - 15, Distribution List - 2 , Security Groups - 4, SharePoint Groups - 8, User - 1.
|
|
11
11
|
* These values can be combined (example: 13 is security + SP groups + users)
|
|
12
12
|
*/
|
|
13
|
+
/**
|
|
14
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
15
|
+
*
|
|
16
|
+
* Per ChatGPT: may be the source of many errors:
|
|
17
|
+
* Key Differences
|
|
18
|
+
Implementation: export type includes the actual type definition and
|
|
19
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
20
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
21
|
+
|
|
22
|
+
Use Case:
|
|
23
|
+
Use export type when you want to define a type in your module.
|
|
24
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
25
|
+
|
|
26
|
+
* When to Use Each
|
|
27
|
+
Use export type when you are defining new types in your source files.
|
|
28
|
+
|
|
29
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
30
|
+
with external libraries where the type definitions are provided separately.
|
|
31
|
+
*/
|
|
13
32
|
export declare enum PrincipalTypeSPFxPeopleGroup {
|
|
14
33
|
/**
|
|
15
34
|
* Users
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPropertyFieldGroupOrPerson.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"IPropertyFieldGroupOrPerson.d.ts","sourceRoot":"","sources":["../../../../src/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH,oBAAY,4BAA4B;IACtC;;OAEG;IACH,KAAK,IAAI;IACT;;OAEG;IACH,QAAQ,IAAI;IACZ;;OAEG;IACH,UAAU,IAAI;CACf;AAED;;GAEG;AACF,MAAM,WAAW,2BAA2B;IAC3C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -5,5 +5,43 @@
|
|
|
5
5
|
* 2024-09-06: Copied from fps-library-v2\src\common\interfaces\openSource\spfxPropControls\@3.11.0
|
|
6
6
|
* PrincipalType COPIED FROM @pnp/spfx-property-controls@3.6.0 to avoid importing library
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
/** copied from
|
|
9
|
+
* PrincipalType controls the type of entities that are returned in the results.
|
|
10
|
+
* Choices are All - 15, Distribution List - 2 , Security Groups - 4, SharePoint Groups - 8, User - 1.
|
|
11
|
+
* These values can be combined (example: 13 is security + SP groups + users)
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* 2024-09-25: changed from export declare type to just export declare
|
|
15
|
+
*
|
|
16
|
+
* Per ChatGPT: may be the source of many errors:
|
|
17
|
+
* Key Differences
|
|
18
|
+
Implementation: export type includes the actual type definition and
|
|
19
|
+
is part of the module's implementation. export declare type does not provide an implementation;
|
|
20
|
+
it's a declaration that can be fulfilled elsewhere.
|
|
21
|
+
|
|
22
|
+
Use Case:
|
|
23
|
+
Use export type when you want to define a type in your module.
|
|
24
|
+
Use export declare type when you are declaring a type in a declaration file or when you're letting TypeScript know that the type exists but is implemented elsewhere.
|
|
25
|
+
|
|
26
|
+
* When to Use Each
|
|
27
|
+
Use export type when you are defining new types in your source files.
|
|
28
|
+
|
|
29
|
+
Use export declare type mainly in .d.ts files or when you're working
|
|
30
|
+
with external libraries where the type definitions are provided separately.
|
|
31
|
+
*/
|
|
32
|
+
export var PrincipalTypeSPFxPeopleGroup;
|
|
33
|
+
(function (PrincipalTypeSPFxPeopleGroup) {
|
|
34
|
+
/**
|
|
35
|
+
* Users
|
|
36
|
+
*/
|
|
37
|
+
PrincipalTypeSPFxPeopleGroup[PrincipalTypeSPFxPeopleGroup["Users"] = 1] = "Users";
|
|
38
|
+
/**
|
|
39
|
+
* Security Group
|
|
40
|
+
*/
|
|
41
|
+
PrincipalTypeSPFxPeopleGroup[PrincipalTypeSPFxPeopleGroup["Security"] = 4] = "Security";
|
|
42
|
+
/**
|
|
43
|
+
* SharePoint Group
|
|
44
|
+
*/
|
|
45
|
+
PrincipalTypeSPFxPeopleGroup[PrincipalTypeSPFxPeopleGroup["SharePoint"] = 8] = "SharePoint";
|
|
46
|
+
})(PrincipalTypeSPFxPeopleGroup || (PrincipalTypeSPFxPeopleGroup = {}));
|
|
9
47
|
//# sourceMappingURL=IPropertyFieldGroupOrPerson.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPropertyFieldGroupOrPerson.js","sourceRoot":"","sources":["../../../../src/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
1
|
+
{"version":3,"file":"IPropertyFieldGroupOrPerson.js","sourceRoot":"","sources":["../../../../src/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,CAAN,IAAY,4BAaX;AAbD,WAAY,4BAA4B;IACtC;;OAEG;IACH,iFAAS,CAAA;IACT;;OAEG;IACH,uFAAY,CAAA;IACZ;;OAEG;IACH,2FAAc,CAAA;AAChB,CAAC,EAbW,4BAA4B,KAA5B,4BAA4B,QAavC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikezimm/fps-core-v7",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Library of reusable core interfaces, types and constants migrated from fps-library-v2",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
"maintained node versions",
|
|
38
38
|
"not dead"
|
|
39
39
|
],
|
|
40
|
+
"dependencies": {},
|
|
40
41
|
"devDependencies": {
|
|
42
|
+
|
|
41
43
|
"@types/webpack": "^5.28.0",
|
|
42
44
|
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
43
45
|
"@typescript-eslint/parser": "^5.36.2",
|
|
@@ -53,6 +55,5 @@
|
|
|
53
55
|
"files": [
|
|
54
56
|
"/lib",
|
|
55
57
|
"LICENSE.md"
|
|
56
|
-
]
|
|
57
|
-
"dependencies": {}
|
|
58
|
+
]
|
|
58
59
|
}
|