@kizmann/nano-ui 0.8.17 → 0.8.19

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.8.17",
3
+ "version": "0.8.19",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -160,7 +160,7 @@ export default {
160
160
  format: {
161
161
  default()
162
162
  {
163
- return 'YYYY-MM-DD HH:mm:ss';
163
+ return Locale.trans('YYYY-MM-DD HH:mm:ss');
164
164
  },
165
165
  type: [String]
166
166
  },
@@ -94,14 +94,6 @@ export default {
94
94
  type: [Number]
95
95
  },
96
96
 
97
- position: {
98
- default()
99
- {
100
- return 'bottom-start';
101
- },
102
- type: [String]
103
- },
104
-
105
97
  disabled: {
106
98
  default()
107
99
  {
@@ -317,8 +317,11 @@ export default {
317
317
 
318
318
  renderDatePanel()
319
319
  {
320
-
321
- let props = Obj.except(this.$props, ['modelValue'], {
320
+ let props = Obj.only(this.$props, [
321
+ 'minDate', 'maxDate', 'size', 'type', 'format', 'monthPanels', 'disabled', 'weekdays', 'months'
322
+ ]);
323
+
324
+ props = Obj.assign(props, {
322
325
  modelValue: this.tempValue.format(this.format) || null,
323
326
  });
324
327
 
@@ -331,8 +334,11 @@ export default {
331
334
 
332
335
  renderTimePanel()
333
336
  {
337
+ let props = Obj.only(this.$props, [
338
+ 'size', 'type', 'format', 'disabled', 'hoursInterval', 'minutesInterval', 'secondsInterval'
339
+ ]);
334
340
 
335
- let props = Obj.except(this.$props, ['modelValue'], {
341
+ props = Obj.assign(props, {
336
342
  modelValue: this.tempValue.format(this.format) || null,
337
343
  });
338
344
 
@@ -1,4 +1,4 @@
1
- import { Arr, Obj, Now, Any, Locale } from "@kizmann/pico-js";
1
+ import { Arr, Obj, Now, Any } from "@kizmann/pico-js";
2
2
 
3
3
  export default {
4
4
 
@@ -79,7 +79,7 @@ export default {
79
79
  displayFormat: {
80
80
  default()
81
81
  {
82
- return Locale.trans('HH:mm:ss');
82
+ return 'HH:mm:ss';
83
83
  },
84
84
  type: [String]
85
85
  },