From 48bf8d08e54f9f1110c8760ba23fa4049673531e Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 21 Sep 2023 17:55:54 +0530 Subject: [PATCH] feat: Update dependencies and fix import syntax for Vite migration (#7959) Co-authored-by: Pranav Raj S --- app/javascript/dashboard/App.vue | 6 +- .../components/Accordion/AccordionItem.vue | 2 +- .../dashboard/components/ChatList.vue | 10 +- .../components/SnackbarContainer.vue | 2 +- .../components/buttons/FormSubmitButton.vue | 2 +- .../components/buttons/ResolveAction.vue | 2 +- .../components/layout/AvailabilityStatus.vue | 10 +- .../dashboard/components/layout/Sidebar.vue | 4 +- .../layout/sidebarComponents/AgentDetails.vue | 2 +- .../layout/sidebarComponents/OptionsMenu.vue | 6 +- .../layout/sidebarComponents/Primary.vue | 10 +- .../sidebarComponents/SecondaryNavItem.vue | 2 +- .../dashboard/components/ui/WootButton.vue | 4 +- .../widgets/AutomationActionInput.vue | 2 +- .../widgets/AutomationFileInput.vue | 2 +- .../components/widgets/ChannelItem.vue | 2 +- .../components/widgets/DashboardApp/Frame.vue | 2 +- .../components/widgets/LabelSelector.vue | 4 +- .../components/widgets/Thumbnail.vue | 2 +- .../components/widgets/ThumbnailGroup.vue | 2 +- .../components/widgets/WootWriter/Editor.vue | 6 +- .../widgets/WootWriter/ReplyBottomPanel.vue | 2 +- .../conversation/ConversationBasicFilter.vue | 2 +- .../widgets/conversation/ConversationBox.vue | 8 +- .../widgets/conversation/ConversationCard.vue | 6 +- .../conversation/ConversationHeader.vue | 8 +- .../conversation/EmptyState/EmptyState.vue | 4 +- .../EmptyState/FeaturePlaceholder.vue | 2 +- .../widgets/conversation/Message.vue | 22 +- .../widgets/conversation/MessagesView.vue | 6 +- .../widgets/conversation/MoreActions.vue | 4 +- .../widgets/conversation/ReplyBox.vue | 16 +- .../conversation/bubble/ImageAudioVideo.vue | 2 +- .../conversation/components/GalleryView.vue | 2 +- .../contextMenu/agentLoadingPlaceholder.vue | 2 +- .../conversationBulkActions/AgentSelector.vue | 2 +- .../widgets/modal/ConfirmDeleteModal.vue | 2 +- .../widgets/modal/ConfirmationModal.vue | 2 +- .../components/widgets/modal/DeleteModal.vue | 2 +- .../widgets/modal/WootKeyShortcutModal.vue | 2 +- .../modules/contact/ContactMergeModal.vue | 2 +- .../contact/components/AddCustomAttribute.vue | 2 +- .../contact/components/ContactAttribute.vue | 2 +- .../components/ContactDropdownItem.vue | 2 +- .../contact/components/ContactFields.vue | 2 +- .../contact/components/ContactIntro.vue | 4 +- .../contact/components/ContactPanel.vue | 10 +- .../contact/components/MergeContact.vue | 4 +- .../components/MessageContextMenu.vue | 4 +- .../modules/notes/NotesOnContactPage.vue | 2 +- .../modules/notes/components/AddNote.vue | 2 +- .../modules/notes/components/ContactNote.vue | 2 +- .../modules/notes/components/NoteList.vue | 6 +- .../components/SearchResultMessagesList.vue | 2 +- .../widget-preview/components/Widget.vue | 8 +- .../widget-preview/components/WidgetBody.vue | 2 +- .../components/WidgetFooter.vue | 4 +- .../dashboard/routes/dashboard/Dashboard.vue | 12 +- .../contacts/components/ContactInfoPanel.vue | 6 +- .../contacts/components/ContactsTable.vue | 2 +- .../contacts/components/ContactsView.vue | 14 +- .../contacts/components/ImportContacts.vue | 2 +- .../contacts/pages/ContactManageView.vue | 6 +- .../conversation/ContactConversations.vue | 4 +- .../dashboard/conversation/ContactPanel.vue | 8 +- .../conversation/ConversationParticipant.vue | 6 +- .../conversation/ConversationView.vue | 6 +- .../dashboard/conversation/Macros/List.vue | 2 +- .../conversation/Macros/MacroItem.vue | 2 +- .../conversation/contact/ContactInfo.vue | 10 +- .../conversation/contact/ContactInfoRow.vue | 2 +- .../conversation/contact/ConversationForm.vue | 10 +- .../conversation/contact/CreateContact.vue | 2 +- .../conversation/contact/EditContact.vue | 2 +- .../conversation/contact/NewConversation.vue | 2 +- .../conversation/labels/LabelBox.vue | 6 +- .../helpcenter/components/AddLocale.vue | 2 +- .../helpcenter/components/ArticleEditor.vue | 2 +- .../helpcenter/components/ArticleTable.vue | 2 +- .../components/Header/ArticleHeader.vue | 2 +- .../components/HelpCenterLayout.vue | 10 +- .../helpcenter/components/PortalListItem.vue | 4 +- .../components/PortalSettingsBasicForm.vue | 2 +- .../helpcenter/components/PortalSwitch.vue | 2 +- .../helpcenter/components/Sidebar/Sidebar.vue | 4 +- .../components/Sidebar/SidebarHeader.vue | 2 +- .../pages/articles/ArticleSettings.vue | 2 +- .../helpcenter/pages/articles/EditArticle.vue | 8 +- .../pages/articles/ListAllArticles.vue | 6 +- .../helpcenter/pages/articles/NewArticle.vue | 2 +- .../pages/categories/ListAllCategories.vue | 6 +- .../helpcenter/pages/portals/EditPortal.vue | 4 +- .../pages/portals/EditPortalBasic.vue | 2 +- .../pages/portals/EditPortalCustomization.vue | 2 +- .../pages/portals/EditPortalLocales.vue | 2 +- .../pages/portals/ListAllPortals.vue | 6 +- .../helpcenter/pages/portals/NewPortal.vue | 2 +- .../pages/portals/PortalCustomization.vue | 2 +- .../pages/portals/PortalDetails.vue | 2 +- .../pages/portals/PortalSettingsFinish.vue | 2 +- .../components/NotificationPanel.vue | 2 +- .../components/NotificationsView.vue | 4 +- .../dashboard/settings/SettingsHeader.vue | 2 +- .../routes/dashboard/settings/Wrapper.vue | 2 +- .../agentBots/components/AgentBotRow.vue | 2 +- .../agentBots/components/CSMLMonacoEditor.vue | 2 +- .../settings/agentBots/csml/Edit.vue | 2 +- .../dashboard/settings/agents/EditAgent.vue | 4 +- .../dashboard/settings/agents/Index.vue | 6 +- .../settings/attributes/CustomAttribute.vue | 2 +- .../dashboard/settings/attributes/Index.vue | 4 +- .../dashboard/settings/auditlogs/Index.vue | 2 +- .../settings/campaigns/AddCampaign.vue | 2 +- .../dashboard/settings/campaigns/Campaign.vue | 4 +- .../settings/campaigns/CampaignCard.vue | 4 +- .../settings/campaigns/EditCampaign.vue | 2 +- .../dashboard/settings/campaigns/Index.vue | 2 +- .../dashboard/settings/canned/AddCanned.vue | 6 +- .../dashboard/settings/canned/EditCanned.vue | 6 +- .../dashboard/settings/canned/Index.vue | 4 +- .../dashboard/settings/inbox/AddAgents.vue | 2 +- .../dashboard/settings/inbox/ChannelList.vue | 4 +- .../dashboard/settings/inbox/FinishSetup.vue | 2 +- .../dashboard/settings/inbox/ImapSettings.vue | 2 +- .../routes/dashboard/settings/inbox/Index.vue | 2 +- .../settings/inbox/PreChatForm/Settings.vue | 2 +- .../dashboard/settings/inbox/Settings.vue | 22 +- .../dashboard/settings/inbox/SmtpSettings.vue | 6 +- .../settings/inbox/WidgetBuilder.vue | 4 +- .../dashboard/settings/inbox/channels/Api.vue | 2 +- .../settings/inbox/channels/Email.vue | 6 +- .../settings/inbox/channels/Facebook.vue | 4 +- .../settings/inbox/channels/Line.vue | 2 +- .../dashboard/settings/inbox/channels/Sms.vue | 4 +- .../settings/inbox/channels/Telegram.vue | 2 +- .../settings/inbox/channels/Website.vue | 4 +- .../settings/inbox/channels/Whatsapp.vue | 8 +- .../emailChannels/ForwardToOption.vue | 2 +- .../inbox/channels/microsoft/Reauthorize.vue | 2 +- .../inbox/components/BotConfiguration.vue | 4 +- .../components/SenderNameExamplePreview.vue | 4 +- .../inbox/components/WeeklyAvailability.vue | 6 +- .../settings/inbox/facebook/Reauthorize.vue | 2 +- .../inbox/settingsPage/CollaboratorsPage.vue | 2 +- .../inbox/settingsPage/ConfigurationPage.vue | 8 +- .../settings/integrationapps/Index.vue | 2 +- .../integrationapps/IntegrationHooks.vue | 6 +- .../integrationapps/IntegrationItem.vue | 2 +- .../dashboard/settings/integrations/Index.vue | 2 +- .../settings/integrations/ShowIntegration.vue | 4 +- .../dashboard/settings/integrations/Slack.vue | 2 +- .../settings/integrations/Webhooks/Index.vue | 6 +- .../integrations/Webhooks/WebhookRow.vue | 2 +- .../dashboard/settings/labels/Index.vue | 4 +- .../dashboard/settings/macros/Index.vue | 2 +- .../dashboard/settings/macros/MacroEditor.vue | 2 +- .../dashboard/settings/macros/MacroForm.vue | 4 +- .../dashboard/settings/macros/MacroNode.vue | 2 +- .../settings/macros/MacrosTableRow.vue | 2 +- .../dashboard/settings/profile/Index.vue | 6 +- .../settings/profile/MessageSignature.vue | 2 +- .../settings/reports/AgentReports.vue | 2 +- .../settings/reports/CsatResponses.vue | 6 +- .../settings/reports/InboxReports.vue | 2 +- .../dashboard/settings/reports/Index.vue | 2 +- .../settings/reports/LabelReports.vue | 2 +- .../settings/reports/LiveReports.vue | 6 +- .../settings/reports/TeamReports.vue | 2 +- .../reports/components/CsatMetrics.vue | 2 +- .../settings/reports/components/CsatTable.vue | 2 +- .../reports/components/WootReports.vue | 2 +- .../settings/teams/Create/AddAgents.vue | 4 +- .../settings/teams/Create/CreateTeam.vue | 4 +- .../settings/teams/Edit/EditAgents.vue | 6 +- .../settings/teams/Edit/EditTeam.vue | 6 +- .../dashboard/settings/teams/FinishSetup.vue | 2 +- .../dashboard/settings/teams/TeamForm.vue | 2 +- .../routes/dashboard/suspended/Index.vue | 2 +- .../portal/components/PublicArticleSearch.vue | 4 +- app/javascript/shared/components/ChatCard.vue | 2 +- .../shared/components/ChatOptions.vue | 2 +- .../components/CustomerSatisfaction.vue | 2 +- .../components/FluentIcon/DashboardIcon.vue | 2 +- .../shared/components/FluentIcon/Index.vue | 2 +- .../shared/components/GreetingsEditor.vue | 4 +- .../shared/components/IframeLoader.vue | 2 +- .../components/ui/MultiselectDropdown.vue | 2 +- .../ui/dropdown/DropdownSubMenu.vue | 2 +- .../components/ui/label/LabelDropdown.vue | 6 +- app/javascript/survey/components/Feedback.vue | 4 +- app/javascript/survey/views/Response.vue | 10 +- .../v3/components/Button/SubmitButton.vue | 2 +- .../v3/components/SnackBar/Container.vue | 2 +- .../v3/views/auth/confirmation/Index.vue | 2 +- app/javascript/v3/views/login/Index.vue | 4 +- .../widget/components/AgentMessage.vue | 10 +- .../widget/components/AgentMessageBubble.vue | 14 +- .../widget/components/ArticleList.vue | 2 +- .../widget/components/ChatFooter.vue | 2 +- .../widget/components/ChatHeader.vue | 2 +- .../widget/components/ChatHeaderExpanded.vue | 2 +- .../widget/components/ChatInputWrap.vue | 2 +- .../widget/components/PreChat/Form.vue | 4 +- .../widget/components/UnreadMessage.vue | 2 +- .../widget/components/UserMessage.vue | 8 +- .../widget/components/template/EmailInput.vue | 2 +- app/javascript/widget/views/ArticleViewer.vue | 2 +- app/javascript/widget/views/Home.vue | 6 +- app/javascript/widget/views/PreChatForm.vue | 2 +- package.json | 6 +- yarn.lock | 634 +++++++++--------- 211 files changed, 744 insertions(+), 710 deletions(-) diff --git a/app/javascript/dashboard/App.vue b/app/javascript/dashboard/App.vue index b115f17b5..649d56d15 100644 --- a/app/javascript/dashboard/App.vue +++ b/app/javascript/dashboard/App.vue @@ -26,14 +26,14 @@