@coreui/vue-pro 4.11.1 → 4.11.3
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/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
Several quick start options are available:
|
|
48
48
|
|
|
49
|
-
- [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.
|
|
49
|
+
- [Download the latest release](https://github.com/coreui/coreui-vue-pro/archive/v4.11.3.zip)
|
|
50
50
|
- Clone the repo: `git clone https://github.com/coreui/coreui-vue-pro.git`
|
|
51
51
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue-pro`
|
|
52
52
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue-pro`
|
package/dist/index.es.js
CHANGED
|
@@ -8066,7 +8066,9 @@ const CDateRangePicker = defineComponent({
|
|
|
8066
8066
|
onClick: () => {
|
|
8067
8067
|
const date = new Date();
|
|
8068
8068
|
startDate.value = date;
|
|
8069
|
-
|
|
8069
|
+
if (props.range) {
|
|
8070
|
+
endDate.value = date;
|
|
8071
|
+
}
|
|
8070
8072
|
calendarDate.value = date;
|
|
8071
8073
|
},
|
|
8072
8074
|
}, () => props.todayButton),
|
|
@@ -8075,7 +8077,9 @@ const CDateRangePicker = defineComponent({
|
|
|
8075
8077
|
color: props.cancelButtonColor,
|
|
8076
8078
|
onClick: () => {
|
|
8077
8079
|
startDate.value = initialStartDate.value;
|
|
8078
|
-
|
|
8080
|
+
if (props.range) {
|
|
8081
|
+
endDate.value = initialEndDate.value;
|
|
8082
|
+
}
|
|
8079
8083
|
visible.value = false;
|
|
8080
8084
|
},
|
|
8081
8085
|
size: props.cancelButtonSize,
|
|
@@ -12380,6 +12384,7 @@ const CNavbarPlugin = {
|
|
|
12380
12384
|
|
|
12381
12385
|
const COffcanvas = defineComponent({
|
|
12382
12386
|
name: 'COffcanvas',
|
|
12387
|
+
inheritAttrs: false,
|
|
12383
12388
|
props: {
|
|
12384
12389
|
/**
|
|
12385
12390
|
* Apply a backdrop on body while offcanvas is open.
|
|
@@ -12462,7 +12467,7 @@ const COffcanvas = defineComponent({
|
|
|
12462
12467
|
*/
|
|
12463
12468
|
'show',
|
|
12464
12469
|
],
|
|
12465
|
-
setup(props, {
|
|
12470
|
+
setup(props, { attrs, emit, slots }) {
|
|
12466
12471
|
const offcanvasRef = ref();
|
|
12467
12472
|
const visible = ref(props.visible);
|
|
12468
12473
|
watch(() => props.visible, () => {
|
|
@@ -12520,11 +12525,13 @@ const COffcanvas = defineComponent({
|
|
|
12520
12525
|
onLeave: (el, done) => handleLeave(el, done),
|
|
12521
12526
|
onAfterLeave: (el) => handleAfterLeave(el),
|
|
12522
12527
|
}, () => withDirectives(h$1('div', {
|
|
12528
|
+
...attrs,
|
|
12523
12529
|
class: [
|
|
12524
12530
|
{
|
|
12525
12531
|
[`offcanvas${typeof props.responsive === 'boolean' ? '' : '-' + props.responsive}`]: props.responsive,
|
|
12526
12532
|
[`offcanvas-${props.placement}`]: props.placement,
|
|
12527
12533
|
},
|
|
12534
|
+
attrs.class,
|
|
12528
12535
|
],
|
|
12529
12536
|
onKeydown: (event) => handleKeyDown(event),
|
|
12530
12537
|
ref: offcanvasRef,
|