This commit is contained in:
ReactIntern 2021-09-22 19:23:57 -04:00
commit 36f9980d8b
885 changed files with 475514 additions and 68911 deletions

View File

@ -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:

View File

@ -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:

View File

@ -1,10 +1,16 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions
# Actions taken when the `incomplete-submission` label is added to issues
incomplete-submission:
status:invalid-issue:
# Post a comment
comment: >
Thank you for your submission, but there isn't enough detail in the issue for us to review & move forward. The new issue template includes sections for you to fill out. Please resubmit your issue and complete the provided sections in the new item template so we can move forward on it refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-Create-Good-Issues)
Thank you for your submission, but there isn't enough detail in the issue for us to review & move forward.
The new issue template includes sections for you to fill out.
Please resubmit your issue and complete the provided sections in the new item template so we can move forward on it refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-Create-Good-Issues)
# Close the issue
close: true
@ -12,7 +18,34 @@ incomplete-submission:
status:incomplete-submission:
# Post a comment
comment: >
Thank you for your submission, but there isn't enough detail in the issue for us to review & move forward. The new issue template includes sections for you to fill out. Please resubmit your issue and complete the provided sections in the new item template so we can move forward on it refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-Create-Good-Issues)
Thank you for your submission, but there isn't enough detail in the issue for us to review & move forward.
The new issue template includes sections for you to fill out. Please resubmit your issue and complete the provided sections in the new item template so we can move forward on it refer to our wiki for more information: [How to Create Good Issues](https://github.com/pnp/sp-dev-fx-webparts/wiki/How-to-Create-Good-Issues)
# Close the issue
close: true
# Actions taken when the `wrong-repo` label is added to issues
status:wrong-repo:
# Post a comment
comment: >
Thank you for your submission, but this issues list is intended only for issues related to the samples in this repository.
For general SPFx development issues, you may want to try to create issues in the [SP-Dev-Docs repository](https://github.com/SharePoint/sp-dev-docs/issues/new)
# Close the issue
close: true
# Dealing with wrong versions of Node issues
status:node-compatibility:
# Post a comment
comment: >
Thank you for your issue. It looks like the web part sample you're trying to use is not compatible with the version of Node.js that you're running in your environment.
Please refer to the [SPFx Compatibility Matrix](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/compatibility) to make sure that you're using a version of Node.js that is compatible with the version of SPFx the sample uses.
We'll close this issue, but if you run into further issues after you have made changes to your environment, please do not hesitate to open a new issue so we can help you further.
# Close the issue
close: true

View File

@ -1,19 +0,0 @@
name: 'Welcome new contributors'
on: [pull_request]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: |
Thank you for submitting your first pull request!
We love 💖 celebrating the awesome work our contributors do on social media and community calls; Make sure that you update your GitHub user profile with your Twitter user name, your company name, and your picture.
If you don't use a company name or Twitter account, we will assume that you prefer not to mention you on social media and/or that you do not want your company name listed.
Thank you for being awesome 🚀!

View File

@ -56,7 +56,7 @@ When you submit a new sample, please follow these guidelines:
### README.md
* You will need to have a `README.md` file for your contribution, which is based on [the provided template](../samples/README-template.md) under the `samples` folder. Please copy this template to your project and update it accordingly. Your `README.md` must be named exactly `README.md` -- with capital letters -- as this is the information we use to make your sample public.
* You will need to have a `README.md` file for your contribution, which is based on [the provided template](../main/samples/README-template.md) under the `samples` folder. Please copy this template to your project and update it accordingly. Your `README.md` must be named exactly `README.md` -- with capital letters -- as this is the information we use to make your sample public.
* You will need to have a screenshot picture of your sample in action in the `README.md` file ("pics or it didn't happen"). The preview image must be located in the `assets` folder in the root of your sample folder.
* All screen shots must be located in the `assets` folder. Do not point to your own repository or any other external source
* The README template contains a specific tracking image at the end of the file with an `img` element pointing to `https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/readme-template`. This is a transparent image which is used to track how many visits each sample receives in GitHub.

View File

@ -24,18 +24,21 @@ Short summary on functionality and used technologies.
## 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 | Hosted](https://img.shields.io/badge/Workbench-Local%20%7C%20Hosted-green.svg)
> Don't worry if you're unsure about the compatibility matrix above. We'll verify it when we approve the PR.
>
> If using an older version of SPFx, update the SPFx compatibility tag accordingly:
> ![SPFx 1.4.1](https://img.shields.io/badge/SPFx-1.4.1-green.svg)
> If using an older version of SPFx, update the SPFx and Node.js compatibility tag accordingly:
> SPFx 1.11
> ![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)
>
> Here's the Node.js compatibility tag for SPFx 1.4.1:
> SPFx 1.4.1
> ![SPFx 1.4.1](https://img.shields.io/badge/SPFx-1.4.1-green.svg)
> ![Node.js LTS 6.x | LTS 8.x](https://img.shields.io/badge/Node.js-LTS%206.x%20%7C%20LTS%208.x-green.svg)
>
> If you built this sample specifically for SharePoint 2016, or SharePoint 2019 support, update the SharePoint compatibility tag accordingly:
@ -113,9 +116,9 @@ This Web Part illustrates the following concepts on top of the SharePoint Framew
**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.**
## Support
## Help
We do not support samples, but we do use GitHub to track issues and constantly want to improve these samples.
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=YOUR-SOLUTION-NAME&authors=@YOURGITHUBUSERNAME&title=YOUR-SOLUTION-NAME%20-%20).
@ -123,4 +126,4 @@ For questions regarding this sample, [create a new question](https://github.com/
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=YOUR-SOLUTION-NAME&authors=@YOURGITHUBUSERNAME&title=YOUR-SOLUTION-NAME%20-%20).
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/YOUR-SOLUTION-NAME" />
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/YOUR-SOLUTION-NAME" />

View File

@ -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"
@ -1554,10 +1565,6 @@ commander@2.9.x, commander@^2.5.0, commander@^2.7.1, commander@^2.9.0:
dependencies:
graceful-readlink ">= 1.0.0"
commander@~2.20.3:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
commoner@^0.10.1:
version "0.10.8"
resolved "https://registry.yarnpkg.com/commoner/-/commoner-0.10.8.tgz#34fc3672cd24393e8bb47e70caa0293811f4f2c5"
@ -2703,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"
@ -2879,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"
@ -2962,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"
@ -3205,12 +3227,13 @@ gulplog@^1.0.0:
glogg "^1.0.0"
handlebars@^4.0.1:
version "4.5.3"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482"
version "4.7.7"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
dependencies:
minimist "^1.2.5"
neo-async "^2.6.0"
optimist "^0.6.1"
source-map "^0.6.1"
wordwrap "^1.0.0"
optionalDependencies:
uglify-js "^3.1.4"
@ -3307,8 +3330,8 @@ homedir-polyfill@^1.0.0:
parse-passwd "^1.0.0"
hosted-git-info@^2.1.4:
version "2.4.2"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.2.tgz#0076b9f46a270506ddbaaea56496897460612a67"
version "2.8.9"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
html-comment-regex@^1.1.0:
version "1.1.1"
@ -3441,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"
@ -4512,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:
@ -4539,9 +4566,9 @@ minimist@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.2.0.tgz#4dffe525dae2b864c66c2e23c6271d7afdecefce"
minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
minimist@~0.0.1:
version "0.0.10"
@ -4557,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"
@ -4644,8 +4677,8 @@ negotiator@0.6.1:
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
neo-async@^2.6.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
version "2.6.2"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
no-case@^2.2.0:
version "2.3.1"
@ -4894,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"
@ -5065,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"
@ -5936,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:
@ -6220,7 +6265,7 @@ source-map@^0.1.41, source-map@~0.1.33:
dependencies:
amdefine ">=0.0.4"
source-map@^0.6.1, source-map@~0.6.1:
source-map@^0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
@ -6456,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:
@ -6661,8 +6706,8 @@ typescript@~2.1.4:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.1.6.tgz#40c7e6e9e5da7961b7718b55505f9cac9487a607"
ua-parser-js@^0.7.9:
version "0.7.12"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.12.tgz#04c81a99bdd5dc52263ea29d24c6bf8d4818a4bb"
version "0.7.28"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.28.tgz#8ba04e653f35ce210239c64661685bf9121dec31"
uglify-js@^2.6.4, uglify-js@~2.7.3:
version "2.7.5"
@ -6674,11 +6719,8 @@ uglify-js@^2.6.4, uglify-js@~2.7.3:
yargs "~3.10.0"
uglify-js@^3.1.4:
version "3.7.3"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.7.3.tgz#f918fce9182f466d5140f24bb0ff35c2d32dcc6a"
dependencies:
commander "~2.20.3"
source-map "~0.6.1"
version "3.13.5"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.13.5.tgz#5d71d6dbba64cf441f32929b1efce7365bb4f113"
uglify-js@~2.8.22:
version "2.8.23"

View File

@ -30,3 +30,6 @@ obj
# Styles Generated Code
*.scss.ts
#Release
release

View File

@ -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",

View File

@ -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" />

View File

@ -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": [

View File

@ -1,4 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
"deployCdnPath": "temp/deploy"
"deployCdnPath": "./release/assets/"
}

View File

@ -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 -->"

View File

@ -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"

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,104 @@
{
"bundles": {
"greetings-webpart-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": "974a7777-0990-4136-8fa6-95d80114c2e0",
"componentName": "@microsoft/sp-webpart-base",
"componentVersion": "1.12.1",
"isDirectDependency": true
},
{
"componentId": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
"componentName": "@microsoft/sp-component-base",
"componentVersion": "1.12.1",
"isDirectDependency": false
}
]
}
}
}

