@quasar/quasar-app-extension-qcalendar 4.1.2 → 5.0.0-beta.0
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/README.md +12 -6
- package/package.json +33 -28
- package/src/boot/{vite-register.js → vite-register.ts} +1 -1
- package/src/index.ts +30 -0
- package/tsconfig.json +16 -0
- package/jsconfig.json +0 -9
- package/src/boot/webpack-register.js +0 -6
- package/src/index.js +0 -44
package/README.md
CHANGED
|
@@ -13,19 +13,19 @@ The **QCalendar App Extension** allows you to seamlessly add the [QCalendar](../
|
|
|
13
13
|
|
|
14
14
|
## Everything you need for a complete Calendar solution.
|
|
15
15
|
|
|
16
|
-
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 **
|
|
16
|
+
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**, **agenda**, **resource** and **task** 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.
|
|
17
17
|
|
|
18
|
-
# QCalendar
|
|
18
|
+
# QCalendar v5.0.0 beta
|
|
19
19
|
|
|
20
|
-
Welcome to the QCalendar
|
|
20
|
+
Welcome to the QCalendar v5.0.0 beta release.
|
|
21
21
|
|
|
22
|
-
### QCalendar is now
|
|
22
|
+
### QCalendar App Extension is now Vite-only
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
QCalendar v5 prepares the app extension for Quasar CLI Vite 3. The app extension requires `@quasar/app-vite` v3 beta and no longer supports webpack-based Quasar apps. If your application is still using `@quasar/app-webpack`, migrate the application to Quasar CLI Vite before installing QCalendar v5.
|
|
25
25
|
|
|
26
26
|
# Documentation
|
|
27
27
|
|
|
28
|
-
Go to Netlify which is hosting QCalendar
|
|
28
|
+
Go to Netlify which is hosting the QCalendar docs https://qcalendar.netlify.app/.
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
|
@@ -79,6 +79,12 @@ quasar ext add @quasar/qcalendar
|
|
|
79
79
|
|
|
80
80
|
Quasar CLI will retrieve it from NPM and install the extension.
|
|
81
81
|
|
|
82
|
+
While QCalendar v5 is in beta, install with:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
quasar ext add @quasar/qcalendar@beta
|
|
86
|
+
```
|
|
87
|
+
|
|
82
88
|
# Uninstall
|
|
83
89
|
|
|
84
90
|
```bash
|
package/package.json
CHANGED
|
@@ -1,44 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quasar/quasar-app-extension-qcalendar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.0",
|
|
4
4
|
"description": "A Quasar App Extension for @quasar/quasar-ui-qcalendar",
|
|
5
|
-
"author": "Jeff Galbraith <jeff@quasar.dev>",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"main": "src/index.js",
|
|
9
|
-
"funding": {
|
|
10
|
-
"type": "github",
|
|
11
|
-
"url": "https://github.com/sponsors/hawkeye64"
|
|
12
|
-
},
|
|
13
|
-
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
15
|
-
},
|
|
16
|
-
"bugs": "https://github.com/quasarframework/quasar-ui-qcalendar/issues",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/quasarframework/quasar-ui-qcalendar.git"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://github.com/quasarframework/quasar-ui-qcalendar",
|
|
22
5
|
"keywords": [
|
|
23
|
-
"quasar",
|
|
24
|
-
"quasarframework",
|
|
25
6
|
"app",
|
|
26
7
|
"app extension",
|
|
27
|
-
"extension",
|
|
28
8
|
"calendar",
|
|
29
9
|
"daily",
|
|
30
|
-
"weekly",
|
|
31
|
-
"monthly",
|
|
32
10
|
"events",
|
|
11
|
+
"extension",
|
|
12
|
+
"monthly",
|
|
13
|
+
"quasar",
|
|
14
|
+
"quasarframework",
|
|
33
15
|
"reminders",
|
|
34
|
-
"schedule"
|
|
16
|
+
"schedule",
|
|
17
|
+
"weekly"
|
|
35
18
|
],
|
|
19
|
+
"homepage": "https://github.com/quasarframework/quasar-ui-qcalendar",
|
|
20
|
+
"bugs": "https://github.com/quasarframework/quasar-ui-qcalendar/issues",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": "Jeff Galbraith <jeff@quasar.dev>",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/quasarframework/quasar-ui-qcalendar.git"
|
|
26
|
+
},
|
|
27
|
+
"funding": {
|
|
28
|
+
"type": "github",
|
|
29
|
+
"url": "https://github.com/sponsors/hawkeye64"
|
|
30
|
+
},
|
|
31
|
+
"type": "module",
|
|
32
|
+
"main": "src/index.ts",
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@quasar/quasar-ui-qcalendar": "^
|
|
37
|
+
"@quasar/quasar-ui-qcalendar": "^5.0.0-beta.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@quasar/app-vite": "3.0.0-beta.14"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@quasar/app-vite": ">=3.0.0-beta.14"
|
|
38
44
|
},
|
|
39
45
|
"engines": {
|
|
40
|
-
"node": "
|
|
41
|
-
"
|
|
42
|
-
"yarn": ">= 1.21.1"
|
|
46
|
+
"node": ">=22.13",
|
|
47
|
+
"pnpm": ">=11.1.0"
|
|
43
48
|
}
|
|
44
49
|
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineIndexScript } from '@quasar/app-vite'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Quasar App Extension index/runner script
|
|
5
|
+
* (runs on each dev/build)
|
|
6
|
+
*
|
|
7
|
+
* Docs: https://quasar.dev/app-extensions/development-guide/index-api
|
|
8
|
+
* API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/IndexAPI.js
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export default defineIndexScript((api) => {
|
|
12
|
+
// Quasar compatibility check; you may need
|
|
13
|
+
// hard dependencies, as in a minimum version of the "quasar"
|
|
14
|
+
// package or a minimum version of "@quasar/app" CLI
|
|
15
|
+
api.compatibleWith('quasar', '^2.16.0')
|
|
16
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.14')
|
|
17
|
+
|
|
18
|
+
// Uncomment the line below if you provide a JSON API for your component
|
|
19
|
+
api.registerDescribeApi('QCalendar', '~@quasar/quasar-ui-qcalendar/dist/api/QCalendar.json')
|
|
20
|
+
|
|
21
|
+
// We extend /quasar.conf.js
|
|
22
|
+
api.extendQuasarConf((conf) => {
|
|
23
|
+
conf.boot ??= []
|
|
24
|
+
conf.css ??= []
|
|
25
|
+
|
|
26
|
+
// Register the Vite boot file and stylesheet.
|
|
27
|
+
conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/vite-register.ts')
|
|
28
|
+
conf.css.push('~@quasar/quasar-ui-qcalendar/src/index.scss')
|
|
29
|
+
})
|
|
30
|
+
})
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "../../tsconfig.base.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"esModuleInterop": true,
|
|
6
|
+
"lib": ["esnext", "dom", "dom.iterable"],
|
|
7
|
+
"module": "preserve",
|
|
8
|
+
"moduleDetection": "force",
|
|
9
|
+
"moduleResolution": "bundler",
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"target": "esnext"
|
|
13
|
+
},
|
|
14
|
+
"include": ["./src/**/*"],
|
|
15
|
+
"exclude": ["./node_modules"]
|
|
16
|
+
}
|
package/jsconfig.json
DELETED
package/src/index.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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, api) {
|
|
10
|
-
if (api.hasVite) {
|
|
11
|
-
// register the boot file
|
|
12
|
-
conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/vite-register.js')
|
|
13
|
-
} else {
|
|
14
|
-
// register the boot file
|
|
15
|
-
conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/webpack-register.js')
|
|
16
|
-
// make sure app extension files & ui packages get transpiled
|
|
17
|
-
conf.build.transpile = true
|
|
18
|
-
conf.build.webpackTranspileDependencies = conf.build.webpackTranspileDependencies || []
|
|
19
|
-
conf.build.webpackTranspileDependencies.push(/quasar-app-extension-qcalendar[\\/]src/)
|
|
20
|
-
conf.build.webpackTranspileDependencies.push(/quasar-ui-qcalendar[\\/]src/)
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// make sure the stylesheet goes through webpack to avoid SSR issues
|
|
24
|
-
conf.css.push('~@quasar/quasar-ui-qcalendar/src/index.scss')
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export default function (api) {
|
|
28
|
-
// Quasar compatibility check; you may need
|
|
29
|
-
// hard dependencies, as in a minimum version of the "quasar"
|
|
30
|
-
// package or a minimum version of "@quasar/app" CLI
|
|
31
|
-
api.compatibleWith('quasar', '^2.0.0')
|
|
32
|
-
|
|
33
|
-
if (api.hasVite === true) {
|
|
34
|
-
api.compatibleWith('@quasar/app-vite', '^2.0.0')
|
|
35
|
-
} else {
|
|
36
|
-
api.compatibleWith('@quasar/app-webpack', '^4.0.0')
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Uncomment the line below if you provide a JSON API for your component
|
|
40
|
-
api.registerDescribeApi('QCalendar', '~@quasar/quasar-ui-qcalendar/dist/api/QCalendar.json')
|
|
41
|
-
|
|
42
|
-
// We extend /quasar.conf.js
|
|
43
|
-
api.extendQuasarConf(extendConf)
|
|
44
|
-
}
|