Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ I am planning to add a few more customizations props in the near future, but I d

## Install

```bash
npm install git+https://github.com/gurkankesebir/vue-draggableCal-Turkish.git
```

or

```bash
npm i vue-draggable-cal --save
```
Expand Down Expand Up @@ -82,7 +88,7 @@ new Vue({
Emits events

```html
<DraggableCal @selectedDate="doSomething($event)"></DraggableCal>
<DraggableCal @dateSelected="doSomething($event)"></DraggableCal>
```

## Available props
Expand Down Expand Up @@ -114,7 +120,8 @@ These events are emitted on actions in the datepicker

| Abbr | Language | |
| ---- | -------- | --------- |
| EN | English | _Default_ |
| TR | Turkish | _Default_ |
| EN | English | |
| FR | French | |

## Dev & Build
Expand Down
10 changes: 7 additions & 3 deletions dist/draggableCal.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -2367,8 +2367,8 @@ var es6_regexp_split = __webpack_require__("28a5");
/* harmony default export */ var props = ({
lang: {
type: String,
enum: ['EN', 'FR'],
default: 'EN'
enum: ['TR','EN', 'FR'],
default: 'TR'
},
days: {
type: Number,
Expand Down Expand Up @@ -2435,6 +2435,10 @@ var es6_regexp_split = __webpack_require__("28a5");
EN: {
DAYS: ['SUNDAY', 'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', 'SATURDAY'],
MONTHS: ['JANUARY', 'FEBRUARY', 'MARCH', 'APRIL', 'MAY', 'JUNE', 'JULY', 'AUGUST', 'SEPTEMBER', 'OCTOBER', 'NOVEMBER', 'DECEMBER']
},
TR: {
DAYS: ['PAZAR', 'PAZARTESİ', 'SALI', 'ÇARŞAMBA', 'PERŞEMBE', 'CUMA', 'CUMARTESİ'],
MONTHS: ['OCAK', 'ŞUBAT', 'MART', 'NİSAN', 'MAYIS', 'HAZİRAN', 'TEMMUZ', 'AĞUSTOS', 'EYLÜL', 'EKİM', 'KASIM', 'ARALIK']
}
});
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
Expand Down Expand Up @@ -2967,4 +2971,4 @@ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u20

/***/ })

/******/ })["default"];
/******/ })["default"];
6 changes: 5 additions & 1 deletion dist/draggableCal.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2444,6 +2444,10 @@ var es6_regexp_split = __webpack_require__("28a5");
EN: {
DAYS: ['SUNDAY', 'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', 'SATURDAY'],
MONTHS: ['JANUARY', 'FEBRUARY', 'MARCH', 'APRIL', 'MAY', 'JUNE', 'JULY', 'AUGUST', 'SEPTEMBER', 'OCTOBER', 'NOVEMBER', 'DECEMBER']
},
TR: {
DAYS: ['PAZAR', 'PAZARTESİ', 'SALI', 'ÇARŞAMBA', 'PERŞEMBE', 'CUMA', 'CUMARTESİ'],
MONTHS: ['OCAK', 'ŞUBAT', 'MART', 'NİSAN', 'MAYIS', 'HAZİRAN', 'TEMMUZ', 'AĞUSTOS', 'EYLÜL', 'EKİM', 'KASIM', 'ARALIK']
}
});
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
Expand Down Expand Up @@ -2977,4 +2981,4 @@ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u20
/***/ })

/******/ })["default"];
});
});
180 changes: 179 additions & 1 deletion dist/draggableCal.umd.min.js

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions src/utils/CONSTANTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,21 @@ export default {
'DECEMBER',
],
},
TR: {
DAYS: ['PAZAR', 'PAZARTESİ', 'SALI', 'ÇARŞAMBA', 'PERŞEMBE', 'CUMA', 'CUMARTESİ'],
MONTHS: [
'OCAK',
'ŞUBAT',
'MART',
'NİSAN',
'MAYIS',
'HAZİRAN',
'TEMMUZ',
'AĞUSTOS',
'EYLÜL',
'EKİM',
'KASIM',
'ARALIK',
],
},
}