@opentinyvue/vue-date-panel 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.
package/lib/index.js CHANGED
@@ -90,7 +90,7 @@ var DatePanel = defineComponent({
90
90
  });
91
91
  }
92
92
  });
93
- var version = "2.undefined";
93
+ var version = "2.23.0";
94
94
  DatePanel.install = function(Vue) {
95
95
  Vue.component(DatePanel.name, DatePanel);
96
96
  };
@@ -329,6 +329,7 @@ var render = function render2() {
329
329
  value: _vm.handleTzPickClose,
330
330
  expression: "handleTzPickClose"
331
331
  }],
332
+ staticClass: "tiny-picker-panel__timezone",
332
333
  attrs: {
333
334
  "data-tag": "tiny-picker-panel__timezone"
334
335
  }
@@ -363,6 +364,7 @@ var render = function render2() {
363
364
  expression: "state.tz"
364
365
  }
365
366
  }), _c("div", {
367
+ staticClass: "tiny-picker-panel__tzlist",
366
368
  attrs: {
367
369
  "data-tag": "tiny-picker-panel__tzlist"
368
370
  }
@@ -394,6 +396,7 @@ var render = function render2() {
394
396
  expression: "!tz.visible"
395
397
  }],
396
398
  key: index,
399
+ staticClass: "tiny-picker-panel__tzlist-li",
397
400
  attrs: {
398
401
  "data-tag": "tiny-picker-panel__tzlist-li",
399
402
  "title": tz.name
package/lib/pc.js CHANGED
@@ -145,7 +145,7 @@ var __vue2_script = defineComponent({
145
145
  }
146
146
  });
147
147
  var render = function render2() {
148
- var _vm$state$shortcuts;
148
+ var _vm$state$shortcuts, _vm$state$shortcuts2;
149
149
  var _vm = this;
150
150
  var _h = _vm.$createElement;
151
151
  var _c = _vm._self._c || _h;
@@ -160,12 +160,12 @@ var render = function render2() {
160
160
  }, [_c("div", {
161
161
  staticClass: "tiny-picker-panel tiny-date-picker tiny-popper",
162
162
  class: [{
163
- "has-sidebar": _vm.slots.sidebar || _vm.state.shortcuts,
163
+ "has-sidebar": _vm.slots.sidebar || ((_vm$state$shortcuts = _vm.state.shortcuts) === null || _vm$state$shortcuts === void 0 ? void 0 : _vm$state$shortcuts.length),
164
164
  "has-time": _vm.state.showTime
165
165
  }, _vm.state.popperClass]
166
166
  }, [_c("div", {
167
167
  staticClass: "tiny-picker-panel__body-wrapper"
168
- }, [_vm._t("sidebar"), (_vm$state$shortcuts = _vm.state.shortcuts) !== null && _vm$state$shortcuts !== void 0 && _vm$state$shortcuts.length ? _c("div", {
168
+ }, [_vm._t("sidebar"), (_vm$state$shortcuts2 = _vm.state.shortcuts) !== null && _vm$state$shortcuts2 !== void 0 && _vm$state$shortcuts2.length ? _c("div", {
169
169
  staticClass: "tiny-picker-panel__sidebar"
170
170
  }, _vm._l(_vm.state.shortcuts, function(shortcut, key) {
171
171
  return _c("button", {
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-date-panel",
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-locale": "~2.22.0",
18
- "@opentinyvue/vue-month-table": "~2.22.0",
19
- "@opentinyvue/vue-popup": "~2.22.0",
20
- "@opentinyvue/vue-renderless": "~3.22.0",
21
- "@opentinyvue/vue-theme": "~3.22.0",
22
- "@opentinyvue/vue-time": "~2.22.0",
23
- "@opentinyvue/vue-year-table": "~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-locale": "~2.23.0",
18
+ "@opentinyvue/vue-month-table": "~2.23.0",
19
+ "@opentinyvue/vue-popup": "~2.23.0",
20
+ "@opentinyvue/vue-renderless": "~3.23.0",
21
+ "@opentinyvue/vue-theme": "~3.23.0",
22
+ "@opentinyvue/vue-time": "~2.23.0",
23
+ "@opentinyvue/vue-year-table": "~2.23.0"
24
24
  },
25
25
  "types": "index.d.ts",
26
26
  "scripts": {