diff --git a/doc/passthrough/BasicDoc.vue b/doc/passthrough/BasicDoc.vue deleted file mode 100644 index aaf150cd5..000000000 --- a/doc/passthrough/BasicDoc.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - diff --git a/doc/passthrough/GlobalPTDoc.vue b/doc/passthrough/GlobalPTDoc.vue deleted file mode 100644 index 3aecde834..000000000 --- a/doc/passthrough/GlobalPTDoc.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/pages/passthrough/index.vue b/pages/passthrough/index.vue deleted file mode 100644 index abbc346f8..000000000 --- a/pages/passthrough/index.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/plugins/primeVue.js b/plugins/primeVue.js index 4a6b5dba4..bf1f72d3b 100644 --- a/plugins/primeVue.js +++ b/plugins/primeVue.js @@ -107,166 +107,8 @@ import DocSectionText from '@/components/doc/DocSectionText'; import CodeHighlight from '@/components/layout/CodeHighlight'; import DevelopmentSection from '@/components/layout/DevelopmentSection'; -const pt = { - avatargroup: { - root: { - class: 'flex' - } - }, - avatar: { - root: ({ parent }) => ({ - style: parent.instance !== undefined ? 'margin-left: -1rem' : null - }) - }, - button: { - root: ({ context }) => { - // context.disabled - } - }, - checkbox: { - root: ({ context }) => { - // context.checked - // context.focused - // context.disabled - } - }, - datatable: { - root: { class: 'ddddd1' }, - columnGroup: { - root: { class: 'deneme88' } - }, - headerRow: { class: 'xxx' }, - row: { - root: ({ row }) => ({ class: row.context.index === 1 ? 'xxxx4' : 'xxxx5' }) - }, - column: { - root: { class: 'column333' } - } - }, - accordion: { - root: - // console.log(instance), - { - class: 'root' - }, - tab: { - root: { - class: 'tab-root' - }, - header: { - class: 'tab-header' - }, - headerAction: { - class: 'tab-header-action' - } - } - // header: { - // class: 'header-class' - // }, - // headerAction: ({ instance }) => { - // console.log('jwkdhuv'); - // console.log(instance); - // } - }, - // accordiontab: { - // root: { - // class: 'tab-root' - // }, - // header: { - // class: 'root-header' - // } - // }, - directives: { - ripple: { - css: { - root: { - class: 'deneme', - style: { - // display: 'block', - // position: 'absolute', - background: 'rgba(75, 175, 80, 0.9)' - // borderRadius: '100%', - // transform: 'scale(0)', - // pointerEvents: 'none' - } - } - }, - hooks: { - mounted: ($el, el, binding) => { - // console.log('mounted', $el); - }, - unmounted: (el) => { - // console.log('unmounted', el); - } - } - }, - badge: { - css: { - root: { - class: 'bg-cyan-500' - } - }, - hooks: { - mounted: ($el) => { - // console.log($el); - }, - updated: ($el) => { - // console.log($el); - } - } - }, - tooltip: { - hooks: { - beforeMount: (el, binding) => {}, - unmounted: (el) => { - // console.log('unmounted'); - }, - beforeUpdate() { - // console.log('before update'); - }, - updated: (el, options) => { - // console.log('global updated'); - } - }, - css: { - // root: { - // class: 'deneme', - // style: { - // position: 'absolute' - // } - // }, - text: { - class: 'text-2xl' - } - } - }, - focustrap: { - css: { - root: { - class: 'xxxxxx' - }, - firstFocusableElement: { - class: 'yyyyyy' - } - }, - hooks: { - mounted: ($el) => { - // console.log($el); - } - } - }, - styleclass: { - hooks: { - mounted(a, b, c, d, e) { - // console.log(e); - } - } - } - } -}; - export default defineNuxtPlugin((nuxtApp) => { - nuxtApp.vueApp.use(PrimeVue, { ripple: true, pt }); + nuxtApp.vueApp.use(PrimeVue, { ripple: true }); nuxtApp.vueApp.use(ToastService); nuxtApp.vueApp.use(ConfirmationService);