From ef640b085615aadd6dcd3f68d769f73f766716fb Mon Sep 17 00:00:00 2001 From: saqqdy Date: Mon, 22 May 2023 18:54:41 +0800 Subject: [PATCH] release v3.0.0 --- docs/.nojekyll | 1 - docs/README.md | 176 ------- docs/classes/default.md | 128 ----- docs/interfaces/Options.md | 132 ------ docs/modules.md | 49 -- docs/out.json | 927 ------------------------------------- 6 files changed, 1413 deletions(-) delete mode 100644 docs/.nojekyll delete mode 100644 docs/README.md delete mode 100644 docs/classes/default.md delete mode 100644 docs/interfaces/Options.md delete mode 100644 docs/modules.md delete mode 100644 docs/out.json diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index 3cd8bb2..0000000 --- a/docs/README.md +++ /dev/null @@ -1,176 +0,0 @@ -index.md - v2.1.1 / [Exports](modules.md) - -
- -# vue-mount-plugin - -A simple and easy to use vue instance extension plugin that supports vue2.0 and vue3.0 - -[![NPM version][npm-image]][npm-url] -[![Codacy Badge][codacy-image]][codacy-url] -[![Test coverage][codecov-image]][codecov-url] -[![npm download][download-image]][download-url] -[![gzip][gzip-image]][gzip-url] -[![License][license-image]][license-url] - -[![Sonar][sonar-image]][sonar-url] - -
- -
- -## **For API documentation, see: [API Docs](./docs/modules.md)** - -
- -## Installing - -```bash -# use pnpm -$ pnpm install vue-mount-plugin - -# use npm -$ npm install vue-mount-plugin --save - -# use yarn -$ yarn add vue-mount-plugin -``` - -## Usage - -### Use in Vue `>=3.0` - -```vue - - -``` - -### Use in Vue `2.7` - -```vue - - -``` - -### Use in Vue `<=2.6` - -> Add `@vue/composition-api` to the `project.json` dependencies and run install. - -```json -{ - "dependencies": { - "@vue/composition-api": "latest" - } -} -``` - -```vue - - -``` - -### Import in Browser - -Import `vue-mount-plugin` through browser HTML tags directly, and use global variable VueMount. - -```html - - - - - - - - -``` - -```vue - - -``` - -## Support & Issues - -Please open an issue [here](https://github.com/saqqdy/vue-mount-plugin/issues). - -## License - -[MIT](LICENSE) - -[npm-image]: https://img.shields.io/npm/v/vue-mount-plugin.svg?style=flat-square -[npm-url]: https://npmjs.org/package/vue-mount-plugin -[codacy-image]: https://app.codacy.com/project/badge/Grade/f70d4880e4ad4f40aa970eb9ee9d0696 -[codacy-url]: https://www.codacy.com/gh/saqqdy/vue-mount-plugin/dashboard?utm_source=github.com&utm_medium=referral&utm_content=saqqdy/vue-mount-plugin&utm_campaign=Badge_Grade -[codecov-image]: https://img.shields.io/codecov/c/github/saqqdy/vue-mount-plugin.svg?style=flat-square -[codecov-url]: https://codecov.io/github/saqqdy/vue-mount-plugin?branch=master -[download-image]: https://img.shields.io/npm/dm/vue-mount-plugin.svg?style=flat-square -[download-url]: https://npmjs.org/package/vue-mount-plugin -[gzip-image]: http://img.badgesize.io/https://unpkg.com/vue-mount-plugin/dist/index.iife.min.js?compression=gzip&label=gzip%20size:%20JS -[gzip-url]: http://img.badgesize.io/https://unpkg.com/vue-mount-plugin/dist/index.iife.min.js?compression=gzip&label=gzip%20size:%20JS -[license-image]: https://img.shields.io/badge/License-MIT-blue.svg -[license-url]: LICENSE -[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_vue-mount-plugin -[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_vue-mount-plugin diff --git a/docs/classes/default.md b/docs/classes/default.md deleted file mode 100644 index 9de64fa..0000000 --- a/docs/classes/default.md +++ /dev/null @@ -1,128 +0,0 @@ -[index.md - v2.1.1](../README.md) / [Exports](../modules.md) / default - -# Class: default - -## Table of contents - -### Constructors - -- [constructor](default.md#constructor) - -### Properties - -- [options](default.md#options) -- [seed](default.md#seed) -- [target](default.md#target) -- [vNode](default.md#vnode) - -### Methods - -- [createVM](default.md#createvm) -- [mount](default.md#mount) -- [unmount](default.md#unmount) - -## Constructors - -### constructor - -• **new default**(`component`, `options?`) - -#### Parameters - -| Name | Type | -| :---------- | :------------------------------------------------------------------ | -| `component` | `VNodeTypes` \| `ClassComponent` \| typeof `NULL_DYNAMIC_COMPONENT` | -| `options` | [`Options`](../interfaces/Options.md) | - -#### Defined in - -[index.ts:50](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L50) - -## Properties - -### options - -• **options**: [`Options`](../interfaces/Options.md) = `{}` - -#### Defined in - -[index.ts:48](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L48) - ---- - -### seed - -• **seed**: `number` = `1` - -#### Defined in - -[index.ts:49](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L49) - ---- - -### target - -• **target**: `Element` \| `ShadowRoot` - -#### Defined in - -[index.ts:47](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L47) - ---- - -### vNode - -• **vNode**: `any` = `null` - -#### Defined in - -[index.ts:46](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L46) - -## Methods - -### createVM - -▸ **createVM**(`component`, `«destructured»?`): `any` - -#### Parameters - -| Name | Type | -| :--------------- | :------------------------------------------------------------------ | -| `component` | `VNodeTypes` \| `ClassComponent` \| typeof `NULL_DYNAMIC_COMPONENT` | -| `«destructured»` | [`Options`](../interfaces/Options.md) | - -#### Returns - -`any` - -#### Defined in - -[index.ts:60](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L60) - ---- - -### mount - -▸ **mount**(): `void` - -#### Returns - -`void` - -#### Defined in - -[index.ts:91](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L91) - ---- - -### unmount - -▸ **unmount**(): `void` - -#### Returns - -`void` - -#### Defined in - -[index.ts:102](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L102) diff --git a/docs/interfaces/Options.md b/docs/interfaces/Options.md deleted file mode 100644 index 84a84fc..0000000 --- a/docs/interfaces/Options.md +++ /dev/null @@ -1,132 +0,0 @@ -[index.md - v2.1.1](../README.md) / [Exports](../modules.md) / Options - -# Interface: Options - -## Table of contents - -### Properties - -- [app](Options.md#app) -- [children](Options.md#children) -- [context](Options.md#context) -- [dynamicProps](Options.md#dynamicprops) -- [isBlockNode](Options.md#isblocknode) -- [parent](Options.md#parent) -- [patchFlag](Options.md#patchflag) -- [props](Options.md#props) -- [tagName](Options.md#tagname) -- [target](Options.md#target) - -## Properties - -### app - -• `Optional` **app**: `App`<`any`\> - -vue3.0 app - -#### Defined in - -[index.ts:30](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L30) - ---- - -### children - -• `Optional` **children**: `unknown` - -children - -#### Defined in - -[index.ts:15](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L15) - ---- - -### context - -• `Optional` **context**: [`Data`](../modules.md#data) & { `i18n`: `unknown` ; `router`: `unknown` ; `store`: `unknown` } - -vue2.0 context - -#### Defined in - -[index.ts:34](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L34) - ---- - -### dynamicProps - -• `Optional` **dynamicProps**: `null` \| `string`[] - -#### Defined in - -[index.ts:17](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L17) - ---- - -### isBlockNode - -• `Optional` **isBlockNode**: `boolean` - -#### Defined in - -[index.ts:18](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L18) - ---- - -### parent - -• `Optional` **parent**: `unknown` - -parent context - -#### Defined in - -[index.ts:42](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L42) - ---- - -### patchFlag - -• `Optional` **patchFlag**: `number` - -#### Defined in - -[index.ts:16](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L16) - ---- - -### props - -• `Optional` **props**: `null` \| [`Data`](../modules.md#data) & `VNodeProps` - -propsData - -#### Defined in - -[index.ts:11](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L11) - ---- - -### tagName - -• `Optional` **tagName**: keyof `HTMLElementTagNameMap` - -tagName of mount target, default: div - -#### Defined in - -[index.ts:26](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L26) - ---- - -### target - -• `Optional` **target**: `Element` \| `ShadowRoot` - -mount target - -#### Defined in - -[index.ts:22](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L22) diff --git a/docs/modules.md b/docs/modules.md deleted file mode 100644 index 3d81e83..0000000 --- a/docs/modules.md +++ /dev/null @@ -1,49 +0,0 @@ -[index.md - v2.1.1](README.md) / Exports - -# index.md - v2.1.1 - -## Table of contents - -### Classes - -- [default](classes/default.md) - -### Interfaces - -- [Options](interfaces/Options.md) - -### Type Aliases - -- [Component](modules.md#component) -- [CreateVNodeParameters](modules.md#createvnodeparameters) -- [Data](modules.md#data) - -## Type Aliases - -### Component - -Ƭ **Component**: [`CreateVNodeParameters`](modules.md#createvnodeparameters)[``"0"``] - -#### Defined in - -[index.ts:5](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L5) - ---- - -### CreateVNodeParameters - -Ƭ **CreateVNodeParameters**: `Parameters` - -#### Defined in - -[index.ts:4](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L4) - ---- - -### Data - -Ƭ **Data**: `Record`<`string`, `unknown`\> - -#### Defined in - -[index.ts:6](https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L6) diff --git a/docs/out.json b/docs/out.json deleted file mode 100644 index da3f169..0000000 --- a/docs/out.json +++ /dev/null @@ -1,927 +0,0 @@ -{ - "id": 0, - "name": "index.md - v2.1.1", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "index.md", - "children": [ - { - "id": 19, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 20, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 50, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L50" - } - ], - "signatures": [ - { - "id": 21, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 22, - "name": "component", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "VNodeTypes", - "qualifiedName": "VNodeTypes", - "package": "@vue/runtime-core" - }, - { - "type": "reference", - "name": "ClassComponent", - "qualifiedName": "ClassComponent", - "package": "@vue/runtime-core" - }, - { - "type": "query", - "queryType": { - "type": "reference", - "name": "NULL_DYNAMIC_COMPONENT", - "qualifiedName": "NULL_DYNAMIC_COMPONENT", - "package": "@vue/runtime-core" - } - } - ] - } - }, - { - "id": 23, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 4, - "name": "Options" - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 19, - "name": "Mount" - } - } - ] - }, - { - "id": 26, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 48, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L48" - } - ], - "type": { - "type": "reference", - "id": 4, - "name": "Options" - }, - "defaultValue": "{}" - }, - { - "id": 27, - "name": "seed", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 49, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L49" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "1" - }, - { - "id": 25, - "name": "target", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 47, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L47" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Element", - "qualifiedName": "Element", - "package": "typescript" - }, - { - "type": "reference", - "name": "ShadowRoot", - "qualifiedName": "ShadowRoot", - "package": "typescript" - } - ] - } - }, - { - "id": 24, - "name": "vNode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 46, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L46" - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": "null" - }, - { - "id": 28, - "name": "createVM", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 60, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L60" - } - ], - "signatures": [ - { - "id": 29, - "name": "createVM", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 30, - "name": "component", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "VNodeTypes", - "qualifiedName": "VNodeTypes", - "package": "@vue/runtime-core" - }, - { - "type": "reference", - "name": "ClassComponent", - "qualifiedName": "ClassComponent", - "package": "@vue/runtime-core" - }, - { - "type": "query", - "queryType": { - "type": "reference", - "name": "NULL_DYNAMIC_COMPONENT", - "qualifiedName": "NULL_DYNAMIC_COMPONENT", - "package": "@vue/runtime-core" - } - } - ] - } - }, - { - "id": 31, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 4, - "name": "Options" - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 32, - "name": "mount", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 91, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L91" - } - ], - "signatures": [ - { - "id": 33, - "name": "mount", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 34, - "name": "unmount", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 102, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L102" - } - ], - "signatures": [ - { - "id": 35, - "name": "unmount", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 20 - ] - }, - { - "title": "Properties", - "children": [ - 26, - 27, - 25, - 24 - ] - }, - { - "title": "Methods", - "children": [ - 28, - 32, - 34 - ] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 45, - "character": 6, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L45" - } - ] - }, - { - "id": 4, - "name": "Options", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 12, - "name": "app", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "vue3.0 app" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 30, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L30" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "App", - "qualifiedName": "App", - "package": "@vue/runtime-core" - } - }, - { - "id": 6, - "name": "children", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "children" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 15, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L15" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 13, - "name": "context", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "vue2.0 context" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 34, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L34" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 3, - "name": "Data" - }, - { - "type": "reflection", - "declaration": { - "id": 14, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 17, - "name": "i18n", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 37, - "character": 2, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L37" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 15, - "name": "router", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 35, - "character": 2, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L35" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 16, - "name": "store", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 36, - "character": 2, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 17, - 15, - 16 - ] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 34, - "character": 18, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L34" - } - ] - } - } - ] - } - }, - { - "id": 8, - "name": "dynamicProps", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "index.ts", - "line": 17, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L17" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 9, - "name": "isBlockNode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "index.ts", - "line": 18, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L18" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 18, - "name": "parent", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "parent context" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 42, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L42" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 7, - "name": "patchFlag", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "index.ts", - "line": 16, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L16" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 5, - "name": "props", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "propsData" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 11, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L11" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 3, - "name": "Data" - }, - { - "type": "reference", - "name": "VNodeProps", - "qualifiedName": "VNodeProps", - "package": "@vue/runtime-core" - } - ] - } - ] - } - }, - { - "id": 11, - "name": "tagName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "tagName of mount target, default: div" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 26, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L26" - } - ], - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "name": "HTMLElementTagNameMap", - "qualifiedName": "HTMLElementTagNameMap", - "package": "typescript" - } - } - }, - { - "id": 10, - "name": "target", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "mount target" - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 22, - "character": 1, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L22" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Element", - "qualifiedName": "Element", - "package": "typescript" - }, - { - "type": "reference", - "name": "ShadowRoot", - "qualifiedName": "ShadowRoot", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 12, - 6, - 13, - 8, - 9, - 18, - 7, - 5, - 11, - 10 - ] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 7, - "character": 17, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L7" - } - ] - }, - { - "id": 2, - "name": "Component", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 5, - "character": 12, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L5" - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "0" - }, - "objectType": { - "type": "reference", - "id": 1, - "name": "CreateVNodeParameters" - } - } - }, - { - "id": 1, - "name": "CreateVNodeParameters", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 4, - "character": 12, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L4" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "createVNode", - "qualifiedName": "createVNode", - "package": "@vue/runtime-core" - } - } - ], - "name": "Parameters", - "qualifiedName": "Parameters", - "package": "typescript" - } - }, - { - "id": 3, - "name": "Data", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 6, - "character": 12, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L6" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "qualifiedName": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Classes", - "children": [ - 19 - ] - }, - { - "title": "Interfaces", - "children": [ - 4 - ] - }, - { - "title": "Type Aliases", - "children": [ - 2, - 1, - 3 - ] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 1, - "character": 0, - "url": "https://github.com/saqqdy/vue-mount-plugin/blob/301dc36/src/index.ts#L1" - } - ] -} \ No newline at end of file