From 553b0235455ed5de26ed69f40b191b7d60437dda Mon Sep 17 00:00:00 2001 From: X Date: Sat, 5 Dec 2020 17:16:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E9=A1=B6=E9=83=A8=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E4=BB=A5=E5=8F=8A=E7=AE=80=E5=8D=95=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/SimpleMenu.vue | 244 ------------------ src/layouts/TopMenu.vue | 401 ----------------------------- src/router/index.js | 512 ------------------------------------- src/store/index.js | 4 - src/store/side-menu.js | 25 -- src/store/simple-menu.js | 413 ------------------------------ src/store/top-menu.js | 418 ------------------------------ 7 files changed, 2017 deletions(-) delete mode 100644 src/layouts/SimpleMenu.vue delete mode 100644 src/layouts/TopMenu.vue delete mode 100644 src/store/simple-menu.js delete mode 100644 src/store/top-menu.js diff --git a/src/layouts/SimpleMenu.vue b/src/layouts/SimpleMenu.vue deleted file mode 100644 index 54567b4..0000000 --- a/src/layouts/SimpleMenu.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - diff --git a/src/layouts/TopMenu.vue b/src/layouts/TopMenu.vue deleted file mode 100644 index eafae44..0000000 --- a/src/layouts/TopMenu.vue +++ /dev/null @@ -1,401 +0,0 @@ - - - diff --git a/src/router/index.js b/src/router/index.js index 3380273..e1cbf8a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -264,518 +264,6 @@ const routes = [ } ] }, - { - path: "/simple-menu", - component: () => import('@/layouts/SimpleMenu'), - children: [ - { - path: "/", - name: "simple-menu-dashboard", - component: () => import('@/views/Dashboard') - }, - { - path: "inbox", - name: "simple-menu-inbox", - component: () => import('@/views/Inbox') - }, - { - path: "file-manager", - name: "simple-menu-file-manager", - component: () => import('@/views/FileManager') - }, - { - path: "point-of-sale", - name: "simple-menu-point-of-sale", - component: () => import('@/views/PointOfSale') - }, - { - path: "chat", - name: "simple-menu-chat", - component: () => import('@/views/Chat') - }, - { - path: "post", - name: "simple-menu-post", - component: () => import('@/views/Post') - }, - { - path: "crud-data-list", - name: "simple-menu-crud-data-list", - component: () => import('@/views/CrudDataList') - }, - { - path: "crud-form", - name: "simple-menu-crud-form", - component: () => import('@/views/CrudForm') - }, - { - path: "users-layout-1", - name: "simple-menu-users-layout-1", - component: () => import('@/views/UsersLayout1') - }, - { - path: "users-layout-2", - name: "simple-menu-users-layout-2", - component: () => import('@/views/UsersLayout2') - }, - { - path: "users-layout-3", - name: "simple-menu-users-layout-3", - component: () => import('@/views/UsersLayout3') - }, - { - path: "profile-overview-1", - name: "simple-menu-profile-overview-1", - component: () => import('@/views/ProfileOverview1') - }, - { - path: "profile-overview-2", - name: "simple-menu-profile-overview-2", - component: () => import('@/views/ProfileOverview2') - }, - { - path: "profile-overview-3", - name: "simple-menu-profile-overview-3", - component: () => import('@/views/ProfileOverview3') - }, - { - path: "wizard-layout-1", - name: "simple-menu-wizard-layout-1", - component: () => import('@/views/WizardLayout1') - }, - { - path: "wizard-layout-2", - name: "simple-menu-wizard-layout-2", - component: () => import('@/views/WizardLayout2') - }, - { - path: "wizard-layout-3", - name: "simple-menu-wizard-layout-3", - component: () => import('@/views/WizardLayout3') - }, - { - path: "blog-layout-1", - name: "simple-menu-blog-layout-1", - component: () => import('@/views/BlogLayout1') - }, - { - path: "blog-layout-2", - name: "simple-menu-blog-layout-2", - component: () => import('@/views/BlogLayout2') - }, - { - path: "blog-layout-3", - name: "simple-menu-blog-layout-3", - component: () => import('@/views/BlogLayout3') - }, - { - path: "pricing-layout-1", - name: "simple-menu-pricing-layout-1", - component: () => import('@/views/PricingLayout1') - }, - { - path: "pricing-layout-2", - name: "simple-menu-pricing-layout-2", - component: () => import('@/views/PricingLayout2') - }, - { - path: "invoice-layout-1", - name: "simple-menu-invoice-layout-1", - component: () => import('@/views/InvoiceLayout1') - }, - { - path: "invoice-layout-2", - name: "simple-menu-invoice-layout-2", - component: () => import('@/views/InvoiceLayout2') - }, - { - path: "faq-layout-1", - name: "simple-menu-faq-layout-1", - component: () => import('@/views/FaqLayout1') - }, - { - path: "faq-layout-2", - name: "simple-menu-faq-layout-2", - component: () => import('@/views/FaqLayout2') - }, - { - path: "faq-layout-3", - name: "simple-menu-faq-layout-3", - component: () => import('@/views/FaqLayout3') - }, - { - path: "update-profile", - name: "simple-menu-update-profile", - component: () => import('@/views/UpdateProfile') - }, - { - path: "change-password", - name: "simple-menu-change-password", - component: () => import('@/views/ChangePassword') - }, - { - path: "regular-table", - name: "simple-menu-regular-table", - component: () => import('@/views/RegularTable') - }, - { - path: "tabulator", - name: "simple-menu-tabulator", - component: () => import('@/views/Tabulator') - }, - { - path: "accordion", - name: "simple-menu-accordion", - component: () => import('@/views/Accordion') - }, - { - path: "button", - name: "simple-menu-button", - component: () => import('@/views/Button') - }, - { - path: "modal", - name: "simple-menu-modal", - component: () => import('@/views/Modal') - }, - { - path: "alert", - name: "simple-menu-alert", - component: () => import('@/views/Alert') - }, - { - path: "progress-bar", - name: "simple-menu-progress-bar", - component: () => import('@/views/ProgressBar') - }, - { - path: "tooltip", - name: "simple-menu-tooltip", - component: () => import('@/views/Tooltip') - }, - { - path: "dropdown", - name: "simple-menu-dropdown", - component: () => import('@/views/Dropdown') - }, - { - path: "toast", - name: "simple-menu-toast", - component: () => import('@/views/Toast') - }, - { - path: "typography", - name: "simple-menu-typography", - component: () => import('@/views/Typography') - }, - { - path: "icon", - name: "simple-menu-icon", - component: () => import('@/views/Icon') - }, - { - path: "loading-icon", - name: "simple-menu-loading-icon", - component: () => import('@/views/LoadingIcon') - }, - { - path: "regular-form", - name: "simple-menu-regular-form", - component: () => import('@/views/RegularForm') - }, - { - path: "datepicker", - name: "simple-menu-datepicker", - component: () => import('@/views/Datepicker') - }, - { - path: "file-upload", - name: "simple-menu-file-upload", - component: () => import('@/views/FileUpload') - }, - { - path: "wysiwyg-editor", - name: "simple-menu-wysiwyg-editor", - component: () => import('@/views/WysiwygEditor') - }, - { - path: "validation", - name: "simple-menu-validation", - component: () => import('@/views/Validation') - }, - { - path: "chart", - name: "simple-menu-chart", - component: () => import('@/views/Chart') - }, - { - path: "slider", - name: "simple-menu-slider", - component: () => import('@/views/Slider') - }, - { - path: "image-zoom", - name: "simple-menu-image-zoom", - component: () => import('@/views/ImageZoom') - } - ] - }, - { - path: "/top-menu", - component: () => import('@/layouts/TopMenu'), - children: [ - { - path: "/", - name: "top-menu-dashboard", - component: () => import('@/views/Dashboard') - }, - { - path: "inbox", - name: "top-menu-inbox", - component: () => import('@/views/Inbox') - }, - { - path: "file-manager", - name: "top-menu-file-manager", - component: () => import('@/views/FileManager') - }, - { - path: "point-of-sale", - name: "top-menu-point-of-sale", - component: () => import('@/views/PointOfSale') - }, - { - path: "chat", - name: "top-menu-chat", - component: () => import('@/views/Chat') - }, - { - path: "post", - name: "top-menu-post", - component: () => import('@/views/Post') - }, - { - path: "crud-data-list", - name: "top-menu-crud-data-list", - component: () => import('@/views/CrudDataList') - }, - { - path: "crud-form", - name: "top-menu-crud-form", - component: () => import('@/views/CrudForm') - }, - { - path: "users-layout-1", - name: "top-menu-users-layout-1", - component: () => import('@/views/UsersLayout1') - }, - { - path: "users-layout-2", - name: "top-menu-users-layout-2", - component: () => import('@/views/UsersLayout2') - }, - { - path: "users-layout-3", - name: "top-menu-users-layout-3", - component: () => import('@/views/UsersLayout3') - }, - { - path: "profile-overview-1", - name: "top-menu-profile-overview-1", - component: () => import('@/views/ProfileOverview1') - }, - { - path: "profile-overview-2", - name: "top-menu-profile-overview-2", - component: () => import('@/views/ProfileOverview2') - }, - { - path: "profile-overview-3", - name: "top-menu-profile-overview-3", - component: () => import('@/views/ProfileOverview3') - }, - { - path: "wizard-layout-1", - name: "top-menu-wizard-layout-1", - component: () => import('@/views/WizardLayout1') - }, - { - path: "wizard-layout-2", - name: "top-menu-wizard-layout-2", - component: () => import('@/views/WizardLayout2') - }, - { - path: "wizard-layout-3", - name: "top-menu-wizard-layout-3", - component: () => import('@/views/WizardLayout3') - }, - { - path: "blog-layout-1", - name: "top-menu-blog-layout-1", - component: () => import('@/views/BlogLayout1') - }, - { - path: "blog-layout-2", - name: "top-menu-blog-layout-2", - component: () => import('@/views/BlogLayout2') - }, - { - path: "blog-layout-3", - name: "top-menu-blog-layout-3", - component: () => import('@/views/BlogLayout3') - }, - { - path: "pricing-layout-1", - name: "top-menu-pricing-layout-1", - component: () => import('@/views/PricingLayout1') - }, - { - path: "pricing-layout-2", - name: "top-menu-pricing-layout-2", - component: () => import('@/views/PricingLayout2') - }, - { - path: "invoice-layout-1", - name: "top-menu-invoice-layout-1", - component: () => import('@/views/InvoiceLayout1') - }, - { - path: "invoice-layout-2", - name: "top-menu-invoice-layout-2", - component: () => import('@/views/InvoiceLayout2') - }, - { - path: "faq-layout-1", - name: "top-menu-faq-layout-1", - component: () => import('@/views/FaqLayout1') - }, - { - path: "faq-layout-2", - name: "top-menu-faq-layout-2", - component: () => import('@/views/FaqLayout2') - }, - { - path: "faq-layout-3", - name: "top-menu-faq-layout-3", - component: () => import('@/views/FaqLayout3') - }, - { - path: "update-profile", - name: "top-menu-update-profile", - component: () => import('@/views/UpdateProfile') - }, - { - path: "change-password", - name: "top-menu-change-password", - component: () => import('@/views/ChangePassword') - }, - { - path: "regular-table", - name: "top-menu-regular-table", - component: () => import('@/views/RegularTable') - }, - { - path: "tabulator", - name: "top-menu-tabulator", - component: () => import('@/views/Tabulator') - }, - { - path: "accordion", - name: "top-menu-accordion", - component: () => import('@/views/Accordion') - }, - { - path: "button", - name: "top-menu-button", - component: () => import('@/views/Button') - }, - { - path: "modal", - name: "top-menu-modal", - component: () => import('@/views/Modal') - }, - { - path: "alert", - name: "top-menu-alert", - component: () => import('@/views/Alert') - }, - { - path: "progress-bar", - name: "top-menu-progress-bar", - component: () => import('@/views/ProgressBar') - }, - { - path: "tooltip", - name: "top-menu-tooltip", - component: () => import('@/views/Tooltip') - }, - { - path: "dropdown", - name: "top-menu-dropdown", - component: () => import('@/views/Dropdown') - }, - { - path: "toast", - name: "top-menu-toast", - component: () => import('@/views/Toast') - }, - { - path: "typography", - name: "top-menu-typography", - component: () => import('@/views/Typography') - }, - { - path: "icon", - name: "top-menu-icon", - component: () => import('@/views/Icon') - }, - { - path: "loading-icon", - name: "top-menu-loading-icon", - component: () => import('@/views/LoadingIcon') - }, - { - path: "regular-form", - name: "top-menu-regular-form", - component: () => import('@/views/RegularForm') - }, - { - path: "datepicker", - name: "top-menu-datepicker", - component: () => import('@/views/Datepicker') - }, - { - path: "file-upload", - name: "top-menu-file-upload", - component: () => import('@/views/FileUpload') - }, - { - path: "wysiwyg-editor", - name: "top-menu-wysiwyg-editor", - component: () => import('@/views/WysiwygEditor') - }, - { - path: "validation", - name: "top-menu-validation", - component: () => import('@/views/Validation') - }, - { - path: "chart", - name: "top-menu-chart", - component: () => import('@/views/Chart') - }, - { - path: "slider", - name: "top-menu-slider", - component: () => import('@/views/Slider') - }, - { - path: "image-zoom", - name: "top-menu-image-zoom", - component: () => import('@/views/ImageZoom') - } - ] - }, { path: "/login", name: "login", diff --git a/src/store/index.js b/src/store/index.js index af4f807..0f8faa1 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2,8 +2,6 @@ import Vue from "vue"; import Vuex from "vuex"; import main from "./main"; import sideMenu from "./side-menu"; -import simpleMenu from "./simple-menu"; -import topMenu from "./top-menu"; Vue.use(Vuex); @@ -11,7 +9,5 @@ export default new Vuex.Store({ modules: { main: main, sideMenu: sideMenu, - simpleMenu: simpleMenu, - topMenu: topMenu } }); diff --git a/src/store/side-menu.js b/src/store/side-menu.js index c8674d0..8fac3d5 100644 --- a/src/store/side-menu.js +++ b/src/store/side-menu.js @@ -6,31 +6,6 @@ const state = () => { pageName: "side-menu-dashboard", title: "Dashboard" }, - { - icon: "BoxIcon", - pageName: "side-menu-menu-layout", - title: "Menu Layout", - subMenu: [ - { - icon: "", - pageName: "side-menu-dashboard", - title: "Side Menu", - ignore: true - }, - { - icon: "", - pageName: "simple-menu-dashboard", - title: "Simple Menu", - ignore: true - }, - { - icon: "", - pageName: "top-menu-dashboard", - title: "Top Menu", - ignore: true - } - ] - }, { icon: "InboxIcon", pageName: "side-menu-inbox", diff --git a/src/store/simple-menu.js b/src/store/simple-menu.js deleted file mode 100644 index c2eb0c5..0000000 --- a/src/store/simple-menu.js +++ /dev/null @@ -1,413 +0,0 @@ -const state = () => { - return { - menu: [ - { - icon: "HomeIcon", - pageName: "simple-menu-dashboard", - title: "Dashboard" - }, - { - icon: "BoxIcon", - pageName: "simple-menu-menu-layout", - title: "Menu Layout", - subMenu: [ - { - icon: "", - pageName: "side-menu-dashboard", - title: "Side Menu", - ignore: true - }, - { - icon: "", - pageName: "simple-menu-dashboard", - title: "Simple Menu", - ignore: true - }, - { - icon: "", - pageName: "top-menu-dashboard", - title: "Top Menu", - ignore: true - } - ] - }, - { - icon: "InboxIcon", - pageName: "simple-menu-inbox", - title: "Inbox" - }, - { - icon: "HardDriveIcon", - pageName: "simple-menu-file-manager", - title: "File Manager" - }, - { - icon: "CreditCardIcon", - pageName: "simple-menu-point-of-sale", - title: "Point of Sale" - }, - { - icon: "MessageSquareIcon", - pageName: "simple-menu-chat", - title: "Chat" - }, - { - icon: "FileTextIcon", - pageName: "simple-menu-post", - title: "Post" - }, - "devider", - { - icon: "EditIcon", - pageName: "simple-menu-crud", - title: "Crud", - subMenu: [ - { - icon: "", - pageName: "simple-menu-crud-data-list", - title: "Data List" - }, - { - icon: "", - pageName: "simple-menu-crud-form", - title: "Form" - } - ] - }, - { - icon: "UsersIcon", - pageName: "simple-menu-users", - title: "Users", - subMenu: [ - { - icon: "", - pageName: "simple-menu-users-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "simple-menu-users-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "simple-menu-users-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "TrelloIcon", - pageName: "simple-menu-profile", - title: "Profile", - subMenu: [ - { - icon: "", - pageName: "simple-menu-profile-overview-1", - title: "Overview 1" - }, - { - icon: "", - pageName: "simple-menu-profile-overview-2", - title: "Overview 2" - }, - { - icon: "", - pageName: "simple-menu-profile-overview-3", - title: "Overview 3" - } - ] - }, - { - icon: "LayoutIcon", - pageName: "simple-menu-layout", - title: "Pages", - subMenu: [ - { - icon: "", - pageName: "simple-menu-wizards", - title: "Wizards", - subMenu: [ - { - icon: "", - pageName: "simple-menu-wizard-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "simple-menu-wizard-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "simple-menu-wizard-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "", - pageName: "simple-menu-blog", - title: "Blog", - subMenu: [ - { - icon: "", - pageName: "simple-menu-blog-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "simple-menu-blog-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "simple-menu-blog-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "", - pageName: "simple-menu-pricing", - title: "Pricing", - subMenu: [ - { - icon: "", - pageName: "simple-menu-pricing-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "simple-menu-pricing-layout-2", - title: "Layout 2" - } - ] - }, - { - icon: "", - pageName: "simple-menu-invoice", - title: "Invoice", - subMenu: [ - { - icon: "", - pageName: "simple-menu-invoice-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "simple-menu-invoice-layout-2", - title: "Layout 2" - } - ] - }, - { - icon: "", - pageName: "simple-menu-faq", - title: "FAQ", - subMenu: [ - { - icon: "", - pageName: "simple-menu-faq-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "simple-menu-faq-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "simple-menu-faq-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "", - pageName: "login", - title: "Login" - }, - { - icon: "", - pageName: "register", - title: "Register" - }, - { - icon: "", - pageName: "error-page", - title: "Error Page" - }, - { - icon: "", - pageName: "simple-menu-update-profile", - title: "Update profile" - }, - { - icon: "", - pageName: "simple-menu-change-password", - title: "Change Password" - } - ] - }, - "devider", - { - icon: "InboxIcon", - pageName: "simple-menu-components", - title: "Components", - subMenu: [ - { - icon: "", - pageName: "simple-menu-grid", - title: "Grid", - subMenu: [ - { - icon: "", - pageName: "simple-menu-regular-table", - title: "Regular Table" - }, - { - icon: "", - pageName: "simple-menu-tabulator", - title: "Tabulator" - } - ] - }, - { - icon: "", - pageName: "simple-menu-accordion", - title: "Accordion" - }, - { - icon: "", - pageName: "simple-menu-button", - title: "Button" - }, - { - icon: "", - pageName: "simple-menu-modal", - title: "Modal" - }, - { - icon: "", - pageName: "simple-menu-alert", - title: "Alert" - }, - { - icon: "", - pageName: "simple-menu-progress-bar", - title: "Progress Bar" - }, - { - icon: "", - pageName: "simple-menu-tooltip", - title: "Tooltip" - }, - { - icon: "", - pageName: "simple-menu-dropdown", - title: "Dropdown" - }, - { - icon: "", - pageName: "simple-menu-toast", - title: "Toast" - }, - { - icon: "", - pageName: "simple-menu-typography", - title: "Typography" - }, - { - icon: "", - pageName: "simple-menu-icon", - title: "Icon" - }, - { - icon: "", - pageName: "simple-menu-loading-icon", - title: "Loading Icon" - } - ] - }, - { - icon: "SidebarIcon", - pageName: "simple-menu-forms", - title: "Forms", - subMenu: [ - { - icon: "", - pageName: "simple-menu-regular-form", - title: "Regular Form" - }, - { - icon: "", - pageName: "simple-menu-datepicker", - title: "Datepicker" - }, - { - icon: "", - pageName: "simple-menu-tail-select", - title: "Tail Select" - }, - { - icon: "", - pageName: "simple-menu-file-upload", - title: "File Upload" - }, - { - icon: "", - pageName: "simple-menu-wysiwyg-editor", - title: "Wysiwyg Editor" - }, - { - icon: "", - pageName: "simple-menu-validation", - title: "Validation" - } - ] - }, - { - icon: "HardDriveIcon", - pageName: "simple-menu-widgets", - title: "Widgets", - subMenu: [ - { - icon: "", - pageName: "simple-menu-chart", - title: "Chart" - }, - { - icon: "", - pageName: "simple-menu-slider", - title: "Slider" - }, - { - icon: "", - pageName: "simple-menu-image-zoom", - title: "Image Zoom" - } - ] - } - ] - }; -}; - -// getters -const getters = { - menu: state => state.menu -}; - -// actions -const actions = {}; - -// mutations -const mutations = {}; - -export default { - namespaced: true, - state, - getters, - actions, - mutations -}; diff --git a/src/store/top-menu.js b/src/store/top-menu.js deleted file mode 100644 index 5dab81a..0000000 --- a/src/store/top-menu.js +++ /dev/null @@ -1,418 +0,0 @@ -const state = () => { - return { - menu: [ - { - icon: "HomeIcon", - pageName: "top-menu-dashboard", - title: "Dashboard" - }, - { - icon: "BoxIcon", - pageName: "top-menu-menu-layout", - title: "Menu Layout", - subMenu: [ - { - icon: "", - pageName: "side-menu-dashboard", - title: "Side Menu", - ignore: true - }, - { - icon: "", - pageName: "simple-menu-dashboard", - title: "Simple Menu", - ignore: true - }, - { - icon: "", - pageName: "top-menu-dashboard", - title: "Top Menu", - ignore: true - } - ] - }, - { - icon: "ActivityIcon", - pageName: "top-menu-apps", - title: "Apps", - subMenu: [ - { - icon: "UsersIcon", - pageName: "top-menu-users", - title: "Users", - subMenu: [ - { - icon: "", - pageName: "top-menu-users-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "top-menu-users-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "top-menu-users-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "TrelloIcon", - pageName: "top-menu-profile", - title: "Profile", - subMenu: [ - { - icon: "", - pageName: "top-menu-profile-overview-1", - title: "Overview 1" - }, - { - icon: "", - pageName: "top-menu-profile-overview-2", - title: "Overview 2" - }, - { - icon: "", - pageName: "top-menu-profile-overview-3", - title: "Overview 3" - } - ] - }, - { - icon: "InboxIcon", - pageName: "top-menu-inbox", - title: "Inbox" - }, - { - icon: "FolderIcon", - pageName: "top-menu-file-manager", - title: "File Manager" - }, - { - icon: "CreditCardIcon", - pageName: "top-menu-point-of-sale", - title: "Point of Sale" - }, - { - icon: "MessageSquareIcon", - pageName: "top-menu-chat", - title: "Chat" - }, - { - icon: "FileTextIcon", - pageName: "top-menu-post", - title: "Post" - }, - { - icon: "EditIcon", - pageName: "top-menu-crud", - title: "Crud", - subMenu: [ - { - icon: "", - pageName: "top-menu-crud-data-list", - title: "Data List" - }, - { - icon: "", - pageName: "top-menu-crud-form", - title: "Form" - } - ] - } - ] - }, - { - icon: "LayoutIcon", - pageName: "top-menu-layout", - title: "Pages", - subMenu: [ - { - icon: "", - pageName: "top-menu-wizards", - title: "Wizards", - subMenu: [ - { - icon: "", - pageName: "top-menu-wizard-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "top-menu-wizard-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "top-menu-wizard-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "", - pageName: "top-menu-blog", - title: "Blog", - subMenu: [ - { - icon: "", - pageName: "top-menu-blog-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "top-menu-blog-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "top-menu-blog-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "", - pageName: "top-menu-pricing", - title: "Pricing", - subMenu: [ - { - icon: "", - pageName: "top-menu-pricing-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "top-menu-pricing-layout-2", - title: "Layout 2" - } - ] - }, - { - icon: "", - pageName: "top-menu-invoice", - title: "Invoice", - subMenu: [ - { - icon: "", - pageName: "top-menu-invoice-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "top-menu-invoice-layout-2", - title: "Layout 2" - } - ] - }, - { - icon: "", - pageName: "top-menu-faq", - title: "FAQ", - subMenu: [ - { - icon: "", - pageName: "top-menu-faq-layout-1", - title: "Layout 1" - }, - { - icon: "", - pageName: "top-menu-faq-layout-2", - title: "Layout 2" - }, - { - icon: "", - pageName: "top-menu-faq-layout-3", - title: "Layout 3" - } - ] - }, - { - icon: "", - pageName: "login", - title: "Login" - }, - { - icon: "", - pageName: "register", - title: "Register" - }, - { - icon: "", - pageName: "error-page", - title: "Error Page" - }, - { - icon: "", - pageName: "top-menu-update-profile", - title: "Update profile" - }, - { - icon: "", - pageName: "top-menu-change-password", - title: "Change Password" - } - ] - }, - { - icon: "InboxIcon", - pageName: "top-menu-components", - title: "Components", - subMenu: [ - { - icon: "", - pageName: "top-menu-grid", - title: "Grid", - subMenu: [ - { - icon: "", - pageName: "top-menu-regular-table", - title: "Regular Table" - }, - { - icon: "", - pageName: "top-menu-tabulator", - title: "Tabulator" - } - ] - }, - { - icon: "", - pageName: "top-menu-accordion", - title: "Accordion" - }, - { - icon: "", - pageName: "top-menu-button", - title: "Button" - }, - { - icon: "", - pageName: "top-menu-modal", - title: "Modal" - }, - { - icon: "", - pageName: "top-menu-alert", - title: "Alert" - }, - { - icon: "", - pageName: "top-menu-progress-bar", - title: "Progress Bar" - }, - { - icon: "", - pageName: "top-menu-tooltip", - title: "Tooltip" - }, - { - icon: "", - pageName: "top-menu-dropdown", - title: "Dropdown" - }, - { - icon: "", - pageName: "top-menu-toast", - title: "Toast" - }, - { - icon: "", - pageName: "top-menu-typography", - title: "Typography" - }, - { - icon: "", - pageName: "top-menu-icon", - title: "Icon" - }, - { - icon: "", - pageName: "top-menu-loading-icon", - title: "Loading Icon" - } - ] - }, - { - icon: "SidebarIcon", - pageName: "top-menu-forms", - title: "Forms", - subMenu: [ - { - icon: "", - pageName: "top-menu-regular-form", - title: "Regular Form" - }, - { - icon: "", - pageName: "top-menu-datepicker", - title: "Datepicker" - }, - { - icon: "", - pageName: "top-menu-tail-select", - title: "Tail Select" - }, - { - icon: "", - pageName: "top-menu-file-upload", - title: "File Upload" - }, - { - icon: "", - pageName: "top-menu-wysiwyg-editor", - title: "Wysiwyg Editor" - }, - { - icon: "", - pageName: "top-menu-validation", - title: "Validation" - } - ] - }, - { - icon: "HardDriveIcon", - pageName: "top-menu-widgets", - title: "Widgets", - subMenu: [ - { - icon: "", - pageName: "top-menu-chart", - title: "Chart" - }, - { - icon: "", - pageName: "top-menu-slider", - title: "Slider" - }, - { - icon: "", - pageName: "top-menu-image-zoom", - title: "Image Zoom" - } - ] - } - ] - }; -}; - -// getters -const getters = { - menu: state => state.menu -}; - -// actions -const actions = {}; - -// mutations -const mutations = {}; - -export default { - namespaced: true, - state, - getters, - actions, - mutations -};