@choiceform/os-client-core 3.5.1-ssr-beta → 3.5.1-ssr-beta2
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/dist/core.js +1 -1
- package/dist/web-core.js +1 -1
- package/index.d.ts +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -930,12 +930,18 @@ interface CFUtil {
|
|
|
930
930
|
* @param imageList
|
|
931
931
|
*/
|
|
932
932
|
extendImageListGetter(imageList: ICFImage[]): void;
|
|
933
|
+
/**
|
|
934
|
+
* 加载fake脚本
|
|
935
|
+
* @param startState
|
|
936
|
+
*/
|
|
937
|
+
loadFakeServers(startState: CFStartState): Promise<void>;
|
|
933
938
|
}
|
|
934
939
|
|
|
935
940
|
/**
|
|
936
941
|
* 核心对象
|
|
937
942
|
*/
|
|
938
943
|
interface CFCore extends CFSetupOptions {
|
|
944
|
+
customStore: Record<string, any>;
|
|
939
945
|
/**
|
|
940
946
|
* 发布的版本号
|
|
941
947
|
*/
|
|
@@ -7125,6 +7131,7 @@ interface ICFStartMiniState extends ICFCustomLogo {
|
|
|
7125
7131
|
* 开始按钮点击后应该调用[[CFUIEventHandler.handleNextClick]]方法
|
|
7126
7132
|
*/
|
|
7127
7133
|
interface CFStartState extends ICFTranMiniState, ICFMiniState, CFStateBase, ICFCustomLogo, IVarRelatedDependency {
|
|
7134
|
+
embedApis: ICFEmbedApi[];
|
|
7128
7135
|
nodeGroups: ICFNodeGroup[];
|
|
7129
7136
|
core?: CFCore;
|
|
7130
7137
|
/**
|
|
@@ -7283,6 +7290,7 @@ interface IVarRelatedDependency {
|
|
|
7283
7290
|
* 使用[[CFSurveyState.nodes]]来渲染当前需要渲染的题目
|
|
7284
7291
|
*/
|
|
7285
7292
|
interface CFSurveyState extends ICFTranMiniState, ICFStartMiniState, ICFMiniState, CFStateBase, IVarRelatedDependency {
|
|
7293
|
+
embedApis: ICFEmbedApi[];
|
|
7286
7294
|
nodeGroups: ICFNodeGroup[];
|
|
7287
7295
|
/**
|
|
7288
7296
|
* 进入问卷的模式
|
package/package.json
CHANGED