@oinone/kunlun-vue-router 6.2.3 → 6.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { Constructor } from '@oinone/kunlun-shared';
|
|
2
2
|
import { SPIOptions, SPISingleSelector, SPITokenFactory } from '@oinone/kunlun-spi';
|
|
3
3
|
import { VueWidget } from '@oinone/kunlun-vue-widget';
|
|
4
|
+
/**
|
|
5
|
+
* Router组件注册可选项
|
|
6
|
+
*/
|
|
4
7
|
export interface BaseRouterOptions extends SPIOptions {
|
|
5
|
-
|
|
8
|
+
/**
|
|
9
|
+
* 指定组件名称或别称
|
|
10
|
+
*/
|
|
11
|
+
widget?: string | string[];
|
|
6
12
|
}
|
|
7
13
|
export declare class BaseRouterWidget extends VueWidget {
|
|
8
14
|
static Token: SPITokenFactory<BaseRouterOptions>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oinone/kunlun-vue-router",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.4",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "rimraf dist",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"doc": "typedoc --out docs src/index.ts"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@oinone/kunlun-vue-widget": "6.2.
|
|
15
|
+
"@oinone/kunlun-vue-widget": "6.2.4"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@oinone/kunlun-router": "~6.2.0",
|
|
@@ -2,8 +2,14 @@ import { Constructor } from '@oinone/kunlun-shared';
|
|
|
2
2
|
import { SPI, SPIOptions, SPISingleSelector, SPITokenFactory } from '@oinone/kunlun-spi';
|
|
3
3
|
import { VueWidget } from '@oinone/kunlun-vue-widget';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Router组件注册可选项
|
|
7
|
+
*/
|
|
5
8
|
export interface BaseRouterOptions extends SPIOptions {
|
|
6
|
-
|
|
9
|
+
/**
|
|
10
|
+
* 指定组件名称或别称
|
|
11
|
+
*/
|
|
12
|
+
widget?: string | string[];
|
|
7
13
|
}
|
|
8
14
|
|
|
9
15
|
@SPI.Base('Router', ['widget'])
|