-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of the property pane controls
- Loading branch information
Showing
72 changed files
with
4,518 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
|
||
[*] | ||
|
||
# change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# we recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{package,bower}.json] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Folders | ||
.vscode | ||
coverage | ||
node_modules | ||
sharepoint | ||
src | ||
temp | ||
config | ||
typings | ||
lib/webparts | ||
assets | ||
dist | ||
|
||
# Files | ||
*.csproj | ||
.git* | ||
.yo-rc.json | ||
.editorconfig | ||
gulpfile.js | ||
tsconfig.json | ||
yarn.lock | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# sp-dev-fx-property-controls | ||
|
||
Property controls for the SharePoint Framework solutions. | ||
|
||
# work in progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/spfx-build/config.2.0.schema.json", | ||
"version": "2.0", | ||
"bundles": { | ||
"property-controls-test-web-part": { | ||
"components": [{ | ||
"entrypoint": "./lib/webparts/propertyControlsTest/PropertyControlsTestWebPart.js", | ||
"manifest": "./src/webparts/propertyControlsTest/PropertyControlsTestWebPart.manifest.json" | ||
}] | ||
} | ||
}, | ||
"externals": {}, | ||
"localizedResources": { | ||
"PropertyControlsTestWebPartStrings": "lib/webparts/propertyControlsTest/loc/{locale}.js", | ||
"PropertyControlStrings": "lib/loc/{locale}.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/spfx-build/copy-assets.schema.json", | ||
"deployCdnPath": "temp/deploy" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/spfx-build/deploy-azure-storage.schema.json", | ||
"workingDir": "./temp/deploy/", | ||
"account": "<!-- STORAGE ACCOUNT NAME -->", | ||
"container": "sp-dev-fx-property-controls", | ||
"accessKey": "<!-- ACCESS KEY -->" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/spfx-build/package-solution.schema.json", | ||
"solution": { | ||
"name": "sp-dev-fx-property-controls-client-side-solution", | ||
"id": "0253ef52-be23-4282-b00f-e5a9350eb408", | ||
"version": "1.0.0.0", | ||
"skipFeatureDeployment": true | ||
}, | ||
"paths": { | ||
"zippedPackage": "solution/sp-dev-fx-property-controls.sppkg" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/core-build/serve.schema.json", | ||
"port": 4321, | ||
"initialPage": "https://localhost:5432/workbench", | ||
"https": true, | ||
"api": { | ||
"port": 5432, | ||
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/core-build/tslint.schema.json", | ||
// Display errors as warnings | ||
"displayAsWarning": true, | ||
// The TSLint task may have been configured with several custom lint rules | ||
// before this config file is read (for example lint rules from the tslint-microsoft-contrib | ||
// project). If true, this flag will deactivate any of these rules. | ||
"removeExistingRules": true, | ||
// When true, the TSLint task is configured with some default TSLint "rules.": | ||
"useDefaultConfigAsBase": false, | ||
// Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules | ||
// which are active, other than the list of rules below. | ||
"lintConfig": { | ||
// Opt-in to Lint rules which help to eliminate bugs in JavaScript | ||
"rules": { | ||
"class-name": false, | ||
"export-name": false, | ||
"forin": false, | ||
"label-position": false, | ||
"member-access": true, | ||
"no-arg": false, | ||
"no-console": false, | ||
"no-construct": false, | ||
"no-duplicate-case": true, | ||
"no-duplicate-variable": true, | ||
"no-eval": false, | ||
"no-function-expression": true, | ||
"no-internal-module": true, | ||
"no-shadowed-variable": true, | ||
"no-switch-case-fall-through": true, | ||
"no-unnecessary-semicolons": true, | ||
"no-unused-expression": true, | ||
"no-use-before-declare": true, | ||
"no-with-statement": true, | ||
"semicolon": true, | ||
"trailing-comma": false, | ||
"typedef": false, | ||
"typedef-whitespace": false, | ||
"use-named-parameter": true, | ||
"valid-typeof": true, | ||
"variable-name": false, | ||
"whitespace": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "https://dev.office.com/json-schemas/spfx-build/write-manifests.schema.json", | ||
"cdnBasePath": "<!-- PATH TO CDN -->" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict'; | ||
|
||
const gulp = require('gulp'); | ||
const build = require('@microsoft/sp-build-web'); | ||
|
||
build.initialize(gulp); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "sp-dev-fx-property-controls", | ||
"version": "0.0.1", | ||
"private": true, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
}, | ||
"scripts": { | ||
"build": "gulp bundle", | ||
"clean": "gulp clean", | ||
"test": "gulp test" | ||
}, | ||
"dependencies": { | ||
"@microsoft/sp-core-library": "~1.2.0", | ||
"@microsoft/sp-webpart-base": "~1.2.0", | ||
"@types/webpack-env": ">=1.12.1 <1.14.0", | ||
"react": "15.4.2", | ||
"react-dom": "15.4.2", | ||
"@types/react": "15.0.38", | ||
"@types/react-dom": "0.14.18", | ||
"@types/react-addons-shallow-compare": "0.14.17", | ||
"@types/react-addons-update": "0.14.14", | ||
"@types/react-addons-test-utils": "0.14.15" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/sp-build-web": "~1.2.0", | ||
"@microsoft/sp-module-interfaces": "~1.2.0", | ||
"@microsoft/sp-webpart-workbench": "~1.2.0", | ||
"gulp": "~3.9.1", | ||
"@types/chai": ">=3.4.34 <3.6.0", | ||
"@types/mocha": ">=2.2.33 <2.6.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './propertyFields/dateTimePicker/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './propertyFields/listPicker/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './propertyFields/peoplePicker/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './propertyFields/termPicker/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
define([], function () { | ||
return { | ||
// PeoplePicker labels | ||
"PeoplePickerSuggestedContacts": "Suggested people", | ||
"PeoplePickerSuggestedGroups": "Suggested groups", | ||
"PeoplePickerSuggestedCombined": "Suggested people and groups", | ||
"PeoplePickerNoResults": "No result found", | ||
"PeoplePickerLoading": "Loading results ...", | ||
|
||
//DatePicker labels | ||
"DatePickerMonthLongJanuary": "January", | ||
"DatePickerMonthShortJanuary": "Jan", | ||
"DatePickerMonthLongFebruary": "February", | ||
"DatePickerMonthShortFebruary": "Feb", | ||
"DatePickerMonthLongMarch": "March", | ||
"DatePickerMonthShortMarch": "Mar", | ||
"DatePickerMonthLongApril": "April", | ||
"DatePickerMonthShortApril": "Apr", | ||
"DatePickerMonthLongMay": "May", | ||
"DatePickerMonthShortMay": "May", | ||
"DatePickerMonthLongJune": "June", | ||
"DatePickerMonthShortJune": "Jun", | ||
"DatePickerMonthLongJuly": "July", | ||
"DatePickerMonthShortJuly": "Jul", | ||
"DatePickerMonthLongAugust": "August", | ||
"DatePickerMonthShortAugust": "Aug", | ||
"DatePickerMonthLongSeptember": "September", | ||
"DatePickerMonthShortSeptember": "Sept", | ||
"DatePickerMonthLongOctober": "October", | ||
"DatePickerMonthShortOctober": "Oct", | ||
"DatePickerMonthLongNovember": "November", | ||
"DatePickerMonthShortNovember": "Nov", | ||
"DatePickerMonthLongDecember": "December", | ||
"DatePickerMonthShortDecember": "Dec", | ||
"DatePickerDayLongSunday": "Sunday", | ||
"DatePickerDayShortSunday": "Sun", | ||
"DatePickerDayLongMonday": "Monday", | ||
"DatePickerDayShortMonday": "Mon", | ||
"DatePickerDayLongTuesday": "Tuesday", | ||
"DatePickerDayShortTuesday": "Tue", | ||
"DatePickerDayLongWednesday": "Wednesday", | ||
"DatePickerDayShortWednesday": "Web", | ||
"DatePickerDayLongThursday": "Thursday", | ||
"DatePickerDayShortThursday": "Thu", | ||
"DatePickerDayLongFriday": "Friday", | ||
"DatePickerDayShortFriday": "Fri", | ||
"DatePickerDayLongSaturday": "Saturday", | ||
"DatePickerDayShortSaturday": "Sat", | ||
|
||
"DatepickerGoToToday": "Today", | ||
"DateTimePickerDate": "Date", | ||
"DateTimePickerTime": "Time" | ||
} | ||
}); |
Oops, something went wrong.