├── .github
└── FUNDING.yml
├── .gitignore
├── LICENSE
├── README.md
├── babel.config.js
├── package.json
├── public
├── favicon.ico
├── index.html
└── prev.png
├── src
├── App.vue
├── assets
│ ├── logo.png
│ ├── preview.png
│ └── style.css
├── components
│ └── Schedule.vue
├── main.js
└── plugin.js
├── tests
└── unit
│ └── example.spec.js
└── yarn.lock
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: burhanahmeed
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: ['https://karyakarsa.com/burhanahmeed', 'https://www.buymeacoffee.com/zOkT07A']
13 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 | # netbeans
6 | /nbproject
7 |
8 | # local env files
9 | .env.local
10 | .env.*.local
11 |
12 | # Log files
13 | npm-debug.log*
14 | yarn-debug.log*
15 | yarn-error.log*
16 | pnpm-debug.log*
17 |
18 | # Editor directories and files
19 | .idea
20 | .vscode
21 | *.suo
22 | *.ntvs*
23 | *.njsproj
24 | *.sln
25 | *.sw?
26 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Burhanuddin Ahmed
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 | # vue daily scheduler
2 |
3 |
4 |
5 | [](.)
6 |
7 | Vue daily scheduler is a custom Vue2 component to manage repeated schedule. It's a straightforward scheduler component you can use.
8 |
9 |
66 |
67 | ```
68 |
69 | ### Props
70 | |Props|Desc|Type|Default|
71 | |---|---|---|---|
72 | |`steps`|The interval in minutes|`Number`|`60`|
73 | |`dayTable`|Array of day names for changing order or i18n|`Array`|`['So','Mo','Tu','We','Th','Fr','Sa']`|
74 | |`timeArray`|This props is optional. Array of time. `steps` props will be ignored if this props is filled.|`Array`|`[]`|
75 | |`strWeek`|String for i18n support|`String`|`Week`|
76 | |`strTime`|String for i18n support|`String`|`Time`|
77 | |`strDay`|String for i18n support|`String`|`Day`|
78 | |`disableWeekSelect`|Disable the whole week selection|`Boolean`|`false`|
79 | |`disableDaySelect`|Disable the whole day selection|`Boolean`|`false`|
80 | |`bg`|Block scheduler background color|`String`|`#223642`|
81 | |`bgHover`|Block scheduler background color when on hover|`String`|`#84dafc7a`|
82 | |`bgActive`|Block scheduler background color when active|`String`|`#84c9fc`|
83 | |`textColor`|Text color inside block scheduler|`String`|`#000`|
84 | #### Example
85 | ```html
86 |
87 |