@wg-npm/survey-core 0.5.170 → 0.5.171

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.
@@ -138,6 +138,9 @@ class SubQuestionModel {
138
138
  this.text = defaultText(locale);
139
139
  this.number = null;
140
140
  }
141
+ static createSubPrefixId() {
142
+ return `SubQ-${_.now()}-`;
143
+ }
141
144
  }
142
145
  class BaseQuestionModel {
143
146
  constructor(type, locale) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-core",
3
- "version": "0.5.170",
3
+ "version": "0.5.171",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "scripts": {
package/src/models.ts CHANGED
@@ -168,6 +168,10 @@ export class SubQuestionModel {
168
168
  this.text = defaultText(locale);
169
169
  this.number = null;
170
170
  }
171
+
172
+ static createSubPrefixId(): string {
173
+ return `SubQ-${_.now()}-`;
174
+ }
171
175
  }
172
176
 
173
177
  export class SubScoringQuestionModel extends SubQuestionModel {