fix: import onboarding components & composables from frappe-ui/frappe
This commit is contained in:
parent
d76b0e4df3
commit
46eb2395d1
@ -1 +1 @@
|
||||
Subproject commit f0f82b0cb7f29ac8a07a8e2ee67b88f1f04115bc
|
||||
Subproject commit e84d708832eefb5c79d38a98d4479dff4a3f505f
|
||||
@ -95,7 +95,8 @@ import Email2Icon from '@/components/Icons/Email2Icon.vue'
|
||||
import { capture } from '@/telemetry'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import { useStorage } from '@vueuse/core'
|
||||
import { call, createResource, useOnboarding } from 'frappe-ui'
|
||||
import { call, createResource } from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { ref, watch, computed } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@ -148,16 +148,14 @@ import {
|
||||
notificationsStore,
|
||||
} from '@/stores/notifications'
|
||||
import { showSettings, activeSettingsPage } from '@/composables/settings'
|
||||
import { FeatherIcon, TrialBanner, call } from 'frappe-ui'
|
||||
import {
|
||||
FeatherIcon,
|
||||
TrialBanner,
|
||||
HelpModal,
|
||||
GettingStartedBanner,
|
||||
useOnboarding,
|
||||
showHelpModal,
|
||||
minimize,
|
||||
call,
|
||||
} from 'frappe-ui'
|
||||
} from 'frappe-ui/frappe'
|
||||
import { capture } from '@/telemetry'
|
||||
import router from '@/router'
|
||||
import { useStorage } from '@vueuse/core'
|
||||
|
||||
@ -48,7 +48,8 @@ import { usersStore } from '@/stores/users'
|
||||
import { statusesStore } from '@/stores/statuses'
|
||||
import { isMobileView } from '@/composables/settings'
|
||||
import { capture } from '@/telemetry'
|
||||
import { createResource, useOnboarding } from 'frappe-ui'
|
||||
import { createResource } from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { computed, onMounted, ref, reactive, nextTick } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
|
||||
@ -65,7 +65,8 @@
|
||||
<script setup>
|
||||
import ArrowUpRightIcon from '@/components/Icons/ArrowUpRightIcon.vue'
|
||||
import { capture } from '@/telemetry'
|
||||
import { TextEditor, call, useOnboarding } from 'frappe-ui'
|
||||
import { TextEditor, call } from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { ref, nextTick, watch } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
|
||||
@ -118,14 +118,8 @@ import Link from '@/components/Controls/Link.vue'
|
||||
import { taskStatusOptions, taskPriorityOptions, getFormat } from '@/utils'
|
||||
import { usersStore } from '@/stores/users'
|
||||
import { capture } from '@/telemetry'
|
||||
import {
|
||||
TextEditor,
|
||||
Dropdown,
|
||||
Tooltip,
|
||||
call,
|
||||
DateTimePicker,
|
||||
useOnboarding,
|
||||
} from 'frappe-ui'
|
||||
import { TextEditor, Dropdown, Tooltip, call, DateTimePicker } from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { ref, watch, nextTick, onMounted } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
|
||||
@ -86,8 +86,8 @@ import {
|
||||
createResource,
|
||||
FormControl,
|
||||
Tooltip,
|
||||
useOnboarding,
|
||||
} from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { ref, computed } from 'vue'
|
||||
|
||||
const { updateOnboardingStep } = useOnboarding('frappecrm')
|
||||
|
||||
@ -340,8 +340,8 @@ import {
|
||||
Breadcrumbs,
|
||||
call,
|
||||
usePageMeta,
|
||||
useOnboarding,
|
||||
} from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { ref, computed, h, onMounted, onBeforeUnmount } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useActiveTabManager } from '@/composables/useActiveTabManager'
|
||||
|
||||
@ -360,8 +360,8 @@ import {
|
||||
Breadcrumbs,
|
||||
call,
|
||||
usePageMeta,
|
||||
useOnboarding,
|
||||
} from 'frappe-ui'
|
||||
import { useOnboarding } from 'frappe-ui/frappe'
|
||||
import { ref, reactive, computed, onMounted, watch } from 'vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { useActiveTabManager } from '@/composables/useActiveTabManager'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user