@@ -16,127 +16,70 @@ export default {
items: [
{
label: 'File',
- icon: 'pi pi-fw pi-file',
+ icon: 'pi pi-file',
items: [
{
label: 'New',
- icon: 'pi pi-fw pi-plus',
+ icon: 'pi pi-plus',
items: [
{
- label: 'Bookmark',
- icon: 'pi pi-fw pi-bookmark'
+ label: 'Document',
+ icon: 'pi pi-file'
+ },
+ {
+ label: 'Image',
+ icon: 'pi pi-image'
},
{
label: 'Video',
- icon: 'pi pi-fw pi-video'
+ icon: 'pi pi-video'
}
]
},
{
- label: 'Delete',
- icon: 'pi pi-fw pi-trash'
+ label: 'Open',
+ icon: 'pi pi-folder-open'
},
{
- separator: true
- },
- {
- label: 'Export',
- icon: 'pi pi-fw pi-external-link'
+ label: 'Print',
+ icon: 'pi pi-print'
}
]
},
{
label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
+ icon: 'pi pi-file-edit',
items: [
{
- label: 'Left',
- icon: 'pi pi-fw pi-align-left'
- },
- {
- label: 'Right',
- icon: 'pi pi-fw pi-align-right'
- },
- {
- label: 'Center',
- icon: 'pi pi-fw pi-align-center'
- },
- {
- label: 'Justify',
- icon: 'pi pi-fw pi-align-justify'
- }
- ]
- },
- {
- label: 'Users',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-user-plus'
+ label: 'Copy',
+ icon: 'pi pi-copy'
},
{
label: 'Delete',
- icon: 'pi pi-fw pi-user-minus'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-users',
- items: [
- {
- label: 'Filter',
- icon: 'pi pi-fw pi-filter',
- items: [
- {
- label: 'Print',
- icon: 'pi pi-fw pi-print'
- }
- ]
- },
- {
- icon: 'pi pi-fw pi-bars',
- label: 'List'
- }
- ]
+ icon: 'pi pi-times'
}
]
},
{
- label: 'Events',
- icon: 'pi pi-fw pi-calendar',
- items: [
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Save',
- icon: 'pi pi-fw pi-calendar-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- },
- {
- label: 'Archive',
- icon: 'pi pi-fw pi-calendar-times',
- items: [
- {
- label: 'Remove',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- }
- ]
+ label: 'Search',
+ icon: 'pi pi-search'
},
{
separator: true
},
{
- label: 'Quit',
- icon: 'pi pi-fw pi-power-off'
+ label: 'Share',
+ icon: 'pi pi-share-alt',
+ items: [
+ {
+ label: 'Slack',
+ icon: 'pi pi-slack'
+ },
+ {
+ label: 'Whatsapp',
+ icon: 'pi pi-whatsapp'
+ }
+ ]
}
],
code: {
@@ -159,127 +102,70 @@ export default {
items: [
{
label: 'File',
- icon: 'pi pi-fw pi-file',
+ icon: 'pi pi-file',
items: [
{
label: 'New',
- icon: 'pi pi-fw pi-plus',
+ icon: 'pi pi-plus',
items: [
{
- label: 'Bookmark',
- icon: 'pi pi-fw pi-bookmark'
+ label: 'Document',
+ icon: 'pi pi-file'
+ },
+ {
+ label: 'Image',
+ icon: 'pi pi-image'
},
{
label: 'Video',
- icon: 'pi pi-fw pi-video'
+ icon: 'pi pi-video'
}
]
},
{
- label: 'Delete',
- icon: 'pi pi-fw pi-trash'
+ label: 'Open',
+ icon: 'pi pi-folder-open'
},
{
- separator: true
- },
- {
- label: 'Export',
- icon: 'pi pi-fw pi-external-link'
+ label: 'Print',
+ icon: 'pi pi-print'
}
]
},
{
label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
+ icon: 'pi pi-file-edit',
items: [
{
- label: 'Left',
- icon: 'pi pi-fw pi-align-left'
- },
- {
- label: 'Right',
- icon: 'pi pi-fw pi-align-right'
- },
- {
- label: 'Center',
- icon: 'pi pi-fw pi-align-center'
- },
- {
- label: 'Justify',
- icon: 'pi pi-fw pi-align-justify'
- }
- ]
- },
- {
- label: 'Users',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-user-plus'
+ label: 'Copy',
+ icon: 'pi pi-copy'
},
{
label: 'Delete',
- icon: 'pi pi-fw pi-user-minus'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-users',
- items: [
- {
- label: 'Filter',
- icon: 'pi pi-fw pi-filter',
- items: [
- {
- label: 'Print',
- icon: 'pi pi-fw pi-print'
- }
- ]
- },
- {
- icon: 'pi pi-fw pi-bars',
- label: 'List'
- }
- ]
+ icon: 'pi pi-times'
}
]
},
{
- label: 'Events',
- icon: 'pi pi-fw pi-calendar',
- items: [
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Save',
- icon: 'pi pi-fw pi-calendar-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- },
- {
- label: 'Archive',
- icon: 'pi pi-fw pi-calendar-times',
- items: [
- {
- label: 'Remove',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- }
- ]
+ label: 'Search',
+ icon: 'pi pi-search'
},
{
separator: true
},
{
- label: 'Quit',
- icon: 'pi pi-fw pi-power-off'
+ label: 'Share',
+ icon: 'pi pi-share-alt',
+ items: [
+ {
+ label: 'Slack',
+ icon: 'pi pi-slack'
+ },
+ {
+ label: 'Whatsapp',
+ icon: 'pi pi-whatsapp'
+ }
+ ]
}
]
};
@@ -307,127 +193,70 @@ const menu = ref();
const items = ref([
{
label: 'File',
- icon: 'pi pi-fw pi-file',
+ icon: 'pi pi-file',
items: [
{
label: 'New',
- icon: 'pi pi-fw pi-plus',
+ icon: 'pi pi-plus',
items: [
{
- label: 'Bookmark',
- icon: 'pi pi-fw pi-bookmark'
+ label: 'Document',
+ icon: 'pi pi-file'
+ },
+ {
+ label: 'Image',
+ icon: 'pi pi-image'
},
{
label: 'Video',
- icon: 'pi pi-fw pi-video'
+ icon: 'pi pi-video'
}
]
},
{
- label: 'Delete',
- icon: 'pi pi-fw pi-trash'
+ label: 'Open',
+ icon: 'pi pi-folder-open'
},
{
- separator: true
- },
- {
- label: 'Export',
- icon: 'pi pi-fw pi-external-link'
+ label: 'Print',
+ icon: 'pi pi-print'
}
]
},
{
label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
+ icon: 'pi pi-file-edit',
items: [
{
- label: 'Left',
- icon: 'pi pi-fw pi-align-left'
- },
- {
- label: 'Right',
- icon: 'pi pi-fw pi-align-right'
- },
- {
- label: 'Center',
- icon: 'pi pi-fw pi-align-center'
- },
- {
- label: 'Justify',
- icon: 'pi pi-fw pi-align-justify'
- }
- ]
- },
- {
- label: 'Users',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-user-plus'
+ label: 'Copy',
+ icon: 'pi pi-copy'
},
{
label: 'Delete',
- icon: 'pi pi-fw pi-user-minus'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-users',
- items: [
- {
- label: 'Filter',
- icon: 'pi pi-fw pi-filter',
- items: [
- {
- label: 'Print',
- icon: 'pi pi-fw pi-print'
- }
- ]
- },
- {
- icon: 'pi pi-fw pi-bars',
- label: 'List'
- }
- ]
+ icon: 'pi pi-times'
}
]
},
{
- label: 'Events',
- icon: 'pi pi-fw pi-calendar',
- items: [
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Save',
- icon: 'pi pi-fw pi-calendar-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- },
- {
- label: 'Archive',
- icon: 'pi pi-fw pi-calendar-times',
- items: [
- {
- label: 'Remove',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- }
- ]
+ label: 'Search',
+ icon: 'pi pi-search'
},
{
separator: true
},
{
- label: 'Quit',
- icon: 'pi pi-fw pi-power-off'
+ label: 'Share',
+ icon: 'pi pi-share-alt',
+ items: [
+ {
+ label: 'Slack',
+ icon: 'pi pi-slack'
+ },
+ {
+ label: 'Whatsapp',
+ icon: 'pi pi-whatsapp'
+ }
+ ]
}
]);
diff --git a/doc/tieredmenu/RouterDoc.vue b/doc/tieredmenu/RouterDoc.vue
index 7f738ede7..df1445884 100644
--- a/doc/tieredmenu/RouterDoc.vue
+++ b/doc/tieredmenu/RouterDoc.vue
@@ -1,28 +1,25 @@
-
- Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
- NuxtLink or router-link . Here is an example with vue-router.
-
+ Items with navigation are defined with templating to be able to use a router link component, an external link or programmatic navigation.
-
+
diff --git a/pages/tieredmenu/index.vue b/pages/tieredmenu/index.vue
index 1260e69c9..4a1aefbf7 100755
--- a/pages/tieredmenu/index.vue
+++ b/pages/tieredmenu/index.vue
@@ -13,9 +13,11 @@