diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 0e0446a6e..40b73e38b 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -132,6 +132,7 @@ ● MegaMenu ● Menu ● Menubar + ● PanelMenu ● Steps ● TabMenu ● TieredMenu diff --git a/src/components/panelmenu/PanelMenu.d.ts b/src/components/panelmenu/PanelMenu.d.ts new file mode 100644 index 000000000..3f7bd2ff2 --- /dev/null +++ b/src/components/panelmenu/PanelMenu.d.ts @@ -0,0 +1,5 @@ +import Vue from 'vue'; + +export declare class PanelMenu extends Vue { + model?: any[]; +} \ No newline at end of file diff --git a/src/components/panelmenu/PanelMenu.vue b/src/components/panelmenu/PanelMenu.vue new file mode 100644 index 000000000..23d07269d --- /dev/null +++ b/src/components/panelmenu/PanelMenu.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/src/components/panelmenu/PanelMenuSub.vue b/src/components/panelmenu/PanelMenuSub.vue new file mode 100644 index 000000000..196850181 --- /dev/null +++ b/src/components/panelmenu/PanelMenuSub.vue @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 8a36ecb66..9e26a04f7 100644 --- a/src/main.js +++ b/src/main.js @@ -39,6 +39,7 @@ import OrganizationChart from './components/organizationchart/OrganizationChart' import OverlayPanel from './components/overlaypanel/OverlayPanel'; import Paginator from './components/paginator/Paginator'; import Panel from './components/panel/Panel'; +import PanelMenu from './components/panelmenu/PanelMenu'; import Password from './components/password/Password'; import PickList from './components/picklist/PickList'; import ProgressBar from './components/progressbar/ProgressBar'; @@ -119,6 +120,7 @@ Vue.component('OrganizationChart', OrganizationChart); Vue.component('OverlayPanel', OverlayPanel); Vue.component('Paginator', Paginator); Vue.component('Panel', Panel); +Vue.component('PanelMenu', PanelMenu); Vue.component('Password', Password); Vue.component('PickList', PickList); Vue.component('ProgressBar', ProgressBar); diff --git a/src/router.js b/src/router.js index 99662b408..3220ec262 100644 --- a/src/router.js +++ b/src/router.js @@ -351,6 +351,11 @@ export default new Router({ name: 'panel', component: () => import('./views/panel/PanelDemo.vue') }, + { + path: '/panelmenu', + name: 'panelmenu', + component: () => import('./views/panelmenu/PanelMenuDemo.vue') + }, { path: '/picklist', name: 'picklist', diff --git a/src/views/panelmenu/PanelMenuDemo.vue b/src/views/panelmenu/PanelMenuDemo.vue new file mode 100644 index 000000000..90e1d84fc --- /dev/null +++ b/src/views/panelmenu/PanelMenuDemo.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file diff --git a/src/views/panelmenu/PanelMenuDoc.vue b/src/views/panelmenu/PanelMenuDoc.vue new file mode 100644 index 000000000..429ffde94 --- /dev/null +++ b/src/views/panelmenu/PanelMenuDoc.vue @@ -0,0 +1,268 @@ + \ No newline at end of file