View File

@ -0,0 +1,69 @@
{
"id": "795ddcba-0fda-4d13-8bfe-8c5d4222ef59",
"alias": "GreetingsWebpartWebPart",
"componentType": "WebPart",
"version": "0.0.1",
"manifestVersion": 2,
"requiresCustomScript": false,
"supportedHosts": [
"SharePointWebPart"
],
"preconfiguredEntries": [
{
"groupId": "5c03119e-3074-46fd-976b-c60198311f70",
"group": {
"default": "Other"
},
"title": {
"default": "Greetings Webpart"
},
"description": {
"default": "Greetings Webpart description"
},
"officeFabricIconFontName": "Page",
"properties": {
"description": "Greetings Webpart"
}
}
],
"loaderConfig": {
"internalModuleBaseUrls": [
"<!-- PATH TO CDN -->"
],
"entryModuleId": "greetings-webpart-web-part",
"scriptResources": {
"greetings-webpart-web-part": {
"type": "path",
"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",
"id": "f9e737b7-f0df-4597-ba8c-3060f82380db",
"version": "1.12.1"
},
"@microsoft/sp-core-library": {
"type": "component",
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
"version": "1.12.1"
},
"GreetingsWebpartWebPartStrings": {
"type": "path",
"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"
}
}
}
}

