@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.
- package/dist/survey-core.esm.js +3 -0
- package/package.json +1 -1
- package/src/models.ts +4 -0
package/dist/survey-core.esm.js
CHANGED
package/package.json
CHANGED
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 {
|