From e2b443b2b2102db4b1f1352ee6296ff3797d35e5 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 18 Jan 2022 15:15:27 +0300 Subject: [PATCH] Fixed #2017 - Move PrimeFlex v2 Docs to Github --- src/assets/menu/menu.json | 42 +- src/router/index.js | 40 - src/views/dataview/DataViewDoc.vue | 2 +- src/views/display/DisplayDemo.vue | 43 - src/views/display/DisplayDoc.vue | 150 -- src/views/elevation/ElevationDemo.vue | 50 - src/views/elevation/ElevationDoc.vue | 146 -- src/views/flexbox/FlexBoxDemo.vue | 562 -------- src/views/formlayout/FormLayoutDemo.vue | 224 --- src/views/formlayout/FormLayoutDoc.vue | 883 ------------ src/views/grid/GridDemo.vue | 449 ------ src/views/grid/GridDoc.vue | 1692 ----------------------- src/views/primeflex/PrimeFlexSetup.vue | 160 --- src/views/spacing/SpacingDemo.vue | 92 -- src/views/spacing/SpacingDoc.vue | 329 ----- src/views/text/TextDemo.vue | 54 - src/views/text/TextDoc.vue | 204 --- 17 files changed, 5 insertions(+), 5117 deletions(-) delete mode 100644 src/views/display/DisplayDemo.vue delete mode 100644 src/views/display/DisplayDoc.vue delete mode 100644 src/views/elevation/ElevationDemo.vue delete mode 100644 src/views/elevation/ElevationDoc.vue delete mode 100644 src/views/flexbox/FlexBoxDemo.vue delete mode 100644 src/views/formlayout/FormLayoutDemo.vue delete mode 100644 src/views/formlayout/FormLayoutDoc.vue delete mode 100755 src/views/grid/GridDemo.vue delete mode 100755 src/views/grid/GridDoc.vue delete mode 100644 src/views/primeflex/PrimeFlexSetup.vue delete mode 100644 src/views/spacing/SpacingDemo.vue delete mode 100644 src/views/spacing/SpacingDoc.vue delete mode 100644 src/views/text/TextDemo.vue delete mode 100644 src/views/text/TextDoc.vue diff --git a/src/assets/menu/menu.json b/src/assets/menu/menu.json index 1b220465c..eec8099cb 100644 --- a/src/assets/menu/menu.json +++ b/src/assets/menu/menu.json @@ -112,46 +112,12 @@ "meta": ["primeflex"], "children": [ { - "name": "Setup", - "to": "/primeflex" + "name": "PrimeFlex v3", + "href": "https://www.primefaces.org/primeflex" }, { - "name": "Display", - "to": "/display" - }, - { - "name": "Elevation", - "to": "/elevation" - }, - { - "name": "Flexbox", - "to": "/flexbox" - }, - { - "name": "Form Layout", - "to": "/formlayout" - }, - { - "name": "Grid System", - "to": "/grid" - }, - { - "name": "Spacing", - "to": "/spacing" - }, - { - "name": "Text", - "to": "/text" - } - ] - }, - { - "name": "PrimeIcons", - "meta": ["primeicons"], - "children": [ - { - "name": "Icons v5", - "to": "/icons" + "name": "PrimeFlex v2", + "href": "https://github.com/primefaces/primeflex/wiki/PrimeFlex-v2" } ] }, diff --git a/src/router/index.js b/src/router/index.js index 2d482272f..8a223e5cb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -327,11 +327,6 @@ const routes = [ name: 'dialog', component: () => import('../views/dialog/DialogDemo.vue') }, - { - path: '/display', - name: 'display', - component: () => import('../views/display/DisplayDemo.vue') - }, { path: '/divider', name: 'divider', @@ -352,11 +347,6 @@ const routes = [ name: 'editor', component: () => import('../views/editor/EditorDemo.vue') }, - { - path: '/elevation', - name: 'elevation', - component: () => import('../views/elevation/ElevationDemo.vue') - }, { path: '/fieldset', name: 'fieldset', @@ -372,16 +362,6 @@ const routes = [ name: 'fileupload', component: () => import('../views/fileupload/FileUploadDemo.vue') }, - { - path: '/grid', - name: 'grid', - component: () => import('../views/grid/GridDemo.vue') - }, - { - path: '/formlayout', - name: 'formlayout', - component: () => import('../views/formlayout/FormLayoutDemo.vue') - }, { path: '/fullcalendar', name: 'fullcalendar', @@ -452,11 +432,6 @@ const routes = [ name: 'listbox', component: () => import('../views/listbox/ListboxDemo.vue') }, - { - path: '/flexbox', - name: 'flexbox', - component: () => import('../views/flexbox/FlexBoxDemo.vue') - }, { path: '/floatlabel', name: 'floatlabel', @@ -542,11 +517,6 @@ const routes = [ name: 'progressspinner', component: () => import('../views/progressspinner/ProgressSpinnerDemo.vue') }, - { - path: '/primeflex', - name: 'primeflex', - component: () => import('../views/primeflex/PrimeFlexSetup.vue') - }, { path: '/radiobutton', name: 'radiobutton', @@ -587,11 +557,6 @@ const routes = [ name: 'slider', component: () => import('../views/slider/SliderDemo.vue') }, - { - path: '/spacing', - name: 'spacing', - component: () => import('../views/spacing/SpacingDemo.vue') - }, { path: '/speeddial', name: 'speeddial', @@ -661,11 +626,6 @@ const routes = [ name: 'tag', component: () => import('../views/tag/TagDemo.vue') }, - { - path: '/text', - name: 'text', - component: () => import('../views/text/TextDemo.vue') - }, { path: '/textarea', name: 'textarea', diff --git a/src/views/dataview/DataViewDoc.vue b/src/views/dataview/DataViewDoc.vue index b4138ecce..d5941c061 100755 --- a/src/views/dataview/DataViewDoc.vue +++ b/src/views/dataview/DataViewDoc.vue @@ -15,7 +15,7 @@ import DataView from 'primevue/dataview';
PrimeFlex
-