View File

@ -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"
]
}

View File

@ -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,

View File

@ -612,10 +612,6 @@
version "0.4.31"
resolved "https://registry.yarnpkg.com/@types/chalk/-/chalk-0.4.31.tgz#a31d74241a6b1edbb973cf36d97a2896834a51f9"
"@types/color-name@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
"@types/colors@1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/colors/-/colors-1.1.1.tgz#49733928fb47cf11254b7611e2f6f85ff6020521"
@ -997,10 +993,6 @@ ansi-regex@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
ansi-regex@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
ansi-styles@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de"
@ -1015,13 +1007,6 @@ ansi-styles@^3.1.0:
dependencies:
color-convert "^1.0.0"
ansi-styles@^4.0.0:
version "4.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359"
dependencies:
"@types/color-name" "^1.1.1"
color-convert "^2.0.1"
ansi-wrap@0.1.0, ansi-wrap@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"
@ -1277,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"
@ -1459,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"
@ -1662,10 +1654,6 @@ camelcase@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
camelcase@^5.0.0:
version "5.3.1"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
caniuse-api@^1.5.2:
version "1.6.1"
resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-1.6.1.tgz#b534e7c734c4f81ec5fbe8aca2ad24354b962c6c"
@ -1829,14 +1817,6 @@ cliui@^3.2.0:
strip-ansi "^3.0.1"
wrap-ansi "^2.0.0"
cliui@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
dependencies:
string-width "^4.2.0"
strip-ansi "^6.0.0"
wrap-ansi "^6.2.0"
clone-buffer@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58"
@ -1896,20 +1876,10 @@ color-convert@^1.0.0, color-convert@^1.3.0:
dependencies:
color-name "^1.1.1"
color-convert@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
dependencies:
color-name "~1.1.4"
color-name@^1.0.0, color-name@^1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d"
color-name@~1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
color-string@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991"
@ -1962,10 +1932,6 @@ commander@^2.7.1, commander@^2.9.0, commander@~2.11.0:
version "2.11.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
commander@~2.20.3:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
component-bind@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1"
@ -2450,7 +2416,7 @@ debug@^3.2.6:
dependencies:
ms "^2.1.1"
decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0:
decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@ -2658,10 +2624,6 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"
emoji-regex@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
emojis-list@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
@ -3297,13 +3259,6 @@ find-up@^2.0.0:
dependencies:
locate-path "^2.0.0"
find-up@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
dependencies:
locate-path "^5.0.0"
path-exists "^4.0.0"
findup-sync@^0.4.2:
version "0.4.3"
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.3.tgz#40043929e7bc60adf0b7f4827c4c6e75a0deca12"
@ -3472,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"
@ -3530,10 +3485,6 @@ get-caller-file@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5"
get-caller-file@^2.0.1:
version "2.0.5"
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
get-stdin@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
@ -3667,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:
@ -3678,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"
@ -3772,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"
@ -4014,12 +3980,13 @@ gulplog@^1.0.0:
glogg "^1.0.0"
handlebars@^4.0.1:
version "4.7.4"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.4.tgz#902c579cc97b350bb4bc12e6cabd85b57dcd9975"
version "4.7.7"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
dependencies:
minimist "^1.2.5"
neo-async "^2.6.0"
source-map "^0.6.1"
yargs "^15.3.1"
wordwrap "^1.0.0"
optionalDependencies:
uglify-js "^3.1.4"
@ -4184,8 +4151,8 @@ homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1:
parse-passwd "^1.0.0"
hosted-git-info@^2.1.4:
version "2.5.0"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c"
version "2.8.9"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
html-comment-regex@^1.1.0:
version "1.1.1"
@ -4335,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"
@ -4493,10 +4460,6 @@ is-fullwidth-code-point@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
is-fullwidth-code-point@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
is-glob@^2.0.0, is-glob@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863"
@ -5053,12 +5016,6 @@ locate-path@^2.0.0:
p-locate "^2.0.0"
path-exists "^3.0.0"
locate-path@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
dependencies:
p-locate "^4.1.0"
lodash._baseassign@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e"
@ -5670,9 +5627,9 @@ minimist@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.2.0.tgz#4dffe525dae2b864c66c2e23c6271d7afdecefce"
minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0:
version "2.9.0"
@ -5700,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"
@ -5820,8 +5783,8 @@ negotiator@0.6.1:
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
neo-async@^2.5.0, neo-async@^2.6.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
version "2.6.2"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
next-tick@~1.0.0:
version "1.0.0"
@ -6149,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"
@ -6243,32 +6212,16 @@ p-limit@^1.1.0:
dependencies:
p-try "^1.0.0"
p-limit@^2.2.0:
version "2.2.2"
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e"
dependencies:
p-try "^2.0.0"
p-locate@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
dependencies:
p-limit "^1.1.0"
p-locate@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
dependencies:
p-limit "^2.2.0"
p-try@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3"
p-try@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
package-json@^2.0.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/package-json/-/package-json-2.4.0.tgz#0d15bd67d1cbbddbb2ca222ff2edb86bcb31a8bb"
@ -6378,10 +6331,6 @@ path-exists@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
path-exists@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
path-is-absolute@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@ -6394,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"
@ -7415,10 +7360,6 @@ require-main-filename@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
require-main-filename@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
requirejs@2.1.20:
version "2.1.20"
resolved "https://registry.yarnpkg.com/requirejs/-/requirejs-2.1.20.tgz#114822c917ec8793450b2daaa1eb9bbf1101e931"
@ -7471,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"
@ -7483,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"
@ -7506,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"
@ -8000,14 +7947,6 @@ string-width@^2.0.0:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
string-width@^4.1.0, string-width@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.0"
string_decoder@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
@ -8052,12 +7991,6 @@ strip-ansi@^4.0.0:
dependencies:
ansi-regex "^3.0.0"
strip-ansi@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"
dependencies:
ansi-regex "^5.0.0"
strip-bom-stream@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz#e7144398577d51a6bed0fa1994fa05f43fd988ee"
@ -8176,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:
@ -8473,13 +8406,9 @@ typescript@~2.4.1:
version "2.4.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.2.tgz#f8395f85d459276067c988aa41837a8f82870844"
ua-parser-js@^0.7.18:
version "0.7.21"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777"
ua-parser-js@^0.7.9:
version "0.7.13"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.13.tgz#cd9dd2f86493b3f44dbeeef3780fda74c5ee14be"
ua-parser-js@^0.7.18, ua-parser-js@^0.7.9:
version "0.7.28"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.28.tgz#8ba04e653f35ce210239c64661685bf9121dec31"
uglify-js@3.0.x:
version "3.0.24"
@ -8498,11 +8427,8 @@ uglify-js@^2.8.29:
uglify-to-browserify "~1.0.0"
uglify-js@^3.1.4:
version "3.8.1"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.8.1.tgz#43bb15ce6f545eaa0a64c49fd29375ea09fa0f93"
dependencies:
commander "~2.20.3"
source-map "~0.6.1"
version "3.13.5"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.13.5.tgz#5d71d6dbba64cf441f32929b1efce7365bb4f113"
uglify-js@~3.0.28:
version "3.0.28"
@ -9008,14 +8934,6 @@ wrap-ansi@^2.0.0:
string-width "^1.0.1"
strip-ansi "^3.0.1"
wrap-ansi@^6.2.0:
version "6.2.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"
wrappy@1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@ -9092,10 +9010,6 @@ y18n@^3.2.1:
version "3.2.2"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696"
y18n@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
yallist@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
@ -9104,13 +9018,6 @@ yallist@^3.0.0, yallist@^3.0.3:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
yargs-parser@^18.1.1:
version "18.1.2"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.2.tgz#2f482bea2136dbde0861683abea7756d30b504f1"
dependencies:
camelcase "^5.0.0"
decamelize "^1.2.0"
yargs-parser@^2.4.0:
version "2.4.1"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-2.4.1.tgz#85568de3cf150ff49fa51825f03a8c880ddcc5c4"
@ -9130,22 +9037,6 @@ yargs-parser@^7.0.0:
dependencies:
camelcase "^4.1.0"
yargs@^15.3.1:
version "15.3.1"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b"
dependencies:
cliui "^6.0.0"
decamelize "^1.2.0"
find-up "^4.1.0"
get-caller-file "^2.0.1"
require-directory "^2.1.1"
require-main-filename "^2.0.0"
set-blocking "^2.0.0"
string-width "^4.2.0"
which-module "^2.0.0"
y18n "^4.0.0"
yargs-parser "^18.1.1"
yargs@^7.0.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8"

