@choiceform/os-client-core 3.6.37 → 3.6.39

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/index.d.ts CHANGED
@@ -5150,6 +5150,12 @@ interface CCIStartMiniState extends CCCustomLogo {
5150
5150
  * 预览模式下是否显示快速答题按钮
5151
5151
  */
5152
5152
  previewQuickAnswer: boolean;
5153
+ /**
5154
+ * 始终显示结束页面
5155
+ * 如果为真,那么提交答案请求接口出现错误时
5156
+ * 不显示错误页面,直接到结束节点
5157
+ */
5158
+ ignoreSubmittingResult: boolean;
5153
5159
  /**
5154
5160
  * 是否初始页显示语言选择框
5155
5161
  */
@@ -6917,6 +6923,10 @@ interface CCUIEventHandler {
6917
6923
  * @param node
6918
6924
  */
6919
6925
  handleQuickAnswer?(node: CCBNode): Promise<void>;
6926
+ /**
6927
+ * 扫描二维码后领取微信红包需要用户点击网页上的按钮进行授权
6928
+ */
6929
+ handleGetRewardWX?(): Promise<void>;
6920
6930
  }
6921
6931
 
6922
6932
  //#endregion
@@ -9263,10 +9273,6 @@ interface CFPDEndNode
9263
9273
  * 最小答题时间限制
9264
9274
  */
9265
9275
  minTime: number;
9266
- /**
9267
- * 是否需要跳过该节点
9268
- */
9269
- skipEnd?: boolean;
9270
9276
  }
9271
9277
 
9272
9278
 
@@ -10640,7 +10646,7 @@ interface CFPDStartNode
10640
10646
  */
10641
10647
  resumeEnabled: boolean;
10642
10648
  /**
10643
- * 是否自动
10649
+ * 是否跳过首页自动答题
10644
10650
  */
10645
10651
  startAuto: boolean;
10646
10652
 
@@ -10666,6 +10672,10 @@ interface CFPDStartNode
10666
10672
  * 开始页面内嵌地址
10667
10673
  */
10668
10674
  welcomeUrl: string;
10675
+ /**
10676
+ * 是否显示提交结果(否则始终显示结束页面)
10677
+ */
10678
+ ignoreSubmittingResult: boolean;
10669
10679
  /**
10670
10680
  * 开始节点独立携带的多语言包
10671
10681
  */
package/package.json CHANGED
@@ -1,29 +1,11 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.6.37",
3
+ "version": "3.6.39",
4
4
  "description": "choiceform survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",
7
7
  "author": "fenyiwudian <laiq@cform.io>",
8
8
  "license": "MIT",
9
- "scripts": {
10
- "test": "node_modules/.bin/cf-auto --watch",
11
- "start": "webpack-dev-server --env NODE_ENV=local --mode=development",
12
- "start-node": "webpack-dev-server --config ./ssr.webpack.config.js --env NODE_ENV=local --mode=development",
13
- "prod": "webpack --env NODE_ENV=prod --mode=production",
14
- "staging": "webpack --env NODE_ENV=staging --mode=production",
15
- "local": "webpack --env NODE_ENV=local --mode=development",
16
- "pretypedoc": "node ./tool/pre-doc",
17
- "typedoc": "node_modules/.bin/typedoc --out docs/content ./index.d.ts",
18
- "posttypedoc": "node ./tool/post-doc",
19
- "prepublishOnly": "npm run prod && node ./tool/pre-publish-only",
20
- "postpublish": "node ./tool/post-publish",
21
- "infer-serve": "node ./tool/infer-serve",
22
- "release": "node tool/release.js",
23
- "updatedocs": "node tool/update-docs.js",
24
- "prepare": "husky install",
25
- "format": "pretty-quick"
26
- },
27
9
  "files": [
28
10
  "dist/**/*.js",
29
11
  "index.d.ts",
@@ -70,11 +52,26 @@
70
52
  "ua-parser-js": "^0.7.20"
71
53
  },
72
54
  "dependencies": {
73
- "@choiceform/os-cfpd": "^3.2.9",
55
+ "@choiceform/os-cfpd": "^3.2.11",
74
56
  "ts-loader": "^9.4.2",
75
57
  "typescript": "^5.0.2",
76
58
  "webpack": "^5.76.3",
77
59
  "webpack-cli": "^5.0.1",
78
60
  "webpack-dev-server": "^4.13.1"
61
+ },
62
+ "scripts": {
63
+ "test": "node_modules/.bin/cf-auto --watch",
64
+ "start": "webpack-dev-server --env NODE_ENV=local --mode=development",
65
+ "start-node": "webpack-dev-server --config ./ssr.webpack.config.js --env NODE_ENV=local --mode=development",
66
+ "prod": "webpack --env NODE_ENV=prod --mode=production",
67
+ "staging": "webpack --env NODE_ENV=staging --mode=production",
68
+ "local": "webpack --env NODE_ENV=local --mode=development",
69
+ "pretypedoc": "node ./tool/pre-doc",
70
+ "typedoc": "node_modules/.bin/typedoc --out docs/content ./index.d.ts",
71
+ "posttypedoc": "node ./tool/post-doc",
72
+ "infer-serve": "node ./tool/infer-serve",
73
+ "release": "node tool/release.js",
74
+ "updatedocs": "node tool/update-docs.js",
75
+ "format": "pretty-quick"
79
76
  }
80
- }
77
+ }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /*
3
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
4
- * This devtool is neither made for production nor for readable output files.
5
- * It uses "eval()" calls to create a separate source file in the browser devtools.
6
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
7
- * or disable the default devtool with "devtool: false".
8
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
9
- */
10
- self["webpackHotUpdate_choiceform_os_client_core"]("core",{},
11
- /******/ function(__webpack_require__) { // webpackRuntimeModules
12
- /******/ /* webpack/runtime/getFullHash */
13
- /******/ (() => {
14
- /******/ __webpack_require__.h = () => ("5a8cc4484d9c8f26124f")
15
- /******/ })();
16
- /******/
17
- /******/ }
18
- );
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /*
3
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
4
- * This devtool is neither made for production nor for readable output files.
5
- * It uses "eval()" calls to create a separate source file in the browser devtools.
6
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
7
- * or disable the default devtool with "devtool: false".
8
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
9
- */
10
- self["webpackHotUpdate_choiceform_os_client_core"]("support/atcp",{},
11
- /******/ function(__webpack_require__) { // webpackRuntimeModules
12
- /******/ /* webpack/runtime/getFullHash */
13
- /******/ (() => {
14
- /******/ __webpack_require__.h = () => ("5a8cc4484d9c8f26124f")
15
- /******/ })();
16
- /******/
17
- /******/ }
18
- );
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /*
3
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
4
- * This devtool is neither made for production nor for readable output files.
5
- * It uses "eval()" calls to create a separate source file in the browser devtools.
6
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
7
- * or disable the default devtool with "devtool: false".
8
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
9
- */
10
- self["webpackHotUpdate_choiceform_os_client_core"]("web-core",{},
11
- /******/ function(__webpack_require__) { // webpackRuntimeModules
12
- /******/ /* webpack/runtime/getFullHash */
13
- /******/ (() => {
14
- /******/ __webpack_require__.h = () => ("5a8cc4484d9c8f26124f")
15
- /******/ })();
16
- /******/
17
- /******/ }
18
- );