@kengic/core.react 0.0.1-beta.13 → 0.0.1-beta.14
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/kengic-core.react.js +3340 -3335
- package/package.json +1 -1
- package/src/component/Kg/KgProvider.d.ts +6 -1
- package/src/component/Kg/index.d.ts +1 -1
- package/src/component/KgVarConfig/KgVarConfig.d.ts +1 -4
- package/src/component/KgVarConfig/index.vm.d.ts +2 -0
- package/src/component/KgVarConfig/index.wc.d.ts +1 -1
- package/src/component/KgWorkStation/index.hooks.d.ts +1 -1
- package/src/component/KgWorkStation/index.vm.d.ts +0 -2
- package/src/component/KgWorkStation/index.wc.d.ts +1 -1
package/package.json
CHANGED
|
@@ -2,6 +2,11 @@ import React from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* 组件通用逻辑.
|
|
4
4
|
*/
|
|
5
|
-
export declare function KgProvider({ children }: {
|
|
5
|
+
export declare function KgProvider({ children, ID }: {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
|
+
ID: string;
|
|
7
8
|
}): React.JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* 获取组件标识.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useID(): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './Kg';
|
|
2
|
-
export * from './KgProvider
|
|
2
|
+
export * from './KgProvider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IKgWorkStationState, store } from './index.store';
|
|
2
|
-
import { IKgWorkStationOnMountEventListener } from './index.event
|
|
2
|
+
import { IKgWorkStationOnMountEventListener } from './index.event';
|
|
3
3
|
import { IRemoveEventListener } from '@kengic/core.core';
|
|
4
4
|
export interface IDoKgWorkStation {
|
|
5
5
|
/**
|