From 49edde590be81072f591a18521734be3c6c03c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Tue, 7 Mar 2023 16:47:32 +0300 Subject: [PATCH] Dialog service d.ts fixed for apidoc --- components/dialogservice/DialogService.d.ts | 4 +--- doc/common/apidoc/index.json | 20 +++++++++++++++++--- layouts/doc/DocApiSection.vue | 1 - pages/dialog/index.vue | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/components/dialogservice/DialogService.d.ts b/components/dialogservice/DialogService.d.ts index d37ceac1b..0199e50f0 100644 --- a/components/dialogservice/DialogService.d.ts +++ b/components/dialogservice/DialogService.d.ts @@ -1,9 +1,7 @@ /** * * [Live Demo](https://www.primevue.org/dynamicdialog/) - * - * @module dialogservice-usedialog - * + * @module dialogservice */ import { Plugin } from 'vue'; import { DynamicDialogInstance, DynamicDialogOptions } from '../dynamicdialogoptions'; diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index e92a783e3..f5b07d8d7 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -10554,7 +10554,7 @@ } } }, - "dialogservice-usedialog": { + "dialogservice": { "description": "[Live Demo](https://www.primevue.org/dynamicdialog/)", "model": { "DialogServiceMethods": { @@ -16917,7 +16917,14 @@ "OrganizationChartSlots": { "description": "Defines valid slots in OrganizationChart component.", "relatedProp": "", - "props": [], + "props": [ + { + "name": "[key: string]", + "optional": false, + "readonly": false, + "type": "Function" + } + ], "methods": [ { "name": "default", @@ -22832,7 +22839,14 @@ "TreeSlots": { "description": "Defines valid slots in Tree component.", "relatedProp": "", - "props": [], + "props": [ + { + "name": "[key: string]", + "optional": false, + "readonly": false, + "type": "Function" + } + ], "methods": [] } } diff --git a/layouts/doc/DocApiSection.vue b/layouts/doc/DocApiSection.vue index f965350e9..510de3c02 100644 --- a/layouts/doc/DocApiSection.vue +++ b/layouts/doc/DocApiSection.vue @@ -156,7 +156,6 @@ export default { } if (services) { - console.log(services); newDoc.children.push({ id: `api.${moduleName}.services`, label: 'Services', diff --git a/pages/dialog/index.vue b/pages/dialog/index.vue index 5df3466b0..196157b19 100755 --- a/pages/dialog/index.vue +++ b/pages/dialog/index.vue @@ -1,5 +1,5 @@