DataView utilizes PrimeFlex library so it needs to be installed before getting started. Refer to FlexGrid documentation for details.

+

DataView utilizes PrimeFlex library so it needs to be installed before getting started. Refer to PrimeFlex documentation for details.

Getting Started

DataView requires a collection of items as its value and one or more templates depending on the layout mode e.g. list and grid. Throughout the samples, a car interface having vin, brand, year and color properties are used to define an object to be displayed by the dataview. Cars are loaded by a CarService that connects to a server to fetch the cars.

diff --git a/src/views/display/DisplayDemo.vue b/src/views/display/DisplayDemo.vue deleted file mode 100644 index 0cedcb865..000000000 --- a/src/views/display/DisplayDemo.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/display/DisplayDoc.vue b/src/views/display/DisplayDoc.vue deleted file mode 100644 index b5774c63a..000000000 --- a/src/views/display/DisplayDoc.vue +++ /dev/null @@ -1,150 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/elevation/ElevationDemo.vue b/src/views/elevation/ElevationDemo.vue deleted file mode 100644 index bac9d5ae4..000000000 --- a/src/views/elevation/ElevationDemo.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/elevation/ElevationDoc.vue b/src/views/elevation/ElevationDoc.vue deleted file mode 100644 index f5078918a..000000000 --- a/src/views/elevation/ElevationDoc.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/flexbox/FlexBoxDemo.vue b/src/views/flexbox/FlexBoxDemo.vue deleted file mode 100644 index a0b00bd54..000000000 --- a/src/views/flexbox/FlexBoxDemo.vue +++ /dev/null @@ -1,562 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/formlayout/FormLayoutDemo.vue b/src/views/formlayout/FormLayoutDemo.vue deleted file mode 100644 index f881a5303..000000000 --- a/src/views/formlayout/FormLayoutDemo.vue +++ /dev/null @@ -1,224 +0,0 @@ -