@quasar/quasar-app-extension-qcalendar 4.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Jeff Galbraith <jeff@quasar.dev>
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
13
+ all 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
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # Quasar App Extension QCalendar
2
+
3
+ The **QCalendar App Extension** allows you to seamlessly add the [QCalendar](../ui) component into your Quasar application. It manages the boot file file and all other configuration for you.
4
+
5
+ [![npm](https://img.shields.io/npm/v/@quasar/quasar-app-extension-qcalendar/next?label=@quasar/quasar-app-extension-qcalendar)](https://www.npmjs.com/package/@quasar/quasar-app-extension-qcalendar)
6
+ [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/quasarframework/quasar-ui-qcalendar)]()
7
+ [![GitHub repo size in bytes](https://img.shields.io/github/repo-size/quasarframework/quasar-ui-qcalendar)]()
8
+ [![npm](https://img.shields.io/npm/dt/@quasar/quasar-app-extension-qcalendar)](https://www.npmjs.com/package/@quasar/quasar-app-extension-qcalendar)
9
+ ![@quasar/quasar-app-extension-qcalendar](https://img.shields.io/npm/dm/@quasar/quasar-app-extension-qcalendar)
10
+
11
+ [![Discord](https://img.shields.io/badge/discord-join%20server-738ADB?style=for-the-badge&logo=discord&logoColor=738ADB)](https://chat.quasar.dev)
12
+ [![Discord](https://img.shields.io/badge/follow-@jgalbraith64-1DA1F2?style=for-the-badge&logo=twitter&logoColor=1DA1F2)](https://twitter.com/jgalbraith64)
13
+ ## Everything you need for a complete Calendar solution.
14
+
15
+ QCalendar is a [Quasar](https://quasar.dev) component. It is a powerful calendar that plugs right into your Quasar application and allows for viewing of **day** (1-7 days for a week), **monthly**, **scheduler** and **agenda** views. Painstaking care has been given to make almost every aspect of QCalendar configurable and/or modifiable in some way and control given to the developer.
16
+
17
+ # QCalendar v4.0.0 Alpha
18
+ Welcome to the QCalendar v4.0.0 Alpha release
19
+
20
+ ### QCalendar is now converted to use Vue v3
21
+ With this update comes a lot of changes, with over 90% of QCalendar being rewritten. Please read below to understand these changes and how they will affect you for upgrading.
22
+
23
+ > Until the final stable version is released, some aspects of the calendar may change. We're not planning for additional changes, but unforeseen reported issues may require us to do breaking changes (unlikely, but keep this in mind). So please make sure that you read each v4 alpha/beta version's release notes carefully before upgrading.
24
+
25
+ # Documentation
26
+
27
+ Go to Netlify which is hosting QCalendar v4.0.0 docs https://qcalendar.netlify.app/.
28
+
29
+ ---
30
+
31
+ **Month view with events**
32
+
33
+ ![QCalendar example month view](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarMonth.png)
34
+
35
+ **Planner example**
36
+
37
+ ![QCalendar planner example](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/qcalendaragenda-planner.png)
38
+
39
+ **Monthly Mini-mode**
40
+
41
+ ![QCalendar mini-mode](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarMonth--mini-mode.png)
42
+
43
+ **Monthly Mini-mode selection**
44
+
45
+ ![QCalendar mini-mode selection](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/qcalendarmonth-minimode-range-selection.png)
46
+
47
+ **Agenda view with custom content**
48
+
49
+ ![QCalendar agenda view](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarAgenda.png)
50
+
51
+ **Day view**
52
+
53
+ ![QCalendar day view](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarDay.png)
54
+
55
+ **Resource view**
56
+
57
+ ![QCalendar resource view](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarResource.png)
58
+
59
+ **Scheduler view**
60
+
61
+ ![QCalendar scheduler view](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarScheduler.png)
62
+
63
+ **Task view**
64
+
65
+ ![QCalendar task view](https://raw.githubusercontent.com/quasarframework/quasar-ui-qcalendar/next/docs/public/QCalendarTask.png)
66
+
67
+ Including support for locales, optional theming, 1st day Monday, 5-day work weeks, work week numbers, selected days, disabled days, day of year...
68
+
69
+ ...and many more!
70
+
71
+ # Install
72
+ ```bash
73
+ quasar ext add @quasar/qcalendar@next
74
+ ```
75
+ Quasar CLI will retrieve it from NPM and install the extension.
76
+
77
+ # Uninstall
78
+ ```bash
79
+ quasar ext remove @quasar/qcalendar
80
+ ```
81
+
82
+ # Donations
83
+
84
+ QCalendar is an open source MIT project that has been made possible due to the **generous contributions** by [sponsors and backers](https://github.com/sponsors/hawkeye64). If you are interested in supporting this project, please consider:
85
+ - [Becoming a sponsor on Github](https://github.com/users/hawkeye64/sponsorship)
86
+ - [One-off donation via PayPal](https://paypal.me/hawkeye64)
87
+
88
+ # License
89
+ MIT (c) Jeff Galbraith <jeff@quasar.dev>
package/jsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+
2
+ {
3
+ "compilerOptions": {
4
+ "module": "commonjs",
5
+ "target": "es6"
6
+ },
7
+ "exclude": ["node_modules"],
8
+ "include": ["src/**/*"]
9
+ }
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@quasar/quasar-app-extension-qcalendar",
3
+ "version": "4.0.0-beta.5",
4
+ "description": "A Quasar App Extension for @quasar/quasar-ui-qcalendar",
5
+ "author": "Jeff Galbraith <jeff@quasar.dev>",
6
+ "license": "MIT",
7
+ "main": "src/index.js",
8
+ "scripts": {
9
+ "lint": "eslint --ext .js,.vue src",
10
+ "lint-fix": "eslint --ext .js,.vue src --fix"
11
+ },
12
+ "funding": {
13
+ "type": "github",
14
+ "url": "https://github.com/sponsors/hawkeye64"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "bugs": "https://github.com/quasarframework/quasar-ui-qcalendar/issues",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/quasarframework/quasar-ui-qcalendar.git"
23
+ },
24
+ "homepage": "https://github.com/quasarframework/quasar-ui-qcalendar",
25
+ "keywords": [
26
+ "quasar",
27
+ "quasarframework",
28
+ "app",
29
+ "app extension",
30
+ "extension",
31
+ "calendar",
32
+ "daily",
33
+ "weekly",
34
+ "monthly",
35
+ "events",
36
+ "reminders",
37
+ "schedule"
38
+ ],
39
+ "dependencies": {
40
+ "@quasar/quasar-ui-qcalendar": "^4.0.0-beta.5"
41
+ },
42
+ "devDependencies": {
43
+ "@babel/core": "^7.15.5",
44
+ "@babel/eslint-parser": "^7.15.7",
45
+ "eslint": "^7.32.0",
46
+ "eslint-plugin-import": "^2.24.2",
47
+ "eslint-plugin-node": "^11.1.0",
48
+ "eslint-plugin-promise": "^5.1.0",
49
+ "eslint-plugin-vue": "^7.18.0",
50
+ "eslint-webpack-plugin": "^3.0.1"
51
+ },
52
+ "engines": {
53
+ "node": ">= 10.0.0",
54
+ "npm": ">= 5.6.0",
55
+ "yarn": ">= 1.6.0"
56
+ }
57
+ }
@@ -0,0 +1,6 @@
1
+ import { boot } from 'quasar/wrappers'
2
+ import VuePlugin from '@quasar/quasar-ui-qcalendar'
3
+
4
+ export default boot(({ app }) => {
5
+ app.use(VuePlugin)
6
+ })
package/src/index.js ADDED
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Quasar App Extension index/runner script
3
+ * (runs on each dev/build)
4
+ *
5
+ * Docs: https://quasar.dev/app-extensions/development-guide/index-api
6
+ * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/IndexAPI.js
7
+ */
8
+
9
+ function extendConf (conf) {
10
+ // register our boot file
11
+ conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/register.js')
12
+
13
+ // make sure app extension files & ui packages get transpiled
14
+ conf.build.transpileDependencies.push(/quasar-app-extension-qcalendar[\\/]src/)
15
+ conf.build.transpileDependencies.push(/quasar-ui-qcalendar[\\/]src/)
16
+
17
+ // make sure the stylesheet goes through webpack to avoid SSR issues
18
+ conf.css.push('~@quasar/quasar-ui-qcalendar/src/index.sass')
19
+ }
20
+
21
+ module.exports = function (api) {
22
+ // Quasar compatibility check; you may need
23
+ // hard dependencies, as in a minimum version of the "quasar"
24
+ // package or a minimum version of "@quasar/app" CLI
25
+ api.compatibleWith('quasar', '^2.0.0')
26
+ api.compatibleWith('@quasar/app', '^3.0.0')
27
+
28
+ // Uncomment the line below if you provide a JSON API for your component
29
+ api.registerDescribeApi('QCalendar', '~@quasar/quasar-ui-qcalendar/dist/api/QCalendar.json')
30
+
31
+ // We extend /quasar.conf.js
32
+ api.extendQuasarConf(extendConf)
33
+ }