@kizmann/nano-ui 0.8.16 → 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.16",
3
+ "version": "0.8.19",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -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
  {
@@ -100,7 +100,7 @@ export default {
100
100
  format: {
101
101
  default()
102
102
  {
103
- return Locale.trans('YYYY-MM-DD HH:mm:ss');
103
+ return 'YYYY-MM-DD HH:mm:ss';
104
104
  },
105
105
  type: [String]
106
106
  },
@@ -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