diff --git a/src/AppMenu.vue b/src/AppMenu.vue index f68a814f5..abdd4bb2f 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -129,6 +129,7 @@ ● MenuModel ● Breadcrumb ● Menu + ● TieredMenu diff --git a/src/components/tieredmenu/TieredMenu.vue b/src/components/tieredmenu/TieredMenu.vue new file mode 100644 index 000000000..87bcb5117 --- /dev/null +++ b/src/components/tieredmenu/TieredMenu.vue @@ -0,0 +1,216 @@ + + + + + \ No newline at end of file diff --git a/src/components/tieredmenu/TieredMenuSub.vue b/src/components/tieredmenu/TieredMenuSub.vue new file mode 100644 index 000000000..d0c49d6bd --- /dev/null +++ b/src/components/tieredmenu/TieredMenuSub.vue @@ -0,0 +1,57 @@ + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 37a977841..ec861617b 100644 --- a/src/main.js +++ b/src/main.js @@ -51,6 +51,7 @@ import Spinner from './components/spinner/Spinner'; import TabView from './components/tabview/TabView'; import TabPanel from './components/tabpanel/TabPanel'; import Textarea from './components/textarea/Textarea'; +import TieredMenu from './components/tieredmenu/TieredMenu'; import Tree from './components/tree/Tree'; import TreeTable from './components/treetable/TreeTable'; import Toast from './components/toast/Toast'; @@ -125,6 +126,7 @@ Vue.component('SplitButton', SplitButton); Vue.component('TabView', TabView); Vue.component('TabPanel', TabPanel); Vue.component('Textarea', Textarea); +Vue.component('TieredMenu', TieredMenu); Vue.component('Toast', Toast); Vue.component('Toolbar', Toolbar); Vue.component('ToggleButton', ToggleButton); diff --git a/src/router.js b/src/router.js index a26ebf135..18dc0dc0c 100644 --- a/src/router.js +++ b/src/router.js @@ -400,7 +400,12 @@ export default new Router({ path: '/tabview', name: 'tabview', component: () => import('./views/tabview/TabViewDemo.vue') - }, + }, + { + path: '/tieredmenu', + name: 'tieredmenu', + component: () => import('./views/tieredmenu/TieredMenuDemo.vue') + }, { path: '/toast', name: 'toast', diff --git a/src/views/tieredmenu/TieredMenuDemo.vue b/src/views/tieredmenu/TieredMenuDemo.vue new file mode 100644 index 000000000..97fa8b8d8 --- /dev/null +++ b/src/views/tieredmenu/TieredMenuDemo.vue @@ -0,0 +1,171 @@ + + + \ No newline at end of file diff --git a/src/views/tieredmenu/TieredMenuDoc.vue b/src/views/tieredmenu/TieredMenuDoc.vue new file mode 100644 index 000000000..6d674a04a --- /dev/null +++ b/src/views/tieredmenu/TieredMenuDoc.vue @@ -0,0 +1,268 @@ + \ No newline at end of file