View File

@ -7575,9 +7575,9 @@
}
},
"handlebars": {
"version": "4.7.6",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz",
"integrity": "sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==",
"version": "4.7.7",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
"integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
"dev": true,
"requires": {
"minimist": "^1.2.5",
@ -7796,9 +7796,9 @@
}
},
"hosted-git-info": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
"integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
"version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
"dev": true
},
"html-comment-regex": {
@ -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": {
@ -16503,9 +16503,9 @@
"dev": true
},
"ua-parser-js": {
"version": "0.7.19",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.19.tgz",
"integrity": "sha512-T3PVJ6uz8i0HzPxOF9SWzWAlfN/DavlpQqepn22xgve/5QecC+XMCAtmUNnY7C9StehaV6exjUCI801lOI7QlQ=="
"version": "0.7.28",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz",
"integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g=="
},
"uglify-js": {
"version": "3.4.9",

View 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

View File

@ -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

View File

@ -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"

View File

@ -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
},

View File

@ -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

View File

@ -1 +0,0 @@
//# sourceMappingURL=index.d.ts.map

View File

@ -1 +0,0 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}

View File

@ -1 +0,0 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wFAAwF"}

View File

@ -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

View File

@ -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"}

View File

@ -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

View File

@ -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

View File

@ -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"}

