survey-creator-core 2.3.11 → 2.3.12
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/fesm/i18n/arabic.mjs +1 -1
- package/fesm/i18n/bulgarian.mjs +1 -1
- package/fesm/i18n/burmese.mjs +1 -1
- package/fesm/i18n/croatian.mjs +1 -1
- package/fesm/i18n/czech.mjs +1 -1
- package/fesm/i18n/danish.mjs +1 -1
- package/fesm/i18n/dutch.mjs +1 -1
- package/fesm/i18n/english.mjs +1 -1
- package/fesm/i18n/finnish.mjs +1 -1
- package/fesm/i18n/french.mjs +1 -1
- package/fesm/i18n/german.mjs +1 -1
- package/fesm/i18n/greek.mjs +1 -1
- package/fesm/i18n/haitian-creole.mjs +1 -1
- package/fesm/i18n/hebrew.mjs +1 -1
- package/fesm/i18n/hungarian.mjs +1 -1
- package/fesm/i18n/index.mjs +1 -1
- package/fesm/i18n/indonesian.mjs +1 -1
- package/fesm/i18n/italian.mjs +1 -1
- package/fesm/i18n/japanese.mjs +1 -1
- package/fesm/i18n/korean.mjs +1 -1
- package/fesm/i18n/malay.mjs +1 -1
- package/fesm/i18n/mongolian.mjs +1 -1
- package/fesm/i18n/norwegian.mjs +1 -1
- package/fesm/i18n/persian.mjs +1 -1
- package/fesm/i18n/polish.mjs +1 -1
- package/fesm/i18n/portuguese.mjs +1 -1
- package/fesm/i18n/romanian.mjs +1 -1
- package/fesm/i18n/russian.mjs +1 -1
- package/fesm/i18n/simplified-chinese.mjs +1 -1
- package/fesm/i18n/slovak.mjs +1 -1
- package/fesm/i18n/slovenian.mjs +1 -1
- package/fesm/i18n/spanish.mjs +1 -1
- package/fesm/i18n/swedish.mjs +1 -1
- package/fesm/i18n/tajik.mjs +1 -1
- package/fesm/i18n/thai.mjs +1 -1
- package/fesm/i18n/traditional-chinese.mjs +1 -1
- package/fesm/i18n/turkish.mjs +1 -1
- package/fesm/survey-creator-core.i18n.mjs +1 -1
- package/fesm/survey-creator-core.mjs +34 -11
- package/fesm/survey-creator-core.mjs.map +1 -1
- package/fesm/themes/index.mjs +1 -1
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/burmese.js +1 -1
- package/i18n/burmese.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js.LICENSE.txt +1 -1
- package/i18n/haitian-creole.js +1 -1
- package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/slovenian.js +1 -1
- package/i18n/slovenian.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +2 -2
- package/survey-creator-core.fontless.css +1 -1
- package/survey-creator-core.fontless.min.css +1 -1
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +32 -9
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +2 -2
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/sc2020.js +1 -1
- package/themes/sc2020.min.js.LICENSE.txt +1 -1
- package/typings/creator-base.d.ts +13 -0
- package/typings/creator-options.d.ts +11 -0
- package/typings/creator-settings.d.ts +2 -0
package/themes/default-dark.js
CHANGED
package/themes/index.js
CHANGED
package/themes/sc2020.js
CHANGED
|
@@ -183,6 +183,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
183
183
|
*/
|
|
184
184
|
get propertyGridNavigationMode(): "buttons" | "accordion";
|
|
185
185
|
set propertyGridNavigationMode(newValue: "buttons" | "accordion");
|
|
186
|
+
trimValues: boolean;
|
|
186
187
|
get allowEditSurveyTitle(): boolean;
|
|
187
188
|
set allowEditSurveyTitle(val: boolean);
|
|
188
189
|
/**
|
|
@@ -1380,6 +1381,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1380
1381
|
private isObjThisType;
|
|
1381
1382
|
private addNewElementReason;
|
|
1382
1383
|
onDragDropItemStart(): void;
|
|
1384
|
+
private isCreatingNewElement;
|
|
1383
1385
|
private doOnQuestionAdded;
|
|
1384
1386
|
onElementTypeRestrictionChanged: EventBase<SurveyCreatorModel, any>;
|
|
1385
1387
|
private doOnElementsChanged;
|
|
@@ -1900,6 +1902,17 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1900
1902
|
* @see showTranslationTab
|
|
1901
1903
|
*/
|
|
1902
1904
|
clearTranslationsOnSourceTextChange: boolean;
|
|
1905
|
+
/**
|
|
1906
|
+
* Specifies how deeply choice options in Radio Button Group and Checkboxes questions can contain nested survey content such as questions or panels.
|
|
1907
|
+
*
|
|
1908
|
+
* - 0 - Disables content nesting for choice options.
|
|
1909
|
+
* - 1 - Allows first-level choice options to contain survey elements.
|
|
1910
|
+
* - 2 - Allows first- and second-level choice options to contain survey elements, and so on.
|
|
1911
|
+
*
|
|
1912
|
+
* Default value: 0
|
|
1913
|
+
*
|
|
1914
|
+
* [View Demo](https://surveyjs.io/survey-creator/examples/nest-sub-questions-within-choice-options/ (linkStyle))
|
|
1915
|
+
*/
|
|
1903
1916
|
maxChoiceContentNestingLevel: number;
|
|
1904
1917
|
/**
|
|
1905
1918
|
* An event that is raised to determine whether in-place editing is allowed for an element on the design surface. Use this event to enable or disable in-place editing for specific elements.
|
|
@@ -484,5 +484,16 @@ export interface ICreatorOptions {
|
|
|
484
484
|
* @see showTranslationTab
|
|
485
485
|
*/
|
|
486
486
|
clearTranslationsOnSourceTextChange?: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Specifies how deeply choice options in Radio Button Group and Checkboxes questions can contain nested survey content such as questions or panels.
|
|
489
|
+
*
|
|
490
|
+
* - 0 - Disables content nesting for choice options (default).
|
|
491
|
+
* - 1 - Allows first-level choice options to contain survey elements.
|
|
492
|
+
* - 2 - Allows first- and second-level choice options to contain survey elements, and so on.
|
|
493
|
+
*
|
|
494
|
+
* Default value: 0
|
|
495
|
+
*
|
|
496
|
+
* [View Demo](https://surveyjs.io/survey-creator/examples/nest-sub-questions-within-choice-options/ (linkStyle))
|
|
497
|
+
*/
|
|
487
498
|
maxChoiceContentNestingLevel?: number;
|
|
488
499
|
}
|
|
@@ -196,6 +196,7 @@ export interface ISurveyCreatorOptions {
|
|
|
196
196
|
rootElement?: HTMLElement;
|
|
197
197
|
previewShowResults: boolean;
|
|
198
198
|
showOneCategoryInPropertyGrid: boolean;
|
|
199
|
+
trimValues: boolean;
|
|
199
200
|
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
200
201
|
getElementAddornerCssCallback(obj: Base, className: string): string;
|
|
201
202
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
@@ -272,6 +273,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions,
|
|
|
272
273
|
paneldynamic: string[];
|
|
273
274
|
};
|
|
274
275
|
showOneCategoryInPropertyGrid: boolean;
|
|
276
|
+
trimValues: boolean;
|
|
275
277
|
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
276
278
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
277
279
|
getElementAddornerCssCallback(obj: Base, className: string): string;
|