- {
- this.props.showtooltip ? (
-
- {peoplepicker}
-
- ) : (
-
- {peoplepicker}
-
- )
- }
+ {
+ this.props.showtooltip ? (
+
+ {peoplepicker}
+
+ ) : (
+
+ {peoplepicker}
+
+ )
+ }
{
(this.props.isRequired && this.state.showmessageerror) && (
-
- {this.props.errorMessage ? this.props.errorMessage : strings.peoplePickerComponentErrorMessage}
-
+
+
+ {this.props.errorMessage ? this.props.errorMessage : strings.peoplePickerComponentErrorMessage}
+
)
}
diff --git a/src/index.ts b/src/index.ts
index abfcf3225..f1fe003fa 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -5,6 +5,7 @@ export * from './SiteBreadcrumb';
export * from './TaxonomyPicker';
export * from './WebPartTitle';
export * from './ListPicker';
+export * from './ListItemPicker';
export * from './IFrameDialog';
export * from './Common';
diff --git a/src/loc/de-de.ts b/src/loc/de-de.ts
new file mode 100644
index 000000000..350f17dbd
--- /dev/null
+++ b/src/loc/de-de.ts
@@ -0,0 +1,59 @@
+declare var define: any;
+
+define([], () => {
+ return {
+ 'SiteBreadcrumbLabel': 'Website Brotkrume',
+
+ 'ListViewGroupEmptyLabel': 'Leer',
+
+ 'WebPartTitlePlaceholder': 'Webpart Titel',
+ 'WebPartTitleLabel': 'Titel hinzufügen',
+
+ "DateTime": {
+ "L_RelativeDateTime_AFewSecondsFuture": "In wenigen Sekunden",
+ "L_RelativeDateTime_AFewSeconds": "Vor wenigen Sekunden",
+ "L_RelativeDateTime_AboutAMinuteFuture": "In ungefähr einer Minute",
+ "L_RelativeDateTime_AboutAMinute": "Vor ungefähr einer Minute",
+ "L_RelativeDateTime_XMinutesFuture": "In {0} Minute||In {0} Minuten",
+ "L_RelativeDateTime_XMinutes": "Vor {0} Minute||Vor {0} Minuten",
+ "L_RelativeDateTime_XMinutesFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XMinutesIntervals": "1||2-",
+ "L_RelativeDateTime_AboutAnHourFuture": "In ungefähr einer Stunde",
+ "L_RelativeDateTime_AboutAnHour": "Vor ungefähr einer Stunde",
+ "L_RelativeDateTime_Tomorrow": "Morgen",
+ "L_RelativeDateTime_Yesterday": "Gestern",
+ "L_RelativeDateTime_TomorrowAndTime": "Morgen um {0}",
+ "L_RelativeDateTime_YesterdayAndTime": "Gestern um {0}",
+ "L_RelativeDateTime_XHoursFuture": "In {0} Stunde||In {0} Stunden",
+ "L_RelativeDateTime_XHours": "Vor {0} Stunde||Vor {0} Stunden",
+ "L_RelativeDateTime_XHoursFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XHoursIntervals": "1||2-",
+ "L_RelativeDateTime_DayAndTime": "{0} at {1}",
+ "L_RelativeDateTime_XDaysFuture": "{0} Tag ab jetzt||{0} Tage ab jetzt",
+ "L_RelativeDateTime_XDays": "Vor {0} Tag||Vor {0} Tagen",
+ "L_RelativeDateTime_XDaysFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XDaysIntervals": "1||2-",
+ "L_RelativeDateTime_Today": "Heute"
+ },
+ "SendEmailTo": "Email senden an {0}",
+ "StartChatWith": "Chat starten mit {0}",
+ "Contact": "Kontakt",
+ "UpdateProfile": "Aktualisiere Dein Profil",
+
+ "TaxonomyPickerNoTerms": "Ausdruckssatz enthält keine Ausdrücke",
+ "TaxonomyPickerExpandTitle": "Ausdruckssatz erweitern",
+ "TaxonomyPickerMenuTermSet": "Ausdruckssatz Menü",
+ "TaxonomyPickerInLabel": "in",
+ "TaxonomyPickerTermSetLabel": "Ausdruckssatz",
+
+ peoplePickerComponentTooltipMessage: "People Picker",
+ peoplePickerComponentErrorMessage: "Benutzerauswahl ist ein Pflichtfeld",
+ peoplePickerComponentTitleText: "Benutzer auswählen",
+ peoplePickerSuggestionsHeaderText: 'Vorgeschlagene Benutzer',
+ peoplePickerLoadingText: 'Laden',
+
+ ListItemPickerSelectValue: 'Wähle Wert',
+
+ genericNoResultsFoundText: 'Kein Ergebnis gefunden'
+ };
+});
diff --git a/src/loc/en-us.ts b/src/loc/en-us.ts
index 84399efbe..4948bbc2a 100644
--- a/src/loc/en-us.ts
+++ b/src/loc/en-us.ts
@@ -47,7 +47,13 @@ define([], () => {
"TaxonomyPickerTermSetLabel": "Term Set",
peoplePickerComponentTooltipMessage: "People Picker",
- peoplePickerComponentErrorMessage: "People picker is mandatory",
+ peoplePickerComponentErrorMessage: "Required Field",
peoplePickerComponentTitleText: "Pick the user(s)",
+ peoplePickerSuggestionsHeaderText: 'Suggested People',
+ peoplePickerLoadingText: 'Loading',
+
+ ListItemPickerSelectValue: 'Select value',
+
+ genericNoResultsFoundText: 'No results found'
};
});
diff --git a/src/loc/fr-fr.ts b/src/loc/fr-fr.ts
new file mode 100644
index 000000000..75359af7a
--- /dev/null
+++ b/src/loc/fr-fr.ts
@@ -0,0 +1,59 @@
+declare var define: any;
+
+define([], () => {
+ return {
+ 'SiteBreadcrumbLabel': 'Fil d\'Ariane',
+
+ 'ListViewGroupEmptyLabel': 'Vide',
+
+ 'WebPartTitlePlaceholder': 'Titre du WebPart',
+ 'WebPartTitleLabel': 'Ajouter un titre',
+
+ "DateTime": {
+ "L_RelativeDateTime_AFewSecondsFuture": "Dans quelques secondes",
+ "L_RelativeDateTime_AFewSeconds": "Il ya quelques secondes",
+ "L_RelativeDateTime_AboutAMinuteFuture": "Dans environ une minute",
+ "L_RelativeDateTime_AboutAMinute": "Il y a environ une minute",
+ "L_RelativeDateTime_XMinutesFuture": "Dans {0} minute||Dans {0} minutes",
+ "L_RelativeDateTime_XMinutes": "Il y a {0} minute||Il y a {0} minutes",
+ "L_RelativeDateTime_XMinutesFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XMinutesIntervals": "1||2-",
+ "L_RelativeDateTime_AboutAnHourFuture": "Dans environ une heure",
+ "L_RelativeDateTime_AboutAnHour": "Il y a à peu près une heure",
+ "L_RelativeDateTime_Tomorrow": "Demain",
+ "L_RelativeDateTime_Yesterday": "Hier",
+ "L_RelativeDateTime_TomorrowAndTime": "Demain à {0}",
+ "L_RelativeDateTime_YesterdayAndTime": "Hier à {0}",
+ "L_RelativeDateTime_XHoursFuture": "Dans {0} heure||Dans {0} heures",
+ "L_RelativeDateTime_XHours": "Il y a {0} heure||Il y a {0} heures",
+ "L_RelativeDateTime_XHoursFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XHoursIntervals": "1||2-",
+ "L_RelativeDateTime_DayAndTime": "{0} à {1}",
+ "L_RelativeDateTime_XDaysFuture": "{0} jours à partir de maintenant || {0} jours à partir de maintenant",
+ "L_RelativeDateTime_XDays": "Il y a {0} jour||Il y a {0} jours",
+ "L_RelativeDateTime_XDaysFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XDaysIntervals": "1||2-",
+ "L_RelativeDateTime_Today": "Aujourd'hui"
+ },
+ "SendEmailTo": "Envoyer un email à {0}",
+ "StartChatWith": "Démarrer une discussion avec {0}",
+ "Contact": "Contact",
+ "UpdateProfile": "Mettre à jour votre profil",
+
+ "TaxonomyPickerNoTerms": "L'ensemble de termes ne contient aucun terme",
+ "TaxonomyPickerExpandTitle": "Développer cet ensemble de termes",
+ "TaxonomyPickerMenuTermSet": "Menu pour l'ensemble de termes",
+ "TaxonomyPickerInLabel": "dans",
+ "TaxonomyPickerTermSetLabel": "Ensemble de termes",
+
+ peoplePickerComponentTooltipMessage: "Sélecteur de personnes",
+ peoplePickerComponentErrorMessage: "Le sélecteur de personnes est obligatoire",
+ peoplePickerComponentTitleText: "Choisissez l'utilisateur(s)",
+ peoplePickerSuggestionsHeaderText: 'Personnes suggérées',
+ peoplePickerLoadingText: 'Chargement',
+
+ ListItemPickerSelectValue: 'Sélectionnez une valeur',
+
+ genericNoResultsFoundText: 'Aucun résultat trouvé'
+ };
+});
diff --git a/src/loc/mystrings.d.ts b/src/loc/mystrings.d.ts
index 6d3bce692..2b58ffa1b 100644
--- a/src/loc/mystrings.d.ts
+++ b/src/loc/mystrings.d.ts
@@ -2,6 +2,11 @@ declare interface IControlStrings {
peoplePickerComponentTooltipMessage: string;
peoplePickerComponentErrorMessage: string;
peoplePickerComponentTitleText: string;
+ peoplePickerSuggestionsHeaderText: string;
+ genericNoResultsFoundText: string;
+ peoplePickerLoadingText: string;
+
+
SiteBreadcrumbLabel: string;
ListViewGroupEmptyLabel: string;
WebPartTitlePlaceholder: string;
@@ -18,6 +23,8 @@ declare interface IControlStrings {
TaxonomyPickerMenuTermSet: string;
TaxonomyPickerInLabel: string;
TaxonomyPickerTermSetLabel: string;
+
+ ListItemPickerSelectValue: string;
}
declare module 'ControlStrings' {
diff --git a/src/loc/nl-nl.ts b/src/loc/nl-nl.ts
new file mode 100644
index 000000000..541730aab
--- /dev/null
+++ b/src/loc/nl-nl.ts
@@ -0,0 +1,59 @@
+declare var define: any;
+
+define([], () => {
+ return {
+ 'SiteBreadcrumbLabel': 'Website broodkruimelpad',
+
+ 'ListViewGroupEmptyLabel': 'Leeg',
+
+ 'WebPartTitlePlaceholder': 'Webonderdeel titel',
+ 'WebPartTitleLabel': 'Titel ingeven',
+
+ "DateTime": {
+ "L_RelativeDateTime_AFewSecondsFuture": "Over een paar seconden",
+ "L_RelativeDateTime_AFewSeconds": "Een paar seconden geleden",
+ "L_RelativeDateTime_AboutAMinuteFuture": "Over ongeveer een minuut",
+ "L_RelativeDateTime_AboutAMinute": "Ongeveer een minuut geleden",
+ "L_RelativeDateTime_XMinutesFuture": "In {0} minuut||In {0} minuten",
+ "L_RelativeDateTime_XMinutes": "{0} minuut geleden||{0} minuten geleden",
+ "L_RelativeDateTime_XMinutesFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XMinutesIntervals": "1||2-",
+ "L_RelativeDateTime_AboutAnHourFuture": "In ongeveer een uur",
+ "L_RelativeDateTime_AboutAnHour": "Ongeveer een uur geleden",
+ "L_RelativeDateTime_Tomorrow": "Morgen",
+ "L_RelativeDateTime_Yesterday": "Gisteren",
+ "L_RelativeDateTime_TomorrowAndTime": "Morgen om {0}",
+ "L_RelativeDateTime_YesterdayAndTime": "Gisteren om {0}",
+ "L_RelativeDateTime_XHoursFuture": "In {0} uur||In {0} uur",
+ "L_RelativeDateTime_XHours": "{0} uur geleden||{0} uur geleden",
+ "L_RelativeDateTime_XHoursFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XHoursIntervals": "1||2-",
+ "L_RelativeDateTime_DayAndTime": "{0} om {1}",
+ "L_RelativeDateTime_XDaysFuture": "{0} dag vanaf nu||{0} dagen vanaf nu",
+ "L_RelativeDateTime_XDays": "{0} dag geleden||{0} dagen geleden",
+ "L_RelativeDateTime_XDaysFutureIntervals": "1||2-",
+ "L_RelativeDateTime_XDaysIntervals": "1||2-",
+ "L_RelativeDateTime_Today": "Vandaag"
+ },
+ "SendEmailTo": "Stuur een mail naar {0}",
+ "StartChatWith": "Start een gesprek met {0}",
+ "Contact": "Contacteer",
+ "UpdateProfile": "Profiel aanpassen",
+
+ "TaxonomyPickerNoTerms": "Termen set heeft geen termen beschikbaar",
+ "TaxonomyPickerExpandTitle": "Vouw de termen set uit",
+ "TaxonomyPickerMenuTermSet": "Menu van de termen set",
+ "TaxonomyPickerInLabel": "in",
+ "TaxonomyPickerTermSetLabel": "Termen set",
+
+ peoplePickerComponentTooltipMessage: "Personen kiezen",
+ peoplePickerComponentErrorMessage: "Verplicht veld",
+ peoplePickerComponentTitleText: "Kies personen",
+ peoplePickerSuggestionsHeaderText: 'Voorgestelde personen',
+ peoplePickerLoadingText: 'Laden',
+
+ ListItemPickerSelectValue: 'Selecteer veld',
+
+ genericNoResultsFoundText: 'Geen resultaten gevonden'
+ };
+});
diff --git a/src/services/ISPService.ts b/src/services/ISPService.ts
index c62fa8a8e..d808ccd8f 100644
--- a/src/services/ISPService.ts
+++ b/src/services/ISPService.ts
@@ -4,6 +4,7 @@ export enum LibsOrderBy {
Id = 1,
Title
}
+
/**
* Options used to sort and filter
*/
@@ -12,10 +13,12 @@ export interface ILibsOptions {
baseTemplate?: number;
includeHidden?: boolean;
}
+
export interface ISPService {
/**
* Get the lists from SharePoint
* @param options Options used to order and filter during the API query
*/
getLibs(options?: ILibsOptions): Promise