mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-13 00:15:35 +00:00
Merge branch 'pnp:main' into master
This commit is contained in:
commit
a1b2af6dce
12
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
12
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@ -133,18 +133,6 @@ body:
|
||||
- label: not applicable
|
||||
- label: other (enter in the "Additional environment details" area below)
|
||||
|
||||
- type: input
|
||||
id: spfx
|
||||
validations:
|
||||
required: true
|
||||
attributes:
|
||||
label: SPFx version
|
||||
placeholder: 1.11.0
|
||||
description: |
|
||||
Which version of SPFx are you using?
|
||||
|
||||
TIP: To find out, run `npm ls -g --depth=0 @microsoft/generator-sharepoint` and provide the number that comes after `@microsoft/generator-sharepoint@`
|
||||
|
||||
- type: input
|
||||
id: Node
|
||||
validations:
|
||||
|
10
.github/ISSUE_TEMPLATE/samplerequest.yml
vendored
10
.github/ISSUE_TEMPLATE/samplerequest.yml
vendored
@ -25,6 +25,16 @@ body:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: spfx
|
||||
validations:
|
||||
required: false
|
||||
attributes:
|
||||
label: SPFx version
|
||||
placeholder: 1.12.1
|
||||
description: |
|
||||
Which version of SPFx would you like this sample to work with? Leave blank if no preference.
|
||||
|
||||
- type: dropdown
|
||||
id: willing-to-help
|
||||
attributes:
|
||||
|
@ -1066,6 +1066,10 @@ balanced-match@^0.4.1, balanced-match@^0.4.2:
|
||||
version "0.4.2"
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
|
||||
|
||||
balanced-match@^1.0.0:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||
|
||||
base62@^1.1.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/base62/-/base62-1.1.2.tgz#22ced6a49913565bc0b8d9a11563a465c084124c"
|
||||
@ -1219,13 +1223,20 @@ boxen@^0.6.0:
|
||||
string-width "^1.0.1"
|
||||
widest-line "^1.0.0"
|
||||
|
||||
brace-expansion@^1.0.0, brace-expansion@^1.1.7:
|
||||
brace-expansion@^1.0.0:
|
||||
version "1.1.7"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59"
|
||||
dependencies:
|
||||
balanced-match "^0.4.1"
|
||||
concat-map "0.0.1"
|
||||
|
||||
brace-expansion@^1.1.7:
|
||||
version "1.1.11"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||
dependencies:
|
||||
balanced-match "^1.0.0"
|
||||
concat-map "0.0.1"
|
||||
|
||||
braces@^0.1.2:
|
||||
version "0.1.5"
|
||||
resolved "https://registry.yarnpkg.com/braces/-/braces-0.1.5.tgz#c085711085291d8b75fdd74eab0f8597280711e6"
|
||||
@ -2699,9 +2710,9 @@ fstream-ignore@^1.0.5:
|
||||
inherits "2"
|
||||
minimatch "^3.0.0"
|
||||
|
||||
fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2:
|
||||
version "1.0.11"
|
||||
resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171"
|
||||
fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.12:
|
||||
version "1.0.12"
|
||||
resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045"
|
||||
dependencies:
|
||||
graceful-fs "^4.1.2"
|
||||
inherits "~2.0.0"
|
||||
@ -2875,6 +2886,17 @@ glob@^7.0.5, glob@~7.0.5:
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
glob@^7.1.3:
|
||||
version "7.1.7"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
||||
dependencies:
|
||||
fs.realpath "^1.0.0"
|
||||
inflight "^1.0.4"
|
||||
inherits "2"
|
||||
minimatch "^3.0.4"
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
glob@~3.1.21:
|
||||
version "3.1.21"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd"
|
||||
@ -2958,10 +2980,14 @@ graceful-fs@^3.0.0:
|
||||
dependencies:
|
||||
natives "^1.1.0"
|
||||
|
||||
graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
|
||||
graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
|
||||
version "4.1.11"
|
||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
||||
|
||||
graceful-fs@^4.1.2:
|
||||
version "4.2.6"
|
||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
|
||||
|
||||
graceful-fs@~1.2.0:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
|
||||
@ -3438,14 +3464,18 @@ inherits@1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b"
|
||||
|
||||
inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||
inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
||||
|
||||
inherits@2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
|
||||
|
||||
inherits@2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||
|
||||
ini@^1.3.4, ini@~1.3.0:
|
||||
version "1.3.7"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
|
||||
@ -4509,7 +4539,7 @@ minimatch@0.3:
|
||||
lru-cache "2"
|
||||
sigmund "~1.0.0"
|
||||
|
||||
"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@~3.0.2:
|
||||
"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2:
|
||||
version "3.0.4"
|
||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||
dependencies:
|
||||
@ -4554,12 +4584,18 @@ mkdirp@0.5.0:
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
|
||||
mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
|
||||
version "0.5.1"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
"mkdirp@>=0.5 0":
|
||||
version "0.5.5"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
|
||||
dependencies:
|
||||
minimist "^1.2.5"
|
||||
|
||||
mobservable@1.2.5:
|
||||
version "1.2.5"
|
||||
resolved "https://registry.yarnpkg.com/mobservable/-/mobservable-1.2.5.tgz#59a77e6c5e2bb4557d1317a61a4464827761b0c0"
|
||||
@ -4891,12 +4927,18 @@ on-headers@~1.0.0, on-headers@~1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7"
|
||||
|
||||
once@1.x, once@^1.3.0, once@^1.3.3, once@~1.3.0:
|
||||
once@1.x, once@^1.3.3, once@~1.3.0:
|
||||
version "1.3.3"
|
||||
resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20"
|
||||
dependencies:
|
||||
wrappy "1"
|
||||
|
||||
once@^1.3.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||
dependencies:
|
||||
wrappy "1"
|
||||
|
||||
open@0.0.5:
|
||||
version "0.0.5"
|
||||
resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"
|
||||
@ -5062,8 +5104,8 @@ path-is-inside@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
|
||||
|
||||
path-parse@^1.0.5:
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
||||
|
||||
path-root-regex@^0.1.0:
|
||||
version "0.1.2"
|
||||
@ -5933,7 +5975,13 @@ right-align@^0.1.1:
|
||||
dependencies:
|
||||
align-text "^0.1.1"
|
||||
|
||||
rimraf@2, rimraf@^2.2.8, rimraf@^2.3.3, rimraf@^2.4.0, rimraf@~2.5.2, rimraf@~2.5.4:
|
||||
rimraf@2:
|
||||
version "2.7.1"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
|
||||
dependencies:
|
||||
glob "^7.1.3"
|
||||
|
||||
rimraf@^2.2.8, rimraf@^2.3.3, rimraf@^2.4.0, rimraf@~2.5.2, rimraf@~2.5.4:
|
||||
version "2.5.4"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04"
|
||||
dependencies:
|
||||
@ -6453,11 +6501,11 @@ tar-pack@^3.4.0:
|
||||
uid-number "^0.0.6"
|
||||
|
||||
tar@^2.0.0, tar@^2.2.1:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1"
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.2.tgz#0ca8848562c7299b8b446ff6a4d60cdbb23edc40"
|
||||
dependencies:
|
||||
block-stream "*"
|
||||
fstream "^1.0.2"
|
||||
fstream "^1.0.12"
|
||||
inherits "2"
|
||||
|
||||
ternary-stream@^2.0.1:
|
||||
|
3
samples/angular-greeting/.gitignore
vendored
3
samples/angular-greeting/.gitignore
vendored
@ -30,3 +30,6 @@ obj
|
||||
|
||||
# Styles Generated Code
|
||||
*.scss.ts
|
||||
|
||||
#Release
|
||||
release
|
@ -16,7 +16,7 @@
|
||||
"environment": "spo",
|
||||
"framework": "none",
|
||||
"isCreatingSolution": true,
|
||||
"version": "1.10.0",
|
||||
"version": "1.12.1",
|
||||
"libraryName": "greetings-angular-js",
|
||||
"libraryId": "d7464213-bad8-452f-941b-34ca45e2ac74",
|
||||
"packageManager": "npm",
|
||||
|
@ -1,20 +1,3 @@
|
||||
---
|
||||
page_type: sample
|
||||
products:
|
||||
- office-365
|
||||
- office-sp
|
||||
languages:
|
||||
- javascript
|
||||
- typescript
|
||||
extensions:
|
||||
contentType: samples
|
||||
technologies:
|
||||
- SharePoint Framework
|
||||
platforms:
|
||||
- AngularJs
|
||||
createdDate: 2/15/2020 12:00:00 AM
|
||||
---
|
||||
|
||||
# AngularJS Greeting
|
||||
|
||||
## Summary
|
||||
@ -26,40 +9,55 @@ This sample Web Part illustrating using AngularJS with the SharePoint Framework.
|
||||
Final outcome:
|
||||
![AngularJS Greetings Web part SharePoint Framework client-side web part built using AngularJS](./assets/preview.PNG)
|
||||
|
||||
## Used SharePoint Framework Version
|
||||
## Compatibility
|
||||
|
||||
![SPFx 1.12.1](https://img.shields.io/badge/SPFx-1.12.1-green.svg)
|
||||
![Node.js LTS v14 | LTS v12 | LTS v10](https://img.shields.io/badge/Node.js-LTS%20v14%20%7C%20LTS%20v12%20%7C%20LTS%20v10-green.svg)
|
||||
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
|
||||
![Teams N/A: Untested with Microsoft Teams](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams")
|
||||
![Workbench Local | Hosted](https://img.shields.io/badge/Workbench-Local%20%7C%20Hosted-green.svg)
|
||||
|
||||
![drop](https://img.shields.io/badge/drop-GA-green.svg)
|
||||
|
||||
## Applies to
|
||||
|
||||
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
||||
* [Office 365 developer tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant)
|
||||
* [Microsoft 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
|
||||
|
||||
|
||||
## Solution
|
||||
|
||||
> We use this section to recognize and promote your contributions. Please provide one author per line -- even if you worked together on it.
|
||||
> We'll only use the info you provided here. Make sure to include your full name, not just your GitHub username.
|
||||
> Provide a link to your GitHub profile to help others find more cool things you have done.
|
||||
> If you provide a link to your Twitter profile, we'll promote your contribution on social media.
|
||||
>
|
||||
> DELETE THE TEXT ABOVE BEFORE SUBMITTING
|
||||
|
||||
Solution|Author(s)
|
||||
--------|---------
|
||||
angular-todo|[Gaurav Goyal](https://github.com/gauravgoyal5) (MCSD, BizPortals Solutions, @gauravgoyal_5)
|
||||
AngularJS Greeting | [Gaurav Goyal](https://github.com/gauravgoyal5) ([@gauravgoyal_5](https://twitter.com/gauravgoyal_5)), BizPortals 365
|
||||
|
||||
## Version history
|
||||
|
||||
Version|Date|Comments
|
||||
-------|----|--------
|
||||
1.1|June 29, 2021|Upgraded to 1.12.1
|
||||
1.0|Feb 15, 2020|Initial release submission
|
||||
|
||||
## Disclaimer
|
||||
## Prerequisites
|
||||
|
||||
No pre-requisites
|
||||
|
||||
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||
|
||||
---
|
||||
|
||||
## Minimal Path to Awesome
|
||||
|
||||
* clone this repo
|
||||
* Clone this repository
|
||||
* in the command line run:
|
||||
* `npm i`
|
||||
* `npm install`
|
||||
* `gulp serve`
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
The Greetings web part is a sample client-side web part built on the SharePoint Framework built using AngularJS.
|
||||
@ -73,15 +71,18 @@ This web part illustrates the following concepts on top of the SharePoint Framew
|
||||
* using conditional rendering for one-time web part setup
|
||||
* passing web part configuration to AngularJS and reacting to configuration changes
|
||||
|
||||
## Support
|
||||
## Disclaimer
|
||||
|
||||
We do not support samples, but we do use GitHub to track issues and constantly want to improve these samples.
|
||||
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||
|
||||
If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=angular-greeting&authors=@gauravgoyal5&title=angular-greeting%20-%20).
|
||||
## Help
|
||||
|
||||
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=angular-greeting&authors=@gauravgoyal5&title=angular-greeting%20-%20).
|
||||
We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
|
||||
|
||||
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=angular-greeting&authors=@gauravgoyal5&title=angular-greeting%20-%20).
|
||||
If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=angular-greeting&authors=gauravgoyal_5&title=angular-greeting%20-%20).
|
||||
|
||||
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=angular-greeting&authors=gauravgoyal_5&title=angular-greeting%20-%20).
|
||||
|
||||
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/angular-greeting" />
|
||||
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=angular-greeting&authors=gauravgoyal_5&title=angular-greeting%20-%20).
|
||||
|
||||
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/angular-greeting" />
|
@ -9,7 +9,7 @@
|
||||
"This is Greeting web part which shows greeting to the current logged in user."
|
||||
],
|
||||
"creationDateTime": "2020-02-15",
|
||||
"updateDateTime": "2020-02-15",
|
||||
"updateDateTime": "2020-06-29",
|
||||
"products": [
|
||||
"SharePoint",
|
||||
"Office"
|
||||
@ -21,7 +21,7 @@
|
||||
},
|
||||
{
|
||||
"key": "SPFX-VERSION",
|
||||
"value": "1.10.0"
|
||||
"value": "1.12.1"
|
||||
}
|
||||
],
|
||||
"thumbnails": [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
|
||||
"deployCdnPath": "temp/deploy"
|
||||
"deployCdnPath": "./release/assets/"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
|
||||
"workingDir": "./temp/deploy/",
|
||||
"workingDir": "./release/assets/",
|
||||
"account": "<!-- STORAGE ACCOUNT NAME -->",
|
||||
"container": "greetings-angular-js",
|
||||
"accessKey": "<!-- ACCESS KEY -->"
|
||||
|
@ -6,7 +6,14 @@
|
||||
"version": "1.0.0.0",
|
||||
"includeClientSideAssets": true,
|
||||
"skipFeatureDeployment": true,
|
||||
"isDomainIsolated": false
|
||||
"isDomainIsolated": false,
|
||||
"developer": {
|
||||
"name": "Contoso",
|
||||
"privacyUrl": "https://contoso.com/privacy",
|
||||
"termsOfUseUrl": "https://contoso.com/terms-of-use",
|
||||
"websiteUrl": "https://contoso.com/my-app",
|
||||
"mpnId": "000000"
|
||||
}
|
||||
},
|
||||
"paths": {
|
||||
"zippedPackage": "solution/greetings-angular-js.sppkg"
|
||||
|
7
samples/angular-greeting/gulpfile.js
vendored
7
samples/angular-greeting/gulpfile.js
vendored
@ -60,5 +60,12 @@ build.configureWebpack.mergeConfig({
|
||||
/**
|
||||
* Custom Framework Specific gulp tasks
|
||||
*/
|
||||
var getTasks = build.rig.getTasks;
|
||||
build.rig.getTasks = function () {
|
||||
var result = getTasks.call(build.rig);
|
||||
|
||||
result.set('serve', result.get('serve-deprecated'));
|
||||
|
||||
return result;
|
||||
};
|
||||
build.initialize(gulp);
|
||||
|
21655
samples/angular-greeting/package-lock.json
generated
Normal file
21655
samples/angular-greeting/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,9 +3,6 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "gulp bundle",
|
||||
"clean": "gulp clean",
|
||||
@ -14,31 +11,28 @@
|
||||
"postversion": "gulp dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@microsoft/sp-core-library": "1.10.0",
|
||||
"@microsoft/sp-lodash-subset": "1.10.0",
|
||||
"@microsoft/sp-office-ui-fabric-core": "1.10.0",
|
||||
"@microsoft/sp-property-pane": "1.10.0",
|
||||
"@microsoft/sp-webpart-base": "1.10.0"
|
||||
|
||||
"@microsoft/sp-core-library": "1.12.1",
|
||||
"@microsoft/sp-lodash-subset": "1.12.1",
|
||||
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
||||
"@microsoft/sp-property-pane": "1.12.1",
|
||||
"@microsoft/sp-webpart-base": "1.12.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/rush-stack-compiler-3.3": "0.3.5",
|
||||
"@microsoft/sp-build-web": "1.10.0",
|
||||
"@microsoft/sp-module-interfaces": "1.10.0",
|
||||
"@microsoft/sp-tslint-rules": "1.10.0",
|
||||
"@microsoft/sp-webpart-workbench": "1.10.0",
|
||||
"@types/chai": "3.4.34",
|
||||
"@types/mocha": "2.2.38",
|
||||
"ajv": "~5.2.2",
|
||||
"gulp": "~3.9.1",
|
||||
"gulp-sequence": "1.0.0",
|
||||
"webpack-bundle-analyzer": "^3.6.0",
|
||||
"@microsoft/rush-stack-compiler-3.7": "0.2.3",
|
||||
"@microsoft/sp-build-web": "1.12.1",
|
||||
"@microsoft/sp-module-interfaces": "1.12.1",
|
||||
"@microsoft/sp-tslint-rules": "1.12.1",
|
||||
"@microsoft/sp-webpart-workbench": "1.12.1",
|
||||
"@types/angular": "^1.6.57",
|
||||
"@types/es6-promise": "0.0.33",
|
||||
"@types/jquery": "^3.3.31",
|
||||
"@types/webpack-env": "1.13.1",
|
||||
"ajv": "~5.2.2",
|
||||
"angular2-template-loader": "0.6.2",
|
||||
"awesome-typescript-loader": "^5.2.1",
|
||||
"@types/es6-promise": "0.0.33",
|
||||
"@types/webpack-env": "1.13.1",
|
||||
"sp-pnp-js": "^3.0.10"
|
||||
"gulp": "4.0.2",
|
||||
"gulp-sequence": "1.0.0",
|
||||
"sp-pnp-js": "^3.0.10",
|
||||
"webpack-bundle-analyzer": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
16297
samples/angular-greeting/pnpm-lock.yaml
generated
16297
samples/angular-greeting/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"bundles": {
|
||||
"page-contributors-web-part": {
|
||||
"greetings-webpart-web-part": {
|
||||
"dependencies": [
|
||||
{
|
||||
"componentId": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"alias": "PageContributorsWebPart",
|
||||
"id": "795ddcba-0fda-4d13-8bfe-8c5d4222ef59",
|
||||
"alias": "GreetingsWebpartWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "1.0.0",
|
||||
"version": "0.0.1",
|
||||
"manifestVersion": 2,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
@ -10,20 +10,19 @@
|
||||
],
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "dfb5229a-c1c3-4e98-870b-c40dd6e4ec4b",
|
||||
"groupId": "5c03119e-3074-46fd-976b-c60198311f70",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Page Contributors"
|
||||
"default": "Greetings Webpart"
|
||||
},
|
||||
"description": {
|
||||
"default": "Displays page contributors in reverse chronological order"
|
||||
"default": "Greetings Webpart description"
|
||||
},
|
||||
"officeFabricIconFontName": "People",
|
||||
"officeFabricIconFontName": "Page",
|
||||
"properties": {
|
||||
"numberOfFaces": 5,
|
||||
"personaSize": 3
|
||||
"description": "Greetings Webpart"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -31,11 +30,15 @@
|
||||
"internalModuleBaseUrls": [
|
||||
"<!-- PATH TO CDN -->"
|
||||
],
|
||||
"entryModuleId": "page-contributors-web-part",
|
||||
"entryModuleId": "greetings-webpart-web-part",
|
||||
"scriptResources": {
|
||||
"page-contributors-web-part": {
|
||||
"greetings-webpart-web-part": {
|
||||
"type": "path",
|
||||
"path": "page-contributors-web-part_4d2033f670297cd13b0c.js"
|
||||
"path": "greetings-webpart-web-part.js"
|
||||
},
|
||||
"sp-pnp-js": {
|
||||
"type": "path",
|
||||
"path": "https://cdnjs.cloudflare.com/ajax/libs/sp-pnp-js/3.0.10/pnp.min.js"
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
@ -47,24 +50,19 @@
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"pageContributorsStrings": {
|
||||
"GreetingsWebpartWebPartStrings": {
|
||||
"type": "path",
|
||||
"path": "pageContributorsStrings_en-us_6ae41e2edb727df21538267edcd92249.js"
|
||||
"path": "GreetingsWebpartWebPartStrings_en-us.js"
|
||||
},
|
||||
"angular": {
|
||||
"type": "path",
|
||||
"path": "https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js",
|
||||
"globalName": "angular"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"version": "16.9.0"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.3/includes/tsconfig-web.json",
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.7/includes/tsconfig-web.json",
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
@ -19,21 +19,20 @@
|
||||
"./node_modules/@microsoft"
|
||||
],
|
||||
"types": [
|
||||
"es6-promise",
|
||||
|
||||
"webpack-env"
|
||||
],
|
||||
"lib": [
|
||||
"es5",
|
||||
"dom",
|
||||
"es2015.collection"
|
||||
"es2015.collection",
|
||||
"es2015.promise"
|
||||
],
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"lib"
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx"
|
||||
]
|
||||
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "@microsoft/sp-tslint-rules/base-tslint.json",
|
||||
"extends": "./node_modules/@microsoft/sp-tslint-rules/base-tslint.json",
|
||||
"rules": {
|
||||
"class-name": false,
|
||||
"export-name": false,
|
||||
|
@ -1262,8 +1262,8 @@ balanced-match@^0.4.2:
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
|
||||
|
||||
balanced-match@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||
|
||||
base64-arraybuffer@0.1.5:
|
||||
version "0.1.5"
|
||||
@ -1444,13 +1444,20 @@ boxen@^0.6.0:
|
||||
string-width "^1.0.1"
|
||||
widest-line "^1.0.0"
|
||||
|
||||
brace-expansion@^1.0.0, brace-expansion@^1.1.7:
|
||||
brace-expansion@^1.0.0:
|
||||
version "1.1.8"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
|
||||
dependencies:
|
||||
balanced-match "^1.0.0"
|
||||
concat-map "0.0.1"
|
||||
|
||||
brace-expansion@^1.1.7:
|
||||
version "1.1.11"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||
dependencies:
|
||||
balanced-match "^1.0.0"
|
||||
concat-map "0.0.1"
|
||||
|
||||
braces@^0.1.2:
|
||||
version "0.1.5"
|
||||
resolved "https://registry.yarnpkg.com/braces/-/braces-0.1.5.tgz#c085711085291d8b75fdd74eab0f8597280711e6"
|
||||
@ -3420,9 +3427,9 @@ fstream-ignore@^1.0.5:
|
||||
inherits "2"
|
||||
minimatch "^3.0.0"
|
||||
|
||||
fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2:
|
||||
version "1.0.11"
|
||||
resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171"
|
||||
fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.12:
|
||||
version "1.0.12"
|
||||
resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045"
|
||||
dependencies:
|
||||
graceful-fs "^4.1.2"
|
||||
inherits "~2.0.0"
|
||||
@ -3611,7 +3618,7 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@~7.1.1:
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
glob@^7.1.2, glob@^7.1.3:
|
||||
glob@^7.1.2:
|
||||
version "7.1.6"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
|
||||
dependencies:
|
||||
@ -3622,6 +3629,17 @@ glob@^7.1.2, glob@^7.1.3:
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
glob@^7.1.3:
|
||||
version "7.1.7"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
||||
dependencies:
|
||||
fs.realpath "^1.0.0"
|
||||
inflight "^1.0.4"
|
||||
inherits "2"
|
||||
minimatch "^3.0.4"
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
glob@~3.1.21:
|
||||
version "3.1.21"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd"
|
||||
@ -3716,10 +3734,14 @@ graceful-fs@^3.0.0:
|
||||
dependencies:
|
||||
natives "^1.1.0"
|
||||
|
||||
graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
|
||||
graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
|
||||
version "4.1.11"
|
||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
||||
|
||||
graceful-fs@^4.1.2:
|
||||
version "4.2.6"
|
||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
|
||||
|
||||
graceful-fs@~1.2.0:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
|
||||
@ -4280,17 +4302,17 @@ inherits@1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b"
|
||||
|
||||
inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||
inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
||||
|
||||
inherits@2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
|
||||
|
||||
inherits@^2.0.3:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
||||
inherits@2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||
|
||||
ini@^1.3.4, ini@~1.3.0:
|
||||
version "1.3.7"
|
||||
@ -5635,12 +5657,18 @@ mkdirp@0.5.0:
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
|
||||
mkdirp@0.5.1:
|
||||
version "0.5.1"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
|
||||
version "0.5.5"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
|
||||
dependencies:
|
||||
minimist "^1.2.5"
|
||||
|
||||
mocha-clean@^0.4.0:
|
||||
version "0.4.0"
|
||||
resolved "https://registry.yarnpkg.com/mocha-clean/-/mocha-clean-0.4.0.tgz#09b6985c321816140321e103e7dde4b48760921c"
|
||||
@ -6084,12 +6112,18 @@ on-headers@~1.0.0, on-headers@~1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7"
|
||||
|
||||
once@1.x, once@^1.3.0, once@^1.3.3, once@~1.3.0:
|
||||
once@1.x, once@^1.3.3, once@~1.3.0:
|
||||
version "1.3.3"
|
||||
resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20"
|
||||
dependencies:
|
||||
wrappy "1"
|
||||
|
||||
once@^1.3.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||
dependencies:
|
||||
wrappy "1"
|
||||
|
||||
open@0.0.5:
|
||||
version "0.0.5"
|
||||
resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"
|
||||
@ -6309,13 +6343,9 @@ path-key@^2.0.0:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
|
||||
|
||||
path-parse@^1.0.5:
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
|
||||
|
||||
path-parse@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
|
||||
path-parse@^1.0.5, path-parse@^1.0.6:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
||||
|
||||
path-root-regex@^0.1.0:
|
||||
version "0.1.2"
|
||||
@ -7382,11 +7412,11 @@ right-align@^0.1.1:
|
||||
dependencies:
|
||||
align-text "^0.1.1"
|
||||
|
||||
rimraf@2, rimraf@^2.4.0, rimraf@^2.5.1, rimraf@^2.6.1:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
|
||||
rimraf@2:
|
||||
version "2.7.1"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
|
||||
dependencies:
|
||||
glob "^7.0.5"
|
||||
glob "^7.1.3"
|
||||
|
||||
rimraf@^2.2.8, rimraf@^2.3.3, rimraf@~2.5.4:
|
||||
version "2.5.4"
|
||||
@ -7394,6 +7424,12 @@ rimraf@^2.2.8, rimraf@^2.3.3, rimraf@~2.5.4:
|
||||
dependencies:
|
||||
glob "^7.0.5"
|
||||
|
||||
rimraf@^2.4.0, rimraf@^2.5.1, rimraf@^2.6.1:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
|
||||
dependencies:
|
||||
glob "^7.0.5"
|
||||
|
||||
rimraf@~2.6.1:
|
||||
version "2.6.3"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
|
||||
@ -7417,14 +7453,14 @@ rtl-css-js@^1.1.3:
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.1.2"
|
||||
|
||||
safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
|
||||
version "5.1.1"
|
||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
|
||||
|
||||
safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0:
|
||||
safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
|
||||
|
||||
safe-buffer@~5.1.0, safe-buffer@~5.1.1:
|
||||
version "5.1.1"
|
||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
|
||||
|
||||
safe-regex@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
|
||||
@ -8073,11 +8109,11 @@ tar-pack@^3.4.0:
|
||||
uid-number "^0.0.6"
|
||||
|
||||
tar@^2.0.0, tar@^2.2.1:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1"
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.2.tgz#0ca8848562c7299b8b446ff6a4d60cdbb23edc40"
|
||||
dependencies:
|
||||
block-stream "*"
|
||||
fstream "^1.0.2"
|
||||
fstream "^1.0.12"
|
||||
inherits "2"
|
||||
|
||||
tar@^4.4.2:
|
||||
|
12
samples/knockout-sp-pnp-js/package-lock.json
generated
12
samples/knockout-sp-pnp-js/package-lock.json
generated
@ -12319,9 +12319,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"path-parse": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
|
||||
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
||||
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
||||
"dev": true
|
||||
},
|
||||
"path-root": {
|
||||
@ -16250,9 +16250,9 @@
|
||||
}
|
||||
},
|
||||
"tmpl": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz",
|
||||
"integrity": "sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=",
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
|
||||
"integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
|
||||
"dev": true
|
||||
},
|
||||
"to-array": {
|
||||
|
32
samples/react-accordion-dynamic-section/.gitignore
vendored
Normal file
32
samples/react-accordion-dynamic-section/.gitignore
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Dependency directories
|
||||
node_modules
|
||||
|
||||
# Build generated files
|
||||
dist
|
||||
lib
|
||||
solution
|
||||
temp
|
||||
*.sppkg
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
|
||||
# OSX
|
||||
.DS_Store
|
||||
|
||||
# Visual Studio files
|
||||
.ntvs_analysis.dat
|
||||
.vs
|
||||
bin
|
||||
obj
|
||||
|
||||
# Resx Generated Code
|
||||
*.resx.ts
|
||||
|
||||
# Styles Generated Code
|
||||
*.scss.ts
|
@ -28,17 +28,22 @@
|
||||
|
||||
**2) Add the Dynamic Accordion Section web part to your page & select your list, category, title and content columns. Click Apply and Publish:**
|
||||
|
||||
![Select list and other properties from property panel for use with the Accordion](./assets/AccordionSettings1.png)
|
||||
![Completed properties.](./assets/AccordionSettings2.png)
|
||||
![Select list and other properties from property panel for use with the Accordion](./assets/AccordionSettings4.png)
|
||||
![Completed properties.](./assets/AccordionSettings3.png)
|
||||
|
||||
## Used SharePoint Framework Version
|
||||
|
||||
![1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg)
|
||||
## Compatibility
|
||||
|
||||
![SPFx 1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg)
|
||||
![Node.js LTS v10](https://img.shields.io/badge/Node.js-LTS%20v10-green.svg)
|
||||
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
|
||||
![Teams N/A: Untested with Microsoft Teams](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams")
|
||||
|
||||
## Applies to
|
||||
|
||||
- [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
||||
- [Office 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
|
||||
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
||||
* [Microsoft 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
|
||||
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@ -46,24 +51,22 @@ Please create the list as described above
|
||||
|
||||
## Solution
|
||||
|
||||
| Solution | Author(s) |
|
||||
| ------------------------------------------ | ---------------------------------------------------------------------------------------- |
|
||||
| SPFx Collapsible Accordion Section | [Erik Benke](https://github.com/ejbenke) ([@erikjbenke](https://twitter.com/erikjbenke)) |
|
||||
| SPFx Collapsible Accordion Section | [Mike Zimmerman](https://github.com/mikezimm) |
|
||||
| Dynamic SPFx Collapsible Accordion Section | [Jerry Yasir](https://github.com/jyasir) |
|
||||
| Solution | Author(s) |
|
||||
| ------------------------------------------ | -----------------------------------------------------------------------------------------------------|
|
||||
| SPFx Collapsible Accordion Section | [Erik Benke](https://github.com/ejbenke) ([@erikjbenke](https://twitter.com/erikjbenke)) |
|
||||
| SPFx Collapsible Accordion Section | [Mike Zimmerman](https://github.com/mikezimm) |
|
||||
| Dynamic SPFx Collapsible Accordion Section | [Jerry Yasir](https://github.com/jyasir) |
|
||||
| Dynamic SPFx Collapsible Accordion Section | [Ari Gunawan](https://github.com/AriGunawan) ([@AriGunawan3023](https://twitter.com/AriGunawan3023)) |
|
||||
|
||||
## Version history
|
||||
|
||||
| Version | Date | Comments |
|
||||
| ------- | ------------------ | --------------------------------------------------------------------------------------------------- |
|
||||
| 1.0 | September 20, 2020 | Reused [Erik Benke] and [Mike Zimmerman] web part |
|
||||
| 1.0 | September 20, 2020 | Reused [Erik Benke] and [Mike Zimmerman] web part |
|
||||
| 1.1 | September 20, 2020 | Added Support for Dynamic Column selection for reuseability, Dynamic Property Selection for Columns |
|
||||
| 1.8 | August 8, 2021 | Add configuration for sorting the items |
|
||||
|
||||
## Disclaimer
|
||||
|
||||
**THIS CODE IS PROVIDED _AS IS_ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||
|
||||
---
|
||||
|
||||
## Minimal Path to Awesome
|
||||
|
||||
@ -75,4 +78,19 @@ Please create the list as described above
|
||||
- Use `gulp bundle --ship` & `gulp package-solution --ship`
|
||||
- Add the `.sppkg` to your SharePoint App Catalog
|
||||
|
||||
## Disclaimer
|
||||
|
||||
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||
|
||||
## Help
|
||||
|
||||
We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
|
||||
|
||||
If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=react-accordion-dynamic-section&authors=@mikezimm%20@jyasir%20@AriGunawan&title=react-accordion-dynamic-section%20-%20).
|
||||
|
||||
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=react-accordion-dynamic-section&authors=@mikezimm%20@jyasir%20@AriGunawan&title=react-accordion-dynamic-section%20-%20).
|
||||
|
||||
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=react-accordion-dynamic-section&authors=@mikezimm%20@jyasir%20@AriGunawan&title=react-accordion-dynamic-section%20-%20).
|
||||
|
||||
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-accordion-dynamic-section" />
|
||||
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 129 KiB |
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
@ -9,7 +9,7 @@
|
||||
"This sample is based on Erik Benke and Mike Zimmerman Accordion Section FAQ Builder web part. It was extended support single FAQs list based on Category and dynamic properties selection."
|
||||
],
|
||||
"creationDateTime": "2021-01-05",
|
||||
"updateDateTime": "2021-01-05",
|
||||
"updateDateTime": "2021-08-08",
|
||||
"products": [
|
||||
"SharePoint",
|
||||
"Office"
|
||||
|
@ -3,7 +3,7 @@
|
||||
"solution": {
|
||||
"name": "Accordion Section FAQ Builder",
|
||||
"id": "bf6fa974-fd40-45a3-80e9-e826abe025b9",
|
||||
"version": "1.6.0.0",
|
||||
"version": "1.7.0.0",
|
||||
"includeClientSideAssets": true,
|
||||
"skipFeatureDeployment": true
|
||||
},
|
||||
|
@ -1,134 +0,0 @@
|
||||
{
|
||||
"id": "061da2cd-f680-4da5-ab30-40a8ba1aafd8",
|
||||
"alias": "ReactAccordionWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "1.6.0",
|
||||
"manifestVersion": 2,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
"SharePointWebPart",
|
||||
"TeamsTab"
|
||||
],
|
||||
"loadLegacyFabricCss": true,
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "5c03119e-3074-46fd-976b-c60198311f70",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Dynamic Accordion Section"
|
||||
},
|
||||
"description": {
|
||||
"default": "Collapsible accordion section for displaying list data based on Category and Dynamic selection"
|
||||
},
|
||||
"officeFabricIconFontName": "MusicInCollectionFill",
|
||||
"properties": {
|
||||
"description": "Dynamic React Accordion",
|
||||
"listId": "",
|
||||
"columnTitle": "",
|
||||
"selectedChoice": "",
|
||||
"accordianTitleColumn": "",
|
||||
"accordianContentColumn": "",
|
||||
"allowZeroExpanded": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"loaderConfig": {
|
||||
"entryModuleId": "react-accordion-web-part",
|
||||
"internalModuleBaseUrls": [
|
||||
"https://localhost:4321/"
|
||||
],
|
||||
"scriptResources": {
|
||||
"react-accordion-web-part": {
|
||||
"type": "path",
|
||||
"path": "dist/react-accordion-web-part.js"
|
||||
},
|
||||
"ReactAccordionWebPartStrings": {
|
||||
"defaultPath": "lib/webparts/reactAccordion/loc/en-us.js",
|
||||
"type": "localizedPath",
|
||||
"paths": {}
|
||||
},
|
||||
"ControlStrings": {
|
||||
"defaultPath": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"type": "localizedPath",
|
||||
"paths": {
|
||||
"de-DE": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js",
|
||||
"de": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js",
|
||||
"dsb": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js",
|
||||
"rm": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js",
|
||||
"hsb": "node_modules/@pnp/spfx-controls-react/lib/loc/de-de.js",
|
||||
"en-US": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"bn": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"chr": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"dv": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"div": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"en": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"fil": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"haw": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"iu": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"lo": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"moh": "node_modules/@pnp/spfx-controls-react/lib/loc/en-us.js",
|
||||
"fr-FR": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"gsw": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"br": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"tzm-Tfng": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"co": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"fr": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"ff": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"lb": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"mg": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"oc": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"zgh": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"wo": "node_modules/@pnp/spfx-controls-react/lib/loc/fr-fr.js",
|
||||
"lt-LT": "node_modules/@pnp/spfx-controls-react/lib/loc/lt-lt.js",
|
||||
"nl-NL": "node_modules/@pnp/spfx-controls-react/lib/loc/nl-nl.js",
|
||||
"nl": "node_modules/@pnp/spfx-controls-react/lib/loc/nl-nl.js",
|
||||
"fy": "node_modules/@pnp/spfx-controls-react/lib/loc/nl-nl.js",
|
||||
"ru-RU": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"ru": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"ba": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"be": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"ky": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"mn": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"sah": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"tg": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"tt": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js",
|
||||
"tk": "node_modules/@pnp/spfx-controls-react/lib/loc/ru-ru.js"
|
||||
}
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
"version": "1.10.0",
|
||||
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db"
|
||||
},
|
||||
"@microsoft/sp-core-library": {
|
||||
"type": "component",
|
||||
"version": "1.10.0",
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"version": "1.10.0",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"version": "16.8.5",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"failoverPath": "node_modules/react/dist/react.js"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"version": "16.8.5",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"failoverPath": "node_modules/react-dom/dist/react-dom.js"
|
||||
},
|
||||
"@microsoft/sp-http": {
|
||||
"type": "component",
|
||||
"version": "1.10.0",
|
||||
"id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
//# sourceMappingURL=index.d.ts.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wFAAwF"}
|
@ -1,35 +0,0 @@
|
||||
import { Version } from "@microsoft/sp-core-library";
|
||||
import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base";
|
||||
import { IPropertyPaneConfiguration } from "@microsoft/sp-property-pane";
|
||||
import "core-js/es6/array";
|
||||
import "es6-map/implement";
|
||||
import "core-js/modules/es6.array.find";
|
||||
export interface IReactAccordionWebPartProps {
|
||||
listId: string;
|
||||
accordionTitle: string;
|
||||
columnTitle: string;
|
||||
selectedChoice: string;
|
||||
allowZeroExpanded: boolean;
|
||||
allowMultipleExpanded: boolean;
|
||||
accordianTitleColumn: string;
|
||||
accordianContentColumn: string;
|
||||
}
|
||||
export default class ReactAccordionWebPart extends BaseClientSideWebPart<IReactAccordionWebPartProps> {
|
||||
private listColumns;
|
||||
private allListColumns;
|
||||
private columnChoices;
|
||||
private columnsDropdownDisabled;
|
||||
private choicesDropdownDisabled;
|
||||
onInit(): Promise<void>;
|
||||
render(): void;
|
||||
protected onDispose(): void;
|
||||
protected readonly disableReactivePropertyChanges: boolean;
|
||||
protected readonly dataVersion: Version;
|
||||
private loadColumns;
|
||||
private loadAllColumns;
|
||||
private loadCateogryChoices;
|
||||
protected onPropertyPaneConfigurationStart(): void;
|
||||
protected onPropertyPaneFieldChanged(propertyPath: string, oldValue: any, newValue: any): void;
|
||||
protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration;
|
||||
}
|
||||
//# sourceMappingURL=ReactAccordionWebPart.d.ts.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ReactAccordionWebPart.d.ts","sourceRoot":"","sources":["../../../src/webparts/reactAccordion/ReactAccordionWebPart.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EACL,0BAA0B,EAK3B,MAAM,6BAA6B,CAAC;AAErC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,gCAAgC,CAAC;AAcxC,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,qBAAqB,CACtE,2BAA2B,CAC5B;IACC,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,cAAc,CAAgC;IACtD,OAAO,CAAC,aAAa,CAAgC;IAErD,OAAO,CAAC,uBAAuB,CAAiB;IAChD,OAAO,CAAC,uBAAuB,CAAiB;IAEzC,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAQvB,MAAM,IAAI,IAAI;IAyBrB,SAAS,CAAC,SAAS,IAAI,IAAI;uBAIb,8BAA8B,EAAI,OAAO;uBAGzC,WAAW,EAAI,OAAO;IAIpC,OAAO,CAAC,WAAW;IA8BnB,OAAO,CAAC,cAAc;IA6BtB,OAAO,CAAC,mBAAmB;IA+B3B,SAAS,CAAC,gCAAgC,IAAI,IAAI;IA6ClD,SAAS,CAAC,0BAA0B,CAClC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,GAAG,EACb,QAAQ,EAAE,GAAG,GACZ,IAAI;IAoEP,SAAS,CAAC,4BAA4B,IAAI,0BAA0B;CA6DrE"}
|
@ -1,297 +0,0 @@
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
import * as React from "react";
|
||||
import * as ReactDom from "react-dom";
|
||||
import { Version } from "@microsoft/sp-core-library";
|
||||
import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base";
|
||||
import { PropertyPaneToggle, PropertyPaneDropdown, } from "@microsoft/sp-property-pane";
|
||||
import { sp } from "@pnp/sp/presets/all";
|
||||
import "core-js/es6/array";
|
||||
import "es6-map/implement";
|
||||
import "core-js/modules/es6.array.find";
|
||||
import { PropertyFieldListPicker, PropertyFieldListPickerOrderBy, } from "@pnp/spfx-property-controls/lib/PropertyFieldListPicker";
|
||||
import * as strings from "ReactAccordionWebPartStrings";
|
||||
import ReactAccordion from "./components/ReactAccordion";
|
||||
var ReactAccordionWebPart = /** @class */ (function (_super) {
|
||||
__extends(ReactAccordionWebPart, _super);
|
||||
function ReactAccordionWebPart() {
|
||||
var _this = _super !== null && _super.apply(this, arguments) || this;
|
||||
_this.columnsDropdownDisabled = true;
|
||||
_this.choicesDropdownDisabled = true;
|
||||
return _this;
|
||||
}
|
||||
ReactAccordionWebPart.prototype.onInit = function () {
|
||||
var _this = this;
|
||||
return _super.prototype.onInit.call(this).then(function (_) {
|
||||
sp.setup({
|
||||
spfxContext: _this.context,
|
||||
});
|
||||
});
|
||||
};
|
||||
ReactAccordionWebPart.prototype.render = function () {
|
||||
var _this = this;
|
||||
var element = React.createElement(ReactAccordion, {
|
||||
listId: this.properties.listId,
|
||||
columnTitle: this.properties.columnTitle,
|
||||
selectedChoice: this.properties.selectedChoice,
|
||||
accordionTitle: this.properties.accordionTitle,
|
||||
accordianTitleColumn: this.properties.accordianTitleColumn,
|
||||
accordianContentColumn: this.properties.accordianContentColumn,
|
||||
allowZeroExpanded: this.properties.allowZeroExpanded,
|
||||
allowMultipleExpanded: this.properties.allowMultipleExpanded,
|
||||
displayMode: this.displayMode,
|
||||
updateProperty: function (value) {
|
||||
_this.properties.accordionTitle = value;
|
||||
},
|
||||
onConfigure: function () {
|
||||
_this.context.propertyPane.open();
|
||||
},
|
||||
});
|
||||
ReactDom.render(element, this.domElement);
|
||||
};
|
||||
ReactAccordionWebPart.prototype.onDispose = function () {
|
||||
ReactDom.unmountComponentAtNode(this.domElement);
|
||||
};
|
||||
Object.defineProperty(ReactAccordionWebPart.prototype, "disableReactivePropertyChanges", {
|
||||
get: function () {
|
||||
return true;
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(ReactAccordionWebPart.prototype, "dataVersion", {
|
||||
get: function () {
|
||||
return Version.parse("1.0");
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
ReactAccordionWebPart.prototype.loadColumns = function () {
|
||||
var _this = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
if (!_this.properties.listId) {
|
||||
console.log("No List Selected");
|
||||
return null;
|
||||
}
|
||||
var spListColumns = sp.web.lists
|
||||
.getById(_this.properties.listId)
|
||||
.fields.filter("ReadOnlyField eq false and Hidden eq false and TypeAsString eq 'Choice'")
|
||||
.get();
|
||||
spListColumns.then(function (columnResult) {
|
||||
var listColumns = [];
|
||||
columnResult.forEach(function (column) {
|
||||
listColumns.push({
|
||||
key: column.Title,
|
||||
text: column.Title,
|
||||
});
|
||||
});
|
||||
resolve(listColumns);
|
||||
});
|
||||
});
|
||||
};
|
||||
ReactAccordionWebPart.prototype.loadAllColumns = function () {
|
||||
var _this = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
if (!_this.properties.listId) {
|
||||
console.log("No List Selected");
|
||||
return null;
|
||||
}
|
||||
var spListColumns = sp.web.lists
|
||||
.getById(_this.properties.listId)
|
||||
.fields.filter("ReadOnlyField eq false and Hidden eq false")
|
||||
.get();
|
||||
spListColumns.then(function (columnResult) {
|
||||
var listColumns = [];
|
||||
columnResult.forEach(function (column) {
|
||||
listColumns.push({
|
||||
key: column.InternalName,
|
||||
text: column.Title + " - [" + column.InternalName + "]",
|
||||
});
|
||||
});
|
||||
resolve(listColumns);
|
||||
});
|
||||
});
|
||||
};
|
||||
ReactAccordionWebPart.prototype.loadCateogryChoices = function () {
|
||||
var _this = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
if (!_this.properties.columnTitle) {
|
||||
console.log("No Columns Selected");
|
||||
return null;
|
||||
}
|
||||
var categoryField = sp.web.lists
|
||||
.getById(_this.properties.listId)
|
||||
.fields.getByInternalNameOrTitle(_this.properties.columnTitle);
|
||||
var choices = categoryField.select("Choices")();
|
||||
choices.then(function (result) {
|
||||
//console.clear();
|
||||
//console.log(result.Choices);
|
||||
var columnChoices = [];
|
||||
result.Choices.forEach(function (choice) {
|
||||
columnChoices.push({
|
||||
key: choice,
|
||||
text: choice,
|
||||
});
|
||||
});
|
||||
resolve(columnChoices);
|
||||
});
|
||||
});
|
||||
};
|
||||
ReactAccordionWebPart.prototype.onPropertyPaneConfigurationStart = function () {
|
||||
var _this = this;
|
||||
this.columnsDropdownDisabled = !this.properties.listId;
|
||||
this.choicesDropdownDisabled = !this.properties.columnTitle;
|
||||
//if (this.lists) {
|
||||
// return;
|
||||
//}
|
||||
this.context.statusRenderer.displayLoadingIndicator(this.domElement, "lists, column and choices");
|
||||
if (this.properties.listId) {
|
||||
this.loadColumns().then(function (columnOptions) {
|
||||
_this.listColumns = columnOptions;
|
||||
_this.columnsDropdownDisabled = !_this.properties.listId;
|
||||
_this.context.propertyPane.refresh();
|
||||
_this.context.statusRenderer.clearLoadingIndicator(_this.domElement);
|
||||
_this.render();
|
||||
});
|
||||
this.loadAllColumns().then(function (allcolumnOptions) {
|
||||
_this.allListColumns = allcolumnOptions;
|
||||
_this.columnsDropdownDisabled = !_this.properties.listId;
|
||||
_this.context.propertyPane.refresh();
|
||||
_this.context.statusRenderer.clearLoadingIndicator(_this.domElement);
|
||||
_this.render();
|
||||
});
|
||||
}
|
||||
if (this.properties.columnTitle) {
|
||||
this.loadCateogryChoices().then(function (choiceOptions) {
|
||||
_this.columnChoices = choiceOptions;
|
||||
_this.choicesDropdownDisabled = !_this.properties.columnTitle;
|
||||
_this.context.propertyPane.refresh();
|
||||
_this.context.statusRenderer.clearLoadingIndicator(_this.domElement);
|
||||
_this.render();
|
||||
});
|
||||
}
|
||||
};
|
||||
ReactAccordionWebPart.prototype.onPropertyPaneFieldChanged = function (propertyPath, oldValue, newValue) {
|
||||
// push new list value
|
||||
var _this = this;
|
||||
// communicate loading items
|
||||
if (this.properties.listId) {
|
||||
this.context.statusRenderer.displayLoadingIndicator(this.domElement, "Columns");
|
||||
this.loadColumns().then(function (columnOptions) {
|
||||
// store items
|
||||
_this.listColumns = columnOptions;
|
||||
// enable item selector
|
||||
_this.columnsDropdownDisabled = false;
|
||||
// clear status indicator
|
||||
_this.context.statusRenderer.clearLoadingIndicator(_this.domElement);
|
||||
// re-render the web part as clearing the loading indicator removes the web part body
|
||||
_this.render();
|
||||
// refresh the item selector control by repainting the property pane
|
||||
_this.context.propertyPane.refresh();
|
||||
});
|
||||
this.loadAllColumns().then(function (allcolumnOptions) {
|
||||
_this.allListColumns = allcolumnOptions;
|
||||
_this.columnsDropdownDisabled = !_this.properties.listId;
|
||||
_this.context.propertyPane.refresh();
|
||||
_this.context.statusRenderer.clearLoadingIndicator(_this.domElement);
|
||||
_this.render();
|
||||
});
|
||||
}
|
||||
if (this.properties.columnTitle) {
|
||||
this.context.statusRenderer.displayLoadingIndicator(this.domElement, "Choices");
|
||||
this.loadCateogryChoices().then(function (choiceOption) {
|
||||
// store items
|
||||
_this.columnChoices = choiceOption;
|
||||
// enable item selector
|
||||
_this.choicesDropdownDisabled = false;
|
||||
// clear status indicator
|
||||
_this.context.statusRenderer.clearLoadingIndicator(_this.domElement);
|
||||
// re-render the web part as clearing the loading indicator removes the web part body
|
||||
_this.render();
|
||||
// refresh the item selector control by repainting the property pane
|
||||
_this.context.propertyPane.refresh();
|
||||
});
|
||||
}
|
||||
if (this.properties.selectedChoice) {
|
||||
this.context.statusRenderer.displayLoadingIndicator(this.domElement, "Data");
|
||||
this.context.statusRenderer.clearLoadingIndicator(this.domElement);
|
||||
this.render();
|
||||
this.context.propertyPane.refresh();
|
||||
}
|
||||
};
|
||||
ReactAccordionWebPart.prototype.getPropertyPaneConfiguration = function () {
|
||||
return {
|
||||
pages: [
|
||||
{
|
||||
header: {
|
||||
description: strings.PropertyPaneDescription,
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
groupName: strings.BasicGroupName,
|
||||
groupFields: [
|
||||
PropertyFieldListPicker("listId", {
|
||||
label: "Select a list",
|
||||
selectedList: this.properties.listId,
|
||||
includeHidden: false,
|
||||
orderBy: PropertyFieldListPickerOrderBy.Title,
|
||||
disabled: false,
|
||||
onPropertyChange: this.onPropertyPaneFieldChanged.bind(this),
|
||||
properties: this.properties,
|
||||
context: this.context,
|
||||
onGetErrorMessage: null,
|
||||
deferredValidationTime: 0,
|
||||
key: "listPickerFieldId",
|
||||
}),
|
||||
PropertyPaneDropdown("columnTitle", {
|
||||
label: "Select the (Choice) Column for Categories.",
|
||||
options: this.listColumns,
|
||||
disabled: this.columnsDropdownDisabled,
|
||||
}),
|
||||
PropertyPaneDropdown("selectedChoice", {
|
||||
label: "Select the Choice value for filter.",
|
||||
options: this.columnChoices,
|
||||
disabled: this.choicesDropdownDisabled,
|
||||
}),
|
||||
PropertyPaneDropdown("accordianTitleColumn", {
|
||||
label: "Select the Column for Accordion Title Rows.",
|
||||
options: this.allListColumns,
|
||||
disabled: this.choicesDropdownDisabled,
|
||||
}),
|
||||
PropertyPaneDropdown("accordianContentColumn", {
|
||||
label: "Select the Column for Accordion Content.",
|
||||
options: this.allListColumns,
|
||||
disabled: this.choicesDropdownDisabled,
|
||||
}),
|
||||
PropertyPaneToggle("allowZeroExpanded", {
|
||||
label: "Allow zero expanded",
|
||||
checked: this.properties.allowZeroExpanded,
|
||||
key: "allowZeroExpanded",
|
||||
}),
|
||||
PropertyPaneToggle("allowMultipleExpanded", {
|
||||
label: "Allow multi expand",
|
||||
checked: this.properties.allowMultipleExpanded,
|
||||
key: "allowMultipleExpanded",
|
||||
}),
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
};
|
||||
return ReactAccordionWebPart;
|
||||
}(BaseClientSideWebPart));
|
||||
export default ReactAccordionWebPart;
|
||||
//# sourceMappingURL=ReactAccordionWebPart.js.map
|
File diff suppressed because one or more lines are too long
@ -1,15 +0,0 @@
|
||||
import { DisplayMode } from "@microsoft/sp-core-library";
|
||||
export interface IReactAccordionProps {
|
||||
listId: string;
|
||||
accordionTitle: string;
|
||||
columnTitle: string;
|
||||
selectedChoice: string;
|
||||
accordianTitleColumn: string;
|
||||
accordianContentColumn: string;
|
||||
allowZeroExpanded: boolean;
|
||||
allowMultipleExpanded: boolean;
|
||||
displayMode: DisplayMode;
|
||||
updateProperty: (value: string) => void;
|
||||
onConfigure: () => void;
|
||||
}
|
||||
//# sourceMappingURL=IReactAccordionProps.d.ts.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"IReactAccordionProps.d.ts","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/IReactAccordionProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB"}
|
@ -1 +0,0 @@
|
||||
//# sourceMappingURL=IReactAccordionProps.js.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"IReactAccordionProps.js","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/IReactAccordionProps.ts"],"names":[],"mappings":""}
|
@ -1,16 +0,0 @@
|
||||
import * as React from "react";
|
||||
import { IReactAccordionProps } from "./IReactAccordionProps";
|
||||
import "./reactAccordion.css";
|
||||
export interface IReactAccordionState {
|
||||
items: Array<any>;
|
||||
choices: Array<any>;
|
||||
allowMultipleExpanded: boolean;
|
||||
allowZeroExpanded: boolean;
|
||||
}
|
||||
export default class ReactAccordion extends React.Component<IReactAccordionProps, IReactAccordionState> {
|
||||
constructor(props: IReactAccordionProps);
|
||||
private getListItems;
|
||||
componentDidUpdate(prevProps: IReactAccordionProps): void;
|
||||
render(): React.ReactElement<IReactAccordionProps>;
|
||||
}
|
||||
//# sourceMappingURL=ReactAccordion.d.ts.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ReactAccordion.d.ts","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/ReactAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,sBAAsB,CAAC;AAU9B,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,SAAS,CACzD,oBAAoB,EACpB,oBAAoB,CACrB;gBACa,KAAK,EAAE,oBAAoB;IAYvC,OAAO,CAAC,YAAY;IAiCb,kBAAkB,CAAC,SAAS,EAAE,oBAAoB,GAAG,IAAI;IAgBzD,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,oBAAoB,CAAC;CAoD1D"}
|
@ -1,96 +0,0 @@
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
import * as React from "react";
|
||||
import styles from "./ReactAccordion.module.scss";
|
||||
import { sp } from "@pnp/sp/presets/all";
|
||||
import { Placeholder } from "@pnp/spfx-controls-react/lib/Placeholder";
|
||||
import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
|
||||
import "./reactAccordion.css";
|
||||
import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, } from "react-accessible-accordion";
|
||||
var ReactAccordion = /** @class */ (function (_super) {
|
||||
__extends(ReactAccordion, _super);
|
||||
function ReactAccordion(props) {
|
||||
var _this = _super.call(this, props) || this;
|
||||
_this.state = {
|
||||
items: new Array(),
|
||||
choices: new Array(),
|
||||
allowMultipleExpanded: _this.props.allowMultipleExpanded,
|
||||
allowZeroExpanded: _this.props.allowZeroExpanded,
|
||||
};
|
||||
_this.getListItems();
|
||||
return _this;
|
||||
}
|
||||
ReactAccordion.prototype.getListItems = function () {
|
||||
var _this = this;
|
||||
if (typeof this.props.listId !== "undefined" &&
|
||||
this.props.listId.length > 0 &&
|
||||
typeof this.props.columnTitle !== "undefined" &&
|
||||
this.props.columnTitle.length > 0 &&
|
||||
typeof this.props.selectedChoice !== "undefined" &&
|
||||
this.props.selectedChoice.length > 0) {
|
||||
var query = "<View><Query><Where><Eq><FieldRef Name='" +
|
||||
this.props.columnTitle +
|
||||
"'/><Value Type='Text'>" +
|
||||
this.props.selectedChoice +
|
||||
"</Value></Eq></Where></Query></View>";
|
||||
var theAccordianList = sp.web.lists.getById(this.props.listId);
|
||||
theAccordianList
|
||||
.getItemsByCAMLQuery({
|
||||
ViewXml: query,
|
||||
}) //.select("Title", "Answer", "Category")
|
||||
.then(function (results) {
|
||||
_this.setState({
|
||||
items: results,
|
||||
});
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log("Failed to get list items!");
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
};
|
||||
ReactAccordion.prototype.componentDidUpdate = function (prevProps) {
|
||||
if (prevProps.listId !== this.props.listId) {
|
||||
this.getListItems();
|
||||
}
|
||||
if (prevProps.allowMultipleExpanded !== this.props.allowMultipleExpanded ||
|
||||
prevProps.allowZeroExpanded !== this.props.allowZeroExpanded) {
|
||||
this.setState({
|
||||
allowMultipleExpanded: this.props.allowMultipleExpanded,
|
||||
allowZeroExpanded: this.props.allowZeroExpanded,
|
||||
});
|
||||
}
|
||||
};
|
||||
ReactAccordion.prototype.render = function () {
|
||||
var _this = this;
|
||||
var listSelected = typeof this.props.listId !== "undefined" && this.props.listId.length > 0;
|
||||
var _a = this.state, allowMultipleExpanded = _a.allowMultipleExpanded, allowZeroExpanded = _a.allowZeroExpanded;
|
||||
return (React.createElement("div", { className: styles.reactAccordion },
|
||||
!listSelected && (React.createElement(Placeholder, { iconName: "MusicInCollectionFill", iconText: "Configure your web part", description: "Select a list with a Title field and Content field to have its items rendered in a collapsible accordion format", buttonLabel: "Choose a List", onConfigure: this.props.onConfigure })),
|
||||
listSelected && (React.createElement("div", null,
|
||||
React.createElement(WebPartTitle, { displayMode: this.props.displayMode, title: this.props.selectedChoice, updateProperty: this.props.updateProperty }),
|
||||
React.createElement(Accordion, { allowZeroExpanded: allowZeroExpanded, allowMultipleExpanded: allowMultipleExpanded }, this.state.items.map(function (item) {
|
||||
return (React.createElement(AccordionItem, null,
|
||||
React.createElement(AccordionItemHeading, null,
|
||||
React.createElement(AccordionItemButton, { title: item[_this.props.accordianTitleColumn] }, item[_this.props.accordianTitleColumn])),
|
||||
React.createElement(AccordionItemPanel, null,
|
||||
React.createElement("p", { dangerouslySetInnerHTML: {
|
||||
__html: item[_this.props.accordianContentColumn],
|
||||
} }))));
|
||||
}))))));
|
||||
};
|
||||
return ReactAccordion;
|
||||
}(React.Component));
|
||||
export default ReactAccordion;
|
||||
//# sourceMappingURL=ReactAccordion.js.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ReactAccordion.js","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/ReactAccordion.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,8BAA8B,CAAC;AAElD,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EACL,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,4BAA4B,CAAC;AASpC;IAA4C,kCAG3C;IACC,wBAAY,KAA2B;QAAvC,YACE,kBAAM,KAAK,CAAC,SASb;QAPC,KAAI,CAAC,KAAK,GAAG;YACX,KAAK,EAAE,IAAI,KAAK,EAAO;YACvB,OAAO,EAAE,IAAI,KAAK,EAAO;YACzB,qBAAqB,EAAE,KAAI,CAAC,KAAK,CAAC,qBAAqB;YACvD,iBAAiB,EAAE,KAAI,CAAC,KAAK,CAAC,iBAAiB;SAChD,CAAC;QACF,KAAI,CAAC,YAAY,EAAE,CAAC;;IACtB,CAAC;IAEO,qCAAY,GAApB;QAAA,iBA+BC;QA9BC,IACE,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,WAAW;YACxC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;YAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,KAAK,WAAW;YAC7C,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC;YACjC,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,WAAW;YAChD,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,EACpC;YACA,IAAI,KAAK,GACP,0CAA0C;gBAC1C,IAAI,CAAC,KAAK,CAAC,WAAW;gBACtB,wBAAwB;gBACxB,IAAI,CAAC,KAAK,CAAC,cAAc;gBACzB,sCAAsC,CAAC;YAEzC,IAAI,gBAAgB,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAC/D,gBAAgB;iBACb,mBAAmB,CAAC;gBACnB,OAAO,EAAE,KAAK;aACf,CAAC,CAAC,wCAAwC;iBAC1C,IAAI,CAAC,UAAC,OAAmB;gBACxB,KAAI,CAAC,QAAQ,CAAC;oBACZ,KAAK,EAAE,OAAO;iBACf,CAAC,CAAC;YACL,CAAC,CAAC;iBACD,KAAK,CAAC,UAAC,KAAU;gBAChB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;gBACzC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;SACN;IACH,CAAC;IAEM,2CAAkB,GAAzB,UAA0B,SAA+B;QACvD,IAAI,SAAS,CAAC,MAAM,KAAK,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;YAC1C,IAAI,CAAC,YAAY,EAAE,CAAC;SACrB;QAED,IACE,SAAS,CAAC,qBAAqB,KAAK,IAAI,CAAC,KAAK,CAAC,qBAAqB;YACpE,SAAS,CAAC,iBAAiB,KAAK,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAC5D;YACA,IAAI,CAAC,QAAQ,CAAC;gBACZ,qBAAqB,EAAE,IAAI,CAAC,KAAK,CAAC,qBAAqB;gBACvD,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB;aAChD,CAAC,CAAC;SACJ;IACH,CAAC;IAEM,+BAAM,GAAb;QAAA,iBAmDC;QAlDC,IAAM,YAAY,GAChB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,WAAW,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;QACrE,IAAA,eAAyD,EAAvD,gDAAqB,EAAE,wCAAgC,CAAC;QAChE,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,cAAc;YAClC,CAAC,YAAY,IAAI,CAChB,oBAAC,WAAW,IACV,QAAQ,EAAC,uBAAuB,EAChC,QAAQ,EAAC,yBAAyB,EAClC,WAAW,EAAC,iHAAiH,EAC7H,WAAW,EAAC,eAAe,EAC3B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GACnC,CACH;YACA,YAAY,IAAI,CACf;gBACE,oBAAC,YAAY,IACX,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EAChC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,GACzC;gBACF,oBAAC,SAAS,IACR,iBAAiB,EAAE,iBAAiB,EACpC,qBAAqB,EAAE,qBAAqB,IAE3C,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAAS;oBAC9B,OAAO,CACL,oBAAC,aAAa;wBACZ,oBAAC,oBAAoB;4BACnB,oBAAC,mBAAmB,IAClB,KAAK,EAAE,IAAI,CAAC,KAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,IAE3C,IAAI,CAAC,KAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAClB,CACD;wBACvB,oBAAC,kBAAkB;4BACjB,2BACE,uBAAuB,EAAE;oCACvB,MAAM,EAAE,IAAI,CAAC,KAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC;iCAChD,GACD,CACiB,CACP,CACjB,CAAC;gBACJ,CAAC,CAAC,CACQ,CACR,CACP,CACG,CACP,CAAC;IACJ,CAAC;IACH,qBAAC;AAAD,CAAC,AArHD,CAA4C,KAAK,CAAC,SAAS,GAqH1D"}
|
@ -1,2 +0,0 @@
|
||||
.reactAccordion_b579c085 .container_b579c085{max-width:700px;margin:0 auto;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.2),0 25px 50px 0 rgba(0,0,0,.1);box-shadow:0 2px 4px 0 rgba(0,0,0,.2),0 25px 50px 0 rgba(0,0,0,.1)}.reactAccordion_b579c085 .row_b579c085{margin:0 -8px;-webkit-box-sizing:border-box;box-sizing:border-box;color:"[theme:white, default: #ffffff]";background-color:"[theme:themeDark, default: #005a9e]";padding:20px}.reactAccordion_b579c085 .row_b579c085::after,.reactAccordion_b579c085 .row_b579c085::before{display:table;content:'';line-height:0}.reactAccordion_b579c085 .row_b579c085::after{clear:both}.reactAccordion_b579c085 .column_b579c085{position:relative;min-height:1px;padding-left:8px;padding-right:8px;-webkit-box-sizing:border-box;box-sizing:border-box}[dir=ltr] .reactAccordion_b579c085 .column_b579c085{float:left}[dir=rtl] .reactAccordion_b579c085 .column_b579c085{float:right}.reactAccordion_b579c085 .column_b579c085 .ms-Grid_b579c085{padding:0}@media (min-width:640px){.reactAccordion_b579c085 .column_b579c085{width:83.33333333333334%}}@media (min-width:1024px){.reactAccordion_b579c085 .column_b579c085{width:66.66666666666666%}}@media (min-width:1024px){[dir=ltr] .reactAccordion_b579c085 .column_b579c085{left:16.66667%}[dir=rtl] .reactAccordion_b579c085 .column_b579c085{right:16.66667%}}@media (min-width:640px){[dir=ltr] .reactAccordion_b579c085 .column_b579c085{left:8.33333%}[dir=rtl] .reactAccordion_b579c085 .column_b579c085{right:8.33333%}}.reactAccordion_b579c085 .title_b579c085{font-size:21px;font-weight:100;color:"[theme:white, default: #ffffff]"}.reactAccordion_b579c085 .subTitle_b579c085{font-size:17px;font-weight:300;color:"[theme:white, default: #ffffff]"}.reactAccordion_b579c085 .description_b579c085{font-size:17px;font-weight:300;color:"[theme:white, default: #ffffff]"}.reactAccordion_b579c085 .button_b579c085{text-decoration:none;height:32px;min-width:80px;background-color:"[theme:themePrimary, default: #0078d4]";border-color:"[theme:themePrimary, default: #0078d4]";color:"[theme:white, default: #ffffff]";outline:transparent;position:relative;font-family:"Segoe UI WestEuropean","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;font-weight:400;border-width:0;text-align:center;cursor:pointer;display:inline-block;padding:0 16px}.reactAccordion_b579c085 .button_b579c085 .label_b579c085{font-weight:600;font-size:14px;height:32px;line-height:32px;margin:0 4px;vertical-align:top;display:inline-block}
|
||||
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyY1xcd2VicGFydHNcXHJlYWN0QWNjb3JkaW9uXFxjb21wb25lbnRzXFxSZWFjdEFjY29yZGlvbi5tb2R1bGUuc2NzcyIsIiRzdGRpbiIsIm5vZGVfbW9kdWxlc1xcb2ZmaWNlLXVpLWZhYnJpYy1yZWFjdFxcZGlzdFxcc2Fzc1xcbWl4aW5zXFxfR3JpZC5NaXhpbnMuc2NzcyIsIm5vZGVfbW9kdWxlc1xcb2ZmaWNlLXVpLWZhYnJpYy1yZWFjdFxcZGlzdFxcc2Fzc1xcbWl4aW5zXFxfR2VuZXJhbC5NaXhpbnMuc2NzcyIsIm5vZGVfbW9kdWxlc1xcb2ZmaWNlLXVpLWZhYnJpYy1yZWFjdFxcZGlzdFxcc2Fzc1xcbWl4aW5zXFxfRm9udC5NaXhpbnMuc2NzcyIsIm5vZGVfbW9kdWxlc1xcb2ZmaWNlLXVpLWZhYnJpYy1yZWFjdFxcZGlzdFxcc2Fzc1xcbWl4aW5zXFxfRGlyZWN0aW9uYWxpdHkuTWl4aW5zLnNjc3MiLCJub2RlX21vZHVsZXNcXG9mZmljZS11aS1mYWJyaWMtcmVhY3RcXGRpc3RcXHNhc3NcXG1peGluc1xcX1Jlc3BvbnNpdmUuTWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0MsNkNBRUcsVUFBQSxNQUNBLE9BQUEsRUFBQSxLQUNBLG1CQUFBLEVBQUEsSUFBQSxJQUFBLEVBQUEsY0NHZ0QsQ0RIaEQsRUFBQSxLQUFBLEtBQUEsRUFBQSxlQUFBLFdBQUEsRUFBQSxJQUFBLElBQUEsRUFBQSxjQ0lnRCxDREpoRCxFQUFBLEtBQUEsS0FBQSxFQUFBLGVBSkgsdUNFZUMsT0FBQSxFQUFBLEtDOEhBLG1CQUFBLFdBQUEsV0FBQSxXQ21KQSxNQUFBLGtDSnRSRSxpQkFBQSxzQ0FDQSxRQUFBLEtBWEgsOENBQUEsK0NHMEpHLFFBQUEsTUFDQSxRQUFBLEdBQ0EsWUFBQSxFSDVKSCw4Q0crSkcsTUFBQSxLSC9KSCwwQ0V3QkMsU0FBQSxTQUNBLFdBQUEsSUFDQSxhQUFBLElBQ0EsY0FBQSxJQ2tIQSxtQkFBQSxXQUFBLFdBQUEsV0hoSEEsb0RLb0pJLE1BQUEsS0xsSkosb0RLc0pJLE1BQUEsTUxyTEwsNERFaUNHLFFBQUEsRUlrWUYseUJObmFELDBDTW9hRyxNQUFBLG9CQXVRRiwwQk4zcUJELDBDTTRxQkcsTUFBQSxvQkEwSkYsMEJONXhCRSxvREsySkEsS0FBQSxVTHpKQSxvREs2SkEsTUFBQSxXQ29ZRix5Qk45aEJFLG9ES3NKQSxLQUFBLFNMcEpBLG9ES3dKQSxNQUFBLFVMek1ILHlDSWdGQyxVQUFBLEtBQ0EsWUFBQSxJQStNQSxNQUFBLGtDSmhTRCw0Q0lzRkMsVUFBQSxLQUNBLFlBQUEsSUF5TUEsTUFBQSxrQ0poU0QsK0NJc0ZDLFVBQUEsS0FDQSxZQUFBLElBeU1BLE1BQUEsa0NKaFNELDBDQXVDRyxnQkFBQSxLQUNBLE9BQUEsS0FHQSxVQUFBLEtBQ0EsaUJBQUEseUNBQ0EsYUFBQSx5Q0FDQSxNQUFBLGtDQUdBLFFBQUEsWUFDQSxTQUFBLFNBQ0EsWUFBQSx1QkM0QmtDLENENUJsQyxVQzRCNkMsQ0Q1QjdDLGFDNEIyRCxDRDVCM0Qsa0JDNEI4RSxDRDVCOUUsTUM0QnFGLENENUJyRixnQkM0QnNHLENENUJ0RyxXQUNBLHVCQUFBLFlBQ0EsVUFBQSxLQUNBLFlBQUEsSUFDQSxhQUFBLEVBQ0EsV0FBQSxPQUNBLE9BQUEsUUFDQSxRQUFBLGFBQ0EsUUFBQSxFQUFBLEtBM0RILDBEQThESyxZQUFBLElBQ0EsVUFBQSxLQUNBLE9BQUEsS0FDQSxZQUFBLEtBQ0EsT0FBQSxFQUFBLElBQ0EsZUFBQSxJQUNBLFFBQUEifQ== */
|
@ -1,14 +0,0 @@
|
||||
declare const styles: {
|
||||
reactAccordion: string;
|
||||
container: string;
|
||||
row: string;
|
||||
column: string;
|
||||
'ms-Grid': string;
|
||||
title: string;
|
||||
subTitle: string;
|
||||
description: string;
|
||||
button: string;
|
||||
label: string;
|
||||
};
|
||||
export default styles;
|
||||
//# sourceMappingURL=ReactAccordion.module.scss.d.ts.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ReactAccordion.module.scss.d.ts","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/ReactAccordion.module.scss.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,MAAM;;;;;;;;;;;CAWX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@ -1,17 +0,0 @@
|
||||
/* tslint:disable */
|
||||
require("./ReactAccordion.module.css");
|
||||
var styles = {
|
||||
reactAccordion: 'reactAccordion_b579c085',
|
||||
container: 'container_b579c085',
|
||||
row: 'row_b579c085',
|
||||
column: 'column_b579c085',
|
||||
'ms-Grid': 'ms-Grid_b579c085',
|
||||
title: 'title_b579c085',
|
||||
subTitle: 'subTitle_b579c085',
|
||||
description: 'description_b579c085',
|
||||
button: 'button_b579c085',
|
||||
label: 'label_b579c085'
|
||||
};
|
||||
export default styles;
|
||||
/* tslint:enable */
|
||||
//# sourceMappingURL=ReactAccordion.module.scss.js.map
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"ReactAccordion.module.scss.js","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/ReactAccordion.module.scss.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,OAAO,CAAC,6BAA6B,CAAC,CAAC;AACvC,IAAM,MAAM,GAAG;IACb,cAAc,EAAE,yBAAyB;IACzC,SAAS,EAAE,oBAAoB;IAC/B,GAAG,EAAE,cAAc;IACnB,MAAM,EAAE,iBAAiB;IACzB,SAAS,EAAE,kBAAkB;IAC7B,KAAK,EAAE,gBAAgB;IACvB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,iBAAiB;IACzB,KAAK,EAAE,gBAAgB;CACxB,CAAC;AAEF,eAAe,MAAM,CAAC;AACtB,mBAAmB"}
|
@ -1,58 +0,0 @@
|
||||
.accordion {
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.accordion__item+.accordion__item {
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.accordion__button {
|
||||
background-color: #f4f4f4;
|
||||
color: #444;
|
||||
cursor: pointer;
|
||||
padding: 18px;
|
||||
text-align: left;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.accordion__button:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.accordion__button:before {
|
||||
display: inline-block;
|
||||
content: '';
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
margin-right: 12px;
|
||||
border-bottom: 2px solid currentColor;
|
||||
border-right: 2px solid currentColor;
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
.accordion__button[aria-expanded='true']::before,
|
||||
.accordion__button[aria-selected='true']::before {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.accordion__panel {
|
||||
padding: 20px;
|
||||
width: 95%;
|
||||
animation: fadein 0.35s ease-in;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
define([], function() {
|
||||
return {
|
||||
"PropertyPaneDescription": "",
|
||||
"BasicGroupName": "Settings",
|
||||
"DescriptionFieldLabel": "Accordion Section"
|
||||
}
|
||||
});
|
15601
samples/react-accordion-dynamic-section/package-lock.json
generated
15601
samples/react-accordion-dynamic-section/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest" Name="Accordion Section FAQ Builder" ProductID="bf6fa974-fd40-45a3-80e9-e826abe025b9" Version="1.6.0.0" SharePointMinVersion="16.0.0.0" IsClientSideSolution="true" SkipFeatureDeployment="true"><Properties><Title>Accordion Section FAQ Builder</Title></Properties></App>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="Client Side Assets" Description="A feature that help deploy client side component assets to SharePoint Online." Id="ae903959-8188-4f0c-ba22-d89bf9329c3b" Version="1.0.0.0" Scope="Web" Hidden="FALSE"></Feature>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><AppPartConfig xmlns="http://schemas.microsoft.com/sharepoint/2012/app/partconfiguration"><Id>c0f1c601-0691-46f4-a6e3-e2cc655d6530</Id></AppPartConfig>
|
@ -1,203 +0,0 @@
|
||||
define([], function () {
|
||||
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',
|
||||
peoplePickerSuggestionsHeaderText: 'Vorgeschlagene Benutzer',
|
||||
peoplePickerLoadingText: 'Laden',
|
||||
PeoplePickerSearchText: 'Fetching users',
|
||||
PeoplePickerGroupNotFound: 'Gruppe konnte nicht gefunden werden.',
|
||||
ListItemPickerSelectValue: 'Wähle Wert',
|
||||
mapsErrorMessage: 'Beim Laden von Karten ist ein Fehler aufgetreten',
|
||||
mapsLoadingText: 'Laden',
|
||||
mapsSearchButtonText: 'Suche',
|
||||
mapsTitlePrefix: 'Karte von',
|
||||
genericNoResultsFoundText: 'Kein Ergebnis gefunden',
|
||||
ListViewFilterLabel: 'Filter',
|
||||
ListItemAttachmentsActionDeleteIconTitle: 'Löschen',
|
||||
ListItemAttachmentsactionDeleteTitle: 'Löschen',
|
||||
ListItemAttachmentsfileDeletedMsg: 'Datei {0} gelöscht',
|
||||
ListItemAttachmentsfileDeleteError: 'Fehler beim Löschen der Datei: {0}, Grund: {1}',
|
||||
ListItemAttachmentserrorLoadAttachments: 'Fehler beim Laden der Anhänge, Grund: {0}',
|
||||
ListItemAttachmentsconfirmDelete: 'Sind Sie sich sicher, dass Sie die Anlage {0} in den Papierkorb verschieben möchten ?',
|
||||
ListItemAttachmentsdialogTitle: 'Listenelement-Anhang',
|
||||
ListItemAttachmentsdialogOKbuttonLabel: 'Ok',
|
||||
ListItemAttachmentsdialogCancelButtonLabel: 'Abbrechen',
|
||||
ListItemAttachmentsdialogOKbuttonLabelOnDelete: 'Löschen',
|
||||
ListItemAttachmentsuploadAttachmentDialogTitle: 'Anlage hinzufügen',
|
||||
ListItemAttachmentsuploadAttachmentButtonLabel: 'Anlage hinzufügen',
|
||||
ListItemAttachmentsuploadAttachmentErrorMsg: 'Die Datei {0} wurde nicht hinzugefügt, Grund: {1}',
|
||||
ListItemAttachmentsCommandBarAddAttachmentLabel: 'Anlage hinzufügen',
|
||||
ListItemAttachmentsloadingMessage: 'Datei wird hochgeladen ...',
|
||||
ListItemAttachmentslPlaceHolderIconText: 'Listenelement-Anhang',
|
||||
ListItemAttachmentslPlaceHolderDescription: 'Bitte Anlage hinzufügen',
|
||||
ListItemAttachmentslPlaceHolderButtonLabel: 'Hinzufügen',
|
||||
DatePickerMonthLongJanuary: 'Januar',
|
||||
DatePickerMonthShortJanuary: 'Jan',
|
||||
DatePickerMonthLongFebruary: 'Februar',
|
||||
DatePickerMonthShortFebruary: 'Feb',
|
||||
DatePickerMonthLongMarch: 'März',
|
||||
DatePickerMonthShortMarch: 'Mar',
|
||||
DatePickerMonthLongApril: 'April',
|
||||
DatePickerMonthShortApril: 'Apr',
|
||||
DatePickerMonthLongMay: 'Mai',
|
||||
DatePickerMonthShortMay: 'Mai',
|
||||
DatePickerMonthLongJune: 'Juni',
|
||||
DatePickerMonthShortJune: 'Jun',
|
||||
DatePickerMonthLongJuly: 'Juli',
|
||||
DatePickerMonthShortJuly: 'Jul',
|
||||
DatePickerMonthLongAugust: 'August',
|
||||
DatePickerMonthShortAugust: 'Aug',
|
||||
DatePickerMonthLongSeptember: 'September',
|
||||
DatePickerMonthShortSeptember: 'Sept',
|
||||
DatePickerMonthLongOctober: 'Oktober',
|
||||
DatePickerMonthShortOctober: 'Okt',
|
||||
DatePickerMonthLongNovember: 'November',
|
||||
DatePickerMonthShortNovember: 'Nov',
|
||||
DatePickerMonthLongDecember: 'Dezember',
|
||||
DatePickerMonthShortDecember: 'Dez',
|
||||
DatePickerDayLongSunday: 'Sonntag',
|
||||
DatePickerDayShortSunday: 'So.',
|
||||
DatePickerDayLongMonday: 'Montag',
|
||||
DatePickerDayShortMonday: 'Mo.',
|
||||
DatePickerDayLongTuesday: 'Dienstag',
|
||||
DatePickerDayShortTuesday: 'Di.',
|
||||
DatePickerDayLongWednesday: 'Mittwoch',
|
||||
DatePickerDayShortWednesday: 'Mi.',
|
||||
DatePickerDayLongThursday: 'Donnerstag',
|
||||
DatePickerDayShortThursday: 'Do.',
|
||||
DatePickerDayLongFriday: 'Freitag',
|
||||
DatePickerDayShortFriday: 'Fr.',
|
||||
DatePickerDayLongSaturday: 'Samstag',
|
||||
DatePickerDayShortSaturday: 'Sa.',
|
||||
DatePickerGoToToday: 'Heute',
|
||||
DatePickerIsRequiredErrorMessage: '',
|
||||
DatePickerInvalidInputErrorMessage: '',
|
||||
DatePickerIsOutOfBoundsErrorMessage: '',
|
||||
DateTimePickerDate: 'Datum',
|
||||
DateTimePickerTime: 'Uhrzeit',
|
||||
DateTimePickerTimeSeparator: ':',
|
||||
DateTimePickerHourValueInvalid: 'Falscher Stundenwert',
|
||||
HeaderNormalText: 'Normaler Text',
|
||||
HeaderH2: 'Überschrift 1',
|
||||
HeaderH3: 'Überschrift 2',
|
||||
HeaderH4: 'Überschrift 3',
|
||||
HeaderBlockQuote: 'Zitat',
|
||||
AlignLeft: 'linksbündig',
|
||||
AlignCenter: 'zentriert',
|
||||
AlignRight: 'rechtsbündig',
|
||||
AlignJustify: 'Blocksatz',
|
||||
ListBullet: 'Aufzählungszeichen',
|
||||
ListNumbered: 'Nummerierung',
|
||||
StyleTitle: 'Schriftart',
|
||||
BoldTitle: 'Fett (Strg+B)',
|
||||
ItalicTitle: 'Kursiv (Strg+I)',
|
||||
UnderlineTitle: 'Unterstrichen(Strg+U)',
|
||||
AlignTitle: 'Ausrichtung',
|
||||
ListTitle: 'Liste',
|
||||
LinkTitle: 'Hyperlink',
|
||||
MoreTitle: 'Mehr',
|
||||
FormattingPaneTitle: 'Text Formattierung',
|
||||
CloseButton: 'Schließen',
|
||||
InsertLinkTitle: 'Link einfügen',
|
||||
AddressFieldLabel: 'Adresse',
|
||||
TextToDisplayLabel: 'Anzeigetext',
|
||||
SaveButtonLabel: 'Speichern',
|
||||
CancelButtonLabel: 'Abbrechen',
|
||||
RemoveLinkLabel: 'Link entfernen',
|
||||
ParagraphSectionTitle: 'Absatz',
|
||||
HyperlinkSectionTitle: 'Hyperlink',
|
||||
UndoTitle: 'Rückgängig',
|
||||
RedoTitle: 'Wiederholen',
|
||||
ClearFormattingTitle: 'Löschen',
|
||||
FontStyleTitle: 'Schriftart',
|
||||
FontSizeTitle: 'Schriftgröße',
|
||||
StrikethroughTitle: 'durchgestrichen',
|
||||
SuperscriptTitle: 'hochgestellt',
|
||||
SubscriptTitle: 'tiefgestellt',
|
||||
FontColorLabel: 'Schriftfarbe',
|
||||
AutomaticFontColor: 'Automatisch',
|
||||
HighlightColorLabel: 'Texthervorhebungsfarbe',
|
||||
NoColorHighlightColor: 'Keine Farbe',
|
||||
IncreaseIndentTitle: 'Einzug vergrößern',
|
||||
DecreaseIndentTitle: 'Einzug verkleinern',
|
||||
ThemeColorsGroupName: 'Themenfarbe',
|
||||
HighlightColorsGroupName: 'Highlightfarben',
|
||||
StandardColorsGroupName: 'Standardfarben',
|
||||
ThemeColorDarker: 'Thema dunkler',
|
||||
ThemeColorDark: 'Thema dunkel',
|
||||
ThemeColorDarkAlt: 'Thema dunkler alternativ',
|
||||
ThemeColorPrimary: 'Primäre Themafarbe',
|
||||
ThemeColorSecondary: 'Sekundäre Themafarbe',
|
||||
ThemeColorTertiary: 'Tertiäre Themafarbe',
|
||||
ThemeColorNeutralSecondary: 'Sekundäre neutrale Themafarbe',
|
||||
ThemeColorNeutralPrimaryAlt: 'Primäre alternative neutrale Themafarbe',
|
||||
ThemeColorNeutralPrimary: 'Primäre neutrale Themafarbe',
|
||||
ThemeColorNeutralDark: 'Neutrale dunkle Themafarbe',
|
||||
HighlightColorYellow: 'Gelb',
|
||||
HighlightColorGreen: 'Grün',
|
||||
HighlightColorAqua: 'Aqua',
|
||||
HighlightColorMagenta: 'Magenta',
|
||||
HighlightColorBlue: 'Blau',
|
||||
HighlightColorRed: 'Rot',
|
||||
HighlightColorDarkblue: 'Dunkelblau',
|
||||
HighlightColorTeal: 'Blaugrün',
|
||||
HighlightColorDarkgreen: 'Dunkelgrün',
|
||||
HighlightColorPurple: 'Lila',
|
||||
HighlightColorMaroon: 'Braun',
|
||||
HighlightColorGold: 'Gold',
|
||||
HighlightColorDarkgrey: 'Dunkelgrau',
|
||||
HighlightColorGrey: 'Grau',
|
||||
HighlightColorBlack: 'Schwarz',
|
||||
StandardColorDarkred: 'Dunkelrot',
|
||||
StandardColorRed: 'Rot',
|
||||
StandardColorOrange: 'Orange',
|
||||
StandardColorYellow: 'Gelb',
|
||||
StandardColorLightgreen: 'Hellgrün',
|
||||
StandardColorGreen: 'Grün',
|
||||
StandardColorLightblue: 'Hellblau',
|
||||
StandardColorBlue: 'Blau',
|
||||
StandardColorDarkblue: 'Dunkelblau',
|
||||
StandardColorPurple: 'Lila'
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=de-de.js.map
|
@ -1,203 +0,0 @@
|
||||
define([], function () {
|
||||
return {
|
||||
'SiteBreadcrumbLabel': 'Website breadcrumb',
|
||||
'ListViewGroupEmptyLabel': 'Empty',
|
||||
'WebPartTitlePlaceholder': 'Web part title',
|
||||
'WebPartTitleLabel': 'Add a title',
|
||||
"DateTime": {
|
||||
"L_RelativeDateTime_AFewSecondsFuture": "In a few seconds",
|
||||
"L_RelativeDateTime_AFewSeconds": "A few seconds ago",
|
||||
"L_RelativeDateTime_AboutAMinuteFuture": "In about a minute",
|
||||
"L_RelativeDateTime_AboutAMinute": "About a minute ago",
|
||||
"L_RelativeDateTime_XMinutesFuture": "In {0} minute||In {0} minutes",
|
||||
"L_RelativeDateTime_XMinutes": "{0} minute ago||{0} minutes ago",
|
||||
"L_RelativeDateTime_XMinutesFutureIntervals": "1||2-",
|
||||
"L_RelativeDateTime_XMinutesIntervals": "1||2-",
|
||||
"L_RelativeDateTime_AboutAnHourFuture": "In about an hour",
|
||||
"L_RelativeDateTime_AboutAnHour": "About an hour ago",
|
||||
"L_RelativeDateTime_Tomorrow": "Tomorrow",
|
||||
"L_RelativeDateTime_Yesterday": "Yesterday",
|
||||
"L_RelativeDateTime_TomorrowAndTime": "Tomorrow at {0}",
|
||||
"L_RelativeDateTime_YesterdayAndTime": "Yesterday at {0}",
|
||||
"L_RelativeDateTime_XHoursFuture": "In {0} hour||In {0} hours",
|
||||
"L_RelativeDateTime_XHours": "{0} hour ago||{0} hours ago",
|
||||
"L_RelativeDateTime_XHoursFutureIntervals": "1||2-",
|
||||
"L_RelativeDateTime_XHoursIntervals": "1||2-",
|
||||
"L_RelativeDateTime_DayAndTime": "{0} at {1}",
|
||||
"L_RelativeDateTime_XDaysFuture": "{0} day from now||{0} days from now",
|
||||
"L_RelativeDateTime_XDays": "{0} day ago||{0} days ago",
|
||||
"L_RelativeDateTime_XDaysFutureIntervals": "1||2-",
|
||||
"L_RelativeDateTime_XDaysIntervals": "1||2-",
|
||||
"L_RelativeDateTime_Today": "Today"
|
||||
},
|
||||
"SendEmailTo": "Send an email to {0}",
|
||||
"StartChatWith": "Start a chat with {0}",
|
||||
"Contact": "Contact",
|
||||
"UpdateProfile": "Update your profile",
|
||||
"TaxonomyPickerNoTerms": "Term set does not contain any terms",
|
||||
"TaxonomyPickerExpandTitle": "Expand this Term Set",
|
||||
"TaxonomyPickerMenuTermSet": "Menu for Term Set",
|
||||
"TaxonomyPickerInLabel": "in",
|
||||
"TaxonomyPickerTermSetLabel": "Term Set",
|
||||
peoplePickerComponentTooltipMessage: "People Picker",
|
||||
peoplePickerComponentErrorMessage: "Required Field",
|
||||
peoplePickerSuggestionsHeaderText: 'Suggested People',
|
||||
peoplePickerLoadingText: 'Loading',
|
||||
PeoplePickerSearchText: 'Fetching users',
|
||||
PeoplePickerGroupNotFound: "Group could not be found.",
|
||||
genericNoResultsFoundText: 'No results found',
|
||||
ListItemPickerSelectValue: 'Select value',
|
||||
ListItemAttachmentsActionDeleteIconTitle: 'Delete',
|
||||
ListItemAttachmentsactionDeleteTitle: 'Delete',
|
||||
ListItemAttachmentsfileDeletedMsg: 'File {0} deleted',
|
||||
ListItemAttachmentsfileDeleteError: 'Error on delete file: {0}, reason {1}',
|
||||
ListItemAttachmentserrorLoadAttachments: 'Error on load list item attachment, reason: {0}',
|
||||
ListItemAttachmentsconfirmDelete: 'Are you sure you want send the attachment {0} to the site recycle bin?',
|
||||
ListItemAttachmentsdialogTitle: 'List Item Attachment',
|
||||
ListItemAttachmentsdialogOKbuttonLabel: 'OK',
|
||||
ListItemAttachmentsdialogCancelButtonLabel: 'Cancel',
|
||||
ListItemAttachmentsdialogOKbuttonLabelOnDelete: 'Delete',
|
||||
ListItemAttachmentsuploadAttachmentDialogTitle: 'Add Attachment',
|
||||
ListItemAttachmentsuploadAttachmentButtonLabel: 'Add Attachment',
|
||||
ListItemAttachmentsuploadAttachmentErrorMsg: 'The file {0} not attached, reason: {1}',
|
||||
ListItemAttachmentsCommandBarAddAttachmentLabel: 'Add Attachment',
|
||||
ListItemAttachmentsloadingMessage: 'Uploading file ...',
|
||||
ListItemAttachmentslPlaceHolderIconText: 'List Item Attachment',
|
||||
ListItemAttachmentslPlaceHolderDescription: 'Please Add Attachment',
|
||||
ListItemAttachmentslPlaceHolderButtonLabel: 'Add',
|
||||
mapsErrorMessage: 'There was an error while loading the map',
|
||||
mapsLoadingText: 'Loading',
|
||||
mapsSearchButtonText: 'Search',
|
||||
mapsTitlePrefix: 'Map of',
|
||||
ListViewFilterLabel: "Filter the list",
|
||||
HeaderNormalText: "Normal text",
|
||||
HeaderH2: "Heading 1",
|
||||
HeaderH3: "Heading 2",
|
||||
HeaderH4: "Heading 3",
|
||||
HeaderBlockQuote: "Pull quote",
|
||||
AlignLeft: "Align left",
|
||||
AlignCenter: "Center",
|
||||
AlignRight: "Align right",
|
||||
AlignJustify: "Justify",
|
||||
ListBullet: "Bulleted list",
|
||||
ListNumbered: "Numbered list",
|
||||
StyleTitle: "Style",
|
||||
BoldTitle: "Bold (Ctrl+B)",
|
||||
ItalicTitle: "Italic (Ctrl+I)",
|
||||
UnderlineTitle: "Underline (Ctrl+U)",
|
||||
AlignTitle: "Align",
|
||||
ListTitle: "List",
|
||||
LinkTitle: "Hyperlink",
|
||||
MoreTitle: "More",
|
||||
FormattingPaneTitle: "Text formatting",
|
||||
CloseButton: "Close",
|
||||
InsertLinkTitle: "Insert link",
|
||||
AddressFieldLabel: "Address",
|
||||
TextToDisplayLabel: "Text to display",
|
||||
SaveButtonLabel: "Save",
|
||||
CancelButtonLabel: "Cancel",
|
||||
RemoveLinkLabel: "Remove link",
|
||||
ParagraphSectionTitle: "Paragraph",
|
||||
HyperlinkSectionTitle: "Hyperlink",
|
||||
UndoTitle: "Undo (Ctrl+Z)",
|
||||
RedoTitle: "Redo (Ctrl+Y)",
|
||||
ClearFormattingTitle: "Clear all formatting",
|
||||
FontStyleTitle: "Font style",
|
||||
FontSizeTitle: "Font size",
|
||||
StrikethroughTitle: "Strikethrough",
|
||||
SuperscriptTitle: "Superscript",
|
||||
SubscriptTitle: "Subscript",
|
||||
FontColorLabel: "Font Color",
|
||||
AutomaticFontColor: "Automatic",
|
||||
HighlightColorLabel: "Highlight color",
|
||||
NoColorHighlightColor: "No color",
|
||||
IncreaseIndentTitle: "Increase indent",
|
||||
DecreaseIndentTitle: "Decrease indent",
|
||||
ThemeColorsGroupName: "Theme colors",
|
||||
HighlightColorsGroupName: "Highlight colors",
|
||||
StandardColorsGroupName: "Standard colors",
|
||||
ThemeColorDarker: "Theme darker",
|
||||
ThemeColorDark: "Theme dark",
|
||||
ThemeColorDarkAlt: "Theme dark alternate",
|
||||
ThemeColorPrimary: "Theme primary",
|
||||
ThemeColorSecondary: "Theme secondary",
|
||||
ThemeColorTertiary: "Neutral tertiary",
|
||||
ThemeColorNeutralSecondary: "Neutral secondary",
|
||||
ThemeColorNeutralPrimaryAlt: "Neutral primary alternate",
|
||||
ThemeColorNeutralPrimary: "Neutral primary",
|
||||
ThemeColorNeutralDark: "Neutral dark",
|
||||
HighlightColorYellow: "Yellow",
|
||||
HighlightColorGreen: "Green",
|
||||
HighlightColorAqua: "Aqua",
|
||||
HighlightColorMagenta: "Magenta",
|
||||
HighlightColorBlue: "Blue",
|
||||
HighlightColorRed: "Red",
|
||||
HighlightColorDarkblue: "Dark blue",
|
||||
HighlightColorTeal: "Teal",
|
||||
HighlightColorDarkgreen: "Dark green",
|
||||
HighlightColorPurple: "Purple",
|
||||
HighlightColorMaroon: "Maroon",
|
||||
HighlightColorGold: "Gold",
|
||||
HighlightColorDarkgrey: "Dark grey",
|
||||
HighlightColorGrey: "Grey",
|
||||
HighlightColorBlack: "Black",
|
||||
StandardColorDarkred: "Dark red",
|
||||
StandardColorRed: "Red",
|
||||
StandardColorOrange: "Orange",
|
||||
StandardColorYellow: "Yellow",
|
||||
StandardColorLightgreen: "Light green",
|
||||
StandardColorGreen: "Green",
|
||||
StandardColorLightblue: "Light blue",
|
||||
StandardColorBlue: "Blue",
|
||||
StandardColorDarkblue: "Dark blue",
|
||||
StandardColorPurple: "Purple",
|
||||
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: "Wed",
|
||||
DatePickerDayLongThursday: "Thursday",
|
||||
DatePickerDayShortThursday: "Thu",
|
||||
DatePickerDayLongFriday: "Friday",
|
||||
DatePickerDayShortFriday: "Fri",
|
||||
DatePickerDayLongSaturday: "Saturday",
|
||||
DatePickerDayShortSaturday: "Sat",
|
||||
DatePickerGoToToday: "Today",
|
||||
DatePickerIsRequiredErrorMessage: "",
|
||||
DatePickerInvalidInputErrorMessage: "",
|
||||
DatePickerIsOutOfBoundsErrorMessage: "",
|
||||
DateTimePickerDate: "Date",
|
||||
DateTimePickerTime: "Time",
|
||||
DateTimePickerTimeSeparator: ":",
|
||||
DateTimePickerHourValueInvalid: "Incorrect hour value"
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=en-us.js.map
|
@ -1,208 +0,0 @@
|
||||
define([], function () {
|
||||
return {
|
||||
PeoplePickerGroupNotFound: "Groupe introuvable.",
|
||||
ListViewFilterLabel: "Filtrer",
|
||||
PeoplePickerSearchText: "Recherche d'utilisateurs",
|
||||
peoplePickerComponentTooltipMessage: "Sélecteur de personnes",
|
||||
peoplePickerComponentErrorMessage: "Champ obligatoire",
|
||||
peoplePickerSuggestionsHeaderText: "Personnes suggérées",
|
||||
genericNoResultsFoundText: "Aucun résultat trouvé",
|
||||
peoplePickerLoadingText: "Chargement",
|
||||
SiteBreadcrumbLabel: "Fil d'Ariane",
|
||||
ListViewGroupEmptyLabel: "Vide",
|
||||
WebPartTitlePlaceholder: "Titre du composant WebPart",
|
||||
WebPartTitleLabel: "Ajouter un titre",
|
||||
// DateTime: IDateTimeStrings;
|
||||
SendEmailTo: "Envoyer un email à {0}",
|
||||
StartChatWith: "Démarrer une discussion avec {0}",
|
||||
Contact: "Contact",
|
||||
UpdateProfile: "Mettre à jour votre profil",
|
||||
// Taxonomy picker
|
||||
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",
|
||||
ListItemPickerSelectValue: "Sélectionnez une valeur",
|
||||
ListItemAttachmentsActionDeleteIconTitle: "Supprimer",
|
||||
ListItemAttachmentsactionDeleteTitle: "Supprimer",
|
||||
ListItemAttachmentsfileDeletedMsg: "Fichier {0} supprimé",
|
||||
ListItemAttachmentsfileDeleteError: "Erreur lors de la suppression du fichier : {0}, cause : {1}",
|
||||
ListItemAttachmentserrorLoadAttachments: "Erreur lors du chargement de la pièce jointe, cause : {0}",
|
||||
ListItemAttachmentsconfirmDelete: "Voulez-vous vraiment envoyer la pièce jointe {0} à la Corbeille du site ?",
|
||||
ListItemAttachmentsdialogTitle: "Pièce jointe",
|
||||
ListItemAttachmentsdialogOKbuttonLabel: "OK",
|
||||
ListItemAttachmentsdialogCancelButtonLabel: "Annuler",
|
||||
ListItemAttachmentsdialogOKbuttonLabelOnDelete: "Supprimer",
|
||||
ListItemAttachmentsuploadAttachmentDialogTitle: "Ajouter une pièce jointe",
|
||||
ListItemAttachmentsuploadAttachmentButtonLabel: "Ajouter une pièce jointe",
|
||||
ListItemAttachmentsuploadAttachmentErrorMsg: "Le fichier {0} n'a pas pu être ajouté en tant que pièce jointe, cause : {1}",
|
||||
ListItemAttachmentsCommandBarAddAttachmentLabel: "Ajouter une pièce jointe",
|
||||
ListItemAttachmentsloadingMessage: "Téléchargement du fichier...",
|
||||
ListItemAttachmentslPlaceHolderIconText: "Pièce jointe",
|
||||
ListItemAttachmentslPlaceHolderDescription: "Ajouter des pièces jointes",
|
||||
ListItemAttachmentslPlaceHolderButtonLabel: "Ajouter",
|
||||
//Maps
|
||||
mapsErrorMessage: "Une erreur s'est produite lors du chargement de la carte",
|
||||
mapsLoadingText: "Chargement",
|
||||
mapsSearchButtonText: "Rechercher",
|
||||
mapsTitlePrefix: "Carte de",
|
||||
// RichText
|
||||
HeaderNormalText: "Texte normal",
|
||||
HeaderH2: "Titre 1",
|
||||
HeaderH3: "Titre 2",
|
||||
HeaderH4: "Titre 3",
|
||||
HeaderBlockQuote: "Citation",
|
||||
AlignLeft: "Aligner à gauche",
|
||||
AlignCenter: "Centrer",
|
||||
AlignRight: "Aligner à droite",
|
||||
AlignJustify: "Justifier",
|
||||
ListBullet: "Liste à puces",
|
||||
ListNumbered: "Liste numérotée",
|
||||
StyleTitle: "Style",
|
||||
BoldTitle: "Gras (Ctrl+B)",
|
||||
ItalicTitle: "Italique (Ctrl+I)",
|
||||
UnderlineTitle: "Souligné (Ctrl+U)",
|
||||
AlignTitle: "Alignement",
|
||||
ListTitle: "Liste",
|
||||
LinkTitle: "Lien hypertexte",
|
||||
MoreTitle: "Plus",
|
||||
FormattingPaneTitle: "Mise en forme du texte",
|
||||
CloseButton: "Fermer",
|
||||
InsertLinkTitle: "Insertion de lien",
|
||||
AddressFieldLabel: "Adresse",
|
||||
TextToDisplayLabel: "Texte à afficher",
|
||||
SaveButtonLabel: "Enregistrer",
|
||||
CancelButtonLabel: "Annuler",
|
||||
RemoveLinkLabel: "Supprimer le lien",
|
||||
ParagraphSectionTitle: "Paragraphe",
|
||||
HyperlinkSectionTitle: "Lien hypertexte",
|
||||
UndoTitle: "Annuler (Ctrl+Z)",
|
||||
RedoTitle: "Rétablir (Ctrl+Y)",
|
||||
ClearFormattingTitle: "Effacer toute la mise en forme",
|
||||
FontStyleTitle: "Style de police",
|
||||
FontSizeTitle: "Taille de police",
|
||||
StrikethroughTitle: "Barré",
|
||||
SuperscriptTitle: "Exposant",
|
||||
SubscriptTitle: "Indice",
|
||||
FontColorLabel: "Couleur de police",
|
||||
AutomaticFontColor: "Automatique",
|
||||
HighlightColorLabel: "Couleur de surlignage",
|
||||
NoColorHighlightColor: "Aucune couleur",
|
||||
IncreaseIndentTitle: "Augmenter le retrait",
|
||||
DecreaseIndentTitle: "Diminuer le retrait",
|
||||
ThemeColorsGroupName: "Couleurs du thème",
|
||||
HighlightColorsGroupName: "Couleurs de surlignage",
|
||||
StandardColorsGroupName: "Couleurs standards",
|
||||
ThemeColorDarker: "Thème plus foncé",
|
||||
ThemeColorDark: "Thème foncé",
|
||||
ThemeColorDarkAlt: "Couleur alternative du thème foncé",
|
||||
ThemeColorPrimary: "Première couleur du thème",
|
||||
ThemeColorSecondary: "Deuxième couleur du thème",
|
||||
ThemeColorTertiary: "Troisième couleur du thème",
|
||||
ThemeColorNeutralSecondary: "Couleur neutre secondaire",
|
||||
ThemeColorNeutralPrimaryAlt: "Alternative à la couleur neutre principale",
|
||||
ThemeColorNeutralPrimary: "Couleur neutre principale",
|
||||
ThemeColorNeutralDark: "Couleur neutre foncé",
|
||||
HighlightColorYellow: "Jaune",
|
||||
HighlightColorGreen: "Vert",
|
||||
HighlightColorAqua: "Cyan",
|
||||
HighlightColorMagenta: "Magenta",
|
||||
HighlightColorBlue: "Bleu",
|
||||
HighlightColorRed: "Rouge",
|
||||
HighlightColorDarkblue: "Bleu foncé",
|
||||
HighlightColorTeal: "Bleu-vert",
|
||||
HighlightColorDarkgreen: "Vert foncé",
|
||||
HighlightColorPurple: "Violet",
|
||||
HighlightColorMaroon: "Marron",
|
||||
HighlightColorGold: "Or",
|
||||
HighlightColorDarkgrey: "Gris foncé",
|
||||
HighlightColorGrey: "Gris",
|
||||
HighlightColorBlack: "Noir",
|
||||
StandardColorDarkred: "Rouge foncé",
|
||||
StandardColorRed: "Rouge",
|
||||
StandardColorOrange: "Orange",
|
||||
StandardColorYellow: "Jaune",
|
||||
StandardColorLightgreen: "Vert clair",
|
||||
StandardColorGreen: "Vert",
|
||||
StandardColorLightblue: "Bleu clait",
|
||||
StandardColorBlue: "Bleu",
|
||||
StandardColorDarkblue: "Bleu foncé",
|
||||
StandardColorPurple: "Violet",
|
||||
// DateTime picker
|
||||
DatePickerMonthLongJanuary: "Janvier",
|
||||
DatePickerMonthShortJanuary: "Janv.",
|
||||
DatePickerMonthLongFebruary: "Février",
|
||||
DatePickerMonthShortFebruary: "Févr.",
|
||||
DatePickerMonthLongMarch: "Mars",
|
||||
DatePickerMonthShortMarch: "Mars",
|
||||
DatePickerMonthLongApril: "Avril",
|
||||
DatePickerMonthShortApril: "Avr.",
|
||||
DatePickerMonthLongMay: "Mai",
|
||||
DatePickerMonthShortMay: "Mai",
|
||||
DatePickerMonthLongJune: "Juin",
|
||||
DatePickerMonthShortJune: "Juin",
|
||||
DatePickerMonthLongJuly: "Juillet",
|
||||
DatePickerMonthShortJuly: "Juill.",
|
||||
DatePickerMonthLongAugust: "Août",
|
||||
DatePickerMonthShortAugust: "Août",
|
||||
DatePickerMonthLongSeptember: "Septembre",
|
||||
DatePickerMonthShortSeptember: "Sept.",
|
||||
DatePickerMonthLongOctober: "Octobre",
|
||||
DatePickerMonthShortOctober: "Oct.",
|
||||
DatePickerMonthLongNovember: "Novembre",
|
||||
DatePickerMonthShortNovember: "Nov.",
|
||||
DatePickerMonthLongDecember: "Décembre",
|
||||
DatePickerMonthShortDecember: "Déc.",
|
||||
DatePickerDayLongSunday: "Dimanche",
|
||||
DatePickerDayShortSunday: "Dim",
|
||||
DatePickerDayLongMonday: "Lundi",
|
||||
DatePickerDayShortMonday: "Lun",
|
||||
DatePickerDayLongTuesday: "Mardi",
|
||||
DatePickerDayShortTuesday: "Mar",
|
||||
DatePickerDayLongWednesday: "Mercredi",
|
||||
DatePickerDayShortWednesday: "Mer",
|
||||
DatePickerDayLongThursday: "Jeudi",
|
||||
DatePickerDayShortThursday: "Jeu",
|
||||
DatePickerDayLongFriday: "Vendredi",
|
||||
DatePickerDayShortFriday: "Ven",
|
||||
DatePickerDayLongSaturday: "Samedi",
|
||||
DatePickerDayShortSaturday: "Sam",
|
||||
DatePickerGoToToday: "Aujourd'hui",
|
||||
DatePickerIsRequiredErrorMessage: "",
|
||||
DatePickerInvalidInputErrorMessage: "",
|
||||
DatePickerIsOutOfBoundsErrorMessage: "",
|
||||
DateTimePickerDate: "Date",
|
||||
DateTimePickerTime: "Heure",
|
||||
DateTimePickerTimeSeparator: ":",
|
||||
DateTimePickerHourValueInvalid: "Valeur incorrecte pour l'heure",
|
||||
DateTime: {
|
||||
L_RelativeDateTime_AFewSecondsFuture: "Dans quelques secondes",
|
||||
L_RelativeDateTime_AFewSeconds: "Il y a 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 environ 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} jour à 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"
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=fr-fr.js.map
|
@ -1,208 +0,0 @@
|
||||
define([], function () {
|
||||
return {
|
||||
PeoplePickerGroupNotFound: "Grupės nepavyko rasti.",
|
||||
ListViewFilterLabel: "Filtruoti",
|
||||
PeoplePickerSearchText: "Ieškoma naudotojų",
|
||||
peoplePickerComponentTooltipMessage: "Pasirinkite naudotojus",
|
||||
peoplePickerComponentErrorMessage: "Privalomas laukas",
|
||||
peoplePickerSuggestionsHeaderText: "Pasiūlymai",
|
||||
genericNoResultsFoundText: "Rezultatų nėra",
|
||||
peoplePickerLoadingText: "Įkeliama",
|
||||
SiteBreadcrumbLabel: "Svetainės navigacijos grandinė",
|
||||
ListViewGroupEmptyLabel: "Nenurodyta",
|
||||
WebPartTitlePlaceholder: "Puslapio dalies antraštė",
|
||||
WebPartTitleLabel: "Pridėti antraštę",
|
||||
// DateTime: IDateTimeStrings;
|
||||
SendEmailTo: "Siųsti el. laišką {0}",
|
||||
StartChatWith: "Pradėti pokalbį su {0}",
|
||||
Contact: "Kontaktas",
|
||||
UpdateProfile: "Atnaujinti profilį",
|
||||
// Taxonomy picker
|
||||
TaxonomyPickerNoTerms: "Terminų rinkinys tuščias",
|
||||
TaxonomyPickerExpandTitle: "Išskleisti terminų rinkinį",
|
||||
TaxonomyPickerMenuTermSet: "Terminų rinkinio meniu",
|
||||
TaxonomyPickerInLabel: "",
|
||||
TaxonomyPickerTermSetLabel: "Terminų rinkinys",
|
||||
ListItemPickerSelectValue: "Pasirinkite reikšmę",
|
||||
ListItemAttachmentsActionDeleteIconTitle: "Naikinti",
|
||||
ListItemAttachmentsactionDeleteTitle: "Naikinti",
|
||||
ListItemAttachmentsfileDeletedMsg: "Failas „{0}“ panaikintas",
|
||||
ListItemAttachmentsfileDeleteError: "Klaida naikinant failą „{0}“: {1}",
|
||||
ListItemAttachmentserrorLoadAttachments: "Nepavyko įkelti elemento priedų infomacijos: {0}",
|
||||
ListItemAttachmentsconfirmDelete: "Ar tikrai norite priedą „{0}“ siųsti į svetainės šiukšlinę?",
|
||||
ListItemAttachmentsdialogTitle: "Elemento priedai",
|
||||
ListItemAttachmentsdialogOKbuttonLabel: "Gerai",
|
||||
ListItemAttachmentsdialogCancelButtonLabel: "Atšaukti",
|
||||
ListItemAttachmentsdialogOKbuttonLabelOnDelete: "Naikinti",
|
||||
ListItemAttachmentsuploadAttachmentDialogTitle: "Įkelti priedą",
|
||||
ListItemAttachmentsuploadAttachmentButtonLabel: "Įkelti priedą",
|
||||
ListItemAttachmentsuploadAttachmentErrorMsg: "Failo „{0}“ įkelti nepavyko: {1}",
|
||||
ListItemAttachmentsCommandBarAddAttachmentLabel: "Įkelti priedą",
|
||||
ListItemAttachmentsloadingMessage: "Failas siunčiamas...",
|
||||
ListItemAttachmentslPlaceHolderIconText: "Elemento priedai",
|
||||
ListItemAttachmentslPlaceHolderDescription: "Įkelkite elemento priedų",
|
||||
ListItemAttachmentslPlaceHolderButtonLabel: "Pridėti",
|
||||
//Maps
|
||||
mapsErrorMessage: "Įkeliant žemėlapį įvyko klaida",
|
||||
mapsLoadingText: "Įkeliama",
|
||||
mapsSearchButtonText: "Paieška",
|
||||
mapsTitlePrefix: "Žemėlapis",
|
||||
// RichText
|
||||
HeaderNormalText: "Paprastas tekstas",
|
||||
HeaderH2: "1 antraštė",
|
||||
HeaderH3: "2 antraštė",
|
||||
HeaderH4: "3 antraštė",
|
||||
HeaderBlockQuote: "Dėmesį atkreipianti citata",
|
||||
AlignLeft: "Lygiuoti kairėje",
|
||||
AlignCenter: "Centre",
|
||||
AlignRight: "Lygiuoti dešinėje",
|
||||
AlignJustify: "Abipusė lygiuotė",
|
||||
ListBullet: "Sąrašas su ženkleliais",
|
||||
ListNumbered: "Numeruotas sąrašas",
|
||||
StyleTitle: "Stilius",
|
||||
BoldTitle: "Paryškintasis (Ctrl+B)",
|
||||
ItalicTitle: "Pasvirasis (Ctrl+I)",
|
||||
UnderlineTitle: "Pabrauktasis (Ctrl+U)",
|
||||
AlignTitle: "Lygiuotė",
|
||||
ListTitle: "Sąrašas",
|
||||
LinkTitle: "Hipersaitas",
|
||||
MoreTitle: "Daugiau",
|
||||
FormattingPaneTitle: "Teksto formatavimas",
|
||||
CloseButton: "Uždaryti",
|
||||
InsertLinkTitle: "Įterpti saitą",
|
||||
AddressFieldLabel: "Adresas",
|
||||
TextToDisplayLabel: "Rodytinas tekstas",
|
||||
SaveButtonLabel: "Įrašyti",
|
||||
CancelButtonLabel: "Atšaukti",
|
||||
RemoveLinkLabel: "Šalinti saitą",
|
||||
ParagraphSectionTitle: "Pastraipa",
|
||||
HyperlinkSectionTitle: "Hipersaitas",
|
||||
UndoTitle: "Anuliuoti (Ctrl+Z)",
|
||||
RedoTitle: "Perdaryti (Ctrl+Y)",
|
||||
ClearFormattingTitle: "Valyti visą formatavimą",
|
||||
FontStyleTitle: "Šrifto stilius",
|
||||
FontSizeTitle: "Šrifto dydis",
|
||||
StrikethroughTitle: "Perbraukimas",
|
||||
SuperscriptTitle: "Viršutinis indeksas",
|
||||
SubscriptTitle: "Apatinis indeksas",
|
||||
FontColorLabel: "Šrifto spalva",
|
||||
AutomaticFontColor: "Automatinė",
|
||||
HighlightColorLabel: "Pažymėjimo spalva",
|
||||
NoColorHighlightColor: "Be spalvų",
|
||||
IncreaseIndentTitle: "Didinti įtrauką",
|
||||
DecreaseIndentTitle: "Mažinti įtrauką",
|
||||
ThemeColorsGroupName: "Temos spalvos",
|
||||
HighlightColorsGroupName: "Paryškinimo spalvos",
|
||||
StandardColorsGroupName: "Standartinės spalvos",
|
||||
ThemeColorDarker: "Tamsesnė tema",
|
||||
ThemeColorDark: "Tamsi tema",
|
||||
ThemeColorDarkAlt: "Alternatyvi tamsi tema",
|
||||
ThemeColorPrimary: "Pirminė tema",
|
||||
ThemeColorSecondary: "Antrinė tema",
|
||||
ThemeColorTertiary: "Tretinė tema",
|
||||
ThemeColorNeutralSecondary: "Neutrali antrinė",
|
||||
ThemeColorNeutralPrimaryAlt: "Alternatyvi neutrali pirminė",
|
||||
ThemeColorNeutralPrimary: "Neutrali pirminė",
|
||||
ThemeColorNeutralDark: "Neutrali tamsi",
|
||||
HighlightColorYellow: "Geltona",
|
||||
HighlightColorGreen: "Žalia",
|
||||
HighlightColorAqua: "Melsvai žalsva",
|
||||
HighlightColorMagenta: "Purpurinė",
|
||||
HighlightColorBlue: "Mėlyna",
|
||||
HighlightColorRed: "Raudona",
|
||||
HighlightColorDarkblue: "Tamsiai mėlyna",
|
||||
HighlightColorTeal: "Žalsvai mėlyna",
|
||||
HighlightColorDarkgreen: "Tamsiai žalia",
|
||||
HighlightColorPurple: "Violetinė",
|
||||
HighlightColorMaroon: "Kaštoninė",
|
||||
HighlightColorGold: "Auksas",
|
||||
HighlightColorDarkgrey: "Tamsiai pilka",
|
||||
HighlightColorGrey: "Pilka",
|
||||
HighlightColorBlack: "Juoda",
|
||||
StandardColorDarkred: "Tamsiai raudona",
|
||||
StandardColorRed: "Raudona",
|
||||
StandardColorOrange: "Oranžinė",
|
||||
StandardColorYellow: "Geltona",
|
||||
StandardColorLightgreen: "Šviesiai žalia",
|
||||
StandardColorGreen: "Žalia",
|
||||
StandardColorLightblue: "Šviesiai mėlyna",
|
||||
StandardColorBlue: "Mėlyna",
|
||||
StandardColorDarkblue: "Tamsiai mėlyna",
|
||||
StandardColorPurple: "Violetinė",
|
||||
// DateTime picker
|
||||
DatePickerMonthLongJanuary: "sausis",
|
||||
DatePickerMonthShortJanuary: "saus.",
|
||||
DatePickerMonthLongFebruary: "vasaris",
|
||||
DatePickerMonthShortFebruary: "vas.",
|
||||
DatePickerMonthLongMarch: "kovas",
|
||||
DatePickerMonthShortMarch: "kov.",
|
||||
DatePickerMonthLongApril: "balandis",
|
||||
DatePickerMonthShortApril: "bal.",
|
||||
DatePickerMonthLongMay: "gegužė",
|
||||
DatePickerMonthShortMay: "geg.",
|
||||
DatePickerMonthLongJune: "birželis",
|
||||
DatePickerMonthShortJune: "birž.",
|
||||
DatePickerMonthLongJuly: "liepa",
|
||||
DatePickerMonthShortJuly: "liep.",
|
||||
DatePickerMonthLongAugust: "rugpjūtis",
|
||||
DatePickerMonthShortAugust: "rugp.",
|
||||
DatePickerMonthLongSeptember: "rugsėjis",
|
||||
DatePickerMonthShortSeptember: "rugs.",
|
||||
DatePickerMonthLongOctober: "spalis",
|
||||
DatePickerMonthShortOctober: "spal.",
|
||||
DatePickerMonthLongNovember: "lapkritis",
|
||||
DatePickerMonthShortNovember: "lapkr.",
|
||||
DatePickerMonthLongDecember: "gruodis",
|
||||
DatePickerMonthShortDecember: "gruod.",
|
||||
DatePickerDayLongSunday: "sekmadienis",
|
||||
DatePickerDayShortSunday: "sk",
|
||||
DatePickerDayLongMonday: "pirmadienis",
|
||||
DatePickerDayShortMonday: "pr",
|
||||
DatePickerDayLongTuesday: "antradienis",
|
||||
DatePickerDayShortTuesday: "an",
|
||||
DatePickerDayLongWednesday: "trečiadienis",
|
||||
DatePickerDayShortWednesday: "tr",
|
||||
DatePickerDayLongThursday: "ketvirtadienis",
|
||||
DatePickerDayShortThursday: "kt",
|
||||
DatePickerDayLongFriday: "penktadienis",
|
||||
DatePickerDayShortFriday: "pn",
|
||||
DatePickerDayLongSaturday: "šeštadienis",
|
||||
DatePickerDayShortSaturday: "št",
|
||||
DatePickerGoToToday: "šiandien",
|
||||
DatePickerIsRequiredErrorMessage: "",
|
||||
DatePickerInvalidInputErrorMessage: "",
|
||||
DatePickerIsOutOfBoundsErrorMessage: "",
|
||||
DateTimePickerDate: "Data",
|
||||
DateTimePickerTime: "Laikas",
|
||||
DateTimePickerTimeSeparator: ":",
|
||||
DateTimePickerHourValueInvalid: "Netinkama laiko reikšmė",
|
||||
DateTime: {
|
||||
L_RelativeDateTime_AFewSecondsFuture: "po kelių sekundžių",
|
||||
L_RelativeDateTime_AFewSeconds: "prieš kelias sekundes",
|
||||
L_RelativeDateTime_AboutAMinuteFuture: "maždaug po minutės",
|
||||
L_RelativeDateTime_AboutAMinute: "beveik prieš minutę",
|
||||
L_RelativeDateTime_XMinutesFuture: "po {0} min.",
|
||||
L_RelativeDateTime_XMinutes: "prieš {0} min.",
|
||||
L_RelativeDateTime_XMinutesFutureIntervals: "0-",
|
||||
L_RelativeDateTime_XMinutesIntervals: "0-",
|
||||
L_RelativeDateTime_AboutAnHourFuture: "maždaug po valandos",
|
||||
L_RelativeDateTime_AboutAnHour: "beveik prieš valandą",
|
||||
L_RelativeDateTime_Tomorrow: "rytoj",
|
||||
L_RelativeDateTime_Yesterday: "vakar",
|
||||
L_RelativeDateTime_TomorrowAndTime: "rytoj, {0}",
|
||||
L_RelativeDateTime_YesterdayAndTime: "vakar, {0}",
|
||||
L_RelativeDateTime_XHoursFuture: "po {0} val.",
|
||||
L_RelativeDateTime_XHours: "prieš {0} val.",
|
||||
L_RelativeDateTime_XHoursFutureIntervals: "0-",
|
||||
L_RelativeDateTime_XHoursIntervals: "0-",
|
||||
L_RelativeDateTime_DayAndTime: "{0}, {1}",
|
||||
L_RelativeDateTime_XDaysFuture: "po {0} d.",
|
||||
L_RelativeDateTime_XDays: "prieš {0} d.",
|
||||
L_RelativeDateTime_XDaysFutureIntervals: "0-",
|
||||
L_RelativeDateTime_XDaysIntervals: "0-",
|
||||
L_RelativeDateTime_Today: "šiandien"
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=lt-lt.js.map
|
@ -1,122 +0,0 @@
|
||||
define([], function () {
|
||||
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",
|
||||
peoplePickerSuggestionsHeaderText: 'Voorgestelde personen',
|
||||
peoplePickerLoadingText: 'Laden',
|
||||
PeoplePickerSearchText: 'Personen worden opgehaald',
|
||||
PeoplePickerGroupNotFound: "Groep niet gevonden.",
|
||||
ListItemPickerSelectValue: 'Selecteer veld',
|
||||
ListItemAttachmentsActionDeleteIconTitle: 'Verwijderen',
|
||||
ListItemAttachmentsactionDeleteTitle: 'Verwijderen',
|
||||
ListItemAttachmentsfileDeletedMsg: 'Bestand {0} verwijderd',
|
||||
ListItemAttachmentsfileDeleteError: 'Probleem bij het verwijderen van het bestand: {0}, rede {1}',
|
||||
ListItemAttachmentserrorLoadAttachments: 'Probleem bij het laden van de bijlage, rede: {0}',
|
||||
ListItemAttachmentsconfirmDelete: 'Ben je zeker dat je het bestand {0} wilt verwijderen?',
|
||||
ListItemAttachmentsdialogTitle: 'Bijlage van lijstitem',
|
||||
ListItemAttachmentsdialogOKbuttonLabel: 'OK',
|
||||
ListItemAttachmentsdialogCancelButtonLabel: 'Annuleren',
|
||||
ListItemAttachmentsdialogOKbuttonLabelOnDelete: 'Verwijderen',
|
||||
ListItemAttachmentsuploadAttachmentDialogTitle: 'Bijlage toevoegen',
|
||||
ListItemAttachmentsuploadAttachmentButtonLabel: 'Bijlage toevoegen',
|
||||
ListItemAttachmentsuploadAttachmentErrorMsg: 'Het bestand {0} kon niet toegevoegd worden, rede: {1}',
|
||||
ListItemAttachmentsCommandBarAddAttachmentLabel: 'Bijlage toevoegen',
|
||||
ListItemAttachmentsloadingMessage: 'Bestand opladen ...',
|
||||
ListItemAttachmentslPlaceHolderIconText: 'Bijlage van lijstitem',
|
||||
ListItemAttachmentslPlaceHolderDescription: 'Voeg een bijlage toe',
|
||||
ListItemAttachmentslPlaceHolderButtonLabel: 'Toevoegen',
|
||||
mapsErrorMessage: 'Er is een fout opgetreden bij het laden van de kaart',
|
||||
mapsLoadingText: 'Laden',
|
||||
mapsSearchButtonText: 'Zoeken',
|
||||
mapsTitlePrefix: 'Kaart van',
|
||||
genericNoResultsFoundText: 'Geen resultaten gevonden',
|
||||
ListViewFilterLabel: "Filter de lijst",
|
||||
DatePickerMonthLongJanuary: "Januari",
|
||||
DatePickerMonthShortJanuary: "Jan",
|
||||
DatePickerMonthLongFebruary: "Februari",
|
||||
DatePickerMonthShortFebruary: "Feb",
|
||||
DatePickerMonthLongMarch: "Maart",
|
||||
DatePickerMonthShortMarch: "Maa",
|
||||
DatePickerMonthLongApril: "April",
|
||||
DatePickerMonthShortApril: "Apr",
|
||||
DatePickerMonthLongMay: "Mei",
|
||||
DatePickerMonthShortMay: "Mei",
|
||||
DatePickerMonthLongJune: "Juni",
|
||||
DatePickerMonthShortJune: "Jun",
|
||||
DatePickerMonthLongJuly: "Juli",
|
||||
DatePickerMonthShortJuly: "Jul",
|
||||
DatePickerMonthLongAugust: "Augustus",
|
||||
DatePickerMonthShortAugust: "Aug",
|
||||
DatePickerMonthLongSeptember: "September",
|
||||
DatePickerMonthShortSeptember: "Sept",
|
||||
DatePickerMonthLongOctober: "Oktober",
|
||||
DatePickerMonthShortOctober: "Okt",
|
||||
DatePickerMonthLongNovember: "November",
|
||||
DatePickerMonthShortNovember: "Nov",
|
||||
DatePickerMonthLongDecember: "December",
|
||||
DatePickerMonthShortDecember: "Dec",
|
||||
DatePickerDayLongSunday: "Zondag",
|
||||
DatePickerDayShortSunday: "Zon",
|
||||
DatePickerDayLongMonday: "Maandag",
|
||||
DatePickerDayShortMonday: "Maa",
|
||||
DatePickerDayLongTuesday: "Dinsdag",
|
||||
DatePickerDayShortTuesday: "Din",
|
||||
DatePickerDayLongWednesday: "Woensdag",
|
||||
DatePickerDayShortWednesday: "Woe",
|
||||
DatePickerDayLongThursday: "Donderdag",
|
||||
DatePickerDayShortThursday: "Don",
|
||||
DatePickerDayLongFriday: "Vrijdag",
|
||||
DatePickerDayShortFriday: "Vri",
|
||||
DatePickerDayLongSaturday: "Zaterdag",
|
||||
DatePickerDayShortSaturday: "Zat",
|
||||
DatePickerGoToToday: "Vandaag",
|
||||
DatePickerIsRequiredErrorMessage: "",
|
||||
DatePickerInvalidInputErrorMessage: "",
|
||||
DatePickerIsOutOfBoundsErrorMessage: "",
|
||||
DateTimePickerDate: "Dag",
|
||||
DateTimePickerTime: "Tijd",
|
||||
DateTimePickerTimeSeparator: ":",
|
||||
DateTimePickerHourValueInvalid: "Foute uur waarde"
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=nl-nl.js.map
|
@ -1,122 +0,0 @@
|
||||
define([], function () {
|
||||
return {
|
||||
'SiteBreadcrumbLabel': 'Цепочка навигации сайта',
|
||||
'ListViewGroupEmptyLabel': 'Не назначено',
|
||||
'WebPartTitlePlaceholder': 'Заголовок веб-части',
|
||||
'WebPartTitleLabel': 'Добавить заголовок',
|
||||
"DateTime": {
|
||||
"L_RelativeDateTime_AFewSecondsFuture": "Через несколько секунд",
|
||||
"L_RelativeDateTime_AFewSeconds": "Несколько секунд назад",
|
||||
"L_RelativeDateTime_AboutAMinuteFuture": "Примерно через минуту",
|
||||
"L_RelativeDateTime_AboutAMinute": "Примерно минуту назад",
|
||||
"L_RelativeDateTime_XMinutesFuture": "Через {0} мин",
|
||||
"L_RelativeDateTime_XMinutes": "{0} мин назад",
|
||||
"L_RelativeDateTime_XMinutesFutureIntervals": "1-",
|
||||
"L_RelativeDateTime_XMinutesIntervals": "1-",
|
||||
"L_RelativeDateTime_AboutAnHourFuture": "Примерно через час",
|
||||
"L_RelativeDateTime_AboutAnHour": "Примерно час назад",
|
||||
"L_RelativeDateTime_Tomorrow": "Завтра",
|
||||
"L_RelativeDateTime_Yesterday": "Вчера",
|
||||
"L_RelativeDateTime_TomorrowAndTime": "Завтра в {0}",
|
||||
"L_RelativeDateTime_YesterdayAndTime": "Вчера в {0}",
|
||||
"L_RelativeDateTime_XHoursFuture": "Через {0} ч",
|
||||
"L_RelativeDateTime_XHours": "{0} ч назад",
|
||||
"L_RelativeDateTime_XHoursFutureIntervals": "1-",
|
||||
"L_RelativeDateTime_XHoursIntervals": "1-",
|
||||
"L_RelativeDateTime_DayAndTime": "{0}, в {1}",
|
||||
"L_RelativeDateTime_XDaysFuture": "Через {0} день||Через {0} дн.",
|
||||
"L_RelativeDateTime_XDays": "{0} день назад||Дней назад: {0}",
|
||||
"L_RelativeDateTime_XDaysFutureIntervals": "1||2-",
|
||||
"L_RelativeDateTime_XDaysIntervals": "1||2-",
|
||||
"L_RelativeDateTime_Today": "Сегодня"
|
||||
},
|
||||
"SendEmailTo": "Отправить сообщение {0}",
|
||||
"StartChatWith": "Начать чат с {0}",
|
||||
"Contact": "Контакт",
|
||||
"UpdateProfile": "Обновить мой профиль",
|
||||
"TaxonomyPickerNoTerms": "Данный набор терминов пуст",
|
||||
"TaxonomyPickerExpandTitle": "Развернуть этот набор терминов",
|
||||
"TaxonomyPickerMenuTermSet": "Меню для набора терминов",
|
||||
"TaxonomyPickerInLabel": "в",
|
||||
"TaxonomyPickerTermSetLabel": "Набор терминов",
|
||||
"peoplePickerComponentTooltipMessage": "Выбор пользователей",
|
||||
"peoplePickerComponentErrorMessage": "Обязательное поле",
|
||||
"peoplePickerSuggestionsHeaderText": "Предложенные варианты",
|
||||
"peoplePickerLoadingText": "Загрузка",
|
||||
"PeoplePickerSearchText": "Получение пользователей",
|
||||
"PeoplePickerGroupNotFound": "Группа не найдена.",
|
||||
"ListItemPickerSelectValue": "Выбрать значение",
|
||||
"mapsErrorMessage": "Во время загрузки карты произошла ошибка",
|
||||
"mapsLoadingText": "Загрузка",
|
||||
"mapsSearchButtonText": "Поиск",
|
||||
"mapsTitlePrefix": "Карта",
|
||||
"genericNoResultsFoundText": "Нет результатов, удовлетворяющих условиям",
|
||||
"ListViewFilterLabel": "Фильтр",
|
||||
ListItemAttachmentsActionDeleteIconTitle: 'Delete',
|
||||
ListItemAttachmentsactionDeleteTitle: 'Delete',
|
||||
ListItemAttachmentsfileDeletedMsg: 'File {0} deleted',
|
||||
ListItemAttachmentsfileDeleteError: 'Error on delete file: {0}, reason {1}',
|
||||
ListItemAttachmentserrorLoadAttachments: 'Error on load list item attachment, reason: {0}',
|
||||
ListItemAttachmentsconfirmDelete: 'Are you sure you want send the attachment {0} to the site recycle bin ?',
|
||||
ListItemAttachmentsdialogTitle: 'List Item Attachment',
|
||||
ListItemAttachmentsdialogOKbuttonLabel: 'OK',
|
||||
ListItemAttachmentsdialogCancelButtonLabel: 'Cancel',
|
||||
ListItemAttachmentsdialogOKbuttonLabelOnDelete: 'Delete',
|
||||
ListItemAttachmentsuploadAttachmentDialogTitle: 'Add Attachment',
|
||||
ListItemAttachmentsuploadAttachmentButtonLabel: 'Add Attachment',
|
||||
ListItemAttachmentsuploadAttachmentErrorMsg: 'The file {0} not attached, reason: {1}',
|
||||
ListItemAttachmentsCommandBarAddAttachmentLabel: 'Add Attachment',
|
||||
ListItemAttachmentsloadingMessage: 'Uploading file ...',
|
||||
ListItemAttachmentslPlaceHolderIconText: 'List Item Attachment',
|
||||
ListItemAttachmentslPlaceHolderDescription: 'Please Add Attachment',
|
||||
ListItemAttachmentslPlaceHolderButtonLabel: 'Add',
|
||||
DatePickerMonthLongJanuary: "Январь",
|
||||
DatePickerMonthShortJanuary: "Янв",
|
||||
DatePickerMonthLongFebruary: "Февраль",
|
||||
DatePickerMonthShortFebruary: "Фев",
|
||||
DatePickerMonthLongMarch: "Март",
|
||||
DatePickerMonthShortMarch: "Мар",
|
||||
DatePickerMonthLongApril: "Апрель",
|
||||
DatePickerMonthShortApril: "Апр",
|
||||
DatePickerMonthLongMay: "Май",
|
||||
DatePickerMonthShortMay: "Май",
|
||||
DatePickerMonthLongJune: "Июнь",
|
||||
DatePickerMonthShortJune: "Июн",
|
||||
DatePickerMonthLongJuly: "Июль",
|
||||
DatePickerMonthShortJuly: "Июл",
|
||||
DatePickerMonthLongAugust: "Август",
|
||||
DatePickerMonthShortAugust: "Авг",
|
||||
DatePickerMonthLongSeptember: "Сентябрь",
|
||||
DatePickerMonthShortSeptember: "Сен",
|
||||
DatePickerMonthLongOctober: "Октябрь",
|
||||
DatePickerMonthShortOctober: "Окт",
|
||||
DatePickerMonthLongNovember: "Ноябрь",
|
||||
DatePickerMonthShortNovember: "Ноя",
|
||||
DatePickerMonthLongDecember: "Декабрь",
|
||||
DatePickerMonthShortDecember: "Дек",
|
||||
DatePickerDayLongSunday: "Воскресенье",
|
||||
DatePickerDayShortSunday: "Вс",
|
||||
DatePickerDayLongMonday: "Понедельник",
|
||||
DatePickerDayShortMonday: "Пн",
|
||||
DatePickerDayLongTuesday: "Вторник",
|
||||
DatePickerDayShortTuesday: "Вт",
|
||||
DatePickerDayLongWednesday: "Среда",
|
||||
DatePickerDayShortWednesday: "Ср",
|
||||
DatePickerDayLongThursday: "Четверг",
|
||||
DatePickerDayShortThursday: "Чт",
|
||||
DatePickerDayLongFriday: "Пятница",
|
||||
DatePickerDayShortFriday: "Пт",
|
||||
DatePickerDayLongSaturday: "Суббота",
|
||||
DatePickerDayShortSaturday: "Сб",
|
||||
DatePickerGoToToday: "Сегодня",
|
||||
DatePickerIsRequiredErrorMessage: "",
|
||||
DatePickerInvalidInputErrorMessage: "",
|
||||
DatePickerIsOutOfBoundsErrorMessage: "",
|
||||
DateTimePickerDate: "Date",
|
||||
DateTimePickerTime: "Time",
|
||||
DateTimePickerTimeSeparator: ":",
|
||||
DateTimePickerHourValueInvalid: "Incorrect hour value"
|
||||
};
|
||||
});
|
||||
|
||||
//# sourceMappingURL=ru-ru.js.map
|
@ -1,7 +0,0 @@
|
||||
define([], function() {
|
||||
return {
|
||||
"PropertyPaneDescription": "",
|
||||
"BasicGroupName": "Settings",
|
||||
"DescriptionFieldLabel": "Accordion Section"
|
||||
}
|
||||
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="text/xml"></Default><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"></Default><Default Extension="webpart" ContentType="text/xml"></Default><Default Extension="htm" ContentType="text/html"></Default><Default Extension="html" ContentType="text/html"></Default><Default Extension="aspx" ContentType="text/xml"></Default><Default Extension="resx" ContentType="text/xml"></Default><Default Extension="js" ContentType="application/javascript"></Default><Default Extension="json" ContentType="application/json"></Default><Default Extension="png" ContentType="image/png"></Default><Default Extension="jpg" ContentType="image/jpeg"></Default><Default Extension="bmp" ContentType="image/bmp"></Default><Default Extension="gif" ContentType="image/gif"></Default></Types>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/manifest-feature" Target="/feature_061da2cd-f680-4da5-ab30-40a8ba1aafd8.xml" Id="r17"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/manifest-clientsideasset" Target="/ClientSideAssets.xml" Id="r18"></Relationship></Relationships>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/partconfiguration" Target="/ClientSideAssets.xml.config.xml" Id="r3"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-controlstrings_de-de_07a34c4548532bb0f1010620b013e736.js" Id="r4"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-controlstrings_en-us_e37091da0d5566e2e16e6c3289d5c831.js" Id="r5"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-controlstrings_fr-fr_633ab0ae62c5c0b7783ca9a8c6099a30.js" Id="r6"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-controlstrings_lt-lt_d0c5f974d9b26e97b29b3c3873101474.js" Id="r7"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-controlstrings_nl-nl_5960f3a21ae1244cee35abb86324e6e6.js" Id="r8"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-controlstrings_ru-ru_a8dc923f09b17f43c313cb4fbcf5e2af.js" Id="r9"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/accordionv1-reactaccordionwebpartstrings_en-us_b0a7eba2aefefec0c6866d168ad6d85f.js" Id="r10"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/react-accordion-web-part_16d8669712c9bdf489af15111200367e.js" Id="r11"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/react-accordion-web-part_872f990fafe8cc4862c899093174c795.js" Id="r12"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/react-accordion-web-part_b20af2d3c6b0609873d87fa05fc04b12.js" Id="r13"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/react-accordion-web-part_f9813e003eba818aca0528e71a2e2f97.js" Id="r14"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/061da2cd-f680-4da5-ab30-40a8ba1aafd8_color.png" Id="r15"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/clientsideasset" Target="/ClientSideAssets/061da2cd-f680-4da5-ab30-40a8ba1aafd8_outline.png" Id="r16"></Relationship></Relationships>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/partconfiguration" Target="/feature_061da2cd-f680-4da5-ab30-40a8ba1aafd8.xml.config.xml" Id="r1"></Relationship><Relationship Type="http://schemas.microsoft.com/sharepoint/2012/app/relationships/feature-elementmanifest" Target="/061da2cd-f680-4da5-ab30-40a8ba1aafd8/WebPart_061da2cd-f680-4da5-ab30-40a8ba1aafd8.xml" Id="r2"></Relationship></Relationships>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="Dynamic Accordion Section Feature" Description="A feature which activates the Client-Side WebPart named Dynamic Accordion Section" Id="061da2cd-f680-4da5-ab30-40a8ba1aafd8" Version="1.0.0.0" Scope="Web" Hidden="FALSE"></Feature>
|
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><AppPartConfig xmlns="http://schemas.microsoft.com/sharepoint/2012/app/partconfiguration"><Id>ad123ed4-20be-4dd3-98ee-c41d85c52199</Id></AppPartConfig>
|
@ -35,6 +35,8 @@ export interface IReactAccordionWebPartProps {
|
||||
allowMultipleExpanded: boolean;
|
||||
accordianTitleColumn: string;
|
||||
accordianContentColumn: string;
|
||||
accordianSortColumn: string;
|
||||
isSortDescending: false;
|
||||
}
|
||||
|
||||
export default class ReactAccordionWebPart extends BaseClientSideWebPart<
|
||||
@ -65,6 +67,8 @@ export default class ReactAccordionWebPart extends BaseClientSideWebPart<
|
||||
accordionTitle: this.properties.accordionTitle,
|
||||
accordianTitleColumn: this.properties.accordianTitleColumn,
|
||||
accordianContentColumn: this.properties.accordianContentColumn,
|
||||
accordianSortColumn: this.properties.accordianSortColumn,
|
||||
isSortDescending: this.properties.isSortDescending,
|
||||
allowZeroExpanded: this.properties.allowZeroExpanded,
|
||||
allowMultipleExpanded: this.properties.allowMultipleExpanded,
|
||||
displayMode: this.displayMode,
|
||||
@ -342,6 +346,17 @@ export default class ReactAccordionWebPart extends BaseClientSideWebPart<
|
||||
options: this.allListColumns,
|
||||
disabled: this.choicesDropdownDisabled,
|
||||
}),
|
||||
PropertyPaneDropdown("accordianSortColumn", {
|
||||
label: "Select the Column for Accordion Sort Rows.",
|
||||
options: this.allListColumns,
|
||||
disabled: this.choicesDropdownDisabled,
|
||||
}),
|
||||
PropertyPaneToggle("isSortDescending", {
|
||||
label: "Sort type",
|
||||
onText: "Descending",
|
||||
offText: "Ascending",
|
||||
disabled: !this.properties.accordianSortColumn
|
||||
}),
|
||||
PropertyPaneToggle("allowZeroExpanded", {
|
||||
label: "Allow zero expanded",
|
||||
checked: this.properties.allowZeroExpanded,
|
||||
|
@ -7,6 +7,8 @@ export interface IReactAccordionProps {
|
||||
selectedChoice: string;
|
||||
accordianTitleColumn: string;
|
||||
accordianContentColumn: string;
|
||||
accordianSortColumn: string;
|
||||
isSortDescending: boolean;
|
||||
allowZeroExpanded: boolean;
|
||||
allowMultipleExpanded: boolean;
|
||||
displayMode: DisplayMode;
|
||||
|
@ -46,12 +46,24 @@ export default class ReactAccordion extends React.Component<
|
||||
typeof this.props.selectedChoice !== "undefined" &&
|
||||
this.props.selectedChoice.length > 0
|
||||
) {
|
||||
let query =
|
||||
"<View><Query><Where><Eq><FieldRef Name='" +
|
||||
this.props.columnTitle +
|
||||
"'/><Value Type='Text'>" +
|
||||
this.props.selectedChoice +
|
||||
"</Value></Eq></Where></Query></View>";
|
||||
let orderByQuery = '';
|
||||
if (this.props.accordianSortColumn) {
|
||||
orderByQuery = `<OrderBy>
|
||||
<FieldRef Name='${this.props.accordianSortColumn}' ${this.props.isSortDescending ? 'Ascending="False"' : ''} />
|
||||
</OrderBy>`;
|
||||
}
|
||||
|
||||
let query = `<View>
|
||||
<Query>
|
||||
<Where>
|
||||
<Eq>
|
||||
<FieldRef Name='${this.props.columnTitle}'/>
|
||||
<Value Type='Text'>${this.props.selectedChoice}</Value>
|
||||
</Eq>
|
||||
</Where>
|
||||
${orderByQuery}
|
||||
</Query>
|
||||
</View>`;
|
||||
|
||||
let theAccordianList = sp.web.lists.getById(this.props.listId);
|
||||
theAccordianList
|
||||
|
@ -1,328 +0,0 @@
|
||||
{
|
||||
"always-semicolon": true,
|
||||
"color-case": "lower",
|
||||
"block-indent": "\t",
|
||||
"color-shorthand": true,
|
||||
"element-case": "lower",
|
||||
"leading-zero": false,
|
||||
"quotes": "double",
|
||||
"sort-order-fallback": "abc",
|
||||
"space-before-colon": "",
|
||||
"space-after-colon": " ",
|
||||
"space-before-combinator": " ",
|
||||
"space-after-combinator": " ",
|
||||
"space-between-declarations": "\n",
|
||||
"space-before-opening-brace": "",
|
||||
"space-after-opening-brace": "\n",
|
||||
"space-after-selector-delimiter": "\n",
|
||||
"space-before-selector-delimiter": "",
|
||||
"space-before-closing-brace": "\n",
|
||||
"strip-spaces": true,
|
||||
"tab-size": true,
|
||||
"unitless-zero": true,
|
||||
"vendor-prefix-align": true,
|
||||
"sort-order": [
|
||||
[
|
||||
"$extend",
|
||||
"$include"
|
||||
],
|
||||
[
|
||||
"font",
|
||||
"font-family",
|
||||
"font-size",
|
||||
"font-weight",
|
||||
"font-style",
|
||||
"font-variant",
|
||||
"font-size-adjust",
|
||||
"font-stretch",
|
||||
"font-effect",
|
||||
"font-emphasize",
|
||||
"font-emphasize-position",
|
||||
"font-emphasize-style",
|
||||
"font-smooth",
|
||||
"line-height"
|
||||
],
|
||||
[
|
||||
"position",
|
||||
"z-index",
|
||||
"top",
|
||||
"right",
|
||||
"bottom",
|
||||
"left"
|
||||
],
|
||||
[
|
||||
"display",
|
||||
"visibility",
|
||||
"float",
|
||||
"clear",
|
||||
"overflow",
|
||||
"overflow-x",
|
||||
"overflow-y",
|
||||
"-ms-overflow-x",
|
||||
"-ms-overflow-y",
|
||||
"clip",
|
||||
"zoom",
|
||||
"flex-direction",
|
||||
"flex-order",
|
||||
"flex-pack",
|
||||
"flex-align"
|
||||
],
|
||||
[
|
||||
"-webkit-box-sizing",
|
||||
"-moz-box-sizing",
|
||||
"box-sizing",
|
||||
"width",
|
||||
"min-width",
|
||||
"max-width",
|
||||
"height",
|
||||
"min-height",
|
||||
"max-height",
|
||||
"margin",
|
||||
"margin-top",
|
||||
"margin-right",
|
||||
"margin-bottom",
|
||||
"margin-left",
|
||||
"padding",
|
||||
"padding-top",
|
||||
"padding-right",
|
||||
"padding-bottom",
|
||||
"padding-left"
|
||||
],
|
||||
[
|
||||
"table-layout",
|
||||
"empty-cells",
|
||||
"caption-side",
|
||||
"border-spacing",
|
||||
"border-collapse",
|
||||
"list-style",
|
||||
"list-style-position",
|
||||
"list-style-type",
|
||||
"list-style-image"
|
||||
],
|
||||
[
|
||||
"content",
|
||||
"quotes",
|
||||
"counter-reset",
|
||||
"counter-increment",
|
||||
"resize",
|
||||
"cursor",
|
||||
"-webkit-user-select",
|
||||
"-moz-user-select",
|
||||
"-ms-user-select",
|
||||
"user-select",
|
||||
"nav-index",
|
||||
"nav-up",
|
||||
"nav-right",
|
||||
"nav-down",
|
||||
"nav-left",
|
||||
"-webkit-transition",
|
||||
"-moz-transition",
|
||||
"-ms-transition",
|
||||
"-o-transition",
|
||||
"transition",
|
||||
"-webkit-transition-delay",
|
||||
"-moz-transition-delay",
|
||||
"-ms-transition-delay",
|
||||
"-o-transition-delay",
|
||||
"transition-delay",
|
||||
"-webkit-transition-timing-function",
|
||||
"-moz-transition-timing-function",
|
||||
"-ms-transition-timing-function",
|
||||
"-o-transition-timing-function",
|
||||
"transition-timing-function",
|
||||
"-webkit-transition-duration",
|
||||
"-moz-transition-duration",
|
||||
"-ms-transition-duration",
|
||||
"-o-transition-duration",
|
||||
"transition-duration",
|
||||
"-webkit-transition-property",
|
||||
"-moz-transition-property",
|
||||
"-ms-transition-property",
|
||||
"-o-transition-property",
|
||||
"transition-property",
|
||||
"-webkit-transform",
|
||||
"-moz-transform",
|
||||
"-ms-transform",
|
||||
"-o-transform",
|
||||
"transform",
|
||||
"-webkit-transform-origin",
|
||||
"-moz-transform-origin",
|
||||
"-ms-transform-origin",
|
||||
"-o-transform-origin",
|
||||
"transform-origin",
|
||||
"-webkit-animation",
|
||||
"-moz-animation",
|
||||
"-ms-animation",
|
||||
"-o-animation",
|
||||
"animation",
|
||||
"-webkit-animation-name",
|
||||
"-moz-animation-name",
|
||||
"-ms-animation-name",
|
||||
"-o-animation-name",
|
||||
"animation-name",
|
||||
"-webkit-animation-duration",
|
||||
"-moz-animation-duration",
|
||||
"-ms-animation-duration",
|
||||
"-o-animation-duration",
|
||||
"animation-duration",
|
||||
"-webkit-animation-play-state",
|
||||
"-moz-animation-play-state",
|
||||
"-ms-animation-play-state",
|
||||
"-o-animation-play-state",
|
||||
"animation-play-state",
|
||||
"-webkit-animation-timing-function",
|
||||
"-moz-animation-timing-function",
|
||||
"-ms-animation-timing-function",
|
||||
"-o-animation-timing-function",
|
||||
"animation-timing-function",
|
||||
"-webkit-animation-delay",
|
||||
"-moz-animation-delay",
|
||||
"-ms-animation-delay",
|
||||
"-o-animation-delay",
|
||||
"animation-delay",
|
||||
"-webkit-animation-iteration-count",
|
||||
"-moz-animation-iteration-count",
|
||||
"-ms-animation-iteration-count",
|
||||
"-o-animation-iteration-count",
|
||||
"animation-iteration-count",
|
||||
"-webkit-animation-direction",
|
||||
"-moz-animation-direction",
|
||||
"-ms-animation-direction",
|
||||
"-o-animation-direction",
|
||||
"animation-direction",
|
||||
"text-align",
|
||||
"-webkit-text-align-last",
|
||||
"-moz-text-align-last",
|
||||
"-ms-text-align-last",
|
||||
"text-align-last",
|
||||
"vertical-align",
|
||||
"white-space",
|
||||
"text-decoration",
|
||||
"text-emphasis",
|
||||
"text-emphasis-color",
|
||||
"text-emphasis-style",
|
||||
"text-emphasis-position",
|
||||
"text-indent",
|
||||
"-ms-text-justify",
|
||||
"text-justify",
|
||||
"letter-spacing",
|
||||
"word-spacing",
|
||||
"-ms-writing-mode",
|
||||
"text-outline",
|
||||
"text-transform",
|
||||
"text-wrap",
|
||||
"text-overflow",
|
||||
"-ms-text-overflow",
|
||||
"text-overflow-ellipsis",
|
||||
"text-overflow-mode",
|
||||
"-ms-word-wrap",
|
||||
"word-wrap",
|
||||
"word-break",
|
||||
"-ms-word-break",
|
||||
"-moz-tab-size",
|
||||
"-o-tab-size",
|
||||
"tab-size",
|
||||
"-webkit-hyphens",
|
||||
"-moz-hyphens",
|
||||
"hyphens",
|
||||
"pointer-events"
|
||||
],
|
||||
[
|
||||
"opacity",
|
||||
"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
|
||||
"-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha",
|
||||
"-ms-interpolation-mode",
|
||||
"color",
|
||||
"border",
|
||||
"border-width",
|
||||
"border-style",
|
||||
"border-color",
|
||||
"border-top",
|
||||
"border-top-width",
|
||||
"border-top-style",
|
||||
"border-top-color",
|
||||
"border-right",
|
||||
"border-right-width",
|
||||
"border-right-style",
|
||||
"border-right-color",
|
||||
"border-bottom",
|
||||
"border-bottom-width",
|
||||
"border-bottom-style",
|
||||
"border-bottom-color",
|
||||
"border-left",
|
||||
"border-left-width",
|
||||
"border-left-style",
|
||||
"border-left-color",
|
||||
"-webkit-border-radius",
|
||||
"-moz-border-radius",
|
||||
"border-radius",
|
||||
"-webkit-border-top-left-radius",
|
||||
"-moz-border-radius-topleft",
|
||||
"border-top-left-radius",
|
||||
"-webkit-border-top-right-radius",
|
||||
"-moz-border-radius-topright",
|
||||
"border-top-right-radius",
|
||||
"-webkit-border-bottom-right-radius",
|
||||
"-moz-border-radius-bottomright",
|
||||
"border-bottom-right-radius",
|
||||
"-webkit-border-bottom-left-radius",
|
||||
"-moz-border-radius-bottomleft",
|
||||
"border-bottom-left-radius",
|
||||
"-webkit-border-image",
|
||||
"-moz-border-image",
|
||||
"-o-border-image",
|
||||
"border-image",
|
||||
"-webkit-border-image-source",
|
||||
"-moz-border-image-source",
|
||||
"-o-border-image-source",
|
||||
"border-image-source",
|
||||
"-webkit-border-image-slice",
|
||||
"-moz-border-image-slice",
|
||||
"-o-border-image-slice",
|
||||
"border-image-slice",
|
||||
"-webkit-border-image-width",
|
||||
"-moz-border-image-width",
|
||||
"-o-border-image-width",
|
||||
"border-image-width",
|
||||
"-webkit-border-image-outset",
|
||||
"-moz-border-image-outset",
|
||||
"-o-border-image-outset",
|
||||
"border-image-outset",
|
||||
"-webkit-border-image-repeat",
|
||||
"-moz-border-image-repeat",
|
||||
"-o-border-image-repeat",
|
||||
"border-image-repeat",
|
||||
"outline",
|
||||
"outline-width",
|
||||
"outline-style",
|
||||
"outline-color",
|
||||
"outline-offset",
|
||||
"background",
|
||||
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
|
||||
"background-color",
|
||||
"background-image",
|
||||
"background-repeat",
|
||||
"background-attachment",
|
||||
"background-position",
|
||||
"background-position-x",
|
||||
"-ms-background-position-x",
|
||||
"background-position-y",
|
||||
"-ms-background-position-y",
|
||||
"-webkit-background-clip",
|
||||
"-moz-background-clip",
|
||||
"background-clip",
|
||||
"background-origin",
|
||||
"-webkit-background-size",
|
||||
"-moz-background-size",
|
||||
"-o-background-size",
|
||||
"background-size",
|
||||
"box-decoration-break",
|
||||
"-webkit-box-shadow",
|
||||
"-moz-box-shadow",
|
||||
"box-shadow",
|
||||
"filter:progid:DXImageTransform.Microsoft.gradient",
|
||||
"-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
|
||||
"text-shadow"
|
||||
]
|
||||
]
|
||||
}
|
1
samples/react-adaptivecards/.gitignore
vendored
1
samples/react-adaptivecards/.gitignore
vendored
@ -9,6 +9,7 @@ node_modules
|
||||
# Build generated files
|
||||
dist
|
||||
lib
|
||||
release
|
||||
solution
|
||||
temp
|
||||
*.sppkg
|
||||
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"extends": "stylelint-config-standard",
|
||||
"plugins": [
|
||||
"stylelint-scss"
|
||||
],
|
||||
"rules": {
|
||||
"at-rule-no-unknown": null,
|
||||
"scss/at-rule-no-unknown": true
|
||||
}
|
||||
}
|
@ -1,381 +0,0 @@
|
||||
{
|
||||
"title": "Code Walk-through",
|
||||
"steps": [
|
||||
{
|
||||
"title": "Introduction",
|
||||
"description": "This web part was designed to demonstrate how to use a new custom Adaptive Card host component, along with a few concepts:\r\n* Loading property pane resources only when the property pane is displayed\r\n* Supporting themes and section background colors\r\n\r\nYou can use the `AdaptiveCard` component in your own web part, our web part isn't intended to be used in production.",
|
||||
"file": "README.md",
|
||||
"line": 1
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 29,
|
||||
"description": "Adding these imports are crucial for adding theme and section background support."
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 96,
|
||||
"description": "The `_themeProvider` and `_themeVariant` will be used at render time to pass theme information to our components.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 96,
|
||||
"character": 3
|
||||
},
|
||||
"end": {
|
||||
"line": 97,
|
||||
"character": 53
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 113,
|
||||
"description": "This is how we let the web part know that we want to be notified when there are theme changes.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 107,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 113,
|
||||
"character": 84
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 364,
|
||||
"description": "This event handler will get called when the theme changes. It stores the `_themeVariant` and calls `render` to update the web part body.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 364,
|
||||
"character": 1
|
||||
},
|
||||
"end": {
|
||||
"line": 367,
|
||||
"character": 4
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 137,
|
||||
"description": "We pass the theme variant to the component that will render the web part body so that it can query the theme colors at render time.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 137,
|
||||
"character": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 137,
|
||||
"character": 42
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 162,
|
||||
"description": "`loadPropertyPaneResources` is a standard web part event that gets called before the property pane is rendered.\\\r\n\r\nYou can use this to load resource-intensive components that only need to be shown in the property pane. That way, when the web part is showing in \"view\" mode (for most users), we don't need to load the extra resources. When the web part is in \"edit\" mode, and when we load the property pane, we load all the heavy stuff.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 162,
|
||||
"character": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 162,
|
||||
"character": 44
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 169,
|
||||
"description": "For example, this `_templatePropertyPaneHelper` defines a @pnp code editor control. That way, we don't need to load all the code editing and syntax highlighting resources unless we're actually editing the web part properties.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 169,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 169,
|
||||
"character": 37
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 193,
|
||||
"description": "Because we pre-defined property pane controls in the `loadPropertyPaneResources` event handler, we can use the controls in this method..."
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 238,
|
||||
"description": "...when it is time to render the property pane, we simply use the pre-created `_templatePropertyPaneHelper`.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 238,
|
||||
"character": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 238,
|
||||
"character": 72
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 117,
|
||||
"description": "We also set up the pnpjs `spfxContent` with the web part's context so that we can make it easy to get the data later.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 117,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 120,
|
||||
"character": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 372,
|
||||
"description": "If we need to, we load the data from a SharePoint list so that we can pass the data to the `AdaptiveCard` component.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 372,
|
||||
"character": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 372,
|
||||
"character": 34
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 386,
|
||||
"description": "We load the view that was selected so we can get the schema and the query.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 383,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 386,
|
||||
"character": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 391,
|
||||
"description": "Calling `renderListDataAsStream` returns not only the data, but everything we need to render the complete data -- including looking field views, user info, etc.\r\n\r\nThis is similar to how SharePoint renders lists out-of-the-box. (Don't believe me? Use the network tab in your browser's Developer Tools on a SharePoint page that shows a list. You'll find calls to `renderListDataAsStream`)",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 389,
|
||||
"character": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 391,
|
||||
"character": 8
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/AdaptiveCardHostWebPart.ts",
|
||||
"line": 140,
|
||||
"description": "When it is time to render the web part's body, our `AdaptiveCard` component only needs the template JSON, the data (if used), and a flag to tell us whether we're using Adaptive Card Templating or not.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 138,
|
||||
"character": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 140,
|
||||
"character": 63
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/components/AdaptiveCardHost.tsx",
|
||||
"line": 17,
|
||||
"description": "This renders the web part's body",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 17,
|
||||
"character": 22
|
||||
},
|
||||
"end": {
|
||||
"line": 17,
|
||||
"character": 38
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/components/AdaptiveCardHost.tsx",
|
||||
"line": 37,
|
||||
"description": "We detect if the web part is configured by looking at the `template` prop, the `data` prop, and whether the template contains the string `$data` -- which is an indicator that the template uses Adaptive Card templating.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 30,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 38,
|
||||
"character": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/components/AdaptiveCardHost.tsx",
|
||||
"line": 47,
|
||||
"description": "If we need a template, we show a placeholder",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 40,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 47,
|
||||
"character": 9
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/components/AdaptiveCardHost.tsx",
|
||||
"line": 56,
|
||||
"description": "If we need data, we show another friendly placeholder.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 48,
|
||||
"character": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 56,
|
||||
"character": 9
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/webparts/adaptiveCardHost/components/AdaptiveCardHost.tsx",
|
||||
"line": 70,
|
||||
"description": "If we detect that the template uses Adaptive Card templating, we display a friendly message.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 73,
|
||||
"character": 11
|
||||
},
|
||||
"end": {
|
||||
"line": 80,
|
||||
"character": 13
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 29,
|
||||
"description": "This is where all the Adaptive Card processing gets done. You can use this component in your own web parts -- just pass the props you need.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 29,
|
||||
"character": 14
|
||||
},
|
||||
"end": {
|
||||
"line": 29,
|
||||
"character": 26
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 61,
|
||||
"description": "This `div` will contain the rendered HTML.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 61,
|
||||
"character": 6
|
||||
},
|
||||
"end": {
|
||||
"line": 61,
|
||||
"character": 95
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 59,
|
||||
"description": "I don't really like showing the errors in the `AdaptiveCard` component itself (I would have preferred to let the web part handle it), but that's all I could get working for now.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 54,
|
||||
"character": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 59,
|
||||
"character": 22
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 49,
|
||||
"description": "Once the component is mounted and/or when the properties change, we render the Adaptive Card.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 40,
|
||||
"character": 2
|
||||
},
|
||||
"end": {
|
||||
"line": 49,
|
||||
"character": 4
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 4,
|
||||
"description": "We use the Adaptive Card team's npm package to render the cards."
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 5,
|
||||
"description": "We use the npm package to support Adaptive Card templating."
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 6,
|
||||
"description": "And we use this npm package to make the Adaptive Cards look like they belong to SharePoint by giving them a Office Fabric look."
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 14,
|
||||
"description": "We also use `markdown-it` to parse the Markdown from the rendered HTML so that we fully support the Adaptive Card schema."
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 132,
|
||||
"description": "This is how we render the specify to use Office Fabric, adjust the theme colors, and handle Markdown before rendering the card.",
|
||||
"selection": {
|
||||
"start": {
|
||||
"line": 123,
|
||||
"character": 4
|
||||
},
|
||||
"end": {
|
||||
"line": 133,
|
||||
"character": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 136,
|
||||
"description": "This is a generic handler to raise Adaptive Card actions back to the component's parent."
|
||||
},
|
||||
{
|
||||
"file": "src/controls/AdaptiveCard/AdaptiveCard.tsx",
|
||||
"line": 197,
|
||||
"description": "This is pretty much a brute force method where we change the Adaptive Card's host configuration with the theme's colors. \r\n\r\nWe used trial and error to find what theme slots match which host configuration styles. \r\n\r\nWould love to get your feedback!"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,29 +1,12 @@
|
||||
{
|
||||
"@pnp/generator-spfx": {
|
||||
"framework": "react",
|
||||
"pnpFramework": "reactjs.plus",
|
||||
"pnp-libraries": [
|
||||
"@pnp/spfx-property-controls",
|
||||
"rush@3.3"
|
||||
],
|
||||
"pnp-ci": "no-devops",
|
||||
"pnp-vetting": [
|
||||
"webpack-analyzer",
|
||||
"stylelint",
|
||||
"csscomb"
|
||||
],
|
||||
"spfxenv": "spo",
|
||||
"pnp-testing": []
|
||||
},
|
||||
"@microsoft/generator-sharepoint": {
|
||||
"isCreatingSolution": true,
|
||||
"environment": "spo",
|
||||
"framework": "react",
|
||||
"isCreatingSolution": false,
|
||||
"version": "1.11.0",
|
||||
"libraryName": "adaptive-card-host",
|
||||
"libraryId": "ce1e3712-fb7a-4564-b2d3-c81e45936afd",
|
||||
"version": "1.12.1",
|
||||
"libraryName": "react-adaptivecards",
|
||||
"libraryId": "f504f00b-ee99-4184-97cd-114c9b9e75ca",
|
||||
"packageManager": "npm",
|
||||
"isDomainIsolated": false,
|
||||
"componentType": "webpart"
|
||||
}
|
||||
}
|
||||
}
|
@ -13,12 +13,11 @@ This sample creates an Adaptive Cards Host web part that you can use to display
|
||||
|
||||
## Compatibility
|
||||
|
||||
![SPFx 1.11](https://img.shields.io/badge/SPFx-1.11.0-green.svg)
|
||||
![Node.js LTS 10.x](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg)
|
||||
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
|
||||
![SPFx 1.12.1](https://img.shields.io/badge/SPFx-1.12.1-green.svg)
|
||||
![Node.js LTS v14 | LTS v12 | LTS v10](https://img.shields.io/badge/Node.js-LTS%20v14%20%7C%20LTS%20v12%20%7C%20LTS%20v10-green.svg)
|
||||
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
|
||||
![Teams N/A: Untested with Microsoft Teams](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams")
|
||||
![Workbench Local (Partially) | Hosted](https://img.shields.io/badge/Workbench-Local%20%7C%20Hosted-yellow.svg)
|
||||
|
||||
![Workbench Local | Hosted](https://img.shields.io/badge/Workbench-Local%20%7C%20Hosted-green.svg)
|
||||
|
||||
## Applies to
|
||||
|
||||
@ -45,6 +44,7 @@ Version|Date|Comments
|
||||
2.1.0|June 11, 2020|Fixed breaking changes introduced with Adaptive Card Templating in May update
|
||||
2.2.0|August 25, 2020|Upgraded to SPFx 1.11
|
||||
2.2.1|February 23, 2021|Fixed FluentUI dependencies introduced with newer versions of Adaptive Cards React.
|
||||
2.3.0|August 2, 2021|Upgraded to SPFx 1.12.1
|
||||
|
||||
## Disclaimer
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
"This sample creates an Adaptive Cards Host web part that you can use to display Adaptive Cards in your SharePoint applications."
|
||||
],
|
||||
"creationDateTime": "2021-02-23",
|
||||
"updateDateTime": "2021-02-23",
|
||||
"updateDateTime": "2021-08-02",
|
||||
"products": [
|
||||
"SharePoint",
|
||||
"Office"
|
||||
@ -21,7 +21,7 @@
|
||||
},
|
||||
{
|
||||
"key": "SPFX-VERSION",
|
||||
"value": "1.11.0"
|
||||
"value": "1.12.1"
|
||||
},
|
||||
{
|
||||
"key": "SPFX-SUPPORTSTHEMEVARIANTS",
|
||||
|
@ -14,7 +14,7 @@
|
||||
"externals": {},
|
||||
"localizedResources": {
|
||||
"AdaptiveCardHostWebPartStrings": "lib/webparts/adaptiveCardHost/loc/{locale}.js",
|
||||
"PropertyControlStrings": "node_modules/@pnp/spfx-property-controls/lib/loc/{locale}.js",
|
||||
"ControlStrings": "node_modules/@pnp/spfx-controls-react/lib/loc/{locale}.js"
|
||||
"ControlStrings": "node_modules/@pnp/spfx-controls-react/lib/loc/{locale}.js",
|
||||
"PropertyControlStrings": "node_modules/@pnp/spfx-property-controls/lib/loc/{locale}.js"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
|
||||
"deployCdnPath": "temp/deploy"
|
||||
"deployCdnPath": "./release/assets/"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
|
||||
"workingDir": "./temp/deploy/",
|
||||
"workingDir": "./release/assets/",
|
||||
"account": "<!-- STORAGE ACCOUNT NAME -->",
|
||||
"container": "adaptive-card-host",
|
||||
"container": "react-adaptivecards",
|
||||
"accessKey": "<!-- ACCESS KEY -->"
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
|
||||
"solution": {
|
||||
"name": "adaptive-cards",
|
||||
"id": "ce1e3712-fb7a-4564-b2d3-c81e45936afd",
|
||||
"version": "2.2.1.0",
|
||||
"name": "react-adaptivecards-client-side-solution",
|
||||
"id": "f504f00b-ee99-4184-97cd-114c9b9e75ca",
|
||||
"version": "1.0.0.0",
|
||||
"includeClientSideAssets": true,
|
||||
"isDomainIsolated": false,
|
||||
"developer": {
|
||||
@ -11,10 +11,10 @@
|
||||
"websiteUrl": "",
|
||||
"privacyUrl": "",
|
||||
"termsOfUseUrl": "",
|
||||
"mpnId": "m365pnp"
|
||||
"mpnId": ""
|
||||
}
|
||||
},
|
||||
"paths": {
|
||||
"zippedPackage": "solution/adaptive-cars.sppkg"
|
||||
"zippedPackage": "solution/react-adaptivecards.sppkg"
|
||||
}
|
||||
}
|
||||
|
75
samples/react-adaptivecards/gulpfile.js
vendored
75
samples/react-adaptivecards/gulpfile.js
vendored
@ -1,77 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
// check if gulp dist was called
|
||||
if (process.argv.indexOf('dist') !== -1) {
|
||||
// add ship options to command call
|
||||
process.argv.push('--ship');
|
||||
}
|
||||
|
||||
const path = require('path');
|
||||
const gulp = require('gulp');
|
||||
const build = require('@microsoft/sp-build-web');
|
||||
const gulpSequence = require('gulp-sequence');
|
||||
|
||||
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
|
||||
|
||||
// Create clean distrubution package
|
||||
gulp.task('dist', gulpSequence('clean', 'bundle', 'package-solution'));
|
||||
// Create clean development package
|
||||
gulp.task('dev', gulpSequence('clean', 'bundle', 'package-solution'));
|
||||
var getTasks = build.rig.getTasks;
|
||||
build.rig.getTasks = function () {
|
||||
var result = getTasks.call(build.rig);
|
||||
|
||||
result.set('serve', result.get('serve-deprecated'));
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
/**
|
||||
* Webpack Bundle Anlayzer
|
||||
* Reference and gulp task
|
||||
*/
|
||||
const bundleAnalyzer = require('webpack-bundle-analyzer');
|
||||
|
||||
build.configureWebpack.mergeConfig({
|
||||
|
||||
additionalConfiguration: (generatedConfiguration) => {
|
||||
const lastDirName = path.basename(__dirname);
|
||||
const dropPath = path.join(__dirname, 'temp', 'stats');
|
||||
generatedConfiguration.plugins.push(new bundleAnalyzer.BundleAnalyzerPlugin({
|
||||
openAnalyzer: false,
|
||||
analyzerMode: 'static',
|
||||
reportFilename: path.join(dropPath, `${lastDirName}.stats.html`),
|
||||
generateStatsFile: true,
|
||||
statsFilename: path.join(dropPath, `${lastDirName}.stats.json`),
|
||||
logLevel: 'error'
|
||||
}));
|
||||
|
||||
return generatedConfiguration;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* StyleLinter configuration
|
||||
* Reference and custom gulp task
|
||||
*/
|
||||
const stylelint = require('gulp-stylelint');
|
||||
|
||||
/* Stylelinter sub task */
|
||||
let styleLintSubTask = build.subTask('stylelint', (gulp) => {
|
||||
|
||||
return gulp
|
||||
.src('src/**/*.scss')
|
||||
.pipe(stylelint({
|
||||
failAfterError: false,
|
||||
reporters: [{
|
||||
formatter: 'string',
|
||||
console: true
|
||||
}]
|
||||
}));
|
||||
});
|
||||
/* end sub task */
|
||||
|
||||
build.rig.addPreBuildTask(styleLintSubTask);
|
||||
|
||||
/**
|
||||
* Custom Framework Specific gulp tasks
|
||||
*/
|
||||
|
||||
|
||||
build.initialize(gulp);
|
||||
build.initialize(require('gulp'));
|
||||
|
19748
samples/react-adaptivecards/package-lock.json
generated
19748
samples/react-adaptivecards/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,60 +1,42 @@
|
||||
{
|
||||
"name": "adaptive-card-host",
|
||||
"version": "2.2.1",
|
||||
"name": "react-adaptivecards",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "gulp bundle",
|
||||
"clean": "gulp clean",
|
||||
"test": "gulp test",
|
||||
"preversion": "node ./tools/pre-version.js",
|
||||
"postversion": "gulp dist"
|
||||
"test": "gulp test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui/react": "^7.161.0",
|
||||
"@microsoft/sp-core-library": "1.11.0",
|
||||
"@microsoft/sp-lodash-subset": "1.11.0",
|
||||
"@microsoft/sp-office-ui-fabric-core": "1.11.0",
|
||||
"@microsoft/sp-property-pane": "1.11.0",
|
||||
"@microsoft/sp-webpart-base": "1.11.0",
|
||||
"@fluentui/react": "^8.26.1",
|
||||
"@microsoft/sp-core-library": "1.12.1",
|
||||
"@microsoft/sp-lodash-subset": "1.12.1",
|
||||
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
||||
"@microsoft/sp-property-pane": "1.12.1",
|
||||
"@microsoft/sp-webpart-base": "1.12.1",
|
||||
"@pnp/sp": "^2.0.3",
|
||||
"@pnp/spfx-controls-react": "1.16.0",
|
||||
"@pnp/spfx-property-controls": "^1.18.0",
|
||||
"@uifabric/fluent-theme": "^7.4.3",
|
||||
"adaptivecards": "^1.2.6",
|
||||
"adaptivecards-fabric": "^1.1.1",
|
||||
"adaptivecards-templating": "1.1.0",
|
||||
"adaptive-expressions": "^4.14.1",
|
||||
"adaptivecards": "^2.9.0",
|
||||
"adaptivecards-fluentui": "^0.5.3",
|
||||
"adaptivecards-templating": "^2.1.0",
|
||||
"markdown-it": "^10.0.0",
|
||||
"office-ui-fabric-react": "^6.189.2",
|
||||
"react": "16.8.5",
|
||||
"react-dom": "16.8.5",
|
||||
"save": "^2.4.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "16.8.8"
|
||||
"office-ui-fabric-react": "7.156.0",
|
||||
"react": "16.9.0",
|
||||
"react-dom": "16.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/rush-stack-compiler-3.3": "0.3.5",
|
||||
"@microsoft/sp-build-web": "1.11.0",
|
||||
"@microsoft/sp-module-interfaces": "1.11.0",
|
||||
"@microsoft/sp-tslint-rules": "1.11.0",
|
||||
"@microsoft/sp-webpart-workbench": "1.11.0",
|
||||
"@types/chai": "3.4.34",
|
||||
"@types/es6-promise": "0.0.33",
|
||||
"@types/mocha": "2.2.38",
|
||||
"@types/react": "16.8.8",
|
||||
"@types/react-dom": "16.8.3",
|
||||
"@types/webpack-env": "1.13.1",
|
||||
"@types/react": "16.9.36",
|
||||
"@types/react-dom": "16.9.8",
|
||||
"@microsoft/sp-build-web": "1.12.1",
|
||||
"@microsoft/sp-tslint-rules": "1.12.1",
|
||||
"@microsoft/sp-module-interfaces": "1.12.1",
|
||||
"@microsoft/sp-webpart-workbench": "1.12.1",
|
||||
"@microsoft/rush-stack-compiler-3.7": "0.2.3",
|
||||
"gulp": "~4.0.2",
|
||||
"ajv": "~5.2.2",
|
||||
"gulp": "~3.9.1",
|
||||
"gulp-sequence": "1.0.0",
|
||||
"gulp-stylelint": "^13.0.0",
|
||||
"stylelint": "^13.0.0",
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
"stylelint-scss": "^3.14.2",
|
||||
"webpack-bundle-analyzer": "^3.6.0"
|
||||
"@types/webpack-env": "1.13.1"
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,104 @@
|
||||
{
|
||||
"bundles": {
|
||||
"adaptive-card-host-web-part": {
|
||||
"dependencies": [
|
||||
{
|
||||
"componentId": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"componentName": "@microsoft/sp-property-pane",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
},
|
||||
{
|
||||
"componentId": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
|
||||
"componentName": "@microsoft/sp-loader",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "8217e442-8ed3-41fd-957d-b112e841286a",
|
||||
"componentName": "@ms/sp-telemetry",
|
||||
"componentVersion": "0.19.2",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "e40f8203-b39d-425a-a957-714852e33b79",
|
||||
"componentName": "@microsoft/sp-dynamic-data",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
||||
"componentName": "@microsoft/sp-lodash-subset",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"componentName": "@microsoft/sp-core-library",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "01c4df03-e775-48cb-aa14-171ee5199a15",
|
||||
"componentName": "tslib",
|
||||
"componentVersion": "1.10.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "2e09fb9b-13bb-48f2-859f-97d6fff71176",
|
||||
"componentName": "@ms/odsp-core-bundle",
|
||||
"componentVersion": "1.1.13",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
|
||||
"componentName": "@microsoft/sp-diagnostics",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
||||
"componentName": "@microsoft/sp-page-context",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "229b8d08-79f3-438b-8c21-4613fc877abd",
|
||||
"componentName": "@microsoft/load-themed-styles",
|
||||
"componentVersion": "0.1.2",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
||||
"componentName": "@microsoft/sp-http",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"componentName": "react",
|
||||
"componentVersion": "16.9.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"componentName": "react-dom",
|
||||
"componentVersion": "16.9.0",
|
||||
"isDirectDependency": false
|
||||
},
|
||||
{
|
||||
"componentId": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
|
||||
"componentName": "@microsoft/sp-component-base",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
},
|
||||
{
|
||||
"componentId": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"componentName": "@microsoft/sp-webpart-base",
|
||||
"componentVersion": "1.12.1",
|
||||
"isDirectDependency": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
{
|
||||
"id": "16f46d20-f1db-4464-9516-7b23db8b069d",
|
||||
"alias": "AdaptiveCardHostWebPart",
|
||||
"componentType": "WebPart",
|
||||
"version": "0.0.1",
|
||||
"manifestVersion": 2,
|
||||
"supportsThemeVariants": true,
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": [
|
||||
"SharePointWebPart"
|
||||
],
|
||||
"preconfiguredEntries": [
|
||||
{
|
||||
"groupId": "5c03119e-3074-46fd-976b-c60198311f70",
|
||||
"group": {
|
||||
"default": "Other"
|
||||
},
|
||||
"title": {
|
||||
"default": "Adaptive Card Host"
|
||||
},
|
||||
"description": {
|
||||
"default": "Displays Adaptive Cards within SharePoint"
|
||||
},
|
||||
"iconImageUrl": "data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg width='96px' height='96px' viewBox='0 0 96 96' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3C!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch --%3E %3Ctitle%3Eadaptive_cards%3C/title%3E %3Cdesc%3ECreated with Sketch.%3C/desc%3E %3Cdefs%3E%3C/defs%3E %3Cg id='assets' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E %3Cg id='adaptive_cards'%3E %3Cg id='Group-21'%3E %3Crect id='Rectangle-17-Copy-22' fill='%233A96DD' x='0' y='0' width='96' height='96' rx='48'%3E%3C/rect%3E %3Cg id='Page-1' transform='translate(22.000000, 30.000000)' fill='%23FFFFFF'%3E %3Cg id='Group-3'%3E %3Cpath d='M6.38596491,0.911322807 C2.86091228,0.911322807 0,3.77223509 0,7.29728772 L0,19.9702351 L3.19298246,19.9702351 L3.19298246,7.29728772 C3.19298246,5.53795439 4.62663158,4.10430526 6.38596491,4.10430526 L35.122807,4.10430526 L35.122807,0.911322807 L6.38596491,0.911322807 Z' id='Fill-1'%3E%3C/path%3E %3C/g%3E %3Cpolygon id='Fill-4' points='0 36.0341298 12.922 36.0341298 12.922 32.8411474 5.45042105 32.8411474 15.8052632 22.4894982 13.5478246 20.2320596 3.19298246 30.5837088 3.19298246 23.1632175 0 23.1632175'%3E%3C/polygon%3E %3Cg id='Group-8' transform='translate(35.122807, 0.000000)'%3E %3Cpolygon id='Fill-6' points='3.19298246 0.911322807 3.19298246 4.10430526 10.5144912 4.10430526 0.159649123 14.4591474 2.41708772 16.716586 12.7719298 6.36174386 12.7719298 13.6832526 15.9649123 13.6832526 15.9649123 0.911322807'%3E%3C/polygon%3E %3C/g%3E %3Cpath d='M47.8947368,29.6481649 C47.8947368,31.4106912 46.4610877,32.8411474 44.7017544,32.8411474 L16.1149825,32.8411474 L16.1149825,36.0341298 L44.7017544,36.0341298 C48.226807,36.0341298 51.0877193,33.1732175 51.0877193,29.6481649 L51.0877193,16.8762351 L47.8947368,16.8762351 L47.8947368,29.6481649 Z' id='Fill-9'%3E%3C/path%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/svg%3E",
|
||||
"properties": {
|
||||
"template": "",
|
||||
"data": "",
|
||||
"dynamicTemplate": {},
|
||||
"useTemplating": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"loaderConfig": {
|
||||
"internalModuleBaseUrls": [
|
||||
"<!-- PATH TO CDN -->"
|
||||
],
|
||||
"entryModuleId": "adaptive-card-host-web-part",
|
||||
"scriptResources": {
|
||||
"adaptive-card-host-web-part": {
|
||||
"type": "path",
|
||||
"path": "adaptive-card-host-web-part.js"
|
||||
},
|
||||
"@microsoft/sp-property-pane": {
|
||||
"type": "component",
|
||||
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-component-base": {
|
||||
"type": "component",
|
||||
"id": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-core-library": {
|
||||
"type": "component",
|
||||
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"@microsoft/sp-webpart-base": {
|
||||
"type": "component",
|
||||
"id": "974a7777-0990-4136-8fa6-95d80114c2e0",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"react": {
|
||||
"type": "component",
|
||||
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"react-dom": {
|
||||
"type": "component",
|
||||
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
|
||||
"version": "16.9.0"
|
||||
},
|
||||
"@microsoft/sp-http": {
|
||||
"type": "component",
|
||||
"id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"AdaptiveCardHostWebPartStrings": {
|
||||
"type": "path",
|
||||
"path": "AdaptiveCardHostWebPartStrings_en-us.js"
|
||||
},
|
||||
"PropertyControlStrings": {
|
||||
"type": "localizedPath",
|
||||
"paths": {
|
||||
"en-US": "PropertyControlStrings_en-us.js",
|
||||
"fr-FR": "PropertyControlStrings_fr-fr.js",
|
||||
"nl-NL": "PropertyControlStrings_nl-nl.js",
|
||||
"no": "PropertyControlStrings_no.js",
|
||||
"ru-RU": "PropertyControlStrings_ru-ru.js",
|
||||
"zh-CN": "PropertyControlStrings_zh-cn.js"
|
||||
},
|
||||
"defaultPath": "PropertyControlStrings_en-us.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
import * as React from 'react';
|
||||
import { IAdaptiveCardProps } from './IAdaptiveCardProps';
|
||||
|
||||
import * as AdaptiveCards from "adaptivecards";
|
||||
import * as AC from "adaptivecards";
|
||||
import * as ACData from "adaptivecards-templating";
|
||||
import * as ACFabric from "adaptivecards-fabric";
|
||||
import * as ACFluentUI from "adaptivecards-fluentui";
|
||||
|
||||
// Support for theme and section color
|
||||
import { IReadonlyTheme } from '@microsoft/sp-component-base';
|
||||
@ -16,8 +16,6 @@ import * as markdownit from "markdown-it";
|
||||
|
||||
import { IAdaptiveCardState } from '.';
|
||||
|
||||
import { MessageBar, MessageBarType } from 'office-ui-fabric-react';
|
||||
|
||||
// Localization
|
||||
import * as strings from 'AdaptiveCardHostWebPartStrings';
|
||||
|
||||
@ -49,15 +47,10 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
}
|
||||
|
||||
public render(): React.ReactElement<IAdaptiveCardProps> {
|
||||
const hasErrorHander: boolean = (this.state.errors && this.state.errors.length > 0 && this.props.errorTemplate) ? true : false;
|
||||
return <>
|
||||
{this.state.errors.length > 0 &&
|
||||
<MessageBar messageBarType={MessageBarType.error} isMultiline={true}>
|
||||
{strings.AdaptiveCardErrorIntro}<br />
|
||||
{this.state.errors.map((error: string) => {
|
||||
return <p>{error}</p>;
|
||||
})}
|
||||
</MessageBar>
|
||||
}
|
||||
{ hasErrorHander && typeof this.props.errorTemplate === "function" && this.props.errorTemplate(this.state.errors) }
|
||||
{ hasErrorHander && this.props.errorTemplate && typeof this.props.errorTemplate !== "function" && this.props.errorTemplate }
|
||||
<div className={this.props.className} ref={(elm) => { this._acContainer = elm; }}></div>
|
||||
</>;
|
||||
}
|
||||
@ -78,7 +71,7 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
templatePayload = JSON.parse(this.props.template);
|
||||
} catch (error) {
|
||||
console.error("Something went wrong with the template", error);
|
||||
this._errorHandler(strings.TemplatingJsonError + error);
|
||||
this._errorHandler([strings.TemplatingJsonError + error]);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -86,23 +79,23 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
var template = new ACData.Template(templatePayload);
|
||||
|
||||
var context: any = {
|
||||
"$root":{}
|
||||
"$root": {}
|
||||
};
|
||||
|
||||
try {
|
||||
context.$root = JSON.parse(this.props.data);
|
||||
} catch (error) {
|
||||
console.error("Error parsing the data JSON", error);
|
||||
this._errorHandler(strings.DataJsonError + error);
|
||||
this._errorHandler([strings.DataJsonError + error]);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
// Expand the card by combining the template and data
|
||||
card = template.expand(context);
|
||||
// Expand the card by combining the template and data
|
||||
card = template.expand(context);
|
||||
} catch (error) {
|
||||
console.error("Error combining template and data", error);
|
||||
this._errorHandler(strings.DataJsonError + error);
|
||||
this._errorHandler([strings.DataJsonError + error]);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
@ -110,35 +103,51 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
card = JSON.parse(this.props.template);
|
||||
} catch (error) {
|
||||
console.error("Error parsing template", error);
|
||||
this._errorHandler(strings.TemplateJsonError + error);
|
||||
this._errorHandler([strings.TemplateJsonError + error]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Create an AdaptiveCard instance
|
||||
let adaptiveCard = new AdaptiveCards.AdaptiveCard();
|
||||
const adaptiveCard: AC.AdaptiveCard = new AC.AdaptiveCard();
|
||||
|
||||
// Use Fabric controls when rendering Adaptive Cards
|
||||
ACFabric.useFabricComponents();
|
||||
ACFluentUI.useFluentUI();
|
||||
|
||||
// Get the semantic colors to adapt to changing section colors
|
||||
this._adjustThemeColors(adaptiveCard);
|
||||
|
||||
// Handle parsing markdown from HTML
|
||||
AdaptiveCards.AdaptiveCard.onProcessMarkdown = this._processMarkdownHandler;
|
||||
AC.AdaptiveCard.onProcessMarkdown = this._processMarkdownHandler;
|
||||
|
||||
// Set the adaptive card's event handlers. onExecuteAction is invoked
|
||||
// whenever an action is clicked in the card
|
||||
adaptiveCard.onExecuteAction = this._executeActionHandler;
|
||||
|
||||
// Parse the card payload
|
||||
adaptiveCard.parse(card, errors);
|
||||
let serializationContext = new AC.SerializationContext();
|
||||
|
||||
this.setState({
|
||||
errors: errors.map((error: IValidationError) => {
|
||||
return error.message;
|
||||
})
|
||||
});
|
||||
serializationContext.onParseElement = (element: AC.CardElement, _source: any, _sercontext: AC.SerializationContext) => {
|
||||
let violations: Array<string> = [];
|
||||
|
||||
if (_sercontext.eventCount > 0) {
|
||||
|
||||
for (let errorIndex = 0; errorIndex < _sercontext.eventCount; errorIndex++) {
|
||||
const errorItem: AC.IValidationEvent = _sercontext.getEventAt(errorIndex);
|
||||
violations.push(errorItem.message);
|
||||
}
|
||||
|
||||
if (this.props.onParseError) {
|
||||
this.props.onParseError(violations);
|
||||
}
|
||||
}
|
||||
|
||||
this.setState({
|
||||
errors: violations
|
||||
});
|
||||
};
|
||||
|
||||
// Parse the card payload
|
||||
adaptiveCard.parse(card, serializationContext);
|
||||
|
||||
// Empty the div so we can replace it
|
||||
while (this._acContainer.firstChild) {
|
||||
@ -190,7 +199,7 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
* Adjust Adaptive Card colors based on theme colors
|
||||
* @param adaptiveCard the Adaptive Cards for which you want to adjust the theme colors
|
||||
*/
|
||||
private _adjustThemeColors(adaptiveCard: AdaptiveCards.AdaptiveCard) {
|
||||
private _adjustThemeColors(adaptiveCard: AC.AdaptiveCard) {
|
||||
// Get the theme colors from the props -- if any
|
||||
const { semanticColors }: IReadonlyTheme = this.props.themeVariant;
|
||||
|
||||
@ -200,7 +209,7 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
// Host Config defines the style and behavior of a card
|
||||
|
||||
// I mapped as many theme colors as I could. Feel free to adjust the colours
|
||||
adaptiveCard.hostConfig = new AdaptiveCards.HostConfig({
|
||||
adaptiveCard.hostConfig = new AC.HostConfig({
|
||||
"separator": {
|
||||
"lineThickness": 1,
|
||||
"lineColor": semanticColors.bodyFrameDivider
|
||||
@ -232,9 +241,12 @@ export class AdaptiveCard extends React.Component<IAdaptiveCardProps, IAdaptiveC
|
||||
}
|
||||
}
|
||||
|
||||
private _errorHandler(error: string) {
|
||||
private _errorHandler(errors: string[]) {
|
||||
if (this.props.onParseError && errors.length > 0) {
|
||||
this.props.onParseError(errors);
|
||||
}
|
||||
this.setState({
|
||||
errors: [error]
|
||||
errors: errors
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -2,12 +2,44 @@ import { IReadonlyTheme } from '@microsoft/sp-component-base';
|
||||
import { IAdaptiveCardActionResult } from './IAdaptiveCardActionResult';
|
||||
|
||||
export interface IAdaptiveCardProps {
|
||||
/**
|
||||
* The theme variant of the current host section
|
||||
*/
|
||||
themeVariant?: IReadonlyTheme | undefined;
|
||||
|
||||
/**
|
||||
* The Adaptive Card template
|
||||
*/
|
||||
template: string;
|
||||
|
||||
/**
|
||||
* The data JSON, if using Adapive Card templating
|
||||
*/
|
||||
data: string;
|
||||
|
||||
/**
|
||||
* Whether we should use Adaptive Card templating?
|
||||
* True will use the data property, false will use the template property
|
||||
*/
|
||||
useTemplating: boolean;
|
||||
|
||||
/**
|
||||
* The CSS classname to use for the rendering the Adaptive Card
|
||||
*/
|
||||
className?: string;
|
||||
|
||||
/**
|
||||
* If an action is triggered, this will be the result of the action
|
||||
*/
|
||||
onExecuteAction?: (action: IAdaptiveCardActionResult) => void;
|
||||
onParseSuccess?: () => void;
|
||||
|
||||
/**
|
||||
* Get notified where an error is found in the Adaptive Card
|
||||
*/
|
||||
onParseError?: (errors: Array<string>) => void;
|
||||
|
||||
/**
|
||||
* The template or function to use when an error is found in the Adaptive Card
|
||||
*/
|
||||
errorTemplate?: JSX.Element | Function;
|
||||
}
|
||||
|
@ -1,18 +1,22 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-web-part-manifest.schema.json",
|
||||
"id": "778241d6-2ee8-47c8-857a-df3a3b1f1302",
|
||||
"id": "16f46d20-f1db-4464-9516-7b23db8b069d",
|
||||
"alias": "AdaptiveCardHostWebPart",
|
||||
"componentType": "WebPart",
|
||||
"supportsThemeVariants": true,
|
||||
|
||||
// The "*" signifies that the version should be taken from the package.json
|
||||
"version": "*",
|
||||
"manifestVersion": 2,
|
||||
"supportsThemeVariants": true,
|
||||
|
||||
// If true, the component can only be installed on sites where Custom Script is allowed.
|
||||
// Components that allow authors to embed arbitrary script code should set this to true.
|
||||
// https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
|
||||
"requiresCustomScript": false,
|
||||
"supportedHosts": ["SharePointWebPart"],
|
||||
|
||||
"preconfiguredEntries": [{
|
||||
"groupId": "5c03119e-3074-46fd-976b-c60198311f70",
|
||||
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
|
||||
"group": { "default": "Other" },
|
||||
"title": { "default": "Adaptive Card Host" },
|
||||
"description": { "default": "Displays Adaptive Cards within SharePoint" },
|
||||
|
@ -1,10 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import * as ReactDom from 'react-dom';
|
||||
import { Version } from '@microsoft/sp-core-library';
|
||||
import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';
|
||||
import { DisplayMode } from '@microsoft/sp-core-library';
|
||||
import { HttpClient, HttpClientResponse } from '@microsoft/sp-http';
|
||||
|
||||
// Used for property pane
|
||||
import {
|
||||
IPropertyPaneConfiguration,
|
||||
@ -13,6 +9,14 @@ import {
|
||||
PropertyPaneTextField
|
||||
} from '@microsoft/sp-property-pane';
|
||||
|
||||
import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';
|
||||
import { DisplayMode } from '@microsoft/sp-core-library';
|
||||
import { HttpClient, HttpClientResponse } from '@microsoft/sp-http';
|
||||
|
||||
import * as strings from 'AdaptiveCardHostWebPartStrings';
|
||||
import AdaptiveCardHost from './components/AdaptiveCardHost';
|
||||
import { IAdaptiveCardHostProps } from './components/IAdaptiveCardHostProps';
|
||||
|
||||
// Used to select which list
|
||||
import { PropertyFieldListPicker, PropertyFieldListPickerOrderBy } from '@pnp/spfx-property-controls/lib/PropertyFieldListPicker';
|
||||
|
||||
@ -35,13 +39,6 @@ import '@pnp/sp/lists';
|
||||
import "@pnp/sp/views";
|
||||
//import '@pnp/sp/items';
|
||||
|
||||
// Used for localizations
|
||||
import * as strings from 'AdaptiveCardHostWebPartStrings';
|
||||
|
||||
// Used to render adaptive cards
|
||||
import AdaptiveCardHost from './components/AdaptiveCardHost';
|
||||
import { IAdaptiveCardHostProps } from './components/IAdaptiveCardHostProps';
|
||||
|
||||
export type TemplateSourceType = 'json' | 'url';
|
||||
export type DataSourceType = 'list' | 'json' | 'url';
|
||||
|
||||
@ -92,6 +89,7 @@ export interface IAdaptiveCardHostWebPartProps {
|
||||
dataUrl: string | undefined;
|
||||
}
|
||||
|
||||
|
||||
export default class AdaptiveCardHostWebPart extends BaseClientSideWebPart<IAdaptiveCardHostWebPartProps> {
|
||||
private _themeProvider: ThemeProvider;
|
||||
private _themeVariant: IReadonlyTheme | undefined;
|
||||
@ -123,11 +121,11 @@ export default class AdaptiveCardHostWebPart extends BaseClientSideWebPart<IAdap
|
||||
await this._loadDataFromUrl();
|
||||
}
|
||||
|
||||
public async render(): Promise<void> {
|
||||
const templateJson: string = this.properties.templateSource === 'url' && this.properties.templateUrl ? this._templateJSON: this.properties.template;
|
||||
public render(): void {
|
||||
const templateJson: string = this.properties.templateSource === 'url' && this.properties.templateUrl ? this._templateJSON : this.properties.template;
|
||||
|
||||
const dataJson: string = (this.properties.dataSource === 'list' && this.properties.list && this.properties.view) ||
|
||||
(this.properties.dataSource === 'url' && this.properties.dataUrl) ? this._dataJSON : this.properties.data;
|
||||
(this.properties.dataSource === 'url' && this.properties.dataUrl) ? this._dataJSON : this.properties.data;
|
||||
|
||||
// The Adaptive Card control does not care where the template and data are coming from.
|
||||
// Pass a valid template JSON and -- if using -- some data JSON
|
||||
@ -159,7 +157,7 @@ export default class AdaptiveCardHostWebPart extends BaseClientSideWebPart<IAdap
|
||||
* we load it dynamically only when we need to display the property pane.
|
||||
*
|
||||
*/
|
||||
protected async loadPropertyPaneResources(): Promise<void> {
|
||||
protected async loadPropertyPaneResources(): Promise<void> {
|
||||
// load the property field code editor asynchronously
|
||||
const codeEditor = await import(
|
||||
'@pnp/spfx-property-controls/lib/PropertyFieldCodeEditor'
|
||||
@ -189,7 +187,6 @@ export default class AdaptiveCardHostWebPart extends BaseClientSideWebPart<IAdap
|
||||
language: PropertyFieldCodeEditorLanguages.JSON
|
||||
});
|
||||
}
|
||||
|
||||
protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration {
|
||||
const isTemplateJSONBound: boolean = this.properties.templateSource === 'json';
|
||||
const isTemplateUrlBound: boolean = this.properties.templateSource === 'url';
|
||||
|
@ -14,6 +14,8 @@ import { MessageBar, MessageBarType, MessageBarButton } from 'office-ui-fabric-r
|
||||
// Localization
|
||||
import * as strings from 'AdaptiveCardHostWebPartStrings';
|
||||
|
||||
import { DisplayMode } from '@microsoft/sp-core-library';
|
||||
|
||||
export default class AdaptiveCardHost extends React.Component<IAdaptiveCardHostProps, {}> {
|
||||
|
||||
/**
|
||||
@ -70,6 +72,7 @@ export default class AdaptiveCardHost extends React.Component<IAdaptiveCardHostP
|
||||
>
|
||||
{strings.AdaptingTemplatingWarningIntro}<a href={strings.AdaptiveCardTemplatingMoreInfoLinkUrl} target='_blank'>{strings.AdaptiveCardTemplating}</a>{strings.AdaptiveCardWarningPartTwo}<strong>{strings.UseAdaptiveTemplatingLabel}</strong>{strings.AdaptiveTemplatingEnd}
|
||||
</MessageBar>}
|
||||
|
||||
<AdaptiveCard
|
||||
template={template}
|
||||
data={data}
|
||||
@ -77,6 +80,22 @@ export default class AdaptiveCardHost extends React.Component<IAdaptiveCardHostP
|
||||
themeVariant={themeVariant}
|
||||
onExecuteAction={this._executeActionHandler}
|
||||
className={styles.adaptiveCardHost}
|
||||
onParseError={(errors: string[]) => {
|
||||
console.log("Errors parsing adpative cards", errors);
|
||||
}}
|
||||
errorTemplate={(errors: string[]) => {
|
||||
if (this.props.displayMode === DisplayMode.Edit) {
|
||||
return (
|
||||
<MessageBar messageBarType={MessageBarType.error} isMultiline={true}>
|
||||
{strings.AdaptiveCardErrorIntro}<br />
|
||||
{errors.map((error: string) => {
|
||||
return <p>{error}</p>;
|
||||
})}
|
||||
</MessageBar>);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}}
|
||||
/></>);
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 383 B |
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user