@choiceform/os-client-core 3.4.53 → 3.4.56

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
@@ -10501,7 +10501,7 @@ declare const enum IMG_POSITION {
10501
10501
  /**
10502
10502
  * 图片切换方式枚举
10503
10503
  */
10504
- declare const enum IMG_TRANSITION {
10504
+ declare const enum IMG_TRANSITION {
10505
10505
  /**
10506
10506
  * 滑动切换
10507
10507
  */
@@ -10636,6 +10636,19 @@ declare const enum OPT_INPUT_CHAR_TYPE {
10636
10636
  ALPHABET = "alphabet",
10637
10637
  }
10638
10638
 
10639
+ /**
10640
+ * 填空题选项输入方式
10641
+ */
10642
+ declare const enum OPT_INPUT_MODE {
10643
+ /**
10644
+ * 普通模式
10645
+ */
10646
+ NORMAL = "normal",
10647
+ /**
10648
+ * 数字键盘
10649
+ */
10650
+ DIGIT = "digit",
10651
+ }
10639
10652
  /**
10640
10653
  * 图片适应规则枚举
10641
10654
  */
@@ -13516,25 +13529,25 @@ interface CFPDDataOption extends CFPDIconOption, CFPDSelectImageOption, CFPDOpti
13516
13529
  // -------------- node_modules/@choiceform/os-cfpd/types/option/fill.d.ts ---------------
13517
13530
 
13518
13531
 
13519
- interface CFPDFillOptionBase {
13532
+ interface CFPDFillOptionBase {
13520
13533
  /**
13521
13534
  * 是否支持选项枚举
13522
13535
  */
13523
- answerEnumerable?: boolean;
13524
- /**
13525
- * 选项前缀文字
13526
- */
13527
- prefix?: string;
13528
-
13529
- /**
13530
- * 选项后缀文字
13531
- */
13532
- suffix?: string;
13536
+ answerEnumerable?: boolean;
13537
+ /**
13538
+ * 选项前缀文字
13539
+ */
13540
+ prefix?: string;
13541
+
13542
+ /**
13543
+ * 选项后缀文字
13544
+ */
13545
+ suffix?: string;
13533
13546
  }
13534
13547
  /**
13535
13548
  * 填空题选项数据结构
13536
13549
  */
13537
- interface CFPDFillOption extends CFPDMValidateOption, CFPDMPositionOption ,CFPDFillOptionBase {
13550
+ interface CFPDFillOption extends CFPDMValidateOption, CFPDMPositionOption, CFPDFillOptionBase {
13538
13551
 
13539
13552
  }
13540
13553
 
@@ -13821,10 +13834,10 @@ interface CFPDMPositionOption extends CFPDOption, CFPDPositionOptMixin {
13821
13834
 
13822
13835
  // -------------- node_modules/@choiceform/os-cfpd/types/option/mixin/validate.d.ts ---------------
13823
13836
 
13824
- interface CFPDMValidateOptionBase {
13825
- /**
13826
- * 是否必填
13827
- */
13837
+ interface CFPDMValidateOptionBase {
13838
+ /**
13839
+ * 是否必填
13840
+ */
13828
13841
  fillRequired?: boolean;
13829
13842
  /**
13830
13843
  * 输入值验证类型
@@ -13882,13 +13895,17 @@ interface CFPDMValidateOptionBase {
13882
13895
  * 时间范围
13883
13896
  */
13884
13897
  timeGrade?: number;
13898
+ /**
13899
+ * 键盘输入模式
13900
+ */
13901
+ inputMode?: OPT_INPUT_MODE
13885
13902
  }
13886
13903
 
13887
13904
  /**
13888
13905
  * 具备验证功能的选项
13889
13906
  */
13890
- interface CFPDMValidateOption extends CFPDOption ,CFPDMValidateOptionBase {
13891
-
13907
+ interface CFPDMValidateOption extends CFPDOption, CFPDMValidateOptionBase {
13908
+
13892
13909
  }
13893
13910
 
13894
13911
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.4.53",
3
+ "version": "3.4.56",
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,11 +68,11 @@
68
68
  "ua-parser-js": "^0.7.20"
69
69
  },
70
70
  "dependencies": {
71
- "@choiceform/os-cfpd": "^3.1.21",
71
+ "@choiceform/os-cfpd": "^3.1.22",
72
72
  "ts-loader": "^9.2.5",
73
73
  "typescript": "^4.4.2",
74
74
  "webpack": "^5.52.0",
75
75
  "webpack-cli": "^4.8.0",
76
76
  "webpack-dev-server": "^4.1.1"
77
77
  }
78
- }
78
+ }