View File

@ -1 +0,0 @@
//# sourceMappingURL=IReactAccordionProps.js.map

View File

@ -1 +0,0 @@
{"version":3,"file":"IReactAccordionProps.js","sourceRoot":"","sources":["../../../../src/webparts/reactAccordion/components/IReactAccordionProps.ts"],"names":[],"mappings":""}

View File

@ -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

View File

@ -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"}

View File

@ -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

View File

@ -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"}

View File

@ -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== */

View File

@ -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

View File

@ -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"}

View File

@ -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

View File

@ -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"}

View File

@ -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;
}
}

View File

@ -1,7 +0,0 @@
define([], function() {
return {
"PropertyPaneDescription": "",
"BasicGroupName": "Settings",
"DescriptionFieldLabel": "Accordion Section"
}
});

File diff suppressed because it is too large Load Diff

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,7 +0,0 @@
define([], function() {
return {
"PropertyPaneDescription": "",
"BasicGroupName": "Settings",
"DescriptionFieldLabel": "Accordion Section"
}
});

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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,

View File

@ -7,6 +7,8 @@ export interface IReactAccordionProps {
selectedChoice: string;
accordianTitleColumn: string;
accordianContentColumn: string;
accordianSortColumn: string;
isSortDescending: boolean;
allowZeroExpanded: boolean;
allowMultipleExpanded: boolean;
displayMode: DisplayMode;

View File

@ -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

View File

@ -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"
]
]
}

View File

@ -9,6 +9,7 @@ node_modules
# Build generated files
dist
lib
release
solution
temp
*.sppkg

View File

@ -1,10 +0,0 @@
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
}

View File

@ -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!"
}
]
}

View File

@ -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"
}
}
}

View File

@ -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

View File

@ -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",

View File

@ -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"
}
}
}

View File

@ -1,4 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
"deployCdnPath": "temp/deploy"
"deployCdnPath": "./release/assets/"
}

View File

@ -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 -->"
}

View File

@ -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"
}
}

View File

@ -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'));

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}

View File

@ -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
}
]
}
}
}

View File

@ -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"
}
}
}
}

View File

@ -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
});
}
}

View File

@ -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;
}

View File

@ -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" },

View File

@ -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';

Some files were not shown because too many files have changed in this diff Show More