Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge for 1.11.0 #207

Merged
merged 65 commits into from
Dec 21, 2018
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
a903091
Add list item picker to the navigation
estruyf Nov 5, 2018
0ec2690
temp commit to clean up env
AJIXuMuK Nov 6, 2018
07c32fd
Issue #154
Nov 6, 2018
ee08c80
Update PeoplePicker.md
bpringe Nov 8, 2018
8788d7d
Adding "ExtensionContext" to ListPicker and PeoplePicker
anoopt Nov 15, 2018
28346f4
[People Picker] change `titleText` to non-requied property
tsekityam Nov 16, 2018
3828d4e
Added maps control
anoopt Nov 19, 2018
bc56c98
Added maps control
anoopt Nov 21, 2018
03132d1
Initial version of the ChartControl.
hugoabernier Dec 3, 2018
cefdb10
Added documentation for plugins
hugoabernier Dec 3, 2018
6fe3037
Updated plugin interface to drop legacy methods
hugoabernier Dec 3, 2018
ac655e8
Added palette and useTheme to shouldComponentUpdate
hugoabernier Dec 6, 2018
024f834
Prepare 1.11.0 release
estruyf Dec 7, 2018
139dfff
Merge branch 'iframe-spinner' of https://github.com/AJIXuMuK/sp-dev-f…
estruyf Dec 7, 2018
343cc23
Merge branch 'AJIXuMuK-iframe-spinner' into dev
estruyf Dec 7, 2018
dd68cb7
Update changelog
estruyf Dec 7, 2018
74f5874
Merge branch 'master' of https://github.com/bpringe/sp-dev-fx-control…
estruyf Dec 7, 2018
830ff78
Merge branch 'bpringe-master' into dev
estruyf Dec 7, 2018
52bf022
Merge branch 'patch-4' of https://github.com/tsekityam/sp-dev-fx-cont…
estruyf Dec 7, 2018
a1d74fb
Merge branch 'tsekityam-patch-4' into dev
estruyf Dec 7, 2018
c8f528d
Updated changelog
estruyf Dec 7, 2018
c975493
Updated changelog
estruyf Dec 7, 2018
4a4a927
Updates to the map control
estruyf Dec 7, 2018
129687d
Merge branch 'anoopt-dev' into dev
estruyf Dec 7, 2018
53b0efd
#14 - updates for the map control
estruyf Dec 7, 2018
eef2eaf
Updated changelog
estruyf Dec 7, 2018
82c8e49
#14 - Added map control documentation
estruyf Dec 7, 2018
1990d71
Updates to the new ChartControl
estruyf Dec 7, 2018
09b36be
Merge branch 'hugoabernier-hb-chart-feature' into dev
estruyf Dec 7, 2018
d5511ad
Changelog updates
estruyf Dec 7, 2018
d007764
Update @pnp versions
estruyf Dec 7, 2018
79846a4
#14 - Added a callback to the map control
estruyf Dec 7, 2018
251706e
Implement Search and Get All users for People Picker
AsishP Nov 27, 2018
6bd0e13
Add support of filter on ListView.
Dec 11, 2018
94654e1
#97 - Rewrite of the PeoplePicker control
estruyf Dec 11, 2018
9cc1559
Update changelog
estruyf Dec 11, 2018
96da734
Merge branch 'AsishP-ap-peoplepicker2611' into dev
estruyf Dec 11, 2018
4eb0ea7
Update users
estruyf Dec 11, 2018
3e92d95
Updated Office UI Fabric React dependency
estruyf Dec 12, 2018
ca4bd7e
Updated changelog and script
estruyf Dec 13, 2018
f385f8a
#97 - Added ensureUser ability for tenant search
estruyf Dec 17, 2018
65b6c39
Added datapromise property to handle loading asynchronous data
hugoabernier Dec 18, 2018
094e1c1
Update BarChart.md
hugoabernier Dec 18, 2018
ef7abbc
Update BubbleChart.md
hugoabernier Dec 18, 2018
35a5a73
Update DoughnutChart.md
hugoabernier Dec 18, 2018
59990e8
Update PieChart.md
hugoabernier Dec 18, 2018
88a9436
Update PolarAreaChart.md
hugoabernier Dec 18, 2018
b643c87
Update RadarChart.md
hugoabernier Dec 18, 2018
6bfa708
Update ScatterChart.md
hugoabernier Dec 18, 2018
57a29b5
Update ChartControl.md
hugoabernier Dec 18, 2018
210486b
Update ChartControl.md
hugoabernier Dec 18, 2018
323880b
Merge branch 'dev' of https://github.com/siata13/sp-dev-fx-controls-r…
estruyf Dec 19, 2018
d78c946
Code changes to support grouping
estruyf Dec 19, 2018
3140c2c
Merge branch 'siata13-dev' into dev
estruyf Dec 19, 2018
41603e2
Changelog updates
estruyf Dec 19, 2018
5f7df59
#161 - Fix for finding SharePoint groups
estruyf Dec 20, 2018
a51c1f1
Updated changelog
estruyf Dec 20, 2018
672378c
Merge branch 'dev' of https://github.com/hugoabernier/sp-dev-fx-contr…
estruyf Dec 20, 2018
f72958b
Updates to charts
estruyf Dec 20, 2018
cf24ac5
Updated package lock file
estruyf Dec 20, 2018
3a7a682
#206 - Added hideButton property to Placeholder
estruyf Dec 20, 2018
96885fc
Documentation fix for Doughnut chart
estruyf Dec 20, 2018
194adda
Placeholder documentation update
estruyf Dec 20, 2018
100a876
#205 - Sort order fix in TermPicker
estruyf Dec 21, 2018
6985a86
Changelog updates
estruyf Dec 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/controls/listPicker/IListPicker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ApplicationCustomizerContext } from '@microsoft/sp-application-base';
import { ExtensionContext } from '@microsoft/sp-extension-base';
import IWebPartContext from "@microsoft/sp-webpart-base/lib/core/IWebPartContext";
import { IDropdownOption } from "office-ui-fabric-react/lib/Dropdown";
import { WebPartContext } from '@microsoft/sp-webpart-base';
@@ -8,7 +9,7 @@ export interface IListPickerProps {
/**
* The web part context
*/
context: WebPartContext | ApplicationCustomizerContext;
context: WebPartContext | ExtensionContext;
/**
* If provided, additional class name to provide on the dropdown element.
*/
29 changes: 15 additions & 14 deletions src/controls/peoplepicker/IPeoplePicker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { WebPartContext } from '@microsoft/sp-webpart-base';
import { ExtensionContext } from '@microsoft/sp-extension-base';
import { DirectionalHint } from "office-ui-fabric-react/lib/common/DirectionalHint";
import { IPersonaProps } from "office-ui-fabric-react/lib/components/Persona/Persona.types";
import { PrincipalType } from ".";
@@ -11,7 +12,7 @@ export interface IPeoplePickerProps {
/**
* Context of the component
*/
context: WebPartContext;
context: WebPartContext | ExtensionContext;
/**
* Text of the Control
*/
@@ -39,31 +40,31 @@ export interface IPeoplePickerProps {
/**
* Show or Hide Tooltip
*/
showtooltip? : boolean;
showtooltip?: boolean;
/**
* People Field is mandatory
*/
isRequired? : boolean;
isRequired?: boolean;
/**
* Mandatory field error message
*/
errorMessage? : string;
errorMessage?: string;
/**
* Method to check value of People Picker text
*/
selectedItems?: (items: any[]) => void;
/**
* Tooltip Message
*/
tooltipMessage? : string;
tooltipMessage?: string;
/**
* Directional Hint of tool tip
*/
tooltipDirectional? : DirectionalHint;
/**
* Class Name for the whole People picker control
*/
peoplePickerWPclassName?:string;
tooltipDirectional?: DirectionalHint;
/**
* Class Name for the whole People picker control
*/
peoplePickerWPclassName?: string;
/**
* Class Name for the People picker control
*/
@@ -75,7 +76,7 @@ export interface IPeoplePickerProps {
/**
* Default Selected User Emails
*/
defaultSelectedUsers? : string[];
defaultSelectedUsers?: string[];
/**
* Show users which are hidden from the UI
*/
@@ -95,9 +96,9 @@ export interface IPeoplePickerState {
currentPicker?: number | string;
peoplePersonaMenu?: IPersonaProps[];
peoplePartTitle: string;
peoplePartTooltip : string;
isLoading : boolean;
peopleValidatorText? : string;
peoplePartTooltip: string;
isLoading: boolean;
peopleValidatorText?: string;
showmessageerror: boolean;
}

6 changes: 3 additions & 3 deletions src/services/SPService.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ISPService, ILibsOptions, LibsOrderBy } from "./ISPService";
import { ISPLists } from "../common/SPEntities";
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { ApplicationCustomizerContext } from "@microsoft/sp-application-base";
import { ExtensionContext } from "@microsoft/sp-extension-base";
import { SPHttpClient, SPHttpClientResponse } from "@microsoft/sp-http";

export default class SPService implements ISPService {

constructor(private _context: WebPartContext | ApplicationCustomizerContext) {}
constructor(private _context: WebPartContext | ExtensionContext) { }

/**
* Get lists or libraries
@@ -17,7 +17,7 @@ export default class SPService implements ISPService {
let queryUrl: string = `${this._context.pageContext.web.absoluteUrl}/_api/web/lists?$select=Title,id,BaseTemplate`;

if (options.orderBy) {
queryUrl += `&$orderby=${options.orderBy === LibsOrderBy.Id ? 'Id': 'Title'}`;
queryUrl += `&$orderby=${options.orderBy === LibsOrderBy.Id ? 'Id' : 'Title'}`;
}

if (options.baseTemplate) {
4 changes: 2 additions & 2 deletions src/services/SPServiceFactory.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ApplicationCustomizerContext } from '@microsoft/sp-application-base';
import { ExtensionContext } from '@microsoft/sp-extension-base';
import { IWebPartContext, WebPartContext } from "@microsoft/sp-webpart-base";
import { ISPService } from "./ISPService";
import { Environment, EnvironmentType } from "@microsoft/sp-core-library";
import SPServiceMock from "./SPServiceMock";
import SPService from "./SPService";

export class SPServiceFactory {
public static createService(context: WebPartContext | ApplicationCustomizerContext, includeDelay?: boolean, delayTimeout?: number): ISPService {
public static createService(context: WebPartContext | ExtensionContext, includeDelay?: boolean, delayTimeout?: number): ISPService {
if (Environment.type === EnvironmentType.Local) {
return new SPServiceMock(includeDelay, delayTimeout);
}