@opentinyvue/vue-date-range 2.25.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/mobile-first.js +2 -2
- package/lib/pc.js +39 -22
- package/package.json +10 -10
package/lib/mobile-first.js
CHANGED
|
@@ -468,8 +468,8 @@ function __vue2_injectStyles(context) {
|
|
|
468
468
|
this[o] = __cssModules[o];
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
var mobileFirst = /* @__PURE__ */ function() {
|
|
471
|
+
var mobileFirst = /* @__PURE__ */ (function() {
|
|
472
472
|
return __component__.exports;
|
|
473
|
-
}();
|
|
473
|
+
})();
|
|
474
474
|
|
|
475
475
|
export { mobileFirst as default };
|
package/lib/pc.js
CHANGED
|
@@ -362,29 +362,46 @@ var render = function render2() {
|
|
|
362
362
|
"changerange": _vm.handleChangeRange,
|
|
363
363
|
"pick": _vm.handleRangePick
|
|
364
364
|
}
|
|
365
|
-
})], 1)])])], 2), _vm.state.showTime && !_vm.readonly ? _c("div", {
|
|
365
|
+
})], 1)])])], 2), _vm.state.showTime && !_vm.readonly || _vm.$slots.footer || _vm.$slots.now || _vm.$slots.confirm ? _c("div", {
|
|
366
366
|
staticClass: "tiny-picker-panel__footer"
|
|
367
|
-
}, [
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
"
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
367
|
+
}, [_vm._t("footer", function() {
|
|
368
|
+
return [_vm._t("clear", function() {
|
|
369
|
+
return [_c("tiny-button", {
|
|
370
|
+
staticClass: "tiny-picker-panel__link-btn",
|
|
371
|
+
attrs: {
|
|
372
|
+
"type": "text"
|
|
373
|
+
},
|
|
374
|
+
on: {
|
|
375
|
+
"click": _vm.handleClear
|
|
376
|
+
}
|
|
377
|
+
}, [_vm._v(" " + _vm._s(_vm.t("ui.datepicker.clear")) + " ")])];
|
|
378
|
+
}, {
|
|
379
|
+
"clear": _vm.handleClear
|
|
380
|
+
}), _vm._t("confirm", function() {
|
|
381
|
+
return [_c("tiny-button", {
|
|
382
|
+
staticClass: "tiny-picker-panel__link-btn",
|
|
383
|
+
attrs: {
|
|
384
|
+
"plain": _vm.state.confirmButtonProps.plain,
|
|
385
|
+
"type": _vm.state.confirmButtonProps.type,
|
|
386
|
+
"disabled": _vm.state.btnDisabled
|
|
387
|
+
},
|
|
388
|
+
on: {
|
|
389
|
+
"click": function click($event) {
|
|
390
|
+
return _vm.handleConfirm(false);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}, [_vm._v(" " + _vm._s(_vm.t("ui.datepicker.confirm")) + " ")])];
|
|
394
|
+
}, {
|
|
395
|
+
"confirm": function confirm() {
|
|
384
396
|
return _vm.handleConfirm(false);
|
|
385
397
|
}
|
|
386
|
-
}
|
|
387
|
-
},
|
|
398
|
+
})];
|
|
399
|
+
}, {
|
|
400
|
+
"confirm": function confirm() {
|
|
401
|
+
return _vm.handleConfirm(false);
|
|
402
|
+
},
|
|
403
|
+
"clear": _vm.handleClear
|
|
404
|
+
})], 2) : _vm._e()])]);
|
|
388
405
|
};
|
|
389
406
|
var staticRenderFns = [];
|
|
390
407
|
var __cssModules = {};
|
|
@@ -394,8 +411,8 @@ function __vue2_injectStyles(context) {
|
|
|
394
411
|
this[o] = __cssModules[o];
|
|
395
412
|
}
|
|
396
413
|
}
|
|
397
|
-
var pc = /* @__PURE__ */ function() {
|
|
414
|
+
var pc = /* @__PURE__ */ (function() {
|
|
398
415
|
return __component__.exports;
|
|
399
|
-
}();
|
|
416
|
+
})();
|
|
400
417
|
|
|
401
418
|
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-date-range",
|
|
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-renderless": "~3.
|
|
18
|
-
"@opentinyvue/vue-theme": "~3.
|
|
19
|
-
"@opentinyvue/vue-time": "~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-renderless": "~3.27.0",
|
|
18
|
+
"@opentinyvue/vue-theme": "~3.27.0",
|
|
19
|
+
"@opentinyvue/vue-time": "~2.27.0"
|
|
20
20
|
},
|
|
21
21
|
"types": "index.d.ts",
|
|
22
22
|
"scripts": {
|