chore: removed all defineModel imports

This commit is contained in:
Shariq Ansari 2024-02-08 22:18:43 +05:30
parent f8114cd633
commit 517619271c
17 changed files with 17 additions and 17 deletions

View File

@ -776,7 +776,7 @@ import {
call,
} from 'frappe-ui'
import { useElementVisibility } from '@vueuse/core'
import { ref, computed, h, defineModel, markRaw, watch, nextTick, onMounted } from 'vue'
import { ref, computed, h, markRaw, watch, nextTick, onMounted } from 'vue'
import { useRoute } from 'vue-router'
const { makeCall } = globalStore()

View File

@ -141,7 +141,7 @@ import ReloadIcon from '@/components/Icons/ReloadIcon.vue'
import NestedPopover from '@/components/NestedPopover.vue'
import Autocomplete from '@/components/frappe-ui/Autocomplete.vue'
import Draggable from 'vuedraggable'
import { computed, defineModel, ref } from 'vue'
import { computed, ref } from 'vue'
import { watchOnce } from '@vueuse/core'
const props = defineProps({

View File

@ -101,7 +101,7 @@ import EmailIcon from '@/components/Icons/EmailIcon.vue'
import { usersStore } from '@/stores/users'
import { useStorage } from '@vueuse/core'
import { call } from 'frappe-ui'
import { ref, watch, computed, defineModel, nextTick } from 'vue'
import { ref, watch, computed, nextTick } from 'vue'
const props = defineProps({
doctype: {

View File

@ -95,7 +95,7 @@ import {
import UserAvatar from '@/components/UserAvatar.vue'
import { contactsStore } from '@/stores/contacts'
import { Popover, createResource } from 'frappe-ui'
import { ref, defineModel, computed, nextTick } from 'vue'
import { ref, computed, nextTick } from 'vue'
import { watchDebounced } from '@vueuse/core'
const props = defineProps({

View File

@ -102,7 +102,7 @@ import FilterIcon from '@/components/Icons/FilterIcon.vue'
import Link from '@/components/Controls/Link.vue'
import Autocomplete from '@/components/frappe-ui/Autocomplete.vue'
import { FormControl, createResource } from 'frappe-ui'
import { h, defineModel, computed, onMounted } from 'vue'
import { h, computed, onMounted } from 'vue'
const typeCheck = ['Check']
const typeLink = ['Link', 'Dynamic Link']

View File

@ -99,7 +99,7 @@ import {
ListFooter,
call,
} from 'frappe-ui'
import { ref, defineModel, watch } from 'vue'
import { ref, watch } from 'vue'
const props = defineProps({
rows: {

View File

@ -123,7 +123,7 @@ import {
call,
Tooltip,
} from 'frappe-ui'
import { ref, defineModel, watch } from 'vue'
import { ref, watch } from 'vue'
const props = defineProps({
rows: {

View File

@ -72,7 +72,7 @@ import UserAvatar from '@/components/UserAvatar.vue'
import Link from '@/components/Controls/Link.vue'
import { usersStore } from '@/stores/users'
import { Tooltip, call } from 'frappe-ui'
import { defineModel, ref, computed } from 'vue'
import { ref, computed } from 'vue'
import { watchOnce } from '@vueuse/core'
const props = defineProps({

View File

@ -159,7 +159,7 @@ import Link from '@/components/Controls/Link.vue'
import Dropdown from '@/components/frappe-ui/Dropdown.vue'
import { contactsStore } from '@/stores/contacts'
import { call } from 'frappe-ui'
import { ref, defineModel, nextTick, watch, computed, h } from 'vue'
import { ref, nextTick, watch, computed, h } from 'vue'
import { createToast } from '@/utils'
import { useRouter } from 'vue-router'

View File

@ -38,7 +38,7 @@ import DatePicker from '@/components/Controls/DatePicker.vue'
import Link from '@/components/Controls/Link.vue'
import Autocomplete from '@/components/frappe-ui/Autocomplete.vue'
import { FormControl, call, createResource, TextEditor } from 'frappe-ui'
import { ref, computed, defineModel, onMounted, h } from 'vue'
import { ref, computed, onMounted, h } from 'vue'
const typeCheck = ['Check']
const typeLink = ['Link', 'Dynamic Link']

View File

@ -76,7 +76,7 @@
<script setup>
import { Checkbox, Select, TextEditor, call } from 'frappe-ui'
import { ref, defineModel, nextTick, watch } from 'vue'
import { ref, nextTick, watch } from 'vue'
const props = defineProps({
emailTemplate: {

View File

@ -63,7 +63,7 @@
<script setup>
import EmailTemplateModal from '@/components/Modals/EmailTemplateModal.vue'
import { TextEditor, createListResource } from 'frappe-ui'
import { defineModel, ref, computed, nextTick, watch, onMounted } from 'vue'
import { ref, computed, nextTick, watch, onMounted } from 'vue'
const props = defineProps({
doctype: {

View File

@ -63,7 +63,7 @@
<script setup>
import ArrowUpRightIcon from '@/components/Icons/ArrowUpRightIcon.vue'
import { TextEditor, call } from 'frappe-ui'
import { ref, defineModel, nextTick, watch } from 'vue'
import { ref, nextTick, watch } from 'vue'
import { useRouter } from 'vue-router';
const props = defineProps({

View File

@ -132,7 +132,7 @@ import TerritoryIcon from '@/components/Icons/TerritoryIcon.vue'
import Link from '@/components/Controls/Link.vue'
import { organizationsStore } from '@/stores/organizations'
import { call, FeatherIcon } from 'frappe-ui'
import { ref, defineModel, nextTick, watch, computed, h } from 'vue'
import { ref, nextTick, watch, computed, h } from 'vue'
import { useRouter } from 'vue-router'
const props = defineProps({

View File

@ -111,7 +111,7 @@ import { taskStatusOptions, taskPriorityOptions } from '@/utils'
import { usersStore } from '@/stores/users'
import DatetimePicker from '@/components/Controls/DatetimePicker.vue'
import { TextEditor, Dropdown, Tooltip, call } from 'frappe-ui'
import { ref, defineModel, watch, nextTick } from 'vue'
import { ref, watch, nextTick } from 'vue'
import { useRouter } from 'vue-router'
const props = defineProps({

View File

@ -35,7 +35,7 @@
<script setup>
import { call } from 'frappe-ui'
import { ref, watch, defineModel, nextTick } from 'vue'
import { ref, watch, nextTick } from 'vue'
const props = defineProps({
doctype: {

View File

@ -85,7 +85,7 @@ import { globalStore } from '@/stores/global'
import { viewsStore } from '@/stores/views'
import { usersStore } from '@/stores/users'
import { createResource, Dropdown, call, FeatherIcon } from 'frappe-ui'
import { computed, ref, defineModel, onMounted, watch, h } from 'vue'
import { computed, ref, onMounted, watch, h } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { useDebounceFn } from '@vueuse/core'