@choiceform/os-client-core 3.6.73 → 3.6.74

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
@@ -280,6 +280,10 @@ interface CCUploadConfig extends CCUploadBaseConfig {
280
280
  * 接受的文件格式
281
281
  */
282
282
  accept: string;
283
+ /**
284
+ * 录制好的音频文件
285
+ */
286
+ recordedAudioFile?: File;
283
287
  }
284
288
 
285
289
  /**
@@ -4046,7 +4050,8 @@ interface CCMenuOption extends CCOption {
4046
4050
 
4047
4051
  // -------------- types/outer/option/mixin/_base.d.ts ---------------
4048
4052
 
4049
- interface CCOptionCustomData {}
4053
+ type CCOptionCustomData = Record<string, any>;
4054
+
4050
4055
  interface CFPDInferConfig {
4051
4056
  active?: boolean;
4052
4057
  }
@@ -8172,6 +8177,10 @@ declare const enum UPLOAD_LIMIT {
8172
8177
  * 文档
8173
8178
  */
8174
8179
  DOC = "doc",
8180
+ /**
8181
+ * 录音 - 和其他类型互斥
8182
+ */
8183
+ RECORD_AUDIO = "record_audio",
8175
8184
  }
8176
8185
 
8177
8186
  /**
@@ -11045,8 +11054,6 @@ interface CFPDAreaOption extends CFPDOption, CFPDAreaInfo { }
11045
11054
 
11046
11055
  // -------------- node_modules/@choiceform/os-cfpd/types/option/base.d.ts ---------------
11047
11056
 
11048
-
11049
-
11050
11057
  /**
11051
11058
  * 最基本的选项数据结构
11052
11059
  */
@@ -11077,7 +11084,6 @@ interface CFPDBBaseOption extends CFPDPort {
11077
11084
  mapping?: CFPDOptMapping;
11078
11085
  }
11079
11086
 
11080
-
11081
11087
  /**
11082
11088
  * 选项数据结构
11083
11089
  */
@@ -11087,8 +11093,8 @@ interface CFPDOption extends CFPDBBaseOption, CFPDLogicConfigGroup {
11087
11093
  */
11088
11094
  isOtherOpt?: boolean;
11089
11095
  /**
11090
- * 其他选项类型
11091
- */
11096
+ * 其他选项类型
11097
+ */
11092
11098
  optionType?: OPTION_TYPE;
11093
11099
  /**
11094
11100
  * 自动填充配置
@@ -11111,8 +11117,17 @@ interface CFPDOption extends CFPDBBaseOption, CFPDLogicConfigGroup {
11111
11117
  * 备注提示
11112
11118
  */
11113
11119
  optComment?: string;
11120
+ /**
11121
+ * 填写栏前缀文字 - 目前仅菜单题和选择题
11122
+ */
11123
+ optCommentPrefix?: string;
11124
+ /**
11125
+ * 填写栏后缀文字 - 目前仅菜单题和选择题
11126
+ */
11127
+ optCommentSuffix?: string;
11114
11128
  }
11115
11129
 
11130
+
11116
11131
  // -------------- node_modules/@choiceform/os-cfpd/types/option/cascade.d.ts ---------------
11117
11132
 
11118
11133
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.6.73",
3
+ "version": "3.6.74",
4
4
  "description": "choiceform survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",
@@ -14,6 +14,7 @@
14
14
  "staging": "webpack --env NODE_ENV=staging --mode=production",
15
15
  "lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 5",
16
16
  "lint:types": "tsc --noEmit",
17
+ "lt": "tsc --noEmit",
17
18
  "local": "webpack --env NODE_ENV=local --mode=development",
18
19
  "pretypedoc": "node ./tool/pre-doc",
19
20
  "typedoc": "node_modules/.bin/typedoc --out docs/content ./index.d.ts",
@@ -75,7 +76,7 @@
75
76
  "ua-parser-js": "^0.7.20"
76
77
  },
77
78
  "dependencies": {
78
- "@choiceform/os-cfpd": "3.2.20",
79
+ "@choiceform/os-cfpd": "3.2.22",
79
80
  "ts-loader": "^9.5.1",
80
81
  "typescript": "^5.3.3",
81
82
  "webpack": "^5.90.1",