@quickbi/bi-open-sdk 4.0.0 → 4.0.1
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.
- package/cjs/index.d.ts +13 -13
- package/esm/index.d.ts +13 -13
- package/package.json +3 -3
package/cjs/index.d.ts
CHANGED
|
@@ -13,22 +13,22 @@ declare module '@quickbi/bi-open-sdk/wrapper' {
|
|
|
13
13
|
/**
|
|
14
14
|
* @flie 开放组件入口文件
|
|
15
15
|
*/
|
|
16
|
-
import type { LifecycleMount, LifecycleUnmount, LifecycleUpdate,
|
|
17
|
-
interface IBiComponent {
|
|
18
|
-
mount?: LifecycleMount<
|
|
19
|
-
umount?: LifecycleUnmount<
|
|
20
|
-
update?: LifecycleUpdate<
|
|
16
|
+
import type { LifecycleMount, LifecycleUnmount, LifecycleUpdate, LifecycleBootstrap } from '@quickbi/bi-types';
|
|
17
|
+
interface IBiComponent<T> {
|
|
18
|
+
mount?: LifecycleMount<T>;
|
|
19
|
+
umount?: LifecycleUnmount<T>;
|
|
20
|
+
update?: LifecycleUpdate<T>;
|
|
21
21
|
}
|
|
22
|
-
interface IBiComponentConstructor {
|
|
23
|
-
new (): IBiComponent
|
|
22
|
+
interface IBiComponentConstructor<T> {
|
|
23
|
+
new (): IBiComponent<T>;
|
|
24
24
|
}
|
|
25
|
-
export function createBIComponent({ element: BiComponent }: {
|
|
26
|
-
element: IBiComponentConstructor
|
|
25
|
+
export function createBIComponent<T>({ element: BiComponent }: {
|
|
26
|
+
element: IBiComponentConstructor<T>;
|
|
27
27
|
}): {
|
|
28
|
-
bootstrap: LifecycleBootstrap<
|
|
29
|
-
mount: LifecycleMount<
|
|
30
|
-
unmount: LifecycleUnmount<
|
|
31
|
-
update: LifecycleUpdate<
|
|
28
|
+
bootstrap: LifecycleBootstrap<T>;
|
|
29
|
+
mount: LifecycleMount<T>;
|
|
30
|
+
unmount: LifecycleUnmount<T>;
|
|
31
|
+
update: LifecycleUpdate<T>;
|
|
32
32
|
};
|
|
33
33
|
export {};
|
|
34
34
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -13,22 +13,22 @@ declare module '@quickbi/bi-open-sdk/wrapper' {
|
|
|
13
13
|
/**
|
|
14
14
|
* @flie 开放组件入口文件
|
|
15
15
|
*/
|
|
16
|
-
import type { LifecycleMount, LifecycleUnmount, LifecycleUpdate,
|
|
17
|
-
interface IBiComponent {
|
|
18
|
-
mount?: LifecycleMount<
|
|
19
|
-
umount?: LifecycleUnmount<
|
|
20
|
-
update?: LifecycleUpdate<
|
|
16
|
+
import type { LifecycleMount, LifecycleUnmount, LifecycleUpdate, LifecycleBootstrap } from '@quickbi/bi-types';
|
|
17
|
+
interface IBiComponent<T> {
|
|
18
|
+
mount?: LifecycleMount<T>;
|
|
19
|
+
umount?: LifecycleUnmount<T>;
|
|
20
|
+
update?: LifecycleUpdate<T>;
|
|
21
21
|
}
|
|
22
|
-
interface IBiComponentConstructor {
|
|
23
|
-
new (): IBiComponent
|
|
22
|
+
interface IBiComponentConstructor<T> {
|
|
23
|
+
new (): IBiComponent<T>;
|
|
24
24
|
}
|
|
25
|
-
export function createBIComponent({ element: BiComponent }: {
|
|
26
|
-
element: IBiComponentConstructor
|
|
25
|
+
export function createBIComponent<T>({ element: BiComponent }: {
|
|
26
|
+
element: IBiComponentConstructor<T>;
|
|
27
27
|
}): {
|
|
28
|
-
bootstrap: LifecycleBootstrap<
|
|
29
|
-
mount: LifecycleMount<
|
|
30
|
-
unmount: LifecycleUnmount<
|
|
31
|
-
update: LifecycleUpdate<
|
|
28
|
+
bootstrap: LifecycleBootstrap<T>;
|
|
29
|
+
mount: LifecycleMount<T>;
|
|
30
|
+
unmount: LifecycleUnmount<T>;
|
|
31
|
+
update: LifecycleUpdate<T>;
|
|
32
32
|
};
|
|
33
33
|
export {};
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quickbi/bi-open-sdk",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"main": "./cjs/index.js",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org",
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@quickbi/bi-open": "4.0.
|
|
11
|
-
"@quickbi/bi-types": "3.2.
|
|
10
|
+
"@quickbi/bi-open": "4.0.1",
|
|
11
|
+
"@quickbi/bi-types": "3.2.1"
|
|
12
12
|
},
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"files": [
|