@mikezimm/fps-library-v2 1.0.43 → 1.0.44

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/CHANGELOG.md CHANGED
@@ -5,13 +5,17 @@ npm run build
5
5
  npm version major/minor/patch
6
6
  npm publish --access=public
7
7
 
8
- npm install @mikezimm/fps-library-v2@1.0.43
8
+ npm install @mikezimm/fps-library-v2@1.0.44
9
9
 
10
10
 
11
11
  # Changelog
12
12
 
13
13
  NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
14
14
 
15
+ ## 1.0.44 - 2022-Dec-18: Drilldown Update part 5
16
+ - remove duplicate src\common\Audiences folder from here.... go to banner/propPane/Audiences instead
17
+ - fix reactListView css import to point to fps-sytles
18
+
15
19
  ## 1.0.43 - 2022-Dec-18: Drilldown Update part 5
16
20
  - add siteServerRelativeUrl to IFPSEnviro - in order to easily tell if a url is on the current site collection
17
21
 
@@ -1,4 +1 @@
1
- import { IPropertyPaneDropdownProps } from '@microsoft/sp-property-pane';
2
- import { IAudienceGroupType } from './Interfaces';
3
- export declare function createAudienceGroup(propName: string, label: string, audience: IAudienceGroupType, disabled: boolean): import("@microsoft/sp-property-pane").IPropertyPaneField<IPropertyPaneDropdownProps>;
4
1
  //# sourceMappingURL=AudiencePropGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AudiencePropGroup.d.ts","sourceRoot":"","sources":["../../../src/common/Audiences/AudiencePropGroup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,0BAA0B,EAAG,MAAM,6BAA6B,CAAC;AAEhG,OAAO,EAAE,kBAAkB,EAAoI,MAAM,cAAc,CAAC;AACpL,wBAAgB,mBAAmB,CAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,EAAE,OAAO,wFAiBpH"}
1
+ {"version":3,"file":"AudiencePropGroup.d.ts","sourceRoot":"","sources":["../../../src/common/Audiences/AudiencePropGroup.ts"],"names":[],"mappings":""}
@@ -1,24 +1,16 @@
1
- import { PropertyPaneDropdown, } from '@microsoft/sp-property-pane';
2
- import { EveryoneAudienceChoices, FullControlAudienceChoices, PageEditorAudienceChoices, ItemEditorAudienceChoices, EditorAudienceChoices } from './Interfaces';
3
- export function createAudienceGroup(propName, label, audience, disabled) {
4
- let options = EveryoneAudienceChoices;
5
- if (audience === 'Owner') {
6
- options = FullControlAudienceChoices;
7
- }
8
- else if (audience === 'Page') {
9
- options = PageEditorAudienceChoices;
10
- }
11
- else if (audience === 'Item') {
12
- options = ItemEditorAudienceChoices;
13
- }
14
- else if (audience === 'Editor') {
15
- options = EditorAudienceChoices;
16
- }
17
- const thisField = PropertyPaneDropdown(propName, {
18
- label: label,
19
- options: options,
20
- disabled: disabled,
21
- });
22
- return thisField;
23
- }
1
+ // import { PropertyPaneDropdown, IPropertyPaneDropdownProps, } from '@microsoft/sp-property-pane';
2
+ // import { IAudienceGroupType, EveryoneAudienceChoices, FullControlAudienceChoices, PageEditorAudienceChoices, ItemEditorAudienceChoices, EditorAudienceChoices } from './Interfaces';
3
+ // export function createAudienceGroup( propName: string, label: string, audience: IAudienceGroupType, disabled: boolean ) {
4
+ // let options = EveryoneAudienceChoices;
5
+ // if ( audience === 'Owner' ) { options = FullControlAudienceChoices; }
6
+ // else if ( audience === 'Page' ) { options = PageEditorAudienceChoices; }
7
+ // else if ( audience === 'Item' ) { options = ItemEditorAudienceChoices; }
8
+ // else if ( audience === 'Editor' ) { options = EditorAudienceChoices; }
9
+ // const thisField = PropertyPaneDropdown( propName, <IPropertyPaneDropdownProps>{
10
+ // label: label,
11
+ // options: options,
12
+ // disabled: disabled,
13
+ // }) ;
14
+ // return thisField;
15
+ // }
24
16
  //# sourceMappingURL=AudiencePropGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AudiencePropGroup.js","sourceRoot":"","sources":["../../../src/common/Audiences/AudiencePropGroup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,GAA+B,MAAM,6BAA6B,CAAC;AAEhG,OAAO,EAAsB,uBAAuB,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACpL,MAAM,UAAU,mBAAmB,CAAE,QAAgB,EAAE,KAAa,EAAE,QAA4B,EAAE,QAAiB;IAEnH,IAAI,OAAO,GAAG,uBAAuB,CAAC;IACtC,IAAK,QAAQ,KAAK,OAAO,EAAG;QAAE,OAAO,GAAG,0BAA0B,CAAC;KAAE;SAChE,IAAK,QAAQ,KAAK,MAAM,EAAG;QAAE,OAAO,GAAG,yBAAyB,CAAC;KAAE;SACnE,IAAK,QAAQ,KAAK,MAAM,EAAG;QAAE,OAAO,GAAG,yBAAyB,CAAC;KAAE;SACnE,IAAK,QAAQ,KAAK,QAAQ,EAAG;QAAE,OAAO,GAAG,qBAAqB,CAAC;KAAE;IAEtE,MAAM,SAAS,GAAM,oBAAoB,CAAE,QAAQ,EAA8B;QAC/E,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAE;IAEJ,OAAO,SAAS,CAAC;AAGnB,CAAC"}
1
+ {"version":3,"file":"AudiencePropGroup.js","sourceRoot":"","sources":["../../../src/common/Audiences/AudiencePropGroup.ts"],"names":[],"mappings":"AAEA,mGAAmG;AAEnG,uLAAuL;AACvL,4HAA4H;AAE5H,2CAA2C;AAC3C,0EAA0E;AAC1E,6EAA6E;AAC7E,6EAA6E;AAC7E,2EAA2E;AAE3E,uFAAuF;AACvF,oBAAoB;AACpB,wBAAwB;AACxB,0BAA0B;AAC1B,SAAS;AAET,sBAAsB;AAGtB,IAAI"}
@@ -1,18 +1 @@
1
- import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
2
- export type IAdminAudience = 'Site Admins';
3
- export type IOwnerAudience = 'Site Owners';
4
- export type IPageEditAudience = 'Page Editors';
5
- export type IItemEditAudience = 'Item Editors';
6
- export type IVisitorAudience = 'Everyone';
7
- export type IFullControlAudience = IAdminAudience | IOwnerAudience;
8
- export declare const FullControlAudienceChoices: IPropertyPaneDropdownOption[];
9
- export type IPageEditorAudience = IAdminAudience | IOwnerAudience | IPageEditAudience;
10
- export declare const PageEditorAudienceChoices: IPropertyPaneDropdownOption[];
11
- export type IItemEditorAudience = IAdminAudience | IOwnerAudience | IPageEditAudience | IItemEditAudience | IVisitorAudience;
12
- export declare const ItemEditorAudienceChoices: IPropertyPaneDropdownOption[];
13
- export type IEditorAudience = IAdminAudience | IOwnerAudience | IPageEditAudience | IItemEditAudience;
14
- export declare const EditorAudienceChoices: IPropertyPaneDropdownOption[];
15
- export type IEveryoneAudience = IAdminAudience | IOwnerAudience | IPageEditAudience | IItemEditAudience | IVisitorAudience;
16
- export declare const EveryoneAudienceChoices: IPropertyPaneDropdownOption[];
17
- export type IAudienceGroupType = 'Admin' | 'Owner' | 'Page' | 'Item' | 'Editor' | 'Everyone';
18
1
  //# sourceMappingURL=Interfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Interfaces.d.ts","sourceRoot":"","sources":["../../../src/common/Audiences/Interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,2BAA2B,EAE5B,MAAM,6BAA6B,CAAC;AAGvC,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC;AAC3C,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC;AAC3C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAC/C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG,cAAc,CAAC;AAEnE,eAAO,MAAM,0BAA0B,EAAE,2BAA2B,EAGnE,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,CAAC;AAEtF,eAAO,MAAM,yBAAyB,EAAE,2BAA2B,EAIlE,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE7H,eAAO,MAAM,yBAAyB,EAAE,2BAA2B,EAIlE,CAAC;AAGF,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AAEtG,eAAO,MAAM,qBAAqB,EAAE,2BAA2B,EAK9D,CAAC;AAGF,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE3H,eAAO,MAAM,uBAAuB,EAAE,2BAA2B,EAMhE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAA"}
1
+ {"version":3,"file":"Interfaces.d.ts","sourceRoot":"","sources":["../../../src/common/Audiences/Interfaces.ts"],"names":[],"mappings":""}
@@ -1,28 +1,43 @@
1
- export const FullControlAudienceChoices = [
2
- { index: 0, key: 'Site Admins', text: "Site Admins" },
3
- { index: 1, key: 'Site Owners', text: "Site Owners" },
4
- ];
5
- export const PageEditorAudienceChoices = [
6
- { index: 0, key: 'Site Admins', text: "Site Admins" },
7
- { index: 1, key: 'Site Owners', text: "Site Owners" },
8
- { index: 2, key: 'Page Editors', text: "Page Editors" },
9
- ];
10
- export const ItemEditorAudienceChoices = [
11
- { index: 0, key: 'Site Admins', text: "Site Admins" },
12
- { index: 1, key: 'Site Owners', text: "Site Owners" },
13
- { index: 3, key: 'Item Editors', text: "Item Editors" },
14
- ];
15
- export const EditorAudienceChoices = [
16
- { index: 0, key: 'Site Admins', text: "Site Admins" },
17
- { index: 1, key: 'Site Owners', text: "Site Owners" },
18
- { index: 2, key: 'Page Editors', text: "Page Editors" },
19
- { index: 3, key: 'Item Editors', text: "Item Editors" },
20
- ];
21
- export const EveryoneAudienceChoices = [
22
- { index: 0, key: 'Site Admins', text: "Site Admins" },
23
- { index: 1, key: 'Site Owners', text: "Site Owners" },
24
- { index: 2, key: 'Page Editors', text: "Page Editors" },
25
- { index: 3, key: 'Item Editors', text: "Item Editors" },
26
- { index: 4, key: 'Everyone', text: "Everyone" },
27
- ];
1
+ // import {
2
+ // IPropertyPaneDropdownOption, PropertyPaneToggle,
3
+ // PropertyPaneDropdown, IPropertyPaneDropdownProps,
4
+ // } from '@microsoft/sp-property-pane';
5
+ // export type IAdminAudience = 'Site Admins';
6
+ // export type IOwnerAudience = 'Site Owners';
7
+ // export type IPageEditAudience = 'Page Editors';
8
+ // export type IItemEditAudience = 'Item Editors';
9
+ // export type IVisitorAudience = 'Everyone';
10
+ // export type IFullControlAudience = IAdminAudience | IOwnerAudience;
11
+ // export const FullControlAudienceChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[ //beAUserAudienceChoicesAll
12
+ // { index: 0, key: 'Site Admins', text: "Site Admins" },
13
+ // { index: 1, key: 'Site Owners', text: "Site Owners" },
14
+ // ];
15
+ // export type IPageEditorAudience = IAdminAudience | IOwnerAudience | IPageEditAudience;
16
+ // export const PageEditorAudienceChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[ //beAUserAudienceChoicesAll
17
+ // { index: 0, key: 'Site Admins', text: "Site Admins" },
18
+ // { index: 1, key: 'Site Owners', text: "Site Owners" },
19
+ // { index: 2, key: 'Page Editors', text: "Page Editors" },
20
+ // ];
21
+ // export type IItemEditorAudience = IAdminAudience | IOwnerAudience | IPageEditAudience | IItemEditAudience | IVisitorAudience;
22
+ // export const ItemEditorAudienceChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[ //expandAudienceChoicesAll
23
+ // { index: 0, key: 'Site Admins', text: "Site Admins" },
24
+ // { index: 1, key: 'Site Owners', text: "Site Owners" },
25
+ // { index: 3, key: 'Item Editors', text: "Item Editors" },
26
+ // ];
27
+ // export type IEditorAudience = IAdminAudience | IOwnerAudience | IPageEditAudience | IItemEditAudience;
28
+ // export const EditorAudienceChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[ //expandAudienceChoicesAll
29
+ // { index: 0, key: 'Site Admins', text: "Site Admins" },
30
+ // { index: 1, key: 'Site Owners', text: "Site Owners" },
31
+ // { index: 2, key: 'Page Editors', text: "Page Editors" },
32
+ // { index: 3, key: 'Item Editors', text: "Item Editors" },
33
+ // ];
34
+ // export type IEveryoneAudience = IAdminAudience | IOwnerAudience | IPageEditAudience | IItemEditAudience | IVisitorAudience;
35
+ // export const EveryoneAudienceChoices: IPropertyPaneDropdownOption[] = <IPropertyPaneDropdownOption[]>[ //expandAudienceChoicesAll
36
+ // { index: 0, key: 'Site Admins', text: "Site Admins" },
37
+ // { index: 1, key: 'Site Owners', text: "Site Owners" },
38
+ // { index: 2, key: 'Page Editors', text: "Page Editors" },
39
+ // { index: 3, key: 'Item Editors', text: "Item Editors" },
40
+ // { index: 4, key: 'Everyone', text: "Everyone" },
41
+ // ];
42
+ // export type IAudienceGroupType = 'Admin' | 'Owner' | 'Page' | 'Item' | 'Editor' | 'Everyone'
28
43
  //# sourceMappingURL=Interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/common/Audiences/Interfaces.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,0BAA0B,GAAiE;IACtG,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAG;IAC1D,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAG;CAC3D,CAAC;AAKF,MAAM,CAAC,MAAM,yBAAyB,GAAiE;IACrG,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE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AAK,EAAE,CAAC,EAAI,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAG;IAC5D,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAG;CACrD,CAAC"}
1
+ {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../src/common/Audiences/Interfaces.ts"],"names":[],"mappings":"AAEA,WAAW;AACX,uDAAuD;AACvD,wDAAwD;AACxD,0CAA0C;AAG1C,8CAA8C;AAC9C,8CAA8C;AAC9C,kDAAkD;AAClD,kDAAkD;AAClD,6CAA6C;AAE7C,sEAAsE;AAEtE,yIAAyI;AACzI,gEAAgE;AAChE,gEAAgE;AAChE,KAAK;AAGL,yFAAyF;AAEzF,wIAAwI;AACxI,gEAAgE;AAChE,gEAAgE;AAChE,kEAAkE;AAClE,KAAK;AAGL,gIAAgI;AAEhI,uIAAuI;AACvI,gEAAgE;AAChE,gEAAgE;AAChE,kEAAkE;AAClE,KAAK;AAGL,yGAAyG;AAEzG,mIAAmI;AACnI,gEAAgE;AAChE,gEAAgE;AAChE,kEAAkE;AAClE,kEAAkE;AAClE,KAAK;AAGL,8HAA8H;AAE9H,qIAAqI;AACrI,gEAAgE;AAChE,gEAAgE;AAChE,kEAAkE;AAClE,kEAAkE;AAClE,0DAA0D;AAC1D,KAAK;AAEL,+FAA+F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikezimm/fps-library-v2",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "Library of reusable typescript/javascript functions, interfaces and constants",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",