diff --git a/doc/menubar/BasicDoc.vue b/doc/menubar/BasicDoc.vue index 01b7ad1aa..5349ef2a2 100644 --- a/doc/menubar/BasicDoc.vue +++ b/doc/menubar/BasicDoc.vue @@ -2,7 +2,7 @@

Menubar requires a collection of menuitems as its model.

-
+
@@ -14,125 +14,48 @@ export default { return { items: [ { - label: 'File', - icon: 'pi pi-fw pi-file', + label: 'Home', + icon: 'pi pi-home' + }, + { + label: 'Features', + icon: 'pi pi-star' + }, + { + label: 'Projects', + icon: 'pi pi-search', items: [ { - label: 'New', - icon: 'pi pi-fw pi-plus', + label: 'Components', + icon: 'pi pi-bolt' + }, + { + label: 'Blocks', + icon: 'pi pi-server' + }, + { + label: 'UI Kit', + icon: 'pi pi-pencil' + }, + { + label: 'Templates', + icon: 'pi pi-palette', items: [ { - label: 'Bookmark', - icon: 'pi pi-fw pi-bookmark' + label: 'Apollo', + icon: 'pi pi-palette' }, { - label: 'Video', - icon: 'pi pi-fw pi-video' - } - ] - }, - { - label: 'Delete', - icon: 'pi pi-fw pi-trash' - }, - { - separator: true - }, - { - label: 'Export', - icon: 'pi pi-fw pi-external-link' - } - ] - }, - { - label: 'Edit', - icon: 'pi pi-fw pi-pencil', - 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: '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' + label: 'Ultima', + icon: 'pi pi-palette' } ] } ] }, { - 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: 'Quit', - icon: 'pi pi-fw pi-power-off' + label: 'Contact', + icon: 'pi pi-envelope' } ], code: { @@ -141,7 +64,7 @@ export default { `, options: ` @@ -152,125 +75,48 @@ export default { return { items: [ { - label: 'File', - icon: 'pi pi-fw pi-file', + label: 'Home', + icon: 'pi pi-home' + }, + { + label: 'Features', + icon: 'pi pi-star' + }, + { + label: 'Projects', + icon: 'pi pi-search', items: [ { - label: 'New', - icon: 'pi pi-fw pi-plus', + label: 'Components', + icon: 'pi pi-bolt' + }, + { + label: 'Blocks', + icon: 'pi pi-server' + }, + { + label: 'UI Kit', + icon: 'pi pi-pencil' + }, + { + label: 'Templates', + icon: 'pi pi-palette', items: [ { - label: 'Bookmark', - icon: 'pi pi-fw pi-bookmark' + label: 'Apollo', + icon: 'pi pi-palette' }, { - label: 'Video', - icon: 'pi pi-fw pi-video' - } - ] - }, - { - label: 'Delete', - icon: 'pi pi-fw pi-trash' - }, - { - separator: true - }, - { - label: 'Export', - icon: 'pi pi-fw pi-external-link' - } - ] - }, - { - label: 'Edit', - icon: 'pi pi-fw pi-pencil', - 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: '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' + label: 'Ultima', + icon: 'pi pi-palette' } ] } ] }, { - 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: 'Quit', - icon: 'pi pi-fw pi-power-off' + label: 'Contact', + icon: 'pi pi-envelope' } ] }; @@ -280,7 +126,7 @@ export default { `, composition: ` @@ -290,125 +136,48 @@ import { ref } from "vue"; const items = ref([ { - label: 'File', - icon: 'pi pi-fw pi-file', + label: 'Home', + icon: 'pi pi-home' + }, + { + label: 'Features', + icon: 'pi pi-star' + }, + { + label: 'Projects', + icon: 'pi pi-search', items: [ { - label: 'New', - icon: 'pi pi-fw pi-plus', + label: 'Components', + icon: 'pi pi-bolt' + }, + { + label: 'Blocks', + icon: 'pi pi-server' + }, + { + label: 'UI Kit', + icon: 'pi pi-pencil' + }, + { + label: 'Templates', + icon: 'pi pi-palette', items: [ { - label: 'Bookmark', - icon: 'pi pi-fw pi-bookmark' + label: 'Apollo', + icon: 'pi pi-palette' }, { - label: 'Video', - icon: 'pi pi-fw pi-video' - } - ] - }, - { - label: 'Delete', - icon: 'pi pi-fw pi-trash' - }, - { - separator: true - }, - { - label: 'Export', - icon: 'pi pi-fw pi-external-link' - } - ] - }, - { - label: 'Edit', - icon: 'pi pi-fw pi-pencil', - 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: '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' + label: 'Ultima', + icon: 'pi pi-palette' } ] } ] }, { - 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: 'Quit', - icon: 'pi pi-fw pi-power-off' + label: 'Contact', + icon: 'pi pi-envelope' } ]); <\/script> diff --git a/doc/menubar/CommandDoc.vue b/doc/menubar/CommandDoc.vue new file mode 100644 index 000000000..7514f0cb6 --- /dev/null +++ b/doc/menubar/CommandDoc.vue @@ -0,0 +1,213 @@ + + + diff --git a/doc/menubar/RouterDoc.vue b/doc/menubar/RouterDoc.vue index b81d70f1a..67f3ebc64 100644 --- a/doc/menubar/RouterDoc.vue +++ b/doc/menubar/RouterDoc.vue @@ -1,28 +1,25 @@