@choiceform/os-client-core 3.6.69 → 3.6.70

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
@@ -7250,7 +7250,7 @@ declare const enum REQ_TYPE {
7250
7250
  /**
7251
7251
  * Patch 请求
7252
7252
  */
7253
- PATCH = "patch"
7253
+ PATCH = "patch",
7254
7254
  }
7255
7255
 
7256
7256
  /**
@@ -7635,6 +7635,11 @@ declare const enum LANG_LOCALE {
7635
7635
  */
7636
7636
  NL_NL = "nl_nl",
7637
7637
 
7638
+ /**
7639
+ * 挪威语
7640
+ */
7641
+ NO = "no",
7642
+
7638
7643
  /**
7639
7644
  * 【已使用】波兰语(波兰)母语使用人数5500万(2010年)
7640
7645
  */
@@ -7770,6 +7775,10 @@ declare const enum NODE_TYPE {
7770
7775
  * 逻辑节点
7771
7776
  */
7772
7777
  LOGIC = "logic",
7778
+ /**
7779
+ * 唯一性验证节点
7780
+ */
7781
+ UNIQUENESS_VERIFICATION = "uniqueness_verification",
7773
7782
  /**
7774
7783
  * 循环节点
7775
7784
  */
@@ -8583,20 +8592,19 @@ declare const enum OPTION_POSITION {
8583
8592
  /**
8584
8593
  * 置左
8585
8594
  */
8586
- LEFT_FIXED = "left-fixed",
8595
+ LEFT_FIXED = "left-fixed",
8587
8596
 
8588
8597
  /**
8589
8598
  * 置右边
8590
8599
  */
8591
- RIGHT_FIXED = "right-fixed",
8592
-
8600
+ RIGHT_FIXED = "right-fixed",
8593
8601
  }
8594
8602
 
8595
8603
 
8596
8604
  // -------------- node_modules/@choiceform/os-cfpd/types/index.d.ts ---------------
8597
8605
 
8598
8606
  /**
8599
- * 问卷数据专有基础卫星,只有完整问卷,部分问卷共用该数据结构
8607
+ * 问卷数据专有基础类型,只有完整问卷,部分问卷共用该数据结构
8600
8608
  * 问卷模块的数据结构中关键的几个属性是有后台控制的,命名风格不一致,另外定义了。
8601
8609
  */
8602
8610
  interface CFPDSurveyUniqueBase {
@@ -8623,6 +8631,21 @@ interface CFPDSurveyUniqueBase {
8623
8631
  };
8624
8632
  }
8625
8633
 
8634
+ interface CFPDUniquenessVerificationConfig {
8635
+ /**
8636
+ * 是否启用
8637
+ */
8638
+ enabled: boolean;
8639
+ /**
8640
+ * 验证服务 code
8641
+ */
8642
+ code: string;
8643
+ /**
8644
+ * 验证服务参数
8645
+ */
8646
+ params: CFPDParam[];
8647
+ }
8648
+
8626
8649
  /**
8627
8650
  * 问卷数据通用基础,完整问卷,部分问卷,问卷模块都共用该结构
8628
8651
  */
@@ -8649,7 +8672,10 @@ interface CFPDSurveyCommonBase {
8649
8672
  * 变量列表
8650
8673
  */
8651
8674
  variables: CFPDVar[];
8652
-
8675
+ /**
8676
+ * 唯一性验证配置内容
8677
+ */
8678
+ uniquenessVerification?: CFPDUniquenessVerificationConfig;
8653
8679
  /**
8654
8680
  * 预设样式选项列表
8655
8681
  */
@@ -9277,6 +9303,10 @@ interface CFPDEndNode
9277
9303
  * 最小答题时间限制
9278
9304
  */
9279
9305
  minTime: number;
9306
+ /**
9307
+ * 是否开启唯一性验证
9308
+ */
9309
+ doUniquenessVerification?: boolean;
9280
9310
  }
9281
9311
 
9282
9312
 
@@ -10811,6 +10841,19 @@ interface CFPDJudgement {
10811
10841
  request?: CFPDRequest;
10812
10842
  }
10813
10843
 
10844
+ // -------------- node_modules/@choiceform/os-cfpd/types/node/uniqueness-verification.d.ts ---------------
10845
+
10846
+ /**
10847
+ * 唯一性验证节点 JSON 数据结构
10848
+ */
10849
+ interface CFPDUniquenessVerificationNode extends CFPDBNode, CFPDMInputOutputNode {
10850
+ /**
10851
+ * 否定输出口
10852
+ */
10853
+ outputN: CFPDPort;
10854
+ }
10855
+
10856
+
10814
10857
  // -------------- node_modules/@choiceform/os-cfpd/types/node/upload.d.ts ---------------
10815
10858
 
10816
10859
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.6.69",
3
+ "version": "3.6.70",
4
4
  "description": "choiceform survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",
@@ -75,7 +75,7 @@
75
75
  "ua-parser-js": "^0.7.20"
76
76
  },
77
77
  "dependencies": {
78
- "@choiceform/os-cfpd": "3.2.18",
78
+ "@choiceform/os-cfpd": "3.2.20",
79
79
  "ts-loader": "^9.5.1",
80
80
  "typescript": "^5.3.3",
81
81
  "webpack": "^5.90.1",