diff --git a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Components/Header/Default.cshtml b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Components/Header/Default.cshtml
index c3d877b425..8c25d6592b 100644
--- a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Components/Header/Default.cshtml
+++ b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Components/Header/Default.cshtml
@@ -26,8 +26,7 @@
Github
-
diff --git a/abp_io/src/Volo.AbpWebSite.Web/package-lock.json b/abp_io/src/Volo.AbpWebSite.Web/package-lock.json
new file mode 100644
index 0000000000..5e26238da6
--- /dev/null
+++ b/abp_io/src/Volo.AbpWebSite.Web/package-lock.json
@@ -0,0 +1,2758 @@
+{
+ "name": "volo.aspnetzero.support",
+ "version": "0.1.0",
+ "lockfileVersion": 1,
+ "requires": true,
+ "dependencies": {
+ "@abp/anchor-js": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@abp/anchor-js/-/anchor-js-0.5.1.tgz",
+ "integrity": "sha512-9N/iPP9tDdq9lKRNFQuqRL+QYSv5fq789KgHHGG1/MqExJ6KTPcqUDHvQ53kz96pUgJA+Fyn3dpwgPqLVYI3Yg==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "anchor-js": "^4.1.1"
+ }
+ },
+ "@abp/aspnetcore.mvc.ui": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-0.4.9.tgz",
+ "integrity": "sha512-AveMEi6WRQmD1tM9yVNLAe6ffcbtoL3ZGQKTPA95Q+dy5xBXVg4Y8jdhxawNPK64KYArhfrVkQDfa4mq3pW5Qw==",
+ "requires": {
+ "ansi-colors": "^1.1.0",
+ "extend-object": "^1.0.0",
+ "gulp": "^3.9.1",
+ "merge-stream": "^1.0.1",
+ "path": "^0.12.7",
+ "rimraf": "^2.6.2"
+ }
+ },
+ "@abp/aspnetcore.mvc.ui.theme.basic": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-0.4.9.tgz",
+ "integrity": "sha512-g3Zby8x8+vWw3oTJsSPasjm4tv7BG4270PEf7jK9w925+lIyKYHn6UxOcFbSU2pi9mJTnaF+Fk/rScIcdxwZZw==",
+ "requires": {
+ "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.9"
+ }
+ },
+ "@abp/aspnetcore.mvc.ui.theme.shared": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-0.4.9.tgz",
+ "integrity": "sha512-Fe4UfQ215Pz2V6D5HUYhDJFeJWjKLcv2gsZfOheWLlOBgYh274pdnUIwceoZ4Btpa9aPECLG+LAH4dTbs8vjRg==",
+ "requires": {
+ "@abp/aspnetcore.mvc.ui": "^0.4.9",
+ "@abp/bootstrap": "^0.4.9",
+ "@abp/datatables.net-bs4": "^0.4.9",
+ "@abp/font-awesome": "^0.4.9",
+ "@abp/jquery-form": "^0.4.9",
+ "@abp/jquery-validation-unobtrusive": "^0.4.9",
+ "@abp/lodash": "^0.4.9",
+ "@abp/select2": "^0.4.9",
+ "@abp/sweetalert": "^0.4.9",
+ "@abp/timeago": "^0.4.9",
+ "@abp/toastr": "^0.4.9"
+ }
+ },
+ "@abp/blogging": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/blogging/-/blogging-0.4.9.tgz",
+ "integrity": "sha512-cMFLekebHCM1ZAGPxcli3yzEy0kq1nV8ZuV9JbaczoiC/KDOnBp8CWq61CwLxgnfZpVIO5RTdtDye9pDtBJdmg==",
+ "requires": {
+ "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.9",
+ "@abp/owl.carousel": "^0.4.9",
+ "@abp/tui-editor": "^0.4.9"
+ }
+ },
+ "@abp/bootstrap": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/bootstrap/-/bootstrap-0.4.9.tgz",
+ "integrity": "sha512-A7lDHo43KnqjINo0xWECx/WzNQe3vqvE3GPv6uXq3KDi+gStQLAFBq3bVcVW/kSxiquDQ/tuCLRpE0qlhoobag==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "bootstrap": "^4.1.1"
+ }
+ },
+ "@abp/clipboard": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@abp/clipboard/-/clipboard-0.5.1.tgz",
+ "integrity": "sha512-efOPloVL0moRqGpAMA7DU5o+vzzu7ipGOFcG9nOfDD6uGY9AsOztFc71GwIFrtwADvJSiJHD6OfEIfR++dCT0w==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "clipboard": "^2.0.4"
+ }
+ },
+ "@abp/codemirror": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/codemirror/-/codemirror-0.4.9.tgz",
+ "integrity": "sha512-bjuKZKLHyBzr6lWZ5Fh4Io/6u0OILkwsB9LJAZ3cHnDkmBEIRlnQBmuGxCkQ3D0sXcFWrLoqb2FAB9djLxCnUQ==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "codemirror": "^5.38.0"
+ }
+ },
+ "@abp/core": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/core/-/core-0.4.9.tgz",
+ "integrity": "sha512-JbibIPDz0w/C9YhexNagMD763qbZCclcHLVlTpKEZUcxzp6rZXwPR6ekh/PnvzD0R7wmHOh+bHl0hs5JSdy3oA=="
+ },
+ "@abp/datatables.net": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/datatables.net/-/datatables.net-0.4.9.tgz",
+ "integrity": "sha512-URimiGMFBusEMo9aAadLFCossbYyrN2R6+6YrQ+heqxdheCPmm2wupsXSFoUBHBhD0tzF4rY+OL//oOg3Wtg4g==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "datatables.net": "^1.10.16"
+ }
+ },
+ "@abp/datatables.net-bs4": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/datatables.net-bs4/-/datatables.net-bs4-0.4.9.tgz",
+ "integrity": "sha512-Dsz0fy2haBz3dl2MLXWjW2bhDBzp1cpWXSXj8TEEzYazjhyoqBy6AiFlEnRCqO49KZD6Ps1cONSRxx4c4On9Lg==",
+ "requires": {
+ "@abp/datatables.net": "^0.4.9",
+ "datatables.net-bs4": "^1.10.16"
+ }
+ },
+ "@abp/docs": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@abp/docs/-/docs-0.5.1.tgz",
+ "integrity": "sha512-3pGYnxZxm2kYPfu2EwDF0QinsNTym2cWlYAo7mVUBuReTPMhwHYtgrE7AX3nCVv1iAo6ltW+mebonGt1s5yXzA==",
+ "requires": {
+ "@abp/anchor-js": "^0.5.1",
+ "@abp/clipboard": "^0.5.1",
+ "@abp/malihu-custom-scrollbar-plugin": "^0.5.1",
+ "@abp/popper.js": "^0.5.1",
+ "@abp/prismjs": "^0.5.1"
+ }
+ },
+ "@abp/font-awesome": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/font-awesome/-/font-awesome-0.4.9.tgz",
+ "integrity": "sha512-H4H/PJeSypoq++jP7eqS3y5jpbPIglUByPymHnho7U84gO06tZBUIoK00zyLACUVLzNztWANhmVqyA6OaHQ6xQ==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "font-awesome": "^4.7.0"
+ }
+ },
+ "@abp/highlight.js": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/highlight.js/-/highlight.js-0.4.9.tgz",
+ "integrity": "sha512-bsXgtOAJ8O4W3AO9arIxwLCC1JZABlZtoB55Pk5WjGiu8mhWiB4+HCXqWtSBE2qXwSLoDBE2FS5KAtIPfGfn+g==",
+ "requires": {
+ "@abp/core": "^0.4.9"
+ }
+ },
+ "@abp/jquery": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/jquery/-/jquery-0.4.9.tgz",
+ "integrity": "sha512-Lte2rfDhcVXRA18mJMyPs0oFoiX/7x10F9cwMyX4+8e9QulA0dg+MjJZ4HIbxRoKvaYPz0AdE5VZ511folFeTg==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "jquery": "^3.3.1"
+ }
+ },
+ "@abp/jquery-form": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/jquery-form/-/jquery-form-0.4.9.tgz",
+ "integrity": "sha512-T1LzHNO+L/ATSfsaSu9H5rq9oUGjjBrwcJBVQhWRuGbB/Nsv1t4CdCPZHqbYBsn3ji/6T9C80FMdL+s4iOfy8A==",
+ "requires": {
+ "@abp/jquery": "^0.4.9",
+ "jquery-form": "^4.2.2"
+ }
+ },
+ "@abp/jquery-validation": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/jquery-validation/-/jquery-validation-0.4.9.tgz",
+ "integrity": "sha512-8C58G9BTYszW6E0EO6NYqXLEbABXt/yGlOqAFCkPiLVfUcoC6uARqkgIgNVnE99ZUeSmluNsYeCczP0Qb0yNzg==",
+ "requires": {
+ "@abp/jquery": "^0.4.9",
+ "jquery-validation": "^1.17.0"
+ }
+ },
+ "@abp/jquery-validation-unobtrusive": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-0.4.9.tgz",
+ "integrity": "sha512-GR62QEPexX4uLcqF3y72V39nlx/70C7ubeaIxS1ZEq+0wGklwAiyq1p19qpB5Cuj2GJL+vFrIig5w+B79P2iAw==",
+ "requires": {
+ "@abp/jquery-validation": "^0.4.9",
+ "jquery-validation-unobtrusive": "^3.2.9"
+ }
+ },
+ "@abp/lodash": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/lodash/-/lodash-0.4.9.tgz",
+ "integrity": "sha512-/itYbXQL145WigKIGpnyWgARml7QGie7xqhC1WZG5iUkdqLx+4YBXesdzGFykthDewiQNz8mB2gPk64d376AAw==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "lodash": "^4.17.10"
+ },
+ "dependencies": {
+ "lodash": {
+ "version": "4.17.11",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
+ "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
+ }
+ }
+ },
+ "@abp/malihu-custom-scrollbar-plugin": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-0.5.1.tgz",
+ "integrity": "sha512-i9XorWsWcqb3tbbiwvE4OQCfXXJO38HlkQgvlwzxshB8xDcS9v/JL5fAAvM/Cr66fB2zybsrCseq9QcBXL+yCQ==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "malihu-custom-scrollbar-plugin": "^3.1.5"
+ }
+ },
+ "@abp/markdown-it": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/markdown-it/-/markdown-it-0.4.9.tgz",
+ "integrity": "sha512-leaY6Iom4zCW9RcZWIZbiYTM8NTmSYSa2Xiq7FW2MzhDCATXbcqV1+EqNAAFBERHAJoq0Hyz2AkIP510L+hz6Q==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "markdown-it": "^8.4.1"
+ }
+ },
+ "@abp/owl.carousel": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/owl.carousel/-/owl.carousel-0.4.9.tgz",
+ "integrity": "sha512-pgRcdbN1u6vaN6wOfNN9z6Id70va93kGTCBNVY43fJec1ghIq/evpBNp29ef5x9b0lcfe4DhmNb3CFaLbikr0w==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "owl.carousel": "^2.3.4"
+ }
+ },
+ "@abp/popper.js": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@abp/popper.js/-/popper.js-0.5.1.tgz",
+ "integrity": "sha512-qS97hQQtG78mVPRvmZZtBb7Vu905NpThl9PN3jPWWDiVbOV2/d+BXCTRhTRbfdup3C5cmGdntjaGxfcxlxHt1Q==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "popper.js": "^1.14.6"
+ }
+ },
+ "@abp/prismjs": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@abp/prismjs/-/prismjs-0.5.1.tgz",
+ "integrity": "sha512-DxoidAVV8LmtgFonbzGJEfszQDUaHEQc+/bcJtyQCuv5l+uflVnpAH+6W8IAErt5N96a0RJbeV9ZBXjIhqOzpA==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "prismjs": "^1.15.0"
+ }
+ },
+ "@abp/select2": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/select2/-/select2-0.4.9.tgz",
+ "integrity": "sha512-AaJHWy9fkP/LqVkruZGfvzgdZXyT96/FpnflUpoNPXjuvVRptkJpd/BQiWjpyjS+qzuZ+m3X9dms0d0lAyFKYA==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "select2": "^4.0.5"
+ }
+ },
+ "@abp/sweetalert": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/sweetalert/-/sweetalert-0.4.9.tgz",
+ "integrity": "sha512-FaxtELo7Um/uasasbOGi1j1XuBtZ819mUo7+6pMSWj2CSAkg2A/RyT9NhYcX8oyGpv188W5CjZfJ1DM0bRH+pQ==",
+ "requires": {
+ "@abp/core": "^0.4.9",
+ "sweetalert": "^2.1.0"
+ }
+ },
+ "@abp/timeago": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/timeago/-/timeago-0.4.9.tgz",
+ "integrity": "sha512-RsAyJCl+rEWQL0q0Nx/ijy+iOBYm5IC5Re6y4SQ1jYF/B4n88GM2PFy6kLrE+HHGl5Z5hkWr5OGXmFem50Y3Wg==",
+ "requires": {
+ "@abp/jquery": "^0.4.9",
+ "timeago": "^1.6.3"
+ }
+ },
+ "@abp/toastr": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/toastr/-/toastr-0.4.9.tgz",
+ "integrity": "sha512-KjnETa1Og5EIMDw/pIxPoKLTABBcsxBN8BqwIG33ya2+BIRfAI7b0lEMoKK+qmwVwI5dkXZlKFGIUmPtb+zVCw==",
+ "requires": {
+ "@abp/jquery": "^0.4.9",
+ "toastr": "^2.1.4"
+ }
+ },
+ "@abp/tui-editor": {
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/@abp/tui-editor/-/tui-editor-0.4.9.tgz",
+ "integrity": "sha512-sIXF/rNX2UyQiDCDmj8pv1FeqtAv9B0NquyBJwWDkaXWQsmJJ3YU/drcJHbzabsYg2tBjzRM/4Bb0+eXYR+Mnw==",
+ "requires": {
+ "@abp/codemirror": "^0.4.9",
+ "@abp/highlight.js": "^0.4.9",
+ "@abp/jquery": "^0.4.9",
+ "@abp/markdown-it": "^0.4.9",
+ "tui-editor": "^1.2.6"
+ }
+ },
+ "almond": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/almond/-/almond-0.3.3.tgz",
+ "integrity": "sha1-oOfJWsdiTWQXtElLHmi/9pMWiiA="
+ },
+ "anchor-js": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/anchor-js/-/anchor-js-4.1.1.tgz",
+ "integrity": "sha512-c2Wl9F1X0C4jkYKLla1SNE2uI6xJrSKsRC7HCCg4yLNQ5sL5D+tDEWrjRaoTuTlMTqBCnF6kOuR3dx59Erxpvw=="
+ },
+ "ansi-colors": {
+ "version": "1.1.0",
+ "resolved": "http://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz",
+ "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==",
+ "requires": {
+ "ansi-wrap": "^0.1.0"
+ }
+ },
+ "ansi-gray": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz",
+ "integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=",
+ "requires": {
+ "ansi-wrap": "0.1.0"
+ }
+ },
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ },
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
+ },
+ "ansi-wrap": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz",
+ "integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768="
+ },
+ "archy": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz",
+ "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA="
+ },
+ "argparse": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+ "requires": {
+ "sprintf-js": "~1.0.2"
+ }
+ },
+ "arr-diff": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
+ "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA="
+ },
+ "arr-flatten": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
+ "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg=="
+ },
+ "arr-union": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
+ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ="
+ },
+ "array-differ": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz",
+ "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE="
+ },
+ "array-each": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz",
+ "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8="
+ },
+ "array-slice": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz",
+ "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w=="
+ },
+ "array-uniq": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
+ "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY="
+ },
+ "array-unique": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
+ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
+ },
+ "assign-symbols": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
+ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c="
+ },
+ "atob": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
+ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="
+ },
+ "babel-polyfill": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
+ "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=",
+ "requires": {
+ "babel-runtime": "^6.26.0",
+ "core-js": "^2.5.0",
+ "regenerator-runtime": "^0.10.5"
+ }
+ },
+ "babel-runtime": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
+ "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
+ "requires": {
+ "core-js": "^2.4.0",
+ "regenerator-runtime": "^0.11.0"
+ },
+ "dependencies": {
+ "regenerator-runtime": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
+ }
+ }
+ },
+ "balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ },
+ "base": {
+ "version": "0.11.2",
+ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
+ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
+ "requires": {
+ "cache-base": "^1.0.1",
+ "class-utils": "^0.3.5",
+ "component-emitter": "^1.2.1",
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.1",
+ "mixin-deep": "^1.2.0",
+ "pascalcase": "^0.1.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "requires": {
+ "is-descriptor": "^1.0.0"
+ }
+ },
+ "is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "requires": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ }
+ }
+ }
+ },
+ "beeper": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.1.tgz",
+ "integrity": "sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak="
+ },
+ "bootstrap": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.3.tgz",
+ "integrity": "sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w=="
+ },
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "braces": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
+ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
+ "requires": {
+ "arr-flatten": "^1.1.0",
+ "array-unique": "^0.3.2",
+ "extend-shallow": "^2.0.1",
+ "fill-range": "^4.0.0",
+ "isobject": "^3.0.1",
+ "repeat-element": "^1.1.2",
+ "snapdragon": "^0.8.1",
+ "snapdragon-node": "^2.0.1",
+ "split-string": "^3.0.2",
+ "to-regex": "^3.0.1"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "cache-base": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
+ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
+ "requires": {
+ "collection-visit": "^1.0.0",
+ "component-emitter": "^1.2.1",
+ "get-value": "^2.0.6",
+ "has-value": "^1.0.0",
+ "isobject": "^3.0.1",
+ "set-value": "^2.0.0",
+ "to-object-path": "^0.3.0",
+ "union-value": "^1.0.0",
+ "unset-value": "^1.0.0"
+ }
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "requires": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ }
+ },
+ "class-utils": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
+ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
+ "requires": {
+ "arr-union": "^3.1.0",
+ "define-property": "^0.2.5",
+ "isobject": "^3.0.0",
+ "static-extend": "^0.1.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "requires": {
+ "is-descriptor": "^0.1.0"
+ }
+ }
+ }
+ },
+ "clipboard": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.4.tgz",
+ "integrity": "sha512-Vw26VSLRpJfBofiVaFb/I8PVfdI1OxKcYShe6fm0sP/DtmiWQNCjhM/okTvdCo0G+lMMm1rMYbk4IK4x1X+kgQ==",
+ "requires": {
+ "good-listener": "^1.2.2",
+ "select": "^1.1.2",
+ "tiny-emitter": "^2.0.0"
+ }
+ },
+ "clone": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4="
+ },
+ "clone-stats": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz",
+ "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE="
+ },
+ "codemirror": {
+ "version": "5.40.2",
+ "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.40.2.tgz",
+ "integrity": "sha512-yoWuvEiD3v5vTwdoMc/wu/Ld6dh9K/yEiEBTKOPGM+/pN0gTAqFNtrLHv1IJ1UJvzFpNRvMi92XCi3+8/iIaEw=="
+ },
+ "collection-visit": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
+ "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",
+ "requires": {
+ "map-visit": "^1.0.0",
+ "object-visit": "^1.0.0"
+ }
+ },
+ "color-support": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
+ "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg=="
+ },
+ "component-emitter": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
+ },
+ "concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
+ },
+ "copy-descriptor": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
+ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40="
+ },
+ "core-js": {
+ "version": "2.5.7",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
+ "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
+ },
+ "core-util-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
+ },
+ "datatables.net": {
+ "version": "1.10.19",
+ "resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.10.19.tgz",
+ "integrity": "sha512-+ljXcI6Pj3PTGy5pesp3E5Dr3x3AV45EZe0o1r0gKENN2gafBKXodVnk2ypKwl2tTmivjxbkiqoWnipTefyBTA==",
+ "requires": {
+ "jquery": ">=1.7"
+ }
+ },
+ "datatables.net-bs4": {
+ "version": "1.10.19",
+ "resolved": "https://registry.npmjs.org/datatables.net-bs4/-/datatables.net-bs4-1.10.19.tgz",
+ "integrity": "sha512-pgeP17w4aPR7HIxIwuJghfqXULjdg1K6xMUUKDyCERJRSNNK4MRToFfELtIsluLNN555YBK4Kx8nihX5/ZT1Fw==",
+ "requires": {
+ "datatables.net": "1.10.19",
+ "jquery": ">=1.7"
+ }
+ },
+ "dateformat": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz",
+ "integrity": "sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI="
+ },
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "decode-uri-component": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",
+ "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU="
+ },
+ "defaults": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz",
+ "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=",
+ "requires": {
+ "clone": "^1.0.2"
+ }
+ },
+ "define-property": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
+ "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
+ "requires": {
+ "is-descriptor": "^1.0.2",
+ "isobject": "^3.0.1"
+ },
+ "dependencies": {
+ "is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "requires": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ }
+ }
+ }
+ },
+ "delegate": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
+ "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="
+ },
+ "deprecated": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
+ "integrity": "sha1-+cmvVGSvoeepcUWKi97yqpTVuxk="
+ },
+ "detect-file": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
+ "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc="
+ },
+ "duplexer2": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz",
+ "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=",
+ "requires": {
+ "readable-stream": "~1.1.9"
+ }
+ },
+ "end-of-stream": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz",
+ "integrity": "sha1-jhdyBsPICDfYVjLouTWd/osvbq8=",
+ "requires": {
+ "once": "~1.3.0"
+ }
+ },
+ "entities": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz",
+ "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA="
+ },
+ "es6-object-assign": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz",
+ "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw="
+ },
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
+ },
+ "eve": {
+ "version": "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1",
+ "from": "git://github.com/adobe-webplatform/eve.git#eef80ed"
+ },
+ "expand-brackets": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
+ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",
+ "requires": {
+ "debug": "^2.3.3",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "posix-character-classes": "^0.1.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "requires": {
+ "is-descriptor": "^0.1.0"
+ }
+ },
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "expand-tilde": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",
+ "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",
+ "requires": {
+ "homedir-polyfill": "^1.0.1"
+ }
+ },
+ "extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ },
+ "extend-object": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/extend-object/-/extend-object-1.0.0.tgz",
+ "integrity": "sha1-QlFPhAFdE1bK9Rh5ad+yvBvaCCM="
+ },
+ "extend-shallow": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
+ "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
+ "requires": {
+ "assign-symbols": "^1.0.0",
+ "is-extendable": "^1.0.1"
+ },
+ "dependencies": {
+ "is-extendable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "requires": {
+ "is-plain-object": "^2.0.4"
+ }
+ }
+ }
+ },
+ "extglob": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
+ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
+ "requires": {
+ "array-unique": "^0.3.2",
+ "define-property": "^1.0.0",
+ "expand-brackets": "^2.1.4",
+ "extend-shallow": "^2.0.1",
+ "fragment-cache": "^0.2.1",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "requires": {
+ "is-descriptor": "^1.0.0"
+ }
+ },
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ },
+ "is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "requires": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ }
+ }
+ }
+ },
+ "fancy-log": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.2.tgz",
+ "integrity": "sha1-9BEl49hPLn2JpD0G2VjI94vha+E=",
+ "requires": {
+ "ansi-gray": "^0.1.1",
+ "color-support": "^1.1.3",
+ "time-stamp": "^1.0.0"
+ }
+ },
+ "fill-range": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
+ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
+ "requires": {
+ "extend-shallow": "^2.0.1",
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1",
+ "to-regex-range": "^2.1.0"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "find-index": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/find-index/-/find-index-0.1.1.tgz",
+ "integrity": "sha1-Z101iyyjiS15Whq0cjL4tuLg3eQ="
+ },
+ "findup-sync": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz",
+ "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=",
+ "requires": {
+ "detect-file": "^1.0.0",
+ "is-glob": "^3.1.0",
+ "micromatch": "^3.0.4",
+ "resolve-dir": "^1.0.1"
+ }
+ },
+ "fined": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fined/-/fined-1.1.0.tgz",
+ "integrity": "sha1-s33IRLdqL15wgeiE98CuNE8VNHY=",
+ "requires": {
+ "expand-tilde": "^2.0.2",
+ "is-plain-object": "^2.0.3",
+ "object.defaults": "^1.1.0",
+ "object.pick": "^1.2.0",
+ "parse-filepath": "^1.0.1"
+ }
+ },
+ "first-chunk-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz",
+ "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04="
+ },
+ "flagged-respawn": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.0.tgz",
+ "integrity": "sha1-Tnmumy6zi/hrO7Vr8+ClaqX8q9c="
+ },
+ "font-awesome": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
+ "integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="
+ },
+ "for-in": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
+ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA="
+ },
+ "for-own": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz",
+ "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=",
+ "requires": {
+ "for-in": "^1.0.1"
+ }
+ },
+ "fragment-cache": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
+ "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",
+ "requires": {
+ "map-cache": "^0.2.2"
+ }
+ },
+ "fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
+ },
+ "gaze": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/gaze/-/gaze-0.5.2.tgz",
+ "integrity": "sha1-QLcJU30k0dRXZ9takIaJ3+aaxE8=",
+ "requires": {
+ "globule": "~0.1.0"
+ }
+ },
+ "get-value": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
+ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg="
+ },
+ "glob": {
+ "version": "4.5.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-4.5.3.tgz",
+ "integrity": "sha1-xstz0yJsHv7wTePFbQEvAzd+4V8=",
+ "requires": {
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^2.0.1",
+ "once": "^1.3.0"
+ }
+ },
+ "glob-stream": {
+ "version": "3.1.18",
+ "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz",
+ "integrity": "sha1-kXCl8St5Awb9/lmPMT+PeVT9FDs=",
+ "requires": {
+ "glob": "^4.3.1",
+ "glob2base": "^0.0.12",
+ "minimatch": "^2.0.1",
+ "ordered-read-streams": "^0.1.0",
+ "through2": "^0.6.1",
+ "unique-stream": "^1.0.0"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "1.0.34",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "through2": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
+ "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=",
+ "requires": {
+ "readable-stream": ">=1.0.33-1 <1.1.0-0",
+ "xtend": ">=4.0.0 <4.1.0-0"
+ }
+ }
+ }
+ },
+ "glob-watcher": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-0.0.6.tgz",
+ "integrity": "sha1-uVtKjfdLOcgymLDAXJeLTZo7cQs=",
+ "requires": {
+ "gaze": "^0.5.1"
+ }
+ },
+ "glob2base": {
+ "version": "0.0.12",
+ "resolved": "https://registry.npmjs.org/glob2base/-/glob2base-0.0.12.tgz",
+ "integrity": "sha1-nUGbPijxLoOjYhZKJ3BVkiycDVY=",
+ "requires": {
+ "find-index": "^0.1.1"
+ }
+ },
+ "global-modules": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",
+ "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",
+ "requires": {
+ "global-prefix": "^1.0.1",
+ "is-windows": "^1.0.1",
+ "resolve-dir": "^1.0.0"
+ }
+ },
+ "global-prefix": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",
+ "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",
+ "requires": {
+ "expand-tilde": "^2.0.2",
+ "homedir-polyfill": "^1.0.1",
+ "ini": "^1.3.4",
+ "is-windows": "^1.0.1",
+ "which": "^1.2.14"
+ }
+ },
+ "globule": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/globule/-/globule-0.1.0.tgz",
+ "integrity": "sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU=",
+ "requires": {
+ "glob": "~3.1.21",
+ "lodash": "~1.0.1",
+ "minimatch": "~0.2.11"
+ },
+ "dependencies": {
+ "glob": {
+ "version": "3.1.21",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-3.1.21.tgz",
+ "integrity": "sha1-0p4KBV3qUTj00H7UDomC6DwgZs0=",
+ "requires": {
+ "graceful-fs": "~1.2.0",
+ "inherits": "1",
+ "minimatch": "~0.2.11"
+ }
+ },
+ "graceful-fs": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz",
+ "integrity": "sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q="
+ },
+ "inherits": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-1.0.2.tgz",
+ "integrity": "sha1-ykMJ2t7mtUzAuNJH6NfHoJdb3Js="
+ },
+ "minimatch": {
+ "version": "0.2.14",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz",
+ "integrity": "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=",
+ "requires": {
+ "lru-cache": "2",
+ "sigmund": "~1.0.0"
+ }
+ }
+ }
+ },
+ "glogg": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.1.tgz",
+ "integrity": "sha512-ynYqXLoluBKf9XGR1gA59yEJisIL7YHEH4xr3ZziHB5/yl4qWfaK8Js9jGe6gBGCSCKVqiyO30WnRZADvemUNw==",
+ "requires": {
+ "sparkles": "^1.0.0"
+ }
+ },
+ "good-listener": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
+ "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
+ "requires": {
+ "delegate": "^3.1.2"
+ }
+ },
+ "graceful-fs": {
+ "version": "3.0.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz",
+ "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=",
+ "requires": {
+ "natives": "^1.1.0"
+ }
+ },
+ "gulp": {
+ "version": "3.9.1",
+ "resolved": "http://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz",
+ "integrity": "sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ=",
+ "requires": {
+ "archy": "^1.0.0",
+ "chalk": "^1.0.0",
+ "deprecated": "^0.0.1",
+ "gulp-util": "^3.0.0",
+ "interpret": "^1.0.0",
+ "liftoff": "^2.1.0",
+ "minimist": "^1.1.0",
+ "orchestrator": "^0.3.0",
+ "pretty-hrtime": "^1.0.0",
+ "semver": "^4.1.0",
+ "tildify": "^1.0.0",
+ "v8flags": "^2.0.2",
+ "vinyl-fs": "^0.3.0"
+ }
+ },
+ "gulp-util": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.8.tgz",
+ "integrity": "sha1-AFTh50RQLifATBh8PsxQXdVLu08=",
+ "requires": {
+ "array-differ": "^1.0.0",
+ "array-uniq": "^1.0.2",
+ "beeper": "^1.0.0",
+ "chalk": "^1.0.0",
+ "dateformat": "^2.0.0",
+ "fancy-log": "^1.1.0",
+ "gulplog": "^1.0.0",
+ "has-gulplog": "^0.1.0",
+ "lodash._reescape": "^3.0.0",
+ "lodash._reevaluate": "^3.0.0",
+ "lodash._reinterpolate": "^3.0.0",
+ "lodash.template": "^3.0.0",
+ "minimist": "^1.1.0",
+ "multipipe": "^0.1.2",
+ "object-assign": "^3.0.0",
+ "replace-ext": "0.0.1",
+ "through2": "^2.0.0",
+ "vinyl": "^0.5.0"
+ }
+ },
+ "gulplog": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz",
+ "integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=",
+ "requires": {
+ "glogg": "^1.0.0"
+ }
+ },
+ "has-ansi": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
+ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ },
+ "has-gulplog": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.tgz",
+ "integrity": "sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=",
+ "requires": {
+ "sparkles": "^1.0.0"
+ }
+ },
+ "has-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
+ "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",
+ "requires": {
+ "get-value": "^2.0.6",
+ "has-values": "^1.0.0",
+ "isobject": "^3.0.0"
+ }
+ },
+ "has-values": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
+ "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",
+ "requires": {
+ "is-number": "^3.0.0",
+ "kind-of": "^4.0.0"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
+ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "highlight.js": {
+ "version": "9.13.1",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.13.1.tgz",
+ "integrity": "sha512-Sc28JNQNDzaH6PORtRLMvif9RSn1mYuOoX3omVjnb0+HbpPygU2ALBI0R/wsiqCb4/fcp07Gdo8g+fhtFrQl6A=="
+ },
+ "homedir-polyfill": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz",
+ "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=",
+ "requires": {
+ "parse-passwd": "^1.0.0"
+ }
+ },
+ "inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "requires": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
+ },
+ "ini": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
+ },
+ "interpret": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",
+ "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ="
+ },
+ "is-absolute": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz",
+ "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==",
+ "requires": {
+ "is-relative": "^1.0.0",
+ "is-windows": "^1.0.1"
+ }
+ },
+ "is-accessor-descriptor": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
+ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",
+ "requires": {
+ "kind-of": "^3.0.2"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "is-buffer": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
+ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
+ },
+ "is-data-descriptor": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
+ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",
+ "requires": {
+ "kind-of": "^3.0.2"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "is-descriptor": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
+ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",
+ "requires": {
+ "is-accessor-descriptor": "^0.1.6",
+ "is-data-descriptor": "^0.1.4",
+ "kind-of": "^5.0.0"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
+ "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw=="
+ }
+ }
+ },
+ "is-extendable": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
+ "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik="
+ },
+ "is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="
+ },
+ "is-glob": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
+ "requires": {
+ "is-extglob": "^2.1.0"
+ }
+ },
+ "is-number": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
+ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
+ "requires": {
+ "kind-of": "^3.0.2"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "is-plain-object": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
+ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
+ "requires": {
+ "isobject": "^3.0.1"
+ }
+ },
+ "is-relative": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz",
+ "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==",
+ "requires": {
+ "is-unc-path": "^1.0.0"
+ }
+ },
+ "is-unc-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz",
+ "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==",
+ "requires": {
+ "unc-path-regex": "^0.1.2"
+ }
+ },
+ "is-utf8": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
+ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
+ },
+ "is-windows": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA=="
+ },
+ "isarray": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
+ },
+ "isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
+ },
+ "isobject": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
+ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8="
+ },
+ "jquery": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz",
+ "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg=="
+ },
+ "jquery-form": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/jquery-form/-/jquery-form-4.2.2.tgz",
+ "integrity": "sha512-HJTef7DRBSg8ge/RNUw8rUTTtB3l8ozO0OhD16AzDl+eIXp4skgCqRTd9fYPsOzL+pN6+1B9wvbTLGjgikz8Tg==",
+ "requires": {
+ "jquery": ">=1.7.2"
+ }
+ },
+ "jquery-mousewheel": {
+ "version": "3.1.13",
+ "resolved": "https://registry.npmjs.org/jquery-mousewheel/-/jquery-mousewheel-3.1.13.tgz",
+ "integrity": "sha1-BvAzXxbjU6aV5yBr9QUDy1I6buU="
+ },
+ "jquery-validation": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/jquery-validation/-/jquery-validation-1.18.0.tgz",
+ "integrity": "sha512-+MK0pvoegfLrJnwtCU6tx305Vgp9HWevpmdVwDf5TthmINkn0wqqLD0bpa75EERlHsBBjMmza//ppx5ZQPnW3Q==",
+ "requires": {
+ "jquery": "^1.7 || ^2.0 || ^3.1"
+ }
+ },
+ "jquery-validation-unobtrusive": {
+ "version": "3.2.11",
+ "resolved": "https://registry.npmjs.org/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-3.2.11.tgz",
+ "integrity": "sha512-3FQPllaWdD+Aq55zJLGSW39+eXPDz1HhwAvrSwYi8zHQ8DVcu5IJ1HVeTiCl0BnCnrIBvfFU3zEB/DrGdcoRIQ==",
+ "requires": {
+ "jquery": ">=1.8",
+ "jquery-validation": ">=1.16"
+ }
+ },
+ "kind-of": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
+ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA=="
+ },
+ "liftoff": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-2.5.0.tgz",
+ "integrity": "sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=",
+ "requires": {
+ "extend": "^3.0.0",
+ "findup-sync": "^2.0.0",
+ "fined": "^1.0.1",
+ "flagged-respawn": "^1.0.0",
+ "is-plain-object": "^2.0.4",
+ "object.map": "^1.0.0",
+ "rechoir": "^0.6.2",
+ "resolve": "^1.1.7"
+ }
+ },
+ "linkify-it": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.0.3.tgz",
+ "integrity": "sha1-2UpGSPmxwXnWT6lykSaL22zpQ08=",
+ "requires": {
+ "uc.micro": "^1.0.1"
+ }
+ },
+ "lodash": {
+ "version": "1.0.2",
+ "resolved": "http://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz",
+ "integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE="
+ },
+ "lodash._basecopy": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz",
+ "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY="
+ },
+ "lodash._basetostring": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz",
+ "integrity": "sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U="
+ },
+ "lodash._basevalues": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz",
+ "integrity": "sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc="
+ },
+ "lodash._getnative": {
+ "version": "3.9.1",
+ "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz",
+ "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U="
+ },
+ "lodash._isiterateecall": {
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz",
+ "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw="
+ },
+ "lodash._reescape": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz",
+ "integrity": "sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo="
+ },
+ "lodash._reevaluate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz",
+ "integrity": "sha1-WLx0xAZklTrgsSTYBpltrKQx4u0="
+ },
+ "lodash._reinterpolate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
+ "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0="
+ },
+ "lodash._root": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz",
+ "integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI="
+ },
+ "lodash.escape": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz",
+ "integrity": "sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg=",
+ "requires": {
+ "lodash._root": "^3.0.0"
+ }
+ },
+ "lodash.isarguments": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
+ "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo="
+ },
+ "lodash.isarray": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz",
+ "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U="
+ },
+ "lodash.keys": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
+ "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=",
+ "requires": {
+ "lodash._getnative": "^3.0.0",
+ "lodash.isarguments": "^3.0.0",
+ "lodash.isarray": "^3.0.0"
+ }
+ },
+ "lodash.restparam": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz",
+ "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU="
+ },
+ "lodash.template": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz",
+ "integrity": "sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8=",
+ "requires": {
+ "lodash._basecopy": "^3.0.0",
+ "lodash._basetostring": "^3.0.0",
+ "lodash._basevalues": "^3.0.0",
+ "lodash._isiterateecall": "^3.0.0",
+ "lodash._reinterpolate": "^3.0.0",
+ "lodash.escape": "^3.0.0",
+ "lodash.keys": "^3.0.0",
+ "lodash.restparam": "^3.0.0",
+ "lodash.templatesettings": "^3.0.0"
+ }
+ },
+ "lodash.templatesettings": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz",
+ "integrity": "sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU=",
+ "requires": {
+ "lodash._reinterpolate": "^3.0.0",
+ "lodash.escape": "^3.0.0"
+ }
+ },
+ "lru-cache": {
+ "version": "2.7.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz",
+ "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI="
+ },
+ "make-iterator": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz",
+ "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==",
+ "requires": {
+ "kind-of": "^6.0.2"
+ }
+ },
+ "malihu-custom-scrollbar-plugin": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-3.1.5.tgz",
+ "integrity": "sha1-MQzsxeWUFaHCnp37XStuAdZqKe8=",
+ "requires": {
+ "jquery-mousewheel": ">=3.0.6"
+ }
+ },
+ "map-cache": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
+ "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8="
+ },
+ "map-visit": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
+ "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",
+ "requires": {
+ "object-visit": "^1.0.0"
+ }
+ },
+ "markdown-it": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz",
+ "integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==",
+ "requires": {
+ "argparse": "^1.0.7",
+ "entities": "~1.1.1",
+ "linkify-it": "^2.0.0",
+ "mdurl": "^1.0.1",
+ "uc.micro": "^1.0.5"
+ }
+ },
+ "mdurl": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz",
+ "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4="
+ },
+ "merge-stream": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz",
+ "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=",
+ "requires": {
+ "readable-stream": "^2.0.1"
+ },
+ "dependencies": {
+ "isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
+ },
+ "readable-stream": {
+ "version": "2.3.6",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ }
+ }
+ },
+ "micromatch": {
+ "version": "3.1.10",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
+ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
+ "requires": {
+ "arr-diff": "^4.0.0",
+ "array-unique": "^0.3.2",
+ "braces": "^2.3.1",
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "extglob": "^2.0.4",
+ "fragment-cache": "^0.2.1",
+ "kind-of": "^6.0.2",
+ "nanomatch": "^1.2.9",
+ "object.pick": "^1.3.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.2"
+ }
+ },
+ "minimatch": {
+ "version": "2.0.10",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz",
+ "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=",
+ "requires": {
+ "brace-expansion": "^1.0.0"
+ }
+ },
+ "minimist": {
+ "version": "1.2.0",
+ "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
+ },
+ "mixin-deep": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz",
+ "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==",
+ "requires": {
+ "for-in": "^1.0.2",
+ "is-extendable": "^1.0.1"
+ },
+ "dependencies": {
+ "is-extendable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
+ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
+ "requires": {
+ "is-plain-object": "^2.0.4"
+ }
+ }
+ }
+ },
+ "mkdirp": {
+ "version": "0.5.1",
+ "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
+ "requires": {
+ "minimist": "0.0.8"
+ },
+ "dependencies": {
+ "minimist": {
+ "version": "0.0.8",
+ "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
+ }
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ },
+ "multipipe": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz",
+ "integrity": "sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s=",
+ "requires": {
+ "duplexer2": "0.0.2"
+ }
+ },
+ "nanomatch": {
+ "version": "1.2.13",
+ "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
+ "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
+ "requires": {
+ "arr-diff": "^4.0.0",
+ "array-unique": "^0.3.2",
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "fragment-cache": "^0.2.1",
+ "is-windows": "^1.0.2",
+ "kind-of": "^6.0.2",
+ "object.pick": "^1.3.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ }
+ },
+ "natives": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz",
+ "integrity": "sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA=="
+ },
+ "object-assign": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz",
+ "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I="
+ },
+ "object-copy": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
+ "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",
+ "requires": {
+ "copy-descriptor": "^0.1.0",
+ "define-property": "^0.2.5",
+ "kind-of": "^3.0.3"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "requires": {
+ "is-descriptor": "^0.1.0"
+ }
+ },
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "object-visit": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
+ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",
+ "requires": {
+ "isobject": "^3.0.0"
+ }
+ },
+ "object.defaults": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz",
+ "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=",
+ "requires": {
+ "array-each": "^1.0.1",
+ "array-slice": "^1.0.0",
+ "for-own": "^1.0.0",
+ "isobject": "^3.0.0"
+ }
+ },
+ "object.map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz",
+ "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=",
+ "requires": {
+ "for-own": "^1.0.0",
+ "make-iterator": "^1.0.0"
+ }
+ },
+ "object.pick": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
+ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
+ "requires": {
+ "isobject": "^3.0.1"
+ }
+ },
+ "once": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
+ "integrity": "sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA=",
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "orchestrator": {
+ "version": "0.3.8",
+ "resolved": "https://registry.npmjs.org/orchestrator/-/orchestrator-0.3.8.tgz",
+ "integrity": "sha1-FOfp4nZPcxX7rBhOUGx6pt+UrX4=",
+ "requires": {
+ "end-of-stream": "~0.1.5",
+ "sequencify": "~0.0.7",
+ "stream-consume": "~0.1.0"
+ }
+ },
+ "ordered-read-streams": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz",
+ "integrity": "sha1-/VZamvjrRHO6abbtijQ1LLVS8SY="
+ },
+ "os-homedir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
+ },
+ "owl.carousel": {
+ "version": "2.3.4",
+ "resolved": "https://registry.npmjs.org/owl.carousel/-/owl.carousel-2.3.4.tgz",
+ "integrity": "sha512-JaDss9+feAvEW8KZppPSpllfposEzQiW+Ytt/Xm5t/3CTJ7YVmkh6RkWixoA2yXk2boIwedYxOvrrppIGzru9A==",
+ "requires": {
+ "jquery": ">=1.8.3"
+ }
+ },
+ "pako": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.3.tgz",
+ "integrity": "sha1-X1FbDGci4ZgpIK6ABerLC3ynPM8="
+ },
+ "parse-filepath": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz",
+ "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=",
+ "requires": {
+ "is-absolute": "^1.0.0",
+ "map-cache": "^0.2.0",
+ "path-root": "^0.1.1"
+ }
+ },
+ "parse-passwd": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
+ "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY="
+ },
+ "pascalcase": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
+ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ="
+ },
+ "path": {
+ "version": "0.12.7",
+ "resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz",
+ "integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=",
+ "requires": {
+ "process": "^0.11.1",
+ "util": "^0.10.3"
+ }
+ },
+ "path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
+ },
+ "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=="
+ },
+ "path-root": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz",
+ "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=",
+ "requires": {
+ "path-root-regex": "^0.1.0"
+ }
+ },
+ "path-root-regex": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz",
+ "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0="
+ },
+ "plantuml-encoder": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/plantuml-encoder/-/plantuml-encoder-1.2.5.tgz",
+ "integrity": "sha512-viV7Sz+BJNX/sC3iyebh2VfLyAZKuu3+JuBs2ISms8+zoTGwPqwk3/WEDw/zROmGAJ/xD4sNd8zsBw/YmTo7ng==",
+ "requires": {
+ "pako": "1.0.3",
+ "utf8-bytes": "0.0.1"
+ }
+ },
+ "popper.js": {
+ "version": "1.14.6",
+ "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.6.tgz",
+ "integrity": "sha512-AGwHGQBKumlk/MDfrSOf0JHhJCImdDMcGNoqKmKkU+68GFazv3CQ6q9r7Ja1sKDZmYWTckY/uLyEznheTDycnA=="
+ },
+ "posix-character-classes": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
+ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs="
+ },
+ "pretty-hrtime": {
+ "version": "1.0.3",
+ "resolved": "http://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
+ "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE="
+ },
+ "prismjs": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.15.0.tgz",
+ "integrity": "sha512-Lf2JrFYx8FanHrjoV5oL8YHCclLQgbJcVZR+gikGGMqz6ub5QVWDTM6YIwm3BuPxM/LOV+rKns3LssXNLIf+DA==",
+ "requires": {
+ "clipboard": "^2.0.0"
+ }
+ },
+ "process": {
+ "version": "0.11.10",
+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
+ "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI="
+ },
+ "process-nextick-args": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
+ "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
+ },
+ "promise-polyfill": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-6.1.0.tgz",
+ "integrity": "sha1-36lpQ+qcEh/KTem1hoyznTRy4Fc="
+ },
+ "raphael": {
+ "version": "git+https://github.com/nhnent/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0",
+ "from": "git+https://github.com/nhnent/raphael.git#2.2.0-c",
+ "requires": {
+ "eve": "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1"
+ }
+ },
+ "readable-stream": {
+ "version": "1.1.14",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "rechoir": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
+ "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=",
+ "requires": {
+ "resolve": "^1.1.6"
+ }
+ },
+ "regenerator-runtime": {
+ "version": "0.10.5",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
+ "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg="
+ },
+ "regex-not": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
+ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
+ "requires": {
+ "extend-shallow": "^3.0.2",
+ "safe-regex": "^1.1.0"
+ }
+ },
+ "repeat-element": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
+ "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g=="
+ },
+ "repeat-string": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc="
+ },
+ "replace-ext": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",
+ "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ="
+ },
+ "resize-observer-polyfill": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.0.tgz",
+ "integrity": "sha512-M2AelyJDVR/oLnToJLtuDJRBBWUGUvvGigj1411hXhAdyFWqMaqHp7TixW3FpiLuVaikIcR1QL+zqoJoZlOgpg=="
+ },
+ "resolve": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz",
+ "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==",
+ "requires": {
+ "path-parse": "^1.0.5"
+ }
+ },
+ "resolve-dir": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
+ "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",
+ "requires": {
+ "expand-tilde": "^2.0.0",
+ "global-modules": "^1.0.0"
+ }
+ },
+ "resolve-url": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
+ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo="
+ },
+ "ret": {
+ "version": "0.1.15",
+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg=="
+ },
+ "rimraf": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
+ "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
+ "requires": {
+ "glob": "^7.0.5"
+ },
+ "dependencies": {
+ "glob": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
+ "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "requires": {
+ "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"
+ }
+ },
+ "minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ }
+ }
+ },
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "safe-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
+ "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
+ "requires": {
+ "ret": "~0.1.10"
+ }
+ },
+ "select": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
+ "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="
+ },
+ "select2": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/select2/-/select2-4.0.5.tgz",
+ "integrity": "sha1-eqxQaSVhmFs007guxV4ib4lg1Ao=",
+ "requires": {
+ "almond": "~0.3.1",
+ "jquery-mousewheel": "~3.1.13"
+ }
+ },
+ "semver": {
+ "version": "4.3.6",
+ "resolved": "http://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
+ "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto="
+ },
+ "sequencify": {
+ "version": "0.0.7",
+ "resolved": "https://registry.npmjs.org/sequencify/-/sequencify-0.0.7.tgz",
+ "integrity": "sha1-kM/xnQLgcCf9dn9erT57ldHnOAw="
+ },
+ "set-value": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz",
+ "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==",
+ "requires": {
+ "extend-shallow": "^2.0.1",
+ "is-extendable": "^0.1.1",
+ "is-plain-object": "^2.0.3",
+ "split-string": "^3.0.1"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "sigmund": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
+ "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA="
+ },
+ "snapdragon": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
+ "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
+ "requires": {
+ "base": "^0.11.1",
+ "debug": "^2.2.0",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "map-cache": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-resolve": "^0.5.0",
+ "use": "^3.1.0"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "requires": {
+ "is-descriptor": "^0.1.0"
+ }
+ },
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ }
+ }
+ },
+ "snapdragon-node": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
+ "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
+ "requires": {
+ "define-property": "^1.0.0",
+ "isobject": "^3.0.0",
+ "snapdragon-util": "^3.0.1"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
+ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
+ "requires": {
+ "is-descriptor": "^1.0.0"
+ }
+ },
+ "is-accessor-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
+ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-data-descriptor": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
+ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
+ "requires": {
+ "kind-of": "^6.0.0"
+ }
+ },
+ "is-descriptor": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
+ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
+ "requires": {
+ "is-accessor-descriptor": "^1.0.0",
+ "is-data-descriptor": "^1.0.0",
+ "kind-of": "^6.0.2"
+ }
+ }
+ }
+ },
+ "snapdragon-util": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
+ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
+ "requires": {
+ "kind-of": "^3.2.0"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
+ },
+ "source-map-resolve": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz",
+ "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==",
+ "requires": {
+ "atob": "^2.1.1",
+ "decode-uri-component": "^0.2.0",
+ "resolve-url": "^0.2.1",
+ "source-map-url": "^0.4.0",
+ "urix": "^0.1.0"
+ }
+ },
+ "source-map-url": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
+ "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM="
+ },
+ "sparkles": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz",
+ "integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw=="
+ },
+ "split-string": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
+ "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
+ "requires": {
+ "extend-shallow": "^3.0.0"
+ }
+ },
+ "sprintf-js": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
+ },
+ "squire-rte": {
+ "version": "github:neilj/Squire#306230d0df9b38047cd06204476ddc0582569cfd",
+ "from": "github:neilj/Squire#306230d0df9b38047cd06204476ddc0582569cfd"
+ },
+ "static-extend": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
+ "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",
+ "requires": {
+ "define-property": "^0.2.5",
+ "object-copy": "^0.1.0"
+ },
+ "dependencies": {
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "requires": {
+ "is-descriptor": "^0.1.0"
+ }
+ }
+ }
+ },
+ "stream-consume": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/stream-consume/-/stream-consume-0.1.1.tgz",
+ "integrity": "sha512-tNa3hzgkjEP7XbCkbRXe1jpg+ievoa0O4SCFlMOYEscGSS4JJsckGL8swUyAa/ApGU3Ae4t6Honor4HhL+tRyg=="
+ },
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
+ },
+ "strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ },
+ "strip-bom": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz",
+ "integrity": "sha1-hbiGLzhEtabV7IRnqTWYFzo295Q=",
+ "requires": {
+ "first-chunk-stream": "^1.0.0",
+ "is-utf8": "^0.2.0"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
+ },
+ "sweetalert": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/sweetalert/-/sweetalert-2.1.0.tgz",
+ "integrity": "sha512-9YKj0SvjKyBfRWco50UOsIbXVeifYbxzT9Qda7EsqC01eafHGCSG0IR7g942ufjzt7lnwO8ZZBwr6emXv2fQrg==",
+ "requires": {
+ "es6-object-assign": "^1.1.0",
+ "promise-polyfill": "^6.0.2"
+ }
+ },
+ "through2": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz",
+ "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=",
+ "requires": {
+ "readable-stream": "^2.1.5",
+ "xtend": "~4.0.1"
+ },
+ "dependencies": {
+ "isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
+ },
+ "readable-stream": {
+ "version": "2.3.6",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ }
+ }
+ },
+ "tildify": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/tildify/-/tildify-1.2.0.tgz",
+ "integrity": "sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo=",
+ "requires": {
+ "os-homedir": "^1.0.0"
+ }
+ },
+ "time-stamp": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz",
+ "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM="
+ },
+ "timeago": {
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/timeago/-/timeago-1.6.3.tgz",
+ "integrity": "sha512-x97d1X1KsNapWJTgCOOAy/59XagYu2WsDTAH/yvPsWi5bqtGbLPaVZBv3HZ3jTpakHR+JGGyrI9qC0yuvIAvnQ==",
+ "requires": {
+ "jquery": ">=1.2.3"
+ }
+ },
+ "tiny-emitter": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz",
+ "integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow=="
+ },
+ "to-mark": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/to-mark/-/to-mark-1.1.3.tgz",
+ "integrity": "sha512-Wai0j2IPk5vEsuPHgTBjK/xzGwUAmddUbUVLZgAvOiTZKEJwmVHRdEHO3yTta4LxgY4W9761sP1MkAZbYVXcig=="
+ },
+ "to-object-path": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
+ "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",
+ "requires": {
+ "kind-of": "^3.0.2"
+ },
+ "dependencies": {
+ "kind-of": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
+ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
+ "requires": {
+ "is-buffer": "^1.1.5"
+ }
+ }
+ }
+ },
+ "to-regex": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
+ "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
+ "requires": {
+ "define-property": "^2.0.2",
+ "extend-shallow": "^3.0.2",
+ "regex-not": "^1.0.2",
+ "safe-regex": "^1.1.0"
+ }
+ },
+ "to-regex-range": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
+ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
+ "requires": {
+ "is-number": "^3.0.0",
+ "repeat-string": "^1.6.1"
+ }
+ },
+ "toastr": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/toastr/-/toastr-2.1.4.tgz",
+ "integrity": "sha1-i0O+ZPudDEFIcURvLbjoyk6V8YE=",
+ "requires": {
+ "jquery": ">=1.12.0"
+ }
+ },
+ "tui-chart": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/tui-chart/-/tui-chart-3.4.0.tgz",
+ "integrity": "sha512-gPIJ1SsPhISj/SlzysA9fkLJMlnPV1PLaUE+gxUioZaDtfoZ+TxSE+Vs1rOvoXUUmT/v5+qlH2iM2fkaLvDU0A==",
+ "requires": {
+ "babel-polyfill": "^6.26.0",
+ "raphael": "git+https://github.com/nhnent/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0",
+ "tui-code-snippet": "^1.4.0"
+ }
+ },
+ "tui-code-snippet": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/tui-code-snippet/-/tui-code-snippet-1.4.0.tgz",
+ "integrity": "sha512-a7XzHRbRDi6Tt4lGcopq6ctQjVrzmnw9JMoTFqur5gczgtw5tmgUqXHjg8D9IonDkzZNq5gYLhkzykx4fmn+GA=="
+ },
+ "tui-color-picker": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tui-color-picker/-/tui-color-picker-2.2.0.tgz",
+ "integrity": "sha512-oAzMxF19bDExbvv7jVWQBPlrJ8sO3jQe+1rHqKkM4FtpvtGNlJO/ty19LW6pk9CCi1y43cgoG3QUt41ctGmygQ==",
+ "requires": {
+ "tui-code-snippet": "^1.3.0"
+ }
+ },
+ "tui-editor": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/tui-editor/-/tui-editor-1.2.6.tgz",
+ "integrity": "sha512-sVvs8yx3G1a/+YbR4VxzzfHFxPIPgattai+RDAHaUYeDkRhFPi3LeKN8A89jPyvUhyM8NhZWlhVd8ZTYx9ykNg==",
+ "requires": {
+ "codemirror": "^5.33.0",
+ "highlight.js": "^9.12.0",
+ "jquery": "^3.3.1",
+ "markdown-it": "^8.4.0",
+ "plantuml-encoder": "^1.2.5",
+ "resize-observer-polyfill": "^1.5.0",
+ "squire-rte": "github:neilj/Squire#306230d0df9b38047cd06204476ddc0582569cfd",
+ "to-mark": "^1.1.2",
+ "tui-chart": "^3.0.1",
+ "tui-code-snippet": "^1.3.0",
+ "tui-color-picker": "^2.2.0"
+ }
+ },
+ "uc.micro": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.5.tgz",
+ "integrity": "sha512-JoLI4g5zv5qNyT09f4YAvEZIIV1oOjqnewYg5D38dkQljIzpPT296dbIGvKro3digYI1bkb7W6EP1y4uDlmzLg=="
+ },
+ "unc-path-regex": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
+ "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo="
+ },
+ "union-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz",
+ "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=",
+ "requires": {
+ "arr-union": "^3.1.0",
+ "get-value": "^2.0.6",
+ "is-extendable": "^0.1.1",
+ "set-value": "^0.4.3"
+ },
+ "dependencies": {
+ "extend-shallow": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
+ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
+ "requires": {
+ "is-extendable": "^0.1.0"
+ }
+ },
+ "set-value": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz",
+ "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=",
+ "requires": {
+ "extend-shallow": "^2.0.1",
+ "is-extendable": "^0.1.1",
+ "is-plain-object": "^2.0.1",
+ "to-object-path": "^0.3.0"
+ }
+ }
+ }
+ },
+ "unique-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-1.0.0.tgz",
+ "integrity": "sha1-1ZpKdUJ0R9mqbJHnAmP40mpLEEs="
+ },
+ "unset-value": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
+ "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",
+ "requires": {
+ "has-value": "^0.3.1",
+ "isobject": "^3.0.0"
+ },
+ "dependencies": {
+ "has-value": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
+ "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",
+ "requires": {
+ "get-value": "^2.0.3",
+ "has-values": "^0.1.4",
+ "isobject": "^2.0.0"
+ },
+ "dependencies": {
+ "isobject": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
+ "requires": {
+ "isarray": "1.0.0"
+ }
+ }
+ }
+ },
+ "has-values": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
+ "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E="
+ },
+ "isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
+ }
+ }
+ },
+ "urix": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
+ "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI="
+ },
+ "use": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
+ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
+ },
+ "user-home": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz",
+ "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA="
+ },
+ "utf8-bytes": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/utf8-bytes/-/utf8-bytes-0.0.1.tgz",
+ "integrity": "sha1-EWsCVEjJtQAIHN+/H01sbDfYg30="
+ },
+ "util": {
+ "version": "0.10.4",
+ "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz",
+ "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==",
+ "requires": {
+ "inherits": "2.0.3"
+ }
+ },
+ "util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
+ },
+ "v8flags": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz",
+ "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=",
+ "requires": {
+ "user-home": "^1.1.1"
+ }
+ },
+ "vinyl": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz",
+ "integrity": "sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=",
+ "requires": {
+ "clone": "^1.0.0",
+ "clone-stats": "^0.0.1",
+ "replace-ext": "0.0.1"
+ }
+ },
+ "vinyl-fs": {
+ "version": "0.3.14",
+ "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-0.3.14.tgz",
+ "integrity": "sha1-mmhRzhysHBzqX+hsCTHWIMLPqeY=",
+ "requires": {
+ "defaults": "^1.0.0",
+ "glob-stream": "^3.1.5",
+ "glob-watcher": "^0.0.6",
+ "graceful-fs": "^3.0.0",
+ "mkdirp": "^0.5.0",
+ "strip-bom": "^1.0.0",
+ "through2": "^0.6.1",
+ "vinyl": "^0.4.0"
+ },
+ "dependencies": {
+ "clone": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz",
+ "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8="
+ },
+ "readable-stream": {
+ "version": "1.0.34",
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.1",
+ "isarray": "0.0.1",
+ "string_decoder": "~0.10.x"
+ }
+ },
+ "through2": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
+ "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=",
+ "requires": {
+ "readable-stream": ">=1.0.33-1 <1.1.0-0",
+ "xtend": ">=4.0.0 <4.1.0-0"
+ }
+ },
+ "vinyl": {
+ "version": "0.4.6",
+ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz",
+ "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=",
+ "requires": {
+ "clone": "^0.2.0",
+ "clone-stats": "^0.0.1"
+ }
+ }
+ }
+ },
+ "which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "requires": {
+ "isexe": "^2.0.0"
+ }
+ },
+ "wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
+ },
+ "xtend": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
+ "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68="
+ }
+ }
+}
diff --git a/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.css b/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.css
index 36bfe30a55..ad4f5adca0 100644
--- a/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.css
+++ b/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.css
@@ -600,7 +600,7 @@ span.code-arrow {
.docs-page .docs-page-index {
display: none; } }
-@media (max-width: 767px) {
+@media (max-width: 992px) {
body {
font-size: 14px; }
.for-mobile {
diff --git a/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.min.css b/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.min.css
index b8f9189bf2..524731f0ff 100644
--- a/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.min.css
+++ b/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.min.css
@@ -1 +1 @@
-body{position:relative;font-family:'PT Sans',sans-serif;background:url(../assets/tools/bg.jpg) center center no-repeat;background-attachment:fixed;}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Caption',sans-serif;}h1{font-size:2.25em;margin:1.5rem 0 .75rem;}h2{font-size:1.75em;margin:1.5rem 0 .75rem;}h3{font-size:1.5em;margin:1.5rem 0 .75rem;}h4{font-size:1.25em;margin:1.5rem 0 .75rem;}h5{font-size:1em;margin:1.5rem 0 .75rem;}h6{font-size:1em;margin:1.5rem 0 .75rem;}img{max-width:100%;}.navbar{padding:1.75rem 2rem;}.nav-link{padding-left:1rem !important;padding-right:1rem !important;}.navbar-dark .navbar-nav .nav-link{color:#fff;}.text-success{color:#e90052 !important;}a.text-success:hover,a.text-success:focus{color:#e90052 !important;}.bg-success,.btn-success,.badge-success{background-color:#e90052 !important;border-color:#e90052 !important;}.bg-success{background-color:rgba(233,0,82,.8) !important;}.bg-blue,.btn-blue,.badge-blue{background-color:#03abed !important;border-color:#03abed !important;color:#fff;}.bg-blue:hover,.btn-blue:hover,.badge-blue:hover{background-color:#0095d0 !important;border-color:#0095d0 !important;color:#fff !important;}.btn:focus,.btn:active,.btn:visited,a:focus,a:active,a:visited{outline:none !important;box-shadow:none;}.text-primary{color:#38003c !important;}.bg-primary,.btn-primary,.badge-primary{background-color:#38003c !important;border-color:#38003c !important;}.bg-primary{background-color:rgba(56,0,60,.9) !important;}.btn-outline-primary{color:#38003c !important;border-color:#38003c !important;}.btn-outline-primary:hover{background-color:#38003c !important;color:#fff !important;}.dropdown-menu{padding:1rem 0;border-radius:.15rem;border:none;box-shadow:5px 5px 40px rgba(0,0,0,.3);}.dropdown-menu .dropdown-item{padding:.75rem 1.5rem;}#index-video{position:fixed;right:0;bottom:0;min-width:100%;min-height:100%;z-index:-1;}.bg-gradient-horizontal{background:#fff;}@media(min-width:480px){.bg-gradient-horizontal{background:#fff;background:-moz-linear-gradient(left,#fff 50%,#f2f2f2 50%);background:-webkit-linear-gradient(left,#fff 50%,#f2f2f2 50%);background:linear-gradient(to right,#fff 50%,#f2f2f2 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f2f2f2',GradientType=1);}}.bg-transparency{background:rgba(255,255,255,.9);}.bg-light{background:#eee;}.for-mobile{display:none;}.for-desktop{display:inline-block;}.breadcrumb{background:none;font-size:.85em;border-radius:0;border-bottom:1px solid #f5f5f5;margin:0 -15px;padding:.5rem 0;text-align:center;display:block;}.breadcrumb .breadcrumb-item+.breadcrumb-item{padding-left:.2rem;}.breadcrumb .breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.4rem;color:#eee;content:"|";}.breadcrumb .breadcrumb-item{color:#eee;display:inline-block;}.breadcrumb .breadcrumb-item a{color:#aaa;}.close{font-weight:300;}hr{margin-top:2rem;margin-bottom:2.5rem;border-top:1px solid rgba(0,0,0,.05);}span.with-br-name{font-size:.75em;}span.br-name{display:block;font-size:1.25em;}span.br-name-1{display:block;font-size:1em;}.btn-fifty{display:flex;}.btn-fifty .btn{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%;}.p-responsive{padding:120px 0;}.global-header{display:none;}.global-header .navbar{background:rgba(255,255,255,.2);}.global-header .navbar .products-link{border:1px solid rgba(255,255,255,.75);border-radius:.2rem;margin:0 10px;padding-top:.36rem;padding-bottom:.36rem;}.global-header .navbar .search-item{position:relative;}.global-header .navbar .search-item input.form-control{background:none;border:1px solid rgba(255,255,255,.25);border-radius:.2rem;color:#fff;padding-left:2.5rem;min-width:280px;}.global-header .navbar .search-item input.form-control::-webkit-input-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item input.form-control:-moz-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item input.form-control::-moz-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item input.form-control:-ms-input-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item .btn-search{position:absolute;top:-2px;left:-1px;background:none;}header .btn{background:#fff;}header .btn.btn-login,header .btn.btn-logout{border:2px solid #fff;color:#fff;background:transparent;margin-right:6px;}header .btn.btn-login:hover,header .btn.btn-logout:hover{background:#fff;color:#e90052;}.product-header{font-size:1.1rem;}.product-header .navbar-brand{font-size:1.75rem;}.home-logo{width:120px;}.jumbotron-logo{width:240px;margin-bottom:40px;}.forkme{position:fixed;bottom:0;right:0;}.footer-logo{width:140px;}.jumbotron{background:#006bf0;background:-moz-linear-gradient(left,#006bf0 0%,#40ffb0 100%);background:-webkit-linear-gradient(left,#006bf0 0%,#40ffb0 100%);background:linear-gradient(to right,rgba(56,0,60,.9) 0%,rgba(185,0,74,.78) 100%);margin-top:-120px;border-radius:0;margin-bottom:0;height:90vh;}.jumbotron.jumbocover{padding:120px 0 20px;height:auto;}.jumbotron>.row{height:calc(90vh - 120px);}.jumbotron .abp-version{position:absolute;font-size:11px;right:1px;top:-2px;padding:1px 4px 0;display:inline-block;color:#fff;background:rgba(233,3,82,.7);border-radius:3px;opacity:.8;}.jumbotron .desc-span{font-size:1.4em;font-style:italic;opacity:.7;}.section-with-logos img{margin:25px;max-height:50px;transition:.4s;opacity:.6;-webkit-filter:grayscale(60%);filter:grayscale(60%);}.section-with-logos img:hover{opacity:1;-webkit-filter:grayscale(0%);filter:grayscale(0%);}img.subsection-icon{width:64px;height:64px;}.toggle-row{display:none;}.btn-toggle .lessText{display:none;}.btn-toggle .moreText{display:block;}.btn-toggle.less .lessText{display:block;}.btn-toggle.less .moreText{display:none;}.abp-browser{margin:3rem 0 1rem;text-align:left;border-radius:6px;overflow:hidden;}.abp-browser .browser-container{border:1px solid #eee;}.abp-browser .browser-row{padding:4px 10px;background:#e5e5e5;}.abp-browser .browser-row:after{content:"";display:table;clear:both;}.abp-browser .browser-dot{margin-top:2px;margin-right:2px;height:12px;width:12px;background-color:#bbb;border-radius:50%;display:inline-block;}.abp-browser .abp-browser input[type=text]{width:100%;border-radius:3px;border:none;background-color:#fff;margin-top:-8px;height:25px;color:#666;padding:5px;}.abp-browser .browser-bar{width:17px;height:3px;background-color:#aaa;margin:3px 0;display:block;}.abp-browser .browser-content{padding:2rem;background:#f5f5f5;}.abp-browser .bg-primary,.abp-browser .btn-primary,.abp-browser .badge-primary{background-color:#007bff !important;border-color:#007bff !important;}.abp-browser .btn-outline-primary{color:#007bff !important;border-color:#007bff !important;}.abp-browser .btn-outline-primary:hover{background-color:#007bff !important;color:#fff !important;}span.code-arrow{padding:52px 0 18px;display:block;font-size:40px;}.docs-page{background:#f5f7f9;}.docs-page .docs-sidebar{background:#f5f7f9;padding-right:1.5rem;position:relative;width:270px;}.docs-page .docs-sidebar .docs-sidebar-wrapper{width:270px;top:0;position:fixed;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list{height:calc(100vh - 190px);overflow:hidden;overflow-y:auto;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search{position:relative;padding:0 0 1.25rem 1.5rem;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search input.form-control{background:none;border-radius:.2rem;padding-left:2.5rem;width:100%;background:#eeeff2;border:0;font-size:.85em;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search .btn-search{position:absolute;top:-5px;left:22px;background:none;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul{font-size:.913em;list-style:none;padding:0 0 0 20px;margin:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li{margin-left:0;padding-left:24px;display:block;width:100%;position:relative;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label{margin:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label.tree-toggle{transition:.3s;display:inline-block;width:18px;height:18px;text-align:center;padding:0;line-height:normal;border-radius:50%;margin-right:4px;position:absolute;left:0;top:8px;cursor:pointer;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label.tree-toggle img{width:14px;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label.tree-toggle:not(.last-link).opened{transform:rotate(180deg);}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li a{color:#101010;font-weight:700;padding:7px 0;display:block;border-bottom:1px solid #eeeff3;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul{padding:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li label.tree-toggle{top:6px;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li a{font-weight:400;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li ul{padding:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li ul li a{font-weight:300;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li.selected-tree>a{color:#38003c;font-weight:bold;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand{font-size:2rem;font-weight:700;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand .docs-logo{width:130px;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand strong{font-weight:300;font-size:1.2rem;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-logo-desc{font-size:.85em;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-logo-desc strong{display:block;}.docs-page .docs-content .docs-text-field{padding:3rem;}.docs-page .docs-page-index{position:relative;}.docs-page .docs-page-index .docs-inner-anchors{position:fixed;top:0;max-width:270px;padding:10px;font-size:.9em;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills{font-size:.95em;margin-left:18px;border-left:1px solid #e5e5e5;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-link{padding:.2rem 0 .2rem 1rem;color:#aaa;line-height:1.1;position:relative;border-left:3px solid transparent;border-radius:0;margin-left:-2px;margin-top:2px;margin-bottom:2px;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-link.active{background:none;color:#38003b;border-color:#38003b;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-pills .nav-link.active{color:#38003b;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-pills .nav-pills .nav-link.active{color:#38003b;}.docs-page .docs-page-index .docs-inner-anchors>.navbar{margin-left:-18px;}.docs-page .docs-page-index .docs-inner-anchors .docs-anchors-wrapper{max-width:300px;float:left;}.docs-page .docs-page-index .docs-inner-anchors .inner-title{padding-left:18px;}.docs-page .docs-page-index .scroll-top-btn{display:none;font-size:.85em;color:#aaa;text-decoration:underline;padding-left:18px;}.docs-page .docs-page-index .scroll-top-btn.showup{display:block;}@media(min-width:1200px){.container{max-width:1180px;}}@media(min-width:1366px){.container{max-width:1340px;}}@media(min-width:1440px){.container{max-width:1400px;}}@media(max-width:767px){.docs-page{background:#f5f7f9;}.docs-page>.container-fluid{display:block;}.docs-page>.container-fluid>.row{display:block;}.docs-page .docs-sidebar{position:fixed;max-width:100%;width:100%;display:block;padding:0 !important;top:0;left:0;z-index:100;right:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper{max-width:100%;width:100%;top:0;position:relative;margin:0 !important;height:72px;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list{padding:.5rem 1.5rem 2rem 1.5rem;height:calc(100vh - 72px);overflow:hidden;overflow-y:auto;position:fixed;top:72px;font-size:17px;left:0;width:100%;z-index:100;background:#f5f7f9;display:none;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search{position:relative;padding:0 0 1rem !important;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search .btn-search{top:-14px;left:-2px;}.docs-page .docs-sidebar .docs-top .navbar-logo{padding:0;padding-top:.3rem;display:block;text-align:center;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand{font-size:2rem;font-weight:700;display:block;margin-right:0;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand .docs-logo{width:110px;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-logo-desc{font-size:1em;display:none;}.docs-page .docs-sidebar .docs-top .open-dmenu{position:absolute;top:10px;left:20px;}.docs-page .docs-content{padding-top:72px;max-width:100%;display:block !important;}.docs-page .docs-content .docs-text-field{padding:1rem 1.5rem;}.docs-page .docs-page-index{display:none;}}@media(max-width:767px){body{font-size:14px;}.for-mobile{display:inline-block;}.for-desktop{display:none;}.close-mmenu,.close-dmenu{position:absolute;top:-78px;left:25px;color:#fff;font-size:68px;background:#fff;opacity:0;}.navbar{padding:.5rem 1.75rem;}.navbar .navbar-collapse{background:#38003d;position:fixed;top:86px;left:0;width:100%;height:100vh;height:calc(100vh - 86px);z-index:100 !important;}.navbar .navbar-collapse .navbar-nav{height:100vh;padding:20px 30px;overflow:auto;}.navbar .navbar-collapse .navbar-nav .nav-link{padding:1.2rem !important;}.navbar .navbar-toggler{padding:.5rem .75rem;font-size:1.5rem;line-height:1;background-color:transparent;border:0;border-radius:.25rem;color:#fff !important;margin-left:-1rem;}.jumbotron .btn,footer .btn{display:block;margin-bottom:10px;}.multi-tenancy{text-align:center !important;}.section-with-logos img{margin:15px;opacity:1;-webkit-filter:grayscale(0%);filter:grayscale(0%);}.jumbotron{padding-top:160px;margin-top:-160px;border-radius:0;padding-bottom:40px;margin-bottom:0;font-size:.85em;padding-left:45px;padding-right:45px;}span.code-arrow{padding:0 0 0;display:block;transform:rotate(90deg);font-size:2em;}.mb-5,.my-5{margin-bottom:2rem !important;}.jumbotron{height:calc(100vh + 120px);}.jumbotron.jumbocover{height:auto;padding:160px 0 20px;}.jumbotron hr{display:none;}.jumbotron .btn{margin-bottom:0 !important;}.jumbotron .jumbotron-logo{margin-bottom:0;width:180px;height:62px;margin-top:-30px;}.jumbotron .jlogo-wrapper{height:62px;}}.vs-blog{margin-top:-88px !important;}.abp-account-container{max-width:400px;margin:0 auto;margin-top:-88px !important;}body{background-size:cover;}
\ No newline at end of file
+body{position:relative;font-family:'PT Sans',sans-serif;background:url(../assets/tools/bg.jpg) center center no-repeat;background-attachment:fixed;}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Caption',sans-serif;}h1{font-size:2.25em;margin:1.5rem 0 .75rem;}h2{font-size:1.75em;margin:1.5rem 0 .75rem;}h3{font-size:1.5em;margin:1.5rem 0 .75rem;}h4{font-size:1.25em;margin:1.5rem 0 .75rem;}h5{font-size:1em;margin:1.5rem 0 .75rem;}h6{font-size:1em;margin:1.5rem 0 .75rem;}img{max-width:100%;}.navbar{padding:1.75rem 2rem;}.nav-link{padding-left:1rem !important;padding-right:1rem !important;}.navbar-dark .navbar-nav .nav-link{color:#fff;}.text-success{color:#e90052 !important;}a.text-success:hover,a.text-success:focus{color:#e90052 !important;}.bg-success,.btn-success,.badge-success{background-color:#e90052 !important;border-color:#e90052 !important;}.bg-success{background-color:rgba(233,0,82,.8) !important;}.bg-blue,.btn-blue,.badge-blue{background-color:#03abed !important;border-color:#03abed !important;color:#fff;}.bg-blue:hover,.btn-blue:hover,.badge-blue:hover{background-color:#0095d0 !important;border-color:#0095d0 !important;color:#fff !important;}.btn:focus,.btn:active,.btn:visited,a:focus,a:active,a:visited{outline:none !important;box-shadow:none;}.text-primary{color:#38003c !important;}.bg-primary,.btn-primary,.badge-primary{background-color:#38003c !important;border-color:#38003c !important;}.bg-primary{background-color:rgba(56,0,60,.9) !important;}.btn-outline-primary{color:#38003c !important;border-color:#38003c !important;}.btn-outline-primary:hover{background-color:#38003c !important;color:#fff !important;}.dropdown-menu{padding:1rem 0;border-radius:.15rem;border:none;box-shadow:5px 5px 40px rgba(0,0,0,.3);}.dropdown-menu .dropdown-item{padding:.75rem 1.5rem;}#index-video{position:fixed;right:0;bottom:0;min-width:100%;min-height:100%;z-index:-1;}.bg-gradient-horizontal{background:#fff;}@media(min-width:480px){.bg-gradient-horizontal{background:#fff;background:-moz-linear-gradient(left,#fff 50%,#f2f2f2 50%);background:-webkit-linear-gradient(left,#fff 50%,#f2f2f2 50%);background:linear-gradient(to right,#fff 50%,#f2f2f2 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f2f2f2',GradientType=1);}}.bg-transparency{background:rgba(255,255,255,.9);}.bg-light{background:#eee;}.for-mobile{display:none;}.for-desktop{display:inline-block;}.breadcrumb{background:none;font-size:.85em;border-radius:0;border-bottom:1px solid #f5f5f5;margin:0 -15px;padding:.5rem 0;text-align:center;display:block;}.breadcrumb .breadcrumb-item+.breadcrumb-item{padding-left:.2rem;}.breadcrumb .breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.4rem;color:#eee;content:"|";}.breadcrumb .breadcrumb-item{color:#eee;display:inline-block;}.breadcrumb .breadcrumb-item a{color:#aaa;}.close{font-weight:300;}hr{margin-top:2rem;margin-bottom:2.5rem;border-top:1px solid rgba(0,0,0,.05);}span.with-br-name{font-size:.75em;}span.br-name{display:block;font-size:1.25em;}span.br-name-1{display:block;font-size:1em;}.btn-fifty{display:flex;}.btn-fifty .btn{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%;}.p-responsive{padding:120px 0;}.global-header{display:none;}.global-header .navbar{background:rgba(255,255,255,.2);}.global-header .navbar .products-link{border:1px solid rgba(255,255,255,.75);border-radius:.2rem;margin:0 10px;padding-top:.36rem;padding-bottom:.36rem;}.global-header .navbar .search-item{position:relative;}.global-header .navbar .search-item input.form-control{background:none;border:1px solid rgba(255,255,255,.25);border-radius:.2rem;color:#fff;padding-left:2.5rem;min-width:280px;}.global-header .navbar .search-item input.form-control::-webkit-input-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item input.form-control:-moz-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item input.form-control::-moz-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item input.form-control:-ms-input-placeholder{color:rgba(255,255,255,.25) !important;}.global-header .navbar .search-item .btn-search{position:absolute;top:-2px;left:-1px;background:none;}header .btn{background:#fff;}header .btn.btn-login,header .btn.btn-logout{border:2px solid #fff;color:#fff;background:transparent;margin-right:6px;}header .btn.btn-login:hover,header .btn.btn-logout:hover{background:#fff;color:#e90052;}.product-header{font-size:1.1rem;}.product-header .navbar-brand{font-size:1.75rem;}.home-logo{width:120px;}.jumbotron-logo{width:240px;margin-bottom:40px;}.forkme{position:fixed;bottom:0;right:0;}.footer-logo{width:140px;}.jumbotron{background:#006bf0;background:-moz-linear-gradient(left,#006bf0 0%,#40ffb0 100%);background:-webkit-linear-gradient(left,#006bf0 0%,#40ffb0 100%);background:linear-gradient(to right,rgba(56,0,60,.9) 0%,rgba(185,0,74,.78) 100%);margin-top:-120px;border-radius:0;margin-bottom:0;height:90vh;}.jumbotron.jumbocover{padding:120px 0 20px;height:auto;}.jumbotron>.row{height:calc(90vh - 120px);}.jumbotron .abp-version{position:absolute;font-size:11px;right:1px;top:-2px;padding:1px 4px 0;display:inline-block;color:#fff;background:rgba(233,3,82,.7);border-radius:3px;opacity:.8;}.jumbotron .desc-span{font-size:1.4em;font-style:italic;opacity:.7;}.section-with-logos img{margin:25px;max-height:50px;transition:.4s;opacity:.6;-webkit-filter:grayscale(60%);filter:grayscale(60%);}.section-with-logos img:hover{opacity:1;-webkit-filter:grayscale(0%);filter:grayscale(0%);}img.subsection-icon{width:64px;height:64px;}.toggle-row{display:none;}.btn-toggle .lessText{display:none;}.btn-toggle .moreText{display:block;}.btn-toggle.less .lessText{display:block;}.btn-toggle.less .moreText{display:none;}.abp-browser{margin:3rem 0 1rem;text-align:left;border-radius:6px;overflow:hidden;}.abp-browser .browser-container{border:1px solid #eee;}.abp-browser .browser-row{padding:4px 10px;background:#e5e5e5;}.abp-browser .browser-row:after{content:"";display:table;clear:both;}.abp-browser .browser-dot{margin-top:2px;margin-right:2px;height:12px;width:12px;background-color:#bbb;border-radius:50%;display:inline-block;}.abp-browser .abp-browser input[type=text]{width:100%;border-radius:3px;border:none;background-color:#fff;margin-top:-8px;height:25px;color:#666;padding:5px;}.abp-browser .browser-bar{width:17px;height:3px;background-color:#aaa;margin:3px 0;display:block;}.abp-browser .browser-content{padding:2rem;background:#f5f5f5;}.abp-browser .bg-primary,.abp-browser .btn-primary,.abp-browser .badge-primary{background-color:#007bff !important;border-color:#007bff !important;}.abp-browser .btn-outline-primary{color:#007bff !important;border-color:#007bff !important;}.abp-browser .btn-outline-primary:hover{background-color:#007bff !important;color:#fff !important;}span.code-arrow{padding:52px 0 18px;display:block;font-size:40px;}.docs-page{background:#f5f7f9;}.docs-page .docs-sidebar{background:#f5f7f9;padding-right:1.5rem;position:relative;width:270px;}.docs-page .docs-sidebar .docs-sidebar-wrapper{width:270px;top:0;position:fixed;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list{height:calc(100vh - 190px);overflow:hidden;overflow-y:auto;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search{position:relative;padding:0 0 1.25rem 1.5rem;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search input.form-control{background:none;border-radius:.2rem;padding-left:2.5rem;width:100%;background:#eeeff2;border:0;font-size:.85em;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search .btn-search{position:absolute;top:-5px;left:22px;background:none;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul{font-size:.913em;list-style:none;padding:0 0 0 20px;margin:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li{margin-left:0;padding-left:24px;display:block;width:100%;position:relative;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label{margin:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label.tree-toggle{transition:.3s;display:inline-block;width:18px;height:18px;text-align:center;padding:0;line-height:normal;border-radius:50%;margin-right:4px;position:absolute;left:0;top:8px;cursor:pointer;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label.tree-toggle img{width:14px;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li label.tree-toggle:not(.last-link).opened{transform:rotate(180deg);}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li a{color:#101010;font-weight:700;padding:7px 0;display:block;border-bottom:1px solid #eeeff3;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul{padding:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li label.tree-toggle{top:6px;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li a{font-weight:400;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li ul{padding:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li ul li ul li a{font-weight:300;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list ul li.selected-tree>a{color:#38003c;font-weight:bold;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand{font-size:2rem;font-weight:700;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand .docs-logo{width:130px;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand strong{font-weight:300;font-size:1.2rem;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-logo-desc{font-size:.85em;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-logo-desc strong{display:block;}.docs-page .docs-content .docs-text-field{padding:3rem;}.docs-page .docs-page-index{position:relative;}.docs-page .docs-page-index .docs-inner-anchors{position:fixed;top:0;max-width:270px;padding:10px;font-size:.9em;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills{font-size:.95em;margin-left:18px;border-left:1px solid #e5e5e5;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-link{padding:.2rem 0 .2rem 1rem;color:#aaa;line-height:1.1;position:relative;border-left:3px solid transparent;border-radius:0;margin-left:-2px;margin-top:2px;margin-bottom:2px;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-link.active{background:none;color:#38003b;border-color:#38003b;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-pills .nav-link.active{color:#38003b;}.docs-page .docs-page-index .docs-inner-anchors .navbar .nav-pills .nav-pills .nav-pills .nav-link.active{color:#38003b;}.docs-page .docs-page-index .docs-inner-anchors>.navbar{margin-left:-18px;}.docs-page .docs-page-index .docs-inner-anchors .docs-anchors-wrapper{max-width:300px;float:left;}.docs-page .docs-page-index .docs-inner-anchors .inner-title{padding-left:18px;}.docs-page .docs-page-index .scroll-top-btn{display:none;font-size:.85em;color:#aaa;text-decoration:underline;padding-left:18px;}.docs-page .docs-page-index .scroll-top-btn.showup{display:block;}@media(min-width:1200px){.container{max-width:1180px;}}@media(min-width:1366px){.container{max-width:1340px;}}@media(min-width:1440px){.container{max-width:1400px;}}@media(max-width:767px){.docs-page{background:#f5f7f9;}.docs-page>.container-fluid{display:block;}.docs-page>.container-fluid>.row{display:block;}.docs-page .docs-sidebar{position:fixed;max-width:100%;width:100%;display:block;padding:0 !important;top:0;left:0;z-index:100;right:0;}.docs-page .docs-sidebar .docs-sidebar-wrapper{max-width:100%;width:100%;top:0;position:relative;margin:0 !important;height:72px;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list{padding:.5rem 1.5rem 2rem 1.5rem;height:calc(100vh - 72px);overflow:hidden;overflow-y:auto;position:fixed;top:72px;font-size:17px;left:0;width:100%;z-index:100;background:#f5f7f9;display:none;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search{position:relative;padding:0 0 1rem !important;}.docs-page .docs-sidebar .docs-sidebar-wrapper .docs-tree-list .docs-search .btn-search{top:-14px;left:-2px;}.docs-page .docs-sidebar .docs-top .navbar-logo{padding:0;padding-top:.3rem;display:block;text-align:center;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand{font-size:2rem;font-weight:700;display:block;margin-right:0;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-brand .docs-logo{width:110px;}.docs-page .docs-sidebar .docs-top .navbar-logo .navbar-logo-desc{font-size:1em;display:none;}.docs-page .docs-sidebar .docs-top .open-dmenu{position:absolute;top:10px;left:20px;}.docs-page .docs-content{padding-top:72px;max-width:100%;display:block !important;}.docs-page .docs-content .docs-text-field{padding:1rem 1.5rem;}.docs-page .docs-page-index{display:none;}}@media(max-width:992px){body{font-size:14px;}.for-mobile{display:inline-block;}.for-desktop{display:none;}.close-mmenu,.close-dmenu{position:absolute;top:-78px;left:25px;color:#fff;font-size:68px;background:#fff;opacity:0;}.navbar{padding:.5rem 1.75rem;}.navbar .navbar-collapse{background:#38003d;position:fixed;top:86px;left:0;width:100%;height:100vh;height:calc(100vh - 86px);z-index:100 !important;}.navbar .navbar-collapse .navbar-nav{height:100vh;padding:20px 30px;overflow:auto;}.navbar .navbar-collapse .navbar-nav .nav-link{padding:1.2rem !important;}.navbar .navbar-toggler{padding:.5rem .75rem;font-size:1.5rem;line-height:1;background-color:transparent;border:0;border-radius:.25rem;color:#fff !important;margin-left:-1rem;}.jumbotron .btn,footer .btn{display:block;margin-bottom:10px;}.multi-tenancy{text-align:center !important;}.section-with-logos img{margin:15px;opacity:1;-webkit-filter:grayscale(0%);filter:grayscale(0%);}.jumbotron{padding-top:160px;margin-top:-160px;border-radius:0;padding-bottom:40px;margin-bottom:0;font-size:.85em;padding-left:45px;padding-right:45px;}span.code-arrow{padding:0 0 0;display:block;transform:rotate(90deg);font-size:2em;}.mb-5,.my-5{margin-bottom:2rem !important;}.jumbotron{height:calc(100vh + 120px);}.jumbotron.jumbocover{height:auto;padding:160px 0 20px;}.jumbotron hr{display:none;}.jumbotron .btn{margin-bottom:0 !important;}.jumbotron .jumbotron-logo{margin-bottom:0;width:180px;height:62px;margin-top:-30px;}.jumbotron .jlogo-wrapper{height:62px;}}.vs-blog{margin-top:-88px !important;}.abp-account-container{max-width:400px;margin:0 auto;margin-top:-88px !important;}body{background-size:cover;}
\ No newline at end of file
diff --git a/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.scss b/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.scss
index 07bfa1b354..4d9cb4a995 100644
--- a/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.scss
+++ b/abp_io/src/Volo.AbpWebSite.Web/wwwroot/scss/vs.scss
@@ -3,7 +3,7 @@
@import "footer.scss";
@import "home.scss";
@import "docs.scss";
-@media (max-width: 767px) {
+@media (max-width: 992px) {
@import "responsive.scss";
}
diff --git a/common.props b/common.props
index 15df803252..ab2b655172 100644
--- a/common.props
+++ b/common.props
@@ -1,7 +1,7 @@
latest
- 0.9.0
+ 0.10.0
$(NoWarn);CS1591
https://abp.io/assets/abp_nupkg.png
https://abp.io
diff --git a/docs/en/AspNetCore/Auto-API-Controllers.md b/docs/en/AspNetCore/Auto-API-Controllers.md
new file mode 100644
index 0000000000..48567b6919
--- /dev/null
+++ b/docs/en/AspNetCore/Auto-API-Controllers.md
@@ -0,0 +1,138 @@
+# Auto API Controllers
+
+Once you create an [application service](Application-Services.md), you generally want to create an API controller to expose this service as an HTTP (REST) API endpoint. A typical API controller does nothing but redirects method calls to the application service and configures the REST API using attributes like [HttpGet], [HttpPost], [Route]... etc.
+
+ABP can **automagically** configures your application services as MVC API Controllers by convention. Most of time you don't care about its detailed configuration, but it's possible fully customize it.
+
+## Configuration
+
+Basic configuration is simple. Just configure `AbpAspNetCoreMvcOptions` and use `ConventionalControllers.Create` method as shown below:
+
+````csharp
+[DependsOn(BookStoreApplicationModule)]
+public class BookStoreWebModule : AbpModule
+{
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ Configure(options =>
+ {
+ options.ConventionalControllers.Create(typeof(BookStoreApplicationModule).Assembly);
+ });
+ }
+}
+````
+
+This example code configures all the application services in the assembly containing the class `BookStoreApplicationModule`. The figure below shows the resulting API on the [Swagger UI](https://swagger.io/tools/swagger-ui/).
+
+
+
+### Examples
+
+Some example method names and the corresponding routes calculated by convention:
+
+| Service Method Name | HTTP Method | Route |
+| ----------------------------------------------------- | ----------- | -------------------------- |
+| GetAsync(Guid id) | GET | /api/app/book/{id} |
+| GetListAsync() | GET | /api/app/book |
+| CreateAsync(CreateBookDto input) | POST | /api/app/book |
+| UpdateAsync(Guid id, UpdateBookDto input) | PUT | /api/app/book/{id} |
+| DeleteAsync(Guid id) | DELETE | /api/app/book/{id} |
+| GetEditorsAsync(Guid id) | GET | /api/app/book/{id}/editors |
+| CreateEditorAsync(Guid id, BookEditorCreateDto input) | POST | /api/app/book/{id}/editor |
+
+### HTTP Method
+
+ABP uses a naming convention while determining the HTTP method for a service method (action):
+
+- **Get**: Used if the method name starts with 'GetList', 'GetAll' or 'Get'.
+- **Put**: Used if the method name starts with 'Put' or 'Update'.
+- **Delete**: Used if the method name starts with 'Delete' or 'Remove'.
+- **Post**: Used if the method name starts with 'Create', 'Add', 'Insert' or 'Post'.
+- **Patch**: Used if the method name starts with 'Patch'.
+- Otherwise, **Post** is used **by default**.
+
+If you need to customize HTTP method for a particular method, then you can use one of the standard ASP.NET Core attributes ([HttpPost], [HttpGet], [HttpPut]... etc.). This requires to add [Microsoft.AspNetCore.Mvc.Core](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Core) nuget package to your project that contains the service.
+
+### Route
+
+Route is calculated based on some conventions:
+
+* It always starts with '**/api**'.
+* Continues with a **route path**. Default value is '**/app**' and can be configured as like below:
+
+````csharp
+Configure(options =>
+{
+ options.ConventionalControllers
+ .Create(typeof(BookStoreApplicationModule).Assembly, opts =>
+ {
+ opts.RootPath = "volosoft/book-store";
+ });
+});
+````
+
+Then the route for getting a book will be '**/api/volosoft/book-store/book/{id}**'. This sample uses two-level root path, but you generally use a single level depth.
+
+* Continues with the **normalized controller/service name**. Normalization removes 'AppService', 'ApplicationService' and 'Service' postfixes and converts it to **camelCase**. If your application service class name is 'BookAppService' then it becomes only '/book'.
+ * If you want to customize naming, then set the `UrlControllerNameNormalizer` option. It's a func delegate which allows you to determine the name per controller/service.
+* If the method has an '**id**' parameter then it adds '**/{id}**' ro the route.
+* Then it adds the action name if necessary. Action name is obtained from the method name on the service and normalized by;
+ * Removing '**Async**' postfix. If the method name is 'GetPhonesAsync' then it becomes 'GetPhones'.
+ * Removing **HTTP method prefix**. 'GetList', 'GetAll', 'Get', 'Put', 'Update', 'Delete', 'Remove', 'Create', 'Add', 'Insert', 'Post' and 'Patch' prefixes are removed based on the selected HTTP method. So, 'GetPhones' becomes 'Phones' since 'Get' prefix is a duplicate for a GET request.
+ * Converting the result to **camelCase**.
+ * If the resulting action name is **empty** then it's not added to the route. If it's not empty, it's added to the route (like '/phones'). For 'GetAllAsync' method name it will be empty, for 'GetPhonesAsync' method name is will be 'phones'.
+ * Normalization can be customized by setting the `UrlActionNameNormalizer` option. It's an action delegate that is called for every method.
+* If there is another parameter with 'Id' postfix, then it's also added to the route as the final route segment (like '/phoneId').
+
+## Service Selection
+
+Creating conventional HTTP API controllers are not unique to application services actually.
+
+### IRemoteService Interface
+
+If a class implements the `IRemoteService` interface then it's automatically selected to be a conventional API controller. Since application services inherently implement it, they are considered as natural API controllers.
+
+### RemoteService Attribute
+
+`RemoteService` attribute can be used to mark a class as a remote service or disable for a particular class that inherently implements the `IRemoteService` interface. Example:
+
+````csharp
+[RemoteService(IsEnabled = false)] //or simply [RemoteService(false)]
+public class PersonAppService : ApplicationService
+{
+
+}
+````
+
+### TypePredicate Option
+
+You can further filter classes to become an API controller by providing the `TypePedicate` option:
+
+````csharp
+services.Configure(options =>
+{
+ options.ConventionalControllers
+ .Create(typeof(BookStoreApplicationModule).Assembly, opts =>
+ {
+ opts.TypePredicate = type => { return true; };
+ });
+});
+````
+
+Instead of returning `true` for every type, you can check it and return `false` if you don't want to expose this type as an API controller.
+
+## API Explorer
+
+API Exploring a service that makes possible to investigate API structure by the clients. Swagger uses it to create a documentation and test UI for an endpoint.
+
+API Explorer is automatically enabled for conventional HTTP API controllers by default. Use `RemoteService` attribute to control it per class or method level. Example:
+
+````csharp
+[RemoteService(IsMetadataEnabled = false)]
+public class PersonAppService : ApplicationService
+{
+
+}
+````
+
+Disabled `IsMetadataEnabled` which hides this service from API explorer and it will not be discoverable. However, it still can be usable for the clients know the exact API path/route.
\ No newline at end of file
diff --git a/docs/en/AspNetCore/Bundling-Minification.md b/docs/en/AspNetCore/Bundling-Minification.md
index b8d70d8624..7170690ef3 100644
--- a/docs/en/AspNetCore/Bundling-Minification.md
+++ b/docs/en/AspNetCore/Bundling-Minification.md
@@ -1,5 +1,5 @@
-## ASP.NET Core MVC Bundling & Minification
+# ASP.NET Core MVC Bundling & Minification
There are many ways of bundling & minification of client side resources (JavaScript and CSS files). Most common ways are:
@@ -8,7 +8,7 @@ There are many ways of bundling & minification of client side resources (JavaScr
ABP offers a simple, dynamic, powerful, modular and built-in way.
-### Volo.Abp.AspNetCore.Mvc.UI.Bundling Package
+## Volo.Abp.AspNetCore.Mvc.UI.Bundling Package
> This package is already installed by default with the startup templates. So, most of the time, you don't need to install it manually.
@@ -34,7 +34,7 @@ namespace MyCompany.MyProject
}
````
-### Razor Bundling Tag Helpers
+## Razor Bundling Tag Helpers
The simplest way of creating a bundle is to use `abp-script-bundle` or `abp-style-bundle` tag helpers. Example:
@@ -54,7 +54,7 @@ This bundle defines a style bundle with a **unique name**: `MyGlobalBundle`. It'
* The bundle files may be **physical** files or [**virtual/embedded** files](../Virtual-File-System.md).
* ABP automatically adds **version query string** to the bundle file URL to prevent browsers from caching when the bundle is being updated. (like ?_v=67872834243042 - generated from last change date of the related files). The versioning works even if the bundle files are individually added to the page (on the development environment).
-#### Importing The Bundling Tag Helpers
+### Importing The Bundling Tag Helpers
> This is already imported by default with the startup templates. So, most of the time, you don't need to add it manually.
@@ -64,7 +64,7 @@ In order to use bundle tag helpers, you need to add it into your `_ViewImports.c
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
````
-#### Unnamed Bundles
+### Unnamed Bundles
The `name` is **optional** for the razor bundle tag helpers. If you don't define a name, it's automatically **calculated** based on the used bundle file names (they are **concatenated** and **hashed**). Example:
@@ -90,7 +90,7 @@ Advantages of **named** bundles:
* Other **modules can contribute** to the bundle by its name (see the sections below).
-#### Single File
+### Single File
If you need to just add a single file to the page, you can use the `abp-script` or `abp-style` tag without a wrapping in the `abp-script-bundle` or `abp-style-bundle` tag. Example:
@@ -100,11 +100,11 @@ If you need to just add a single file to the page, you can use the `abp-script`
The bundle name will be *scripts.my-scripts* for the example above ("/" is replaced by "."). All bundling features are work as expected for single file bundles too.
-### Bundling Options
+## Bundling Options
If you need to use same bundle in **multiple pages** or want to use some more **powerful features**, you can configure bundles **by code** in your [module](../Module-Development-Basics.md) class.
-#### Creating A New Bundle
+### Creating A New Bundle
Example usage:
@@ -141,10 +141,9 @@ After defining such a bundle, it can be included into a page using the same tag
This time, no file defined in the tag helper definition because the bundle files are defined by the code.
-#### Configuring An Existing Bundle
+### Configuring An Existing Bundle
-ABP supports [modularity](../Module-Development-Basics.md) for bundling as well. A module can modify an existing bundle that is created by a dependant module.
-Example:
+ABP supports [modularity](../Module-Development-Basics.md) for bundling as well. A module can modify an existing bundle that is created by a dependant module. Example:
````C#
[DependsOn(typeof(MyWebModule))]
@@ -168,7 +167,7 @@ public class MyWebExtensionModule : AbpModule
> It's not possible to configure unnamed bundle tag helpers by code, because their name are not known at the development time. It's suggested to always use a name for a bundle tag helper.
-### Bundle Contributors
+## Bundle Contributors
Adding files to an existing bundle seems useful. What if you need to **replace** a file in the bundle or you want to **conditionally** add files? Defining a bundle contributor provides extra power for such cases.
@@ -187,7 +186,7 @@ public class MyExtensionGlobalStyleContributor : BundleContributor
}
````
-Then you can use this contributor as below:
+Then you can use this contributor as like below:
````C#
services.Configure(options =>
@@ -200,8 +199,9 @@ services.Configure(options =>
});
````
-Contributors can also be used in the bundle tag helpers.
-Example:
+> You can also add contributors while creating a new bundle.
+
+Contributors can also be used in the bundle tag helpers. Example:
````xml
@@ -213,7 +213,7 @@ Example:
`abp-style` and `abp-script` tags can get `type` attributes (instead of `src` attributes) as shown in this sample. When you add a bundle contributor, its dependencies are also automatically added to the bundle.
-#### Contributor Dependencies
+### Contributor Dependencies
A bundle contributor can have one or more dependencies to other contributors.
Example:
@@ -230,11 +230,40 @@ When a bundle contributor is added, its dependencies are **automatically and rec
Creating contributors and defining dependencies is a way of organizing bundle creation across different modules.
-#### Accessing to the IServiceProvider
+### Contributor Extensions
+
+In some advanced scenarios, you may want to do some additional configuration whenever a bundle contributor is used. Contributor extensions works seamlessly when the extended contributor is used.
+
+The example below adds some styles for prism.js library:
+
+````csharp
+public class MyPrismjsStyleExtension : BundleContributor
+{
+ public override void ConfigureBundle(BundleConfigurationContext context)
+ {
+ context.Files.AddIfNotContains("/libs/prismjs/plugins/toolbar/prism-toolbar.css");
+ }
+}
+````
+
+Then you can configure `BundleContributorOptions` to extend existing `PrismjsStyleBundleContributor`.
+
+````csharp
+Configure(options =>
+{
+ options
+ .Extensions()
+ .Add();
+});
+````
+
+Whenever `PrismjsStyleBundleContributor` is added into a bundle, `MyPrismjsStyleExtension` will also be automatically added.
+
+### Accessing to the IServiceProvider
While it is rarely needed, `BundleConfigurationContext` has a `ServiceProvider` property that you can resolve service dependencies inside the `ConfigureBundle` method.
-#### Standard Package Contributors
+### Standard Package Contributors
Adding a specific NPM package resource (js, css files) into a bundle is pretty straight forward for that package. For example you always add the `bootstrap.css` file for the bootstrap NPM package.
@@ -255,7 +284,7 @@ Using the built-in contributors for standard packages;
* Prevents multiple modules adding the **duplicate the files**.
* Manages **dependencies recursively** (adds dependencies of dependencies, if necessary).
-##### Volo.Abp.AspNetCore.Mvc.UI.Packages Package
+#### Volo.Abp.AspNetCore.Mvc.UI.Packages Package
> This package is already installed by default in the startup templates. So, most of the time, you don't need to install it manually.
@@ -282,7 +311,7 @@ namespace MyCompany.MyProject
}
````
-#### Bundle Inheritance
+### Bundle Inheritance
In some specific cases, it may be needed to create a **new** bundle **inherited** from other bundle(s). Inheriting from a bundle (recursively) inherits all files/contributors of that bundle. Then the derived bundle can add or modify files/contributors **without modifying** the original bundle.
Example:
@@ -302,11 +331,11 @@ services.Configure(options =>
});
````
-### Themes
+## Themes
Themes uses the standard package contributors to add library resources to page layouts. Themes may also define some standard/global bundles, so any module can contribute to these standard/global bundles. See the [theming documentation](Theming.md) for more.
-### Best Practices & Suggestions
+## Best Practices & Suggestions
It's suggested to define multiple bundles for an application, each one is used for different purposes.
@@ -317,7 +346,7 @@ It's suggested to define multiple bundles for an application, each one is used f
Establish a balance between performance, network bandwidth usage and count of many bundles.
-### See Also
+## See Also
* [Client Side Package Management](Client-Side-Package-Management.md)
* [Theming](Theming.md)
diff --git a/docs/en/AspNetCore/Dynamic-CSharp-API-Clients.md b/docs/en/AspNetCore/Dynamic-CSharp-API-Clients.md
new file mode 100644
index 0000000000..eee2abacc0
--- /dev/null
+++ b/docs/en/AspNetCore/Dynamic-CSharp-API-Clients.md
@@ -0,0 +1,153 @@
+# Dynamic C# API Clients
+
+ABP can dynamically create C# API client proxies to call remote HTTP services (REST APIs). In this way, you don't need to deal with `HttpClient` and other low level HTTP features to call remote services and get results.
+
+## Service Interface
+
+Your service/controller should implement an interface that is shared between the server and the client. So, first define a service interface in a shared library project. Example:
+
+````csharp
+public interface IBookService : IApplicationService
+{
+ Task> GetListAsync();
+}
+````
+
+Your interface should implement the `IRemoteService` interface. Since the `IApplicationService` inherits the `IRemoteService` interface, the `IBookService` above satisfies this condition.
+
+Implement this class in your service application. You can use [auto API controller system](Auto-API-Controllers.md) to expose the service as a REST API endpoint.
+
+## Client Proxy Generation
+
+First, add [Volo.Abp.Http.Client](https://www.nuget.org/packages/Volo.Abp.Http.Client) nuget package to your client project:
+
+````
+Install-Package Volo.Abp.Http.Client
+````
+
+Then add `AbpHttpClientModule` dependency to your module:
+
+````csharp
+[DependsOn(typeof(AbpHttpClientModule))] //add the dependency
+public class MyClientAppModule : AbpModule
+{
+}
+````
+
+Now, it's ready to create the client proxies. Example:
+
+````csharp
+[DependsOn(
+ typeof(AbpHttpClientModule), //used to create client proxies
+ typeof(BookStoreApplicationModule) //contains the application service interfaces
+ )]
+public class MyClientAppModule : AbpModule
+{
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ //Configure remote end point
+ context.Services.Configure(options =>
+ {
+ options.RemoteServices.Default =
+ new RemoteServiceConfiguration("http://localhost:53929/");
+ });
+
+ //Create dynamic client proxies
+ context.Services.AddHttpClientProxies(
+ typeof(BookStoreApplicationModule).Assembly
+ );
+ }
+}
+````
+
+`RemoteServiceOptions` is used to configure endpoints for remote services (This example sets the default endpoint while you can have different service endpoints used by different clients. See the "Multiple Remote Service Endpoint" section).
+
+`AddHttpClientProxies` method gets an assembly, finds all service interfaces in the given assembly, creates and registers proxy classes.
+
+## Usage
+
+It's straightforward to use. Just inject the service interface in the client application code:
+
+````csharp
+public class MyService : ITransientDependency
+{
+ private readonly IBookService _bookService;
+
+ public MyService(IBookService bookService)
+ {
+ _bookService = bookService;
+ }
+
+ public async Task DoIt()
+ {
+ var books = await _bookService.GetListAsync();
+ foreach (var book in books)
+ {
+ Console.WriteLine($"[BOOK {book.Id}] Name={book.Name}");
+ }
+ }
+}
+````
+
+This sample injects the `IBookService` service interface defined above. The dynamic client proxy implementation makes an HTTP call whenever a service method is called by the client.
+
+## Configuration Details
+
+### RemoteServiceOptions
+
+While you can configure `RemoteServiceOptions` as the example shown above, you can let it to read from your `appsettings.json` file. Add a `RemoteServices` section to your `appsettings.json` file:
+
+````json
+{
+ "RemoteServices": {
+ "Default": {
+ "BaseUrl": "http://localhost:53929/"
+ }
+ }
+}
+````
+
+Then you can pass your `IConfigurationRoot` instance directly to the `Configure()` method as shown below:
+
+````csharp
+var configuration = new ConfigurationBuilder()
+ .SetBasePath(Directory.GetCurrentDirectory())
+ .AddJsonFile("appsettings.json")
+ .Build();
+
+context.Services.Configure(configuration);
+````
+
+This approach is useful since it's easy to change the configuration later without touching to the code.
+
+#### Multiple Remote Service Endpoint
+
+The examples above have configured the "Default" remote service endpoint. You may have different endpoints for different services (as like in a microservice approach where each microservice has different endpoint). In this case, you can add other endpoints to your configuration file:
+
+````json
+{
+ "RemoteServices": {
+ "Default": {
+ "BaseUrl": "http://localhost:53929/"
+ },
+ "BookStore": {
+ "BaseUrl": "http://localhost:48392/"
+ }
+ }
+}
+````
+
+See the next section to learn how to use this new endpoint.
+
+### AddHttpClientProxies Method
+
+`AddHttpClientProxies` method can get an additional parameter for the remote service name. Example:
+
+````csharp
+context.Services.AddHttpClientProxies(
+ typeof(BookStoreApplicationModule).Assembly,
+ remoteServiceName: "BookStore"
+);
+````
+
+`remoteServiceName` parameter matches the service endpoint configured via `RemoteServiceOptions`. If the `BookStore` endpoint is not defined then it fallbacks to the `Default` endpoint.
\ No newline at end of file
diff --git a/docs/en/Getting-Started-AspNetCore-Application.md b/docs/en/Getting-Started-AspNetCore-Application.md
index 8c0d03b6bb..fe1ff3450b 100644
--- a/docs/en/Getting-Started-AspNetCore-Application.md
+++ b/docs/en/Getting-Started-AspNetCore-Application.md
@@ -1,6 +1,6 @@
# Getting Started ABP With AspNet Core MVC Web Application
-This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with a **[startup template](https://abp.io/Templates)**.
+This tutorial explains how to start ABP from scratch with minimal dependencies. You generally want to start with the **[startup template](Getting-Started-AspNetCore-MVC-Template.md)**.
## Create A New Project
diff --git a/docs/en/Getting-Started-AspNetCore-MVC-Template.md b/docs/en/Getting-Started-AspNetCore-MVC-Template.md
index 665cec98b1..de9a5b09cb 100644
--- a/docs/en/Getting-Started-AspNetCore-MVC-Template.md
+++ b/docs/en/Getting-Started-AspNetCore-MVC-Template.md
@@ -1,5 +1,7 @@
## ASP.NET Core MVC Template
+This tutorials explains how to create a new ASP.NET Core MVC web application using the startup template, configure and run it.
+
### Creating a new project
Go to [the template creation page](https://abp.io/Templates), enter a project name and create your project as shown below:
diff --git a/docs/en/Index.md b/docs/en/Index.md
index 18df429102..bd65ed5c7f 100644
--- a/docs/en/Index.md
+++ b/docs/en/Index.md
@@ -1,64 +1,30 @@
# ABP Documentation
-* Getting Started
- * From Startup Templates
- * [ASP.NET Core MVC Template](Getting-Started-AspNetCore-MVC-Template.md)
- * From Empty Projects
- * [With Console Application](Getting-Started-Console-Application.md)
- * [With ASP.NET Core Web Application](Getting-Started-AspNetCore-Application.md)
-* Tutorials
- * Application Development
- * [With ASP.NET Core MVC](Tutorials/AspNetCore-Mvc/Part-I.md)
-* Fundamentals
- * [Dependency Injection](Dependency-Injection.md)
- * [AutoFac Integration](Autofac-Integration.md)
- * [Virtual File System](Virtual-File-System.md)
- * [Localization](Localization.md)
- * [Exception Handling](Exception-Handling.md)
- * Validation
- * Authorization
- * Caching
- * Auditing
- * Setting Management
- * Object to Object Mapping
- * AutoMapper Integration
-* Events
- * Event Bus (local)
- * Distributed Event Bus
- * RabbitMQ Integration
-* Services
- * Object Serialization
- * JSON Serialization
- * Emailing
- * GUIDs
- * Threading
- * Timing
-* [Multi Tenancy](Multi-Tenancy.md)
-* Module Development
- * [Basics](Module-Development-Basics.md)
- * Plug-In Modules
- * [Best Practices](Best-Practices/Index.md)
-* Domain Driven Design
- * Domain Layer
- * [Entities & Aggregate Roots](Entities.md)
- * Value Objects
- * [Repositories](Repositories.md)
- * Domain Services
- * Specifications
- * Application Layer
- * Application Services
- * Data Transfer Objects
- * Unit Of Work
-* ASP.NET Core MVC
- * API Versioning
- * User Interface
- * [Client Side Package Management](AspNetCore/Client-Side-Package-Management.md)
- * [Bundling & Minification](AspNetCore/Bundling-Minification.md)
- * [Tag Helpers](Tag-Helpers.md)
- * [Theming](AspNetCore/Theming.md)
-* Data Access
- * [Entity Framework Core Integration](Entity-Framework-Core.md)
- * [MongoDB Integration](MongoDB.md)
-* Background
- * [Background Jobs](Background-Jobs.md)
-* Testing
+ABP is an **open source application framework** focused on ASP.NET Core based web application development, but also supports developing other types of applications.
+
+Explore the left navigation menu to deep dive in the documentation.
+
+## Project Status
+
+ABP is the **next generation** of the open source [ASP.NET Boilerplate](https://aspnetboilerplate.com/) framework. It's currently in early preview stage and not ready to use in production. The documentation is in progress and currently is very incomplete.
+
+For short-term and production applications, it's suggested to use the [ASP.NET Boilerplate](https://aspnetboilerplate.com/) framework which is feature rich, mature, maintained and up-to-date.
+
+## Getting Started
+
+Easiest way to start a new project with ABP is to use the Startup templates:
+
+* [ASP.NET Core MVC Template](Getting-Started-AspNetCore-MVC-Template.md)
+
+If you want to start from scratch (with an empty project) then manually install the ABP framework, use the following tutorials:
+
+* [Console Application](Getting-Started-Console-Application.md)
+* [ASP.NET Core Web Application](Getting-Started-AspNetCore-Application.md)
+
+## Source Code
+
+ABP is being developed on GitHub. See [the source code](https://github.com/abpframework/abp).
+
+## Want to Contribute?
+
+ABP is a community-driven open source project. See [the contribution guide](Contribution/Index.md) if you want to be a part of this project.
\ No newline at end of file
diff --git a/docs/en/Module-Development-Basics.md b/docs/en/Module-Development-Basics.md
index 6e1c724669..6a0561a0c5 100644
--- a/docs/en/Module-Development-Basics.md
+++ b/docs/en/Module-Development-Basics.md
@@ -1,10 +1,10 @@
-## Module Development
+# Module Development
-### Introduction
+## Introduction
-ABP is itself a modular framework. It also provides an infrastructure and architectural model to develop your own modules.
+ABP is a **modular application framework** which consists of dozens of **nuget packages**. It also provides a complete infrastructure to build your own application modules which may have entities, services, database integration, APIs, UI components and so on.
-### Module Class
+## Module Class
Every module should define a module class. The simplest way of defining a module class is to create a class derived from ``AbpModule`` as shown below:
@@ -16,9 +16,9 @@ public class BlogModule : AbpModule
````
-#### Configuring Dependency Injection & Other Modules
+### Configuring Dependency Injection & Other Modules
-##### ConfigureServices Method
+#### ConfigureServices Method
``ConfigureServices`` is the main method to add your services to the dependency injection system and configure other modules. Example:
@@ -52,15 +52,15 @@ public class BlogModule : AbpModule
See Configuration (TODO: link) document for more about the configuration system.
-##### Pre & Post Configure Services
+#### Pre & Post Configure Services
``AbpModule`` class also defines ``PreConfigureServices`` and ``PostConfigureServices`` methods to override and write your code just before and just after ``ConfigureServices``. Notice that the code you have written into these methods will be executed before/after the ``ConfigureServices`` methods of all other modules.
-#### Application Initialization
+### Application Initialization
Once all the services of all modules are configured, the application starts by initializing all modules. In this phase, you can resolve services from ``IServiceProvider`` since it's ready and available.
-##### OnApplicationInitialization Method
+#### OnApplicationInitialization Method
You can override ``OnApplicationInitialization`` method to execute code while application is being started. Example:
@@ -102,15 +102,15 @@ public class AppModule : AbpModule
You can also perform startup logic if your module requires it
-##### Pre & Post Application Initialization
+#### Pre & Post Application Initialization
``AbpModule`` class also defines ``OnPreApplicationInitialization`` and ``OnPostApplicationInitialization`` methods to override and write your code just before and just after ``OnApplicationInitialization``. Notice that the code you have written into these methods will be executed before/after the ``OnApplicationInitialization`` methods of all other modules.
-#### Application Shutdown
+### Application Shutdown
-Lastly, you can override ``OnApplicationShutdown`` method if you want to execute some code while application is beign shutdown.
+Lastly, you can override ``OnApplicationShutdown`` method if you want to execute some code while application is being shutdown.
-### Module Dependencies
+## Module Dependencies
In a modular application, it's not unusual for one module to depend upon another module(s). An Abp module must declare ``[DependsOn]`` attribute if it does have a dependcy upon another module, as shown below:
@@ -126,3 +126,10 @@ public class BlogModule
You can use multiple ``DependsOn`` attribute or pass multiple module types to a single ``DependsOn`` attribute depending on your preference.
A depended module may depend on another module, but you only need to define your direct dependencies. ABP investigates the dependency graph for the application at startup and initializes/shutdowns modules in the correct order.
+
+## Framework Modules vs Application Modules
+
+There are **two types of modules.** They don't have any structural difference but categorized by functionality and purpose:
+
+- **Framework modules**: These are **core modules of the framework** like caching, emailing, theming, security, serialization, validation, EF Core integration, MongoDB integration... etc. They do not have application/business functionalities but makes your daily development easier by providing common infrastructure, integration and abstractions.
+- **Application modules**: These modules implement **specific application/business functionalities** like blogging, document management, identity management, tenant management... etc. They generally have their own entities, services, APIs and UI components. See [pre-built application modules](Modules/Index.md).
\ No newline at end of file
diff --git a/docs/en/Modules/Docs.md b/docs/en/Modules/Docs.md
new file mode 100644
index 0000000000..1aa81621f5
--- /dev/null
+++ b/docs/en/Modules/Docs.md
@@ -0,0 +1,475 @@
+# Docs Module
+
+## What is Docs Module?
+
+Docs module is an application module for ABP framework. It simplifies software documentation. This module is free and open-source.
+
+### Integration
+
+Currently docs module provides you to store your docs both on GitHub and file system.
+
+### Hosting
+
+Docs module is an application module and does not offer any hosting solution. You can host your docs on-premise or on cloud.
+
+### Versioning
+
+When you use GitHub to store your docs, Docs Module supports versioning. If you have multiple versions for your docs, there will be a combo-box on the UI to switch between versions. If you choose file system to store your docs, it does not support multiple versions.
+
+[The documents](https://abp.io/documents/) for ABP framework is also using this module.
+
+> Docs module follows the [module architecture best practices](../Best-Practices/Module-Architecture.md) guide.
+
+
+
+## Installation
+
+### 1- Download
+
+If you do not have an existing ABP project, this step shows you how to create a new project from [abp.io](https://abp.io) to add the Docs Module. If you already have an ABP project, you can skip this step.
+
+Navigate to https://abp.io/Templates. Enter your project name as `Acme.MyProject`, select `ASP.NET Core Mvc Application` and select `Entity Framework Core` for the database provider.
+
+Note that this document covers `Entity Framework Core` provider but you can also select `MongoDB` as your database provider.
+
+
+
+### 2- Running The Empty Application
+
+After you download the project, extract the ZIP file and open `Acme.MyProject.sln`. You will see that the solution consists of `Application`, `Domain `, `EntityFrameworkCore` and `Web` projects. Right click on `Acme.MyProject.Web` project and **Set as StartUp Project**.
+
+
+
+The database connection string is located in `appsettings.json` of your `Acme.MyProject.Web` project. If you have a different database configuration, change the connection string.
+
+```json
+{
+ "ConnectionStrings": {
+ "Default": "Server=localhost;Database=MyProject;Trusted_Connection=True;MultipleActiveResultSets=true"
+ }
+}
+```
+
+
+
+Open `Package Manager Console` in the Visual Studio and choose `src\Acme.MyProject.EntityFrameworkCore` as the default project. Run `Update-Database` command to create your new database. The database `MyProject` will be created in your database server.
+
+Now an empty ABP project has been created! You can now run your project and see the empty website.
+
+To login your website enter `admin` as the username and `1q2w3E*` as the password.
+
+### 2- Referencing Docs Module Packages
+
+Docs module packages are hosted on NuGet. There are 4 packages that needs be to installed to your application. Each package has to be installed to the relevant project.
+
+* [Volo.Docs.Domain](https://www.nuget.org/packages/Volo.Docs.Domain/) needs to be referenced to `Acme.MyProject.Domain` project.
+
+ * Edit `Acme.MyProject.Domain.csproj`file and add the below line to as a reference. Note that you need to change version (v0.9.0) to the latest.
+
+ ```csharp
+
+ ```
+* [Volo.Docs.EntityFrameworkCore](https://www.nuget.org/packages/Volo.Docs.EntityFrameworkCore/) needs to be referenced to `Acme.MyProject.EntityFrameworkCore` project.
+
+ - Edit `Acme.MyProject.EntityFrameworkCore.csproj`file and add the below line to as a reference. Note that you need to change version (v0.9.0) to the latest.
+
+ ```csharp
+
+ ```
+* [Volo.Docs.Application](https://www.nuget.org/packages/Volo.Docs.Application/) needs to be referenced to `Acme.MyProject.Application` project.
+
+ * Edit `Acme.MyProject.Application.csproj`file and add the below line to as a reference. Note that you need to change version (v0.9.0) to the latest.
+
+ ```csharp
+
+ ```
+* [Volo.Docs.Web ](https://www.nuget.org/packages/Volo.Docs.Web/)needs to be referenced to `Acme.MyProject.Web` project.
+
+ - Edit `Acme.MyProject.Web.csproj`file and add the below line to as a reference. Note that you need to change version (v0.9.0) to the latest.
+
+ ```csharp
+
+ ```
+
+
+
+### 3- Adding Module Dependencies
+
+An ABP module must declare `[DependsOn]` attribute if it has a dependency upon another module. Each module has to be added in`[DependsOn]` attribute to the relevant project.
+
+* Open `MyProjectDomainModule.cs`and add `typeof(DocsDomainModule)` as shown below;
+
+ ```csharp
+ [DependsOn(
+ typeof(DocsDomainModule),
+ typeof(AbpIdentityDomainModule),
+ typeof(AbpAuditingModule),
+ typeof(BackgroundJobsDomainModule),
+ typeof(AbpAuditLoggingDomainModule)
+ )]
+ public class MyProjectDomainModule : AbpModule
+ {
+ //...
+ }
+ ```
+
+* Open `MyProjectEntityFrameworkCoreModule.cs`and add `typeof(DocsEntityFrameworkCoreModule)` as shown below;
+
+ ```csharp
+ [DependsOn(
+ typeof(DocsEntityFrameworkCoreModule),
+ typeof(MyProjectDomainModule),
+ typeof(AbpIdentityEntityFrameworkCoreModule),
+ typeof(AbpPermissionManagementEntityFrameworkCoreModule),
+ typeof(AbpSettingManagementEntityFrameworkCoreModule),
+ typeof(AbpEntityFrameworkCoreSqlServerModule),
+ typeof(BackgroundJobsEntityFrameworkCoreModule),
+ typeof(AbpAuditLoggingEntityFrameworkCoreModule)
+ )]
+ public class MyProjectEntityFrameworkCoreModule : AbpModule
+ {
+ //...
+ }
+ ```
+
+
+* Open `MyProjectApplicationModule.cs`and add `typeof(DocsApplicationModule)` as shown below;
+
+ ```csharp
+ [DependsOn(
+ typeof(DocsApplicationModule),
+ typeof(MyProjectDomainModule),
+ typeof(AbpIdentityApplicationModule))]
+ public class MyProjectApplicationModule : AbpModule
+ {
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ Configure(options =>
+ {
+ options.DefinitionProviders.Add();
+ });
+
+ Configure(options =>
+ {
+ options.AddProfile();
+ });
+ }
+ }
+ ```
+
+
+* Open `MyProjectWebModule.cs`and add `typeof(DocsWebModule)` as shown below;
+
+ ```csharp
+ [DependsOn(
+ typeof(DocsWebModule),
+ typeof(MyProjectApplicationModule),
+ typeof(MyProjectEntityFrameworkCoreModule),
+ typeof(AbpAutofacModule),
+ typeof(AbpIdentityWebModule),
+ typeof(AbpAccountWebModule),
+ typeof(AbpAspNetCoreMvcUiBasicThemeModule)
+ )]
+ public class MyProjectWebModule : AbpModule
+ {
+ //...
+ }
+ ```
+
+
+
+### 4- Database Integration
+
+#### 4.1- Entity Framework Integration
+
+If you choose Entity Framework as your database provider, you need to configure the Docs Module in your DbContext. To do this;
+
+- Open `MyProjectDbContext.cs` and add `modelBuilder.ConfigureDocs()` to the `OnModelCreating()`
+
+ ```csharp
+ [ConnectionStringName("Default")]
+ public class MyProjectDbContext : AbpDbContext
+ {
+ public MyProjectDbContext(DbContextOptions options)
+ : base(options)
+ {
+
+ }
+
+ protected override void OnModelCreating(ModelBuilder modelBuilder)
+ {
+ //...
+ modelBuilder.ConfigureDocs();
+ }
+ }
+ ```
+
+* Open `Package Manager Console` in `Visual Studio` and choose `Acme.MyProject.EntityFrameworkCore` as default project. Then write the below command to add the migration for Docs Module.
+
+ ```csharp
+ add-migration Added_Docs_Module
+ ```
+
+ When the command successfully executes , you will see a new migration file named as `20181221111621_Added_Docs_Module` in the folder `Acme.MyProject.EntityFrameworkCore\Migrations`.
+
+ Now, update the database for Docs module database changes. To do this run the below code on `Package Manager Console` in `Visual Studio`. Be sure `Acme.MyProject.EntityFrameworkCore` is still default project.
+
+ ```csharp
+ update-database
+ ```
+
+ Finally, you can check your database to see the newly created tables. For example you can see `DocsProjects` table must be added to your database.
+
+
+### 5- Linking Docs Module
+
+The default route for Docs module is;
+
+```
+/Documents
+```
+
+To add Docs module link to your application menu;
+
+* Open `MyProjectMenuContributor.cs` and add the below line to the method `ConfigureMainMenuAsync()`.
+
+ ```csharp
+ context.Menu.Items.Add(new ApplicationMenuItem("MyProject.Docs", l["Menu:Docs"], "/Documents"));
+ ```
+
+ Final look of **MyProjectMenuContributor.cs**
+
+ ```csharp
+ private async Task ConfigureMainMenuAsync(MenuConfigurationContext context)
+ {
+ var l = context.ServiceProvider.GetRequiredService>();
+
+ context.Menu.Items.Insert(0, new ApplicationMenuItem("MyProject.Home", l["Menu:Home"], "/"));
+
+ context.Menu.Items.Add(new ApplicationMenuItem("MyProject.Docs", l["Menu:Docs"], "/Documents"));
+ }
+ ```
+
+The `Menu:Docs` keyword is a localization key. To localize the menu text, open `Localization\MyProject\en.json` in the project `Acme.MyProject.Domain`. And add the below line
+
+```json
+"Menu:Docs": "Documents"
+```
+
+Final look of **en.json**
+
+```json
+{
+ "culture": "en",
+ "texts": {
+ "Menu:Home": "Home",
+ "Welcome": "Welcome",
+ "LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io.",
+ "Menu:Docs": "Documents"
+ }
+}
+```
+
+The new menu item for Docs Module is added to the menu. Run your web application and browse to `http://localhost:YOUR_PORT_NUMBER/documents` URL.
+
+You will see a warning says;
+
+```
+There are no projects yet!
+```
+
+As we have not added any projects yet, this warning is normal.
+
+### 6- Adding New Docs Project
+
+Open `DocsProjects` in your database, and insert a new record with the following field information;
+
+* **Name**: The display name of the document name which will be shown on the web page.
+* **ShortName**: A short and URL friendly name that will be used in your docs URL.
+* **Format**: The format of the document (for Markdown: `md`, for HTML: `html`)
+* **DefaultDocumentName**: The document for the initial page.
+* **NavigationDocumentName**: The document to be used for the navigation menu (index).
+* **MinimumVersion**: The minimum version to show the docs. Below version will not be listed.
+* **DocumentStoreType**: The source of the documents (for GitHub:`GitHub`, for file system`FileSystem`)
+* **ExtraProperties**: A serialized `JSON` that stores special configuration for the selected `DocumentStoreType`.
+* **MainWebsiteUrl**: The URL when user clicks to the logo of the Docs module page. You can simply set as `/` to link to your website root address.
+* **LatestVersionBranchName**: This is a config for GitHub. It's the branch name which to retrieve the docs. You can set it as `master`.
+
+#### Sample Project Record for "GitHub"
+
+You can use [ABP Framework](https://github.com/abpframework/abp/) GitHub documents to configure your GitHub document store.
+
+- Name: `ABP framework (GitHub)`
+
+- ShortName: `abp`
+
+- Format: `md`
+
+- DefaultDocumentName: `Index`
+
+- NavigationDocumentName: `docs-nav.json`
+
+- MinimumVersion: `` (no minimum version)
+
+- DocumentStoreType: `GitHub`
+
+- ExtraProperties:
+
+ ```json
+ {"GitHubRootUrl":"https://github.com/abpframework/abp/tree/{version}/docs/en/","GitHubAccessToken":"***"}
+ ```
+
+ Note that `GitHubAccessToken` is masked with `***`. It's a private token that you must get it from GitHub. See https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
+
+- MainWebsiteUrl: `/`
+
+- LatestVersionBranchName: `master`
+
+For `SQL` databases, you can use the below `T-SQL` command to insert the specified sample into your `DocsProjects` table:
+
+```mssql
+INSERT [dbo].[DocsProjects] ([Id], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [MinimumVersion], [DocumentStoreType], [ExtraProperties], [MainWebsiteUrl], [LatestVersionBranchName]) VALUES (N'12f21123-e08e-4f15-bedb-ae0b2d939658', N'ABP framework (GitHub)', N'abp', N'md', N'Index', N'docs-nav.json', NULL, N'GitHub', N'{"GitHubRootUrl":"https://github.com/abpframework/abp/tree/{version}/docs/en/","GitHubAccessToken":"***"}', N'/', N'master')
+```
+
+Be aware that `GitHubAccessToken` is masked. It's a private token and you must get your own token and replace the `***` string.
+
+#### Sample Project Record for "FileSystem"
+
+You can use [ABP Framework](https://github.com/abpframework/abp/) GitHub documents to configure your GitHub document store.
+
+- Name: `ABP framework (FileSystem)`
+
+- ShortName: `abp`
+
+- Format: `md`
+
+- DefaultDocumentName: `Index`
+
+- NavigationDocumentName: `docs-nav.json`
+
+- MinimumVersion: `` (no minimum version)
+
+- DocumentStoreType: `FileSystem`
+
+- ExtraProperties:
+
+ ```json
+ {"Path":"C:\\Github\\abp\\docs\\en"}
+ ```
+
+ Note that `Path` must be replaced with your local docs directory. You can fetch the ABP Framework's documents from https://github.com/abpframework/abp/tree/master/docs/en and copy to the directory `C:\\Github\\abp\\docs\\en` to get it work.
+
+- MainWebsiteUrl: `/`
+
+- LatestVersionBranchName: ``
+
+For `SQL` databases, you can use the below `T-SQL` command to insert the specified sample into your `DocsProjects` table:
+
+```mssql
+INSERT [dbo].[DocsProjects] ([Id], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [MinimumVersion], [DocumentStoreType], [ExtraProperties], [MainWebsiteUrl], [LatestVersionBranchName]) VALUES (N'12f21123-e08e-4f15-bedb-ae0b2d939659', N'ABP framework (FileSystem)', N'abp', N'md', N'Index', N'docs-nav.json', NULL, N'FileSystem', N'{"Path":"C:\\Github\\abp\\docs\\en"}', N'/', NULL)
+```
+
+
+
+Add one of the sample projects above and run the application. In the menu you will see `Documents` link, click the menu link to open the documents page.
+
+So far, we have created a new application from abp.io website and made it up and ready for Docs module.
+
+### 7- Creating a New Document
+
+In the sample Project records, you see that `Format` is specified as `md` which refers to [Mark Down](https://en.wikipedia.org/wiki/Markdown). You can see the mark down cheat sheet following the below link;
+
+https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
+
+ABP Docs Module can render mark down to HTML.
+
+Now let's have a look a sample document in markdown format.
+
+~~~markdown
+# This is a header
+
+Welcome to Docs Module.
+
+## This is a sub header
+
+ [This is a link](https://abp.io)
+
+
+
+## This is a code block
+
+```csharp
+public class Person
+{
+ public string Name { get; set; }
+
+ public string Address { get; set; }
+}
+```
+~~~
+
+
+
+As an example you can see ABP Framework documentation:
+
+[https://github.com/abpframework/abp/blob/master/docs/en/](https://github.com/abpframework/abp/blob/master/docs/en/)
+
+### 8- Creating the Navigation Document
+
+Navigation document is the main menu of the documents page. It is located on the left side of the page. It is a `JSON` file. Take a look at the below sample navigation document to understand the structure.
+
+```json
+{
+ "items":[
+ {
+ "text":"Sample Menu Item - 1",
+ "items":[
+ {
+ "text":"Sample Menu Item - 1.1",
+ "items":[
+ {
+ "text":"Sample Menu Item - 1.1.1",
+ "path":"SampleMenuItem_1_1_1.md"
+ }
+ ]
+ },
+ {
+ "text":"Sample Menu Item - 1.2",
+ "items":[
+ {
+ "text":"Sample Menu Item - 1.2.1",
+ "path":"SampleMenuItem_1_2_1.md"
+ },
+ {
+ "text":"Sample Menu Item - 1.2.2",
+ "path":"SampleMenuItem_1_2_2.md"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "text":"Sample Menu Item - 2",
+ "items":[
+ {
+ "text":"Sample Menu Item - 2.1",
+ "items":[
+ {
+ "text":"Sample Menu Item - 2.1.1",
+ "path":"SampleMenuItem_2_1_1.md"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
+```
+
+The upper sample `JSON` file renders the below navigation menu as `HTML`.
+
+
+
+
+
+Finally a new Docs Module is added to your project which is feeded with GitHub.
\ No newline at end of file
diff --git a/docs/en/Modules/Index.md b/docs/en/Modules/Index.md
new file mode 100644
index 0000000000..9dc5da7a99
--- /dev/null
+++ b/docs/en/Modules/Index.md
@@ -0,0 +1,26 @@
+# Application Modules
+
+ABP is a **modular application framework** which consists of dozens of **nuget packages**. It also provides a complete infrastructure to build your own application modules which may have entities, services, database integration, APIs, UI components and so on.
+
+There are **two types of modules.** They don't have any structural difference but categorized by functionality and purpose:
+
+* [**Framework modules**](https://github.com/abpframework/abp/tree/master/framework/src): These are **core modules of the framework** like caching, emailing, theming, security, serialization, validation, EF Core integration, MongoDB integration... etc. They do not have application/business functionalities but makes your daily development easier by providing common infrastructure, integration and abstractions.
+* [**Application modules**](https://github.com/abpframework/abp/tree/master/modules): These modules implement specific application/business functionalities like blogging, document management, identity management, tenant management... etc. They generally have their own entities, services, APIs and UI components.
+
+## Open Source Application Modules
+
+There are some **free and open source** application modules developed and maintained by the ABP community:
+
+* **Account**: Used to make user login/register to the application.
+* **Audit Logging**: Used to persist audit logs to a database.
+* **Background Jobs**: Used to persist background jobs when using default background job manager.
+* **Blogging**: Used to create fancy blogs. ABP's [own blog](https://abp.io/blog/abp/) already using this module.
+* [**Docs**](Docs.md): Used to create technical documentation pages. ABP's [own documentation](https://abp.io/documents/) already using this module.
+* **Identity**: Used to manage roles, users and their permissions.
+* **Identity Server**: Integrates to IdentityServer4.
+* **Permission Management**: Used to persist permissions.
+* **Setting Management**: Used to persist settings.
+* **Tenant Management**: Used to manage tenants for a [multi-tenant](../Multi-Tenancy.md) application.
+* **Users**: Used the abstract users, so other modules can depend on this instead of the Identity module.
+
+Documenting the modules is in the progress. See [this repository](https://github.com/abpframework/abp/tree/master/modules) for source code of all modules.
\ No newline at end of file
diff --git a/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md b/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md
index 9a48022e27..9f766ae3b0 100644
--- a/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md
+++ b/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md
@@ -236,7 +236,7 @@ namespace Acme.BookStore
You normally create **Controllers** to expose application services as **HTTP API** endpoints. Thus allowing browser or 3rd-party clients to call them via AJAX.
-ABP can **automagically** configures your application services as MVC API Controllers by convention.
+ABP can [**automagically**](../../AspNetCore/Auto-API-Controllers.md) configures your application services as MVC API Controllers by convention.
#### Swagger UI
diff --git a/docs/en/docs-nav.json b/docs/en/docs-nav.json
index 1060a715fc..a3e3355a55 100644
--- a/docs/en/docs-nav.json
+++ b/docs/en/docs-nav.json
@@ -186,10 +186,20 @@
]
},
{
- "text": "ASP.NET Core MVC",
+ "text": "ASP.NET Core",
"items": [
{
- "text": "API Versioning"
+ "text": "API",
+ "items": [
+ {
+ "text": "Auto API Controllers",
+ "path": "AspNetCore/Auto-API-Controllers.md"
+ },
+ {
+ "text": "Dynamic C# API Clients",
+ "path": "AspNetCore/Dynamic-CSharp-API-Clients.md"
+ }
+ ]
},
{
"text": "User Interface",
@@ -246,6 +256,10 @@
}
]
},
+ {
+ "text": "Application Modules",
+ "path": "Modules/Index.md"
+ },
{
"text": "Testing"
},
diff --git a/docs/en/images/bookstore-apis.png b/docs/en/images/bookstore-apis.png
new file mode 100644
index 0000000000..aedd79c7f1
Binary files /dev/null and b/docs/en/images/bookstore-apis.png differ
diff --git a/docs/en/images/docs-module_download-new-abp-project.png b/docs/en/images/docs-module_download-new-abp-project.png
new file mode 100644
index 0000000000..0da3b7a67a
Binary files /dev/null and b/docs/en/images/docs-module_download-new-abp-project.png differ
diff --git a/docs/en/images/docs-module_download-sample-navigation-menu.png b/docs/en/images/docs-module_download-sample-navigation-menu.png
new file mode 100644
index 0000000000..9a1232f198
Binary files /dev/null and b/docs/en/images/docs-module_download-sample-navigation-menu.png differ
diff --git a/docs/en/images/docs-module_solution-explorer.png b/docs/en/images/docs-module_solution-explorer.png
new file mode 100644
index 0000000000..cafc38f0b0
Binary files /dev/null and b/docs/en/images/docs-module_solution-explorer.png differ
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/AbpTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/AbpTagHelperService.cs
index 332210271b..ce47163be0 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/AbpTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/AbpTagHelperService.cs
@@ -66,6 +66,8 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers
var innerContext = new TagHelperContext(attributeList, context.Items, Guid.NewGuid().ToString());
+ tagHelper.Init(context);
+
if (runAsync)
{
AsyncHelper.RunSync(() => tagHelper.ProcessAsync(innerContext, innerOutput));
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSize.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSize.cs
index 65a0842d7b..dd07ff22bf 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSize.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSize.cs
@@ -5,6 +5,10 @@
Default,
Small,
Medium,
- Large
+ Large,
+ Block,
+ Block_Small,
+ Block_Medium,
+ Block_Large,
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSizeExtensions.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSizeExtensions.cs
index 4231ac7ba6..408ba37573 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSizeExtensions.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonSizeExtensions.cs
@@ -12,6 +12,14 @@
return "btn-md";
case AbpButtonSize.Large:
return "btn-lg";
+ case AbpButtonSize.Block:
+ return "btn-block";
+ case AbpButtonSize.Block_Small:
+ return "btn-sm btn-block";
+ case AbpButtonSize.Block_Medium:
+ return "btn-md btn-block";
+ case AbpButtonSize.Block_Large:
+ return "btn-lg btn-block";
case AbpButtonSize.Default:
return "";
default:
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelper.cs
index afd718da8f..56143ea059 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelper.cs
@@ -9,14 +9,14 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
public AbpButtonSize Size { get; set; } = AbpButtonSize.Default;
- public bool? Block { get; set; } = false;
-
public string BusyText { get; set; }
public string Text { get; set; }
public string Icon { get; set; }
+ public bool? Disabled { get; set; }
+
public FontIconType IconType { get; set; } = FontIconType.FontAwesome;
public AbpButtonTagHelper(AbpButtonTagHelperService service)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelperServiceBase.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelperServiceBase.cs
index b6f2e8f3d1..419aff7c08 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelperServiceBase.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonTagHelperServiceBase.cs
@@ -13,6 +13,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
AddClasses(context, output);
AddIcon(context, output);
AddText(context, output);
+ AddDisabled(context, output);
}
protected virtual void NormalizeTagMode(TagHelperContext context, TagHelperOutput output)
@@ -33,11 +34,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
{
output.Attributes.AddClass(TagHelper.Size.ToClassName());
}
-
- if (TagHelper.Block ?? false)
- {
- output.Attributes.AddClass("btn-block");
- }
}
protected virtual void AddIcon(TagHelperContext context, TagHelperOutput output)
@@ -70,5 +66,13 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
output.Content.AppendHtml($"{TagHelper.Text} ");
}
+
+ protected virtual void AddDisabled(TagHelperContext context, TagHelperOutput output)
+ {
+ if (TagHelper.Disabled ?? false)
+ {
+ output.Attributes.Add("disabled", "disabled");
+ }
+ }
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonToolbarTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonToolbarTagHelper.cs
new file mode 100644
index 0000000000..7c716b88f8
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonToolbarTagHelper.cs
@@ -0,0 +1,11 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
+{
+ public class AbpButtonToolbarTagHelper : AbpTagHelper
+ {
+ public AbpButtonToolbarTagHelper(AbpButtonToolbarTagHelperService tagHelperService)
+ : base(tagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonToolbarTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonToolbarTagHelperService.cs
new file mode 100644
index 0000000000..87b378e559
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpButtonToolbarTagHelperService.cs
@@ -0,0 +1,14 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
+{
+ public class AbpButtonToolbarTagHelperService : AbpTagHelperService
+ {
+ public override void Process(TagHelperContext context, TagHelperOutput output)
+ {
+ output.Attributes.AddClass("btn-toolbar");
+ output.Attributes.Add("role","toolbar");
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpLinkButtonTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpLinkButtonTagHelper.cs
index 8e517ea493..9a553a1be5 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpLinkButtonTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/AbpLinkButtonTagHelper.cs
@@ -11,12 +11,12 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button
public AbpButtonSize Size { get; set; } = AbpButtonSize.Default;
- public bool? Block { get; set; } = false;
-
public string Text { get; set; }
public string Icon { get; set; }
+ public bool? Disabled { get; set; }
+
public FontIconType IconType { get; } = FontIconType.FontAwesome;
public AbpLinkButtonTagHelper(AbpLinkButtonTagHelperService service)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/IButtonTagHelperBase.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/IButtonTagHelperBase.cs
index dbe20def2a..ee88c4d294 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/IButtonTagHelperBase.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Button/IButtonTagHelperBase.cs
@@ -6,12 +6,12 @@
AbpButtonSize Size { get; }
- bool? Block { get;}
-
string Text { get; }
string Icon { get; }
+ bool? Disabled { get; }
+
FontIconType IconType { get; }
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundTagHelper.cs
new file mode 100644
index 0000000000..5e95e8bf87
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundTagHelper.cs
@@ -0,0 +1,19 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ [HtmlTargetElement("abp-card", Attributes = "background")]
+ [HtmlTargetElement("abp-card-header", Attributes = "background")]
+ [HtmlTargetElement("abp-card-body", Attributes = "background")]
+ [HtmlTargetElement("abp-card-footer", Attributes = "background")]
+ public class AbpCardBackgroundTagHelper : AbpTagHelper
+ {
+ public AbpCardBackgroundType Background { get; set; } = AbpCardBackgroundType.Default;
+
+ public AbpCardBackgroundTagHelper(AbpCardBackgroundTagHelperService tagHelperService)
+ : base(tagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundTagHelperService.cs
new file mode 100644
index 0000000000..248d737648
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundTagHelperService.cs
@@ -0,0 +1,23 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public class AbpCardBackgroundTagHelperService : AbpTagHelperService
+ {
+ public override void Process(TagHelperContext context, TagHelperOutput output)
+ {
+ SetBackground(context, output);
+ }
+
+ protected virtual void SetBackground(TagHelperContext context, TagHelperOutput output)
+ {
+ if (TagHelper.Background == AbpCardBackgroundType.Default)
+ {
+ return;
+ }
+
+ output.Attributes.AddClass("bg-" + TagHelper.Background.ToString().ToLowerInvariant());
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundType.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundType.cs
new file mode 100644
index 0000000000..2eb9732ce8
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBackgroundType.cs
@@ -0,0 +1,15 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public enum AbpCardBackgroundType
+ {
+ Default,
+ Primary,
+ Secondary,
+ Success,
+ Danger,
+ Warning,
+ Info,
+ Light,
+ Dark,
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBorderColorType.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBorderColorType.cs
new file mode 100644
index 0000000000..0f5ccc3363
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardBorderColorType.cs
@@ -0,0 +1,15 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public enum AbpCardBorderColorType
+ {
+ Default,
+ Primary,
+ Secondary,
+ Success,
+ Danger,
+ Warning,
+ Info,
+ Light,
+ Dark,
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardFooterTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardFooterTagHelper.cs
new file mode 100644
index 0000000000..44b8588576
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardFooterTagHelper.cs
@@ -0,0 +1,11 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public class AbpCardFooterTagHelper : AbpTagHelper
+ {
+ public AbpCardFooterTagHelper(AbpCardFooterTagHelperService tagHelperService)
+ : base(tagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardFooterTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardFooterTagHelperService.cs
new file mode 100644
index 0000000000..2a127a495b
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardFooterTagHelperService.cs
@@ -0,0 +1,14 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public class AbpCardFooterTagHelperService : AbpTagHelperService
+ {
+ public override void Process(TagHelperContext context, TagHelperOutput output)
+ {
+ output.Attributes.AddClass("card-footer");
+ output.TagName = "div";
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardImageTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardImageTagHelper.cs
index 6bafed3376..4a173968d0 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardImageTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardImageTagHelper.cs
@@ -3,6 +3,7 @@
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
{
[HtmlTargetElement("img", Attributes = "abp-card-image", TagStructure = TagStructure.WithoutEndTag)]
+ [HtmlTargetElement("abp-image", Attributes = "abp-card-image", TagStructure = TagStructure.WithoutEndTag)]
public class AbpCardImageTagHelper : AbpTagHelper
{
[HtmlAttributeName("abp-card-image")]
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelper.cs
index 4dcf439e01..c186e8857c 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelper.cs
@@ -2,6 +2,8 @@
{
public class AbpCardTagHelper : AbpTagHelper
{
+ public AbpCardBorderColorType Border { get; set; } = AbpCardBorderColorType.Default;
+
public AbpCardTagHelper(AbpCardTagHelperService tagHelperService)
: base(tagHelperService)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelperService.cs
index 4eb0c286f8..29a462797d 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTagHelperService.cs
@@ -9,6 +9,17 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
{
output.TagName = "div";
output.Attributes.AddClass("card");
+
+ SetBorder(context, output);
+ }
+ protected virtual void SetBorder(TagHelperContext context, TagHelperOutput output)
+ {
+ if (TagHelper.Border == AbpCardBorderColorType.Default)
+ {
+ return;
+ }
+
+ output.Attributes.AddClass("border-" + TagHelper.Border.ToString().ToLowerInvariant());
}
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorTagHelper.cs
new file mode 100644
index 0000000000..f9787b1f18
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorTagHelper.cs
@@ -0,0 +1,19 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ [HtmlTargetElement("abp-card", Attributes = "text-color")]
+ [HtmlTargetElement("abp-card-header", Attributes = "text-color")]
+ [HtmlTargetElement("abp-card-body", Attributes = "text-color")]
+ [HtmlTargetElement("abp-card-footer", Attributes = "text-color")]
+ public class AbpCardTextColorTagHelper : AbpTagHelper
+ {
+ public AbpCardTextColorType TextColor { get; set; } = AbpCardTextColorType.Default;
+
+ public AbpCardTextColorTagHelper(AbpCardTextColorTagHelperService tagHelperService)
+ : base(tagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorTagHelperService.cs
new file mode 100644
index 0000000000..36484a33f8
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorTagHelperService.cs
@@ -0,0 +1,23 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public class AbpCardTextColorTagHelperService : AbpTagHelperService
+ {
+ public override void Process(TagHelperContext context, TagHelperOutput output)
+ {
+ SetTextColor(context, output);
+ }
+
+ protected virtual void SetTextColor(TagHelperContext context, TagHelperOutput output)
+ {
+ if (TagHelper.TextColor == AbpCardTextColorType.Default)
+ {
+ return;
+ }
+
+ output.Attributes.AddClass("text-" + TagHelper.TextColor.ToString().ToLowerInvariant());
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorType.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorType.cs
new file mode 100644
index 0000000000..eb415945b0
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Card/AbpCardTextColorType.cs
@@ -0,0 +1,16 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Card
+{
+ public enum AbpCardTextColorType
+ {
+ Default,
+ White,
+ Primary,
+ Secondary,
+ Success,
+ Danger,
+ Warning,
+ Info,
+ Light,
+ Dark
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelper.cs
index 0d4aecab31..a50907addb 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelper.cs
@@ -4,6 +4,8 @@
{
public string Id { get; set; }
+ public bool? Multi { get; set; }
+
public bool? Show { get; set; }
public AbpCollapseBodyTagHelper(AbpCollapseBodyTagHelperService tagHelperService)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelperService.cs
index 56b04df63d..10e49b92a7 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseBodyTagHelperService.cs
@@ -17,16 +17,14 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Collapse
output.Attributes.AddClass("show");
}
- var innerContent = (await output.GetChildContentAsync()).GetContent();
-
- var body = GetBody(context, output, innerContent);
+ if (TagHelper.Multi ?? false)
+ {
+ output.Attributes.AddClass("multi-collapse");
+ }
- output.Content.SetHtmlContent(body);
- }
+ var innerContent = (await output.GetChildContentAsync()).GetContent();
- protected virtual string GetBody(TagHelperContext context, TagHelperOutput output, string innerContent)
- {
- return "" + innerContent + "
";
+ output.Content.SetHtmlContent(innerContent);
}
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelper.cs
index 2e6da81cf0..6b8fc8c30b 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelper.cs
@@ -1,11 +1,14 @@
-using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button;
+using Microsoft.AspNetCore.Razor.TagHelpers;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Button;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Collapse
{
+
+ [HtmlTargetElement("abp-button", Attributes = "abp-collapse-id")]
+ [HtmlTargetElement("a", Attributes = "abp-collapse-id")]
public class AbpCollapseButtonTagHelper : AbpTagHelper
{
- public AbpButtonType ButonType { get; set; } = AbpButtonType.Default;
-
+ [HtmlAttributeName("abp-collapse-id")]
public string BodyId { get; set; }
public AbpCollapseButtonTagHelper(AbpCollapseButtonTagHelperService tagHelperService)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelperService.cs
index c2221035c1..6b7d74b866 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Collapse/AbpCollapseButtonTagHelperService.cs
@@ -8,20 +8,48 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Collapse
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
- output.TagName = "button";
- output.Attributes.AddClass("btn");
- output.Attributes.Add("data-toggle","collapse");
- output.Attributes.Add("aria-expanded","false");
- output.Attributes.Add("type","button");
- output.Attributes.Add("data-target", "#" +TagHelper.BodyId);
+
+
+ AddCommonAttributes(context, output);
+
+ if (output.TagName == "abp-button" || output.TagName == "button")
+ {
+ AddButtonAttributes(context,output);
+ }
+ else if (output.TagName == "a")
+ {
+ AddLinkAttributes(context, output);
+ }
+ }
+
+ protected virtual void AddCommonAttributes(TagHelperContext context, TagHelperOutput output)
+ {
+ output.Attributes.Add("data-toggle", "collapse");
+ output.Attributes.Add("aria-expanded", "false");
output.Attributes.Add("aria-controls", TagHelper.BodyId);
+ }
+ protected virtual void AddButtonAttributes(TagHelperContext context, TagHelperOutput output)
+ {
+ if (TagHelper.BodyId.Trim().Split(' ').Length > 1)
+ {
+ output.Attributes.Add("data-target", ".multi-collapse");
+ return;
+ }
- if (TagHelper.ButonType != AbpButtonType.Default)
+ output.Attributes.Add("data-target", "#" + TagHelper.BodyId);
+ }
+
+ protected virtual void AddLinkAttributes(TagHelperContext context, TagHelperOutput output)
+ {
+ if (TagHelper.BodyId.Trim().Split(' ').Length > 1)
{
- output.Attributes.AddClass("btn-" + TagHelper.ButonType.ToString().ToLowerInvariant());
+ output.Attributes.Add("href", ".multi-collapse");
+ return;
}
+
+ output.Attributes.Add("href", "#" + TagHelper.BodyId);
}
-
+
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownButtonTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownButtonTagHelperService.cs
index 60a34a71f1..8b01781602 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownButtonTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownButtonTagHelperService.cs
@@ -125,6 +125,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Dropdown
buttonTag.TagName = "a";
buttonTag.Attributes.RemoveAll("type");
buttonTag.Attributes.Add("roles", "button");
+ buttonTag.Attributes.Add("href", "#");
if (TagHelper.NavLink??false)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownItemTextTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownItemTextTagHelper.cs
new file mode 100644
index 0000000000..4c5e82fac7
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownItemTextTagHelper.cs
@@ -0,0 +1,11 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Dropdown
+{
+ public class AbpDropdownItemTextTagHelper : AbpTagHelper
+ {
+ public AbpDropdownItemTextTagHelper(AbpDropdownItemTextTagHelperService tagHelperService)
+ : base(tagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownItemTextTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownItemTextTagHelperService.cs
new file mode 100644
index 0000000000..8cd84eade6
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Dropdown/AbpDropdownItemTextTagHelperService.cs
@@ -0,0 +1,14 @@
+using Microsoft.AspNetCore.Razor.TagHelpers;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Dropdown
+{
+ public class AbpDropdownItemTextTagHelperService : AbpTagHelperService
+ {
+ public override void Process(TagHelperContext context, TagHelperOutput output)
+ {
+ output.Attributes.AddClass("dropdown-item-text");
+ output.TagName = "span";
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpFormControlSize.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpFormControlSize.cs
new file mode 100644
index 0000000000..97acb45822
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpFormControlSize.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
+{
+ public enum AbpFormControlSize
+ {
+ Default,
+ Small,
+ Medium,
+ Large
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelper.cs
index de93ff4b1d..8bd4021458 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelper.cs
@@ -10,14 +10,19 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
public string Label { get; set; }
+ [HtmlAttributeName("info")]
+ public string InfoText { get; set; }
+
[HtmlAttributeName("disabled")]
public bool IsDisabled { get; set; } = false;
[HtmlAttributeName("readonly")]
- public bool IsReadonly { get; set; } = false;
+ public AbpReadonlyInputType IsReadonly { get; set; } = AbpReadonlyInputType.False;
public bool AutoFocus { get; set; }
+ public AbpFormControlSize Size { get; set; } = AbpFormControlSize.Default;
+
[HtmlAttributeNotBound]
[ViewContext]
public ViewContext ViewContext { get; set; }
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelperService.cs
index b5abe780ae..a4a0193e97 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelperService.cs
@@ -1,9 +1,13 @@
using System;
+using System.Collections.Generic;
using System.Linq;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
+using Microsoft.Extensions.Localization;
+using Microsoft.Extensions.Options;
+using Volo.Abp.AspNetCore.Mvc.Localization;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
@@ -12,11 +16,15 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
{
private readonly IHtmlGenerator _generator;
private readonly HtmlEncoder _encoder;
+ private readonly IStringLocalizerFactory _stringLocalizerFactory;
+ private readonly AbpMvcDataAnnotationsLocalizationOptions _options;
- public AbpInputTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder)
+ public AbpInputTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder, IOptions options, IStringLocalizerFactory stringLocalizerFactory)
{
_generator = generator;
_encoder = encoder;
+ _stringLocalizerFactory = stringLocalizerFactory;
+ _options = options.Value;
}
public override void Process(TagHelperContext context, TagHelperOutput output)
@@ -50,12 +58,13 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
protected virtual string GetFormInputGroupAsHtml(TagHelperContext context, TagHelperOutput output, out bool isCheckbox)
{
var inputTag = GetInputTagHelperOutput(context, output, out isCheckbox);
+
var inputHtml = RenderTagHelperOutput(inputTag, _encoder);
var label = GetLabelAsHtml(context, output, inputTag, isCheckbox);
-
+ var info = GetInfoAsHtml(context, output, inputTag, isCheckbox);
var validation = isCheckbox ? "" : GetValidationAsHtml(context, output, inputTag);
- return GetContent(context, output, label, inputHtml, validation, isCheckbox);
+ return GetContent(context, output, label, inputHtml, validation, info, isCheckbox);
}
protected virtual string GetValidationAsHtml(TagHelperContext context, TagHelperOutput output, TagHelperOutput inputTag)
@@ -76,14 +85,13 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
return RenderTagHelper(attributeList, context, validationMessageTagHelper, _encoder, "span", TagMode.StartTagAndEndTag, true);
}
- protected virtual string GetContent(TagHelperContext context, TagHelperOutput output, string label, string inputHtml, string validation, bool isCheckbox)
+ protected virtual string GetContent(TagHelperContext context, TagHelperOutput output, string label, string inputHtml, string validation, string infoHtml, bool isCheckbox)
{
var innerContent = isCheckbox ?
- inputHtml + Environment.NewLine + label :
- label + Environment.NewLine + inputHtml;
+ inputHtml + label :
+ label + inputHtml;
- return Environment.NewLine + innerContent + Environment.NewLine +
- Environment.NewLine + validation + Environment.NewLine;
+ return innerContent + infoHtml + validation;
}
protected virtual string SurroundInnerHtmlAndGet(TagHelperContext context, TagHelperOutput output, string innerHtml, bool isCheckbox)
@@ -121,14 +129,33 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
ConvertToTextAreaIfTextArea(inputTagHelperOutput);
AddDisabledAttribute(inputTagHelperOutput);
- AddReadOnlyAttribute(inputTagHelperOutput);
AddAutoFocusAttribute(inputTagHelperOutput);
isCheckbox = IsInputCheckbox(context, output, inputTagHelperOutput.Attributes);
- inputTagHelperOutput.Attributes.AddClass(isCheckbox ? "form-check-input" : "form-control");
+ AddFormControlClass(context, output, isCheckbox, inputTagHelperOutput);
+ AddReadOnlyAttribute(inputTagHelperOutput);
+ AddPlaceholderAttribute(inputTagHelperOutput);
+ AddInfoTextId(inputTagHelperOutput);
return inputTagHelperOutput;
}
+ private void AddFormControlClass(TagHelperContext context, TagHelperOutput output, bool isCheckbox, TagHelperOutput inputTagHelperOutput)
+ {
+ var className = "form-control";
+ var readonlyAttribute = GetAttribute(TagHelper.AspFor.ModelExplorer);
+
+ if (isCheckbox)
+ {
+ className = "form-check-input";
+ }
+ else if (TagHelper.IsReadonly == AbpReadonlyInputType.True_PlainText || (readonlyAttribute != null && readonlyAttribute.PlainText))
+ {
+ className = "form-control-plaintext";
+ }
+
+ inputTagHelperOutput.Attributes.AddClass(className + " " + GetSize(context, output));
+ }
+
protected virtual void AddAutoFocusAttribute(TagHelperOutput inputTagHelperOutput)
{
if (TagHelper.AutoFocus && !inputTagHelperOutput.Attributes.ContainsName("data-auto-focus"))
@@ -139,26 +166,65 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
protected virtual void AddDisabledAttribute(TagHelperOutput inputTagHelperOutput)
{
- if (inputTagHelperOutput.Attributes.ContainsName("disabled"))
+ if (inputTagHelperOutput.Attributes.ContainsName("disabled") == false &&
+ (TagHelper.IsDisabled || GetAttribute(TagHelper.AspFor.ModelExplorer) != null))
+ {
+ inputTagHelperOutput.Attributes.Add("disabled", "");
+ }
+ }
+
+ protected virtual void AddReadOnlyAttribute(TagHelperOutput inputTagHelperOutput)
+ {
+ if (inputTagHelperOutput.Attributes.ContainsName("readonly") == false &&
+ (TagHelper.IsReadonly != AbpReadonlyInputType.False || GetAttribute(TagHelper.AspFor.ModelExplorer) != null))
+ {
+ inputTagHelperOutput.Attributes.Add("readonly", "");
+ }
+ }
+
+ protected virtual void AddPlaceholderAttribute(TagHelperOutput inputTagHelperOutput)
+ {
+ if (inputTagHelperOutput.Attributes.ContainsName("placeholder"))
{
return;
}
- else if (TagHelper.IsDisabled || GetAttribute(TagHelper.AspFor.ModelExplorer) != null)
+
+ var attribute = GetAttribute(TagHelper.AspFor.ModelExplorer);
+
+ if (attribute != null)
{
- inputTagHelperOutput.Attributes.Add("disabled", "");
+ inputTagHelperOutput.Attributes.Add("placeholder", LocalizeText(attribute.Value));
}
}
- protected virtual void AddReadOnlyAttribute(TagHelperOutput inputTagHelperOutput)
+ protected virtual void AddInfoTextId(TagHelperOutput inputTagHelperOutput)
{
- if (inputTagHelperOutput.Attributes.ContainsName("readonly"))
+ if (GetAttribute(TagHelper.AspFor.ModelExplorer) == null)
{
return;
}
- else if (TagHelper.IsReadonly || GetAttribute(TagHelper.AspFor.ModelExplorer) != null)
+
+ var idAttr = inputTagHelperOutput.Attributes.FirstOrDefault(a => a.Name == "id");
+
+ if (idAttr == null)
{
- inputTagHelperOutput.Attributes.Add("readonly", "");
+ return;
}
+
+ inputTagHelperOutput.Attributes.Add("aria-describedby", LocalizeText(idAttr.Value + "InfoText"));
+ }
+
+ protected virtual string LocalizeText(string text)
+ {
+ IStringLocalizer localizer = null;
+ var resourceType = _options.AssemblyResources.GetOrDefault(TagHelper.AspFor.ModelExplorer.ModelType.Assembly);
+
+ if (resourceType != null)
+ {
+ localizer = _stringLocalizerFactory.Create(resourceType);
+ }
+
+ return localizer == null? text: localizer[text].Value;
}
protected virtual bool IsInputCheckbox(TagHelperContext context, TagHelperOutput output, TagHelperAttributeList attributes)
@@ -185,6 +251,39 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
"";
}
+ protected virtual string GetInfoAsHtml(TagHelperContext context, TagHelperOutput output, TagHelperOutput inputTag, bool isCheckbox)
+ {
+ if (isCheckbox)
+ {
+ return "";
+ }
+
+ string text = "";
+
+ if (!string.IsNullOrEmpty(TagHelper.InfoText))
+ {
+ text = TagHelper.InfoText;
+ }
+ else
+ {
+ var infoAttribute = GetAttribute(TagHelper.AspFor.ModelExplorer);
+ if (infoAttribute != null)
+ {
+ text = infoAttribute.Text;
+ }
+ else
+ {
+ return "";
+ }
+ }
+
+ var idAttr = inputTag.Attributes.FirstOrDefault(a => a.Name == "id");
+
+ return "" +
+ LocalizeText(text) +
+ " ";
+ }
+
protected virtual string GetLabelAsHtmlUsingTagHelper(TagHelperContext context, TagHelperOutput output, bool isCheckbox)
{
var labelTagHelper = new LabelTagHelper(_generator)
@@ -254,5 +353,27 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
output.Attributes.Add(newAttritube);
}
}
+
+ protected virtual string GetSize(TagHelperContext context, TagHelperOutput output)
+ {
+ var attribute = GetAttribute(TagHelper.AspFor.ModelExplorer);
+
+ if (attribute != null)
+ {
+ TagHelper.Size = attribute.Size;
+ }
+
+ switch (TagHelper.Size)
+ {
+ case AbpFormControlSize.Small:
+ return "form-control-sm";
+ case AbpFormControlSize.Medium:
+ return "form-control-md";
+ case AbpFormControlSize.Large:
+ return "form-control-lg";
+ }
+
+ return "";
+ }
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpRadioInputTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpRadioInputTagHelperService.cs
index 13b3d29cf7..13585eeaf2 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpRadioInputTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpRadioInputTagHelperService.cs
@@ -6,11 +6,23 @@ using System.Text;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
+using Microsoft.Extensions.Localization;
+using Microsoft.Extensions.Options;
+using Volo.Abp.AspNetCore.Mvc.Localization;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
{
public class AbpRadioInputTagHelperService : AbpTagHelperService
{
+ private readonly AbpMvcDataAnnotationsLocalizationOptions _options;
+ private readonly IStringLocalizerFactory _stringLocalizerFactory;
+
+ public AbpRadioInputTagHelperService(IOptions options, IStringLocalizerFactory stringLocalizerFactory)
+ {
+ _options = options.Value;
+ _stringLocalizerFactory = stringLocalizerFactory;
+ }
+
public override void Process(TagHelperContext context, TagHelperOutput output)
{
var selectItems = GetSelectItems(context,output);
@@ -19,7 +31,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
var html = GetHtml(context, output, selectItems);
-
AddGroupToFormGroupContents(context, TagHelper.AspFor.Name, html, order, out var surpress);
if (surpress)
@@ -76,12 +87,32 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
protected virtual bool GetSelectItemsIfProvidedByEnum(TagHelperContext context, TagHelperOutput output, ModelExplorer explorer, out List selectItems)
{
+ IStringLocalizer localizer = null;
+ var resourceType = _options.AssemblyResources.GetOrDefault(explorer.ModelType.Assembly);
+
+ if (resourceType != null)
+ {
+ localizer = _stringLocalizerFactory.Create(resourceType);
+ }
+
selectItems = explorer.Metadata.IsEnum ? explorer.ModelType.GetTypeInfo().GetMembers(BindingFlags.Public | BindingFlags.Static)
- .Select((t, i) => new SelectListItem { Value = i.ToString(), Text = t.Name }).ToList() : null;
+ .Select((t, i) => new SelectListItem { Value = i.ToString(), Text = GetLocalizedPropertyName(localizer, explorer.ModelType, t.Name) }).ToList() : null;
return selectItems != null;
}
+ protected virtual string GetLocalizedPropertyName(IStringLocalizer localizer, Type enumType, string propertyName)
+ {
+ if (localizer == null)
+ {
+ return propertyName;
+ }
+
+ var localizedString = localizer[enumType.Name + "." + propertyName];
+
+ return !localizedString.ResourceNotFound ? localizedString.Value : localizer[propertyName].Value;
+ }
+
protected virtual bool GetSelectItemsIfProvidedFromAttribute(TagHelperContext context, TagHelperOutput output, ModelExplorer explorer, out List selectItems)
{
selectItems = GetAttribute(explorer)?.GetItems(explorer)?.ToList();
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpReadonlyInputType.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpReadonlyInputType.cs
new file mode 100644
index 0000000000..415abf2ef7
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpReadonlyInputType.cs
@@ -0,0 +1,9 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
+{
+ public enum AbpReadonlyInputType
+ {
+ False,
+ True,
+ True_PlainText
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelper.cs
index 889fe4208d..8a1890f4dc 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelper.cs
@@ -13,6 +13,11 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
public IEnumerable AspItems { get; set; }
+ public AbpFormControlSize Size { get; set; } = AbpFormControlSize.Default;
+
+ [HtmlAttributeName("info")]
+ public string InfoText { get; set; }
+
[HtmlAttributeNotBound]
[ViewContext]
public ViewContext ViewContext { get; set; }
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelperService.cs
index 8607348fff..5437cf0bc8 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelperService.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
@@ -7,6 +8,9 @@ using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
+using Microsoft.Extensions.Localization;
+using Microsoft.Extensions.Options;
+using Volo.Abp.AspNetCore.Mvc.Localization;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
@@ -15,11 +19,15 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
{
private readonly IHtmlGenerator _generator;
private readonly HtmlEncoder _encoder;
+ private readonly IStringLocalizerFactory _stringLocalizerFactory;
+ private readonly AbpMvcDataAnnotationsLocalizationOptions _options;
- public AbpSelectTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder)
+ public AbpSelectTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder, IOptions options, IStringLocalizerFactory stringLocalizerFactory)
{
_generator = generator;
_encoder = encoder;
+ _stringLocalizerFactory = stringLocalizerFactory;
+ _options = options.Value;
}
public override void Process(TagHelperContext context, TagHelperOutput output)
@@ -37,6 +45,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
else
{
output.TagName = "div";
+ LeaveOnlyGroupAttributes(context, output);
output.Attributes.AddClass("form-group");
output.TagMode = TagMode.StartTagAndEndTag;
output.Content.SetHtmlContent(innerHtml);
@@ -48,8 +57,10 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
var selectTag = GetSelectTag(context, output);
var selectAsHtml = RenderTagHelperOutput(selectTag, _encoder);
var label = GetLabelAsHtml(context, output, selectTag);
+ var validation = GetValidationAsHtml(context, output, selectTag);
+ var infoText = GetInfoAsHtml(context, output, selectTag);
- return label + Environment.NewLine + selectAsHtml;
+ return label + Environment.NewLine + selectAsHtml + Environment.NewLine + infoText+ Environment.NewLine + validation;
}
protected virtual string SurroundInnerHtmlAndGet(TagHelperContext context, TagHelperOutput output, string innerHtml)
@@ -59,21 +70,21 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
protected virtual TagHelperOutput GetSelectTag(TagHelperContext context, TagHelperOutput output)
{
- var selectItems = GetSelectItems(context, output);
-
var selectTagHelper = new SelectTagHelper(_generator)
{
For = TagHelper.AspFor,
- Items = selectItems,
+ Items = GetSelectItems(context, output),
ViewContext = TagHelper.ViewContext
};
- var inputTagHelperOutput = GetInnerTagHelper(new TagHelperAttributeList(), context, selectTagHelper, "select", TagMode.StartTagAndEndTag);
+ var selectTagHelperOutput = GetInnerTagHelper(GetInputAttributes(context, output), context, selectTagHelper, "select", TagMode.StartTagAndEndTag);
- inputTagHelperOutput.Attributes.Add("class", "form-control");
- AddDisabledAttribute(inputTagHelperOutput);
+ selectTagHelperOutput.Attributes.AddClass("form-control");
+ selectTagHelperOutput.Attributes.AddClass(GetSize(context,output));
+ AddDisabledAttribute(selectTagHelperOutput);
+ AddInfoTextId(selectTagHelperOutput);
- return inputTagHelperOutput;
+ return selectTagHelperOutput;
}
protected virtual void AddDisabledAttribute(TagHelperOutput inputTagHelperOutput)
@@ -97,8 +108,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
throw new Exception("No items provided for select attribute.");
}
- SetSelectedValue(context, output, selectItems);
-
return selectItems;
}
@@ -112,14 +121,93 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
return GetLabelAsHtmlUsingTagHelper(context, output);
}
+ protected virtual void AddInfoTextId(TagHelperOutput inputTagHelperOutput)
+ {
+ if (GetAttribute(TagHelper.AspFor.ModelExplorer) == null)
+ {
+ return;
+ }
+
+ var idAttr = inputTagHelperOutput.Attributes.FirstOrDefault(a => a.Name == "id");
+
+ if (idAttr == null)
+ {
+ return;
+ }
+
+ inputTagHelperOutput.Attributes.Add("aria-describedby", LocalizeText(idAttr.Value + "InfoText"));
+ }
+
+ protected virtual string GetInfoAsHtml(TagHelperContext context, TagHelperOutput output, TagHelperOutput inputTag)
+ {
+ string text = "";
+
+ if (!string.IsNullOrEmpty(TagHelper.InfoText))
+ {
+ text = TagHelper.InfoText;
+ }
+ else
+ {
+ var infoAttribute = GetAttribute(TagHelper.AspFor.ModelExplorer);
+ if (infoAttribute != null)
+ {
+ text = infoAttribute.Text;
+ }
+ else
+ {
+ return "";
+ }
+ }
+
+ var idAttr = inputTag.Attributes.FirstOrDefault(a => a.Name == "id");
+
+ return "" +
+ LocalizeText(text) +
+ " ";
+ }
+
+ protected virtual string LocalizeText(string text)
+ {
+ var localizer = GetLocalizer();
+
+ return localizer == null ? text : localizer[text].Value;
+ }
+
+ protected virtual IStringLocalizer GetLocalizer()
+ {
+ IStringLocalizer localizer = null;
+ var resourceType = _options.AssemblyResources.GetOrDefault(TagHelper.AspFor.ModelExplorer.ModelType.Assembly);
+
+ if (resourceType != null)
+ {
+ localizer = _stringLocalizerFactory.Create(resourceType);
+ }
+
+ return localizer;
+ }
+
protected virtual bool GetSelectItemsIfProvidedByEnum(TagHelperContext context, TagHelperOutput output, ModelExplorer explorer, out List selectItems)
{
+ var localizer = GetLocalizer();
+
selectItems = explorer.Metadata.IsEnum ? explorer.ModelType.GetTypeInfo().GetMembers(BindingFlags.Public | BindingFlags.Static)
- .Select((t, i) => new SelectListItem { Value = i.ToString(), Text = t.Name }).ToList() : null;
+ .Select((t, i) => new SelectListItem { Value = i.ToString(), Text = GetLocalizedPropertyName(localizer, explorer.ModelType, t.Name) }).ToList() : null;
return selectItems != null;
}
+ protected virtual string GetLocalizedPropertyName(IStringLocalizer localizer, Type enumType, string propertyName)
+ {
+ if (localizer == null)
+ {
+ return propertyName;
+ }
+
+ var localizedString = localizer[enumType.Name + "." + propertyName];
+
+ return !localizedString.ResourceNotFound ? localizedString.Value : localizer[propertyName].Value;
+ }
+
protected virtual bool GetSelectItemsIfProvidedFromAttribute(TagHelperContext context, TagHelperOutput output, ModelExplorer explorer, out List selectItems)
{
selectItems = GetAttribute(explorer)?.GetItems(explorer)?.ToList();
@@ -127,48 +215,85 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
return selectItems != null;
}
- protected virtual void SetSelectedValue(TagHelperContext context, TagHelperOutput output, List selectItems)
+ protected virtual string GetLabelAsHtmlUsingTagHelper(TagHelperContext context, TagHelperOutput output)
{
- if (!selectItems.Any(si => si.Selected))
+ var labelTagHelper = new LabelTagHelper(_generator)
{
- var selectedValue = GetSelectedValue(context, output);
-
- var itemToBeSelected = selectItems.FirstOrDefault(si => si.Value.ToString() == selectedValue);
+ For = TagHelper.AspFor,
+ ViewContext = TagHelper.ViewContext
+ };
- if (itemToBeSelected != null)
- {
- itemToBeSelected.Selected = true;
- }
- }
+ return RenderTagHelper(new TagHelperAttributeList(), context, labelTagHelper, _encoder, "label", TagMode.StartTagAndEndTag, true);
}
- protected virtual string GetSelectedValue(TagHelperContext context, TagHelperOutput output)
+ protected virtual string GetValidationAsHtml(TagHelperContext context, TagHelperOutput output, TagHelperOutput inputTag)
{
- var modelExplorer = TagHelper.AspFor.ModelExplorer;
+ if (inputTag.Attributes.Any(a => a.Name.ToLowerInvariant() == "type" && a.Value.ToString().ToLowerInvariant() == "hidden"))
+ {
+ return "";
+ }
- if (modelExplorer.Metadata.IsEnum)
+ var validationMessageTagHelper = new ValidationMessageTagHelper(_generator)
{
- var baseType = modelExplorer.Model?.GetType().GetEnumUnderlyingType();
+ For = TagHelper.AspFor,
+ ViewContext = TagHelper.ViewContext
+ };
+
+ var attributeList = new TagHelperAttributeList { { "class", "text-danger" } };
+
+ return RenderTagHelper(attributeList, context, validationMessageTagHelper, _encoder, "span", TagMode.StartTagAndEndTag, true);
+ }
- if (baseType == null) { return null; }
+ protected virtual string GetSize(TagHelperContext context, TagHelperOutput output)
+ {
+ var attribute = GetAttribute(TagHelper.AspFor.ModelExplorer);
- return Convert.ChangeType(modelExplorer.Model, baseType)?.ToString() ?? "";
+ if (attribute != null)
+ {
+ TagHelper.Size = attribute.Size;
}
- else
+
+ switch (TagHelper.Size)
{
- return modelExplorer.Model?.ToString();
+ case AbpFormControlSize.Small:
+ return "form-control-sm";
+ case AbpFormControlSize.Medium:
+ return "form-control-md";
+ case AbpFormControlSize.Large:
+ return "form-control-lg";
}
+
+ return "";
}
- protected virtual string GetLabelAsHtmlUsingTagHelper(TagHelperContext context, TagHelperOutput output)
+ protected virtual TagHelperAttributeList GetInputAttributes(TagHelperContext context, TagHelperOutput output)
{
- var labelTagHelper = new LabelTagHelper(_generator)
+ var groupPrefix = "group-";
+
+ var tagHelperAttributes = output.Attributes.Where(a => !a.Name.StartsWith(groupPrefix)).ToList();
+ var attrList = new TagHelperAttributeList();
+
+ foreach (var tagHelperAttribute in tagHelperAttributes)
{
- For = TagHelper.AspFor,
- ViewContext = TagHelper.ViewContext
- };
+ attrList.Add(tagHelperAttribute);
+ }
- return RenderTagHelper(new TagHelperAttributeList(), context, labelTagHelper, _encoder, "label", TagMode.StartTagAndEndTag, true);
+ return attrList;
+ }
+
+ protected virtual void LeaveOnlyGroupAttributes(TagHelperContext context, TagHelperOutput output)
+ {
+ var groupPrefix = "group-";
+ var tagHelperAttributes = output.Attributes.Where(a => a.Name.StartsWith(groupPrefix)).ToList();
+
+ output.Attributes.Clear();
+
+ foreach (var tagHelperAttribute in tagHelperAttributes)
+ {
+ var nameWithoutPrefix = tagHelperAttribute.Name.Substring(groupPrefix.Length);
+ var newAttritube = new TagHelperAttribute(nameWithoutPrefix, tagHelperAttribute.Value);
+ output.Attributes.Add(newAttritube);
+ }
}
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/FormControlSize.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/FormControlSize.cs
new file mode 100644
index 0000000000..19a5edd0af
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/FormControlSize.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
+{
+ [AttributeUsage(AttributeTargets.Property)]
+ public class FormControlSize : Attribute
+ {
+ public AbpFormControlSize Size { get; set; }
+
+ public FormControlSize(AbpFormControlSize size)
+ {
+ Size = size;
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/InputInfoText.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/InputInfoText.cs
new file mode 100644
index 0000000000..237ca7c92d
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/InputInfoText.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
+{
+ [AttributeUsage(AttributeTargets.Property)]
+ public class InputInfoText : Attribute
+ {
+ public string Text { get; set; }
+
+ public InputInfoText(string text)
+ {
+ Text = text;
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/Placeholder.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/Placeholder.cs
new file mode 100644
index 0000000000..042efb67c2
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/Placeholder.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
+{
+ [AttributeUsage(AttributeTargets.Property)]
+ public class Placeholder : Attribute
+ {
+ public string Value { get; set; }
+
+ public Placeholder(string value)
+ {
+ Value = value;
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/ReadOnlyInput.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/ReadOnlyInput.cs
index 6cef8594b3..c63cd6d88c 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/ReadOnlyInput.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/ReadOnlyInput.cs
@@ -8,8 +8,15 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
[AttributeUsage(AttributeTargets.Property)]
public class ReadOnlyInput : Attribute
{
+ public bool PlainText { get; set; }
+
public ReadOnlyInput()
{
}
+
+ public ReadOnlyInput(bool plainText)
+ {
+ PlainText = plainText;
+ }
}
}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColBreakTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColBreakTagHelper.cs
deleted file mode 100644
index fdd6b973a4..0000000000
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColBreakTagHelper.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Grid
-{
- public class AbpColBreakTagHelper : AbpTagHelper
- {
- public AbpColBreakTagHelper(AbpColBreakTagHelperService tagHelperService)
- : base(tagHelperService)
- {
-
- }
- }
-}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColumnBreakerTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColumnBreakerTagHelper.cs
new file mode 100644
index 0000000000..492a16ff21
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColumnBreakerTagHelper.cs
@@ -0,0 +1,11 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Grid
+{
+ public class AbpColumnBreakerTagHelper : AbpTagHelper
+ {
+ public AbpColumnBreakerTagHelper(AbpColumnBreakerTagHelperService tagHelperService)
+ : base(tagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColBreakTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColumnBreakerTagHelperService.cs
similarity index 82%
rename from framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColBreakTagHelperService.cs
rename to framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColumnBreakerTagHelperService.cs
index b483f275b2..f6190f2332 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColBreakTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpColumnBreakerTagHelperService.cs
@@ -3,7 +3,7 @@ using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Grid
{
- public class AbpColBreakTagHelperService : AbpTagHelperService
+ public class AbpColumnBreakerTagHelperService : AbpTagHelperService
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelper.cs
index 900b72fe25..ead3367ac7 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelper.cs
@@ -6,6 +6,8 @@
public HorizontalAlign HAlign { get; set; } = HorizontalAlign.Default;
+ public bool? Gutters { get; set; } = true;
+
public AbpRowTagHelper(AbpRowTagHelperService tagHelperService)
: base(tagHelperService)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelperService.cs
index 12609600d7..ecbe5db97e 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Grid/AbpRowTagHelperService.cs
@@ -12,6 +12,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Grid
ProcessVerticalAlign(output);
ProcessHorizontalAlign(output);
+ ProcessGutters(output);
}
protected virtual void ProcessVerticalAlign(TagHelperOutput output)
@@ -33,5 +34,15 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Grid
output.Attributes.AddClass("justify-content-" + TagHelper.HAlign.ToString().ToLowerInvariant());
}
+
+ protected virtual void ProcessGutters(TagHelperOutput output)
+ {
+ if (TagHelper.Gutters ?? true)
+ {
+ return;
+ }
+
+ output.Attributes.AddClass("no-gutters");
+ }
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImagePosition.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImagePosition.cs
deleted file mode 100644
index 4a2f1cb622..0000000000
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImagePosition.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Image
-{
- public enum AbpImagePosition
- {
- Default,
- Right,
- Left,
- Center
- }
-}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImageTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImageTagHelper.cs
deleted file mode 100644
index afc36f660c..0000000000
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImageTagHelper.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Image
-{
- public class AbpImageTagHelper : AbpTagHelper
- {
- public bool? Responsive { get; set; }
-
- public bool? Thumbnail { get; set; }
-
- public bool? Rounded { get; set; }
-
- public AbpImagePosition Position { get; set; } = AbpImagePosition.Default;
-
- public string Alt { get; set; }
-
- public string Src { get; set; }
-
- public AbpImageTagHelper(AbpImageTagHelperService tagHelperService)
- : base(tagHelperService)
- {
-
- }
- }
-}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImageTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImageTagHelperService.cs
deleted file mode 100644
index c03eee480e..0000000000
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Image/AbpImageTagHelperService.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using Microsoft.AspNetCore.Razor.TagHelpers;
-using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
-
-namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Image
-{
- public class AbpImageTagHelperService : AbpTagHelperService
- {
- public override void Process(TagHelperContext context, TagHelperOutput output)
- {
- output.TagName = "img";
- SetSourceFile(context,output);
- SetPosition(context,output);
- SetResponsive(context,output);
- SetThumbnail(context,output);
- SetRounded(context,output);
- SetAlt(context,output);
- }
-
- protected virtual void SetSourceFile(TagHelperContext context, TagHelperOutput output) {
- output.Attributes.Add("src",TagHelper.Src);
- }
-
- protected virtual void SetPosition(TagHelperContext context, TagHelperOutput output)
- {
- if (TagHelper.Position == default)
- {
- return;
- }
- if (TagHelper.Position == AbpImagePosition.Left || TagHelper.Position == AbpImagePosition.Right)
- {
- output.Attributes.AddClass("float-" + TagHelper.Position.ToString().ToLowerInvariant());
- }
- if (TagHelper.Position == AbpImagePosition.Center)
- {
- output.PreElement.SetHtmlContent("");
- output.PostElement.SetHtmlContent("
");
- }
- }
-
- protected virtual void SetResponsive(TagHelperContext context, TagHelperOutput output) {
- if (TagHelper.Responsive ?? false)
- {
- output.Attributes.AddClass("img-fluid");
- }
- }
-
- protected virtual void SetThumbnail(TagHelperContext context, TagHelperOutput output)
- {
- if (TagHelper.Thumbnail ?? false)
- {
- output.Attributes.AddClass("img-thumbnail");
- }
- }
-
- protected virtual void SetRounded(TagHelperContext context, TagHelperOutput output)
- {
- if (TagHelper.Rounded ?? false)
- {
- output.Attributes.AddClass("rounded");
- }
- }
-
- protected virtual void SetAlt(TagHelperContext context, TagHelperOutput output)
- {
- output.Attributes.Add("alt",TagHelper.Alt);
- }
- }
-}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelper.cs
index 5524f221ff..aa61832ab9 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelper.cs
@@ -4,6 +4,8 @@
{
public AbpModalSize Size { get; set; } = AbpModalSize.Default;
+ public bool? Centered { get; set; } = false;
+
public AbpModalTagHelper(AbpModalTagHelperService tagHelperService)
: base(tagHelperService)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs
index 23453df1d0..8106db4661 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalTagHelperService.cs
@@ -36,6 +36,12 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
{
var classNames = new StringBuilder("modal-dialog");
+ if (TagHelper.Centered ?? false)
+ {
+ classNames.Append(" ");
+ classNames.Append("modal-dialog-centered");
+ }
+
if (TagHelper.Size != AbpModalSize.Default)
{
classNames.Append(" ");
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelper.cs
index e7655c6073..40f25951fe 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelper.cs
@@ -2,8 +2,6 @@
{
public class AbpNavItemTagHelper : AbpTagHelper
{
- public bool? Active { get; set; }
-
public bool? Dropdown { get; set; }
public AbpNavItemTagHelper(AbpNavItemTagHelperService tagHelperService)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelperService.cs
index b4e8575ac8..ced733272c 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavItemTagHelperService.cs
@@ -11,7 +11,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
output.Attributes.AddClass("nav-item");
SetDropdownClass(context, output);
- SetActiveClass(context, output);
}
protected virtual void SetDropdownClass(TagHelperContext context, TagHelperOutput output)
@@ -21,13 +20,5 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
output.Attributes.AddClass("dropdown");
}
}
-
- protected virtual void SetActiveClass(TagHelperContext context, TagHelperOutput output)
- {
- if (TagHelper.Active ?? false)
- {
- output.Attributes.AddClass("active");
- }
- }
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelper.cs
index 7809adc98b..1a534b5efb 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelper.cs
@@ -8,8 +8,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
public bool? Active { get; set; }
public bool? Disabled { get; set; }
-
- public string Href { get; set; }
public AbpNavLinkTagHelper(AbpNavLinkTagHelperService tagHelperService)
: base(tagHelperService)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelperService.cs
index 48f4867662..75f4285530 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Nav/AbpNavLinkTagHelperService.cs
@@ -13,11 +13,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Nav
output.TagName = "a";
output.TagMode = TagMode.StartTagAndEndTag;
SetClasses(context, output);
-
- if (!string.IsNullOrWhiteSpace(TagHelper.Href))
- {
- output.Attributes.Add("href", TagHelper.Href);
- }
}
protected virtual void SetClasses(TagHelperContext context, TagHelperOutput output)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelper.cs
index 72fb77a333..69e2f78467 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelper.cs
@@ -1,5 +1,9 @@
-namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
+using Microsoft.AspNetCore.Razor.TagHelpers;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
{
+ [HtmlTargetElement("abp-progress-bar")]
+ [HtmlTargetElement("abp-progress-part")]
public class AbpProgressBarTagHelper : AbpTagHelper
{
public double Value { get; set; }
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelperService.cs
index a27deff44d..66c7e7d2c8 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressBarTagHelperService.cs
@@ -1,4 +1,5 @@
-using Microsoft.AspNetCore.Razor.TagHelpers;
+using System;
+using Microsoft.AspNetCore.Razor.TagHelpers;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
@@ -7,6 +8,8 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
+ SetParentElement(context, output);
+
output.Attributes.AddClass("progress-bar");
output.Attributes.Add("role","progressbar");
@@ -51,6 +54,17 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
}
}
+ protected virtual void SetParentElement(TagHelperContext context, TagHelperOutput output)
+ {
+ if (output.TagName == "abp-progress-part")
+ {
+ return;
+ }
+
+ output.PreElement.SetHtmlContent("" + Environment.NewLine);
+ output.PostElement.SetHtmlContent(Environment.NewLine + "
");
+ }
+
protected virtual int CalculateStyleWidth()
{
return (int)((TagHelper.Value - TagHelper.MinValue) * (100 / (TagHelper.MaxValue - TagHelper.MinValue)));
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressGroupTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressGroupTagHelper.cs
new file mode 100644
index 0000000000..10a0ee4bb4
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressGroupTagHelper.cs
@@ -0,0 +1,11 @@
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
+{
+ public class AbpProgressGroupTagHelper : AbpTagHelper
+ {
+ public AbpProgressGroupTagHelper(AbpProgressGroupTagHelperService groupTagHelperService)
+ : base(groupTagHelperService)
+ {
+
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressGroupTagHelperService.cs
similarity index 80%
rename from framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressTagHelperService.cs
rename to framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressGroupTagHelperService.cs
index 4f70af2600..5dd4b8aded 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressGroupTagHelperService.cs
@@ -3,7 +3,7 @@ using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
{
- public class AbpProgressTagHelperService : AbpTagHelperService
+ public class AbpProgressGroupTagHelperService : AbpTagHelperService
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressTagHelper.cs
deleted file mode 100644
index c74700fcd8..0000000000
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/ProgressBar/AbpProgressTagHelper.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.ProgressBar
-{
- public class AbpProgressTagHelper : AbpTagHelper
- {
- public AbpProgressTagHelper(AbpProgressTagHelperService tagHelperService)
- : base(tagHelperService)
- {
-
- }
- }
-}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelper.cs
index dadb22af1c..53452e9c68 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelper.cs
@@ -6,9 +6,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Table
[HtmlTargetElement("td")]
public class AbpTableStyleTagHelper : AbpTagHelper
{
- public AbpTableStyle AbpTableStyle { get; set; } = AbpTableStyle.Default;
-
- public AbpTableStyle AbpDarkTableStyle { get; set; } = AbpTableStyle.Default;
+ public AbpTableStyle TableStyle { get; set; } = AbpTableStyle.Default;
public AbpTableStyleTagHelper(AbpTableStyleTagHelperService tagHelperService)
: base(tagHelperService)
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelperService.cs
index 716233b888..fe93d7273e 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Table/AbpTableStyleTagHelperService.cs
@@ -12,17 +12,9 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Table
protected virtual void SetStyle(TagHelperContext context, TagHelperOutput output)
{
- if (TagHelper.AbpTableStyle != AbpTableStyle.Default)
+ if (TagHelper.TableStyle != AbpTableStyle.Default)
{
- output.Attributes.AddClass("table-" + TagHelper.AbpTableStyle.ToString().ToLowerInvariant());
- }
- }
-
- protected virtual void SetDarkTableStyle(TagHelperContext context, TagHelperOutput output)
- {
- if (TagHelper.AbpDarkTableStyle != AbpTableStyle.Default)
- {
- output.Attributes.AddClass("bg-" + TagHelper.AbpDarkTableStyle.ToString().ToLowerInvariant());
+ output.Attributes.AddClass("table-" + TagHelper.TableStyle.ToString().ToLowerInvariant());
}
}
}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tooltip/AbpTooltipTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tooltip/AbpTooltipTagHelperService.cs
index 006ccbc856..f95a0097cd 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tooltip/AbpTooltipTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tooltip/AbpTooltipTagHelperService.cs
@@ -1,4 +1,6 @@
-using Microsoft.AspNetCore.Razor.TagHelpers;
+using System;
+using System.Linq;
+using Microsoft.AspNetCore.Razor.TagHelpers;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Tooltip
{
@@ -6,19 +8,40 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Tooltip
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
+ if (IsButtonDisabled(context, output))
+ {
+ SetParentElementWithTooltip(context, output);
+ return;
+ }
+
SetDataToggle(context, output);
SetDataPlacement(context, output);
SetTooltipTitle(context, output);
}
+ protected virtual void SetParentElementWithTooltip(TagHelperContext context, TagHelperOutput output)
+ {
+ var directory = GetDirectory() != TooltipDirectory.Default ? GetDirectory() : TooltipDirectory.Top;
+ output.Attributes.Add("data-placement", directory.ToString().ToLowerInvariant());
+
+ output.PreElement.SetHtmlContent(
+ "" + Environment.NewLine);
+
+ output.PostElement.SetHtmlContent(Environment.NewLine + " ");
+
+ output.Attributes.Add("style", "pointer-events: none;");
+ }
+
protected virtual void SetDataToggle(TagHelperContext context, TagHelperOutput output)
{
- output.Attributes.Add("data-toggle","tooltip");
+ output.Attributes.Add("data-toggle", "tooltip");
}
protected virtual void SetDataPlacement(TagHelperContext context, TagHelperOutput output)
{
- var directory = GetDirectory() != TooltipDirectory.Default ? GetDirectory() : TooltipDirectory.Bottom;
+ var directory = GetDirectory() != TooltipDirectory.Default ? GetDirectory() : TooltipDirectory.Top;
output.Attributes.Add("data-placement", directory.ToString().ToLowerInvariant());
}
@@ -65,5 +88,10 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Tooltip
return TooltipDirectory.Default;
}
+
+ protected virtual bool IsButtonDisabled(TagHelperContext context, TagHelperOutput output)
+ {
+ return output.Attributes.Any(a => a.Name == "disabled");
+ }
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleContributorOptions.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleContributorOptions.cs
new file mode 100644
index 0000000000..1e7d15bf23
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleContributorOptions.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Concurrent;
+using JetBrains.Annotations;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
+{
+ public class BundleContributorOptions
+ {
+ public ConcurrentDictionary AllExtensions { get; }
+
+ public BundleContributorOptions()
+ {
+ AllExtensions = new ConcurrentDictionary();
+ }
+
+ public BundleContributorCollection Extensions()
+ {
+ return Extensions(typeof(TContributor));
+ }
+
+ public BundleContributorCollection Extensions([NotNull] Type contributorType)
+ {
+ Check.NotNull(contributorType, nameof(contributorType));
+
+ return AllExtensions.GetOrAdd(
+ contributorType,
+ _ => new BundleContributorCollection()
+ );
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleManager.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleManager.cs
index ca5e914754..3f99614aa9 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleManager.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleManager.cs
@@ -21,6 +21,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
public ILogger Logger { get; set; }
protected readonly BundlingOptions Options;
+ protected readonly BundleContributorOptions ContributorOptions;
protected readonly IWebContentFileProvider WebContentFileProvider;
protected readonly IHostingEnvironment HostingEnvironment;
protected readonly IScriptBundler ScriptBundler;
@@ -32,6 +33,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
public BundleManager(
IOptions options,
+ IOptions contributorOptions,
IScriptBundler scriptBundler,
IStyleBundler styleBundler,
IHostingEnvironment hostingEnvironment,
@@ -41,6 +43,8 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
IWebContentFileProvider webContentFileProvider,
IWebRequestResources requestResources)
{
+ Options = options.Value;
+ ContributorOptions = contributorOptions.Value;
HostingEnvironment = hostingEnvironment;
ScriptBundler = scriptBundler;
ServiceProvider = serviceProvider;
@@ -49,7 +53,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
WebContentFileProvider = webContentFileProvider;
RequestResources = requestResources;
StyleBundler = styleBundler;
- Options = options.Value;
Logger = NullLogger.Instance;
}
@@ -202,7 +205,19 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
protected virtual List GetContributors(BundleConfigurationCollection bundles, string bundleName)
{
var contributors = new List();
+
AddContributorsWithBaseBundles(contributors, bundles, bundleName);
+
+ for (var i = 0; i < contributors.Count; ++i)
+ {
+ var extensions = ContributorOptions.Extensions(contributors[i].GetType()).GetAll();
+ if (extensions.Count > 0)
+ {
+ contributors.InsertRange(i + 1, extensions);
+ i += extensions.Count;
+ }
+ }
+
return contributors;
}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Clipboard/ClipboardScriptBundleContributor.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Clipboard/ClipboardScriptBundleContributor.cs
index 4a0cc30100..416fe4afd0 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Clipboard/ClipboardScriptBundleContributor.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Clipboard/ClipboardScriptBundleContributor.cs
@@ -1,6 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
+using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Clipboard
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Prismjs/PrismjsScriptBundleContributor.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Prismjs/PrismjsScriptBundleContributor.cs
new file mode 100644
index 0000000000..a5dc51610b
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Prismjs/PrismjsScriptBundleContributor.cs
@@ -0,0 +1,16 @@
+using System.Collections.Generic;
+using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
+using Volo.Abp.AspNetCore.Mvc.UI.Packages.Clipboard;
+using Volo.Abp.Modularity;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Prismjs
+{
+ [DependsOn(typeof(ClipboardScriptBundleContributor))]
+ public class PrismjsScriptBundleContributor : BundleContributor
+ {
+ public override void ConfigureBundle(BundleConfigurationContext context)
+ {
+ context.Files.AddIfNotContains("/libs/prismjs/prism.js");
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Prismjs/PrismjsStyleBundleContributor.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Prismjs/PrismjsStyleBundleContributor.cs
new file mode 100644
index 0000000000..00713df1f1
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Prismjs/PrismjsStyleBundleContributor.cs
@@ -0,0 +1,13 @@
+using System.Collections.Generic;
+using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Prismjs
+{
+ public class PrismjsStyleBundleContributor : BundleContributor
+ {
+ public override void ConfigureBundle(BundleConfigurationContext context)
+ {
+ context.Files.AddIfNotContains("/libs/prismjs/themes/prism-okaidia.css");
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs
index df5d127d98..cac53d4611 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs
@@ -75,14 +75,22 @@ namespace Volo.Abp.AspNetCore.Mvc
var mvcCoreBuilder = context.Services.AddMvcCore();
context.Services.ExecutePreConfiguredActions(mvcCoreBuilder);
+ var abpMvcDataAnnotationsLocalizationOptions = context.Services.ExecutePreConfiguredActions(new AbpMvcDataAnnotationsLocalizationOptions());
+
+ context.Services
+ .AddSingleton>(
+ new OptionsWrapper(
+ abpMvcDataAnnotationsLocalizationOptions
+ )
+ );
+
var mvcBuilder = context.Services.AddMvc()
.AddDataAnnotationsLocalization(options =>
{
- var assemblyResources = context.Services.ExecutePreConfiguredActions(new AbpMvcDataAnnotationsLocalizationOptions()).AssemblyResources;
options.DataAnnotationLocalizerProvider = (type, factory) =>
{
- var resourceType = assemblyResources.GetOrDefault(type.Assembly);
+ var resourceType = abpMvcDataAnnotationsLocalizationOptions.AssemblyResources.GetOrDefault(type.Assembly);
return factory.Create(resourceType ?? type);
};
})
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs
index 0b47d16bb5..2d04e316cb 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs
@@ -233,11 +233,11 @@ namespace Volo.Abp.AspNetCore.Mvc.Conventions
var controllerSetting = GetControllerSettingOrNull(controllerType);
if (controllerSetting?.RootPath != null)
{
- return GetControllerSettingOrNull(controllerType)?.RootPath;
+ return controllerSetting.RootPath;
}
var areaAttribute = controllerType.GetCustomAttributes().OfType().FirstOrDefault();
- if (areaAttribute.RouteValue != null)
+ if (areaAttribute?.RouteValue != null)
{
return areaAttribute.RouteValue;
}
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/ConventionalControllerSetting.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/ConventionalControllerSetting.cs
index ac504b6546..fac627d182 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/ConventionalControllerSetting.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/ConventionalControllerSetting.cs
@@ -1,12 +1,11 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Reflection;
-using JetBrains.Annotations;
+using JetBrains.Annotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.Versioning;
-using Volo.Abp.Application.Services;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Reflection;
using Volo.Abp.Reflection;
namespace Volo.Abp.AspNetCore.Mvc.Conventions
@@ -17,7 +16,7 @@ namespace Volo.Abp.AspNetCore.Mvc.Conventions
public Assembly Assembly { get; }
[NotNull]
- public HashSet ControllerTypes { get; }
+ public HashSet ControllerTypes { get; } //TODO: Internal?
[NotNull]
public string RootPath
diff --git a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/DefaultHttpExceptionStatusCodeFinder.cs b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/DefaultHttpExceptionStatusCodeFinder.cs
index c188e5dc40..7625fa1d63 100644
--- a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/DefaultHttpExceptionStatusCodeFinder.cs
+++ b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/DefaultHttpExceptionStatusCodeFinder.cs
@@ -39,6 +39,8 @@ namespace Volo.Abp.AspNetCore.Mvc.ExceptionHandling
: HttpStatusCode.Unauthorized;
}
+ //TODO: Handle SecurityException..?
+
if (exception is AbpValidationException)
{
return HttpStatusCode.BadRequest;
@@ -58,7 +60,7 @@ namespace Volo.Abp.AspNetCore.Mvc.ExceptionHandling
{
return HttpStatusCode.Forbidden;
}
-
+
return HttpStatusCode.InternalServerError;
}
}
diff --git a/framework/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs b/framework/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs
index 69b4d795e0..0d5e4260f6 100644
--- a/framework/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs
+++ b/framework/src/Volo.Abp.Core/System/Collections/Generic/AbpCollectionExtensions.cs
@@ -75,7 +75,7 @@ namespace System.Collections.Generic
public static bool AddIfNotContains([NotNull] this ICollection source, [NotNull] Func predicate, [NotNull] Func itemFactory)
{
Check.NotNull(source, nameof(source));
- Check.NotNull(source, nameof(predicate));
+ Check.NotNull(predicate, nameof(predicate));
Check.NotNull(itemFactory, nameof(itemFactory));
if (source.Any(predicate))
diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/IO/DirectoryHelper.cs b/framework/src/Volo.Abp.Core/Volo/Abp/IO/DirectoryHelper.cs
index 93afea9264..c4185cbbed 100644
--- a/framework/src/Volo.Abp.Core/Volo/Abp/IO/DirectoryHelper.cs
+++ b/framework/src/Volo.Abp.Core/Volo/Abp/IO/DirectoryHelper.cs
@@ -1,4 +1,5 @@
using System.IO;
+using JetBrains.Annotations;
namespace Volo.Abp.IO
{
@@ -7,10 +8,6 @@ namespace Volo.Abp.IO
///
public static class DirectoryHelper
{
- ///
- /// Creates a new directory if it does not exists.
- ///
- /// Directory to create
public static void CreateIfNotExists(string directory)
{
if (!Directory.Exists(directory))
@@ -18,5 +15,35 @@ namespace Volo.Abp.IO
Directory.CreateDirectory(directory);
}
}
+
+ public static bool IsSubDirectoryOf([NotNull] string parentDirectoryPath, [NotNull] string childDirectoryPath)
+ {
+ Check.NotNull(parentDirectoryPath, nameof(parentDirectoryPath));
+ Check.NotNull(childDirectoryPath, nameof(childDirectoryPath));
+
+ return IsSubDirectoryOf(
+ new DirectoryInfo(parentDirectoryPath),
+ new DirectoryInfo(childDirectoryPath)
+ );
+ }
+
+ public static bool IsSubDirectoryOf([NotNull] DirectoryInfo parentDirectory, [NotNull] DirectoryInfo childDirectory)
+ {
+ Check.NotNull(parentDirectory, nameof(parentDirectory));
+ Check.NotNull(childDirectory, nameof(childDirectory));
+
+ if (parentDirectory.FullName == childDirectory.FullName)
+ {
+ return true;
+ }
+
+ var parentOfChild = childDirectory.Parent;
+ if (parentOfChild == null)
+ {
+ return false;
+ }
+
+ return IsSubDirectoryOf(parentDirectory, parentOfChild);
+ }
}
}
diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs b/framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs
index 0f4514a066..21ca7c2086 100644
--- a/framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs
+++ b/framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs
@@ -1,4 +1,7 @@
-using System.IO;
+using System;
+using System.IO;
+using System.Text;
+using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Volo.Abp.IO
@@ -41,5 +44,35 @@ namespace Volo.Abp.IO
return fileNameWithExtension.Substring(lastDotIndex + 1);
}
+
+ ///
+ /// Opens a text file, reads all lines of the file, and then closes the file.
+ ///
+ /// The file to open for reading.
+ /// A string containing all lines of the file.
+ public static async Task ReadAllTextAsync(string path)
+ {
+ using (var reader = File.OpenText(path))
+ {
+ return await reader.ReadToEndAsync();
+ }
+ }
+
+ ///
+ /// Opens a text file, reads all lines of the file, and then closes the file.
+ ///
+ /// The file to open for reading.
+ /// A string containing all lines of the file.
+ public static async Task ReadAllBytesAsync(string path)
+ {
+ using (var stream = File.Open(path, FileMode.Open))
+ {
+ var result = new byte[stream.Length];
+ await stream.ReadAsync(result, 0, (int)stream.Length);
+ return result;
+ }
+ }
+
+ //TODO: ReadAllLinesAsync
}
}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/IEntity.cs b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/IEntity.cs
index 8afbabb26e..58e607b120 100644
--- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/IEntity.cs
+++ b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/IEntity.cs
@@ -6,6 +6,10 @@
///
public interface IEntity
{
+ ///
+ /// Returns an array of ordered keys for this entity.
+ ///
+ ///
object[] GetKeys();
}
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs
index 94e020a365..6ffd7ebf54 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs
@@ -14,7 +14,6 @@ using Volo.Abp.Localization.Resources.AbpValidation;
using Volo.Abp.MemoryDb;
using Volo.Abp.Modularity;
using Volo.Abp.TestApp;
-using Volo.Abp.UI;
using Volo.Abp.VirtualFileSystem;
namespace Volo.Abp.AspNetCore.Mvc
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml
index d2356bf771..2081e091e5 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml
@@ -10,84 +10,269 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Alerts
Based on Bootstrap Alert .
-# Alert Example
+Examples
-
+
+ A simple primary alert—check it out!
+
+
+ A simple secondary alert—check it out!
+
+
+ A simple success alert—check it out!
+
- I'm an abp alert!
+ A simple danger alert—check it out!
+
+
+ A simple warning alert—check it out!
+
+
+ A simple info alert—check it out!
+
+
+ A simple light alert—check it out!
+
+
+ A simple dark alert—check it out!
-
-
+
+
+
+<abp-alert alert-type="Primary">
+ A simple primary alert—check it out!
+</abp-alert>
+<abp-alert alert-type="Secondary">
+ A simple secondary alert—check it out!
+</abp-alert>
+<abp-alert alert-type="Success">
+ A simple success alert—check it out!
+</abp-alert>
<abp-alert alert-type="Danger">
- I'm an abp alert!
+ A simple danger alert—check it out!
+</abp-alert>
+<abp-alert alert-type="Warning">
+ A simple warning alert—check it out!
+</abp-alert>
+<abp-alert alert-type="Info">
+ A simple info alert—check it out!
</abp-alert>
-
+<abp-alert alert-type="Light">
+ A simple light alert—check it out!
+</abp-alert>
+<abp-alert alert-type="Dark">
+ A simple dark alert—check it out!
+</abp-alert>
+
+
+
+
+<div class="alert alert-primary" role="alert">
+ A simple primary alert—check it out!
+</div>
+<div class="alert alert-secondary" role="alert">
+ A simple secondary alert—check it out!
+</div>
+<div class="alert alert-success" role="alert">
+ A simple success alert—check it out!
+</div>
+<div class="alert alert-danger" role="alert">
+ A simple danger alert—check it out!
+</div>
+<div class="alert alert-warning" role="alert">
+ A simple warning alert—check it out!
+</div>
+<div class="alert alert-info" role="alert">
+ A simple info alert—check it out!
+</div>
+<div class="alert alert-light" role="alert">
+ A simple light alert—check it out!
+</div>
+<div class="alert alert-dark" role="alert">
+ A simple dark alert—check it out!
+</div>
+
+
+
-# Dismissible Alert Example
+Link color
-
-
- I'm a dismissible abp alert!
+
+ A simple primary alert with an example link . Give it a click if you like.
+
+
+ A simple secondary alert with an example link . Give it a click if you like.
+
+
+ A simple success alert with an example link . Give it a click if you like.
+
+
+ A simple danger alert with an example link . Give it a click if you like.
+
+
+ A simple warning alert with an example link . Give it a click if you like.
+
+
+ A simple info alert with an example link . Give it a click if you like.
+
+
+ A simple light alert with an example link . Give it a click if you like.
+
+
+ A simple dark alert with an example link . Give it a click if you like.
-
-
-<abp-alert alert-type="Warning" dismissible="true">
- I'm a dismissible abp alert!
+
+
+
+<abp-alert alert-type="Primary">
+ A simple primary alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+<abp-alert alert-type="Secondary">
+ A simple secondary alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+<abp-alert alert-type="Success">
+ A simple success alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+<abp-alert alert-type="Danger">
+ A simple danger alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
</abp-alert>
-
+<abp-alert alert-type="Warning">
+ A simple warning alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+<abp-alert alert-type="Info">
+ A simple info alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+<abp-alert alert-type="Light">
+ A simple light alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+<abp-alert alert-type="Dark">
+ A simple dark alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like.
+</abp-alert>
+
+
+
+
+<div class="alert alert-primary" role="alert">
+ A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-secondary" role="alert">
+ A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-success" role="alert">
+ A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-danger" role="alert">
+ A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-warning" role="alert">
+ A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-info" role="alert">
+ A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-light" role="alert">
+ A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-dark" role="alert">
+ A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+
+
+
-# Alert With Link Example
+Additional content
-
-
- I'm an abp alert with Link !
+
+ Well done!
+ Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
+
+ Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
-
-
-<abp-alert alert-type="Info">
- I'm an abp alert with <a abp-alert-link href="#">Link</a>!
+
+
+
+<abp-alert alert-type="Success">
+ <h4>Well done!</h4>
+ <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
+ <hr>
+ <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
</abp-alert>
-
+
+
+
+
+<div class="alert alert-success" role="alert">
+ <h4 class="alert-heading">Well done!</h4>
+ <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
+ <hr>
+ <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
+</div>
+
+
+
-# Alert With Header Example
+Dismissing
-
- Header
- I'm an abp alert!
+
+ Holy guacamole! You should check in on some of those fields below.
-
-
-<abp-alert alert-type="Primary">
- <h4>Header</h4>
- I'm an abp alert!
+
+
+
+<abp-alert alert-type="Warning" dismissible="true">
+ Holy guacamole! You should check in on some of those fields below.
</abp-alert>
-
+
+
+
+
+<div class="alert alert-warning alert-dismissible fade show" role="alert">
+ Holy guacamole! You should check in on some of those fields below.
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
+ <span aria-hidden="true">×</span>
+ </button>
+</div>
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Badges.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Badges.cshtml
index d5352312a7..becb85d9cd 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Badges.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Badges.cshtml
@@ -10,30 +10,215 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Badges
Based on Bootstrap Badge .
-# Badges Examples
+Example
+
+
+
+
+<h1>Example heading <span abp-badge="Secondary">New</span></h1>
+<h2>Example heading <span abp-badge="Secondary">New</span></h2>
+<h3>Example heading <span abp-badge="Secondary">New</span></h3>
+<h4>Example heading <span abp-badge="Secondary">New</span></h4>
+<h5>Example heading <span abp-badge="Secondary">New</span></h5>
+<h6>Example heading <span abp-badge="Secondary">New</span></h6>
+
+
+
+
+<h1>Example heading <span class="badge badge-secondary">New</span></h1>
+<h2>Example heading <span class="badge badge-secondary">New</span></h2>
+<h3>Example heading <span class="badge badge-secondary">New</span></h3>
+<h4>Example heading <span class="badge badge-secondary">New</span></h4>
+<h5>Example heading <span class="badge badge-secondary">New</span></h5>
+<h6>Example heading <span class="badge badge-secondary">New</span></h6>
+
+
+
+
+
+
+
-
-<span abp-badge="Primary" >I'm an abp badge!</span>
+
+
+
+<abp-button button-type="Primary">
+ Notifications <span abp-badge="Light">4</span>
+</abp-button>
+
+
+
+
+<button type="button" class="btn btn-primary">
+ Notifications <span class="badge badge-light">4</span>
+</button>
+
+
+
+
+
-<span abp-badge-pill="Warning" >I'm an abp pill badge!</span>
+Contextual variations
-<a abp-badge="Danger" href="#" >I'm an abp badge link!</a>
+
+
-<a abp-badge-pill="Success" href="#" >I'm an abp pill badge link!</a>
-
+ Primary
+ Secondary
+ Success
+ Danger
+ Warning
+ Info
+ Light
+ Dark
+
+
+
+
+
+<span abp-badge="Primary">Primary</span>
+<span abp-badge="Secondary">Secondary</span>
+<span abp-badge="Success">Success</span>
+<span abp-badge="Danger">Danger</span>
+<span abp-badge="Warning">Warning</span>
+<span abp-badge="Info">Info</span>
+<span abp-badge="Light">Light</span>
+<span abp-badge="Dark">Dark</span>
+
+
+
+
+<span class="badge badge-primary">Primary</span>
+<span class="badge badge-secondary">Secondary</span>
+<span class="badge badge-success">Success</span>
+<span class="badge badge-danger">Danger</span>
+<span class="badge badge-warning">Warning</span>
+<span class="badge badge-info">Info</span>
+<span class="badge badge-light">Light</span>
+<span class="badge badge-dark">Dark</span>
+
+
+
+
+Pill badges
+
+
+
+
+ Primary
+ Secondary
+ Success
+ Danger
+ Warning
+ Info
+ Light
+ Dark
+
+
+
+
+
+<span abp-badge-pill="Primary">Primary</span>
+<span abp-badge-pill="Secondary">Secondary</span>
+<span abp-badge-pill="Success">Success</span>
+<span abp-badge-pill="Danger">Danger</span>
+<span abp-badge-pill="Warning">Warning</span>
+<span abp-badge-pill="Info">Info</span>
+<span abp-badge-pill="Light">Light</span>
+<span abp-badge-pill="Dark">Dark</span>
+
+
+
+
+<span class="badge badge-pill badge-primary">Primary</span>
+<span class="badge badge-pill badge-secondary">Secondary</span>
+<span class="badge badge-pill badge-success">Success</span>
+<span class="badge badge-pill badge-danger">Danger</span>
+<span class="badge badge-pill badge-warning">Warning</span>
+<span class="badge badge-pill badge-info">Info</span>
+<span class="badge badge-pill badge-light">Light</span>
+<span class="badge badge-pill badge-dark">Dark</span>
+
+
+
+
+
+
+Links
+
+
+
+
+
+
+
+<a href="#" abp-badge="Primary">Primary</a>
+<a href="#" abp-badge="Secondary">Secondary</a>
+<a href="#" abp-badge="Success">Success</a>
+<a href="#" abp-badge="Danger">Danger</a>
+<a href="#" abp-badge="Warning">Warning</a>
+<a href="#" abp-badge="Info">Info</a>
+<a href="#" abp-badge="Light">Light</a>
+<a href="#" abp-badge="Dark">Dark</a>
+
+
+
+
+<a href="#" class="badge badge-primary">Primary</a>
+<a href="#" class="badge badge-secondary">Secondary</a>
+<a href="#" class="badge badge-success">Success</a>
+<a href="#" class="badge badge-danger">Danger</a>
+<a href="#" class="badge badge-warning">Warning</a>
+<a href="#" class="badge badge-info">Info</a>
+<a href="#" class="badge badge-light">Light</a>
+<a href="#" class="badge badge-dark">Dark</a>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Borders.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Borders.cshtml
index 9b683f8924..76c14746af 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Borders.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Borders.cshtml
@@ -10,43 +10,206 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
+
Borders
Based on Bootstrap Border .
-# Borders Examples
+Border
+
+Additive
-
-
aaa
-
bbb
-
ccc
-
ddd
-
eee
-
fff
-
ggg
-
hhh
-
iii
-
jjj
-
kkk
-
lll
-
mmm
+
+
+
+
+
+
-
-<span abp-border="Default">aaa</span>
-<span abp-border="Top">bbb</span>
-<span abp-border="Right">ccc</span>
-<span abp-border="Left">ddd</span>
-<span abp-border="Bottom">eee</span>
-<span abp-border="Top_0">fff</span>
-<span abp-border="Right_0">ggg</span>
-<span abp-border="Left_0">hhh</span>
-<span abp-border="Bottom_0">iii</span>
-<span abp-border="Top_Primary">jjj</span>
-<span abp-border="Warning_0">kkk</span>
-<span abp-border="Bottom_Primary_0">lll</span>
-<span abp-border="Left_Danger">mmm</span>
-
+
+
+
+<span abp-border="Default"></span>
+<span abp-border="Top"></span>
+<span abp-border="Right"></span>
+<span abp-border="Bottom"></span>
+<span abp-border="Left"></span>
+
+
+
+
+<span class="border"></span>
+<span class="border-top"></span>
+<span class="border-right"></span>
+<span class="border-bottom"></span>
+<span class="border-left"></span>
+
+
+
+
+
Subtractive
+
+
+
+
+
+
+
+
+
+
+
+
+
+<span abp-border="_0"></span>
+<span abp-border="Top_0"></span>
+<span abp-border="Right_0"></span>
+<span abp-border="Bottom_0"></span>
+<span abp-border="Left_0"></span>
+
+
+
+
+<span class="borde-0"></span>
+<span class="border-top-0"></span>
+<span class="border-right-0"></span>
+<span class="border-bottom-0"></span>
+<span class="border-left-0"></span>
+
+
+
+
+
+
+
Border color
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<span abp-border="Primary"></span>
+<span abp-border="Secondary"></span>
+<span abp-border="Success"></span>
+<span abp-border="Danger"></span>
+<span abp-border="Info"></span>
+<span abp-border="Light"></span>
+<span abp-border="Dark"></span>
+<span abp-border="White"></span>
+<br/>
+<span abp-border="Left_Primary"></span>
+<span abp-border="Top_Secondary"></span>
+<span abp-border="Right_Success"></span>
+<span abp-border="Bottom_Danger"></span>
+<span abp-border="bottom_Warning"></span>
+<span abp-border="Left_Info"></span>
+<span abp-border="Top_Light"></span>
+<span abp-border="Right_Dark"></span>
+
+
+
+
+<span class="border border-primary"></span>
+<span class="border border-secondary"></span>
+<span class="border border-success"></span>
+<span class="border border-danger"></span>
+<span class="border border-warning"></span>
+<span class="border border-info"></span>
+<span class="border border-light"></span>
+<span class="border border-dark"></span>
+<span class="border border-white"></span>
+<br/>
+<span class="border border-left border-primary"></span>
+<span class="border border-top border-secondary"></span>
+<span class="border border-right border-success"></span>
+<span class="border border-bottom border-danger"></span>
+<span class="border border-bottom border-warning"></span>
+<span class="border border-left border-info"></span>
+<span class="border border-top border-light"></span>
+<span class="border border-right border-dark"></span>
+
+
+
+
+
+
+
Border-radius
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<span abp-border="Primary" abp-rounded="Default"></span>
+<span abp-border="Primary" abp-rounded="_0"></span>
+<span abp-border="Primary" abp-rounded="Top"></span>
+<span abp-border="Primary" abp-rounded="Left"></span>
+<span abp-border="Primary" abp-rounded="Bottom"></span>
+<span abp-border="Primary" abp-rounded="Right"></span>
+
+
+
+
+<span class="border border-primary rounded"></span>
+<span class="border border-primary rounded-0"></span>
+<span class="border border-primary rounded-top"></span>
+<span class="border border-primary rounded-left"></span>
+<span class="border border-primary rounded-bottom"></span>
+<span class="border border-primary rounded-right"></span>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Breadcrumbs.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Breadcrumbs.cshtml
index e3ab71b246..8ede105b97 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Breadcrumbs.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Breadcrumbs.cshtml
@@ -10,29 +10,87 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Breadcrumbs
Based on Bootstrap Breadcrumb .
-
# Breadcrumb Examples
+
Example
-
+
+
+
+
<abp-breadcrumb>
- <abp-breadcrumb-item href="#" title="Home"/>
- <abp-breadcrumb-item href="#" title="Library"/>
- <abp-breadcrumb-item title="Page"/>
+ <abp-breadcrumb-item title="Home" />
</abp-breadcrumb>
-
+
+<abp-breadcrumb>
+ <abp-breadcrumb-item href="#" title="Home" />
+ <abp-breadcrumb-item title="Library" />
+</abp-breadcrumb>
+
+<abp-breadcrumb>
+ <abp-breadcrumb-item href="#" title="Home" />
+ <abp-breadcrumb-item href="#" title="Library"/>
+ <abp-breadcrumb-item title="Page"/>
+</abp-breadcrumb>
+
+
+
+
+<nav aria-label="breadcrumb">
+ <ol class="breadcrumb">
+ <li class="breadcrumb-item active" aria-current="page">Home</li>
+ </ol>
+</nav>
+
+<nav aria-label="breadcrumb">
+ <ol class="breadcrumb">
+ <li class="breadcrumb-item"><a href="#">Home</a></li>
+ <li class="breadcrumb-item active" aria-current="page">Library</li>
+ </ol>
+</nav>
+
+<nav aria-label="breadcrumb">
+ <ol class="breadcrumb">
+ <li class="breadcrumb-item"><a href="#">Home</a></li>
+ <li class="breadcrumb-item"><a href="#">Library</a></li>
+ <li class="breadcrumb-item active" aria-current="page">Data</li>
+ </ol>
+</nav>
+
+
+
-
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ButtonGroups.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ButtonGroups.cshtml
new file mode 100644
index 0000000000..b128174d61
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ButtonGroups.cshtml
@@ -0,0 +1,288 @@
+@page
+@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.ButtonGroupsModel
+@{
+ ViewData["Title"] = "ButtonGroups";
+}
+
+@section styles {
+
+
+
+}
+
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+Button groups
+
+Based on Bootstrap Button group .
+
+Basic example
+
+
+
+
+
+ Left
+ Middle
+ Right
+
+
+
+
+
+
+<abp-button-group>
+ <abp-button button-type="Secondary">Left</abp-button>
+ <abp-button button-type="Secondary">Middle</abp-button>
+ <abp-button button-type="Secondary">Right</abp-button>
+</abp-button-group>
+
+
+
+
+<div class="btn-group" role="group">
+ <button type="button" class="btn btn-secondary">Left</button>
+ <button type="button" class="btn btn-secondary">Middle</button>
+ <button type="button" class="btn btn-secondary">Right</button>
+</div>
+
+
+
+
+
+
+Button toolbar
+
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+
+
+ 5
+ 6
+ 7
+
+
+ 8
+
+
+
+
+
+
+
+ <abp-button-toolbar>
+ <abp-button-group class="mr-2">
+ <abp-button button-type="Secondary">1</abp-button>
+ <abp-button button-type="Secondary">2</abp-button>
+ <abp-button button-type="Secondary">3</abp-button>
+ <abp-button button-type="Secondary">4</abp-button>
+ </abp-button-group>
+ <abp-button-group class="mr-2">
+ <abp-button button-type="Secondary">5</abp-button>
+ <abp-button button-type="Secondary">6</abp-button>
+ <abp-button button-type="Secondary">7</abp-button>
+ </abp-button-group>
+ <abp-button-group>
+ <abp-button button-type="Secondary">8</abp-button>
+ </abp-button-group>
+ </abp-button-toolbar>
+
+
+
+
+<div class="btn-toolbar" role="toolbar">
+ <div class="btn-group mr-2" role="group">
+ <button type="button" class="btn btn-secondary">1</button>
+ <button type="button" class="btn btn-secondary">2</button>
+ <button type="button" class="btn btn-secondary">3</button>
+ <button type="button" class="btn btn-secondary">4</button>
+ </div>
+ <div class="btn-group mr-2" role="group">
+ <button type="button" class="btn btn-secondary">5</button>
+ <button type="button" class="btn btn-secondary">6</button>
+ <button type="button" class="btn btn-secondary">7</button>
+ </div>
+ <div class="btn-group" role="group">
+ <button type="button" class="btn btn-secondary">8</button>
+ </div>
+</div>
+
+
+
+
+
+
+Sizing
+
+
+
+
+ Left
+ Middle
+ Right
+
+
+
+ Left
+ Middle
+ Right
+
+
+
+ Left
+ Middle
+ Right
+
+
+
+
+
+
+<abp-button-group size="Large">
+ ...
+</abp-button-group>
+
+<abp-button-group>
+ ...
+</abp-button-group>
+
+<abp-button-group size="Small">
+ ...
+</abp-button-group>
+
+
+
+
+<div class="btn-group btn-group-lg" role="group">
+ ...
+</div>
+
+<div class="btn-group" role="group">
+ ...
+</div>
+
+<div class="btn-group btn-group-sm" role="group">
+ ...
+</div>
+
+
+
+
+
+
+Nesting
+
+
+
+
+ 1
+ 2
+
+
+
+ Dropdown link
+ Dropdown link
+
+
+
+
+
+
+
+
+<abp-button-group>
+ <abp-button button-type="Secondary">1</abp-button>
+ <abp-button button-type="Secondary">2</abp-button>
+ <abp-dropdown>
+ <abp-dropdown-button button-type="Secondary" text="Dropdown" />
+ <abp-dropdown-menu>
+ <abp-dropdown-item href="#"> Dropdown link </abp-dropdown-item>
+ <abp-dropdown-item href="#"> Dropdown link </abp-dropdown-item>
+ </abp-dropdown-menu>
+ </abp-dropdown>
+</abp-button-group>
+
+
+
+
+<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
+ <button type="button" class="btn btn-secondary">1</button>
+ <button type="button" class="btn btn-secondary">2</button>
+
+ <div class="btn-group" role="group">
+ <button id="btnGroupDrop1" type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Dropdown
+ </button>
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
+ <a class="dropdown-item" href="#">Dropdown link</a>
+ <a class="dropdown-item" href="#">Dropdown link</a>
+ </div>
+ </div>
+</div>
+
+
+
+
+
+
+Vertical variation
+
+
+
+
+ button
+ button
+
+
+
+ Dropdown link
+ Dropdown link
+
+
+ button
+ button
+
+
+
+ Dropdown link
+ Dropdown link
+
+
+ button
+
+
+
+
+
+
+<abp-button-group direction="Vertical">
+ ...
+</abp-button-group>
+
+
+
+
+<div class="btn-group-vertical">
+ ...
+</div>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Images.cshtml.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ButtonGroups.cshtml.cs
similarity index 86%
rename from framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Images.cshtml.cs
rename to framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ButtonGroups.cshtml.cs
index 34130a050e..dc9ac3c2eb 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Images.cshtml.cs
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ButtonGroups.cshtml.cs
@@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
{
- public class ImagesModel : PageModel
+ public class ButtonGroupsModel : PageModel
{
public void OnGet()
{
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml
index 6fe8f26395..0274cd4d69 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml
@@ -7,19 +7,32 @@
@section styles {
+
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Buttons
Based on Bootstrap button .
-# Example
+Examples
-
Primary
+
Secondary
Success
Danger
@@ -30,22 +43,76 @@
Link
-
-<abp-button text="Default"/>
-<abp-button button-type="Primary">Primary</abp-button>
-<abp-button button-type="Secondary">Secondary</abp-button>
-<abp-button button-type="Success">Success</abp-button>
-<abp-button button-type="Danger">Danger</abp-button>
-<abp-button button-type="Warning">Warning</abp-button>
-<abp-button button-type="Info">Info</abp-button>
-<abp-button button-type="Light">Light</abp-button>
-<abp-button button-type="Dark">Dark</abp-button>
-<abp-button button-type="Link">Link</abp-button>
-
+
+
+
+<abp-button> Default </abp-button>
+<abp-button button-type="Primary">Primary</abp-button>
+<abp-button button-type="Secondary">Secondary</abp-button>
+<abp-button button-type="Success">Success</abp-button>
+<abp-button button-type="Danger">Danger</abp-button>
+<abp-button button-type="Warning">Warning</abp-button>
+<abp-button button-type="Info">Info</abp-button>
+<abp-button button-type="Light">Light</abp-button>
+<abp-button button-type="Dark">Dark</abp-button>
+
+<abp-button button-type="Link">Link</abp-button>
+
+
+
+
+<button type="button" class="btn">Default</button>
+<button type="button" class="btn btn-primary">Primary</button>
+<button type="button" class="btn btn-secondary">Secondary</button>
+<button type="button" class="btn btn-success">Success</button>
+<button type="button" class="btn btn-danger">Danger</button>
+<button type="button" class="btn btn-warning">Warning</button>
+<button type="button" class="btn btn-info">Info</button>
+<button type="button" class="btn btn-light">Light</button>
+<button type="button" class="btn btn-dark">Dark</button>
+
+<button type="button" class="btn btn-link">Link</button>
+
+
+
+
+
+
+Button tags
+
+
+
+
+
+
+
+<a abp-button="Primary" href="#">Link</a>
+<abp-button button-type="Primary" type="submit" text="Button"/>
+<input abp-button="Primary" value="Input" />
+<input abp-button="Primary" type="submit" value="Submit" />
+<input abp-button="Primary" type="reset" value="Reset" />
+
+
+
+
+<a class="btn btn-primary" href="#" role="button">Link</a>
+<button class="btn btn-primary" type="submit">Button</button>
+<input class="btn btn-primary" type="button" value="Input">
+<input class="btn btn-primary" type="submit" value="Submit">
+<input class="btn btn-primary" type="reset" value="Reset">
+
+
+
-# Example
+Outline buttons
-
+
+
+
<abp-button button-type="Outline_Primary">Primary</abp-button>
<abp-button button-type="Outline_Secondary">Secondary</abp-button>
<abp-button button-type="Outline_Success">Success</abp-button>
@@ -68,133 +137,164 @@
<abp-button button-type="Outline_Info">Info</abp-button>
<abp-button button-type="Outline_Light">Light</abp-button>
<abp-button button-type="Outline_Dark">Dark</abp-button>
-
+
+
+
+
+<button type="button" class="btn btn-outline-primary">Primary</button>
+<button type="button" class="btn btn-outline-secondary">Secondary</button>
+<button type="button" class="btn btn-outline-success">Success</button>
+<button type="button" class="btn btn-outline-danger">Danger</button>
+<button type="button" class="btn btn-outline-warning">Warning</button>
+<button type="button" class="btn btn-outline-info">Info</button>
+<button type="button" class="btn btn-outline-light">Light</button>
+<button type="button" class="btn btn-outline-dark">Dark</button>
+
+
+
-# Example
+Sizes
-
-
# Example
-
-<abp-button size="Default" text="Default" />
-<abp-button size="Small" text="Small" />
-<abp-button size="Medium" text="Medium" />
-<abp-button size="Large" text="Large" />
-
+
+
+
+<abp-button size="Small" button-type="Primary" text="Small button" />
+<abp-button size="Small" button-type="Secondary" text="Small button" />
+
+
+
+
+<button type="button" class="btn btn-primary btn-sm">Small button</button>
+<button type="button" class="btn btn-secondary btn-sm">Small button</button>
+
+
+
-
# Example
-
-
-<abp-button block="true" text="Block" />
-
+
+
+
+<abp-button size="Block" button-type="Primary" text="Block level button" />
+<abp-button size="Block" button-type="Secondary" text="Block level button" />
+
+
+
+
+<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
+<button type="button" class="btn btn-secondary btn-lg btn-block">Block level button</button>
+
+
+
-
# Example
+
+
Icon
+
-
+
+
+
+<abp-button icon="pencil" text="With Icon"/>
<abp-button icon-type="FontAwesome" icon="info" text="With Icon"/>
-
+
+
+
+
+<button class="btn" type="button"><i class="fa fa-pencil"></i> <span>With Icon</span></button>
+<button class="btn" type="button"><i class="fa fa-info"></i> <span>With Icon</span></button>
+
+
+
-
-
-
# Example
-
-
-
-
-<abp-button text="Busy" busy-text="Saving..."/>
-
+
+
+
+ icon-type : Formats the icon attribute. Default value is FontAwesome.
+
+
+ icon : Sets icon to button.
+
+
-
# Group Examples
-
-
+
Busy Text Example
-
- Left
- Middle
- Right
-
-
- Primary
- Secondary
- Success
-
+
-
- Top
- Middle
- Bottom
-
+
-
-
-<abp-button-group>
- <abp-button> Left </abp-button>
- <abp-button> Middle </abp-button>
- <abp-button> Right </abp-button>
-</abp-button-group>
-
-<abp-button-group size="Large">
- <abp-button button-type="Primary"> Primary </abp-button>
- <abp-button button-type="Secondary"> Secondary </abp-button>
- <abp-button button-type="Success"> Success </abp-button>
-</abp-button-group>
-
-<abp-button-group direction="Vertical" size="Small">
- <abp-button button-type="Primary"> Top </abp-button>
- <abp-button button-type="Warning"> Middle </abp-button>
- <abp-button button-type="Danger"> Bottom </abp-button>
-</abp-button-group>
-
+
+
+
+<abp-button text="Busy" busy-text="Saving..."/>
+
+
+
+
+<button class="btn" type="button" data-busy-text="Saving..."><span>Busy</span></button>
+
+
+
+
+
+
+
+
+ busy-text : Sets "data-busy-text" attribute. Default value is localization of "ProcessingWithThreeDot" string.
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Cards.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Cards.cshtml
index feefc2c04a..0d51658b5f 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Cards.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Cards.cshtml
@@ -10,135 +10,597 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Cards
Based on Bootstrap card .
-
# Example
+
Example
-
- Card header
- Card body
+
+
+
+
+ Card Title
+ Some quick example text to build on the card title and make up the bulk of the card's content.
+ Go somewhere
+
+
-
<abp-card>
- <abp-card-header>Card header</abp-card-header>
- <abp-card-body>Card body</abp-card-body>
-</abp-card>
+
+
+
+<abp-card style="width: 18rem;">
+ <img abp-card-image="Top" src="~/imgs/demo/300x200.png"/>
+ <abp-card-body>
+ <abp-card-title>Card Title</abp-card-title>
+ <abp-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</abp-card-text>
+ <a abp-button="Primary" href="#"> Go somewhere</a>
+ </abp-card-body>
+</abp-card>
+
+
+
+
+<div class="card" style="width: 18rem;">
+ <img class="card-img-top" src=".../100px180/" alt="Card image cap">
+ <div class="card-body">
+ <h5 class="card-title">Card title</h5>
+ <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
+ <a href="#" class="btn btn-primary">Go somewhere</a>
+ </div>
+</div>
+
+
+
-
# Example
+
Titles, text, and links
+
-
-
- This is a sample card component built by
- ABP bootstrap card tag helper.
-
+
+ Card title
+ Card subtitle
+ Some quick example text to build on the card title and make up the bulk of the card's content.
Card link
Another link
+
-
-<abp-card style="width: 18rem;">
- <abp-card-body title="Card title" subtitle="Card subtitle">
- <abp-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</abp-card-text>
- <a abp-card-link href="#">Card link</a>
- <a abp-card-link href="#">Another link</a>
+
+
+
+<abp-card style="width: 18rem;">
+ <abp-card-body>
+<abp-card-title>Card title</abp-card-title>
+<abp-card-subtitle class="mb-2 text-muted">Card subtitle</abp-card-subtitle>
+<abp-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</abp-card-text>
+<a abp-card-link href="#">Card link</a>
+<a abp-card-link href="#">Another link</a>
</abp-card-body>
</abp-card>
-
+
+
+
+
+<div class="card" style="width: 18rem;">
+ <div class="card-body">
+ <h5 class="card-title">Card title</h5>
+ <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
+ <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
+ <a href="#" class="card-link">Card link</a>
+ <a href="#" class="card-link">Another link</a>
+ </div>
+</div>
+
+
+
-
# Example
+
List groups
+
+
+
+ Cras justo odio
+ Dapibus ac facilisis in
+ Vestibulum at eros
+
+
+
+
+
+
+
+
+<abp-card style="width: 18rem;">
+ <abp-list-group flush="true">
+<abp-list-group-item>Cras justo odio</abp-list-group-item>
+<abp-list-group-item>Dapibus ac facilisis in</abp-list-group-item>
+<abp-list-group-item>Vestibulum at eros</abp-list-group-item>
+ </abp-list-group>
+</abp-card>
+
+
+
+
+<div class="card" style="width: 18rem;">
+ <ul class="list-group list-group-flush">
+ <li class="list-group-item">Cras justo odio</li>
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item">Vestibulum at eros</li>
+ </ul>
+</div>
+
+
+
+
+
+
+
+
+
+
+ Featured
+
+ Cras justo odio
+ Dapibus ac facilisis in
+ Vestibulum at eros
+
+
+
+
+
+
+
+
+<abp-card style="width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-list-group flush="true">
+<abp-list-group-item>Cras justo odio</abp-list-group-item>
+<abp-list-group-item>Dapibus ac facilisis in</abp-list-group-item>
+<abp-list-group-item>Vestibulum at eros</abp-list-group-item>
+ </abp-list-group>
+</abp-card>
+
+
+
+
+<div class="card" style="width: 18rem;">
+ <div class="card-header">
+ Featured
+ </div>
+ <ul class="list-group list-group-flush">
+ <li class="list-group-item">Cras justo odio</li>
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item">Vestibulum at eros</li>
+ </ul>
+</div>
+
+
+
+
+
+
+
Kitchen sink
+
+
+
+
-
+
- Card title
-
- This is a sample card component built by
- ABP bootstrap card tag helper.
-
- Go somewhere →
+ Card Title
+ Some quick example text to build on the card title and make up the bulk of the card's content.
+
+
+ Cras justo odio
+ Dapibus ac facilisis in
+ Vestibulum at eros
+
+
+ Card link
+ Another link
+
-
-<abp-card style="width: 18rem;">
- <img abp-card-image="Top" src="~/imgs/demo/300x200.png" alt="Card image cap">
+
+
+
+<abp-card style="width: 18rem;">
+ <img abp-card-image="Top" src="~/imgs/demo/300x200.png" />
<abp-card-body>
- <abp-card-title>Card title</abp-card-title>
- <abp-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</abp-card-text>
- <a href="#" class="btn btn-primary">Go somewhere</a>
+<abp-card-title>Card Title</abp-card-title>
+<abp-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</abp-card-text>
+ </abp-card-body>
+ <abp-list-group flush="true">
+<abp-list-group-item>Cras justo odio</abp-list-group-item>
+<abp-list-group-item>Dapibus ac facilisis in</abp-list-group-item>
+<abp-list-group-item>Vestibulum at eros</abp-list-group-item>
+ </abp-list-group>
+ <abp-card-body>
+<a abp-card-link href="#">Card link</a>
+<a abp-card-link href="#">Another link</a>
</abp-card-body>
</abp-card>
-
+
+
+
+
+<div class="card" style="width: 18rem;">
+ <img class="card-img-top" src=".../100px180/?text=Image cap" alt="Card image cap">
+ <div class="card-body">
+ <h5 class="card-title">Card title</h5>
+ <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
+ </div>
+ <ul class="list-group list-group-flush">
+ <li class="list-group-item">Cras justo odio</li>
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item">Vestibulum at eros</li>
+ </ul>
+ <div class="card-body">
+ <a href="#" class="card-link">Card link</a>
+ <a href="#" class="card-link">Another link</a>
+ </div>
+</div>
+
+
+
-
# Example
+
Header and footer
+
+
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+ Go somewhere
+
+
+
+
+
+
+
+
+<abp-card style="width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+<abp-card-title> Special title treatment</abp-card-title>
+<abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+<a abp-button="Primary" href="#"> Go somewhere</a>
+ </abp-card-body>
+</abp-card>
+
+
+
+
+<div class="card">
+ <div class="card-header">
+ Featured
+ </div>
+ <div class="card-body">
+ <h5 class="card-title">Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ <a href="#" class="btn btn-primary">Go somewhere</a>
+ </div>
+</div>
+
+
+
+
+
+
+
+
+
+
+ Quote
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
+ Someone famous in Source Title
+
+
+
+
+
+
+
+
+
+<abp-card>
+ <abp-card-header>Quote</abp-card-header>
+ <abp-card-body>
+<abp-blockquote>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <footer>Someone famous in Source Title</footer>
+</abp-blockquote>
+ </abp-card-body>
+</abp-card>
+
+
+
+
+<div class="card">
+ <div class="card-header">
+ Quote
+ </div>
+ <div class="card-body">
+ <blockquote class="blockquote mb-0">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <footer class="blockquote-footer">Someone famous in Source Titl</footer>
+ </blockquote>
+ </div>
+</div>
+
+
+
+
+
+
-
-
-
-
+ Featured
+
+ Special title treatment
With supporting text below as a natural lead-in to additional content.
- Go somewhere
+ Go somewhere
+ 2 days ago
+
-
-<abp-card class="text-center">
- <abp-card-header>
- <ul class="nav nav-tabs card-header-tabs">
- <li class="nav-item">
- <a class="nav-link active" href="#">Active</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="#link">Link</a>
- </li>
- <li class="nav-item">
- <a class="nav-link disabled" href="#disabledlink">Disabled</a>
- </li>
- </ul>
- </abp-card-header>
- <abp-card-body title="Special title treatment">
- <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
- <a href="#" class="btn btn-primary">Go somewhere</a>
+
+
+
+<abp-card class="text-center">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+<abp-card-title> Special title treatment</abp-card-title>
+<abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+<a abp-button="Primary" href="#"> Go somewhere</a>
</abp-card-body>
+ <abp-card-footer class="text-muted"> 2 days ago</abp-card-footer>
</abp-card>
-
+
+
+
+
+<div class="card text-center">
+ <div class="card-header">
+ Featured
+ </div>
+ <div class="card-body">
+ <h5 class="card-title">Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ <a href="#" class="btn btn-primary">Go somewhere</a>
+ </div>
+ <div class="card-footer text-muted">
+ 2 days ago
+ </div>
+</div>
+
+
+
-
+
Card styles
+
+
Background and color
-
< back
\ No newline at end of file
+
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+
+ Featured
+
+ Special title treatment
+ With supporting text below as a natural lead-in to additional content.
+
+
+
+
+
+
+
+
+<abp-card background="Primary" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+<abp-card background="Success" text-color="Danger" border="Dark" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+<abp-card background="Warning" text-color="Secondary" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+<abp-card background="Light" text-color="Dark" border="Success" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+<abp-card background="Dark" text-color="White" border="Danger" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body>
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+<abp-card background="Danger" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header text-color="Primary">Featured</abp-card-header>
+ <abp-card-body>
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+<abp-card background="Info" border="Danger" class="mb-3" style="max-width: 18rem;">
+ <abp-card-header>Featured</abp-card-header>
+ <abp-card-body text-color="Danger">
+ <abp-card-title> Special title treatment</abp-card-title>
+ <abp-card-text>With supporting text below as a natural lead-in to additional content.</abp-card-text>
+ </abp-card-body>
+</abp-card>
+
+
+
+
+<div class="card bg-primary mb-3" style="max-width: 18rem;">
+ <div class="card-header">Featured</div>
+ <div class="card-body">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+<div class="card text-danger bg-success border-dark mb-3" style="max-width: 18rem;">
+ <div class="card-header">Featured</div>
+ <div class="card-body">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+<div class="card text-secondary bg-warning mb-3" style="max-width: 18rem;">
+ <div class="card-header">Featured</div>
+ <div class="card-body">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+<div class="card text-dark bg-light border-success mb-3" style="max-width: 18rem;">
+ <div class="card-header">Featured</div>
+ <div class="card-body">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+<div class="card text-white bg-dark border-danger mb-3" style="max-width: 18rem;">
+ <div class="card-header">Featured</div>
+ <div class="card-body">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+<div class="card bg-danger mb-3" style="max-width: 18rem;">
+ <div class="card-header text-primary">Featured</div>
+ <div class="card-body">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+<div class="card bg-info border-danger mb-3" style="max-width: 18rem;">
+ <div class="card-header">Featured</div>
+ <div class="card-body text-danger">
+ <h5 class="card-title"> Special title treatment</h5>
+ <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
+ </div>
+</div>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Carousel.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Carousel.cshtml
index 2ea6fa3f60..d8b0e9d486 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Carousel.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Carousel.cshtml
@@ -10,48 +10,272 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
Carousels
Based on Bootstrap Carousel .
-
# Carousel Examples
+
Slides only
+
+
+
+
+
+
+
+<abp-carousel indicators="false" controls="false">
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+</abp-carousel>
+
+
+
+
+<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
+ <div class="carousel-inner">
+ <div class="carousel-item active">
+ <img class="d-block w-100" src="..." alt="First slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src="..." alt="Second slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src="..." alt="Third slide">
+ </div>
+ </div>
+</div>
+
+
+
+
+
+
+
With controls
+
+
+
+
+
+
+
+<abp-carousel indicators="false">
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+</abp-carousel>
+
+
+
+
+<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
+ <div class="carousel-inner">
+ <div class="carousel-item active">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=777&fg=555&text=First slide" alt="First slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=666&fg=444&text=Second slide" alt="Second slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=555&fg=333&text=Third slide" alt="Third slide">
+ </div>
+ </div>
+ <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only">Previous</span>
+ </a>
+ <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only">Next</span>
+ </a>
+</div>
+
+
+
+
+
+
+
With indicators
+
+
+
+
+
+
+
+<abp-carousel>
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+</abp-carousel>
+
+
+
+
+<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
+ <ol class="carousel-indicators">
+ <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
+ <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
+ <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
+ </ol>
+ <div class="carousel-inner">
+ <div class="carousel-item active">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=777&fg=555&text=First slide" alt="First slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=666&fg=444&text=Second slide" alt="Second slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=555&fg=333&text=Third slide" alt="Third slide">
+ </div>
+ </div>
+ <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only">Previous</span>
+ </a>
+ <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only">Next</span>
+ </a>
+</div>
+
+
+
+
+
+
+
With captions
-
+
+
+
<abp-carousel>
- <abp-carousel-item src="..." alt="Carousel Item 1" caption="Caption" caption-title="title"></abp-carousel-item>
- <abp-carousel-item src="..." alt="Carousel Item 2" caption="Caption2" caption-title="title2"></abp-carousel-item>
- <abp-carousel-item src="..." alt="Carousel Item 3" caption="Caption3" caption-title="title3"></abp-carousel-item>
+ <abp-carousel-item caption-title="Second slide label" caption="Lorem ipsum dolor sit amet, consectetur adipiscing elit." src="..."></abp-carousel-item>
</abp-carousel>
-
+
+
+
+
+<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
+ <ol class="carousel-indicators">
+ <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
+ <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
+ <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
+ </ol>
+ <div class="carousel-inner">
+ <div class="carousel-item active">
+ <img class="d-block w-100" src=".../800x400?auto=yes&bg=777&fg=555&text=First slide" alt="First slide">
+ <div class="carousel-caption d-none d-md-block">
+ <h5>Second slide label</h5>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
+ </div>
+ </div>
+ </div>
+ <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only">Previous</span>
+ </a>
+ <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only">Next</span>
+ </a>
+</div>
+
+
+
-
# Carousel Examples
+
+
Crossfade
-
-<abp-carousel controls="true" indicators="false" crossfade="true">
- <abp-carousel-item src="..." alt="Carousel Item 1"></abp-carousel-item>
- <abp-carousel-item src="..." alt="Carousel Item 2" caption="Caption2" caption-title="title2"></abp-carousel-item>
- <abp-carousel-item src="..." alt="Carousel Item 3"></abp-carousel-item>
+
+
+
+<abp-carousel indicators="false" crossfade="true">
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
+ <abp-carousel-item src="..."></abp-carousel-item>
</abp-carousel>
-
+
+
+
+
+<div id="carouselExampleFade" class="carousel slide carousel-fade" data-ride="carousel">
+ <div class="carousel-inner">
+ <div class="carousel-item active">
+ <img class="d-block w-100" src="..." alt="First slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src="...e" alt="Second slide">
+ </div>
+ <div class="carousel-item">
+ <img class="d-block w-100" src="..." alt="Third slide">
+ </div>
+ </div>
+ <a class="carousel-control-prev" href="#carouselExampleFade" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only">Previous</span>
+ </a>
+ <a class="carousel-control-next" href="#carouselExampleFade" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only">Next</span>
+ </a>
+</div>
+
+
+
-
\ No newline at end of file
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Collapse.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Collapse.cshtml
index adbe35a3fa..e72e219487 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Collapse.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Collapse.cshtml
@@ -11,72 +11,224 @@
}
+
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Collapse
Based on Bootstrap Collapse .
-
# Accordion Example
+
+
Example
-
-
- 1Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry rtat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
-
-
- 2Anim pariatur cliche reprehenderit,, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
-
-
- 3Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
-
-
+
Link with href
+
+
+ Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+
-
-<abp-accordion>
- <abp-accordion-item title="header1">
- 1Anim pariatur cliche reprehenderit, enim eiusmod high life acc
- </abp-accordion-item>
- <abp-accordion-item title="header2">
- 2Anim pariatur cliche reprehenderit,, enim eiusmod high life
- </abp-accordion-item>
- <abp-accordion-item title="header3">
- 3Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on i
- </abp-accordion-item>
-</abp-accordion>
-
+
+
+
+<abp-button button-type="Primary" abp-collapse-id="collapseExample" text="Button with data-target" />
+<a abp-button="Primary" abp-collapse-id="collapseExample"> Link with href </a>
+
+<abp-collapse-body id="collapseExample">
+
+ Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+</abp-collapse-body>
+
+
+
+
+<p>
+ <a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
+ Link with href
+ </a>
+ <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
+ Button with data-target
+ </button>
+</p>
+<div class="collapse" id="collapseExample">
+ <div class="card card-body">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
+ </div>
+</div>
+
+
+
-
# Collapse With Button Example
+
Multiple targets
-
-
- Toggle
-
-
-
-
- 3Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
-
+
Toggle first element
+
+
+
+
+
+ Curabitur porta porttitor libero eu luctus. Praesent ultrices mattis commodo. Integer sodales massa risus, in molestie enim sagittis blandit
+
+
+
+
+ Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.
+
+
+
-
+
+
+
+
+<a abp-button="Primary" abp-collapse-id="FirstCollapseExample"> Toggle first element </a>
+<abp-button button-type="Primary" abp-collapse-id="SecondCollapseExample" text="Toggle second element" />
+<abp-button button-type="Primary" abp-collapse-id="FirstCollapseExample SecondCollapseExample" text="Toggle both elements" />
+
+<abp-row class="mt-3">
+ <abp-column size-sm="_6">
+ <abp-collapse-body id="FirstCollapseExample" multi="true">
+ Curabitur porta porttitor libero eu luctus. Praesent ultrices mattis commodo. Integer sodales massa risus, in molestie enim sagittis blandit
+ </abp-collapse-body>
+ </abp-column>
+ <abp-column size-sm="_6">
+ <abp-collapse-body id="SecondCollapseExample" multi="true">
+ Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.
+ </abp-collapse-body>
+ </abp-column>
+</abp-row>
+
+
+
+
<p>
- <abp-collapse-button buton-type="Success" body-id="collapseExample">
- Toggle
- </abp-collapse-button>
+ <a class="btn btn-primary" data-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Toggle first element</a>
+ <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#multiCollapseExample2" aria-expanded="false" aria-controls="multiCollapseExample2">Toggle second element</button>
+ <button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".multi-collapse" aria-expanded="false" aria-controls="multiCollapseExample1 multiCollapseExample2">Toggle both elements</button>
</p>
-
-<abp-collapse-body id="collapseExample" show="true">
- 3Anim pariatur wolf moon tempor,,, sunt aliqua put a bir
-</abp-collapse-body>
-
+<div class="row">
+ <div class="col">
+ <div class="collapse multi-collapse" id="multiCollapseExample1">
+ Curabitur porta porttitor libero eu luctus. Praesent ultrices mattis commodo. Integer sodales massa risus, in molestie enim sagittis blandit
+ </div>
+ </div>
+ <div class="col">
+ <div class="collapse multi-collapse" id="multiCollapseExample2">
+ Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.
+ </div>
+ </div>
+</div>
+
+
+
+
+
+
+
Accordion example
+
+
+
+
+
+
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry rtat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+
+
+ Anim pariatur cliche reprehenderit,, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+
+
+ Anim pariatur wolf moon tempor,,, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+
+
+
+
+
+
+
+
+<abp-accordion>
+ <abp-accordion-item title="Collapsible Group Item #1">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry rtat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </abp-accordion-item>
+ <abp-accordion-item title="Collapsible Group Item #2">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </abp-accordion-item>
+ <abp-accordion-item title="Collapsible Group Item #3">
+ Anim pariatur wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </abp-accordion-item>
+</abp-accordion>
+
+
+
+
+<div class="accordion" id="accordionExample">
+ <div class="card">
+ <div class="card-header" id="headingOne">
+ <h5 class="mb-0">
+ <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
+ Collapsible Group Item #1
+ </button>
+ </h5>
+ </div>
+
+ <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
+ <div class="card-body">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
+ </div>
+ </div>
+ <div class="card">
+ <div class="card-header" id="headingTwo">
+ <h5 class="mb-0">
+ <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
+ Collapsible Group Item #2
+ </button>
+ </h5>
+ </div>
+ <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
+ <div class="card-body">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
+ </div>
+ </div>
+ <div class="card">
+ <div class="card-header" id="headingThree">
+ <h5 class="mb-0">
+ <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
+ Collapsible Group Item #3
+ </button>
+ </h5>
+ </div>
+ <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
+ <div class="card-body">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
+ </div>
+ </div>
+</div>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml
index 7604f18abc..47d332e134 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml
@@ -10,111 +10,750 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Dropdowns
Based on Bootstrap button .
-
# Dropdown Example
+
Single button
+
+
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+
+
+
+
+
+
+<abp-dropdown>
+ <abp-dropdown-button text="Dropdown button" />
+ <abp-dropdown-menu>
+ <abp-dropdown-item href="#">Action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Another action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<div class="dropdown">
+ <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Dropdown button
+ </button>
+ <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+</div>
+
+
+
+
+
+
+
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+
+
+
+
+
+
+<abp-dropdown>
+ <abp-dropdown-button button-type="Secondary" link="true" text="Dropdown button" />
+ <abp-dropdown-menu>
+ <abp-dropdown-item href="#">Action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Another action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<div class="dropdown">
+ <a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Dropdown link
+ </a>
+
+ <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+</div>
+
+
+
+
+
-
+
- Dropdown header
- Action
- Another disabled action
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
Something else here
Separated link
-
-
+
+
+
+<!-- Example single danger button -->
+
<abp-dropdown>
- <abp-dropdown-button button-type="Primary" text="Dropdown"/>
- <abp-dropdown-menu>
- <abp-dropdown-header>Dropdown header</abp-dropdown-header>
- <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
- <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
- <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
- <abp-dropdown-divider/>
- <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
+ <abp-dropdown-button button-type="Danger" text="Dropdown button" />
+ <abp-dropdown-menu>
+ <abp-dropdown-item href="#">Action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Another action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
+ <abp-dropdown-divider />
+ <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
</abp-dropdown-menu>
</abp-dropdown>
-
+
+
+
+
+<!-- Example single danger button -->
+
+<div class="btn-group">
+ <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Action
+ </button>
+ <div class="dropdown-menu">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ <div class="dropdown-divider"></div>
+ <a class="dropdown-item" href="#">Separated link</a>
+ </div>
+</div>
+
+
+
-
# Split Dropdown Example
+
Split button
-
-
+
+
- Dropdown header
- Action
- Another disabled action
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
Something else here
Separated link
-
-
-<abp-dropdown direction="Right">
- <abp-dropdown-button dropdown-style="Split" button-type="Danger" text="Dropdown"/>
- <abp-dropdown-menu>
- <abp-dropdown-header>Dropdown header</abp-dropdown-header>
- <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
- <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
- <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
- <abp-dropdown-divider/>
- <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
+
+
+
+<!-- Example single danger button -->
+
+<abp-dropdown>
+ <abp-dropdown-button button-type="Danger" dropdown-style="Split" text="Dropdown button" />
+ <abp-dropdown-menu>
+ <abp-dropdown-item href="#">Action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Another action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
+ <abp-dropdown-divider />
+ <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
</abp-dropdown-menu>
</abp-dropdown>
-
+
+
+
+
+<!-- Example single danger button -->
+
+<div class="btn-group">
+ <button type="button" class="btn btn-danger">Action</button>
+ <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span class="sr-only">Toggle Dropdown</span>
+ </button>
+ <div class="dropdown-menu">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ <div class="dropdown-divider"></div>
+ <a class="dropdown-item" href="#">Separated link</a>
+ </div>
+</div>
+
+
+
-
# Link Dropdown Example
+
+
Split button
-
-
-
- Dropdown header
- Action
- Another disabled action
+
+
+
+ Action
+ Another action
Something else here
Separated link
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+ Separated link
+
+
+
+
+
+
+
+<!-- Example single danger button -->
+
+<abp-dropdown>
+ <abp-dropdown-button size="Large" button-type="Secondary" text="Large button" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+<abp-dropdown>
+ <abp-dropdown-button size="Large" button-type="Secondary" dropdown-style="Split" text="Large split button" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+<abp-dropdown>
+ <abp-dropdown-button size="Small" button-type="Secondary" text="Small button" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+<abp-dropdown>
+ <abp-dropdown-button size="Small" button-type="Secondary" dropdown-style="Split" text="Small split button" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<!-- Large button groups (default and split) -->
+<div class="btn-group">
+ <button class="btn btn-secondary btn-lg dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Large button
+ </button>
+ <div class="dropdown-menu">
+ ...
+ </div>
+</div>
+<div class="btn-group">
+ <button class="btn btn-secondary btn-lg" type="button">
+ Large split button
+ </button>
+ <button type="button" class="btn btn-lg btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span class="sr-only">Toggle Dropdown</span>
+ </button>
+ <div class="dropdown-menu">
+ ...
+ </div>
+</div>
+<!-- Small button groups (default and split) -->
+<div class="btn-group">
+ <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Small button
+ </button>
+ <div class="dropdown-menu">
+ ...
+ </div>
+</div>
+<div class="btn-group">
+ <button class="btn btn-secondary btn-sm" type="button">
+ Small split button
+ </button>
+ <button type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span class="sr-only">Toggle Dropdown</span>
+ </button>
+ <div class="dropdown-menu">
+ ...
+ </div>
+</div>
+
+
+
+
+
+
+
+
Directions
+
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+
+
+
+
+ Action
+ Another action
+ Something else here
+
+
-
+
+
+
<abp-dropdown direction="Up">
- <abp-dropdown-button Link="true" button-type="Primary" text="Dropdown"/>
- <abp-dropdown-menu align="Right">
- <abp-dropdown-header>Dropdown header</abp-dropdown-header>
- <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
- <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
- <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
- <abp-dropdown-divider/>
- <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
+ <abp-dropdown-button button-type="Secondary" text="Dropup" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+<abp-dropdown direction="Right">
+ <abp-dropdown-button button-type="Secondary" text="dropright" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+<abp-dropdown direction="Right">
+ <abp-dropdown-button button-type="Secondary" dropdown-style="Split" text="Split right" />
+ <abp-dropdown-menu>
+ ...
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<div class="btn-group dropup">
+ <button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Dropup
+ </button>
+ <div class="dropdown-menu">
+ <!-- Dropdown menu links -->
+ </div>
+</div>
+<div class="btn-group dropright">
+ <button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ dropright
+ </button>
+ <div class="dropdown-menu">
+ <!-- Dropdown menu links -->
+ </div>
+</div>
+<div class="btn-group dropright">
+ <button type="button" class="btn btn-danger">Action</button>
+ <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span class="sr-only">Split right</span>
+ </button>
+ <div class="dropdown-menu">
+ <!-- Dropdown menu links -->
+ </div>
+</div>
+
+
+
+
+
+
+
+
Menu Items
+
+
+
+
+
+
+ Dropdown Header
+ Action
+ Active action
+ Disabled action
+
+ Dropdown Item Text
+ Something else here
+
+
+
+
+
+
+
+<abp-dropdown>
+ <abp-dropdown-button button-type="Secondary" text="Dropdown"/>
+ <abp-dropdown-menu>
+ <abp-dropdown-header>Dropdown Header</abp-dropdown-header>
+ <abp-dropdown-item href="#">Action</abp-dropdown-item>
+ <abp-dropdown-item active="true" href="#">Active action</abp-dropdown-item>
+ <abp-dropdown-item disabled="true" href="#">Disabled action</abp-dropdown-item>
+ <abp-dropdown-divider/>
+ <abp-dropdown-item-text>Dropdown Item Text</abp-dropdown-item-text>
+ <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<div class="dropdown">
+ <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Dropdown button
+ </button>
+ <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
+ <h6 class="dropdown-header">Dropdown Header</h6>
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item active" href="#">Active action</a>
+ <a class="dropdown-item disabled" href="#">Disabled action</a>
+ <div class="dropdown-divider"></div>
+ <span class="dropdown-item-text">Dropdown item text</span>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+</div>
+
+
+
+
+
+
+
+
Menu alignment
+
+
+
+
+
+
+ Action
+ Active action
+ Disabled action
+
+
+
+
+
+
+
+<abp-dropdown>
+ <abp-dropdown-button button-type="Secondary" text="Right-aligned"/>
+ <abp-dropdown-menu align="Right">
+ <abp-dropdown-item href="#">Action</abp-dropdown-item>
+ <abp-dropdown-item active="true" href="#">Active action</abp-dropdown-item>
+ <abp-dropdown-item disabled="true" href="#">Disabled action</abp-dropdown-item>
</abp-dropdown-menu>
</abp-dropdown>
-
+
+
+
+
+<div class="btn-group">
+ <button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Right-aligned
+ </button>
+ <div class="dropdown-menu dropdown-menu-right">
+ <button class="dropdown-item" type="button">Action</button>
+ <button class="dropdown-item" type="button">Another action</button>
+ <button class="dropdown-item" type="button">Something else here</button>
+ </div>
+</div>
+
+
+
+
+
Custom Content
+
+
+
+
+
+
+
+ Some example text that's free-flowing within the dropdown menu.
+
+
+ And this is more example text.
+
+
+
+
+
+
+
+
+<abp-dropdown>
+ <abp-dropdown-button button-type="Secondary" text="Dropdown With Only Text" />
+ <abp-dropdown-menu class="p-4" style="max-width: 200px;">
+ <p>
+ Some example text that's free-flowing within the dropdown menu.
+ </p>
+ <p class="mb-0">
+ And this is more example text.
+ </p>
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<div class="btn-group">
+ <button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ Dropdown With Only Text
+ </button>
+ <div class="dropdown-menu p-4" style="max-width: 200px;">
+ <p>
+ Some example text that's free-flowing within the dropdown menu.
+ </p>
+ <p class="mb-0">
+ And this is more example text.
+ </p>
+ </div>
+</div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ New around here? Sign up
+ Forgot password?
+
+
+
+
+
+
+
+ public class DropdownsModel : PageModel
+ {
+ [Required]
+ [DataType(DataType.EmailAddress)]
+ [Display(Name = "Email Address")]
+ public string EmailAddress { get; set; }
+
+ [Required]
+ [DataType(DataType.Password)]
+ [Display(Name = "Password")]
+ public string Password{ get; set; }
+
+ [Display(Name = "Remember Me")]
+ public bool RememberMe{ get; set; }
+
+
+ public void OnGet()
+ {
+
+ }
+ }
+
+
+
+
+<abp-dropdown >
+ <abp-dropdown-button button-type="Secondary" text="Dropdown With Form"/>
+ <abp-dropdown-menu>
+ <form class="px-4 py-3">
+ <abp-input asp-for="EmailAddress"></abp-input>
+ <abp-input asp-for="Password"></abp-input>
+ <abp-input asp-for="RememberMe"></abp-input>
+ <abp-button button-type="Primary" text="Sign In" type="submit" />
+ </form>
+ <abp-dropdown-divider></abp-dropdown-divider>
+ <abp-dropdown-item href="#">New around here? Sign up</abp-dropdown-item>
+ <abp-dropdown-item href="#">Forgot password?</abp-dropdown-item>
+ </abp-dropdown-menu>
+</abp-dropdown>
+
+
+
+
+<div class="btn-group">
+ <button class="dropdown-toggle btn btn-secondary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" type="button" data-busy-text="Processing..."><span>Dropdown With Form</span></button>
+ <div></div>
+ <div class="dropdown-menu" x-placement="bottom-start" style="position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, 38px, 0px);">
+ <form class="px-4 py-3" novalidate="novalidate">
+ <div class="form-group">
+ <label for="EmailAddress">Email Address</label>
+ <input type="email" data-val="true" data-val-required="The Email Address field is required." id="EmailAddress" name="EmailAddress" value="" class="form-control input-validation-error" aria-describedby="EmailAddress-error">
+ <span class="text-danger field-validation-error" data-valmsg-for="EmailAddress" data-valmsg-replace="true"><span id="EmailAddress-error" class="">The Email Address field is required.</span></span>
+ </div>
+ <div class="form-group">
+ <label for="Password">Password</label>
+ <input type="password" data-val="true" data-val-required="The Password field is required." id="Password" name="Password" class="form-control input-validation-error" aria-describedby="Password-error">
+ <span class="text-danger field-validation-error" data-valmsg-for="Password" data-valmsg-replace="true"><span id="Password-error" class="">The Password field is required.</span></span>
+ </div>
+ <div class="form-check">
+ <input type="checkbox" data-val="true" data-val-required="The Remember Me field is required." id="RememberMe" name="RememberMe" value="true" class="form-check-input valid" aria-describedby="RememberMe-error">
+ <label class="form-check-label" for="RememberMe">Remember Me</label>
+ </div>
+ <button type="submit" class="btn btn-primary" data-busy-text="Processing..."><span>Sign In</span></button>
+ <input name="RememberMe" type="hidden" value="false">
+ </form>
+ <div class="dropdown-divider"></div>
+ <a href="#" class="dropdown-item">New around here? Sign up</a>
+ <a href="#" class="dropdown-item">Forgot password?</a>
+ </div>
+</div>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml.cs
index ab95ad6e60..1b1cf6c4f2 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml.cs
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Dropdowns.cshtml.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
@@ -9,6 +10,20 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
{
public class DropdownsModel : PageModel
{
+ [Required]
+ [DataType(DataType.EmailAddress)]
+ [Display(Name = "Email Address")]
+ public string EmailAddress { get; set; }
+
+ [Required]
+ [DataType(DataType.Password)]
+ [Display(Name = "Password")]
+ public string Password{ get; set; }
+
+ [Display(Name = "Remember Me")]
+ public bool RememberMe{ get; set; }
+
+
public void OnGet()
{
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml
index b259d071ca..7e710d1956 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml
@@ -12,166 +12,446 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Dynamic Forms
-
# Dynamic Form Example
+
Dynamic Form Example
-
-
-
Posted Values:
-
- Name: @Model.PersonInput.Name
- City: @Model.PersonInput.City
- Phone.Name: @Model.PersonInput.Phone.Name
- Phone.Number: @Model.PersonInput.Phone.Number
- Day: @Model.PersonInput.Day.ToString("yyyy-MM-dd")
- Country: @Model.PersonInput.Country
- IsActive: @Model.PersonInput.IsActive
-
+
-
-<abp-dynamic-form abp-model="Model.PersonInput"/>
-
-
-
+
+
+
+public class DynamicFormsModel : PageModel
+ {
+ [BindProperty]
+ public DetailedModel MyDetailedModel { get; set; }
-# Override an input Example
+ public List<SelectListItem> CountryList { get; set; } = new List<SelectListItem>
+ {
+ new SelectListItem { Value = "CA", Text = "Canada"},
+ new SelectListItem { Value = "US", Text = "USA"},
+ new SelectListItem { Value = "UK", Text = "United Kingdom"},
+ new SelectListItem { Value = "RU", Text = "Russia"}
+ };
-
-
-
-
-
-
-
-
-
Posted Values:
-
- Name: @Model.PersonInput.Name
- Surname: @Model.PersonInput.Surname
- City: @Model.PersonInput.City
- Phone.Name: @Model.PersonInput.Phone.Name
- Phone.Number: @Model.PersonInput.Phone.Number
- Day: @Model.PersonInput.Day.ToString("yyyy-MM-dd")
- Country: @Model.PersonInput.Country
- IsActive: @Model.PersonInput.IsActive
-
-
-
-
-<abp-dynamic-form abp-model="Model.PersonInput">
- <abp-input asp-for="Model.PersonInput.Name" label="Overrided name" />
- <abp-input asp-for="Model.PersonInput.Phone.Number" label="Overrided number" />
- <abp-button button-type="Primary" type="submit" text="submit" />
-</abp-dynamic-form>
-
+ public void OnGet()
+ {
+ MyDetailedModel = new DetailedModel
+ {
+ Name = "",
+ Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
+ IsActive = true,
+ Age = 65,
+ Day = DateTime.Now,
+ MyCarType = CarType.Coupe,
+ YourCarType = CarType.Sedan,
+ Country = "RU",
+ NeighborCountries = new List<string>() { "UK", "CA" }
+ };
+ }
+
+ public class DetailedModel
+ {
+ [Required]
+ [Placeholder("Enter your name...")]
+ [Display(Name = "Name")]
+ public string Name { get; set; }
+
+ [TextArea(Rows = 4)]
+ [Display(Name = "Description")]
+ [InputInfoText("Describe Yourself")]
+ public string Description { get; set; }
+
+ [Required]
+ [DataType(DataType.Password)]
+ [Display(Name = "Password")]
+ public string Password { get; set; }
+
+ [Display(Name = "Is Active")]
+ public bool IsActive { get; set; }
+
+ [Required]
+ [Display(Name = "Age")]
+ public int Age { get; set; }
+
+ [Required]
+ [Display(Name = "My Car Type")]
+ public CarType MyCarType { get; set; }
+
+ [Required]
+ [AbpRadioButton(Inline = true)]
+ [Display(Name = "Your Car Type")]
+ public CarType YourCarType { get; set; }
+
+ [DataType(DataType.Date)]
+ [Display(Name = "Day")]
+ public DateTime Day { get; set; }
+
+ [SelectItems(nameof(CountryList))]
+ [Display(Name = "Country")]
+ public string Country { get; set; }
+
+ [SelectItems(nameof(CountryList))]
+ [Display(Name = "Neighbor Countries")]
+ public List<string> NeighborCountries { get; set; }
+ }
+
+ public enum CarType
+ {
+ Sedan,
+ Hatchback,
+ StationWagon,
+ Coupe
+ }
+ }
+
+
+
+
+<abp-dynamic-form abp-model="@@Model.MyDetailedModel" submit-button="true" />
+
+
+
+
+<form method="post" novalidate="novalidate">
+ <div class="form-group">
+ <label for="MyDetailedModel_Name">Name</label>
+ <input type="text" data-val="true" data-val-required="The Name field is required." id="MyDetailedModel_Name" name="MyDetailedModel.Name" value="" class="form-control " placeholder="Enter your name...">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyDetailedModel.Name" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_Description">Description</label>
+ <textarea id="MyDetailedModel_Description" name="MyDetailedModel.Description" rows="4" class="form-control ">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</textarea>
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyDetailedModel.Description" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_Password">Password</label>
+ <input type="password" data-val="true" data-val-required="The Password field is required." id="MyDetailedModel_Password" name="MyDetailedModel.Password" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyDetailedModel.Password" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-check">
+ <input type="checkbox" checked="checked" data-val="true" data-val-required="The Is Active field is required." id="MyDetailedModel_IsActive" name="MyDetailedModel.IsActive" value="true" class="form-check-input "><input name="MyDetailedModel.IsActive" type="hidden" value="false">
+ <label class="form-check-label" for="MyDetailedModel_IsActive">Is Active</label>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_Age">Age</label>
+ <input type="number" data-val="true" data-val-required="The Age field is required." id="MyDetailedModel_Age" name="MyDetailedModel.Age" value="65" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyDetailedModel.Age" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_MyCarType">My Car Type</label>
+ <select data-val="true" data-val-required="The My Car Type field is required." id="MyDetailedModel_MyCarType" name="MyDetailedModel.MyCarType" class="form-control valid" aria-describedby="MyDetailedModel_MyCarType-error" aria-invalid="false">
+ <option value="0">Sedan</option>
+ <option value="1">Hatchback</option>
+ <option value="2">StationWagon</option>
+ <option selected="selected" value="3">Coupe</option>
+ </select>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyDetailedModel.YourCarTypeRadio0" name="MyDetailedModel.YourCarType" value="0" checked="checked" class="custom-control-input">
+ <label class="custom-control-label" for="MyDetailedModel.YourCarTypeRadio0">Sedan</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyDetailedModel.YourCarTypeRadio1" name="MyDetailedModel.YourCarType" value="1" class="custom-control-input">
+ <label class="custom-control-label" for="MyDetailedModel.YourCarTypeRadio1">Hatchback</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyDetailedModel.YourCarTypeRadio2" name="MyDetailedModel.YourCarType" value="2" class="custom-control-input">
+ <label class="custom-control-label" for="MyDetailedModel.YourCarTypeRadio2">StationWagon</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyDetailedModel.YourCarTypeRadio3" name="MyDetailedModel.YourCarType" value="3" class="custom-control-input">
+ <label class="custom-control-label" for="MyDetailedModel.YourCarTypeRadio3">Coupe</label>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_Day">Day</label>
+ <input type="date" data-val="true" data-val-required="The Day field is required." id="MyDetailedModel_Day" name="MyDetailedModel.Day" value="2018-12-19" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyDetailedModel.Day" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_Country">Country</label>
+ <select id="MyDetailedModel_Country" name="MyDetailedModel.Country" class="form-control">
+ <option value="CA">Canada</option>
+ <option value="US">USA</option>
+ <option value="UK">United Kingdom</option>
+ <option selected="selected" value="RU">Russia</option>
+ </select>
+ </div>
+ <div class="form-group">
+ <label for="MyDetailedModel_NeighborCountries">Neighbor Countries</label>
+ <select id="MyDetailedModel_NeighborCountries" multiple="multiple" name="MyDetailedModel.NeighborCountries" class="form-control">
+ <option selected="selected" value="CA">Canada</option>
+ <option value="US">USA</option>
+ <option selected="selected" value="UK">United Kingdom</option>
+ <option value="RU">Russia</option>
+ </select>
+ </div>
+ <input name="__RequestVerificationToken" type="hidden" value="CfDJ8Kbwu8pRBWJCh6KUtTDoAuTDS8evmWgc2dNZYWkzjZ1xFcA9ptyCgQBCTgA9NMoh_FXGRBDVunA7fx0TF1df1_OxaxerJvuWRCwFBhy8KbPcgXrVtmtSp6Z28gpFpO0Z1TSO1pdgdTwEXj43DBWq0Hc">
+ <button type="submit" class="btn btn-primary" data-busy-text="Processing..."><span>Submit</span></button>
+</form>
+
+
+
-# Form with Button Example
+Order Attribute Example
-
-
-
Posted Values:
-
- Name: @Model.PersonInput.Name
- Surname: @Model.PersonInput.Surname
- City: @Model.PersonInput.City
- Phone.Name: @Model.PersonInput.Phone.Name
- Phone.Number: @Model.PersonInput.Phone.Number
- Day: @Model.PersonInput.Day.ToString("yyyy-MM-dd")
- Country: @Model.PersonInput.Country
- IsActive: @Model.PersonInput.IsActive
-
+
-
-<abp-dynamic-form abp-model="Model.PersonInput" submit-button="true"/>
-
+
+
+
+public class DynamicFormsModel : PageModel
+ {
+ public OrderExampleModel MyOrderExampleModel { get; set; }
+
+ public void OnGet()
+ {
+ MyOrderExampleModel = new OrderExampleModel();
+ }
+
+ public class OrderExampleModel
+ {
+ [DisplayOrder(10005)]
+ public string Surname{ get; set; }
+
+ //Default 10000
+ public string EmailAddress { get; set; }
+
+ [DisplayOrder(10003)]
+ public string Name { get; set; }
+
+ [DisplayOrder(9999)]
+ public string City { get; set; }
+ }
+ }
+
+
+
+
+ <abp-dynamic-form abp-model="Model.MyOrderExampleModel"/>
+
+
+
+
+<form method="post">
+ <div class="form-group">
+ <label for="MyOrderExampleModel_City">City</label>
+ <input type="text" id="MyOrderExampleModel_City" name="MyOrderExampleModel.City" value="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyOrderExampleModel.City" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyOrderExampleModel_EmailAddress">EmailAddress</label>
+ <input type="text" id="MyOrderExampleModel_EmailAddress" name="MyOrderExampleModel.EmailAddress" value="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyOrderExampleModel.EmailAddress" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyOrderExampleModel_Name">Name</label>
+ <input type="text" id="MyOrderExampleModel_Name" name="MyOrderExampleModel.Name" value="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyOrderExampleModel.Name" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyOrderExampleModel_Surname">Surname</label>
+ <input type="text" id="MyOrderExampleModel_Surname" name="MyOrderExampleModel.Surname" value="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyOrderExampleModel.Surname" data-valmsg-replace="true"></span>
+ </div>
+ <input name="__RequestVerificationToken" type="hidden" value="CfDJ8Kbwu8pRBWJCh6KUtTDoAuQICDXiCEgWpOHc7uIzSQ2dKiezdDkWplt2D8XLsCX39Z8B_GnplHrAfZgZ5GkNZN-tkEgKlMtyjoWv9MADyYb2MmWw-LuW8wfUXI9YSza5lo_8P03Vff4NxmrV3boG0xQ">
+</form>
+
+
+
-# Non-dynamic Form
+Attribute Examples
-
-
-
Posted Values:
-
- Name: @Model.PersonInput.Name
- Surname: @Model.PersonInput.Surname
- Age: @Model.PersonInput.Age
- Is Active: @Model.PersonInput.IsActive
- Day: @Model.PersonInput.Day
- City: @Model.PersonInput.City
- Country: @Model.PersonInput.Country
- Phone.Number: @Model.PersonInput.Phone.Number
- Phone.Name: @Model.PersonInput.Phone.Name
-
+
-
+
+
+
+public class DynamicFormsModel : PageModel
+ {
+ public AttributeExamplesModel MyAttributeExamplesModel { get; set; }
+
+ public void OnGet()
+ {
+ MyAttributeExamplesModel = new AttributeExamplesModel();
+ MyAttributeExamplesModel.DisabledInput = "Disabled Input";
+ MyAttributeExamplesModel.ReadonlyInput = "Readonly Input";
+ MyAttributeExamplesModel.ReadonlyPlainTextInput = "Readonly Plain Text Input";
+ MyAttributeExamplesModel.LargeInput = "Large Input";
+ MyAttributeExamplesModel.SmallInput = "Small Input";
+ }
+
+ public class AttributeExamplesModel
+ {
+ [HiddenInput]
+ public string HiddenInput { get; set; }
+
+ [DisabledInput]
+ public string DisabledInput{ get; set; }
+
+ [ReadOnlyInput]
+ public string ReadonlyInput { get; set; }
+
+ [ReadOnlyInput(PlainText = true)]
+ public string ReadonlyPlainTextInput { get; set; }
+
+ [FormControlSize(AbpFormControlSize.Large)]
+ public string LargeInput { get; set; }
+
+ [FormControlSize(AbpFormControlSize.Small)]
+ public string SmallInput { get; set; }
+ }
+ }
+
+
+
+
+ <abp-dynamic-form abp-model="Model.MyAttributeExamplesModel"/>
+
+
+
+
<form method="post">
- <abp-input asp-for="Model.PersonInput.Name" />
- <abp-input asp-for="Model.PersonInput.Surname" />
- <abp-input asp-for="Model.PersonInput.Age" />
- <abp-input asp-for="Model.PersonInput.IsActive" />
- <abp-input asp-for="Model.PersonInput.Day" />
- <abp-select asp-for="Model.PersonInput.City" />
- <abp-select asp-for="Model.PersonInput.Country" />
- <abp-input asp-for="Model.PersonInput.Phone.Number" />
- <abp-input asp-for="Model.PersonInput.Phone.Name" />
- <abp-button type="submit" button-type="Primary" text="Submit" />
+ <div class="form-group">
+ <input type="hidden" id="MyAttributeExamplesModel_HiddenInput" name="MyAttributeExamplesModel.HiddenInput" value="" class="form-control ">
+ </div>
+ <div class="form-group">
+ <label for="MyAttributeExamplesModel_DisabledInput">DisabledInput</label>
+ <input type="text" id="MyAttributeExamplesModel_DisabledInput" name="MyAttributeExamplesModel.DisabledInput" value="Disabled Input" disabled="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.DisabledInput" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyAttributeExamplesModel_ReadonlyInput">ReadonlyInput</label>
+ <input type="text" id="MyAttributeExamplesModel_ReadonlyInput" name="MyAttributeExamplesModel.ReadonlyInput" value="Readonly Input" class="form-control " readonly="">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.ReadonlyInput" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyAttributeExamplesModel_ReadonlyPlainTextInput">ReadonlyPlainTextInput</label>
+ <input type="text" id="MyAttributeExamplesModel_ReadonlyPlainTextInput" name="MyAttributeExamplesModel.ReadonlyPlainTextInput" value="Readonly Plain Text Input" class="form-control-plaintext " readonly="">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.ReadonlyPlainTextInput" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyAttributeExamplesModel_LargeInput">LargeInput</label>
+ <input type="text" id="MyAttributeExamplesModel_LargeInput" name="MyAttributeExamplesModel.LargeInput" value="Large Input" class="form-control form-control-lg">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.LargeInput" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyAttributeExamplesModel_SmallInput">SmallInput</label>
+ <input type="text" id="MyAttributeExamplesModel_SmallInput" name="MyAttributeExamplesModel.SmallInput" value="Small Input" class="form-control form-control-sm">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyAttributeExamplesModel.SmallInput" data-valmsg-replace="true"></span>
+ </div>
+ <input name="__RequestVerificationToken" type="hidden" value="CfDJ8Kbwu8pRBWJCh6KUtTDoAuSUKLRRJ2JhujqxKEZfzYxIDYQtg1knqOh9zyG1DjaXRnoavm1876JtbePc4El_6aDqwMUKuXshQhXIunS_hrygXH5v-Tm6Qw_zL-JEJnSmd6Q4EwCtwDBwGX0in4-swG8">
</form>
-
+
+
+
-# Form Content Placement
+Form Content Placement
-
+
+
+ First Div!
+ ---------
+
+
-
+
+
+ ---------
+ Second Div!
+
-
- Posted Values:
-
- Name: @Model.PersonInput.Name
- Name: @Model.PersonInput.Surname
- City: @Model.PersonInput.City
- Phone.Name: @Model.PersonInput.Phone.Name
- Phone.Number: @Model.PersonInput.Phone.Number
- Day: @Model.PersonInput.Day.ToString("yyyy-MM-dd")
- Country: @Model.PersonInput.Country
- IsActive: @Model.PersonInput.IsActive
-
-
-<abp-dynamic-form abp-model="@Model.PersonInput">
- <abp-form-content />
- <abp-button button-type="Primary" type="submit" text="submit" />
+
+
+
+public class DynamicFormsModel : PageModel
+ {
+ public FormContentExampleModel MyFormContentExampleModel { get; set; }
+
+ public void OnGet()
+ {
+ MyFormContentExampleModel = new FormContentExampleModel();
+ }
+
+ public class FormContentExampleModel
+ {
+ public string SampleInput { get; set; }
+ }
+ }
+
+
+
+
+<abp-dynamic-form abp-model="@@Model.MyFormContentExampleModel">
+ <div>
+ First Div! <br />
+ ---------
+ </div>
+
+ <abp-form-content />
+
+ <div>
+ --------- <br />
+ Second Div!
+ </div>
</abp-dynamic-form>
-
-
-
+
+
+
+
+<form method="post">
+ <div>
+ First Div! <br />
+ ---------
+ </div>
+
+ <div>
+ <div class="form-group">
+ <label for="MyFormContentExampleModel_SampleInput">SampleInput</label>
+ <input type="text" id="MyFormContentExampleModel_SampleInput" name="MyFormContentExampleModel.SampleInput" value="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyFormContentExampleModel.SampleInput" data-valmsg-replace="true"></span>
+ </div>
+ </div>
+ <div>
+ --------- <br />
+ Second Div!
+ </div>
+ <input name="__RequestVerificationToken" type="hidden" value="CfDJ8Kbwu8pRBWJCh6KUtTDoAuS4l6PkkSnj6NFFQcJPBjnUn13wQKxp0lm1Dw84zvR-1QrE4byCemr2_qENxB-Ob_YEc6yw3bvQcqN6VQ0ZPN4Sv6DvX5okAWE52wRXmNcHlTliFOPdjLcKcv3qBFXXlVk">
+</form>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml.cs
index 27075bf09a..7854da4920 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml.cs
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/DynamicForms.cshtml.cs
@@ -12,9 +12,15 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
public class DynamicFormsModel : PageModel
{
[BindProperty]
- public PersonModel PersonInput { get; set; }
+ public DetailedModel MyDetailedModel { get; set; }
- public List
Countries { get; set; } = new List
+ public OrderExampleModel MyOrderExampleModel { get; set; }
+
+ public AttributeExamplesModel MyAttributeExamplesModel { get; set; }
+
+ public FormContentExampleModel MyFormContentExampleModel { get; set; }
+
+ public List CountryList { get; set; } = new List
{
new SelectListItem { Value = "CA", Text = "Canada"},
new SelectListItem { Value = "US", Text = "USA"},
@@ -24,72 +30,127 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
public void OnGet()
{
- if (PersonInput == null)
- {
- PersonInput = new PersonModel
+ MyDetailedModel = new DetailedModel
{
- Name = "John",
+ Name = "",
+ Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
+ IsActive = true,
Age = 65,
- Country = "CA",
Day = DateTime.Now,
- City = Cities.NewJersey,
- Phone = new PhoneModel { Number = "326346231", Name = "MyPhone" }
+ MyCarType = CarType.Coupe,
+ YourCarType = CarType.Sedan,
+ Country = "RU",
+ NeighborCountries = new List() { "UK", "CA" }
};
- }
+
+ MyFormContentExampleModel = new FormContentExampleModel();
+
+ MyOrderExampleModel = new OrderExampleModel();
+
+ MyAttributeExamplesModel = new AttributeExamplesModel
+ {
+ DisabledInput = "Disabled Input",
+ ReadonlyInput = "Readonly Input",
+ ReadonlyPlainTextInput = "Readonly Plain Text Input",
+ LargeInput = "Large Input",
+ SmallInput = "Small Input"
+ };
+
}
- public void OnPost()
+ public class FormContentExampleModel
{
+ public string SampleInput { get; set; }
+ }
+
+ public class AttributeExamplesModel
+ {
+ [HiddenInput]
+ public string HiddenInput { get; set; }
+
+ [DisabledInput]
+ public string DisabledInput{ get; set; }
+
+ [ReadOnlyInput]
+ public string ReadonlyInput { get; set; }
+
+ [ReadOnlyInput(PlainText = true)]
+ public string ReadonlyPlainTextInput { get; set; }
+
+ [FormControlSize(AbpFormControlSize.Large)]
+ public string LargeInput { get; set; }
+
+ [FormControlSize(AbpFormControlSize.Small)]
+ public string SmallInput { get; set; }
+ }
+
+ public class OrderExampleModel
+ {
+ [DisplayOrder(10005)]
+ public string Surname{ get; set; }
+
+ //Default 10000
+ public string EmailAddress { get; set; }
+ [DisplayOrder(10003)]
+ public string Name { get; set; }
+
+ [DisplayOrder(9999)]
+ public string City { get; set; }
}
- public class PersonModel
+ public class DetailedModel
{
[Required]
+ [Placeholder("Enter your name...")]
+ [Display(Name = "Name")]
public string Name { get; set; }
[TextArea(Rows = 4)]
- public string Surname { get; set; }
+ [Display(Name = "Description")]
+ [InputInfoText("Describe Yourself")]
+ public string Description { get; set; }
[Required]
- [Range(1, 100)]
+ [DataType(DataType.Password)]
+ [Display(Name = "Password")]
+ public string Password { get; set; }
+
+ [Display(Name = "Is Active")]
+ public bool IsActive { get; set; }
+
+ [Required]
+ [Display(Name = "Age")]
public int Age { get; set; }
[Required]
- public Cities City { get; set; }
+ [Display(Name = "My Car Type")]
+ public CarType MyCarType { get; set; }
- public PhoneModel Phone { get; set; }
+ [Required]
+ [AbpRadioButton(Inline = true)]
+ [Display(Name = "Your Car Type")]
+ public CarType YourCarType { get; set; }
[DataType(DataType.Date)]
- [DisplayOrder(10003)]
+ [Display(Name = "Day")]
public DateTime Day { get; set; }
- public bool IsActive { get; set; }
-
- [AbpRadioButton(Inline = true)]
- [SelectItems(nameof(Countries))]
+ [SelectItems(nameof(CountryList))]
+ [Display(Name = "Country")]
public string Country { get; set; }
+
+ [SelectItems(nameof(CountryList))]
+ [Display(Name = "Neighbor Countries")]
+ public List NeighborCountries { get; set; }
}
- public class PhoneModel
- {
- [Required]
- [DisplayOrder(10002)]
- public string Number { get; set; }
-
- [Required]
- [DisplayOrder(10001)]
- [DisplayName("PhoneName")]
- public string Name { get; set; }
- }
-
- public enum Cities
+ public enum CarType
{
- NewJersey,
- Moscow,
- Istanbul,
- London,
- Beijing
+ Sedan,
+ Hatchback,
+ StationWagon,
+ Coupe
}
}
}
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml
new file mode 100644
index 0000000000..b62c610fbc
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml
@@ -0,0 +1,465 @@
+@page
+@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
+@model FormElementsModel
+
+@{
+ ViewData["Title"] = "Form Elements";
+}
+
+@section styles {
+
+
+
+}
+
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
+
+Form Elements
+
+Example
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ }
+
+ public class SampleModel
+ {
+ [Required]
+ public string Name { get; set; }
+
+ [Required]
+ [DataType(DataType.Password)]
+ public string Password { get; set; }
+
+ public bool CheckMeOut { get; set; }
+ }
+ }
+
+
+
+
+<abp-input asp-for="@@Model.MyModel.Name" label="Name"/>
+<abp-input asp-for="@@Model.MyModel.Password" label="Password" />
+<abp-input asp-for="@@Model.MyModel.CheckMeOut" label="Check Me Out" />
+
+
+
+
+<div class="form-group">
+<label for="MyModel_Name">Name</label>
+<input type="text" data-val="true" data-val-required="The Name field is required." id="MyModel_Name" name="MyModel.Name" value="" class="form-control ">
+<span class="text-danger field-validation-valid" data-valmsg-for="MyModel.Name" data-valmsg-replace="true"></span>
+</div>
+<div class="form-group">
+<label for="MyModel_Password">Password</label>
+<input type="password" data-val="true" data-val-required="The Password field is required." id="MyModel_Password" name="MyModel.Password" class="form-control ">
+<span class="text-danger field-validation-valid" data-valmsg-for="MyModel.Password" data-valmsg-replace="true"></span>
+</div>
+<div class="form-check">
+<input type="checkbox" data-val="true" data-val-required="The CheckMeOut field is required." id="MyModel_CheckMeOut" name="MyModel.CheckMeOut" value="true" class="form-check-input "><input name="MyModel.CheckMeOut" type="hidden" value="false">
+<label class="form-check-label" for="MyModel_CheckMeOut">Check Me Out</label>
+</div>
+
+
+
+
+
+
+Form controls
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public List<SelectListItem> CityList { get; set; } = new List<SelectListItem>
+ {
+ new SelectListItem { Value = "NY", Text = "New York"},
+ new SelectListItem { Value = "LDN", Text = "London"},
+ new SelectListItem { Value = "IST", Text = "Istanbul"},
+ new SelectListItem { Value = "MOS", Text = "Moscow"}
+ };
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ }
+
+ public class SampleModel
+ {
+ [Required]
+ public string EmailAddress { get; set; }
+
+ public string City { get; set; }
+
+ public List<string> Cities { get; set; }
+
+ [TextArea]
+ public string Description { get; set; }
+ }
+ }
+
+
+
+
+<abp-input asp-for="@@Model.MyModel.EmailAddress" label="Email Address" placeholder="name@example.com" />
+<abp-select asp-for="@@Model.MyModel.City" asp-items="@@Model.CityList" label="City" />
+<abp-select asp-for="@@Model.MyModel.Cities" asp-items="@@Model.CityList" label="Cities" />
+<abp-input asp-for="@@Model.MyModel.Description" label="Description" />
+
+
+
+
+ <div class="form-group">
+ <label for="MyModel_EmailAddress">Email Address</label>
+ <input placeholder="name@example.com" type="text" data-val="true" data-val-required="The EmailAddress field is required." id="MyModel_EmailAddress" name="MyModel.EmailAddress" value="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.EmailAddress" data-valmsg-replace="true"></span>
+ </div>
+ <div class="form-group">
+ <label for="MyModel_City">City</label>
+ <select id="MyModel_City" name="MyModel.City" class="form-control">
+ <option value="NY">New York</option>
+ <option value="LDN">London</option>
+ <option value="IST">Istanbul</option>
+ <option value="MOS">Moscow</option>
+ </select>
+ </div>
+ <div class="form-group">
+ <label for="MyModel_Cities">Cities</label>
+ <select id="MyModel_Cities" multiple="multiple" name="MyModel.Cities" class="form-control">
+ <option value="NY">New York</option>
+ <option value="LDN">London</option>
+ <option value="IST">Istanbul</option>
+ <option value="MOS">Moscow</option>
+ </select>
+ </div>
+ <div class="form-group">
+ <label for="MyModel_Description">Description</label>
+ <textarea id="MyModel_Description" name="MyModel.Description" class="form-control "></textarea>
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.Description" data-valmsg-replace="true"></span>
+ </div>
+
+
+
+
+
+
+Sizing
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ }
+
+ public class SampleModel
+ {
+ public string LargeInput { get; set; }
+
+ public string SmallInput { get; set; }
+ }
+ }
+
+
+
+
+<abp-input asp-for="@@Model.MyModel.LargeInput" size="Large" />
+<abp-input asp-for="@@Model.MyModel.SmallInput" size="Small" />
+
+
+
+
+<div class="form-group">
+ <label for="MyModel_LargeInput">LargeInput</label>
+ <input type="text" id="MyModel_LargeInput" name="MyModel.LargeInput" value="" class="form-control form-control-lg">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.LargeInput" data-valmsg-replace="true"></span>
+</div>
+<div class="form-group">
+ <label for="MyModel_SmallInput">SmallInput</label>
+ <input type="text" id="MyModel_SmallInput" name="MyModel.SmallInput" value="" class="form-control form-control-sm">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.SmallInput" data-valmsg-replace="true"></span>
+</div>
+
+
+
+
+
+
+Disabled And ReadOnly
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ MyModel.SampleInput0 = "This is a disabled input.";
+ MyModel.SampleInput0 = "This is a disabled input.";
+ MyModel.SampleInput1 = "This is a readonly input.";
+ MyModel.SampleInput2 = "This is a readonly plain-text.";
+ }
+
+ public class SampleModel
+ {
+ public string SampleInput0 { get; set; }
+
+ public string SampleInput1 { get; set; }
+
+ public string SampleInput2 { get; set; }
+ }
+ }
+
+
+
+
+<abp-input asp-for="@@Model.MyModel.SampleInput0" disabled="true" />
+<abp-input asp-for="@@Model.MyModel.SampleInput1" readonly="True" />
+<abp-input asp-for="@@Model.MyModel.SampleInput2" readonly="True_PlainText"/>
+
+
+
+
+<div class="form-group">
+ <label for="MyModel_SampleInput0">SampleInput0</label>
+ <input type="text" id="MyModel_SampleInput0" name="MyModel.SampleInput0" value="This is a disabled input." disabled="" class="form-control ">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.SampleInput0" data-valmsg-replace="true"></span>
+</div>
+<div class="form-group">
+ <label for="MyModel_SampleInput1">SampleInput1</label>
+ <input type="text" id="MyModel_SampleInput1" name="MyModel.SampleInput1" value="This is a readonly input." class="form-control " readonly="">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.SampleInput1" data-valmsg-replace="true"></span>
+</div>
+<div class="form-group">
+ <label for="MyModel_SampleInput2">SampleInput2</label>
+ <input type="text" id="MyModel_SampleInput2" name="MyModel.SampleInput2" value="This is a readonly plain-text." class="form-control-plaintext " readonly="">
+ <span class="text-danger field-validation-valid" data-valmsg-for="MyModel.SampleInput2" data-valmsg-replace="true"></span>
+</div>
+
+
+
+
+
+
+Checkboxes and radios
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ }
+
+ public class SampleModel
+ {
+ public bool DefaultCheckbox { get; set; }
+
+ public bool DisabledCheckbox { get; set; }
+ }
+ }
+
+
+
+
+<abp-input asp-for="@@Model.MyModel.DefaultCheckbox"/>
+<abp-input asp-for="@@Model.MyModel.DisabledCheckbox" disabled="true"/>
+
+
+
+
+<div class="form-check">
+ <input type="checkbox" data-val="true" data-val-required="The DefaultCheckbox field is required." id="MyModel_DefaultCheckbox" name="MyModel.DefaultCheckbox" value="true" class="form-check-input "><input name="MyModel.DefaultCheckbox" type="hidden" value="false">
+ <label class="form-check-label" for="MyModel_DefaultCheckbox">DefaultCheckbox</label>
+</div>
+<div class="form-check">
+ <input type="checkbox" data-val="true" data-val-required="The DisabledCheckbox field is required." id="MyModel_DisabledCheckbox" name="MyModel.DisabledCheckbox" value="true" disabled="" class="form-check-input "><input name="MyModel.DisabledCheckbox" type="hidden" value="false">
+ <label class="form-check-label" for="MyModel_DisabledCheckbox">DisabledCheckbox</label>
+</div>
+
+
+
+
+
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ MyModel.CityRadio = "IST";
+ }
+
+ public class SampleModel
+ {
+ [Display(Name="City")]
+ public string CityRadio { get; set; }
+ }
+ }
+
+
+
+
+<abp-radio asp-for="@@Model.MyModel.CityRadio" asp-items="@@Model.CityList" inline="true"/>
+
+
+
+
+<div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyModel.CityRadioRadioNY" name="MyModel.CityRadio" value="NY" class="custom-control-input">
+ <label class="custom-control-label" for="MyModel.CityRadioRadioNY">New York</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyModel.CityRadioRadioLDN" name="MyModel.CityRadio" value="LDN" class="custom-control-input">
+ <label class="custom-control-label" for="MyModel.CityRadioRadioLDN">London</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyModel.CityRadioRadioIST" name="MyModel.CityRadio" value="IST" checked="checked" class="custom-control-input">
+ <label class="custom-control-label" for="MyModel.CityRadioRadioIST">Istanbul</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="MyModel.CityRadioRadioMOS" name="MyModel.CityRadio" value="MOS" class="custom-control-input">
+ <label class="custom-control-label" for="MyModel.CityRadioRadioMOS">Moscow</label>
+ </div>
+</div>
+
+
+
+
+
+
+Enum
+
+
+
+
+
+
+
+ public class FormElementsModel : PageModel
+ {
+ public SampleModel MyModel { get; set; }
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ }
+
+ public class SampleModel
+ {
+ public CarType CarType { get; set; }
+ }
+
+ public enum CarType
+ {
+ Sedan,
+ Hatchback,
+ StationWagon,
+ Coupe
+ }
+ }
+
+
+
+
+<abp-select asp-for="@Model.MyModel.CarType"/>
+
+
+
+
+ <div class="form-group">
+ <label for="MyModel_CarType">CarType</label>
+ <select data-val="true" data-val-required="The CarType field is required." id="MyModel_CarType" name="MyModel.CarType" class="form-control">
+ <option selected="selected" value="0">Sedan</option>
+ <option value="1">Hatchback</option>
+ <option value="2">StationWagon</option>
+ <option value="3">Coupe</option>
+ </select>
+ </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml.cs
new file mode 100644
index 0000000000..6a3f432220
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/FormElements.cshtml.cs
@@ -0,0 +1,81 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Mvc.RazorPages;
+using Microsoft.AspNetCore.Mvc.Rendering;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
+{
+ public class FormElementsModel : PageModel
+ {
+ [BindProperty]
+ public SampleModel MyModel { get; set; }
+
+ public List CityList { get; set; } = new List
+ {
+ new SelectListItem { Value = "NY", Text = "New York"},
+ new SelectListItem { Value = "LDN", Text = "London"},
+ new SelectListItem { Value = "IST", Text = "Istanbul"},
+ new SelectListItem { Value = "MOS", Text = "Moscow"}
+ };
+
+ public void OnGet()
+ {
+ MyModel = new SampleModel();
+ MyModel.SampleInput0 = "This is a disabled input.";
+ MyModel.SampleInput1 = "This is a readonly input.";
+ MyModel.SampleInput2 = "This is a readonly plain-text.";
+ MyModel.CityRadio = "IST";
+ }
+
+ public class SampleModel
+ {
+ public string Name { get; set; }
+
+ public string SampleInput0 { get; set; }
+
+ public string SampleInput1 { get; set; }
+
+ public string SampleInput2 { get; set; }
+
+ public string LargeInput { get; set; }
+
+ public string SmallInput { get; set; }
+
+ [TextArea]
+ public string Description { get; set; }
+
+ public string EmailAddress { get; set; }
+
+ [Required]
+ [DataType(DataType.Password)]
+ public string Password { get; set; }
+
+ public bool CheckMeOut { get; set; }
+
+ public bool DefaultCheckbox { get; set; }
+
+ public bool DisabledCheckbox { get; set; }
+
+ public CarType CarType { get; set; }
+
+ public string City { get; set; }
+
+ [Display(Name="City")]
+ public string CityRadio { get; set; }
+
+ public List Cities { get; set; }
+ }
+
+ public enum CarType
+ {
+ Sedan,
+ Hatchback,
+ StationWagon,
+ Coupe
+ }
+ }
+}
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Grids.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Grids.cshtml
index 4957fd3636..097b670e70 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Grids.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Grids.cshtml
@@ -10,260 +10,838 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
Grids
Based on Bootstrap grid .
-# Example
+Equal-width
-
+
- One of two columns
- One of two columns
+ 1 of 2
+ 2 of 2
+
+
+ 1 of 3
+ 2 of 3
+ 3 of 3
+
+
+
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column>1 of 2</abp-column>
+ <abp-column>2 of 2</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column>1 of 3</abp-column>
+ <abp-column>2 of 3</abp-column>
+ <abp-column>3 of 3</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col">1 of 2</div>
+ <div class="col">2 of 2</div>
+ </div>
+ <div class="row">
+ <div class="col">1 of 3</div>
+ <div class="col">2 of 3</div>
+ <div class="col">3 of 3</div>
+ </div>
+ </div>
+
+
+
+
+
+
+
Column Breaker
+
+
+
+
- One of three columns
- One of three columns
- One of three columns
+ column
+ column
+
+ column
+ column
-
-<abp-container>
- <abp-row>
- <abp-column size-sm="C6">One of two columns</abp-column>
- <abp-column size-sm="C6">One of two columns</abp-column>
- </abp-row>
- <abp-row>
- <abp-column size-sm="C4">One of three columns</abp-column>
- <abp-column size-sm="C4">One of three columns</abp-column>
- <abp-column size-sm="C4">One of three columns</abp-column>
- </abp-row>
-</abp-container>
-
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ <abp-column-breaker/>
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col">column</div>
+ <div class="col">column</div>
+ <div class="w-100"></div>
+ <div class="col">column</div>
+ <div class="col">column</div>
+ </div>
+ </div>
+
+
+
-
# Break Column Example
+
Setting one column width
-
+
- One of three columns
- One of three columns
- @* TODO: abp-column-break *@
- One of three columns
+ 1 of 3
+ 2 of 3 (wider)
+ 3 of 3
+
+
+ 1 of 3
+ 2 of 3 (wider)
+ 3 of 3
-
- <abp-container>
- <abp-row>
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- <abp-col-break /> @* TODO: abp-column-break *@
- <abp-column>One of three columns</abp-column>
- </abp-row>
- </abp-container>
-
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column>1 of 3</abp-column>
+ <abp-column size="_6">2 of 3 (wider)</abp-column>
+ <abp-column>3 of 3</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column>1 of 3</abp-column>
+ <abp-column size="_5">2 of 3 (wider)</abp-column>
+ <abp-column>3 of 3</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col">1 of 3</div>
+ <div class="col col-6">2 of 3 (wider)</div>
+ <div class="col">3 of 3</div>
+ </div>
+ <div class="row">
+ <div class="col">1 of 3</div>
+ <div class="col col-5">2 of 3 (wider)</div>
+ <div class="col">3 of 3</div>
+ </div>
+ </div>
+
+
+
-
# Vertical alignment Example
+
Variable width content
-
+
+
+
+ 1 of 3
+ Variable width content
+ 3 of 3
+
+
+ 1 of 3
+ Variable width content
+ 3 of 3
+
+
+
+
+
+
+
+ <abp-container>
+ <abp-row h-align="Center">
+ <abp-column size-lg="_2">1 of 3</abp-column>
+ <abp-column size-md="Auto">Variable width content</abp-column>
+ <abp-column size-lg="_2">3 of 3</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column>1 of 3</abp-column>
+ <abp-column size-md="Auto">Variable width content</abp-column>
+ <abp-column size-lg="_2">3 of 3</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row justify-content-center">
+ <div class="col col-lg-2">1 of 3</div>
+ <div class="col col-md-auto">Variable width content</div>
+ <div class="col col-lg-2">3 of 3</div>
+ </div>
+ <div class="row">
+ <div class="col">1 of 3</div>
+ <div class="col col-md-auto">Variable width content</div>
+ <div class="col col-lg-2">3 of 3</div>
+ </div>
+ </div>
+
+
+
+
+
+
+
Responsive classes
+
+
All breakpoints
+
+
+
+
+ col
+ col
+ col
+ col
+
+
+ col-8
+ col-4
+
+
+
+
+
+
+ <abp-row>
+ <abp-column>col</abp-column>
+ <abp-column>col</abp-column>
+ <abp-column>col</abp-column>
+ <abp-column>col</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column size="_8">col-8</abp-column>
+ <abp-column size="_4">col-4</abp-column>
+ </abp-row>
+
+
+
+
+ <div class="row">
+ <div class="col">col</div>
+ <div class="col">col</div>
+ <div class="col">col</div>
+ <div class="col">col</div>
+ </div>
+ <div class="row">
+ <div class="col col-8">col-8</div>
+ <div class="col col-4">col-4</div>
+ </div>
+
+
+
+
+
+
+
All breakpoints
+
+
+
+
+ col-sm-8
+ col-sm-4
+
+
+ col-sm
+ col-sm
+ col-sm
+ col-sm
+
+
+
+
+
+
+ <abp-row>
+ <abp-column size-sm="_8">col-sm-8</abp-column>
+ <abp-column size-sm="_4">col-sm-4</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column size-sm="_">col-sm</abp-column>
+ <abp-column size-sm="_">col-sm</abp-column>
+ <abp-column size-sm="_">col-sm</abp-column>
+ <abp-column size-sm="_">col-sm</abp-column>
+ </abp-row>
+
+
+
+
+ <div class="row">
+ <div class="col col-sm-8">col-sm-8</div>
+ <div class="col col-sm-4">col-sm-4</div>
+ </div>
+ <div class="row">
+ <div class="col col-sm">col-sm</div>
+ <div class="col col-sm">col-sm</div>
+ <div class="col col-sm">col-sm</div>
+ <div class="col col-sm">col-sm</div>
+ </div>
+
+
+
+
+
+
+
Mix and match
+
+
+
+
+ .col-12 .col-md-8
+ .col-6 .col-md-4
+
+
+ .col-6 .col-md-4
+ .col-6 .col-md-4
+ .col-6 .col-md-4
+
+
+ .col-6
+ .col-6
+
+
+
+
+
+
+ <!-- Stack the columns on mobile by making one full-width and the other half-width -->
+ <abp-row>
+ <abp-column size="_12" size-md="_8">.col-12 .col-md-8</abp-column>
+ <abp-column size="_6" size-md="_4">.col-6 .col-md-4</abp-column>
+ </abp-row>
+
+ <!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
+ <abp-row>
+ <abp-column size="_6" size-md="_4">.col-6 .col-md-4</abp-column>
+ <abp-column size="_6" size-md="_4">.col-6 .col-md-4</abp-column>
+ <abp-column size="_6" size-md="_4">.col-6 .col-md-4</abp-column>
+ </abp-row>
+
+ <!-- Columns are always 50% wide, on mobile and desktop -->
+ <abp-row>
+ <abp-column size="_6">.col-6</abp-column>
+ <abp-column size="_6">.col-6</abp-column>
+ </abp-row>
+
+
+
+
+ <div class="row">
+ <div class="col col-12 col-md-8">.col-12 .col-md-8</div>
+ <div class="col col-6 col-md-4">.col-6 .col-md-4</div>
+ </div>
+ <div class="row">
+ <div class="col col-6 col-md-4">.col-6 .col-md-4</div>
+ <div class="col col-6 col-md-4">.col-6 .col-md-4</div>
+ <div class="col col-6 col-md-4">.col-6 .col-md-4</div>
+ </div>
+ <div class="row">
+ <div class="col col-6">.col-6</div>
+ <div class="col col-6">.col-6</div>
+ </div>
+
+
+
+
+
+
+
Alignment
+
+
Vertical Alignment
+
+
+
- One of three columns
- One of three columns
- One of three columns
+ column
+ column
+ column
- One of three columns
- One of three columns
- One of three columns
+ column
+ column
+ column
- One of three columns
- One of three columns
- One of three columns
+ column
+ column
+ column
-
-<abp-container>
- <abp-row v-align="Start">
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- </abp-row>
- <abp-row v-align="Center">
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- </abp-row>
- <abp-row v-align="End">
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- <abp-column>One of three columns</abp-column>
- </abp-row>
- </abp-container>
-
+
+
+
+ <abp-container>
+ <abp-row v-align="Start">
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ </abp-row>
+ <abp-row v-align="Center">
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ </abp-row>
+ <abp-row v-align="End">
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ <abp-column>column</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row align-items-start">
+ <div class="col">column</div>
+ <div class="col">column</div>
+ <div class="col">column</div>
+ </div>
+ <div class="row align-items-center">
+ <div class="col">column</div>
+ <div class="col">column</div>
+ <div class="col">column</div>
+ </div>
+ <div class="row align-items-end">
+ <div class="col">column</div>
+ <div class="col">column</div>
+ <div class="col">column</div>
+ </div>
+ </div>
+
+
+
-
# Vertical alignment Example 2
-
-
+
-
- One of three columns
- One of three columns
- One of three columns
+
+ column
+ column
+ column
-
- <abp-container>
- <abp-row>
- <abp-column v-align="Start">One of three columns</abp-column>
- <abp-column v-align="Center">One of three columns</abp-column>
- <abp-column v-align="End">One of three columns</abp-column>
- </abp-row>
- </abp-container>
-
+
+
+
+ <abp-container>
+ <abp-row v-align="Start">
+ <abp-column v-align="Start">column</abp-column>
+ <abp-column v-align="Center">column</abp-column>
+ <abp-column v-align="End">column</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row align-items-start">
+ <div class="col align-self-start">column</div>
+ <div class="col align-self-center">column</div>
+ <div class="col align-self-end">column</div>
+ </div>
+ </div>
+
+
+
-
# Horizontal alignment Example
+
Horizontal alignment
-
+
- One of three columns
- One of three columns
+ One of two columns
+ One of two columns
- One of three columns
- One of three columns
+ One of two columns
+ One of two columns
- One of three columns
- One of three columns
+ One of two columns
+ One of two columns
- One of three columns
- One of three columns
+ One of two columns
+ One of two columns
- One of three columns
- One of three columns
+ One of two columns
+ One of two columns
+
+
+
+
+
+
+
+ <abp-container>
+ <abp-row h-align="Start">
+ <abp-column size="_4">One of two columns</abp-column>
+ <abp-column size="_4">One of two columns</abp-column>
+ </abp-row>
+ <abp-row h-align="Center">
+ <abp-column size="_4">One of two columns</abp-column>
+ <abp-column size="_4">One of two columns</abp-column>
+ </abp-row>
+ <abp-row h-align="End">
+ <abp-column size="_4">One of two columns</abp-column>
+ <abp-column size="_4">One of two columns</abp-column>
+ </abp-row>
+ <abp-row h-align="Around">
+ <abp-column size="_4">One of two columns</abp-column>
+ <abp-column size="_4">One of two columns</abp-column>
+ </abp-row>
+ <abp-row h-align="Between">
+ <abp-column size="_4">One of two columns</abp-column>
+ <abp-column size="_4">One of two columns</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row justify-content-start">
+ <div class="col col-4">One of two columns</div>
+ <div class="col col-4">One of two columns</div>
+ </div>
+ <div class="row justify-content-center">
+ <div class="col col-4">One of two columns</div>
+ <div class="col col-4">One of two columns</div>
+ </div>
+ <div class="row justify-content-end">
+ <div class="col col-4">One of two columns</div>
+ <div class="col col-4">One of two columns</div>
+ </div>
+ <div class="row justify-content-around">
+ <div class="col col-4">One of two columns</div>
+ <div class="col col-4">One of two columns</div>
+ </div>
+ <div class="row justify-content-between">
+ <div class="col col-4">One of two columns</div>
+ <div class="col col-4">One of two columns</div>
+ </div>
+ </div>
+
+
+
+
+
+
+
No gutters
+
+
+
+
+ One of two columns
+ One of two columns
+
+
+
+
+
+
+ <abp-row gutters="false">
+ <abp-column size="_8">One of two columns</abp-column>
+ <abp-column size="_4">One of two columns</abp-column>
+ </abp-row>
+
+
+
+
+ <div class="row no-gutters">
+ <div class="col col-8">One of two columns</div>
+ <div class="col col-4">One of two columns</div>
+ </div>
+
+
+
+
+
+
+
Column wrapping
+
+
+
+
+ .col-9
+ .col-4 Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.
+ .col-6 Subsequent columns continue along the new line.s
+
+
+
+
+
+
+ <abp-row>
+ <abp-column size="_9">.col-9</abp-column>
+ <abp-column size="_4">.col-4<br>Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</abp-column>
+ <abp-column size="_6">.col-6<br>Subsequent columns continue along the new line.s</abp-column>
+ </abp-row>
+
+
+
+
+ <div class="row">
+ <div class="col col-9">.col-9</div>
+ <div class="col col-4">.col-4<br>Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div>
+ <div class="col col-6">.col-6<br>Subsequent columns continue along the new line.s</div>
+ </div>
+
+
+
+
+
+
+
Reordering
+
+
Order classes
+
+
+
+
+
+ First, but Last
+ Second, but unordered
+ Third, but Second
+
+
+
+
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column order="_12">First, but Last</abp-column>
+ <abp-column>Second, but unordered</abp-column>
+ <abp-column order="_6">Third, but Second</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col order-12">First, but Last</div>
+ <div class="col">Second, but unordered</div>
+ <div class="col order-6">Third, but Second</div>
+ </div>
+ </div>
+
+
+
+
+
+
+
+
+
+
+ First, but Last
+ Second, but unordered
+ Third, but First
-
- <abp-container>
- <abp-row h-align="Start">
- <abp-column size="C4">One of three columns</abp-column>
- <abp-column size="C4">One of three columns</abp-column>
- </abp-row>
- <abp-row h-align="Center">
- <abp-column size="C4">One of three columns</abp-column>
- <abp-column size="C4">One of three columns</abp-column>
- </abp-row>
- <abp-row h-align="End">
- <abp-column size="C4">One of three columns</abp-column>
- <abp-column size="C4">One of three columns</abp-column>
- </abp-row>
- <abp-row h-align="Around">
- <abp-column size="C4">One of three columns</abp-column>
- <abp-column size="C4">One of three columns</abp-column>
- </abp-row>
- <abp-row h-align="Between">
- <abp-column size="C4">One of three columns</abp-column>
- <abp-column size="C4">One of three columns</abp-column>
- </abp-row>
- </abp-container>
-
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column order="Last">First, but Last</abp-column>
+ <abp-column>Second, but unordered</abp-column>
+ <abp-column order="First">Third, but First</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col order-last">First, but Last</div>
+ <div class="col">Second, but unordered</div>
+ <div class="col order-first">Third, but First</div>
+ </div>
+ </div>
+
+
+
-
# Order Example
+
Offsetting columns
+
+
Offset classes
-
+
- First, but unordered
- Second, but last
- Third, but first
+ .col-md-4
+ .col-md-4 .offset-md-4
+
+
+ .col-md-3 .offset-md-3
+ .col-md-3 .offset-md-3
- First, but unordered
- Second, but last
- Third, but first
+ .col-md-6 .offset-md-3
-
- <abp-container>
- <abp-row>
- <abp-column> First, but unordered</abp-column>
- <abp-column order="C12">Second, but last</abp-column>
- <abp-column order="C1">Third, but first</abp-column>
- </abp-row>
- <abp-row>
- <abp-column> First, but unordered</abp-column>
- <abp-column order="Last">Second, but last</abp-column>
- <abp-column order="First">Third, but first</abp-column>
- </abp-row>
- </abp-container>
-
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column size-md="_4">.col-md-4</abp-column>
+ <abp-column size-md="_4" offset-md="_4">.col-md-4 .offset-md-4</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column size-md="_3" offset-md="_3">.col-md-3 .offset-md-3</abp-column>
+ <abp-column size-md="_3" offset-md="_3">.col-md-3 .offset-md-3</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column size-md="_6" offset-md="_3">.col-md-6 .offset-md-3</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col col-md-4">.col-md-4</div>
+ <div class="col col-md-4 offset-md-4">.col-md-4 .offset-md-4</div>
+ </div>
+ <div class="row">
+ <div class="col col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
+ <div class="col col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
+ </div>
+ <div class="row">
+ <div class="col col-md-6 offset-md-3">.col-md-6 .offset-md-3</div>
+ </div>
+ </div>
+
+
+
-
# Offset Example
-
-
- .col-md-4
- .col-md-4 .offset-md-4
-
-
- .col-md-3 .offset-md-3
- .col-md-3 .offset-md-3
-
-
- .col-md-6 .offset-md-3
-
+
+
+
+ .col-sm-5 .col-md-6
+ .col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0
+
+
+ col-sm-6 .col-md-5 .col-lg-6
+ .col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0
+
+
-
- <abp-row>
- <abp-column> .col-md-4</abp-column>
- <abp-column size-md="C4" offset-md="C4">.col-md-4 .offset-md-4</abp-column>
- </abp-row>
- <abp-row>
- <abp-column size-md="C3" offset-md="C3">.col-md-3 .offset-md-3</abp-column>
- <abp-column size-md="C3" offset-md="C3">.col-md-3 .offset-md-3</abp-column>
- </abp-row>
- <abp-row>
- <abp-column size-md="C6" offset-md="C3">.col-md-6 .offset-md-3</abp-column>
- </abp-row>
-
+
+
+
+ <abp-container>
+ <abp-row>
+ <abp-column size-sm="_5" size-md="_6">.col-sm-5 .col-md-6</abp-column>
+ <abp-column size-sm="_5" offset-sm="_2" size-md="_6" offset-md="_">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</abp-column>
+ </abp-row>
+ <abp-row>
+ <abp-column size-sm="_6" size-md="_5" size-lg="_6">col-sm-6 .col-md-5 .col-lg-6</abp-column>
+ <abp-column size-sm="_6" size-md="_5" offset-md="_2" size-lg="_6" offset-lg="_">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</abp-column>
+ </abp-row>
+ </abp-container>
+
+
+
+
+ <div class="container">
+ <div class="row">
+ <div class="col col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
+ <div class="col col-sm-5 col-md-6 offset-sm-2 offset-md-0">col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</div>
+ </div>
+ <div class="row">
+ <div class="col col-sm-6 col-md-5 col-lg-6">col-sm-6 .col-md-5 .col-lg-6</div>
+ <div class="col col-sm-6 col-md-5 col-lg-6 offset-md-2 offset-lg-0">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</div>
+ </div>
+ </div>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Images.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Images.cshtml
deleted file mode 100644
index 9ec4f0106e..0000000000
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Images.cshtml
+++ /dev/null
@@ -1,54 +0,0 @@
-@page
-@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.ImagesModel
-@{
- ViewData["Title"] = "Images";
-}
-
-@section styles {
-
-
-
-}
-
-
Images
-
-
Based on Bootstrap Images .
-
-
# Image Examples
-
-
-
-
-
-<abp-image src="..." responsive="true"></abp-image>
-
-
-
-
-
-
-
-
-<abp-image src="..." thumbnail="true" rounded="true"></abp-image>
-
-
-
-
-
-
-
-
-<abp-image src="..." rounded="true" position="Left"></abp-image>
-<abp-image src="..." rounded="true" position="Center"></abp-image>
-<abp-image src="..." rounded="true" position="Right"></abp-image>
-
-
-
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ListGroup.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ListGroup.cshtml
index 90097a3c4d..40a5cb5c65 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ListGroup.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ListGroup.cshtml
@@ -10,11 +10,23 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
List Groups
Based on Bootstrap List Group .
-
# List Group Example
+
Basic example
@@ -25,116 +37,329 @@
Morbi leo risus
Vestibulum at eros
-
-
+
+
+
<abp-list-group>
- <abp-list-group-item active="true">Cras justo odio</abp-list-group-item>
+ <abp-list-group-item>Cras justo odio</abp-list-group-item>
<abp-list-group-item>Dapibus ac facilisis in</abp-list-group-item>
<abp-list-group-item>Morbi leo risus</abp-list-group-item>
- <abp-list-group-item disabled="true">Vestibulum at eros</abp-list-group-item>
+ <abp-list-group-item>Vestibulum at eros</abp-list-group-item>
</abp-list-group>
-
+
+
+
+
+<ul class="list-group">
+ <li class="list-group-item">Cras justo odio</li>
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item">Morbi leo risus</li>
+ <li class="list-group-item">Porta ac consectetur ac</li>
+</ul>
+
+
+
-
# List Group Flush Example
+
Active & disabled items
-
+
Cras justo odio
- Dapibus ac facilisis in
+ Dapibus ac facilisis in
Morbi leo risus
- Vestibulum at eros
+ Vestibulum at eros
-
-
-<abp-list-group flush="true">
+
+
+
+<abp-list-group>
<abp-list-group-item>Cras justo odio</abp-list-group-item>
- <abp-list-group-item>Dapibus ac facilisis in</abp-list-group-item>
+ <abp-list-group-item active="true">Dapibus ac facilisis in</abp-list-group-item>
<abp-list-group-item>Morbi leo risus</abp-list-group-item>
- <abp-list-group-item>Vestibulum at eros</abp-list-group-item>
+ <abp-list-group-item disabled="true">Vestibulum at eros</abp-list-group-item>
</abp-list-group>
-
+
+
+
+
+<ul class="list-group">
+ <li class="list-group-item active">Cras justo odio</li>
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item">Morbi leo risus</li>
+ <li class="list-group-item disabled">Porta ac consectetur ac</li>
+</ul>
+
+
+
-
# List Group Link Example
+
Links and buttons
- Cras justo odio
+ Cras justo odio
Dapibus ac facilisis in
Morbi leo risus
- Vestibulum at eros
+ Vestibulum at eros
-
-
+
+
+
<abp-list-group>
- <abp-list-group-item href="#">Cras justo odio</abp-list-group-item>
+ <abp-list-group-item href="#" active="true">Cras justo odio</abp-list-group-item>
<abp-list-group-item href="#">Dapibus ac facilisis in</abp-list-group-item>
<abp-list-group-item href="#">Morbi leo risus</abp-list-group-item>
- <abp-list-group-item href="#">Vestibulum at eros</abp-list-group-item>
+ <abp-list-group-item href="#" disabled="true">Vestibulum at eros</abp-list-group-item>
</abp-list-group>
-
+
+
+
+
+<div class="list-group">
+ <a href="#" class="list-group-item list-group-item-action active">Cras justo odio</a>
+ <a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
+ <a href="#" class="list-group-item list-group-item-action">Morbi leo risus</a>
+ <a href="#" class="list-group-item list-group-item-action disabled">Vestibulum at eros</a>
+</div>
+
+
+
-
# List Group Button Example
-
- Cras justo odio
+ Cras justo odio
Dapibus ac facilisis in
Morbi leo risus
Vestibulum at eros
-
-
-<abp-list-group flush="true">
- <abp-list-group-item tag-type="Button">Cras justo odio</abp-list-group-item>
+
+
+
+<abp-list-group>
+ <abp-list-group-item tag-type="Button" active="true">Cras justo odio</abp-list-group-item>
<abp-list-group-item tag-type="Button">Dapibus ac facilisis in</abp-list-group-item>
<abp-list-group-item tag-type="Button">Morbi leo risus</abp-list-group-item>
<abp-list-group-item tag-type="Button">Vestibulum at eros</abp-list-group-item>
</abp-list-group>
-
+
+
+
+
+<div class="list-group">
+ <button type="button" class="list-group-item list-group-item-action active">
+ Cras justo odio
+ </button>
+ <button type="button" class="list-group-item list-group-item-action">Morbi leo risus</button>
+ <button type="button" class="list-group-item list-group-item-action">Porta ac consectetur ac</button>
+ <button type="button" class="list-group-item list-group-item-action" disabled>Vestibulum at eros</button>
+</div>
+
+
+
-
# List Group style Contextual classes Example
+
Flush
+
+
+
+
+
+ Cras justo odio
+ Dapibus ac facilisis in
+ Morbi leo risus
+ Vestibulum at eros
+
+
+
+
+
+
+<abp-list-group flush="true">
+ <abp-list-group-item>Cras justo odio</abp-list-group-item>
+ <abp-list-group-item>Dapibus ac facilisis in</abp-list-group-item>
+ <abp-list-group-item>Morbi leo risus</abp-list-group-item>
+ <abp-list-group-item>Vestibulum at eros</abp-list-group-item>
+</abp-list-group>
+
+
+
+
+<ul class="list-group list-group-flush">
+ <li class="list-group-item">Cras justo odio</li>
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item">Morbi leo risus</li>
+ <li class="list-group-item">Vestibulum at eros</li>
+</ul>
+
+
+
+
+
+
+
Contextual classes
- Cras justo odio
- Dapibus ac facilisis in
- Morbi leo risus 42
- Vestibulum at eros 5
+ Cras justo odio
+ A simple Primary list group item
+ A simple Secondary list group item
+ A simple Success list group item
+ A simple Danger list group item
+ A simple Warning list group item
+ A simple Info list group item
+ A simple Light list group item
+ A simple Dark list group item
+
+
+
+
+
+<abp-list-group>
+ <abp-list-group-item>Cras justo odio</abp-list-group-item>
+ <abp-list-group-item type="Primary">A simple Primary list group item</abp-list-group-item>
+ <abp-list-group-item type="Secondary">A simple Secondary list group item</abp-list-group-item>
+ <abp-list-group-item type="Success">A simple Success list group item</abp-list-group-item>
+ <abp-list-group-item type="Danger">A simple Danger list group item</abp-list-group-item>
+ <abp-list-group-item type="Warning">A simple Warning list group item</abp-list-group-item>
+ <abp-list-group-item type="Info">A simple Info list group item</abp-list-group-item>
+ <abp-list-group-item type="Light">A simple Light list group item</abp-list-group-item>
+ <abp-list-group-item type="Dark">A simple Dark list group item</abp-list-group-item>
+</abp-list-group>
+
+
+
+
+<ul class="list-group">
+ <li class="list-group-item">Dapibus ac facilisis in</li>
+ <li class="list-group-item list-group-item-primary">A simple primary list group item</li>
+ <li class="list-group-item list-group-item-secondary">A simple secondary list group item</li>
+ <li class="list-group-item list-group-item-success">A simple success list group item</li>
+ <li class="list-group-item list-group-item-danger">A simple danger list group item</li>
+ <li class="list-group-item list-group-item-warning">A simple warning list group item</li>
+ <li class="list-group-item list-group-item-info">A simple info list group item</li>
+ <li class="list-group-item list-group-item-light">A simple light list group item</li>
+ <li class="list-group-item list-group-item-dark">A simple dark list group item</li>
+</ul>
+
+
+
+
+
+
+
+
+
+ Cras justo odio
+ A simple Primary list group item
+ A simple Secondary list group item
+ A simple Success list group item
+ A simple Danger list group item
+ A simple Warning list group item
+ A simple Info list group item
+ A simple Light list group item
+ A simple Dark list group item
+
-
-<abp-list-group flush="true">
- <abp-list-group-item type="Warning">Cras justo odio</abp-list-group-item>
- <abp-list-group-item type="Danger">Dapibus ac facilisis in</abp-list-group-item>
- <abp-list-group-item type="Success">Morbi leo risus <span abp-badge-pill="Success">42</span></abp-list-group-item>
- <abp-list-group-item type="Secondary">Vestibulum at eros <span abp-badge-pill="Warning">5</span></abp-list-group-item>
+
+
+
+<abp-list-group>
+ <abp-list-group-item href="#">Cras justo odio</abp-list-group-item>
+ <abp-list-group-item href="#" type="Primary">A simple Primary list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Secondary">A simple Secondary list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Success">A simple Success list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Danger">A simple Danger list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Warning">A simple Warning list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Info">A simple Info list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Light">A simple Light list group item</abp-list-group-item>
+ <abp-list-group-item href="#" type="Dark">A simple Dark list group item</abp-list-group-item>
+</abp-list-group>
+
+
+
+
+<div class="list-group">
+ <a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-primary">A simple primary list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-secondary">A simple secondary list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-success">A simple success list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-danger">A simple danger list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-warning">A simple warning list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-info">A simple info list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-light">A simple light list group item</a>
+ <a href="#" class="list-group-item list-group-item-action list-group-item-dark">A simple dark list group item</a>
+</div>
+
+
+
+
+
+
+
With badges
+
+
+
+
+
+ Cras justo odio 14
+ Dapibus ac facilisis in 2
+ Morbi leo risus 1
+
+
+
+
+
+
+<abp-list-group>
+ <abp-list-group-item>Cras justo odio <span abp-badge-pill="Primary">14</span></abp-list-group-item>
+ <abp-list-group-item>Dapibus ac facilisis in <span abp-badge-pill="Primary">2</span></abp-list-group-item>
+ <abp-list-group-item>Morbi leo risus <span abp-badge-pill="Primary">1</span></abp-list-group-item>
</abp-list-group>
-
+
+
+
+
+<ul class="list-group">
+ <li class="list-group-item">
+ Cras justo odio
+ <span class="badge badge-primary badge-pill">14</span>
+ </li>
+ <li class="list-group-item">
+ Dapibus ac facilisis in
+ <span class="badge badge-primary badge-pill">2</span>
+ </li>
+ <li class="list-group-item">
+ Morbi leo risus
+ <span class="badge badge-primary badge-pill">1</span>
+ </li>
+</ul>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Modals.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Modals.cshtml
index 0a3aa3d8b9..74116488ad 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Modals.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Modals.cshtml
@@ -11,38 +11,81 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
Modals
Based on Bootstrap Modal .
-
# Modal Example
+
Example
-
Launch modal
-
-
-
-
+ Launch modal
+
+
- Body
+ Woohoo, you're reading this text in a modal!
-
-
-
-
-<abp-modal id="myModal">
- <abp-modal-header title="Header"></abp-modal-header>
+
+
+
+<abp-button button-type="Primary" data-toggle="modal" data-target="#myModal">Launch modal</abp-button>
+
+<abp-modal centered="true" size="Large" id="myModal">
+ <abp-modal-header title="Modal title"></abp-modal-header>
<abp-modal-body>
- Body
+ Woohoo, you're reading this text in a modal!
</abp-modal-body>
<abp-modal-footer buttons="(AbpModalButtons.Save|AbpModalButtons.Close)"></abp-modal-footer>
</abp-modal>
-
+
+
+
+
+<!-- Button trigger modal -->
+<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">
+ Launch demo modal
+</button>
+
+<!-- Modal -->
+<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
+ <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+ <h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
+ <span aria-hidden="true">×</span>
+ </button>
+ </div>
+ <div class="modal-body">
+ ...
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
+ <button type="button" class="btn btn-primary">Save</button>
+ </div>
+ </div>
+ </div>
+</div>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Navs.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Navs.cshtml
index d351878652..8adeabf964 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Navs.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Navs.cshtml
@@ -10,18 +10,31 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
Navs
Based on Bootstrap Navs .
-
# Navs Examples
+
Base nav
-
- <abp-nav nav-style="Pill" align="Center">
- <abp-nav-item>
- <a abp-nav-link Active="true" href="#">Active</a>
- </abp-nav-item>
- <abp-nav-item >
- <a abp-nav-link href="#">Longer nav link</a>
- </abp-nav-item>
- <abp-nav-item >
- <a abp-nav-link href="#">link</a>
- </abp-nav-item>
- <abp-nav-item >
- <a abp-nav-link disabled="true" href="#">disabled</a>
- </abp-nav-item>
- </abp-nav>
-
+
+
+
+
+<abp-nav nav-style="Pill" align="Center">
+ <abp-nav-item>
+<a abp-nav-link active="true" href="#">Active</a>
+ </abp-nav-item>
+ <abp-nav-item>
+<a abp-nav-link href="#">Longer nav link</a>
+ </abp-nav-item>
+ <abp-nav-item>
+<a abp-nav-link href="#">link</a>
+ </abp-nav-item>
+ <abp-nav-item>
+<a abp-nav-link disabled="true" href="#">disabled</a>
+ </abp-nav-item>
+</abp-nav>
+
+
+
+
+<ul class="nav justify-content-center nav-pills">
+ <li class="nav-item">
+ <a href="#" class="nav-link active">Active</a>
+ </li>
+ <li class="nav-item">
+ <a href="#" class="nav-link">Longer nav link</a>
+ </li>
+ <li class="nav-item">
+ <a href="#" class="nav-link">link</a>
+ </li>
+ <li class="nav-item">
+ <a href="#" class="nav-link disabled">disabled</a>
+ </li>
+</ul>
+
+
+
+
+
+
+
+
+ For vertical nav , set nav-style "PillVertical".
+
+
-
# Navs Examples
+
Base nav
@@ -92,42 +135,85 @@
-
-
- <abp-nav-bar size="Lg" navbar-style="Dark_Warning">
- <a abp-navbar-brand href="#">Navbar</a>
- <abp-navbar-toggle>
- <abp-navbar-nav>
- <abp-nav-item active="true">
- <a abp-nav-link href="#">Home <span class="sr-only">(current)</span></a>
- </abp-nav-item>
- <abp-nav-item>
- <a abp-nav-link href="#">Link</a>
- </abp-nav-item>
- <abp-nav-item dropdown="true">
- <abp-dropdown>
- <abp-dropdown-button nav-link="true" text="Dropdown" />
- <abp-dropdown-menu>
- <abp-dropdown-header>Dropdown header</abp-dropdown-header>
- <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
- <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
- <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
- <abp-dropdown-divider />
- <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
- </abp-dropdown-menu>
- </abp-dropdown>
- </abp-nav-item>
- <abp-nav-item>
- <a abp-nav-link disabled="true" href="#">Disabled</a>
- </abp-nav-item>
- </abp-navbar-nav>
- <span abp-navbar-text>
+
+
+
+
+<abp-nav-bar size="Lg" navbar-style="Dark_Warning">
+ <a abp-navbar-brand href="#">Navbar</a>
+ <abp-navbar-toggle>
+ <abp-navbar-nav>
+ <abp-nav-item active="true">
+ <a abp-nav-link href="#">Home <span class="sr-only">(current)</span></a>
+ </abp-nav-item>
+ <abp-nav-item>
+ <a abp-nav-link href="#">Link</a>
+ </abp-nav-item>
+ <abp-nav-item dropdown="true">
+ <abp-dropdown>
+ <abp-dropdown-button nav-link="true" text="Dropdown" />
+ <abp-dropdown-menu>
+ <abp-dropdown-header>Dropdown header</abp-dropdown-header>
+ <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
+ <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
+ <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
+ <abp-dropdown-divider />
+ <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
+ </abp-dropdown-menu>
+ </abp-dropdown>
+ </abp-nav-item>
+ <abp-nav-item>
+ <a abp-nav-link disabled="true" href="#">Disabled</a>
+ </abp-nav-item>
+ </abp-navbar-nav>
+ <span abp-navbar-text>
+ Sample Text
+ </span>
+ </abp-navbar-toggle>
+</abp-nav-bar>
+
+
+
+
+<nav class="navbar navbar-expand-lg navbar-dark bg-warning">
+ <a href="#" class="navbar-brand">Navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#13da550319ec478099dd4c9c3efb3d09" aria-controls="13da550319ec478099dd4c9c3efb3d09" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button><div class="collapse navbar-collapse" id="13da550319ec478099dd4c9c3efb3d09">
+ <ul class="navbar-nav">
+ <li active="true" class="nav-item">
+ <a href="#" class="nav-link">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a href="#" class="nav-link">Link</a>
+ </li>
+ <li class="nav-item dropdown">
+ <div class="btn-group">
+ <a class="dropdown-toggle btn nav-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-busy-text="Processing..." roles="button" href="#"><span>Dropdown</span></a>
+ <div></div>
+ <div class="dropdown-menu">
+ <h6 class="dropdown-header">Dropdown header</h6>
+ <a href="#" class="dropdown-item active">Action</a>
+ <a href="#" class="dropdown-item disabled">Another disabled action</a>
+ <a href="#" class="dropdown-item">Something else here</a>
+ <div class="dropdown-divider"></div>
+ <a href="#" class="dropdown-item">Separated link</a>
+ </div>
+ </div>
+ </li>
+ <li class="nav-item">
+ <a href="#" class="nav-link disabled">Disabled</a>
+ </li>
+ <span class="navbar-text">
Sample Text
</span>
- </abp-navbar-toggle>
- </abp-nav-bar>
-
+ </ul>
+ </div>
+</nav>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml
index bcf117945c..b7a567beae 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml
@@ -10,34 +10,99 @@
}
-
Paginator
+@section scripts {
+
+ @*
+ *@
+
+}
-
# Paginator Examples
+
+
+
-
-
-
+
Paginator
+
+
+
Example
-
-
-
-<abp-paginator model="Model.PagerModel"/>
-
-
-
-
-
-
-
-<abp-paginator model="Model.PagerModel" show-info="true"/>
-
+
+
+
+using Microsoft.AspNetCore.Mvc.RazorPages;
+using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Pagination;
+
+namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
+{
+ public class PaginatorModel : PageModel
+ {
+ public PagerModel PagerModel { get; set; }
+
+ public void OnGet(int currentPage, string sort)
+ {
+ PagerModel = new PagerModel(100, 10, currentPage, 10, "Paginator", sort);
+ }
+ }
+}
+
+
+
+
+<abp-paginator model="Model.PagerModel" show-info="true" />
+
+
+
+
+<div class="row mt-3">
+ <div class="col-sm-12 col-md-5">
+ Showing 80 to 90 of 100 entries.
+ </div>
+ <div class="col-sm-12 col-md-7">
+ <nav aria-label="Page navigation">
+ <ul class="pagination justify-localizationKey-end">
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=7">Previous</a>
+ </li>
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=1">1</a>
+ </li>
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=2">2</a>
+ </li>
+ <li class="page-item ">
+ <span class="page-link gap">…</span>
+ </li>
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=7">7</a>
+ </li>
+ <li class="page-item active">
+ <span class="page-link">
+ 8
+ <span class="sr-only">(current)</span>
+ </span>
+ </li>
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=9">9</a>
+ </li>
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=10">10</a>
+ </li>
+ <li class="page-item ">
+ <a tabindex="-1" class="page-link" href="/Components/Paginator?currentPage=9">Next</a>
+ </li>
+ </ul>
+ <!-- nav-->
+ </nav></div>
+</div>
+
+
+
-
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml.cs
index 40afff2016..15b31db6da 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml.cs
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Paginator.cshtml.cs
@@ -1,9 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.RazorPages;
+using Microsoft.AspNetCore.Mvc.RazorPages;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Pagination;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Popovers.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Popovers.cshtml
index f9563a5c8b..7f43407831 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Popovers.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Popovers.cshtml
@@ -1,7 +1,7 @@
@page
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.PopoversModel
@{
- ViewData["Title"] = "Badges";
+ ViewData["Title"] = "Popovers";
}
@section styles {
@@ -10,11 +10,25 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
Popovers
Based on Bootstrap Popovers .
-
# Popovers Examples
+
+
Example
@@ -31,23 +45,41 @@
Disabled Popover
-
-
-<abp-button abp-popover="Hi, i'm popover content!">
- Popover Default
+
+
+
+<abp-button abp-popover="Hi, i'm popover content!">
+ Popover Default
</abp-button>
-<abp-button abp-popover-top="Hi, i'm popover content!" title="Popover Title">
- Popover With Title
+<abp-button abp-popover-top="Hi, i'm popover content!" title="Popover Title">
+ Popover With Title
</abp-button>
-<abp-button abp-popover-right="Hi, i'm popover content!" title="Popover Title" dismissible="true">
- Dismissible Popover
+<abp-button abp-popover-right="Hi, i'm popover content!" title="Popover Title" dismissible="true">
+ Dismissible Popover
</abp-button>
-<abp-button abp-popover-left="Hi, i'm popover content!" title="Popover Title" disabled="true">
- Disabled Popover
+<abp-button abp-popover-left="Hi, i'm popover content!" title="Popover Title" disabled="true">
+ Disabled Popover
</abp-button>
-
+
+
+
+
+<button class="btn" type="button" data-busy-text="Processing..." data-toggle="popover" data-placement="bottom" data-content="Hi, i'm popover content!" data-original-title="" title="">
+ Popover Default
+</button>
+<button title="" class="btn" type="button" data-busy-text="Processing..." data-toggle="popover" data-placement="top" data-content="Hi, i'm popover content!" data-original-title="Popover Title">
+ Popover With Title
+</button>
+<button title="" class="btn" type="button" data-busy-text="Processing..." data-toggle="popover" data-placement="right" data-content="Hi, i'm popover content!" data-trigger="focus" data-original-title="Popover Title">
+ Dismissible Popover
+</button>
+<span class="d-inline-block" title="" data-placement="left" data-toggle="popover" data-content="Hi, i'm popover content!" data-original-title="Popover Title"><button title="Popover Title" class="btn" type="button" data-busy-text="Processing..." style="pointer-events: none;">
+ Disabled Popover
+</button></span>
+
+
+
-
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ProgressBars.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ProgressBars.cshtml
index 3e3e1e28e7..25f7f5b96e 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ProgressBars.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ProgressBars.cshtml
@@ -14,65 +14,70 @@
Based on Bootstrap Progress Bars .
-
# Progress Bar Examples
+
+
Example
-
-
-
+
-
-
- %25
-
-
+
%25
-
-
-
-
+
-
-
- %50
-
-
+
%50
-
-
-
-
- %10
-
-
-
-
+
+
+ %10
+
+
-
-<abp-progress>
- <abp-progress-bar value="70"/>
-</abp-progress>
+
+
+
+<abp-progress-bar value="70" />
+
+<abp-progress-bar type="Warning" value="25"> %25 </abp-progress-bar>
+
+<abp-progress-bar type="Success" value="40" strip="true"/>
+
+<abp-progress-bar type="Dark" value="10" min-value="5" max-value="15" strip="true"> %50 </abp-progress-bar>
+
+<abp-progress-group>
+ <abp-progress-part type="Success" value="25"/>
+ <abp-progress-part type="Danger" value="10" strip="true"> %10 </abp-progress-part>
+ <abp-progress-part type="Primary" value="50" animation="true" strip="true" />
+</abp-progress-group>
+
+
+
+
+<div class="progress">
+ <div class="progress-bar" role="progressbar" style="width: 70%" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100"></div>
+</div>
-<abp-progress>
- <abp-progress-bar type="Warning" value="25">%25</abp-progress-bar>
-</abp-progress>
+<div class="progress">
+ <div class="progress-bar bg-warning" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"> %25 </div>
+</div>
-<abp-progress>
- <abp-progress-bar type="Success" value="40" strip="true"/>
-</abp-progress>
+<div class="progress">
+ <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 40%" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"></div>
+</div>
-<abp-progress>
- <abp-progress-bar type="Dark" value="10" min-value="5" max-value="15" strip="true">%50</abp-progress-bar>
-</abp-progress>
+<div class="progress">
+ <div class="progress-bar progress-bar-striped bg-dark" role="progressbar" style="width: 50%" aria-valuenow="10" aria-valuemin="5" aria-valuemax="15"> %50 </div>
+</div>
-<abp-progress>
- <abp-progress-bar type="Success" value="25"/>
- <abp-progress-bar type="Danger" value="10" strip="true">%10</abp-progress-bar>
- <abp-progress-bar type="Primary" value="50" animation="true" strip="true"/>
-</abp-progress>
-
+<div class="progress">
+ <div class="progress-bar bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
+ <div class="progress-bar progress-bar-striped bg-danger" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"> %10 </div>
+ <div class="progress-bar progress-bar-animated progress-bar-striped bg-primary" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
+</div>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tables.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tables.cshtml
index 127cd61715..b77606f148 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tables.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tables.cshtml
@@ -10,17 +10,30 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
Tables
Based on Bootstrap Tables .
-
# Tables Examples
+
Examples
-
-
+
+
#
First
@@ -33,9 +46,9 @@
1
Mark
Otto
- mdo
+ mdo
-
+
2
Jacob
Thornton
@@ -43,46 +56,413 @@
3
- Larry
+ Larry
the Bird
twitter
-
-
- <abp-table striped-rows="true" small="true" hoverable-rows="true" responsive-sm="true">
- <thead theme="Dark">
+
+
+
+<abp-table hoverable-rows="true" responsive-sm="true">
+ <thead>
+ <tr>
+ <th scope="Column">#</th>
+ <th scope="Column">First</th>
+ <th scope="Column">Last</th>
+ <th scope="Column">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="Row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td table-style="Danger">mdo</td>
+ </tr>
+ <tr table-style="Warning">
+ <th scope="Row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="Row">3</th>
+ <td table-style="Success">Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</abp-table>
+
+
+
+
+<div class="table-responsive-sm">
+ <table class="table table-hover">
+ <thead>
<tr>
- <th scope="Column">#</th>
- <th scope="Column">First</th>
- <th scope="Column">Last</th>
- <th scope="Column">Handle</th>
+ <th scope="col">#</th>
+ <th scope="col">First</th>
+ <th scope="col">Last</th>
+ <th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
- <th scope="Row">1</th>
+ <th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
- <td abp-table-style="Danger">mdo</td>
+ <td class="table-danger">mdo</td>
</tr>
- <tr abp-table-style="Warning">
- <th scope="Row">2</th>
+ <tr class="table-warning">
+ <th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>fat</td>
</tr>
<tr>
- <th scope="Row">3</th>
- <td abp-table-style="Success">Larry</td>
+ <th scope="row">3</th>
+ <td class="table-success">Larry</td>
<td>the Bird</td>
<td>twitter</td>
</tr>
</tbody>
- </abp-table>
-
+ </table>
+</div>
+
+
+
+
+
+
+
+
+
+
+
+
+ #
+ First
+ Last
+ Handle
+
+
+
+
+ 1
+ Mark
+ Otto
+ mdo
+
+
+ 2
+ Jacob
+ Thornton
+ fat
+
+
+ 3
+ Larry
+ the Bird
+ twitter
+
+
+
+
+
+
+
+
+<abp-table small="true" striped-rows="true" border-style="Bordered">
+ <thead Theme="Dark">
+ <tr>
+ <th scope="Column">#</th>
+ <th scope="Column">First</th>
+ <th scope="Column">Last</th>
+ <th scope="Column">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="Row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>mdo</td>
+ </tr>
+ <tr>
+ <th scope="Row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="Row">3</th>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</abp-table>
+
+
+
+
+<table class="table table-sm table-striped table-bordered">
+ <thead class="thead-dark">
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">First</th>
+ <th scope="col">Last</th>
+ <th scope="col">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>mdo</td>
+ </tr>
+ <tr>
+ <th scope="row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="row">3</th>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</table>
+
+
+
+
+
+
+
+
+
+
+ List of users
+
+
+ #
+ First
+ Last
+ Handle
+
+
+
+
+ 1
+ Mark
+ Otto
+ mdo
+
+
+ 2
+ Jacob
+ Thornton
+ fat
+
+
+ 3
+ Larry
+ the Bird
+ twitter
+
+
+
+
+
+
+
+
+<abp-table striped-rows="true" dark-theme="true">
+ <caption>List of users</caption>
+ <thead>
+ <tr>
+ <th scope="Column">#</th>
+ <th scope="Column">First</th>
+ <th scope="Column">Last</th>
+ <th scope="Column">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="Row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>mdo</td>
+ </tr>
+ <tr>
+ <th scope="Row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="Row">3</th>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</abp-table>
+
+
+
+
+<table class="table table-dark table-striped">
+ <caption>List of users</caption>
+ <thead>
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">First</th>
+ <th scope="col">Last</th>
+ <th scope="col">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>mdo</td>
+ </tr>
+ <tr>
+ <th scope="row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="row">3</th>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</table>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #
+ First
+ Last
+ Handle
+
+
+
+
+ 1
+ Mark
+ Otto
+ mdo
+
+
+ 2
+ Jacob
+ Thornton
+ fat
+
+
+ 3
+ Larry
+ the Bird
+ twitter
+
+
+
+
+
+
+
+
+<abp-table border-style="Borderless">
+ <thead>
+ <tr>
+ <th scope="Column">#</th>
+ <th scope="Column">First</th>
+ <th scope="Column">Last</th>
+ <th scope="Column">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="Row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>mdo</td>
+ </tr>
+ <tr>
+ <th scope="Row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="Row">3</th>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</abp-table>
+
+
+
+
+<table class="table table-borderless">
+ <thead>
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">First</th>
+ <th scope="col">Last</th>
+ <th scope="col">Handle</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="row">1</th>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>mdo</td>
+ </tr>
+ <tr>
+ <th scope="row">2</th>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>fat</td>
+ </tr>
+ <tr>
+ <th scope="row">3</th>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>twitter</td>
+ </tr>
+ </tbody>
+</table>
+
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml
index c2c17a389d..367fe710b2 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tabs.cshtml
@@ -10,19 +10,33 @@
}
+@section scripts {
+
+ @*
+ *@
+
+}
+
+
+
+
+
+
Tabs
Based on Bootstrap tab .
-# Most Simple Tabs Example
+Example
+
Content_Home
-
+
Content_Profile
@@ -37,14 +51,16 @@
-
-<abp-tabs name="TabId">
+
+
+
+<abp-tabs>
<abp-tab title="Home">
- Content_Home
- </abp-tab>
- <abp-tab-link title="Link" name="LinkId" href="#"/>
+ Content_Home
+ </abp-tab>
+ <abp-tab-link title="Link" href="#" />
<abp-tab title="profile">
- Content_Profile
+ Content_Profile
</abp-tab>
<abp-tab-dropdown title="Contact" name="ContactDropdown">
<abp-tab title="Contact 1" parent-dropdown-name="ContactDropdown">
@@ -55,11 +71,44 @@
</abp-tab>
</abp-tab-dropdown>
</abp-tabs>
-
+
+
+
+
+<div>
+ <ul class="nav nav-tabs" id="48c14227782f4edab7f153b413ac1429" role="tablist">
+ <li class="nav-item"><a class="nav-link active" id="48c14227782f4edab7f153b413ac1429_0-tab" data-toggle="tab" href="#48c14227782f4edab7f153b413ac1429_0" role="tab" aria-controls="48c14227782f4edab7f153b413ac1429_0" aria-selected="true">Home</a></li>
+ <li class="nav-item"><a class="nav-link" id="LinkId-tab" href="#">Link</a></li>
+ <li class="nav-item"><a class="nav-link" id="48c14227782f4edab7f153b413ac1429_2-tab" data-toggle="tab" href="#48c14227782f4edab7f153b413ac1429_2" role="tab" aria-controls="48c14227782f4edab7f153b413ac1429_2" aria-selected="false">profile</a></li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" id="ContactDropdown-tab" data-toggle="dropdown" href="#ContactDropdown" role="button" aria-haspopup="true" aria-expanded="false">Contact</a><div class="dropdown-menu">
+ <a class="dropdown-item" id="48c14227782f4edab7f153b413ac1429_3-tab" href="#48c14227782f4edab7f153b413ac1429_3" data-toggle="tab" role="tab" aria-controls="48c14227782f4edab7f153b413ac1429_3" aria-selected="false">Contact 1</a>
+ <a class="dropdown-item" id="48c14227782f4edab7f153b413ac1429_4-tab" href="#48c14227782f4edab7f153b413ac1429_4" data-toggle="tab" role="tab" aria-controls="48c14227782f4edab7f153b413ac1429_4" aria-selected="false">Contact 2</a>
+ </div>
+ </li>
+ </ul>
+ <div class="tab-content" id="48c14227782f4edab7f153b413ac1429Content">
+ <div class="tab-pane fade show active" id="48c14227782f4edab7f153b413ac1429_0" role="tabpanel" aria-labelledby="48c14227782f4edab7f153b413ac1429_0-tab">
+ Content_Home
+ </div>
+ <div class="tab-pane fade" id="48c14227782f4edab7f153b413ac1429_2" role="tabpanel" aria-labelledby="48c14227782f4edab7f153b413ac1429_2-tab">
+ Content_Profile
+ </div>
+ <div class="tab-pane fade" id="48c14227782f4edab7f153b413ac1429_3" role="tabpanel" aria-labelledby="48c14227782f4edab7f153b413ac1429_3-tab">
+ Content_1_Content
+ </div>
+ <div class="tab-pane fade" id="48c14227782f4edab7f153b413ac1429_4" role="tabpanel" aria-labelledby="48c14227782f4edab7f153b413ac1429_4-tab">
+ Content_2_Content
+ </div>
+ </div>
+</div>
+
+
+
-# Tabs With Name Attiribute Example
+Tab attributes
@@ -76,7 +125,9 @@
-
+
+
+
<abp-tabs name="TabId">
<abp-tab name="nav-home" title="Home">
Content_Home
@@ -88,16 +139,50 @@
Content_Contact
</abp-tab>
</abp-tabs>
-
+
+
+
+
+<div>
+ <ul class="nav nav-tabs" id="TabId" role="tablist">
+ <li class="nav-item"><a class="nav-link" id="nav-home-tab" data-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="false">Home</a></li>
+ <li class="nav-item"><a class="nav-link" id="nav-profile-tab" data-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false">profile</a></li>
+ <li class="nav-item"><a class="nav-link active show" id="nav-contact-tab" data-toggle="tab" href="#nav-contact" role="tab" aria-controls="nav-contact" aria-selected="true">Contact</a></li>
+ </ul>
+ <div class="tab-content" id="TabIdContent">
+ <div class="tab-pane fade" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
+ Content_Home
+ </div>
+ <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">
+ Content_Profile
+ </div>
+ <div class="tab-pane fade active show" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab">
+ Content_Contact
+ </div>
+ </div>
+</div>
+
+
+
+
+
+
+
+ name : Sets "id" attribute of generated elements. Default value is a Guid. Not needed unless tabs are changed or modified with Jquery.
+
+
+ active : Sets the active tab.
+
+
-# Pill Example
+Pill Example
-
+
Content_Home
@@ -109,28 +194,56 @@
-
-<abp-tabs tab-style="Pill" >
- <abp-tab active="true" title="Home">
- Content_Home
- </abp-tab>
+
+
+
+<abp-tabs tab-style="Pill">
+ <abp-tab title="Home">
+ Content_Home
+ </abp-tab>
<abp-tab title="profile">
- Content_Profile
+ Content_Profile
</abp-tab>
<abp-tab title="Contact">
- Content_Contact
+ Content_Contact
</abp-tab>
</abp-tabs>
-
+
+
+
+
+
+<div>
+ <ul class="nav nav-pills" id="2eaad131e42c4a90962fcb3c4e55c946" role="tablist">
+ <li class="nav-item"><a class="nav-link active" id="2eaad131e42c4a90962fcb3c4e55c946_0-tab" data-toggle="pill" href="#2eaad131e42c4a90962fcb3c4e55c946_0" role="tab" aria-controls="2eaad131e42c4a90962fcb3c4e55c946_0" aria-selected="true">Home</a></li>
+ <li class="nav-item"><a class="nav-link" id="2eaad131e42c4a90962fcb3c4e55c946_1-tab" data-toggle="pill" href="#2eaad131e42c4a90962fcb3c4e55c946_1" role="tab" aria-controls="2eaad131e42c4a90962fcb3c4e55c946_1" aria-selected="false">profile</a></li>
+ <li class="nav-item"><a class="nav-link" id="2eaad131e42c4a90962fcb3c4e55c946_2-tab" data-toggle="pill" href="#2eaad131e42c4a90962fcb3c4e55c946_2" role="tab" aria-controls="2eaad131e42c4a90962fcb3c4e55c946_2" aria-selected="false">Contact</a></li>
+ </ul>
+ <div class="tab-content" id="2eaad131e42c4a90962fcb3c4e55c946Content">
+ <div class="tab-pane fade show active" id="2eaad131e42c4a90962fcb3c4e55c946_0" role="tabpanel" aria-labelledby="2eaad131e42c4a90962fcb3c4e55c946_0-tab">
+ Content_Home
+ </div>
+ <div class="tab-pane fade" id="2eaad131e42c4a90962fcb3c4e55c946_1" role="tabpanel" aria-labelledby="2eaad131e42c4a90962fcb3c4e55c946_1-tab">
+ Content_Profile
+ </div>
+ <div class="tab-pane fade" id="2eaad131e42c4a90962fcb3c4e55c946_2" role="tabpanel" aria-labelledby="2eaad131e42c4a90962fcb3c4e55c946_2-tab">
+ Content_Contact
+ </div>
+ </div>
+</div>
+
+
+
+
-# Vertical Example
+Vertical Example
-
+
Content_Home
@@ -142,8 +255,10 @@
-
-<abp-tabs name="TabId" tab-style="Pill" vertical-header-size="_2" >
+
+
+
+<abp-tabs tab-style="PillVertical" vertical-header-size="_2" >
<abp-tab active="true" title="Home">
Content_Home
</abp-tab>
@@ -154,6 +269,44 @@
Content_Contact
</abp-tab>
</abp-tabs>
-
+
+
+
+
+
+<div class="row">
+ <div class="col-2">
+ <ul class="nav flex-column nav-pills" id="2f347a2276af424ebbd67f85653edf1f" role="tablist">
+ <li class="nav-item"><a class="nav-link active" id="2f347a2276af424ebbd67f85653edf1f_0-tab" data-toggle="pill" href="#2f347a2276af424ebbd67f85653edf1f_0" role="tab" aria-controls="2f347a2276af424ebbd67f85653edf1f_0" aria-selected="true">Home</a></li>
+ <li class="nav-item"><a class="nav-link" id="2f347a2276af424ebbd67f85653edf1f_1-tab" data-toggle="pill" href="#2f347a2276af424ebbd67f85653edf1f_1" role="tab" aria-controls="2f347a2276af424ebbd67f85653edf1f_1" aria-selected="false">profile</a></li>
+ <li class="nav-item"><a class="nav-link" id="2f347a2276af424ebbd67f85653edf1f_2-tab" data-toggle="pill" href="#2f347a2276af424ebbd67f85653edf1f_2" role="tab" aria-controls="2f347a2276af424ebbd67f85653edf1f_2" aria-selected="false">Contact</a></li>
+ </ul>
+ </div>
+ <div class="col-10">
+ <div class="tab-content" id="2f347a2276af424ebbd67f85653edf1fContent">
+ <div class="tab-pane fade show active" id="2f347a2276af424ebbd67f85653edf1f_0" role="tabpanel" aria-labelledby="2f347a2276af424ebbd67f85653edf1f_0-tab">
+ Content_Home
+ </div>
+ <div class="tab-pane fade" id="2f347a2276af424ebbd67f85653edf1f_1" role="tabpanel" aria-labelledby="2f347a2276af424ebbd67f85653edf1f_1-tab">
+ Content_Profile
+ </div>
+ <div class="tab-pane fade" id="2f347a2276af424ebbd67f85653edf1f_2" role="tabpanel" aria-labelledby="2f347a2276af424ebbd67f85653edf1f_2-tab">
+ Content_Contact
+ </div>
+ </div>
+ </div>
+</div>
+
+
+
+
-
+
+
+
+
+ vertical-header-size : Sets the column width of tab headers.
+
+
+
+
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tooltips.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tooltips.cshtml
index fe0aeebae4..a5bc9f27db 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tooltips.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Tooltips.cshtml
@@ -1,7 +1,7 @@
@page
@model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.TooltipsModel
@{
- ViewData["Title"] = "Badges";
+ ViewData["Title"] = "Tooltips";
}
@section styles {
@@ -14,46 +14,77 @@
Based on Bootstrap Tooltips .
-# Tooltips Examples
+Example
-
+
Tooltip Default
-
+
Tooltip on top
-
+
Tooltip on right
-
+
Tooltip on bottom
-
- Tooltip on left
+
+ Disabled button Tooltip
-
-
-<abp-button abp-tooltip="Tooltip Default">
- Tooltip Default
+
+
+
+<abp-button abp-tooltip="Tooltip">
+ Tooltip Default
</abp-button>
-<abp-button abp-tooltip-top="Tooltip on top">
- Tooltip on top
+
+<abp-button abp-tooltip-top="Tooltip">
+ Tooltip on top
</abp-button>
-<abp-button abp-tooltip-right="Tooltip on right">
- Tooltip on right
+
+<abp-button abp-tooltip-right="Tooltip">
+ Tooltip on right
</abp-button>
-<abp-button abp-tooltip-bottom="Tooltip on bottom">
- Tooltip on bottom
+
+<abp-button abp-tooltip-bottom="Tooltip">
+ Tooltip on bottom
</abp-button>
-<abp-button abp-tooltip-left="Tooltip on left">
- Tooltip on left
+
+<abp-button disabled="true" abp-tooltip="Tooltip">
+ Disabled button Tooltip
</abp-button>
-
+
+
+
+
+<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip">
+ Tooltip Default
+</button>
+
+<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip">
+ Tooltip on top
+</button>
+
+<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="right" title="" data-original-title="Tooltip">
+ Tooltip on right
+</button>
+
+<button class="btn" type="button" data-busy-text="Processing..." data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Tooltip">
+ Tooltip on bottom
+</button>
+
+<span class="d-inline-block" tabindex="0" data-toggle="tooltip" data-placement="top" title="" data-original-title="Tooltip">
+ <button class="btn" disabled="disabled" type="button" data-busy-text="Processing..." data-placement="top" style="pointer-events: none;">
+ Disabled button Tooltip
+ </button>
+</span>
+
+
+
-
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/highlightCode.js b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/highlightCode.js
new file mode 100644
index 0000000000..a20784d518
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/highlightCode.js
@@ -0,0 +1,5 @@
+$(document).ready(function () {
+ $('pre code').each(function (i, block) {
+ hljs.highlightBlock(block);
+ });
+});
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Index.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Index.cshtml
index 9164ee5d87..6888267210 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Index.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Index.cshtml
@@ -7,27 +7,28 @@
Components
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/abp.resourcemapping.js b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/abp.resourcemapping.js
index 8f527171c0..d4d18c1f07 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/abp.resourcemapping.js
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/abp.resourcemapping.js
@@ -7,6 +7,6 @@
"@libs"
],
mappings: {
-
+ "@node_modules/highlight.js/**/*.*": "@libs/highlight.js/"
}
}
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json
index 8e2fcccc97..29e8cca7cb 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json
@@ -3,8 +3,8 @@
"name": "asp.net",
"private": true,
"dependencies": {
- "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.3"
+ "@abp/aspnetcore.mvc.ui.theme.shared": "^0.4.3",
+ "highlight.js": "^9.13.1"
},
- "devDependencies": {
- }
-}
\ No newline at end of file
+ "devDependencies": {}
+}
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.css b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.css
index c207771001..297eea1679 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.css
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.css
@@ -2,9 +2,17 @@
padding-bottom: 10px;
margin-bottom: 10px; }
.demo-with-code .demo-area {
+ margin-top: 20px;
margin-bottom: 1em; }
+ .demo-with-code .grid .col {
+ background: #ffc9c9;
+ border: 1.5px solid #000000; }
+ .demo-with-code .large-row .row {
+ min-height: 10rem;
+ background: #fcdede;
+ margin-top: 1rem; }
.demo-with-code .code-area {
border: 1px solid #ddd;
padding: 10px;
+ margin-top: 10px;
font-size: 0.9em; }
-
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.min.css b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.min.css
index 6721b78939..87e8a549a8 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.min.css
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.min.css
@@ -1 +1 @@
-.demo-with-code{padding-bottom:10px;margin-bottom:10px;}.demo-with-code .demo-area{margin-bottom:1em;}.demo-with-code .code-area{border:1px solid #ddd;padding:10px;font-size:.9em;}
\ No newline at end of file
+.demo-with-code{padding-bottom:10px;margin-bottom:10px;}.demo-with-code .demo-area{margin-top:20px;margin-bottom:1em;}.demo-with-code .grid .col{background:#ffc9c9;border:1.5px solid #000;}.demo-with-code .large-row .row{min-height:10rem;background:#fcdede;margin-top:1rem;}.demo-with-code .code-area{border:1px solid #ddd;padding:10px;margin-top:10px;font-size:.9em;}
\ No newline at end of file
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.scss b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.scss
index c9c78fa28b..04e085f22e 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.scss
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/css/demo.scss
@@ -7,6 +7,17 @@
margin-bottom: 1em;
}
+ .grid .col {
+ background: #ffc9c9;
+ border: 1.5px solid #000000;
+ }
+
+ .large-row .row {
+ min-height: 10rem;
+ background: #fcdede;
+ margin-top: 1rem;
+ }
+
.code-area {
border: 1px solid #ddd;
padding: 10px;
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/README.md b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/README.md
new file mode 100644
index 0000000000..6cf523594c
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/README.md
@@ -0,0 +1,186 @@
+# Highlight.js
+
+[](https://travis-ci.org/highlightjs/highlight.js)
+
+Highlight.js is a syntax highlighter written in JavaScript. It works in
+the browser as well as on the server. It works with pretty much any
+markup, doesn’t depend on any framework, and has automatic language
+detection.
+
+## Getting Started
+
+The bare minimum for using highlight.js on a web page is linking to the
+library along with one of the styles and calling
+[`initHighlightingOnLoad`][1]:
+
+```html
+
+
+
+```
+
+This will find and highlight code inside of `` tags; it tries
+to detect the language automatically. If automatic detection doesn’t
+work for you, you can specify the language in the `class` attribute:
+
+```html
+...
+```
+
+The list of supported language classes is available in the [class
+reference][2]. Classes can also be prefixed with either `language-` or
+`lang-`.
+
+To make arbitrary text look like code, but without highlighting, use the
+`plaintext` class:
+
+```html
+...
+```
+
+To disable highlighting altogether use the `nohighlight` class:
+
+```html
+...
+```
+
+## Custom Initialization
+
+When you need a bit more control over the initialization of
+highlight.js, you can use the [`highlightBlock`][3] and [`configure`][4]
+functions. This allows you to control *what* to highlight and *when*.
+
+Here’s an equivalent way to calling [`initHighlightingOnLoad`][1] using
+jQuery:
+
+```javascript
+$(document).ready(function() {
+ $('pre code').each(function(i, block) {
+ hljs.highlightBlock(block);
+ });
+});
+```
+
+You can use any tags instead of `` to mark up your code. If
+you don't use a container that preserves line breaks you will need to
+configure highlight.js to use the ` ` tag:
+
+```javascript
+hljs.configure({useBR: true});
+
+$('div.code').each(function(i, block) {
+ hljs.highlightBlock(block);
+});
+```
+
+For other options refer to the documentation for [`configure`][4].
+
+
+## Web Workers
+
+You can run highlighting inside a web worker to avoid freezing the browser
+window while dealing with very big chunks of code.
+
+In your main script:
+
+```javascript
+addEventListener('load', function() {
+ var code = document.querySelector('#code');
+ var worker = new Worker('worker.js');
+ worker.onmessage = function(event) { code.innerHTML = event.data; }
+ worker.postMessage(code.textContent);
+})
+```
+
+In worker.js:
+
+```javascript
+onmessage = function(event) {
+ importScripts('/highlight.pack.js');
+ var result = self.hljs.highlightAuto(event.data);
+ postMessage(result.value);
+}
+```
+
+
+## Getting the Library
+
+You can get highlight.js as a hosted, or custom-build, browser script or
+as a server module. Right out of the box the browser script supports
+both AMD and CommonJS, so if you wish you can use RequireJS or
+Browserify without having to build from source. The server module also
+works perfectly fine with Browserify, but there is the option to use a
+build specific to browsers rather than something meant for a server.
+Head over to the [download page][5] for all the options.
+
+**Don't link to GitHub directly.** The library is not supposed to work straight
+from the source, it requires building. If none of the pre-packaged options
+work for you refer to the [building documentation][6].
+
+**The CDN-hosted package doesn't have all the languages.** Otherwise it'd be
+too big. If you don't see the language you need in the ["Common" section][5],
+it can be added manually:
+
+```html
+
+```
+
+**On Almond.** You need to use the optimizer to give the module a name. For
+example:
+
+```
+r.js -o name=hljs paths.hljs=/path/to/highlight out=highlight.js
+```
+
+
+### CommonJS
+
+You can import Highlight.js as a CommonJS-module:
+
+```bash
+npm install highlight.js --save
+```
+
+In your application:
+
+```javascript
+import hljs from 'highlight.js';
+```
+
+The default import imports all languages! Therefore it is likely to be more efficient to import only the library and the languages you need:
+
+```javascript
+import hljs from 'highlight.js/lib/highlight';
+import javascript from 'highlight.js/lib/languages/javascript';
+hljs.registerLanguage('javascript', javascript);
+```
+
+To set the syntax highlighting style, if your build tool processes CSS from your JavaScript entry point, you can import the stylesheet directly into your CommonJS-module:
+
+```javascript
+import hljs from 'highlight.js/lib/highlight';
+import 'highlight.js/styles/github.css'
+```
+
+## License
+
+Highlight.js is released under the BSD License. See [LICENSE][7] file
+for details.
+
+## Links
+
+The official site for the library is at .
+
+Further in-depth documentation for the API and other topics is at
+ .
+
+Authors and contributors are listed in the [AUTHORS.en.txt][8] file.
+
+[1]: http://highlightjs.readthedocs.io/en/latest/api.html#inithighlightingonload
+[2]: http://highlightjs.readthedocs.io/en/latest/css-classes-reference.html
+[3]: http://highlightjs.readthedocs.io/en/latest/api.html#highlightblock-block
+[4]: http://highlightjs.readthedocs.io/en/latest/api.html#configure-options
+[5]: https://highlightjs.org/download/
+[6]: http://highlightjs.readthedocs.io/en/latest/building-testing.html
+[7]: https://github.com/highlightjs/highlight.js/blob/master/LICENSE
+[8]: https://github.com/highlightjs/highlight.js/blob/master/AUTHORS.en.txt
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/api.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/api.rst
new file mode 100644
index 0000000000..d8039539d3
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/api.rst
@@ -0,0 +1,120 @@
+Library API
+===========
+
+Highlight.js exports a few functions as methods of the ``hljs`` object.
+
+
+``highlight(name, value, ignore_illegals, continuation)``
+---------------------------------------------------------
+
+Core highlighting function.
+Accepts a language name, or an alias, and a string with the code to highlight.
+The ``ignore_illegals`` parameter, when present and evaluates to a true value,
+forces highlighting to finish even in case of detecting illegal syntax for the
+language instead of throwing an exception.
+The ``continuation`` is an optional mode stack representing unfinished parsing.
+When present, the function will restart parsing from this state instead of
+initializing a new one.
+Returns an object with the following properties:
+
+* ``language``: language name, same as the one passed into a function, returned for consistency with ``highlightAuto``
+* ``relevance``: integer value
+* ``value``: HTML string with highlighting markup
+* ``top``: top of the current mode stack
+
+
+``highlightAuto(value, languageSubset)``
+----------------------------------------
+
+Highlighting with language detection.
+Accepts a string with the code to highlight and an optional array of language names and aliases restricting detection to only those languages. The subset can also be set with ``configure``, but the local parameter overrides the option if set.
+Returns an object with the following properties:
+
+* ``language``: detected language
+* ``relevance``: integer value
+* ``value``: HTML string with highlighting markup
+* ``second_best``: object with the same structure for second-best heuristically detected language, may be absent
+
+
+``fixMarkup(value)``
+--------------------
+
+Post-processing of the highlighted markup. Currently consists of replacing indentation TAB characters and using `` `` tags instead of new-line characters. Options are set globally with ``configure``.
+
+Accepts a string with the highlighted markup.
+
+
+``highlightBlock(block)``
+-------------------------
+
+Applies highlighting to a DOM node containing code.
+
+This function is the one to use to apply highlighting dynamically after page load
+or within initialization code of third-party Javascript frameworks.
+
+The function uses language detection by default but you can specify the language
+in the ``class`` attribute of the DOM node. See the :doc:`class reference
+` for all available language names and aliases.
+
+
+``configure(options)``
+----------------------
+
+Configures global options:
+
+* ``tabReplace``: a string used to replace TAB characters in indentation.
+* ``useBR``: a flag to generate `` `` tags instead of new-line characters in the output, useful when code is marked up using a non-```` container.
+* ``classPrefix``: a string prefix added before class names in the generated markup, used for backwards compatibility with stylesheets.
+* ``languages``: an array of language names and aliases restricting auto detection to only these languages.
+
+Accepts an object representing options with the values to updated. Other options don't change
+::
+
+ hljs.configure({
+ tabReplace: ' ', // 4 spaces
+ classPrefix: '' // don't append class prefix
+ // … other options aren't changed
+ })
+ hljs.initHighlighting();
+
+
+``initHighlighting()``
+----------------------
+
+Applies highlighting to all ``.. `` blocks on a page.
+
+
+
+``initHighlightingOnLoad()``
+----------------------------
+
+Attaches highlighting to the page load event.
+
+
+``registerLanguage(name, language)``
+------------------------------------
+
+Adds new language to the library under the specified name. Used mostly internally.
+
+* ``name``: a string with the name of the language being registered
+* ``language``: a function that returns an object which represents the
+ language definition. The function is passed the ``hljs`` object to be able
+ to use common regular expressions defined within it.
+
+
+``listLanguages()``
+----------------------------
+
+Returns the languages names list.
+
+
+
+.. _getLanguage:
+
+
+``getLanguage(name)``
+---------------------
+
+Looks up a language by name or alias.
+
+Returns the language object if found, ``undefined`` otherwise.
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/building-testing.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/building-testing.rst
new file mode 100644
index 0000000000..16292cb84a
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/building-testing.rst
@@ -0,0 +1,88 @@
+Building and testing
+====================
+
+To actually run highlight.js it is necessary to build it for the environment
+where you're going to run it: a browser, the node.js server, etc.
+
+
+Building
+--------
+
+The build tool is written in JavaScript using node.js. Before running the
+script, make sure to have node installed and run ``npm install`` to get the
+dependencies.
+
+The tool is located in ``tools/build.js``. A few useful examples:
+
+* Build for a browser using only common languages::
+
+ node tools/build.js :common
+
+* Build for node.js including all available languages::
+
+ node tools/build.js -t node
+
+* Build two specific languages for debugging, skipping compression in this case::
+
+ node tools/build.js -n python ruby
+
+On some systems the node binary is named ``nodejs``; simply replace ``node``
+with ``nodejs`` in the examples above if that is the case.
+
+The full option reference is available with the usual ``--help`` option.
+
+The build result will be in the ``build/`` directory.
+
+.. _basic-testing:
+
+Basic testing
+-------------
+
+The usual approach to debugging and testing a language is first doing it
+visually. You need to build highlight.js with only the language you're working
+on (without compression, to have readable code in browser error messages) and
+then use the Developer tool in ``tools/developer.html`` to see how it highlights
+a test snippet in that language.
+
+A test snippet should be short and give the idea of the overall look of the
+language. It shouldn't include every possible syntactic element and shouldn't
+even make practical sense.
+
+After you satisfied with the result you need to make sure that language
+detection still works with your language definition included in the whole suite.
+
+Testing is done using `Mocha `_ and the
+files are found in the ``test/`` directory. You can use the node build to
+run the tests in the command line with ``npm test`` after installing the
+dependencies with ``npm install``.
+
+**Note**: for Debian-based machine, like Ubuntu, you might need to create an
+alias or symbolic link for nodejs to node. The reason for this is the
+dependencies that are requires to test highlight.js has a reference to
+"node".
+
+Place the snippet you used inside the browser in
+``test/detect//default.txt``, build the package with all the languages
+for node and run the test suite. If your language breaks auto-detection, it
+should be fixed by :ref:`improving relevance `, which is a black art
+in and of itself. When in doubt, please refer to the discussion group!
+
+
+Testing markup
+--------------
+
+You can also provide additional markup tests for the language to test isolated
+cases of various syntactic construct. If your language has 19 different string
+literals or complicated heuristics for telling division (``/``) apart from
+regexes (``/ .. /``) -- this is the place.
+
+A test case consists of two files:
+
+* ``test/markup//.txt``: test code
+* ``test/markup//.expect.txt``: reference rendering
+
+To generate reference rendering use the Developer tool located at
+``tools/developer.html``. Make sure to explicitly select your language in the
+drop-down menu, as automatic detection is unlikely to work in this case.
+
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/css-classes-reference.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/css-classes-reference.rst
new file mode 100644
index 0000000000..1975f235b8
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/css-classes-reference.rst
@@ -0,0 +1,460 @@
+CSS classes reference
+=====================
+
+
+Stylable classes
+----------------
+
++------------------------------------------------------------------------------+
+| **General-purpose** |
++--------------------------+---------------------------------------------------+
+| keyword | keyword in a regular Algol-style language |
++--------------------------+---------------------------------------------------+
+| built_in | built-in or library object (constant, class, |
+| | function) |
++--------------------------+---------------------------------------------------+
+| type | user-defined type in a language with first-class |
+| | syntactically significant types, like Haskell |
++--------------------------+---------------------------------------------------+
+| literal | special identifier for a built-in value ("true", |
+| | "false", "null") |
++--------------------------+---------------------------------------------------+
+| number | number, including units and modifiers, if any. |
++--------------------------+---------------------------------------------------+
+| regexp | literal regular expression |
++--------------------------+---------------------------------------------------+
+| string | literal string, character |
++--------------------------+---------------------------------------------------+
+| subst | parsed section inside a literal string |
++--------------------------+---------------------------------------------------+
+| symbol | symbolic constant, interned string, goto label |
++--------------------------+---------------------------------------------------+
+| class | class or class-level declaration (interfaces, |
+| | traits, modules, etc) |
++--------------------------+---------------------------------------------------+
+| function | function or method declaration |
++--------------------------+---------------------------------------------------+
+| title | name of a class or a function at the place of |
+| | declaration |
++--------------------------+---------------------------------------------------+
+| params | block of function arguments (parameters) at the |
+| | place of declaration |
++--------------------------+---------------------------------------------------+
+| **Meta** |
++--------------------------+---------------------------------------------------+
+| comment | comment |
++--------------------------+---------------------------------------------------+
+| doctag | documentation markup within comments |
++--------------------------+---------------------------------------------------+
+| meta | flags, modifiers, annotations, processing |
+| | instructions, preprocessor directive, etc |
++--------------------------+---------------------------------------------------+
+| meta-keyword | keyword or built-in within meta construct |
++--------------------------+---------------------------------------------------+
+| meta-string | string within meta construct |
++--------------------------+---------------------------------------------------+
+| **Tags, attributes, configs** |
++--------------------------+---------------------------------------------------+
+| section | heading of a section in a config file, heading in |
+| | text markup |
++--------------------------+---------------------------------------------------+
+| tag | XML/HTML tag |
++--------------------------+---------------------------------------------------+
+| name | name of an XML tag, the first word in an |
+| | s-expression |
++--------------------------+---------------------------------------------------+
+| builtin-name | s-expression name from the language standard |
+| | library |
++--------------------------+---------------------------------------------------+
+| attr | name of an attribute with no language defined |
+| | semantics (keys in JSON, setting names in .ini), |
+| | also sub-attribute within another highlighted |
+| | object, like XML tag |
++--------------------------+---------------------------------------------------+
+| attribute | name of an attribute followed by a structured |
+| | value part, like CSS properties |
++--------------------------+---------------------------------------------------+
+| variable | variable in a config or a template file, |
+| | environment var expansion in a script |
++--------------------------+---------------------------------------------------+
+| **Markup** |
++--------------------------+---------------------------------------------------+
+| bullet | list item bullet in text markup |
++--------------------------+---------------------------------------------------+
+| code | code block in text markup |
++--------------------------+---------------------------------------------------+
+| emphasis | emphasis in text markup |
++--------------------------+---------------------------------------------------+
+| strong | strong emphasis in text markup |
++--------------------------+---------------------------------------------------+
+| formula | mathematical formula in text markup |
++--------------------------+---------------------------------------------------+
+| link | hyperlink in text markup |
++--------------------------+---------------------------------------------------+
+| quote | quotation in text markup |
++--------------------------+---------------------------------------------------+
+| **CSS** |
++--------------------------+---------------------------------------------------+
+| selector-tag | tag selector in CSS |
++--------------------------+---------------------------------------------------+
+| selector-id | #id selector in CSS |
++--------------------------+---------------------------------------------------+
+| selector-class | .class selector in CSS |
++--------------------------+---------------------------------------------------+
+| selector-attr | [attr] selector in CSS |
++--------------------------+---------------------------------------------------+
+| selector-pseudo | :pseudo selector in CSS |
++--------------------------+---------------------------------------------------+
+| **Templates** |
++--------------------------+---------------------------------------------------+
+| template-tag | tag of a template language |
++--------------------------+---------------------------------------------------+
+| template-variable | variable in a template language |
++--------------------------+---------------------------------------------------+
+| **diff** |
++--------------------------+---------------------------------------------------+
+| addition | added or changed line in a diff |
++--------------------------+---------------------------------------------------+
+| deletion | deleted line in a diff |
++--------------------------+---------------------------------------------------+
+| **ReasonML** |
++--------------------------+---------------------------------------------------+
+| operator | reasonml operator such as pipe |
++--------------------------+---------------------------------------------------+
+| pattern-match | reasonml pattern matching matchers |
++--------------------------+---------------------------------------------------+
+| typing | type signatures on function parameters |
++--------------------------+---------------------------------------------------+
+| constructor | type constructors |
++--------------------------+---------------------------------------------------+
+| module-access | scope access into a ReasonML module |
++--------------------------+---------------------------------------------------+
+| module | ReasonML module reference within scope access |
++--------------------------+---------------------------------------------------+
+
+
+Language names and aliases
+--------------------------
+
++-------------------------+---------------------------------------------------+
+| 1C | 1c |
++-------------------------+---------------------------------------------------+
+| ABNF | abnf |
++-------------------------+---------------------------------------------------+
+| Access logs | accesslog |
++-------------------------+---------------------------------------------------+
+| Ada | ada |
++-------------------------+---------------------------------------------------+
+| ARM assembler | armasm, arm |
++-------------------------+---------------------------------------------------+
+| AVR assembler | avrasm |
++-------------------------+---------------------------------------------------+
+| ActionScript | actionscript, as |
++-------------------------+---------------------------------------------------+
+| AngelScript | angelscript, asc |
++-------------------------+---------------------------------------------------+
+| Apache | apache, apacheconf |
++-------------------------+---------------------------------------------------+
+| AppleScript | applescript, osascript |
++-------------------------+---------------------------------------------------+
+| Arcade | arcade |
++-------------------------+---------------------------------------------------+
+| AsciiDoc | asciidoc, adoc |
++-------------------------+---------------------------------------------------+
+| AspectJ | aspectj |
++-------------------------+---------------------------------------------------+
+| AutoHotkey | autohotkey |
++-------------------------+---------------------------------------------------+
+| AutoIt | autoit |
++-------------------------+---------------------------------------------------+
+| Awk | awk, mawk, nawk, gawk |
++-------------------------+---------------------------------------------------+
+| Axapta | axapta |
++-------------------------+---------------------------------------------------+
+| Bash | bash, sh, zsh |
++-------------------------+---------------------------------------------------+
+| Basic | basic |
++-------------------------+---------------------------------------------------+
+| BNF | bnf |
++-------------------------+---------------------------------------------------+
+| Brainfuck | brainfuck, bf |
++-------------------------+---------------------------------------------------+
+| C# | cs, csharp |
++-------------------------+---------------------------------------------------+
+| C++ | cpp, c, cc, h, c++, h++, hpp |
++-------------------------+---------------------------------------------------+
+| C/AL | cal |
++-------------------------+---------------------------------------------------+
+| Cache Object Script | cos, cls |
++-------------------------+---------------------------------------------------+
+| CMake | cmake, cmake.in |
++-------------------------+---------------------------------------------------+
+| Coq | coq |
++-------------------------+---------------------------------------------------+
+| CSP | csp |
++-------------------------+---------------------------------------------------+
+| CSS | css |
++-------------------------+---------------------------------------------------+
+| Cap’n Proto | capnproto, capnp |
++-------------------------+---------------------------------------------------+
+| Clojure | clojure, clj |
++-------------------------+---------------------------------------------------+
+| CoffeeScript | coffeescript, coffee, cson, iced |
++-------------------------+---------------------------------------------------+
+| Crmsh | crmsh, crm, pcmk |
++-------------------------+---------------------------------------------------+
+| Crystal | crystal, cr |
++-------------------------+---------------------------------------------------+
+| D | d |
++-------------------------+---------------------------------------------------+
+| DNS Zone file | dns, zone, bind |
++-------------------------+---------------------------------------------------+
+| DOS | dos, bat, cmd |
++-------------------------+---------------------------------------------------+
+| Dart | dart |
++-------------------------+---------------------------------------------------+
+| Delphi | delphi, dpr, dfm, pas, pascal, freepascal, |
+| | lazarus, lpr, lfm |
++-------------------------+---------------------------------------------------+
+| Diff | diff, patch |
++-------------------------+---------------------------------------------------+
+| Django | django, jinja |
++-------------------------+---------------------------------------------------+
+| Dockerfile | dockerfile, docker |
++-------------------------+---------------------------------------------------+
+| dsconfig | dsconfig |
++-------------------------+---------------------------------------------------+
+| DTS (Device Tree) | dts |
++-------------------------+---------------------------------------------------+
+| Dust | dust, dst |
++-------------------------+---------------------------------------------------+
+| EBNF | ebnf |
++-------------------------+---------------------------------------------------+
+| Elixir | elixir |
++-------------------------+---------------------------------------------------+
+| Elm | elm |
++-------------------------+---------------------------------------------------+
+| Erlang | erlang, erl |
++-------------------------+---------------------------------------------------+
+| Excel | excel, xls, xlsx |
++-------------------------+---------------------------------------------------+
+| F# | fsharp, fs |
++-------------------------+---------------------------------------------------+
+| FIX | fix |
++-------------------------+---------------------------------------------------+
+| Fortran | fortran, f90, f95 |
++-------------------------+---------------------------------------------------+
+| G-Code | gcode, nc |
++-------------------------+---------------------------------------------------+
+| Gams | gams, gms |
++-------------------------+---------------------------------------------------+
+| GAUSS | gauss, gss |
++-------------------------+---------------------------------------------------+
+| Gherkin | gherkin |
++-------------------------+---------------------------------------------------+
+| Go | go, golang |
++-------------------------+---------------------------------------------------+
+| Golo | golo, gololang |
++-------------------------+---------------------------------------------------+
+| Gradle | gradle |
++-------------------------+---------------------------------------------------+
+| Groovy | groovy |
++-------------------------+---------------------------------------------------+
+| HTML, XML | xml, html, xhtml, rss, atom, xjb, xsd, xsl, plist |
++-------------------------+---------------------------------------------------+
+| HTTP | http, https |
++-------------------------+---------------------------------------------------+
+| Haml | haml |
++-------------------------+---------------------------------------------------+
+| Handlebars | handlebars, hbs, html.hbs, html.handlebars |
++-------------------------+---------------------------------------------------+
+| Haskell | haskell, hs |
++-------------------------+---------------------------------------------------+
+| Haxe | haxe, hx |
++-------------------------+---------------------------------------------------+
+| Hy | hy, hylang |
++-------------------------+---------------------------------------------------+
+| Ini, TOML | ini, toml |
++-------------------------+---------------------------------------------------+
+| Inform7 | inform7, i7 |
++-------------------------+---------------------------------------------------+
+| IRPF90 | irpf90 |
++-------------------------+---------------------------------------------------+
+| JSON | json |
++-------------------------+---------------------------------------------------+
+| Java | java, jsp |
++-------------------------+---------------------------------------------------+
+| JavaScript | javascript, js, jsx |
++-------------------------+---------------------------------------------------+
+| Leaf | leaf |
++-------------------------+---------------------------------------------------+
+| Lasso | lasso, ls, lassoscript |
++-------------------------+---------------------------------------------------+
+| Less | less |
++-------------------------+---------------------------------------------------+
+| LDIF | ldif |
++-------------------------+---------------------------------------------------+
+| Lisp | lisp |
++-------------------------+---------------------------------------------------+
+| LiveCode Server | livecodeserver |
++-------------------------+---------------------------------------------------+
+| LiveScript | livescript, ls |
++-------------------------+---------------------------------------------------+
+| Lua | lua |
++-------------------------+---------------------------------------------------+
+| Makefile | makefile, mk, mak |
++-------------------------+---------------------------------------------------+
+| Markdown | markdown, md, mkdown, mkd |
++-------------------------+---------------------------------------------------+
+| Mathematica | mathematica, mma |
++-------------------------+---------------------------------------------------+
+| Matlab | matlab |
++-------------------------+---------------------------------------------------+
+| Maxima | maxima |
++-------------------------+---------------------------------------------------+
+| Maya Embedded Language | mel |
++-------------------------+---------------------------------------------------+
+| Mercury | mercury |
++-------------------------+---------------------------------------------------+
+| Mizar | mizar |
++-------------------------+---------------------------------------------------+
+| Mojolicious | mojolicious |
++-------------------------+---------------------------------------------------+
+| Monkey | monkey |
++-------------------------+---------------------------------------------------+
+| Moonscript | moonscript, moon |
++-------------------------+---------------------------------------------------+
+| N1QL | n1ql |
++-------------------------+---------------------------------------------------+
+| NSIS | nsis |
++-------------------------+---------------------------------------------------+
+| Nginx | nginx, nginxconf |
++-------------------------+---------------------------------------------------+
+| Nimrod | nimrod, nim |
++-------------------------+---------------------------------------------------+
+| Nix | nix |
++-------------------------+---------------------------------------------------+
+| OCaml | ocaml, ml |
++-------------------------+---------------------------------------------------+
+| Objective C | objectivec, mm, objc, obj-c |
++-------------------------+---------------------------------------------------+
+| OpenGL Shading Language | glsl |
++-------------------------+---------------------------------------------------+
+| OpenSCAD | openscad, scad |
++-------------------------+---------------------------------------------------+
+| Oracle Rules Language | ruleslanguage |
++-------------------------+---------------------------------------------------+
+| Oxygene | oxygene |
++-------------------------+---------------------------------------------------+
+| PF | pf, pf.conf |
++-------------------------+---------------------------------------------------+
+| PHP | php, php3, php4, php5, php6 |
++-------------------------+---------------------------------------------------+
+| Parser3 | parser3 |
++-------------------------+---------------------------------------------------+
+| Perl | perl, pl, pm |
++-------------------------+---------------------------------------------------+
+| Plaintext: no highlight | plaintext |
++-------------------------+---------------------------------------------------+
+| Pony | pony |
++-------------------------+---------------------------------------------------+
+| PostgreSQL & PL/pgSQL | pgsql, postgres, postgresql |
++-------------------------+---------------------------------------------------+
+| PowerShell | powershell, ps |
++-------------------------+---------------------------------------------------+
+| Processing | processing |
++-------------------------+---------------------------------------------------+
+| Prolog | prolog |
++-------------------------+---------------------------------------------------+
+| Properties | properties |
++-------------------------+---------------------------------------------------+
+| Protocol Buffers | protobuf |
++-------------------------+---------------------------------------------------+
+| Puppet | puppet, pp |
++-------------------------+---------------------------------------------------+
+| Python | python, py, gyp |
++-------------------------+---------------------------------------------------+
+| Python profiler results | profile |
++-------------------------+---------------------------------------------------+
+| Q | k, kdb |
++-------------------------+---------------------------------------------------+
+| QML | qml |
++-------------------------+---------------------------------------------------+
+| R | r |
++-------------------------+---------------------------------------------------+
+| ReasonML | reasonml, re |
++-------------------------+---------------------------------------------------+
+| RenderMan RIB | rib |
++-------------------------+---------------------------------------------------+
+| RenderMan RSL | rsl |
++-------------------------+---------------------------------------------------+
+| Roboconf | graph, instances |
++-------------------------+---------------------------------------------------+
+| Ruby | ruby, rb, gemspec, podspec, thor, irb |
++-------------------------+---------------------------------------------------+
+| Rust | rust, rs |
++-------------------------+---------------------------------------------------+
+| SCSS | scss |
++-------------------------+---------------------------------------------------+
+| SQL | sql |
++-------------------------+---------------------------------------------------+
+| STEP Part 21 | p21, step, stp |
++-------------------------+---------------------------------------------------+
+| Scala | scala |
++-------------------------+---------------------------------------------------+
+| Scheme | scheme |
++-------------------------+---------------------------------------------------+
+| Scilab | scilab, sci |
++-------------------------+---------------------------------------------------+
+| Shell | shell, console |
++-------------------------+---------------------------------------------------+
+| Smali | smali |
++-------------------------+---------------------------------------------------+
+| Smalltalk | smalltalk, st |
++-------------------------+---------------------------------------------------+
+| Stan | stan |
++-------------------------+---------------------------------------------------+
+| Stata | stata |
++-------------------------+---------------------------------------------------+
+| SAS | SAS, sas |
++-------------------------+---------------------------------------------------+
+| Stylus | stylus, styl |
++-------------------------+---------------------------------------------------+
+| SubUnit | subunit |
++-------------------------+---------------------------------------------------+
+| Swift | swift |
++-------------------------+---------------------------------------------------+
+| Test Anything Protocol | tap |
++-------------------------+---------------------------------------------------+
+| Tcl | tcl, tk |
++-------------------------+---------------------------------------------------+
+| TeX | tex |
++-------------------------+---------------------------------------------------+
+| Thrift | thrift |
++-------------------------+---------------------------------------------------+
+| TP | tp |
++-------------------------+---------------------------------------------------+
+| Twig | twig, craftcms |
++-------------------------+---------------------------------------------------+
+| TypeScript | typescript, ts |
++-------------------------+---------------------------------------------------+
+| VB.Net | vbnet, vb |
++-------------------------+---------------------------------------------------+
+| VBScript | vbscript, vbs |
++-------------------------+---------------------------------------------------+
+| VHDL | vhdl |
++-------------------------+---------------------------------------------------+
+| Vala | vala |
++-------------------------+---------------------------------------------------+
+| Verilog | verilog, v |
++-------------------------+---------------------------------------------------+
+| Vim Script | vim |
++-------------------------+---------------------------------------------------+
+| x86 Assembly | x86asm |
++-------------------------+---------------------------------------------------+
+| XL | xl, tao |
++-------------------------+---------------------------------------------------+
+| XQuery | xpath, xq |
++-------------------------+---------------------------------------------------+
+| Zephir | zephir, zep |
++-------------------------+---------------------------------------------------+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/index.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/index.rst
new file mode 100644
index 0000000000..3288758bb5
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/index.rst
@@ -0,0 +1,44 @@
+.. highlight.js documentation master file, created by
+ sphinx-quickstart on Wed Sep 12 23:48:27 2012.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+``highlight.js`` developer documentation
+==========================================
+
+Contents:
+
+.. toctree::
+ :maxdepth: 1
+
+ api
+ language-guide
+ reference
+ css-classes-reference
+ style-guide
+ language-contribution
+ building-testing
+ maintainers-guide
+
+Miscellaneous:
+
+.. toctree::
+ :maxdepth: 1
+
+ line-numbers
+ language-requests
+
+Links:
+
+- Code: https://github.com/highlightjs/highlight.js
+- Discussion: http://groups.google.com/group/highlightjs
+- Bug tracking: https://github.com/highlightjs/highlight.js/issues
+
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
+
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-contribution.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-contribution.rst
new file mode 100644
index 0000000000..614e816339
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-contribution.rst
@@ -0,0 +1,77 @@
+Language contributor checklist
+==============================
+
+1. Put language definition into a .js file
+------------------------------------------
+
+The file defines a function accepting a reference to the library and returning a language object.
+The library parameter is useful to access common modes and regexps. You should not immediately call this function,
+this is done during the build process and details differ for different build targets.
+
+::
+
+ function(hljs) {
+ return {
+ keywords: 'foo bar',
+ contains: [ ..., hljs.NUMBER_MODE, ... ]
+ }
+ }
+
+The name of the file is used as a short language identifier and should be usable as a class name in HTML and CSS.
+
+
+2. Provide meta data
+--------------------
+
+At the top of the file there is a specially formatted comment with meta data processed by a build system.
+Meta data format is simply key-value pairs each occupying its own line:
+
+::
+
+ /*
+ Language: Superlanguage
+ Requires: java.js, sql.js
+ Author: John Smith
+ Contributors: Mike Johnson <...@...>, Matt Wilson <...@...>
+ Description: Some cool language definition
+ */
+
+``Language`` — the only required header giving a human-readable language name.
+
+``Requires`` — a list of other language files required for this language to work.
+This make it possible to describe languages that extend definitions of other ones.
+Required files aren't processed in any special way.
+The build system just makes sure that they will be in the final package in
+``LANGUAGES`` object.
+
+The meaning of the other headers is pretty obvious.
+
+
+3. Create a code example
+------------------------
+
+The code example is used both to test language detection and for the demo page
+on https://highlightjs.org/. Put it in ``test/detect//default.txt``.
+
+Take inspiration from other languages in ``test/detect/`` and read
+:ref:`testing instructions ` for more details.
+
+
+4. Write class reference
+------------------------
+
+Class reference lives in the :doc:`CSS classes reference `..
+Describe shortly names of all meaningful modes used in your language definition.
+
+
+5. Add yourself to AUTHORS.*.txt and CHANGES.md
+-----------------------------------------------
+
+If you're a new contributor add yourself to the authors list.
+Also it will be good to update CHANGES.md.
+
+
+6. Create a pull request
+------------------------
+
+Send your contribution as a pull request on GitHub.
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-guide.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-guide.rst
new file mode 100644
index 0000000000..a3cf8d806a
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-guide.rst
@@ -0,0 +1,264 @@
+Language definition guide
+=========================
+
+Highlighting overview
+---------------------
+
+Programming language code consists of parts with different rules of parsing: keywords like ``for`` or ``if``
+don't make sense inside strings, strings may contain backslash-escaped symbols like ``\"``
+and comments usually don't contain anything interesting except the end of the comment.
+
+In highlight.js such parts are called "modes".
+
+Each mode consists of:
+
+* starting condition
+* ending condition
+* list of contained sub-modes
+* lexing rules and keywords
+* …exotic stuff like another language inside a language
+
+The parser's work is to look for modes and their keywords.
+Upon finding, it wraps them into the markup ``... ``
+and puts the name of the mode ("string", "comment", "number")
+or a keyword group name ("keyword", "literal", "built-in") as the span's class name.
+
+
+General syntax
+--------------
+
+A language definition is a JavaScript object describing the default parsing mode for the language.
+This default mode contains sub-modes which in turn contain other sub-modes, effectively making the language definition a tree of modes.
+
+Here's an example:
+
+::
+
+ {
+ case_insensitive: true, // language is case-insensitive
+ keywords: 'for if while',
+ contains: [
+ {
+ className: 'string',
+ begin: '"', end: '"'
+ },
+ hljs.COMMENT(
+ '/\\*', // begin
+ '\\*/', // end
+ {
+ contains: [
+ {
+ className: 'doc', begin: '@\\w+'
+ }
+ ]
+ }
+ )
+ ]
+ }
+
+Usually the default mode accounts for the majority of the code and describes all language keywords.
+A notable exception here is XML in which a default mode is just a user text that doesn't contain any keywords,
+and most interesting parsing happens inside tags.
+
+
+Keywords
+--------
+
+In the simple case language keywords are defined in a string, separated by space:
+
+::
+
+ {
+ keywords: 'else for if while'
+ }
+
+Some languages have different kinds of "keywords" that might not be called as such by the language spec
+but are very close to them from the point of view of a syntax highlighter. These are all sorts of "literals", "built-ins", "symbols" and such.
+To define such keyword groups the attribute ``keywords`` becomes an object each property of which defines its own group of keywords:
+
+::
+
+ {
+ keywords: {
+ keyword: 'else for if while',
+ literal: 'false true null'
+ }
+ }
+
+The group name becomes then a class name in a generated markup enabling different styling for different kinds of keywords.
+
+To detect keywords highlight.js breaks the processed chunk of code into separate words — a process called lexing.
+The "word" here is defined by the regexp ``[a-zA-Z][a-zA-Z0-9_]*`` that works for keywords in most languages.
+Different lexing rules can be defined by the ``lexemes`` attribute:
+
+::
+
+ {
+ lexemes: '-[a-z]+',
+ keywords: '-import -export'
+ }
+
+
+Sub-modes
+---------
+
+Sub-modes are listed in the ``contains`` attribute:
+
+::
+
+ {
+ keywords: '...',
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_LINE_COMMENT,
+ { ... custom mode definition ... }
+ ]
+ }
+
+A mode can reference itself in the ``contains`` array by using a special keyword ``'self``'.
+This is commonly used to define nested modes:
+
+::
+
+ {
+ className: 'object',
+ begin: '{', end: '}',
+ contains: [hljs.QUOTE_STRING_MODE, 'self']
+ }
+
+
+Comments
+--------
+
+To define custom comments it is recommended to use a built-in helper function ``hljs.COMMENT`` instead of describing the mode directly, as it also defines a few default sub-modes that improve language detection and do other nice things.
+
+Parameters for the function are:
+
+::
+
+ hljs.COMMENT(
+ begin, // begin regex
+ end, // end regex
+ extra // optional object with extra attributes to override defaults
+ // (for example {relevance: 0})
+ )
+
+
+Markup generation
+-----------------
+
+Modes usually generate actual highlighting markup — ```` elements with specific class names that are defined by the ``className`` attribute:
+
+::
+
+ {
+ contains: [
+ {
+ className: 'string',
+ // ... other attributes
+ },
+ {
+ className: 'number',
+ // ...
+ }
+ ]
+ }
+
+Names are not required to be unique, it's quite common to have several definitions with the same name.
+For example, many languages have various syntaxes for strings, comments, etc…
+
+Sometimes modes are defined only to support specific parsing rules and aren't needed in the final markup.
+A classic example is an escaping sequence inside strings allowing them to contain an ending quote.
+
+::
+
+ {
+ className: 'string',
+ begin: '"', end: '"',
+ contains: [{begin: '\\\\.'}],
+ }
+
+For such modes ``className`` attribute should be omitted so they won't generate excessive markup.
+
+
+Mode attributes
+---------------
+
+Other useful attributes are defined in the :doc:`mode reference `.
+
+
+.. _relevance:
+
+Relevance
+---------
+
+Highlight.js tries to automatically detect the language of a code fragment.
+The heuristics is essentially simple: it tries to highlight a fragment with all the language definitions
+and the one that yields most specific modes and keywords wins. The job of a language definition
+is to help this heuristics by hinting relative relevance (or irrelevance) of modes.
+
+This is best illustrated by example. Python has special kinds of strings defined by prefix letters before the quotes:
+``r"..."``, ``u"..."``. If a code fragment contains such strings there is a good chance that it's in Python.
+So these string modes are given high relevance:
+
+::
+
+ {
+ className: 'string',
+ begin: 'r"', end: '"',
+ relevance: 10
+ }
+
+On the other hand, conventional strings in plain single or double quotes aren't specific to any language
+and it makes sense to bring their relevance to zero to lessen statistical noise:
+
+::
+
+ {
+ className: 'string',
+ begin: '"', end: '"',
+ relevance: 0
+ }
+
+The default value for relevance is 1. When setting an explicit value it's recommended to use either 10 or 0.
+
+Keywords also influence relevance. Each of them usually has a relevance of 1, but there are some unique names
+that aren't likely to be found outside of their languages, even in the form of variable names.
+For example just having ``reinterpret_cast`` somewhere in the code is a good indicator that we're looking at C++.
+It's worth to set relevance of such keywords a bit higher. This is done with a pipe:
+
+::
+
+ {
+ keywords: 'for if reinterpret_cast|10'
+ }
+
+
+Illegal symbols
+---------------
+
+Another way to improve language detection is to define illegal symbols for a mode.
+For example in Python first line of class definition (``class MyClass(object):``) cannot contain symbol "{" or a newline.
+Presence of these symbols clearly shows that the language is not Python and the parser can drop this attempt early.
+
+Illegal symbols are defined as a a single regular expression:
+
+::
+
+ {
+ className: 'class',
+ illegal: '[${]'
+ }
+
+
+Pre-defined modes and regular expressions
+-----------------------------------------
+
+Many languages share common modes and regular expressions. Such expressions are defined in core highlight.js code
+at the end under "Common regexps" and "Common modes" titles. Use them when possible.
+
+
+Contributing
+------------
+
+Follow the :doc:`contributor checklist `.
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-requests.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-requests.rst
new file mode 100644
index 0000000000..4e4c2f0b61
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/language-requests.rst
@@ -0,0 +1,17 @@
+On requesting new languages
+===========================
+
+This is a general answer to requests for adding new languages that appear from
+time to time in the highlight.js issue tracker and discussion group.
+
+ Highlight.js doesn't have a fundamental plan for implementing languages,
+ instead the project works by accepting language definitions from
+ interested contributors. There are also no rules at the moment forbidding
+ any languages from being added to the library, no matter how obscure or
+ weird.
+
+ This means that there's no point in requesting a new language without
+ providing an implementation for it. If you want to see a particular language
+ included in highlight.js but cannot implement it, the best way to make it
+ happen is to get another developer interested in doing so. Here's our
+ :doc:`language-guide`.
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/line-numbers.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/line-numbers.rst
new file mode 100644
index 0000000000..674542d4ed
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/line-numbers.rst
@@ -0,0 +1,39 @@
+Line numbers
+============
+
+Highlight.js' notable lack of line numbers support is not an oversight but a
+feature. Following is the explanation of this policy from the current project
+maintainer (hey guys!):
+
+ One of the defining design principles for highlight.js from the start was
+ simplicity. Not the simplicity of code (in fact, it's quite complex) but
+ the simplicity of usage and of the actual look of highlighted snippets on
+ HTML pages. Many highlighters, in my opinion, are overdoing it with such
+ things as separate colors for every single type of lexemes, striped
+ backgrounds, fancy buttons around code blocks and — yes — line numbers.
+ The more fancy stuff resides around the code the more it distracts a
+ reader from understanding it.
+
+ This is why it's not a straightforward decision: this new feature will not
+ just make highlight.js better, it might actually make it worse simply by
+ making it look more bloated in blog posts around the Internet. This is why
+ I'm asking people to show that it's worth it.
+
+ The only real use-case that ever was brought up in support of line numbers
+ is referencing code from the descriptive text around it. On my own blog I
+ was always solving this either with comments within the code itself or by
+ breaking the larger snippets into smaller ones and describing each small
+ part separately. I'm not saying that my solution is better. But I don't
+ see how line numbers are better either. And the only way to show that they
+ are better is to set up some usability research on the subject. I doubt
+ anyone would bother to do it.
+
+ Then there's maintenance. So far the core code of highlight.js is
+ maintained by only one person — yours truly. Inclusion of any new code in
+ highlight.js means that from that moment I will have to fix bugs in it,
+ improve it further, make it work together with the rest of the code,
+ defend its design. And I don't want to do all this for the feature that I
+ consider "evil" and probably will never use myself.
+
+This position is `subject to discuss `_.
+Also it doesn't stop anyone from forking the code and maintaining line-numbers implementation separately.
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/maintainers-guide.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/maintainers-guide.rst
new file mode 100644
index 0000000000..21bfc52396
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/maintainers-guide.rst
@@ -0,0 +1,34 @@
+Maintainer's guide
+==================
+
+
+Commit policy
+-------------
+
+* Pull requests from outside contributors require a review from a maintainer.
+
+* Maintainers should avoid working on a master branch directly and create branches for everything. A code review from another maintainer is recommended but not required, use your best judgment.
+
+
+
+Release process
+---------------
+
+Releases happen on a 6-week schedule. Currently due to a long break the date of the next release is not set.
+
+* Update CHANGES.md with everything interesting since the last update.
+
+* Update version numbers using the three-part x.y.z notation everywhere:
+
+ * The header in CHANGES.md (this is where the site looks for the latest version number)
+ * ``"version"`` attribute in package.json
+ * ``"version"`` attribute in package-lock.json (run `npm install`)
+ * Two places in docs/conf.py (``version`` and ``release``)
+
+* Commit the version changes and tag the commit with the plain version number (no "v." or anything like that)
+
+* Push the commit and the tags to master (``git push && git push --tags``)
+
+Pushing the tag triggers the update process which can be monitored at http://highlightjs.org/api/release/
+
+When something didn't work *and* it's fixable in code (version numbers mismatch, last minute patches, etc), simply make another release incrementing the third (revision) part of the version number.
diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/reference.rst b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/reference.rst
new file mode 100644
index 0000000000..de240fd48f
--- /dev/null
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/highlight.js/docs/reference.rst
@@ -0,0 +1,360 @@
+Mode reference
+==============
+
+Types
+-----
+
+Types of attributes values in this reference:
+
++------------+-------------------------------------------------------------------------------------+
+| identifier | String suitable to be used as a Javascript variable and CSS class name |
+| | (i.e. mostly ``/[A-Za-z0-9_]+/``) |
++------------+-------------------------------------------------------------------------------------+
+| regexp | String representing a Javascript regexp. |
+| | Note that since it's not a literal regexp all back-slashes should be repeated twice |
++------------+-------------------------------------------------------------------------------------+
+| boolean | Javascript boolean: ``true`` or ``false`` |
++------------+-------------------------------------------------------------------------------------+
+| number | Javascript number |
++------------+-------------------------------------------------------------------------------------+
+| object | Javascript object: ``{ ... }`` |
++------------+-------------------------------------------------------------------------------------+
+| array | Javascript array: ``[ ... ]`` |
++------------+-------------------------------------------------------------------------------------+
+
+
+Attributes
+----------
+
+case_insensitive
+^^^^^^^^^^^^^^^^
+
+**type**: boolean
+
+Case insensitivity of language keywords and regexps. Used only on the top-level mode.
+
+
+aliases
+^^^^^^^
+
+**type**: array
+
+A list of additional names (besides the canonical one given by the filename) that can be used to identify a language in HTML classes and in a call to :ref:`getLanguage `.
+
+
+className
+^^^^^^^^^
+
+**type**: identifier
+
+The name of the mode. It is used as a class name in HTML markup.
+
+Multiple modes can have the same name. This is useful when a language has multiple variants of syntax
+for one thing like string in single or double quotes.
+
+
+begin
+^^^^^
+
+**type**: regexp
+
+Regular expression starting a mode. For example a single quote for strings or two forward slashes for C-style comments.
+If absent, ``begin`` defaults to a regexp that matches anything, so the mode starts immediately.
+
+
+end
+^^^
+
+**type**: regexp
+
+Regular expression ending a mode. For example a single quote for strings or "$" (end of line) for one-line comments.
+
+It's often the case that a beginning regular expression defines the entire mode and doesn't need any special ending.
+For example a number can be defined with ``begin: "\\b\\d+"`` which spans all the digits.
+
+If absent, ``end`` defaults to a regexp that matches anything, so the mode ends immediately.
+
+Sometimes a mode can end not by itself but implicitly with its containing (parent) mode.
+This is achieved with :ref:`endsWithParent ` attribute.
+
+
+beginKeywords
+^^^^^^^^^^^^^^^^
+
+**type**: string
+
+Used instead of ``begin`` for modes starting with keywords to avoid needless repetition:
+
+::
+
+ {
+ begin: '\\b(extends|implements) ',
+ keywords: 'extends implements'
+ }
+
+… becomes:
+
+::
+
+ {
+ beginKeywords: 'extends implements'
+ }
+
+Unlike the :ref:`keywords ` attribute, this one allows only a simple list of space separated keywords.
+If you do need additional features of ``keywords`` or you just need more keywords for this mode you may include ``keywords`` along with ``beginKeywords``.
+
+
+.. _endsWithParent:
+
+endsWithParent
+^^^^^^^^^^^^^^
+
+**type**: boolean
+
+A flag showing that a mode ends when its parent ends.
+
+This is best demonstrated by example. In CSS syntax a selector has a set of rules contained within symbols "{" and "}".
+Individual rules separated by ";" but the last one in a set can omit the terminating semicolon:
+
+::
+
+ p {
+ width: 100%; color: red
+ }
+
+This is when ``endsWithParent`` comes into play:
+
+::
+
+ {
+ className: 'rules', begin: '{', end: '}',
+ contains: [
+ {className: 'rule', /* ... */ end: ';', endsWithParent: true}
+ ]
+ }
+
+.. _endsParent:
+
+endsParent
+^^^^^^^^^^^^^^
+
+**type**: boolean
+
+Forces closing of the parent mode right after the current mode is closed.
+
+This is used for modes that don't have an easily expressible ending lexeme but
+instead could be closed after the last interesting sub-mode is found.
+
+Here's an example with two ways of defining functions in Elixir, one using a
+keyword ``do`` and another using a comma:
+
+::
+
+ def foo :clear, list do
+ :ok
+ end
+
+ def foo, do: IO.puts "hello world"
+
+Note that in the first case the parameter list after the function title may also
+include a comma. And iIf we're only interested in highlighting a title we can
+tell it to end the function definition after itself:
+
+::
+
+ {
+ className: 'function',
+ beginKeywords: 'def', end: /\B\b/,
+ contains: [
+ {
+ className: 'title',
+ begin: hljs.IDENT_RE, endsParent: true
+ }
+ ]
+ }
+
+(The ``end: /\B\b/`` regex tells function to never end by itself.)
+
+.. _endSameAsBegin:
+
+endSameAsBegin
+^^^^^^^^^^^^^^
+
+**type**: boolean
+
+Acts as ``end`` matching exactly the same string that was found by the
+corresponding ``begin`` regexp.
+
+For example, in PostgreSQL string constants can uee "dollar quotes",
+consisting of a dollar sign, an optional tag of zero or more characters,
+and another dollar sign. String constant must be ended with the same
+construct using the same tag. It is possible to nest dollar-quoted string
+constants by choosing different tags at each nesting level:
+
+::
+
+ $foo$
+ ...
+ $bar$ nested $bar$
+ ...
+ $foo$
+
+In this case you can't simply specify the same regexp for ``begin`` and
+``end`` (say, ``"\\$[a-z]\\$"``), but you can use ``begin: "\\$[a-z]\\$"``
+and ``endSameAsBegin: true``.
+
+.. _lexemes:
+
+lexemes
+^^^^^^^
+
+**type**: regexp
+
+A regular expression that extracts individual lexemes from language text to find :ref:`keywords ` among them.
+Default value is ``hljs.IDENT_RE`` which works for most languages.
+
+
+.. _keywords:
+
+keywords
+^^^^^^^^
+
+**type**: object
+
+Keyword definition comes in two forms:
+
+* ``'for while if else weird_voodoo|10 ... '`` -- a string of space-separated keywords with an optional relevance over a pipe
+* ``{'keyword': ' ... ', 'literal': ' ... '}`` -- an object whose keys are names of different kinds of keywords and values are keyword definition strings in the first form
+
+For detailed explanation see :doc:`Language definition guide `.
+
+
+illegal
+^^^^^^^
+
+**type**: regexp
+
+A regular expression that defines symbols illegal for the mode.
+When the parser finds a match for illegal expression it immediately drops parsing the whole language altogether.
+
+
+excludeBegin, excludeEnd
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+**type**: boolean
+
+Exclude beginning or ending lexemes out of mode's generated markup. For example in CSS syntax a rule ends with a semicolon.
+However visually it's better not to color it as the rule contents. Having ``excludeEnd: true`` forces a ```` element for the rule to close before the semicolon.
+
+
+returnBegin
+^^^^^^^^^^^
+
+**type**: boolean
+
+Returns just found beginning lexeme back into parser. This is used when beginning of a sub-mode is a complex expression
+that should not only be found within a parent mode but also parsed according to the rules of a sub-mode.
+
+Since the parser is effectively goes back it's quite possible to create a infinite loop here so use with caution!
+
+
+returnEnd
+^^^^^^^^^
+
+**type**: boolean
+
+Returns just found ending lexeme back into parser. This is used for example to parse Javascript embedded into HTML.
+A Javascript block ends with the HTML closing tag ```` that cannot be parsed with Javascript rules.
+So it is returned back into its parent HTML mode that knows what to do with it.
+
+Since the parser is effectively goes back it's quite possible to create a infinite loop here so use with caution!
+
+
+contains
+^^^^^^^^
+
+**type**: array
+
+The list of sub-modes that can be found inside the mode. For detailed explanation see :doc:`Language definition guide `.
+
+
+starts
+^^^^^^
+
+**type**: identifier
+
+The name of the mode that will start right after the current mode ends. The new mode won't be contained within the current one.
+
+Currently this attribute is used to highlight Javascript and CSS contained within HTML.
+Tags ``