vue-functional-calendar 2.9.92 → 2.9.93
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/.github/README.md +1 -2
- package/CONTRIBUTING.md +49 -0
- package/package.json +1 -1
- package/src/components/Day.vue +1 -1
- package/src/mixins/propsAndData.js +4 -2
package/.github/README.md
CHANGED
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
<h1 align="center">Vue Functional Calendar</h1>
|
|
4
4
|
<p align="center">Modern calendar and datepicker module for Vue.js</p>
|
|
5
5
|
|
|
6
|
-
[](https://offset.earth/treeware?gift-trees)
|
|
7
|
-
|
|
8
6
|
[](https://travis-ci.org/ManukMinasyan/vue-functional-calendar)
|
|
9
7
|
[](https://www.npmjs.com/package/vue-functional-calendar)
|
|
10
8
|
[](LICENSE)
|
|
11
9
|
[](https://www.npmjs.com/package/vue-functional-calendar)
|
|
10
|
+
[](https://plant.treeware.earth/ManukMinasyan/vue-functional-calendar)
|
|
12
11
|
___
|
|
13
12
|
## Demo
|
|
14
13
|
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Contributing to Vue-Functional-Calendar
|
|
2
|
+
We love your feedback! We need to make adding to this task as simple and straightforward as could be expected, regardless of whether it's:
|
|
3
|
+
|
|
4
|
+
- Detailing a bug
|
|
5
|
+
- Examining the present status of the code
|
|
6
|
+
- Presenting a fix
|
|
7
|
+
- Proposing new highlights
|
|
8
|
+
- Turning into a maintainer
|
|
9
|
+
|
|
10
|
+
## We Develop with Github
|
|
11
|
+
We use github to have code, to follow issues and component demands, as well as acknowledge pull requests.
|
|
12
|
+
|
|
13
|
+
## We Use [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow), So All Code Changes Happen Through Pull Requests
|
|
14
|
+
Pull requests are the most ideal way to propose changes to the codebase (we use [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow)). We effectively welcome your draw demands:
|
|
15
|
+
|
|
16
|
+
1. Fork the repo and make your branch from 'master'.
|
|
17
|
+
2. Assuming you've added code that ought to be tried, add tests.
|
|
18
|
+
3. On the off chance that you've changed APIs, update the documentation.
|
|
19
|
+
4. Guarantee the test suite passes.
|
|
20
|
+
5. Ensure your code lints.
|
|
21
|
+
6. Issue that pull request!
|
|
22
|
+
|
|
23
|
+
## Any commitments you cause will to be under the MIT Software License
|
|
24
|
+
To put it plainly, when you submit code changes, your entries are perceived to be under a similar [MIT License](http://choosealicense.com/licenses/mit/) that covers the task. Go ahead and contact the maintainers assuming that is a worry.
|
|
25
|
+
|
|
26
|
+
## Report bugs utilizing Github's [issues](https://github.com/ManukMinasyan/vue-functional-calendar/issues)
|
|
27
|
+
We use GitHub issues to follow public bugs. Report a bug by [opening a new issue](https://github.com/ManukMinasyan/vue-functional-calendar/issues/new); it's just simple!
|
|
28
|
+
|
|
29
|
+
## Compose bug reports with detail, foundation, and test code
|
|
30
|
+
|
|
31
|
+
**Extraordinary Bug Reports** will generally have:
|
|
32
|
+
|
|
33
|
+
- A fast outline or potentially foundation
|
|
34
|
+
- Steps to repeat
|
|
35
|
+
- Be explicit!
|
|
36
|
+
- Give test code if possible.
|
|
37
|
+
- What you expected would occur
|
|
38
|
+
- What really occurs
|
|
39
|
+
- Notes (perhaps including why you figure this may be occurring, or stuff you attempted that didn't work)
|
|
40
|
+
|
|
41
|
+
Individuals *love* exhaustive bug reports. I'm not in any event, joking.
|
|
42
|
+
|
|
43
|
+
## Use a Consistent Coding Style
|
|
44
|
+
|
|
45
|
+
* 2 spaces for space rather than tabs
|
|
46
|
+
* You can have a go at running 'npm run build up' for style unification
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
By contributing, you concur that your commitments will be authorized under its MIT License.
|
package/package.json
CHANGED
package/src/components/Day.vue
CHANGED
|
@@ -106,10 +106,12 @@ export const propsAndData = {
|
|
|
106
106
|
type: Array
|
|
107
107
|
},
|
|
108
108
|
disabledDates: {
|
|
109
|
-
type: Array
|
|
109
|
+
type: Array,
|
|
110
|
+
default: () => []
|
|
110
111
|
},
|
|
111
112
|
enabledDates: {
|
|
112
|
-
type: Array
|
|
113
|
+
type: Array,
|
|
114
|
+
default: () => []
|
|
113
115
|
},
|
|
114
116
|
limits: {
|
|
115
117
|
type: [Object, Boolean],
|