├── .browserslistrc ├── vue.config.js ├── .postcssrc.js ├── public ├── favicon.ico └── index.html ├── babel.config.js ├── src ├── lib-components │ ├── index.js │ ├── workers │ │ ├── index.js │ │ ├── promiseWorker.js │ │ ├── registerPromiseWorker.js │ │ └── operations.worker.js │ ├── kalendar-vue-sample.vue │ ├── hours.js │ ├── utils.js │ ├── kalendar-event.vue │ ├── kalendar-cell.vue │ ├── main.scss │ ├── kalendar-weekview.vue │ ├── kalendar-container.vue │ └── kalendar-day.vue ├── serve-dev.js ├── index.js ├── demo │ ├── manual-event.vue │ ├── quick-intro.vue │ ├── how-to.vue │ ├── index.vue │ └── options.vue └── serve-dev.vue ├── .gitignore ├── package.json ├── README.md └── LICENSE /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not ie <= 8 -------------------------------------------------------------------------------- /vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | outputDir: "demo-dist", 3 | }; 4 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {} 4 | } 5 | } -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/altinselimi/kalendar/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@babel/preset-env', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /src/lib-components/index.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable import/prefer-default-export */ 2 | export { default as Kalendar } from "./kalendar-container.vue"; 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | /demo-dist 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .vscode 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw* 23 | -------------------------------------------------------------------------------- /src/serve-dev.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Dev from '@/serve-dev.vue'; 3 | import Demo from '@/demo'; 4 | import PortalVue from 'portal-vue'; 5 | Vue.use(PortalVue); 6 | 7 | Vue.config.productionTip = false; 8 | 9 | const isDev = process.env.NODE_ENV === 'development'; 10 | 11 | new Vue({ 12 | render: h => h(isDev ? Dev : Demo), 13 | }).$mount('#app'); 14 | -------------------------------------------------------------------------------- /src/lib-components/workers/index.js: -------------------------------------------------------------------------------- 1 | import PromiseWorker from "./promiseWorker.js"; 2 | import OperationsWorker from "worker-loader!./operations.worker.js"; 3 | //} 4 | const worker = new OperationsWorker(); 5 | const promiseWorker = PromiseWorker(worker); 6 | 7 | const send = (type = "message", data) => 8 | promiseWorker.postMessage({ 9 | type, 10 | data 11 | }); 12 | 13 | export default { 14 | send 15 | }; 16 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |The counter was {{ changedBy }} to {{ counter }}.
46 | 49 | 52 | 55 | 58 | 61 |Your best friend when it comes to event managment in 12 | Vue, 13 | React or 14 | Angular. 15 |
16 |See it in action
19 | 20 | 21 | 22 | 23 |npm install kalendar-vue -S
10 |
16 | 20 | This array will be the source of the appointments which are 21 | rendered in the calendar. 22 |
23 |
24 |
27 | 32 | The plugin can turn incredibly useful using scoped slots. You 33 | can customize all the essential parts of it. 34 |
35 |
36 |
39 | 147 | {{ information.start_time.substr(11, 5) }} - 148 | {{ information.end_time.substr(11, 5) }} 149 |
150 |