@opentinyvue/vue-date-panel 3.22.1 → 3.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 +1 -1
- package/lib/mobile-first.js +5 -2
- package/lib/pc.js +3 -3
- package/package.json +14 -14
package/lib/index.js
CHANGED
package/lib/mobile-first.js
CHANGED
|
@@ -133,10 +133,12 @@ var _hoisted_4 = ["aria-label"];
|
|
|
133
133
|
var _hoisted_5 = ["aria-label"];
|
|
134
134
|
var _hoisted_6 = {
|
|
135
135
|
key: 0,
|
|
136
|
-
"data-tag": "tiny-picker-panel__timezone"
|
|
136
|
+
"data-tag": "tiny-picker-panel__timezone",
|
|
137
|
+
class: "tiny-picker-panel__timezone"
|
|
137
138
|
};
|
|
138
139
|
var _hoisted_7 = {
|
|
139
|
-
"data-tag": "tiny-picker-panel__tzlist"
|
|
140
|
+
"data-tag": "tiny-picker-panel__tzlist",
|
|
141
|
+
class: "tiny-picker-panel__tzlist"
|
|
140
142
|
};
|
|
141
143
|
var _hoisted_8 = {
|
|
142
144
|
"data-tag": "tzlist"
|
|
@@ -417,6 +419,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
417
419
|
renderList(_ctx.state.renderTzdata, function(tz, index) {
|
|
418
420
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
419
421
|
"data-tag": "tiny-picker-panel__tzlist-li",
|
|
422
|
+
class: "tiny-picker-panel__tzlist-li",
|
|
420
423
|
title: tz.name,
|
|
421
424
|
key: index,
|
|
422
425
|
onClick: function onClick($event) {
|
package/lib/pc.js
CHANGED
|
@@ -209,18 +209,18 @@ function _sfc_render(_ctx, _cache, $props2, $setup, $data, $options) {
|
|
|
209
209
|
onAfterLeave: _ctx.handleLeave
|
|
210
210
|
}, {
|
|
211
211
|
default: withCtx(function() {
|
|
212
|
-
var _ctx$state$shortcuts;
|
|
212
|
+
var _ctx$state$shortcuts, _ctx$state$shortcuts2;
|
|
213
213
|
return [createElementVNode(
|
|
214
214
|
"div",
|
|
215
215
|
{
|
|
216
216
|
class: normalizeClass(["tiny-picker-panel tiny-date-picker tiny-popper", [{
|
|
217
|
-
"has-sidebar": _ctx.slots.sidebar || _ctx.state.shortcuts,
|
|
217
|
+
"has-sidebar": _ctx.slots.sidebar || ((_ctx$state$shortcuts = _ctx.state.shortcuts) == null ? void 0 : _ctx$state$shortcuts.length),
|
|
218
218
|
"has-time": _ctx.state.showTime
|
|
219
219
|
}, _ctx.state.popperClass]])
|
|
220
220
|
},
|
|
221
221
|
[createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "sidebar", {
|
|
222
222
|
class: "tiny-picker-panel__sidebar"
|
|
223
|
-
}), (_ctx$state$
|
|
223
|
+
}), (_ctx$state$shortcuts2 = _ctx.state.shortcuts) != null && _ctx$state$shortcuts2.length ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(true), createElementBlock(
|
|
224
224
|
Fragment,
|
|
225
225
|
null,
|
|
226
226
|
renderList(_ctx.state.shortcuts, function(shortcut, key) {
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-date-panel",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.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": "~3.
|
|
12
|
-
"@opentinyvue/vue-common": "~3.
|
|
13
|
-
"@opentinyvue/vue-date-table": "~3.
|
|
14
|
-
"@opentinyvue/vue-directive": "~3.
|
|
15
|
-
"@opentinyvue/vue-icon": "~3.
|
|
16
|
-
"@opentinyvue/vue-input": "~3.
|
|
17
|
-
"@opentinyvue/vue-locale": "~3.
|
|
18
|
-
"@opentinyvue/vue-month-table": "~3.
|
|
19
|
-
"@opentinyvue/vue-popup": "~3.
|
|
20
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
21
|
-
"@opentinyvue/vue-theme": "~3.
|
|
22
|
-
"@opentinyvue/vue-time": "~3.
|
|
23
|
-
"@opentinyvue/vue-year-table": "~3.
|
|
11
|
+
"@opentinyvue/vue-button": "~3.23.0",
|
|
12
|
+
"@opentinyvue/vue-common": "~3.23.0",
|
|
13
|
+
"@opentinyvue/vue-date-table": "~3.23.0",
|
|
14
|
+
"@opentinyvue/vue-directive": "~3.23.0",
|
|
15
|
+
"@opentinyvue/vue-icon": "~3.23.0",
|
|
16
|
+
"@opentinyvue/vue-input": "~3.23.0",
|
|
17
|
+
"@opentinyvue/vue-locale": "~3.23.0",
|
|
18
|
+
"@opentinyvue/vue-month-table": "~3.23.0",
|
|
19
|
+
"@opentinyvue/vue-popup": "~3.23.0",
|
|
20
|
+
"@opentinyvue/vue-renderless": "~3.23.0",
|
|
21
|
+
"@opentinyvue/vue-theme": "~3.23.0",
|
|
22
|
+
"@opentinyvue/vue-time": "~3.23.0",
|
|
23
|
+
"@opentinyvue/vue-year-table": "~3.23.0"
|
|
24
24
|
},
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"scripts": {
|