From 63fc3df6947a0189a02e5a6de2aa12c2fb2c94f5 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sun, 10 Nov 2024 22:16:58 +0300 Subject: [PATCH] Add new components for designer --- apps/showcase/app.vue | 2 +- apps/showcase/{layouts => app}/AppEventBus.js | 0 .../components/landing/HeroSection.vue | 2 +- .../landing/samples/OverviewApp.vue | 2 +- .../layout}/AppConfigurator.vue | 2 +- .../components/layout/AppDesigner.vue | 476 ++++++++ .../layout}/AppFooter.vue | 0 .../layout}/AppMenu.vue | 0 .../layout}/AppMenuItem.vue | 0 .../layout}/AppNews.vue | 0 .../layout}/AppTopBar.vue | 6 +- .../designer/primitive/DesignBorderRadius.vue | 36 + .../designer/primitive/DesignColors.vue | 28 + .../designer/semantic/DesignFormField.vue | 83 ++ .../designer/semantic/DesignGeneral.vue | 74 ++ .../layout/designer/semantic/DesignList.vue | 50 + .../designer/semantic/DesignNavigation.vue | 65 + .../designer/semantic/DesignOverlay.vue | 68 ++ .../semantic/colorscheme/DesignCS.vue | 23 + .../semantic/colorscheme/DesignCSCommon.vue | 113 ++ .../colorscheme/DesignCSFormField.vue | 93 ++ .../semantic/colorscheme/DesignCSList.vue | 65 + .../colorscheme/DesignCSNavigation.vue | 85 ++ .../semantic/colorscheme/DesignCSOverlay.vue | 60 + apps/showcase/doc/chart/BasicDoc.vue | 2 +- apps/showcase/doc/chart/ComboDoc.vue | 2 +- apps/showcase/doc/chart/DoughnutDoc.vue | 2 +- apps/showcase/doc/chart/HorizontalBarDoc.vue | 2 +- apps/showcase/doc/chart/LineDoc.vue | 2 +- apps/showcase/doc/chart/LineStylesDoc.vue | 2 +- apps/showcase/doc/chart/MultiAxisDoc.vue | 2 +- apps/showcase/doc/chart/PieChartDoc.vue | 2 +- apps/showcase/doc/chart/PolarAreaDoc.vue | 2 +- apps/showcase/doc/chart/RadarDoc.vue | 2 +- apps/showcase/doc/chart/StackedBarDoc.vue | 2 +- apps/showcase/doc/chart/VerticalBarDoc.vue | 2 +- apps/showcase/doc/chart/pt/PTViewer.vue | 2 +- apps/showcase/layouts/AppDesigner.vue | 1053 ----------------- apps/showcase/layouts/default.vue | 12 - apps/showcase/pages/index.vue | 4 - apps/showcase/tailwind.config.js | 2 +- 41 files changed, 1338 insertions(+), 1092 deletions(-) rename apps/showcase/{layouts => app}/AppEventBus.js (100%) rename apps/showcase/{layouts => components/layout}/AppConfigurator.vue (99%) create mode 100644 apps/showcase/components/layout/AppDesigner.vue rename apps/showcase/{layouts => components/layout}/AppFooter.vue (100%) rename apps/showcase/{layouts => components/layout}/AppMenu.vue (100%) rename apps/showcase/{layouts => components/layout}/AppMenuItem.vue (100%) rename apps/showcase/{layouts => components/layout}/AppNews.vue (100%) rename apps/showcase/{layouts => components/layout}/AppTopBar.vue (99%) create mode 100644 apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue create mode 100644 apps/showcase/components/layout/designer/primitive/DesignColors.vue create mode 100644 apps/showcase/components/layout/designer/semantic/DesignFormField.vue create mode 100644 apps/showcase/components/layout/designer/semantic/DesignGeneral.vue create mode 100644 apps/showcase/components/layout/designer/semantic/DesignList.vue create mode 100644 apps/showcase/components/layout/designer/semantic/DesignNavigation.vue create mode 100644 apps/showcase/components/layout/designer/semantic/DesignOverlay.vue create mode 100644 apps/showcase/components/layout/designer/semantic/colorscheme/DesignCS.vue create mode 100644 apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue create mode 100644 apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSFormField.vue create mode 100644 apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSList.vue create mode 100644 apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSNavigation.vue create mode 100644 apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSOverlay.vue delete mode 100644 apps/showcase/layouts/AppDesigner.vue diff --git a/apps/showcase/app.vue b/apps/showcase/app.vue index 1dfe2c30d..c45b39bf1 100644 --- a/apps/showcase/app.vue +++ b/apps/showcase/app.vue @@ -5,7 +5,7 @@ diff --git a/apps/showcase/layouts/AppFooter.vue b/apps/showcase/components/layout/AppFooter.vue similarity index 100% rename from apps/showcase/layouts/AppFooter.vue rename to apps/showcase/components/layout/AppFooter.vue diff --git a/apps/showcase/layouts/AppMenu.vue b/apps/showcase/components/layout/AppMenu.vue similarity index 100% rename from apps/showcase/layouts/AppMenu.vue rename to apps/showcase/components/layout/AppMenu.vue diff --git a/apps/showcase/layouts/AppMenuItem.vue b/apps/showcase/components/layout/AppMenuItem.vue similarity index 100% rename from apps/showcase/layouts/AppMenuItem.vue rename to apps/showcase/components/layout/AppMenuItem.vue diff --git a/apps/showcase/layouts/AppNews.vue b/apps/showcase/components/layout/AppNews.vue similarity index 100% rename from apps/showcase/layouts/AppNews.vue rename to apps/showcase/components/layout/AppNews.vue diff --git a/apps/showcase/layouts/AppTopBar.vue b/apps/showcase/components/layout/AppTopBar.vue similarity index 99% rename from apps/showcase/layouts/AppTopBar.vue rename to apps/showcase/components/layout/AppTopBar.vue index bea563966..e26e1c84d 100755 --- a/apps/showcase/layouts/AppTopBar.vue +++ b/apps/showcase/components/layout/AppTopBar.vue @@ -131,8 +131,7 @@ diff --git a/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue b/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue new file mode 100644 index 000000000..0300f6ffe --- /dev/null +++ b/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue @@ -0,0 +1,36 @@ + + + diff --git a/apps/showcase/components/layout/designer/primitive/DesignColors.vue b/apps/showcase/components/layout/designer/primitive/DesignColors.vue new file mode 100644 index 000000000..1db186fd0 --- /dev/null +++ b/apps/showcase/components/layout/designer/primitive/DesignColors.vue @@ -0,0 +1,28 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/DesignFormField.vue b/apps/showcase/components/layout/designer/semantic/DesignFormField.vue new file mode 100644 index 000000000..c4af455bf --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/DesignFormField.vue @@ -0,0 +1,83 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue b/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue new file mode 100644 index 000000000..714bc391e --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/DesignGeneral.vue @@ -0,0 +1,74 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/DesignList.vue b/apps/showcase/components/layout/designer/semantic/DesignList.vue new file mode 100644 index 000000000..dea299d27 --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/DesignList.vue @@ -0,0 +1,50 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/DesignNavigation.vue b/apps/showcase/components/layout/designer/semantic/DesignNavigation.vue new file mode 100644 index 000000000..f572c9706 --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/DesignNavigation.vue @@ -0,0 +1,65 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/DesignOverlay.vue b/apps/showcase/components/layout/designer/semantic/DesignOverlay.vue new file mode 100644 index 000000000..563d4c42d --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/DesignOverlay.vue @@ -0,0 +1,68 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCS.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCS.vue new file mode 100644 index 000000000..c81607d68 --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCS.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue new file mode 100644 index 000000000..33a7dae85 --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSCommon.vue @@ -0,0 +1,113 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSFormField.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSFormField.vue new file mode 100644 index 000000000..589960ba2 --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSFormField.vue @@ -0,0 +1,93 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSList.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSList.vue new file mode 100644 index 000000000..14232e90a --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSList.vue @@ -0,0 +1,65 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSNavigation.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSNavigation.vue new file mode 100644 index 000000000..3c281dbbc --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSNavigation.vue @@ -0,0 +1,85 @@ + + + diff --git a/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSOverlay.vue b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSOverlay.vue new file mode 100644 index 000000000..9da04cea2 --- /dev/null +++ b/apps/showcase/components/layout/designer/semantic/colorscheme/DesignCSOverlay.vue @@ -0,0 +1,60 @@ + + + diff --git a/apps/showcase/doc/chart/BasicDoc.vue b/apps/showcase/doc/chart/BasicDoc.vue index fec24917a..dbc2a00ce 100644 --- a/apps/showcase/doc/chart/BasicDoc.vue +++ b/apps/showcase/doc/chart/BasicDoc.vue @@ -12,7 +12,7 @@ diff --git a/apps/showcase/layouts/default.vue b/apps/showcase/layouts/default.vue index e1b5998ec..935cc559f 100644 --- a/apps/showcase/layouts/default.vue +++ b/apps/showcase/layouts/default.vue @@ -20,11 +20,6 @@ diff --git a/apps/showcase/pages/index.vue b/apps/showcase/pages/index.vue index 79eec734a..e88cc415b 100644 --- a/apps/showcase/pages/index.vue +++ b/apps/showcase/pages/index.vue @@ -20,8 +20,6 @@ import HeroSection from '@/components/landing/HeroSection.vue'; import TemplateSection from '@/components/landing/TemplateSection.vue'; import ThemeSection from '@/components/landing/ThemeSection.vue'; import UsersSection from '@/components/landing/UsersSection.vue'; -import AppNews from '@/layouts/AppNews'; -import AppTopBar from '@/layouts/AppTopBar.vue'; export default { setup() { @@ -52,8 +50,6 @@ export default { } }, components: { - AppNews, - AppTopBar, HeroSection, ThemeSection, BlockSection, diff --git a/apps/showcase/tailwind.config.js b/apps/showcase/tailwind.config.js index 605b7f2e6..b26d9e148 100644 --- a/apps/showcase/tailwind.config.js +++ b/apps/showcase/tailwind.config.js @@ -6,7 +6,7 @@ module.exports = { preflight: false }, darkMode: ['selector', '[class="p-dark"]'], - content: ['./pages/**/*.vue', './layouts/**/*.vue', './components/doc/**/*.{js,vue,ts}', './components/landing/**/*.{js,vue,ts}', './components/template/**/*.{js,vue,ts}', './doc/**/*.{js,vue,ts}', './error.vue'], + content: ['./pages/**/*.vue', './layouts/**/*.vue', './components/**/*.{js,vue,ts}', './doc/**/*.{js,vue,ts}', './error.vue'], plugins: [primeui], theme: { screens: {