Update doc components structure
parent
cf5dd67244
commit
036b90fc82
|
@ -12,6 +12,7 @@
|
||||||
<script>
|
<script>
|
||||||
import APIDocs from '@/doc/common/apidoc/index.json';
|
import APIDocs from '@/doc/common/apidoc/index.json';
|
||||||
import DocApiTable from './DocApiTable.vue';
|
import DocApiTable from './DocApiTable.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
header: {
|
header: {
|
|
@ -10,10 +10,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getPTOption } from '@/layouts/doc/helpers/PTHelper.js';
|
import DocApiTable from '@/components/doc/DocApiTable.vue';
|
||||||
|
import { getPTOption } from '@/components/doc/helpers/PTHelper.js';
|
||||||
import PtDoc from './PTDoc.vue';
|
import PtDoc from './PTDoc.vue';
|
||||||
import PTImage from './PTImage.vue';
|
import PTImage from './PTImage.vue';
|
||||||
import DocApiTable from '@/layouts/doc/DocApiTable.vue';
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -10,10 +10,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getPTOption } from '@/layouts/doc/helpers/PTHelper.js';
|
import DocApiTable from '@/components/doc/DocApiTable.vue';
|
||||||
|
import { getPTOption } from '@/components/doc/helpers/PTHelper.js';
|
||||||
import PtDoc from './PTDoc.vue';
|
import PtDoc from './PTDoc.vue';
|
||||||
import PTImage from './PTImage.vue';
|
import PTImage from './PTImage.vue';
|
||||||
import DocApiTable from '@/layouts/doc/DocApiTable.vue';
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -98,14 +98,14 @@ import TreeTable from '@/components/lib/treetable/TreeTable';
|
||||||
import TriStateCheckbox from '@/components/lib/tristatecheckbox/TriStateCheckbox';
|
import TriStateCheckbox from '@/components/lib/tristatecheckbox/TriStateCheckbox';
|
||||||
import VirtualScroller from '@/components/lib/virtualscroller/VirtualScroller';
|
import VirtualScroller from '@/components/lib/virtualscroller/VirtualScroller';
|
||||||
|
|
||||||
import CodeHighlight from '@/layouts/AppCodeHighlight';
|
import DocApiSection from '@/components/doc/DocApiSection';
|
||||||
import DevelopmentSection from '@/layouts/DevelopmentSection';
|
import DocComponent from '@/components/doc/DocComponent';
|
||||||
import DocApiSection from '@/layouts/doc/DocApiSection';
|
import DocSectionCode from '@/components/doc/DocSectionCode';
|
||||||
import DocComponent from '@/layouts/doc/DocComponent';
|
import DocSectionNav from '@/components/doc/DocSectionNav';
|
||||||
import DocSectionCode from '@/layouts/doc/DocSectionCode';
|
import DocSections from '@/components/doc/DocSections';
|
||||||
import DocSectionNav from '@/layouts/doc/DocSectionNav';
|
import DocSectionText from '@/components/doc/DocSectionText';
|
||||||
import DocSections from '@/layouts/doc/DocSections';
|
import CodeHighlight from '@/components/layout/CodeHighlight';
|
||||||
import DocSectionText from '@/layouts/doc/DocSectionText';
|
import DevelopmentSection from '@/components/layout/DevelopmentSection';
|
||||||
|
|
||||||
export default defineNuxtPlugin((nuxtApp) => {
|
export default defineNuxtPlugin((nuxtApp) => {
|
||||||
nuxtApp.vueApp.use(PrimeVue, { ripple: true });
|
nuxtApp.vueApp.use(PrimeVue, { ripple: true });
|
||||||
|
@ -118,8 +118,8 @@ export default defineNuxtPlugin((nuxtApp) => {
|
||||||
nuxtApp.vueApp.directive('tooltip', Tooltip);
|
nuxtApp.vueApp.directive('tooltip', Tooltip);
|
||||||
nuxtApp.vueApp.directive('ripple', Ripple);
|
nuxtApp.vueApp.directive('ripple', Ripple);
|
||||||
nuxtApp.vueApp.directive('styleclass', StyleClass);
|
nuxtApp.vueApp.directive('styleclass', StyleClass);
|
||||||
nuxtApp.vueApp.directive('code', CodeHighlight);
|
|
||||||
nuxtApp.vueApp.directive('focustrap', FocusTrap);
|
nuxtApp.vueApp.directive('focustrap', FocusTrap);
|
||||||
|
nuxtApp.vueApp.directive('code', CodeHighlight);
|
||||||
|
|
||||||
nuxtApp.vueApp.component('Accordion', Accordion);
|
nuxtApp.vueApp.component('Accordion', Accordion);
|
||||||
nuxtApp.vueApp.component('AccordionTab', AccordionTab);
|
nuxtApp.vueApp.component('AccordionTab', AccordionTab);
|
||||||
|
@ -212,11 +212,12 @@ export default defineNuxtPlugin((nuxtApp) => {
|
||||||
nuxtApp.vueApp.component('Galleria', Galleria);
|
nuxtApp.vueApp.component('Galleria', Galleria);
|
||||||
nuxtApp.vueApp.component('VirtualScroller', VirtualScroller);
|
nuxtApp.vueApp.component('VirtualScroller', VirtualScroller);
|
||||||
|
|
||||||
nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection);
|
|
||||||
nuxtApp.vueApp.component('DocSections', DocSections);
|
nuxtApp.vueApp.component('DocSections', DocSections);
|
||||||
nuxtApp.vueApp.component('DocSectionText', DocSectionText);
|
nuxtApp.vueApp.component('DocSectionText', DocSectionText);
|
||||||
nuxtApp.vueApp.component('DocSectionCode', DocSectionCode);
|
nuxtApp.vueApp.component('DocSectionCode', DocSectionCode);
|
||||||
nuxtApp.vueApp.component('DocSectionNav', DocSectionNav);
|
nuxtApp.vueApp.component('DocSectionNav', DocSectionNav);
|
||||||
nuxtApp.vueApp.component('DocApiSection', DocApiSection);
|
nuxtApp.vueApp.component('DocApiSection', DocApiSection);
|
||||||
nuxtApp.vueApp.component('DocComponent', DocComponent);
|
nuxtApp.vueApp.component('DocComponent', DocComponent);
|
||||||
|
|
||||||
|
nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue