@choiceform/os-client-core 3.4.51 → 3.4.52
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/changelog.md +14 -0
- package/dist/core.js +1 -1
- package/dist/web-core.js +1 -1
- package/index.d.ts +39 -18
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -11046,6 +11046,10 @@ interface CFPDFullSurvey extends CFPDSurveyCommonBase, CFPDSurveyUniqueBase {
|
|
|
11046
11046
|
* 保存时的问卷缩放率
|
|
11047
11047
|
*/
|
|
11048
11048
|
zoom: number;
|
|
11049
|
+
/**
|
|
11050
|
+
* 垃圾桶
|
|
11051
|
+
*/
|
|
11052
|
+
trash?: CFPDTrash;
|
|
11049
11053
|
}
|
|
11050
11054
|
|
|
11051
11055
|
|
|
@@ -12880,6 +12884,10 @@ interface CFPDUrlParamItem {
|
|
|
12880
12884
|
* 参数名
|
|
12881
12885
|
*/
|
|
12882
12886
|
name: string;
|
|
12887
|
+
/**
|
|
12888
|
+
* 预览值
|
|
12889
|
+
*/
|
|
12890
|
+
previewValue?: string
|
|
12883
12891
|
}
|
|
12884
12892
|
|
|
12885
12893
|
interface CFPDCustomLogo {
|
|
@@ -12887,27 +12895,27 @@ interface CFPDCustomLogo {
|
|
|
12887
12895
|
* 是否使用自定义logo
|
|
12888
12896
|
*/
|
|
12889
12897
|
useCustomLogo?: boolean;
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12898
|
+
/**
|
|
12899
|
+
* logo文字
|
|
12900
|
+
*/
|
|
12893
12901
|
logoText?: string;
|
|
12894
12902
|
/**
|
|
12895
12903
|
* 自定义logo图标
|
|
12896
12904
|
*/
|
|
12897
12905
|
logoImage?: CFPDNodeImage;
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
12901
|
-
|
|
12906
|
+
/**
|
|
12907
|
+
* 强制要求自定义logo图标显示的宽度
|
|
12908
|
+
* 如果为falsy值(0,undefined等)则由UI端自行控制宽度
|
|
12909
|
+
*/
|
|
12902
12910
|
logoImageShowWidth?: number;
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12911
|
+
/**
|
|
12912
|
+
* 是否在所有页面都显示logo,如果开启了,每一页都显示这个自定义logo
|
|
12913
|
+
* 否则和以前一样,只在奖励页面和结束页面显示自定义logo
|
|
12914
|
+
*/
|
|
12907
12915
|
showLogoInEachPage?: boolean;
|
|
12908
12916
|
}
|
|
12909
12917
|
|
|
12910
|
-
interface CFPDStartNodeBase extends CFPDCustomLogo{
|
|
12918
|
+
interface CFPDStartNodeBase extends CFPDCustomLogo {
|
|
12911
12919
|
/**
|
|
12912
12920
|
* url参数
|
|
12913
12921
|
*/
|
|
@@ -13054,12 +13062,12 @@ interface CFPDStartNodeBase extends CFPDCustomLogo{
|
|
|
13054
13062
|
*/
|
|
13055
13063
|
interface CFPDStartNode
|
|
13056
13064
|
extends CFPDNode,
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13065
|
+
CFPDStartNodeBase,
|
|
13066
|
+
CFPDMCustomValidateNode,
|
|
13067
|
+
CFPDMMediaNode,
|
|
13068
|
+
CFPDMQuesNode,
|
|
13069
|
+
CFPDMOutputNode,
|
|
13070
|
+
CFPDMLayoutNode { }
|
|
13063
13071
|
|
|
13064
13072
|
|
|
13065
13073
|
// -------------- node_modules/@choiceform/os-cfpd/types/node/support/client-template.d.ts ---------------
|
|
@@ -14580,6 +14588,19 @@ interface CFPDRequest {
|
|
|
14580
14588
|
*/
|
|
14581
14589
|
type CFPDSwitchValue = boolean | CFPDLogicConfig;
|
|
14582
14590
|
|
|
14591
|
+
// -------------- node_modules/@choiceform/os-cfpd/types/support/trash.d.ts ---------------
|
|
14592
|
+
|
|
14593
|
+
|
|
14594
|
+
/**
|
|
14595
|
+
* 垃圾箱
|
|
14596
|
+
*/
|
|
14597
|
+
interface CFPDTrash {
|
|
14598
|
+
/**
|
|
14599
|
+
* 垃圾箱中的节点列表
|
|
14600
|
+
*/
|
|
14601
|
+
nodes: CFPDNode[];
|
|
14602
|
+
}
|
|
14603
|
+
|
|
14583
14604
|
// -------------- node_modules/@choiceform/os-cfpd/types/test/case.d.ts ---------------
|
|
14584
14605
|
|
|
14585
14606
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@choiceform/os-client-core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.52",
|
|
4
4
|
"description": "choiceform survey client core",
|
|
5
5
|
"main": "./dist/core.js",
|
|
6
6
|
"repository": "https://github.com/choice-form/os-client-core",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"ua-parser-js": "^0.7.20"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@choiceform/os-cfpd": "^3.1.
|
|
71
|
+
"@choiceform/os-cfpd": "^3.1.20",
|
|
72
72
|
"ts-loader": "^9.2.5",
|
|
73
73
|
"typescript": "^4.4.2",
|
|
74
74
|
"webpack": "^5.52.0",
|