├── .circleci └── config.yml ├── .editorconfig ├── .gitignore ├── .postcssrc.js ├── BUILDING_PLAYPEN.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── babel.config.js ├── docs ├── css │ ├── 2.6b34196b.css │ ├── app.d6a215df.css │ └── vendor.70fd9232.css ├── fonts │ ├── KFOkCnqEu92Fr1MmgVxIIzQ.9391e6e2.woff │ ├── KFOlCnqEu92Fr1MmEU9fBBc-.ddd11dab.woff │ ├── KFOlCnqEu92Fr1MmSU5fBBc-.877b9231.woff │ ├── KFOlCnqEu92Fr1MmWUlfBBc-.0344cc3c.woff │ ├── KFOlCnqEu92Fr1MmYUtfBBc-.b555d228.woff │ ├── KFOmCnqEu92Fr1Mu4mxM.9b78ea3b.woff │ ├── fa-brands-400.329a95a9.woff │ ├── fa-brands-400.c1210e5e.woff2 │ ├── fa-regular-400.36722648.woff │ ├── fa-regular-400.68c5af1f.woff2 │ ├── fa-solid-900.ada6e6df.woff2 │ ├── fa-solid-900.c6ec0800.woff │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNa.61bf3cad.woff │ └── flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.72dc569a.woff2 ├── index.html ├── js │ ├── 2.79dbe49e.js │ ├── 3.e0d67eb2.js │ ├── 4.ebfd2b0a.js │ ├── app.b65c9e02.js │ └── vendor.8ed2e86a.js ├── tymly-128.png ├── tymly-16.png ├── tymly-192.png ├── tymly-256.png ├── tymly-32.png ├── tymly-384.png ├── tymly-512.png └── wmfs │ ├── happy-people.jpg │ └── pizza.jpg ├── package.json ├── public ├── tymly-128.png ├── tymly-16.png ├── tymly-192.png ├── tymly-256.png ├── tymly-32.png ├── tymly-384.png ├── tymly-512.png └── wmfs │ ├── happy-people.jpg │ └── pizza.jpg ├── quasar.conf.js ├── quasar.extensions.json ├── readme-assets ├── card-texture.jpg ├── playpen.png └── src │ ├── card-texture-fireworks.png │ └── playpen-fireworks.png └── src ├── App.vue ├── assets ├── sad.svg └── tymly-light.svg ├── boot ├── .gitkeep └── vuelidate.js ├── components ├── .gitkeep ├── Cardscript.vue └── cardscript-quasar-components.js ├── css ├── app.styl └── quasar.variables.styl ├── index.template.html ├── layouts └── Layout.vue ├── pages ├── Error404.vue └── Index.vue └── router ├── index.js └── routes.js /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | build: 4 | docker: 5 | - image: cimg/node:lts 6 | auth: 7 | username: $DOCKERHUB_USERNAME 8 | password: $DOCKERHUB_PASSWORD 9 | environment: 10 | TZ: "Europe/London" 11 | working_directory: ~/repo 12 | steps: 13 | - checkout 14 | - restore_cache: 15 | keys: 16 | - v1-deps-{{ checksum "package.json" }} 17 | - v1-deps- 18 | - run: 19 | name: install 20 | command: | 21 | npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN 22 | npm install 23 | - save_cache: 24 | key: v1-deps-{{ checksum "package.json" }} 25 | paths: 26 | - node_modules 27 | - run: 28 | name: Build playpen 29 | command: npm run build 30 | - run: 31 | name: Deploy to Github Pages 32 | command: | 33 | git config --global user.name "$GIT_COMMITTER_NAME" 34 | git config --global user.email "$GIT_COMMITTER_EMAIL" 35 | git remote set-url origin https://${GIT_COMMITTER_NAME}:${GH_TOKEN}@github.com/wmfs/cardscript.git 36 | git checkout master 37 | git add docs 38 | git commit -m "feat: rebuild Cardscript playpen [skip ci]" 39 | git push 40 | workflows: 41 | version: 2 42 | build & deploy: 43 | jobs: 44 | - build: 45 | context: 46 | - docker-hub-creds 47 | - build-env-vars 48 | filters: 49 | branches: 50 | only: master 51 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .quasar 2 | .DS_Store 3 | .thumbs.db 4 | node_modules 5 | /dist 6 | /src-cordova/node_modules 7 | /src-cordova/platforms 8 | /src-cordova/plugins 9 | /src-cordova/www 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | 14 | # Editor directories and files 15 | .idea 16 | .vscode 17 | *.suo 18 | *.ntvs* 19 | *.njsproj 20 | *.sln 21 | 22 | package-lock.json 23 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /BUILDING_PLAYPEN.md: -------------------------------------------------------------------------------- 1 | 2 | # How to build the playpen 3 | 4 | ## Installing 5 | 6 | ``` bash 7 | npm install 8 | ``` 9 | 10 | You'll need to link the various Cardscript packages. 11 | First, change directories to where your Cardscript packages can be found, e.g. 12 | 13 | ``` bash 14 | cd \development\tymly\cardscript 15 | ``` 16 | 17 | Now we need to link all those: 18 | 19 | ``` bash 20 | cd cardscript-examples 21 | npm link 22 | cd .. 23 | cd cardscript-extract-defaults 24 | npm link 25 | cd .. 26 | cd cardscript-extract-lists 27 | npm link 28 | cd .. 29 | cd cardscript-parser 30 | npm link 31 | cd .. 32 | cd cardscript-schema 33 | npm link 34 | cd .. 35 | cd cardscript-table-of-contents 36 | npm link 37 | cd .. 38 | cd cardscript-to-quasar 39 | npm link 40 | cd .. 41 | cd cardscript-to-vuelidate 42 | npm link 43 | cd .. 44 | cd cardscript-vue-sdk 45 | npm link 46 | cd .. 47 | ``` 48 | 49 | 50 | Then change directories back here: 51 | 52 | ``` bash 53 | cd \development\cardscript 54 | ``` 55 | 56 | And link it all in: 57 | 58 | ``` bash 59 | npm link @wmfs/cardscript-examples 60 | npm link @wmfs/cardscript-extract-defaults 61 | npm link @wmfs/cardscript-extract-lists 62 | npm link @wmfs/cardscript-parser 63 | npm link @wmfs/cardscript-schema 64 | npm link @wmfs/cardscript-table-of-contents 65 | npm link @wmfs/cardscript-to-quasar 66 | npm link @wmfs/cardscript-to-vuelidate 67 | npm link @wmfs/cardscript-vue-sdk 68 | ``` 69 | 70 | 71 | And then build... 72 | 73 | ``` 74 | npm run build 75 | ``` 76 | 77 | * Note: Make sure you have git-added any newly generated files. 78 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at tymly@wmfs.net. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | When contributing to this repository, please first discuss the change you wish to make via issue, 4 | email, or any other method with the owners of this repository before making a change. 5 | 6 | Please note we have a code of conduct, please follow it in all your interactions with the project. 7 | 8 | ## Pull Request Process 9 | 10 | 1. Ensure any install or build dependencies are removed before the end of the layer when doing a 11 | build. 12 | 2. Update the README.md (in the respective package, plugin or tool) with details of changes to the interface, this includes new environment 13 | variables, exposed ports, useful file locations and container parameters. 14 | 3. __Do not__ increase any version numbers in any `package.json` file. We will use the [Lerna](https://lernajs.io/) multi-repository tool to handle versioning. 15 | 4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you 16 | do not have permission to do that, you may request the second reviewer to merge it for you. 17 | 5. Note we use [Standard JS](https://standardjs.com/) for our code style 18 | 19 | ## Code of Conduct 20 | 21 | ### Our Pledge 22 | 23 | In the interest of fostering an open and welcoming environment, we as 24 | contributors and maintainers pledge to making participation in our project and 25 | our community a harassment-free experience for everyone, regardless of age, body 26 | size, disability, ethnicity, gender identity and expression, level of experience, 27 | nationality, personal appearance, race, religion, or sexual identity and 28 | orientation. 29 | 30 | ### Our Standards 31 | 32 | Examples of behavior that contributes to creating a positive environment 33 | include: 34 | 35 | * Using welcoming and inclusive language 36 | * Being respectful of differing viewpoints and experiences 37 | * Gracefully accepting constructive criticism 38 | * Focusing on what is best for the community 39 | * Showing empathy towards other community members 40 | 41 | Examples of unacceptable behavior by participants include: 42 | 43 | * The use of sexualized language or imagery and unwelcome sexual attention or 44 | advances 45 | * Trolling, insulting/derogatory comments, and personal or political attacks 46 | * Public or private harassment 47 | * Publishing others' private information, such as a physical or electronic 48 | address, without explicit permission 49 | * Other conduct which could reasonably be considered inappropriate in a 50 | professional setting 51 | 52 | ### Our Responsibilities 53 | 54 | Project maintainers are responsible for clarifying the standards of acceptable 55 | behavior and are expected to take appropriate and fair corrective action in 56 | response to any instances of unacceptable behavior. 57 | 58 | Project maintainers have the right and responsibility to remove, edit, or 59 | reject comments, commits, code, wiki edits, issues, and other contributions 60 | that are not aligned to this Code of Conduct, or to ban temporarily or 61 | permanently any contributor for other behaviors that they deem inappropriate, 62 | threatening, offensive, or harmful. 63 | 64 | ### Scope 65 | 66 | This Code of Conduct applies both within project spaces and in public spaces 67 | when an individual is representing the project or its community. Examples of 68 | representing a project or community include using an official project e-mail 69 | address, posting via an official social media account, or acting as an appointed 70 | representative at an online or offline event. Representation of a project may be 71 | further defined and clarified by project maintainers. 72 | 73 | ### Enforcement 74 | 75 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 76 | reported by contacting the project team at tymly@wmfs.net. All 77 | complaints will be reviewed and investigated and will result in a response that 78 | is deemed necessary and appropriate to the circumstances. The project team is 79 | obligated to maintain confidentiality with regard to the reporter of an incident. 80 | Further details of specific enforcement policies may be posted separately. 81 | 82 | Project maintainers who do not follow or enforce the Code of Conduct in good 83 | faith may face temporary or permanent repercussions as determined by other 84 | members of the project's leadership. 85 | 86 | ### Attribution 87 | 88 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 89 | available at [http://contributor-covenant.org/version/1/4][version] 90 | 91 | [homepage]: http://contributor-covenant.org 92 | [version]: http://contributor-covenant.org/version/1/4/ 93 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2019 West Midlands Fire Service 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![Card texture by Brandi Redd on Unsplash.com](/readme-assets/card-texture.jpg) 2 | 3 | # Cardscript 4 | 5 | **A JSON-based language for describing rich user interfaces.** 6 | 7 | ## Playpen 8 | 9 | If you're interested in getting hands-on with Cardscript, be sure to try out the **[Cardscript playpen](https://wmfs.github.io/cardscript/)**! :video_game: 10 | 11 | [![Screenshot of the Cardscript Playpen](/readme-assets/playpen.png)](https://wmfs.github.io/cardscript/) 12 | 13 | 14 | ## Features 15 | 16 | * Describe the content you need using a rich vocabulary of [elements](https://wmfs.github.io/tymly-website/reference/#elements). 17 | * Cardscript's simple and intuitive [JSON](https://www.w3schools.com/js/js_json_intro.asp)-based language plays nicely with drag-and-drop tooling and [Low Code](https://en.wikipedia.org/wiki/Low-code_development_platform) aspirations. 18 | * Cardscript extends the open [Adaptive Cards](https://adaptivecards.io) specification by Microsoft. Cards usable in [Teams](https://products.office.com/en-US/microsoft-teams/group-chat-software), [Skype](https://www.skype.com/en/), [Outlook](https://docs.microsoft.com/en-us/outlook/actionable-messages/) etc. can be rendered in Cardscript-powered apps. 19 | * Importantly, Cardscript can be used independently of any frontend technology or vendor (including Microsoft). 20 | * Mark content for dynamic visibility using intuitive JavaScript expressions. 21 | * Define complex validation rules. 22 | * Support for nested user interfaces. 23 | * Deep integration with host apps via a set of extensible [actions](https://wmfs.github.io/tymly-website/reference/#actions). 24 | * A set of open source JavaScript utilities are available: 25 | * Cardscript Schema [validation](https://github.com/wmfs/cardscript-schema) (via a [JSON Schema](https://github.com/wmfs/cardscript-schema/blob/master/lib/schema.json)) and [parsing](https://github.com/wmfs/cardscript-parser). 26 | * [Table-of-Contents](https://github.com/wmfs/cardscript-table-of-contents) generation. 27 | * [List](https://github.com/wmfs/cardscript-extract-lists) and [default-value](https://github.com/wmfs/cardscript-extract-defaults) extrication. 28 | * Are you using [JSON Schema](https://json-schema.org/understanding-json-schema/index.html) to define the shape of your data? We've a [utility](https://github.com/wmfs/json-schema-to-cardscript) that can scaffold Cardscript straight from a data schema. 29 | * Maybe you're using [Vue.js](https://vuejs.org/) to build your apps? We've [another tool](https://github.com/wmfs/cardscript-to-quasar) to take Cardscript JSON and output a Vue/[Quasar](https://quasar-framework.org/) template. This package powers the [online playpen](https://wmfs.github.io/cardscript/). 30 | 31 | ## Documentation 32 | 33 | Please visit the **[Cardscript Reference](https://wmfs.github.io/tymly-website/reference/#cardscript)** for full details of Cardscript [containers](https://wmfs.github.io/tymly-website/reference/#containers), [elements](https://wmfs.github.io/tymly-website/reference/#elements), [inputs](https://wmfs.github.io/tymly-website/reference/#inputs) and [actions](https://wmfs.github.io/tymly-website/reference/#actions). 34 | 35 | ## License 36 | 37 | [__MIT__](https://github.com/wmfs/cardscript/blob/master/LICENSE) 38 | 39 | ------------ 40 | 41 | *Built with* :heart: *at [West Midlands Fire Service](https://www.wmfs.net/)* 42 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@quasar/babel-preset-app' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /docs/css/2.6b34196b.css: -------------------------------------------------------------------------------- 1 | .video-js{width:100%}.code{font-family:monospace,monospace;font-size:1em;background-color:#272822!important}.q-tab-panel{height:84vh!important;overflow-y:scroll}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#272822}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}@media only screen and (max-width:434px){#none-mobile{display:none}}@media only screen and (max-width:767px){#vue-bulma-editor{height:300px!important}#instructions{padding:24px!important;text-align:initial!important}}@media only screen and (max-width:593px){.footer-text{font-size:12px}} -------------------------------------------------------------------------------- /docs/css/app.d6a215df.css: -------------------------------------------------------------------------------- 1 | .blockquote{padding:8px 16px;margin:0;border-left:4px solid var(--q-color-primary)}.item-label{cursor:pointer;color:#005ea5;text-decoration:underline;font-weight:700;font-size:larger} -------------------------------------------------------------------------------- /docs/fonts/KFOkCnqEu92Fr1MmgVxIIzQ.9391e6e2.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/KFOkCnqEu92Fr1MmgVxIIzQ.9391e6e2.woff -------------------------------------------------------------------------------- /docs/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.ddd11dab.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.ddd11dab.woff -------------------------------------------------------------------------------- /docs/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.877b9231.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.877b9231.woff -------------------------------------------------------------------------------- /docs/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.0344cc3c.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.0344cc3c.woff -------------------------------------------------------------------------------- /docs/fonts/KFOlCnqEu92Fr1MmYUtfBBc-.b555d228.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/KFOlCnqEu92Fr1MmYUtfBBc-.b555d228.woff -------------------------------------------------------------------------------- /docs/fonts/KFOmCnqEu92Fr1Mu4mxM.9b78ea3b.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/KFOmCnqEu92Fr1Mu4mxM.9b78ea3b.woff -------------------------------------------------------------------------------- /docs/fonts/fa-brands-400.329a95a9.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/fa-brands-400.329a95a9.woff -------------------------------------------------------------------------------- /docs/fonts/fa-brands-400.c1210e5e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/fa-brands-400.c1210e5e.woff2 -------------------------------------------------------------------------------- /docs/fonts/fa-regular-400.36722648.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/fa-regular-400.36722648.woff -------------------------------------------------------------------------------- /docs/fonts/fa-regular-400.68c5af1f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/fa-regular-400.68c5af1f.woff2 -------------------------------------------------------------------------------- /docs/fonts/fa-solid-900.ada6e6df.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/fa-solid-900.ada6e6df.woff2 -------------------------------------------------------------------------------- /docs/fonts/fa-solid-900.c6ec0800.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/fa-solid-900.c6ec0800.woff -------------------------------------------------------------------------------- /docs/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.61bf3cad.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.61bf3cad.woff -------------------------------------------------------------------------------- /docs/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.72dc569a.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/docs/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.72dc569a.woff2 -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | Cardscript
-------------------------------------------------------------------------------- /docs/js/2.79dbe49e.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{1:function(t,e){},2:function(t,e){},3:function(t,e){},"51a4":function(t,e,a){var s={"./abap":"c029","./abap.js":"c029","./abc":"1cd0","./abc.js":"1cd0","./actionscript":"cdaf","./actionscript.js":"cdaf","./ada":"5f25","./ada.js":"5f25","./apache_conf":"501f","./apache_conf.js":"501f","./applescript":"d4df","./applescript.js":"d4df","./asciidoc":"b8c5","./asciidoc.js":"b8c5","./assembly_x86":"8e9c","./assembly_x86.js":"8e9c","./autohotkey":"cd51","./autohotkey.js":"cd51","./batchfile":"4047","./batchfile.js":"4047","./bro":"d5b4","./bro.js":"d5b4","./c9search":"f796","./c9search.js":"f796","./c_cpp":"ac36","./c_cpp.js":"ac36","./cirru":"a0b2","./cirru.js":"a0b2","./clojure":"aa44","./clojure.js":"aa44","./cobol":"e3a1","./cobol.js":"e3a1","./coffee":"b112","./coffee.js":"b112","./coldfusion":"cf98","./coldfusion.js":"cf98","./csharp":"a771","./csharp.js":"a771","./css":"2e42","./css.js":"2e42","./curly":"7acf","./curly.js":"7acf","./d":"dbe6","./d.js":"dbe6","./dart":"7f37","./dart.js":"7f37","./diff":"9d18","./diff.js":"9d18","./django":"6694","./django.js":"6694","./dockerfile":"854b","./dockerfile.js":"854b","./dot":"7459","./dot.js":"7459","./drools":"ef70","./drools.js":"ef70","./eiffel":"04f7","./eiffel.js":"04f7","./ejs":"f82b","./ejs.js":"f82b","./elixir":"8dc7","./elixir.js":"8dc7","./elm":"646d","./elm.js":"646d","./erlang":"d8e0","./erlang.js":"d8e0","./forth":"0a43","./forth.js":"0a43","./fortran":"91ed","./fortran.js":"91ed","./ftl":"5bb8","./ftl.js":"5bb8","./gcode":"2672","./gcode.js":"2672","./gherkin":"9cc9","./gherkin.js":"9cc9","./gitignore":"c137","./gitignore.js":"c137","./glsl":"2077","./glsl.js":"2077","./gobstones":"d5a2","./gobstones.js":"d5a2","./golang":"24c7","./golang.js":"24c7","./groovy":"1daf","./groovy.js":"1daf","./haml":"5aad","./haml.js":"5aad","./handlebars":"80f7","./handlebars.js":"80f7","./haskell":"064b","./haskell.js":"064b","./haskell_cabal":"3456","./haskell_cabal.js":"3456","./haxe":"e855","./haxe.js":"e855","./hjson":"bb39","./hjson.js":"bb39","./html":"1f0d","./html.js":"1f0d","./html_elixir":"e113","./html_elixir.js":"e113","./html_ruby":"8d6b","./html_ruby.js":"8d6b","./ini":"cf1e","./ini.js":"cf1e","./io":"0dbce","./io.js":"0dbce","./jack":"e468","./jack.js":"e468","./jade":"4acf","./jade.js":"4acf","./java":"b857","./java.js":"b857","./javascript":"175e","./javascript.js":"175e","./json":"8ff6","./json.js":"8ff6","./jsoniq":"44be","./jsoniq.js":"44be","./jsp":"45b3","./jsp.js":"45b3","./jsx":"3ac3","./jsx.js":"3ac3","./julia":"5fe6","./julia.js":"5fe6","./kotlin":"6915","./kotlin.js":"6915","./latex":"0cab","./latex.js":"0cab","./lean":"4651","./lean.js":"4651","./less":"e8d6","./less.js":"e8d6","./liquid":"83c7","./liquid.js":"83c7","./lisp":"0076","./lisp.js":"0076","./live_script":"7df9","./live_script.js":"7df9","./livescript":"9a63","./livescript.js":"9a63","./logiql":"6dce","./logiql.js":"6dce","./lsl":"6ae1","./lsl.js":"6ae1","./lua":"70ff","./lua.js":"70ff","./luapage":"607d","./luapage.js":"607d","./lucene":"bd79","./lucene.js":"bd79","./makefile":"9ec8","./makefile.js":"9ec8","./markdown":"31fa","./markdown.js":"31fa","./mask":"0dff","./mask.js":"0dff","./matlab":"8d57","./matlab.js":"8d57","./mavens_mate_log":"6117","./mavens_mate_log.js":"6117","./maze":"6704","./maze.js":"6704","./mel":"d70c","./mel.js":"d70c","./mips_assembler":"1046","./mips_assembler.js":"1046","./mipsassembler":"0238","./mipsassembler.js":"0238","./mushcode":"2a61","./mushcode.js":"2a61","./mysql":"a805","./mysql.js":"a805","./nix":"aeea","./nix.js":"aeea","./nsis":"f38e","./nsis.js":"f38e","./objectivec":"b8f0","./objectivec.js":"b8f0","./ocaml":"57cd","./ocaml.js":"57cd","./pascal":"e0f4","./pascal.js":"e0f4","./perl":"6922","./perl.js":"6922","./pgsql":"dd72","./pgsql.js":"dd72","./php":"f109","./php.js":"f109","./plain_text":"5551","./plain_text.js":"5551","./powershell":"0a33","./powershell.js":"0a33","./praat":"7554","./praat.js":"7554","./prolog":"5af0","./prolog.js":"5af0","./properties":"a94e","./properties.js":"a94e","./protobuf":"ecf4","./protobuf.js":"ecf4","./python":"eb3a","./python.js":"eb3a","./r":"c8a7","./r.js":"c8a7","./razor":"8c99","./razor.js":"8c99","./rdoc":"8685","./rdoc.js":"8685","./rhtml":"1f78","./rhtml.js":"1f78","./rst":"11bb","./rst.js":"11bb","./ruby":"5c6a","./ruby.js":"5c6a","./rust":"401f","./rust.js":"401f","./sass":"a446","./sass.js":"a446","./scad":"6131","./scad.js":"6131","./scala":"51e9","./scala.js":"51e9","./scheme":"fb8e","./scheme.js":"fb8e","./scss":"599b","./scss.js":"599b","./sh":"5267","./sh.js":"5267","./sjs":"cc5f","./sjs.js":"cc5f","./smarty":"bf87","./smarty.js":"bf87","./snippets":"9bfa","./snippets.js":"9bfa","./soy_template":"bf8f","./soy_template.js":"bf8f","./space":"1ced","./space.js":"1ced","./sql":"c5a6","./sql.js":"c5a6","./sqlserver":"ce76","./sqlserver.js":"ce76","./stylus":"dfb6","./stylus.js":"dfb6","./svg":"75b3","./svg.js":"75b3","./swift":"dcde","./swift.js":"dcde","./swig":"ce5b","./swig.js":"ce5b","./tcl":"7b3a","./tcl.js":"7b3a","./tex":"eae4","./tex.js":"eae4","./text":"36a1","./text.js":"36a1","./textile":"a041","./textile.js":"a041","./toml":"790e","./toml.js":"790e","./tsx":"577e","./tsx.js":"577e","./twig":"341a","./twig.js":"341a","./typescript":"02be","./typescript.js":"02be","./vala":"64c7","./vala.js":"64c7","./vbscript":"2809","./vbscript.js":"2809","./velocity":"69d5","./velocity.js":"69d5","./verilog":"fc42","./verilog.js":"fc42","./vhdl":"5a17","./vhdl.js":"5a17","./wollok":"7cf4","./wollok.js":"7cf4","./xml":"2459","./xml.js":"2459","./xquery":"e6a4","./xquery.js":"e6a4","./yaml":"ec3d","./yaml.js":"ec3d"};function i(t){var e=n(t);return a(e)}function n(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=n,t.exports=i,i.id="51a4"},8041:function(t,e,a){"use strict";a("d924")},"8b24":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("q-page",[s("q-header",[s("q-toolbar",[s("img",{staticStyle:{"max-width":"32px"},attrs:{src:a("a3a1")}}),s("q-toolbar-title",[t._v("\n Cardscript Playpen\n ")]),s("q-icon",{staticClass:"cursor-pointer q-mr-md",attrs:{name:"fab fa-github",size:"18pt"},nativeOn:{click:function(e){return t.goGithub(e)}}}),s("q-icon",{staticClass:"cursor-pointer",attrs:{name:"fab fa-twitter",size:"18pt"},nativeOn:{click:function(e){return t.goTwitter(e)}}})],1)],1),s("div",{staticClass:"row",staticStyle:{"max-height":"calc(100vh - 100px)","min-height":"calc(100vh - 100px)"}},[s("div",{staticClass:"col-xs-12 col-md-6"},[s("brace",{staticStyle:{height:"100%",width:"100%"},attrs:{fontsize:"12px",theme:"monokai",mode:"json",codefolding:"markbegin",softwrap:"free",selectionstyle:"text",highlightline:""},on:{"code-change":t.codeChange}})],1),s("div",{staticClass:"col-xs-12 col-md-6"},["invalid"===t.validation.state?s("div",t._l(t.validation.errors,(function(e,a){return s("q-banner",{key:a,staticClass:"bg-negative"},[t._v("\n "+t._s(e)+"\n ")])})),1):t._e(),"notValidated"===t.validation.state?s("div",{staticStyle:{padding:"96px","text-align":"justify"},attrs:{id:"instructions"}},[s("div",{staticClass:"text-h4 text-weight-light"},[t._v("\n Use the editor to write some Cardscript JSON, then hit the refresh button to turn it into a UI!\n ")]),s("div",{attrs:{id:"none-mobile"}},[s("hr",{staticClass:"q-my-lg"}),s("div",{staticClass:"text-h6 text-weight-light q-mt-sm"},[t._v("\n Try one of these examples to get started quickly:\n ")]),s("q-btn-dropdown",{staticClass:"q-mr-sm q-mt-sm",attrs:{label:"Examples",outline:""}},[s("q-list",{attrs:{link:""}},t._l(t.exampleOpts,(function(e){return s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],key:e.value,attrs:{clickable:""},nativeOn:{click:function(a){return t.setExampleContent(e.value)}}},[s("q-item-section",[s("q-item-label",[t._v(t._s(e.label))])],1)],1)})),1)],1)],1)]):t._e(),"valid"===t.validation.state?s("div",[s("q-tabs",{staticClass:"text-grey",attrs:{align:"justify","active-color":"primary","indicator-color":"primary","narrow-indicator":"",dense:""},model:{value:t.tabIndex,callback:function(e){t.tabIndex=e},expression:"tabIndex"}},[s("q-tab",{attrs:{name:"card-tab",label:"Card"}}),s("q-tab",{attrs:{name:"model-tab",label:"Model"}}),s("q-tab",{attrs:{name:"template-tab",label:"Template"}}),s("q-tab",{attrs:{name:"info-tab",label:"Info"}})],1),s("q-tab-panels",{model:{value:t.tabIndex,callback:function(e){t.tabIndex=e},expression:"tabIndex"}},[s("q-tab-panel",{attrs:{name:"card-tab"}},[s("div",{staticClass:"blockquote"},[t._v("\n This is a simple rendering of the parsed Cardscript. Note that this is only meant to be a basic\n illustration of typical web usage, your app is free to interpret Cardscript and conjure a UI in\n any way\n you see fit!\n ")]),t.dynamicContent.toc.length>0?s("q-list",{staticClass:"q-mt-md",attrs:{highlight:""}},t._l(t.dynamicContent.toc,(function(e){return s("q-item",{key:e.elementId,staticClass:"cursor-pointer",nativeOn:{click:function(a){return t.tocClick(e.elementId)}}},[s("q-item-section",{attrs:{side:"",left:""}},[s("q-icon",{attrs:{name:e.tocIcon}})],1),s("q-item-section",[s("q-item-label",[t._v(t._s(e.tocTitle))])],1)],1)})),1):t._e(),s("q-card",{staticClass:"q-mt-md q-mb-xl"},[s("q-card-section",[s("cardscript",{attrs:{content:t.dynamicContent},on:{OpenURL:t.onOpenURL,Submit:t.onSubmit,ShowCard:t.onShowCard,InputAddress:t.onInputAddress,InputApiLookup:t.onInputApiLookup,ClearDate:t.onClearDate,ClearListSelection:t.onClearListSelection,TreeSelectAll:t.onTreeSelectAll,TreeClearSelection:t.onTreeClearSelection}})],1)],1)],1),s("q-tab-panel",{attrs:{name:"model-tab"}},[s("div",{staticClass:"blockquote"},[t._v("\n This is the underlying data model for the card (default values were inferred from the Cardscript\n using the\n "),s("a",{attrs:{href:"https://github.com/wmfs/cardscript-extract-defaults"}},[t._v("cardscript-extract-defaults")]),t._v("\n package).\n Be sure to check back here as you change input fields to see the model change!\n ")]),s("q-input",{staticClass:"q-mt-md q-pa-sm bg-dark code",attrs:{type:"textarea",readonly:"",value:t._f("pretty")(t.dynamicContent.data),"max-height":300,rows:"10",dark:""}})],1),s("q-tab-panel",{attrs:{name:"template-tab"}},[s("div",{staticClass:"blockquote"},[t._v("\n The content below has been produced using the "),s("a",{attrs:{href:"https://github.com/wmfs/cardscript-to-quasar"}},[t._v("cardscript-to-quasar")]),t._v("\n and\n "),s("a",{attrs:{href:"https://github.com/wmfs/cardscript-extract-lists"}},[t._v("cardscript-extract-lists")]),t._v("\n packages. Here we've configured things to output in a Vue.js style, but Angular and React\n templates\n can\n be generated too!\n ")]),s("div",{staticClass:"text-h4 q-my-md"},[t._v("Quasar Template")]),s("q-input",{staticClass:"q-mt-md q-pa-sm bg-dark code",attrs:{type:"textarea",readonly:"",value:t.dynamicContent.quasarTemplate,"max-height":300,rows:"10",dark:""}}),s("div",{staticClass:"text-h4 q-my-md"},[t._v("Lists")]),s("q-input",{staticClass:"q-mt-md q-pa-sm bg-dark code",attrs:{type:"textarea",readonly:"",value:t._f("pretty")(t.dynamicContent.lists),"max-height":300,rows:"10",dark:""}})],1),s("q-tab-panel",{attrs:{name:"info-tab"}},[s("div",{staticClass:"text-h4 q-my-md"},[t._v("Performance")]),s("p",[t._v("\n This playpen is working with raw Cardscript (parsing, validating and transforming).\n Most apps wouldn't need to do that kind of heavy lifting in the client.\n As such, the rendering times inside the playpen are higher than usual... this is where all the\n time just went:\n ")]),s("q-list",{attrs:{bordered:""}},[t._l(t.dynamicContent.times,(function(e,a){return s("q-item",{key:a},[s("q-item-section",[s("q-item-label",[t._v("\n "+t._s(e.label)+"\n ")])],1),s("q-item-section",{attrs:{side:"",right:""}},[s("q-item-label",[t._v(t._s(e.duration)+"ms")]),s("q-item-label",[t._v(t._s(e.percentage)+"%")])],1)],1)})),s("q-item-separator"),s("q-item",[s("q-item-section",[s("q-item-label",[t._v("\n Total\n ")])],1),s("q-item-section",{attrs:{side:"",right:""}},[s("q-item-label",[t._v(t._s(t.dynamicContent.totalTime)+"ms")])],1)],1)],2),s("div",{staticClass:"text-h4 q-my-md"},[t._v("Internals")]),s("p",[t._v("\n Here are some of the internal workings (for managing dialog states and card lists especially)\n ")]),s("q-input",{staticClass:"q-mt-md q-pa-sm bg-dark code",attrs:{type:"textarea",readonly:"",value:t._f("pretty")(t.dynamicContent.internals),"max-height":300,rows:"10",dark:""}})],1)],1)],1):t._e()])]),s("q-footer",[s("q-toolbar",[s("div",{staticClass:"col"},[s("q-btn-dropdown",{staticClass:"q-mr-sm",attrs:{label:"Examples",outline:"","text-color":"white"}},[s("q-list",{attrs:{link:""}},t._l(t.exampleOpts,(function(e){return s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],key:e.value,attrs:{clickable:""},nativeOn:{click:function(a){return t.setExampleContent(e.value)}}},[s("q-item-section",[s("q-item-label",[t._v(t._s(e.label))])],1)],1)})),1)],1)],1),s("div",{staticClass:"col footer-text text-right text-weight-thin"},[t._v("Built with ♡ at West Midlands Fire Service")])])],1),s("div",{staticStyle:{position:"fixed",bottom:"18px",right:"18px","text-align":"right"}},[s("q-btn",{staticStyle:{bottom:"50px","margin-right":"10px"},attrs:{round:"",color:"primary",icon:"clear",size:"lg"},on:{click:t.clear}},[s("q-tooltip",[t._v("Clear")])],1),s("q-btn",{staticStyle:{bottom:"50px"},attrs:{round:"",color:"positive",icon:"refresh",size:"lg"},on:{click:t.renderCardscript}},[s("q-tooltip",[t._v("Refresh")])],1)],1)],1)},i=[],n=(a("ddb0"),a("498a"),a("13d5"),a("b178")),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a(t.uiTemplate,{tag:"component"})],1)},r=[],o=a("ded3"),c=a.n(o),d=a("05e8"),g=a.n(d),u=(a("fda2"),a("d6d3")),m=a("2169"),j=a("e9e5"),p={QLayout:n["z"],QHeader:n["t"],QFooter:n["s"],QDrawer:n["o"],QPageContainer:n["E"],QPage:n["D"],QToolbar:n["X"],QToolbarTitle:n["Y"],QBtn:n["d"],QIcon:n["u"],QList:n["A"],QItem:n["w"],QItemSection:n["y"],QCard:n["h"],QCardSection:n["j"],QCardActions:n["i"],QInput:n["v"],QSpinner:n["N"],QRadio:n["H"],QOptionGroup:n["C"],QDialog:n["n"],QField:n["r"],QSelect:n["J"],QToggle:n["W"],QChip:n["l"],QMenu:n["B"],QPagination:n["F"],QSlider:n["L"],QEditor:n["p"],QTable:n["R"],QDate:n["m"],QTime:n["V"],QBtnGroup:n["f"],QExpansionItem:n["q"],QCheckbox:n["k"],QTr:n["ab"],QTh:n["U"],QTd:n["T"],QSeparator:n["K"],QTabs:n["S"],QTab:n["O"],QTabPanel:n["P"],QTabPanels:n["Q"],QRouteTab:n["I"],QItemLabel:n["x"],QAvatar:n["b"],QBadge:n["c"],QPopupProxy:n["G"],QUploader:n["cb"],QBtnDropdown:n["e"],QTree:n["bb"],QSpace:n["M"],QTooltip:n["Z"],QBtnToggle:n["g"]};const{formatDate:b}=n["eb"];var C={name:"Cardscript",props:["content"],data(){const t=this,e=this.content;return{uiTemplate:{template:e.quasarTemplate,components:c()(c()({videoPlayer:u["videoPlayer"],VueSignaturePad:m["a"],QMap:j["a"]},j["a"].components),p),validations:{data:e.validations},data(){return{data:e.data,lists:e.lists,internals:e.internals,invalidFields:{}}},filters:{replaceWithTitle(t,e){return t?e[t]:""}},methods:{formatDate:b,resizeSignatureModal({id:t,dataPath:e}){this.$refs[`${t}SignaturePad`].resizeCanvas();const a=g.a.get(this,`${e}.${t}`);this.$refs[`${t}SignaturePad`].fromDataURL(a)},showSignatureModal({id:t,dataPath:e}){g.a.set(this,`${e}.${t}OpenModal`,!0)},clearSignature({id:t}){this.$refs[`${t}SignaturePad`].clearSignature()},undoSignature({id:t}){this.$refs[`${t}SignaturePad`].undoSignature()},saveSignature({id:t,dataPath:e}){const{data:a}=this.$refs[`${t}SignaturePad`].saveSignature();g.a.set(this,`${e}.${t}`,a),g.a.set(this,`${e}.${t}OpenModal`,!1)},parseTemplate(t){return t},openURL:n["gb"],createNewCardList(t){this.internals.currentCardListData[t]=this.internals.cardListDefaults[t]||{},this.internals.dialogControl[t]=!0},pushCardListContent(t){const e=this.internals.cardListParents[t],a=JSON.parse(JSON.stringify(this.internals.currentCardListData[t]));null===e?this.data[t].push(a):this.internals.currentCardListData[e][t].push(a),this.internals.dialogControl[t]=!1},removeCardListContent(t,e){const a=this.internals.cardListParents[t];null===a?this.data[t].splice(e,1):this.internals.currentCardListData[a][t].splice(e,1)},fileUploaded(t){console.log("fileUploaded",t)},fileUploadGetUrl(){console.log("fileUploadGetUrl")},fileUploadGetHeaders(){return console.log("fileUploadGetHeaders"),[]},action(e,a){t.$emit(e,a,this)}}}}}},h=C,M=(a("d910"),a("2877")),I=Object(M["a"])(h,l,r,!1,null,null,null),f=I.exports,A=a("429d"),w=a("061c"),y=a("b5ae");const N=a("2f05"),L=a("06c7"),v=a("408d"),T=a("ffbc"),x=a("6127"),D=a("a77a"),k=a("3a86"),z=a("b408").validateForm,S=a("b7a5");var O={name:"PageIndex",components:{Cardscript:f,Brace:A["a"]},data:function(){return{tabIndex:"card-tab",dynamicContent:_(),validation:{state:"notValidated",errors:[]},cardscript:JSON.stringify(D["blank"],null,2),exampleOpts:[{label:"Complex example",value:"complex"},{label:"Expression example",value:"expression"},{label:"Card List example",value:"cardList"},{label:"Simple example",value:"simple"},{label:"Basic problems example",value:"simpleFormWithBasicProblems"},{label:"Blank example",value:"blank"},{label:"Kitchen sink example",value:"kitchenSink"}]}},filters:{pretty:t=>JSON.stringify(t,null,2)},mounted(){if(this.editor=w["edit"]("vue-bulma-editor"),this.editor.session.setValue(this.cardscript),this.$route.query.example){const t=this.exampleOpts.find((t=>t.value===this.$route.query.example));t&&this.setExampleContent(t.value)}},methods:{onTreeClearSelection(t,e){g.a.set(e,t,[])},onTreeSelectAll(t,e){const a=g.a.get(e,t),s=[],i=t=>{for(const e of t)e.value&&s.push(e.value),e.children&&i(e.children)};i(a),g.a.set(e,t+"Selected",s)},onClearListSelection(t,e){g.a.set(e,t,[])},onClearDate({dataPath:t},e){g.a.set(e,t,null)},onInputApiLookup(t,e){console.log("onInputApiLookup",t)},onInputAddress(t,e){const a=g.a.get(e,`${t.dataPath}.${t.id}SearchFld`);a&&a.trim().length>0&&g.a.set(e,`${t.dataPath}.${t.id}SearchResults`,[{label:"1 Red Road ",value:"1"},{label:"2 Red Road ",value:"2"},{label:"3 Red Road ",value:"3"}])},onOpenURL(t){Object(n["gb"])(t.config.url)},onShowCard(t){console.log("show card",t),this.$q.notify({message:"Going to the other card.",type:"positive",position:"top"})},onSubmit(t,e){console.log("submit",t)},goGithub(){Object(n["gb"])("https://github.com/wmfs/cardscript")},goTwitter(){Object(n["gb"])("https://twitter.com/tymlyjs")},codeChange(t){this.cardscript=t},tocClick(t){const e=document.getElementById(t);e.scrollIntoView()},clear(){this.validation.state="notValidated",this.validation.errors=[],this.dynamicContent=_(),this.cardscript=JSON.stringify(D["blank"],null,2),this.editor.session.setValue(this.cardscript)},setExampleContent(t){this.cardscript=JSON.stringify(D[t],null,2),this.editor.session.setValue(this.cardscript),this.renderCardscript()},renderCardscript(){this.tabIndex="card-tab",this.$q.loading.show(),setTimeout((()=>{this.validation.state="notValidated",this.validation.errors=[],this.$nextTick((async()=>{try{if(0===this.cardscript.trim().length)throw new Error("You must enter some data.");const t=new q,e=await Q(this.cardscript,t);this.dynamicContent.quasarTemplate=e.quasarOutput.template,this.dynamicContent.data=e.defaultValues.rootView,this.dynamicContent.data.testData={actions:[{stateMachineName:"test_stateMachine_1_0",input:{},title:"Click me"},{stateMachineName:"test_stateMachine_1_0",input:{},title:"Go"}],facts:[{title:"Red",value:"red is the colour of fire"},{title:"Blue",value:"blue is the colour of the sky"},{title:"Green",value:"green is the colour of grass"}],table:[{name:"Jim",age:52},{name:"Jane",age:28},{name:"Joe",age:34}]},this.dynamicContent.internals=e.defaultInternals,this.dynamicContent.lists=e.lists,this.dynamicContent.toc=e.toc,this.dynamicContent.validations=e.validations,this.validation.state="valid",this.validation.errors=[],this.$nextTick((()=>{this.$q.loading.hide(),t.addTime("Finished"),this.dynamicContent.times=t.getResults(),this.dynamicContent.totalTime=t.getTotal()}))}catch(t){this.dynamicContent=_(),this.validation.state="invalid",this.validation.errors.push(t.message),this.$q.loading.hide()}}))}),20)}}};function _(){return{quasarTemplate:"",data:{},internals:{},lists:{},toc:[],times:{},totalTime:0,validations:{}}}async function Q(t,e){const a={};e.addTime("Parse string into object");const s=k(t);if(!s.parsed)throw new Error(s.errors[0].message);{const t=s.parsed;if(0===Object.keys(t).length)throw new Error("Cannot convert an empty object.");if(e.addTime("Validate object"),a.validatorOutput=z(t),!a.validatorOutput.elementsValid)throw new Error(`${a.validatorOutput.errors[0].property} ${a.validatorOutput.errors[0].message}`);e.addTime("Extract default values"),a.defaultValues=await L(t),e.addTime("Extract TOC"),a.toc=v(t),e.addTime("Extract lists"),a.lists=T(t),e.addTime("Calculate starting internals"),a.defaultInternals=x.getDefaultInternals(t),a.defaultInternals.cardListDefaults=a.defaultValues.cardLists,e.addTime("Generating Vuelidate validations"),a.validations=S(t,y),e.addTime("Generate template"),a.quasarOutput=N(t)}return a}class q{constructor(){this.times=[{label:"init",milliseconds:Date.now()}]}addTime(t){const e=this.times[this.times.length-1],a=Date.now();e.duration=a-e.milliseconds,this.times.push({label:t,milliseconds:a})}getResults(){const t=this.times.slice(1,-1);let e=0;return t.forEach((t=>{e+=t.duration})),t.forEach((t=>{t.percentage=(t.duration/e*100).toFixed(1)})),t}getTotal(){return this.times.map((t=>t.duration||0)).reduce(((t,e)=>t+e))}}var E=O,Y=(a("8041"),Object(M["a"])(E,s,i,!1,null,null,null));e["default"]=Y.exports},a3a1:function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjw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2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDowLjAyODUyNDE3IgogICAgICAgICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiIC8+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo="},a3f1:function(t,e,a){var s={"./ambiance":"f45e","./ambiance.js":"f45e","./chaos":"9f5d","./chaos.js":"9f5d","./chrome":"2b09","./chrome.js":"2b09","./clouds":"1dec","./clouds.js":"1dec","./clouds_midnight":"82f6","./clouds_midnight.js":"82f6","./cobalt":"ff2b","./cobalt.js":"ff2b","./crimson_editor":"21b8","./crimson_editor.js":"21b8","./dawn":"f398","./dawn.js":"f398","./dreamweaver":"94ce","./dreamweaver.js":"94ce","./eclipse":"543d","./eclipse.js":"543d","./github":"23df","./github.js":"23df","./idle_fingers":"a8053","./idle_fingers.js":"a8053","./iplastic":"ed47","./iplastic.js":"ed47","./katzenmilch":"db01","./katzenmilch.js":"db01","./kr_theme":"8c93","./kr_theme.js":"8c93","./kuroir":"bf3c","./kuroir.js":"bf3c","./merbivore":"806b","./merbivore.js":"806b","./merbivore_soft":"bbda","./merbivore_soft.js":"bbda","./mono_industrial":"7f16","./mono_industrial.js":"7f16","./monokai":"7f75","./monokai.js":"7f75","./pastel_on_dark":"21df","./pastel_on_dark.js":"21df","./solarized_dark":"bcee","./solarized_dark.js":"bcee","./solarized_light":"4755","./solarized_light.js":"4755","./sqlserver":"bff0","./sqlserver.js":"bff0","./terminal":"b74f","./terminal.js":"b74f","./textmate":"575d","./textmate.js":"575d","./tomorrow":"4900","./tomorrow.js":"4900","./tomorrow_night":"f5b0","./tomorrow_night.js":"f5b0","./tomorrow_night_blue":"941d","./tomorrow_night_blue.js":"941d","./tomorrow_night_bright":"879a","./tomorrow_night_bright.js":"879a","./tomorrow_night_eighties":"70d6","./tomorrow_night_eighties.js":"70d6","./twilight":"303e","./twilight.js":"303e","./vibrant_ink":"357e","./vibrant_ink.js":"357e","./xcode":"8dc1","./xcode.js":"8dc1"};function i(t){var e=n(t);return a(e)}function n(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=n,t.exports=i,i.id="a3f1"},d10c:function(t,e,a){},d910:function(t,e,a){"use strict";a("d10c")},d924:function(t,e,a){}}]); -------------------------------------------------------------------------------- /docs/js/3.e0d67eb2.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{c4e4:function(M,j){M.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjYuNyAxNjguOSIgd2lkdGg9IjE2Ni43IiBoZWlnaHQ9IjE2OC45IiBpc29sYXRpb249Imlzb2xhdGUiPjxkZWZzPjxjbGlwUGF0aD48cmVjdCB3aWR0aD0iMTY2LjciIGhlaWdodD0iMTY4LjkiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjX2NsaXBQYXRoX1BQUGlFY09SaFJTWXdvcEVFTm5hUkZ6emVZU1htd3R0KSI+PHBhdGggZD0iTTY1LjYgMTM1LjJDNjUuNiAxMzcuMSA2NC4xIDEzOC42IDYyLjIgMTM4LjYgNjAuNCAxMzguNiA1OC45IDEzNy4xIDU4LjkgMTM1LjIgNTguOSAxMzAuNyA2MS45IDEyNi43IDY2LjggMTI0IDcxLjEgMTIxLjYgNzcgMTIwLjEgODMuMyAxMjAuMSA4OS43IDEyMC4xIDk1LjYgMTIxLjYgOTkuOSAxMjQgMTA0LjcgMTI2LjcgMTA3LjggMTMwLjcgMTA3LjggMTM1LjIgMTA3LjggMTM3LjEgMTA2LjMgMTM4LjYgMTA0LjQgMTM4LjYgMTAyLjYgMTM4LjYgMTAxLjEgMTM3LjEgMTAxLjEgMTM1LjIgMTAxLjEgMTMzLjMg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OS43IDM0LjggOTYuNCAzNC44IDkyLjcgMzQuOCA4OSAzNi4yIDg1LjYgMzguNSA4My4yIDQwLjkgODAuNiA0NC4xIDc5LjEgNDcuNyA3OS4xIDUxLjMgNzkuMSA1NC41IDgwLjYgNTYuOSA4My4yWiIgZmlsbD0icmdiKDEsMjIsMzkpIiBmaWxsLW9wYWNpdHk9IjAuMiIvPjwvZz48L3N2Zz4K"},e51e:function(M,j,I){"use strict";I.r(j);var g=function(){var M=this,j=M.$createElement,I=M._self._c||j;return I("div",{staticClass:"fixed-center text-center"},[M._m(0),M._m(1),I("q-btn",{staticStyle:{width:"200px"},attrs:{color:"secondary"},on:{click:function(j){return M.$router.push("/")}}},[M._v("Go back")])],1)},A=[function(){var M=this,j=M.$createElement,g=M._self._c||j;return g("p",[g("img",{staticStyle:{width:"30vw","max-width":"150px"},attrs:{src:I("c4e4")}})])},function(){var M=this,j=M.$createElement,I=M._self._c||j;return I("p",{staticClass:"text-faded"},[M._v("Sorry, nothing here..."),I("strong",[M._v("(404)")])])}],N={name:"Error404"},D=N,T=I("2877"),x=Object(T["a"])(D,g,A,!1,null,null,null);j["default"]=x.exports}}]); -------------------------------------------------------------------------------- /docs/js/4.ebfd2b0a.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[4],{a9c3:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("q-layout",{attrs:{view:"lHh Lpr lFf"}},[n("q-page-container",[n("router-view")],1)],1)},r=[],l={name:"Layout"},u=l,o=n("2877"),c=Object(o["a"])(u,a,r,!1,null,null,null);t["default"]=c.exports}}]); -------------------------------------------------------------------------------- /docs/js/app.b65c9e02.js: -------------------------------------------------------------------------------- 1 | (function(e){function t(t){for(var n,o,c=t[0],i=t[1],u=t[2],f=0,d=[];fr.e(4).then(r.bind(null,"a9c3")),children:[{path:"",component:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,"8b24"))}]}];p.push({path:"*",component:()=>r.e(3).then(r.bind(null,"e51e"))});var b=p;n["a"].use(l["a"]);var j=function(){const e=new l["a"]({scrollBehavior:()=>({y:0}),routes:b,mode:"history",base:"/cardscript/"});return e},h=async function(){const e="function"===typeof j?await j({Vue:n["a"]}):j,t={router:e,render:e=>e(d),el:"#q-app"};return{app:t,router:e}},v=r("1dce"),m=r.n(v),y=({Vue:e})=>{e.use(m.a)},g=r("4a11");const w="/cardscript/",O=/\/\//,k=e=>(w+e).replace(O,"/");async function _(){const{app:e,router:t}=await h();let r=!1;const o=e=>{r=!0;const n=Object(e)===e?k(t.resolve(e).route.fullPath):e;window.location.href=n},a=window.location.href.replace(window.location.origin,""),s=[y,g["default"]];for(let i=0;!1===r&&i= 8.9.0", 45 | "npm": ">= 5.6.0", 46 | "yarn": ">= 1.6.0" 47 | }, 48 | "browserslist": [ 49 | "last 10 Chrome versions", 50 | "last 10 Firefox versions", 51 | "last 4 Edge versions", 52 | "last 7 Safari versions", 53 | "last 8 Android versions", 54 | "last 8 ChromeAndroid versions", 55 | "last 8 FirefoxAndroid versions", 56 | "last 10 iOS versions", 57 | "last 5 Opera versions" 58 | ] 59 | } 60 | -------------------------------------------------------------------------------- /public/tymly-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-128.png -------------------------------------------------------------------------------- /public/tymly-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-16.png -------------------------------------------------------------------------------- /public/tymly-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-192.png -------------------------------------------------------------------------------- /public/tymly-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-256.png -------------------------------------------------------------------------------- /public/tymly-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-32.png -------------------------------------------------------------------------------- /public/tymly-384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-384.png -------------------------------------------------------------------------------- /public/tymly-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/tymly-512.png -------------------------------------------------------------------------------- /public/wmfs/happy-people.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/wmfs/happy-people.jpg -------------------------------------------------------------------------------- /public/wmfs/pizza.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/public/wmfs/pizza.jpg -------------------------------------------------------------------------------- /quasar.conf.js: -------------------------------------------------------------------------------- 1 | // Configuration for your app 2 | 3 | module.exports = function (ctx) { 4 | return { 5 | // app boot (/src/boot) 6 | boot: [ 7 | 'vuelidate' 8 | ], 9 | css: [ 10 | 'app.styl' 11 | ], 12 | extras: [ 13 | 'roboto-font', 14 | 'material-icons', 15 | 'fontawesome-v5' 16 | ], 17 | build: { 18 | publicPath: 'cardscript', 19 | distDir: 'docs', 20 | scopeHoisting: true, 21 | vueRouterMode: 'history', 22 | vueCompiler: true, 23 | // gzip: true, 24 | // analyze: true, 25 | // extractCSS: false, 26 | extendWebpack (cfg) { 27 | // TODO: Might need tuning? 28 | // cfg.resolve.symlinks = false 29 | // cfg.resolve.alias.vue$ = 'vue/dist/vue.js' 30 | // cfg.module.rules.push({ 31 | // enforce: 'pre', 32 | // test: /\.(js|vue)$/, 33 | // // loader: 'eslint-loader', 34 | // exclude: /(node_modules|quasar)/ 35 | // }) 36 | } 37 | }, 38 | devServer: { 39 | // https: true, 40 | // port: 8080, 41 | open: true // opens browser window automatically 42 | }, 43 | // framework: 'all' --- includes everything; for dev only! 44 | framework: { 45 | importStrategy: 'all', 46 | // Quasar plugins 47 | plugins: [ 48 | 'Notify', 49 | 'Loading', 50 | 'Dialog', 51 | 'AddressbarColor', 52 | 'Screen', 53 | 'Meta' 54 | ] 55 | // iconSet: 'material-icons', 56 | // lang: 'de' // Quasar language 57 | }, 58 | animations: 'all', 59 | ssr: { 60 | pwa: false 61 | }, 62 | pwa: { 63 | // workboxPluginMode: 'InjectManifest', 64 | // workboxOptions: {}, 65 | manifest: { 66 | // name: 'Quasar App', 67 | // short_name: 'Quasar-PWA', 68 | // description: 'Best PWA App in town!', 69 | display: 'standalone', 70 | orientation: 'portrait', 71 | background_color: '#ffffff', 72 | theme_color: '#027be3', 73 | icons: [ 74 | { 75 | 'src': 'icons/icon-128x128.png', 76 | 'sizes': '128x128', 77 | 'type': 'image/png' 78 | }, 79 | { 80 | 'src': 'icons/icon-192x192.png', 81 | 'sizes': '192x192', 82 | 'type': 'image/png' 83 | }, 84 | { 85 | 'src': 'icons/icon-256x256.png', 86 | 'sizes': '256x256', 87 | 'type': 'image/png' 88 | }, 89 | { 90 | 'src': 'icons/icon-384x384.png', 91 | 'sizes': '384x384', 92 | 'type': 'image/png' 93 | }, 94 | { 95 | 'src': 'icons/icon-512x512.png', 96 | 'sizes': '512x512', 97 | 'type': 'image/png' 98 | } 99 | ] 100 | } 101 | }, 102 | cordova: { 103 | // id: 'org.cordova.quasar.app' 104 | }, 105 | electron: { 106 | // bundler: 'builder', // or 'packager' 107 | extendWebpack (cfg) { 108 | // do something with Electron process Webpack cfg 109 | }, 110 | packager: { 111 | // https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options 112 | 113 | // OS X / Mac App Store 114 | // appBundleId: '', 115 | // appCategoryType: '', 116 | // osxSign: '', 117 | // protocol: 'myapp://path', 118 | 119 | // Window only 120 | // win32metadata: { ... } 121 | }, 122 | builder: { 123 | // https://www.electron.build/configuration/configuration 124 | 125 | // appId: 'quasar-app' 126 | } 127 | } 128 | } 129 | } 130 | -------------------------------------------------------------------------------- /quasar.extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "@quasar/qmediaplayer": {} 3 | } -------------------------------------------------------------------------------- /readme-assets/card-texture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/readme-assets/card-texture.jpg -------------------------------------------------------------------------------- /readme-assets/playpen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/readme-assets/playpen.png -------------------------------------------------------------------------------- /readme-assets/src/card-texture-fireworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/readme-assets/src/card-texture-fireworks.png -------------------------------------------------------------------------------- /readme-assets/src/playpen-fireworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/readme-assets/src/playpen-fireworks.png -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 15 | -------------------------------------------------------------------------------- /src/assets/sad.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/assets/tymly-light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 41 | 43 | 44 | 46 | image/svg+xml 47 | 49 | 50 | 51 | 52 | 53 | 58 | 61 | 64 | 69 | 74 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/src/boot/.gitkeep -------------------------------------------------------------------------------- /src/boot/vuelidate.js: -------------------------------------------------------------------------------- 1 | import Vuelidate from 'vuelidate' 2 | 3 | export default ({ Vue }) => { 4 | Vue.use(Vuelidate) 5 | } 6 | -------------------------------------------------------------------------------- /src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmfs/cardscript/87024aea03349e913952e3a75e75fd55a71bf5fd/src/components/.gitkeep -------------------------------------------------------------------------------- /src/components/Cardscript.vue: -------------------------------------------------------------------------------- 1 | 6 | 119 | 124 | -------------------------------------------------------------------------------- /src/components/cardscript-quasar-components.js: -------------------------------------------------------------------------------- 1 | import { 2 | QLayout, 3 | QHeader, 4 | QFooter, 5 | QDrawer, 6 | QPageContainer, 7 | QPage, 8 | QToolbar, 9 | QToolbarTitle, 10 | QBtn, 11 | QIcon, 12 | QList, 13 | QItem, 14 | QItemSection, 15 | QCard, 16 | QCardSection, 17 | QCardActions, 18 | QInput, 19 | QSpinner, 20 | QRadio, 21 | QOptionGroup, 22 | QDialog, 23 | QField, 24 | QSelect, 25 | QToggle, 26 | QChip, 27 | QMenu, 28 | QPagination, 29 | QSlider, 30 | QEditor, 31 | QTable, 32 | QDate, 33 | QTime, 34 | QBtnGroup, 35 | QExpansionItem, 36 | QCheckbox, 37 | QTr, 38 | QTh, 39 | QTd, 40 | QSeparator, 41 | QTabs, 42 | QTab, 43 | QTabPanel, 44 | QTabPanels, 45 | QRouteTab, 46 | QItemLabel, 47 | QAvatar, 48 | QBadge, 49 | QPopupProxy, 50 | QUploader, 51 | QBtnDropdown, 52 | QTree, 53 | QSpace, 54 | QTooltip, 55 | QBtnToggle 56 | } from 'quasar' 57 | 58 | export default { 59 | QLayout, 60 | QHeader, 61 | QFooter, 62 | QDrawer, 63 | QPageContainer, 64 | QPage, 65 | QToolbar, 66 | QToolbarTitle, 67 | QBtn, 68 | QIcon, 69 | QList, 70 | QItem, 71 | QItemSection, 72 | QCard, 73 | QCardSection, 74 | QCardActions, 75 | QInput, 76 | QSpinner, 77 | QRadio, 78 | QOptionGroup, 79 | QDialog, 80 | QField, 81 | QSelect, 82 | QToggle, 83 | QChip, 84 | QMenu, 85 | QPagination, 86 | QSlider, 87 | QEditor, 88 | QTable, 89 | QDate, 90 | QTime, 91 | QBtnGroup, 92 | QExpansionItem, 93 | QCheckbox, 94 | QTr, 95 | QTh, 96 | QTd, 97 | QSeparator, 98 | QTabs, 99 | QTab, 100 | QTabPanel, 101 | QTabPanels, 102 | QRouteTab, 103 | QItemLabel, 104 | QAvatar, 105 | QBadge, 106 | QPopupProxy, 107 | QUploader, 108 | QBtnDropdown, 109 | QTree, 110 | QSpace, 111 | QTooltip, 112 | QBtnToggle 113 | } 114 | -------------------------------------------------------------------------------- /src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css 2 | .blockquote { 3 | padding: 8px 16px; 4 | margin: 0; 5 | //font-size: 16px; 6 | //border-left: 4px solid #027be3; 7 | border-left: 4px solid var(--q-color-primary); 8 | } 9 | 10 | .item-label { 11 | cursor: pointer; 12 | color: #005ea5; 13 | text-decoration: underline; 14 | font-weight: bold; 15 | font-size: larger; 16 | } 17 | -------------------------------------------------------------------------------- /src/css/quasar.variables.styl: -------------------------------------------------------------------------------- 1 | // App Shared Variables 2 | // -------------------------------------------------- 3 | // To customize the look and feel of this app, you can override 4 | // the Stylus variables found in Quasar's source Stylus files. Setting 5 | // variables before Quasar's Stylus will use these variables rather than 6 | // Quasar's default Stylus variable values. Stylus variables specific 7 | // to the themes belong in either the variables.ios.styl or variables.mat.styl files. 8 | 9 | // Check documentation for full list of Quasar variables 10 | 11 | 12 | // App Shared Color Variables 13 | // -------------------------------------------------- 14 | // It's highly recommended to change the default colors 15 | // to match your app's branding. 16 | 17 | $primary = #027be3 18 | $secondary = #26A69A 19 | $accent = #555 20 | 21 | $neutral = #E0E1E2 22 | $positive = #21BA45 23 | $negative = #DB2828 24 | $info = #31CCEC 25 | $warning = #F2C037 26 | 27 | // Variables 28 | $light = #bdbdbd 29 | $dark = #424242 30 | $faded = #777 31 | 32 | // CSS3 Root Variables 33 | :root 34 | --q-color-light $light 35 | --q-color-light-d darken($light, 10%) 36 | --q-color-faded $faded 37 | --q-color-dark $dark 38 | 39 | // CSS Classes 40 | .text-faded 41 | color $faded !important 42 | color var(--q-color-faded) !important 43 | .bg-faded 44 | background $faded !important 45 | background var(--q-color-faded) !important 46 | 47 | .text-light 48 | color $light !important 49 | color var(--q-color-light) !important 50 | .bg-light 51 | background $light !important 52 | background var(--q-color-light) !important 53 | 54 | .text-dark 55 | color $dark !important 56 | color var(--q-color-dark) !important 57 | .bg-dark 58 | background $dark !important 59 | background var(--q-color-dark) !important 60 | 61 | .text-faded 62 | color $faded !important 63 | color var(--q-color-faded) !important 64 | .bg-faded 65 | background $faded !important 66 | background var(--q-color-faded) !important 67 | -------------------------------------------------------------------------------- /src/index.template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <%= productName %> 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /src/layouts/Layout.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 14 | 15 | 17 | -------------------------------------------------------------------------------- /src/pages/Error404.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 23 | -------------------------------------------------------------------------------- /src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 270 | 271 | 322 | 323 | 623 | -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import VueRouter from 'vue-router' 3 | 4 | import routes from './routes' 5 | 6 | Vue.use(VueRouter) 7 | 8 | /* 9 | * If not building with SSR mode, you can 10 | * directly export the Router instantiation 11 | */ 12 | 13 | export default function (/* { store, ssrContext } */) { 14 | const Router = new VueRouter({ 15 | scrollBehavior: () => ({ y: 0 }), 16 | routes, 17 | 18 | // Leave these as is and change from quasar.conf.js instead! 19 | // quasar.conf.js -> build -> vueRouterMode 20 | mode: process.env.VUE_ROUTER_MODE, 21 | base: process.env.VUE_ROUTER_BASE 22 | }) 23 | 24 | return Router 25 | } 26 | -------------------------------------------------------------------------------- /src/router/routes.js: -------------------------------------------------------------------------------- 1 | 2 | const routes = [ 3 | { 4 | path: '/', 5 | component: () => import('layouts/Layout.vue'), 6 | children: [ 7 | { path: '', component: () => import('pages/Index.vue') } 8 | ] 9 | } 10 | ] 11 | 12 | // Always leave this as last one 13 | if (process.env.MODE !== 'ssr') { 14 | routes.push({ 15 | path: '*', 16 | component: () => import('pages/Error404.vue') 17 | }) 18 | } 19 | 20 | export default routes 21 | --------------------------------------------------------------------------------