feat: Update dependencies and fix import syntax for Vite migration (#7959)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Shivam Mishra
2023-09-21 17:55:54 +05:30
committed by GitHub
parent fabb3c8da4
commit 48bf8d08e5
211 changed files with 744 additions and 710 deletions

View File

@@ -21,7 +21,7 @@
</template>
<script>
import CardButton from 'shared/components/CardButton';
import CardButton from 'shared/components/CardButton.vue';
import darkModeMixin from 'widget/mixins/darkModeMixin.js';
export default {

View File

@@ -25,7 +25,7 @@
</template>
<script>
import ChatOption from 'shared/components/ChatOption';
import ChatOption from 'shared/components/ChatOption.vue';
import messageFormatterMixin from 'shared/mixins/messageFormatterMixin';
export default {

View File

@@ -47,7 +47,7 @@
<script>
import { mapGetters } from 'vuex';
import Spinner from 'shared/components/Spinner';
import Spinner from 'shared/components/Spinner.vue';
import { CSAT_RATINGS } from 'shared/constants/messages';
import FluentIcon from 'shared/components/FluentIcon/Index.vue';
import darkModeMixin from 'widget/mixins/darkModeMixin';

View File

@@ -8,7 +8,7 @@
/>
</template>
<script>
import BaseIcon from './Icon';
import BaseIcon from './Icon.vue';
import icons from './dashboard-icons.json';
export default {

View File

@@ -8,7 +8,7 @@
/>
</template>
<script>
import BaseIcon from './Icon';
import BaseIcon from './Icon.vue';
import icons from './icons.json';
export default {

View File

@@ -25,8 +25,8 @@
</template>
<script>
import WootMessageEditor from 'dashboard/components/widgets/WootWriter/Editor';
import ResizableTextArea from 'shared/components/ResizableTextArea';
import WootMessageEditor from 'dashboard/components/widgets/WootWriter/Editor.vue';
import ResizableTextArea from 'shared/components/ResizableTextArea.vue';
export default {
components: {

View File

@@ -21,7 +21,7 @@
</template>
<script>
import ArticleSkeletonLoader from 'shared/components/ArticleSkeletonLoader';
import ArticleSkeletonLoader from 'shared/components/ArticleSkeletonLoader.vue';
export default {
name: 'IframeRenderer',

View File

@@ -70,7 +70,7 @@
<script>
import Thumbnail from 'dashboard/components/widgets/Thumbnail.vue';
import MultiselectDropdownItems from 'shared/components/ui/MultiselectDropdownItems';
import MultiselectDropdownItems from 'shared/components/ui/MultiselectDropdownItems.vue';
import { mixin as clickaway } from 'vue-clickaway';
export default {
components: {

View File

@@ -7,7 +7,7 @@
</li>
</template>
<script>
import WootDropdownHeader from 'shared/components/ui/dropdown/DropdownHeader';
import WootDropdownHeader from 'shared/components/ui/dropdown/DropdownHeader.vue';
export default {
name: 'WootDropdownMenu',

View File

@@ -76,9 +76,9 @@
</template>
<script>
import LabelDropdownItem from './LabelDropdownItem';
import Hotkey from 'dashboard/components/base/Hotkey';
import AddLabelModal from 'dashboard/routes/dashboard/settings/labels/AddLabel';
import LabelDropdownItem from './LabelDropdownItem.vue';
import Hotkey from 'dashboard/components/base/Hotkey.vue';
import AddLabelModal from 'dashboard/routes/dashboard/settings/labels/AddLabel.vue';
import { picoSearch } from '@scmmishra/pico-search';
import { sanitizeLabel } from 'shared/helpers/sanitizeData';