quasar-ui-sellmate-ui-kit 3.14.16 → 3.14.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-sellmate-ui-kit",
3
- "version": "3.14.16",
3
+ "version": "3.14.17",
4
4
  "author": "Sellmate Dev Team <dev@sellmate.co.kr>",
5
5
  "description": "Sellmate UI Kit",
6
6
  "license": "MIT",
@@ -39,6 +39,7 @@
39
39
  color="positive"
40
40
  class="q-pa-none"
41
41
  :options="optionsFn"
42
+ :locale="lang ? locale[lang] : {}"
42
43
  @range-start="getRangeStartDay"
43
44
  @range-end="resetDate"
44
45
  @update:modelValue="dateUpdate"
@@ -63,6 +64,7 @@
63
64
  import { defineComponent, ref, watch } from 'vue';
64
65
  import { QInput, QBtn, QDate, QMenu, QIcon, date } from 'quasar';
65
66
  import { dateRangeIcon, closeIcon } from '../assets/icons';
67
+ import { initLocaleObj } from '../constants/locale';
66
68
 
67
69
  const today = date.formatDate(new Date(), 'YYYY/MM/DD');
68
70
 
@@ -110,6 +112,15 @@
110
112
  type: Array,
111
113
  default: () => ['', today],
112
114
  },
115
+ lang: {
116
+ type: String,
117
+ default: '',
118
+ require: false,
119
+ },
120
+ locale: {
121
+ type: Object,
122
+ default: initLocaleObj,
123
+ },
113
124
  },
114
125
  setup(props, { emit }) {
115
126
  const calendarOpen = ref(false);