From 19324e94ffc243df1b5152fe3d0f649e58ba423b Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 19 Sep 2024 10:36:09 +0300 Subject: [PATCH] PtViewer demos added --- apps/showcase/components/doc/DocPTViewer.vue | 1 + apps/showcase/doc/divider/pt/PTImage.vue | 8 ---- apps/showcase/doc/divider/pt/PTViewer.vue | 41 +++++++++++++++++ apps/showcase/doc/divider/pt/index.vue | 8 ++-- apps/showcase/doc/galleria/pt/PTImage.vue | 8 ---- apps/showcase/doc/galleria/pt/PTViewer.vue | 45 +++++++++++++++++++ apps/showcase/doc/galleria/pt/index.vue | 8 ++-- apps/showcase/doc/progressbar/pt/PTImage.vue | 8 ---- apps/showcase/doc/progressbar/pt/PTViewer.vue | 25 +++++++++++ apps/showcase/doc/progressbar/pt/index.vue | 8 ++-- apps/showcase/doc/timeline/pt/index.vue | 8 ++-- .../primevue/src/galleria/GalleriaContent.vue | 3 +- 12 files changed, 130 insertions(+), 41 deletions(-) delete mode 100644 apps/showcase/doc/divider/pt/PTImage.vue create mode 100644 apps/showcase/doc/divider/pt/PTViewer.vue delete mode 100644 apps/showcase/doc/galleria/pt/PTImage.vue create mode 100644 apps/showcase/doc/galleria/pt/PTViewer.vue delete mode 100644 apps/showcase/doc/progressbar/pt/PTImage.vue create mode 100644 apps/showcase/doc/progressbar/pt/PTViewer.vue diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue index 1fa39d55b..d1e3ac2d4 100644 --- a/apps/showcase/components/doc/DocPTViewer.vue +++ b/apps/showcase/components/doc/DocPTViewer.vue @@ -35,6 +35,7 @@ export default { if (componentName === 'ConfirmDialog') cmpName = 'Dialog'; else if (componentName === 'ScrollTop') cmpName = 'Button'; + else if (componentName === 'Galleria') cmpName = 'GalleriaContent'; if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`; else if (item.label.startsWith('pc')) selector = `[data-pc-name="${item.label.toLowerCase()}"]`; diff --git a/apps/showcase/doc/divider/pt/PTImage.vue b/apps/showcase/doc/divider/pt/PTImage.vue deleted file mode 100644 index 7a6c733d7..000000000 --- a/apps/showcase/doc/divider/pt/PTImage.vue +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/apps/showcase/doc/divider/pt/PTViewer.vue b/apps/showcase/doc/divider/pt/PTViewer.vue new file mode 100644 index 000000000..cfe43251c --- /dev/null +++ b/apps/showcase/doc/divider/pt/PTViewer.vue @@ -0,0 +1,41 @@ + + + diff --git a/apps/showcase/doc/divider/pt/index.vue b/apps/showcase/doc/divider/pt/index.vue index 4a494a4d0..0bbd1c2fc 100644 --- a/apps/showcase/doc/divider/pt/index.vue +++ b/apps/showcase/doc/divider/pt/index.vue @@ -11,16 +11,16 @@ diff --git a/apps/showcase/doc/galleria/pt/index.vue b/apps/showcase/doc/galleria/pt/index.vue index 6539e8602..df9ac3a87 100644 --- a/apps/showcase/doc/galleria/pt/index.vue +++ b/apps/showcase/doc/galleria/pt/index.vue @@ -11,16 +11,16 @@ diff --git a/apps/showcase/doc/progressbar/pt/index.vue b/apps/showcase/doc/progressbar/pt/index.vue index 14452a734..d6b4e0aed 100644 --- a/apps/showcase/doc/progressbar/pt/index.vue +++ b/apps/showcase/doc/progressbar/pt/index.vue @@ -11,16 +11,16 @@