Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
</template>

<script lang="ts">
import type { PropType } from 'vue'
import type Vue from 'vue'
import type { Component, PropType } from 'vue'
import { computed, defineComponent, onBeforeMount, ref, watch } from 'vue'
import { use$x } from '../../composables/use-$x'
import BaseDropdown from '../base-dropdown.vue'
Expand All @@ -57,7 +56,7 @@ export default defineComponent({
/** The value of the selected columns number. */
modelValue: Number,
/** The transition to use for opening and closing the dropdown. */
animation: [String, Object] as PropType<string | typeof Vue>,
animation: [String, Object] as PropType<string | Component>,
},
emits: ['update:modelValue'],
setup(props, { emit, slots }) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Facet } from '@empathyco/x-types'
import type { DeepPartial, Dictionary } from '@empathyco/x-utils'
import type { DOMWrapper } from '@vue/test-utils'
import type Vue from 'vue'
import type { Component } from 'vue'
import type { RootXStoreState } from '../../../../../store/store.types'
import { mount } from '@vue/test-utils'
import { nextTick } from 'vue'
Expand Down Expand Up @@ -313,7 +313,7 @@ function renderFacetsComponent({
}

interface FacetsRenderOptions {
components?: Dictionary<typeof Vue>
components?: Dictionary<Component>
customFacetSlot?: string
facets?: Dictionary<Facet>
renderableFacets?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@

<script lang="ts">
import type { Sort } from '@empathyco/x-types'
import type { PropType } from 'vue'
import type Vue from 'vue'
import type { Component, PropType } from 'vue'
import { defineComponent, ref, watch } from 'vue'

import BaseDropdown from '../../../components/base-dropdown.vue'
Expand All @@ -57,7 +56,7 @@ export default defineComponent({
required: true,
},
/** The transition to use for opening and closing the dropdown. */
animation: [String, Object] as PropType<string | typeof Vue>,
animation: [String, Object] as PropType<string | Component>,
},
emits: ['change'],
setup(_, { emit }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

<script lang="ts">
import type { Sort } from '@empathyco/x-types'
import type { PropType } from 'vue'
import type Vue from 'vue'
import type { Component, PropType } from 'vue'
import type { VueCSSClasses } from '../../../utils/types'
import type { XEventsTypes } from '../../../wiring/events.types'
import { computed, defineComponent, watch } from 'vue'
Expand Down Expand Up @@ -56,7 +55,7 @@ export default defineComponent({
},
/** The transition to use for rendering the list. */
animation: {
type: [String, Object] as PropType<string | typeof Vue>,
type: [String, Object] as PropType<string | Component>,
default: () => 'ul',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@

<script lang="ts">
import type { Sort } from '@empathyco/x-types'
import type { PropType } from 'vue'
import type Vue from 'vue'
import type { Component, PropType } from 'vue'
import type { SortPickerItem } from './sort-picker-list.types'
import { computed, defineComponent, watch } from 'vue'
import BaseEventButton from '../../../components/base-event-button.vue'
Expand All @@ -49,7 +48,7 @@ export default defineComponent({
},
/** The transition to use for rendering the list. */
animation: {
type: [String, Object] as PropType<string | typeof Vue>,
type: [String, Object] as PropType<string | Component>,
default: () => 'div',
},
/** Class inherited by each sort button. */
Expand Down
Loading