@opentinyvue/vue-date-range 2.22.1 → 2.23.0

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.
Files changed (3) hide show
  1. package/lib/index.js +1 -1
  2. package/lib/pc.js +3 -3
  3. package/package.json +10 -10
package/lib/index.js CHANGED
@@ -101,7 +101,7 @@ var DateRange = defineComponent({
101
101
  });
102
102
  }
103
103
  });
104
- var version = "2.undefined";
104
+ var version = "2.23.0";
105
105
  DateRange.install = function(Vue) {
106
106
  Vue.component(DateRange.name, DateRange);
107
107
  };
package/lib/pc.js CHANGED
@@ -63,7 +63,7 @@ var __vue2_script = defineComponent({
63
63
  }
64
64
  });
65
65
  var render = function render2() {
66
- var _vm$state$shortcuts;
66
+ var _vm$state$shortcuts, _vm$state$shortcuts2;
67
67
  var _vm = this;
68
68
  var _h = _vm.$createElement;
69
69
  var _c = _vm._self._c || _h;
@@ -80,12 +80,12 @@ var render = function render2() {
80
80
  ref: "refDateRange",
81
81
  staticClass: "tiny-picker-panel tiny-date-range-picker tiny-popper",
82
82
  class: [{
83
- "has-sidebar": _vm.slots.sidebar || _vm.state.shortcuts,
83
+ "has-sidebar": _vm.slots.sidebar || ((_vm$state$shortcuts = _vm.state.shortcuts) === null || _vm$state$shortcuts === void 0 ? void 0 : _vm$state$shortcuts.length),
84
84
  "has-time": _vm.state.showTime
85
85
  }, _vm.state.popperClass]
86
86
  }, [_c("div", {
87
87
  staticClass: "tiny-picker-panel__body-wrapper"
88
- }, [_vm._t("sidebar"), (_vm$state$shortcuts = _vm.state.shortcuts) !== null && _vm$state$shortcuts !== void 0 && _vm$state$shortcuts.length ? _c("div", {
88
+ }, [_vm._t("sidebar"), (_vm$state$shortcuts2 = _vm.state.shortcuts) !== null && _vm$state$shortcuts2 !== void 0 && _vm$state$shortcuts2.length ? _c("div", {
89
89
  ref: "shortcut",
90
90
  staticClass: "tiny-picker-panel__sidebar"
91
91
  }, _vm._l(_vm.state.shortcuts, function(shortcut, key) {
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-date-range",
3
3
  "type": "module",
4
- "version": "2.22.1",
4
+ "version": "2.23.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/vue-button": "~2.22.0",
12
- "@opentinyvue/vue-common": "~2.22.0",
13
- "@opentinyvue/vue-date-table": "~2.22.0",
14
- "@opentinyvue/vue-directive": "~2.22.0",
15
- "@opentinyvue/vue-icon": "~2.22.0",
16
- "@opentinyvue/vue-input": "~2.22.0",
17
- "@opentinyvue/vue-renderless": "~3.22.0",
18
- "@opentinyvue/vue-theme": "~3.22.0",
19
- "@opentinyvue/vue-time": "~2.22.0"
11
+ "@opentinyvue/vue-button": "~2.23.0",
12
+ "@opentinyvue/vue-common": "~2.23.0",
13
+ "@opentinyvue/vue-date-table": "~2.23.0",
14
+ "@opentinyvue/vue-directive": "~2.23.0",
15
+ "@opentinyvue/vue-icon": "~2.23.0",
16
+ "@opentinyvue/vue-input": "~2.23.0",
17
+ "@opentinyvue/vue-renderless": "~3.23.0",
18
+ "@opentinyvue/vue-theme": "~3.23.0",
19
+ "@opentinyvue/vue-time": "~2.23.0"
20
20
  },
21
21
  "types": "index.d.ts",
22
22
  "scripts": {