diff --git a/aform/package.json b/aform/package.json index 70e1e4c1..274ff0d7 100644 --- a/aform/package.json +++ b/aform/package.json @@ -44,7 +44,7 @@ "dependencies": { "@stonecrop/themes": "workspace:*", "@stonecrop/utilities": "workspace:*", - "@vueuse/core": "^11.1.0", + "@vueuse/core": "^12.0.0", "vue": "^3.5.11" }, "devDependencies": { diff --git a/aform/src/components/form/ADatePicker.vue b/aform/src/components/form/ADatePicker.vue index 47568768..d18bd58c 100644 --- a/aform/src/components/form/ADatePicker.vue +++ b/aform/src/components/form/ADatePicker.vue @@ -1,38 +1,40 @@ diff --git a/aform/tests/datepicker.spec.ts b/aform/tests/datepicker.spec.ts index 5d1c7b87..886a21a9 100644 --- a/aform/tests/datepicker.spec.ts +++ b/aform/tests/datepicker.spec.ts @@ -71,7 +71,7 @@ describe('datepicker component', () => { const $prevMonthBtn = wrapper.find('#next-month-btn') await $prevMonthBtn.trigger('click') - expect(wrapper.vm.currentMonth).toBe(new Date().getMonth() + 1) + expect(wrapper.vm.currentMonth).toBe((new Date().getMonth() + 1) % 12) }) it('select next year', async () => { diff --git a/atable/package.json b/atable/package.json index 1ed2d84f..932851fe 100644 --- a/atable/package.json +++ b/atable/package.json @@ -47,8 +47,8 @@ "dependencies": { "@stonecrop/themes": "workspace:*", "@stonecrop/utilities": "workspace:*", - "@vueuse/components": "^10.11.0", - "@vueuse/core": "^11.1.0", + "@vueuse/components": "^12.0.0", + "@vueuse/core": "^12.0.0", "pinia": "^2.3.0", "vue": "^3.5.11" }, diff --git a/atable/src/components/ACell.vue b/atable/src/components/ACell.vue index ce5324ac..aeee28ea 100644 --- a/atable/src/components/ACell.vue +++ b/atable/src/components/ACell.vue @@ -14,8 +14,7 @@ @input="updateCellData" @click="showModal" class="atable-cell" - :class="pinned ? 'sticky-column' : ''" - v-on-click-outside="store.closeModal"> + :class="pinned ? 'sticky-column' : ''"> import { KeypressHandlers, defaultKeypressHandlers, useKeyboardNav } from '@stonecrop/utilities' -import { vOnClickOutside } from '@vueuse/components' import { useElementBounding } from '@vueuse/core' import { computed, CSSProperties, ref, useTemplateRef } from 'vue' diff --git a/atable/src/components/ATable.vue b/atable/src/components/ATable.vue index 91695bdc..d5435b8f 100644 --- a/atable/src/components/ATable.vue +++ b/atable/src/components/ATable.vue @@ -1,5 +1,9 @@