@opentinyvue/vue-date-panel 2.26.0 → 2.27.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/pc.js +36 -28
- package/package.json +14 -14
package/lib/pc.js
CHANGED
|
@@ -444,38 +444,46 @@ var render = function render2() {
|
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
}, [_vm._v(" " + _vm._s(tz.name) + " ")]);
|
|
447
|
-
}), 0)])])], 1)], 1) : _vm._e(), _vm.state.isShowFooter ? _c("div", {
|
|
447
|
+
}), 0)])])], 1)], 1) : _vm._e(), _vm.state.isShowFooter || _vm.$slots.footer || _vm.$slots.now || _vm.$slots.confirm ? _c("div", {
|
|
448
448
|
staticClass: "tiny-picker-panel__footer",
|
|
449
449
|
style: {
|
|
450
450
|
justifyContent: !["dates", "years"].includes(_vm.state.selectionMode) ? "space-between" : "right"
|
|
451
451
|
}
|
|
452
|
-
}, [_vm._t("
|
|
453
|
-
return [
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
"
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
452
|
+
}, [_vm._t("footer", function() {
|
|
453
|
+
return [_vm._t("now", function() {
|
|
454
|
+
return [_c("tiny-button", {
|
|
455
|
+
directives: [{
|
|
456
|
+
name: "show",
|
|
457
|
+
rawName: "v-show",
|
|
458
|
+
value: !["dates", "years"].includes(_vm.state.selectionMode),
|
|
459
|
+
expression: "!['dates', 'years'].includes(state.selectionMode)"
|
|
460
|
+
}],
|
|
461
|
+
staticClass: "tiny-picker-panel__link-btn",
|
|
462
|
+
attrs: {
|
|
463
|
+
"size": _vm.state.buttonSize,
|
|
464
|
+
"type": "text"
|
|
465
|
+
},
|
|
466
|
+
on: {
|
|
467
|
+
"click": _vm.changeToNow
|
|
468
|
+
}
|
|
469
|
+
}, [_vm._v(" " + _vm._s(_vm.t("ui.datepicker.now")) + " ")])];
|
|
470
|
+
}, {
|
|
471
|
+
"changeToNow": _vm.changeToNow
|
|
472
|
+
}), _vm._t("confirm", function() {
|
|
473
|
+
return [_c("tiny-button", {
|
|
474
|
+
staticClass: "tiny-picker-panel__link-btn",
|
|
475
|
+
attrs: {
|
|
476
|
+
"type": _vm.state.buttonType,
|
|
477
|
+
"size": _vm.state.buttonSize
|
|
478
|
+
},
|
|
479
|
+
on: {
|
|
480
|
+
"click": _vm.confirm
|
|
481
|
+
}
|
|
482
|
+
}, [_vm._v(" " + _vm._s(_vm.t("ui.datepicker.confirm")) + " ")])];
|
|
483
|
+
})];
|
|
484
|
+
}, {
|
|
485
|
+
"confirm": _vm.confirm
|
|
486
|
+
})], 2) : _vm._e()])]);
|
|
479
487
|
};
|
|
480
488
|
var staticRenderFns = [];
|
|
481
489
|
var __cssModules = {};
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-date-panel",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.27.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.
|
|
12
|
-
"@opentinyvue/vue-common": "~2.
|
|
13
|
-
"@opentinyvue/vue-date-table": "~2.
|
|
14
|
-
"@opentinyvue/vue-directive": "~2.
|
|
15
|
-
"@opentinyvue/vue-icon": "~2.
|
|
16
|
-
"@opentinyvue/vue-input": "~2.
|
|
17
|
-
"@opentinyvue/vue-locale": "~2.
|
|
18
|
-
"@opentinyvue/vue-month-table": "~2.
|
|
19
|
-
"@opentinyvue/vue-popup": "~2.
|
|
20
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
21
|
-
"@opentinyvue/vue-theme": "~3.
|
|
22
|
-
"@opentinyvue/vue-time": "~2.
|
|
23
|
-
"@opentinyvue/vue-year-table": "~2.
|
|
11
|
+
"@opentinyvue/vue-button": "~2.27.0",
|
|
12
|
+
"@opentinyvue/vue-common": "~2.27.0",
|
|
13
|
+
"@opentinyvue/vue-date-table": "~2.27.0",
|
|
14
|
+
"@opentinyvue/vue-directive": "~2.27.0",
|
|
15
|
+
"@opentinyvue/vue-icon": "~2.27.0",
|
|
16
|
+
"@opentinyvue/vue-input": "~2.27.0",
|
|
17
|
+
"@opentinyvue/vue-locale": "~2.27.0",
|
|
18
|
+
"@opentinyvue/vue-month-table": "~2.27.0",
|
|
19
|
+
"@opentinyvue/vue-popup": "~2.27.0",
|
|
20
|
+
"@opentinyvue/vue-renderless": "~3.27.0",
|
|
21
|
+
"@opentinyvue/vue-theme": "~3.27.0",
|
|
22
|
+
"@opentinyvue/vue-time": "~2.27.0",
|
|
23
|
+
"@opentinyvue/vue-year-table": "~2.27.0"
|
|
24
24
|
},
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"scripts": {
|