@monoui/vuejs 1.1.58 → 1.1.60

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": "@monoui/vuejs",
3
- "version": "1.1.58",
3
+ "version": "1.1.60",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -97,8 +97,13 @@ export default {
97
97
  let date2 = moment(this.value[1]).toDate();
98
98
  return [date1, date2];
99
99
  } else {
100
- let date = moment(this.value).toDate();
101
- return date;
100
+ if (this.isUTC) {
101
+ let date = moment.utc(this.value).toDate();
102
+ return date;
103
+ } else {
104
+ let date = moment(this.value).toDate();
105
+ return date;
106
+ }
102
107
  }
103
108
  },
104
109
  set: function(value) {
@@ -258,6 +263,11 @@ export default {
258
263
  * shortcuts.
259
264
  * Allows to determine shortcuts when shortcutsEnable property is true
260
265
  */
266
+ isUTC: {
267
+ type: Boolean,
268
+ required: false,
269
+ default: false
270
+ },
261
271
  shortcuts: {
262
272
  type: Array,
263
273
  default: () => {
@@ -239,7 +239,12 @@
239
239
  settings.totalItemCount && !refreshButton
240
240
  "
241
241
  >
242
- {{ settings.totalItemCount }} rows
242
+ {{ settings.totalItemCount }}
243
+ {{
244
+ settings.totalItemCount === 1
245
+ ? "row"
246
+ : "rows"
247
+ }}
243
248
  </span>
244
249
  <mui-button
245
250
  v-if="refreshButton"