survey-creator-core 1.9.114 → 1.9.115
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +6 -3
- package/survey-creator-core.fontless.css +5 -2
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +219 -69
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +3 -3
- package/survey-creator-core.min.js +3 -3
- package/typings/components/action-container-view-model.d.ts +1 -1
- package/typings/components/string-editor.d.ts +1 -1
- package/typings/components/tabs/logic-item-editor.d.ts +2 -0
- package/typings/components/tabs/theme-custom-questions/boxshadow-settings.d.ts +1 -0
- package/typings/components/tabs/theme-custom-questions/color-settings.d.ts +1 -0
- package/typings/components/tabs/theme-custom-questions/element-settings.d.ts +1 -0
- package/typings/components/tabs/theme-custom-questions/font-settings.d.ts +1 -0
- package/typings/components/tabs/theme-custom-questions/index.d.ts +1 -0
- package/typings/creator-base.d.ts +8 -1
- package/typings/creator-options.d.ts +0 -1
|
@@ -17,7 +17,7 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
|
|
|
17
17
|
constructor(creator: CreatorBase, surveyElement: T);
|
|
18
18
|
protected detachElement(surveyElement: T): void;
|
|
19
19
|
protected attachElement(surveyElement: T): void;
|
|
20
|
-
protected setSurveyElement(surveyElement: T): void;
|
|
20
|
+
protected setSurveyElement(surveyElement: T, updateActions?: boolean): void;
|
|
21
21
|
protected checkActionProperties(): void;
|
|
22
22
|
dispose(): void;
|
|
23
23
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
@@ -9,7 +9,7 @@ export declare abstract class StringItemsNavigatorBase {
|
|
|
9
9
|
protected abstract addNewItem(creator: CreatorBase, items: any, text?: string): void;
|
|
10
10
|
protected abstract getItemsPropertyName(items: any): string;
|
|
11
11
|
private static createItemsNavigator;
|
|
12
|
-
protected addNewItems(items: any, startIndex: number, itemsToAdd: string[]): void;
|
|
12
|
+
protected addNewItems(creator: CreatorBase, items: any, startIndex: number, itemsToAdd: string[]): void;
|
|
13
13
|
private setEventsForItem;
|
|
14
14
|
static setQuestion(questionAdorner: QuestionAdornerViewModel): boolean;
|
|
15
15
|
}
|
|
@@ -31,6 +31,8 @@ export declare class LogicItemEditor extends PropertyEditorSetupValue {
|
|
|
31
31
|
apply(): boolean;
|
|
32
32
|
getEditingActions(): Array<SurveyLogicAction>;
|
|
33
33
|
private onUpdateQuestionCssClasses;
|
|
34
|
+
private isSetValueInternalQuestion;
|
|
35
|
+
private isSetValueInternalQuestionCore;
|
|
34
36
|
private onUpdatePanelCssClasses;
|
|
35
37
|
private onValueChanged;
|
|
36
38
|
private onQuestionAdded;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Question } from "survey-core";
|
|
2
2
|
export declare const DefaultFonts: string[];
|
|
3
|
+
export declare function updateFontSettingsJSON(): void;
|
|
3
4
|
export declare function fontsettingsToCssVariable(question: Question, themeCssVariables: {
|
|
4
5
|
[index: string]: string;
|
|
5
6
|
}): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function updateCustomQuestionJSONs(): void;
|
|
@@ -450,7 +450,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
450
450
|
*- sender the survey creator object that fires the event
|
|
451
451
|
*- options.element a new created survey element. It can be question, panel or page
|
|
452
452
|
*- options.name a new suggested name, that is unique for the current survey. You can suggest your own name. If it is unique, creator will assign it to the element.
|
|
453
|
-
*- options.isUnique a boolean property, set this property to false, if you want to ask Creator to generate another name
|
|
454
453
|
*/
|
|
455
454
|
onGenerateNewName: CreatorEvent;
|
|
456
455
|
/**
|
|
@@ -1442,6 +1441,12 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1442
1441
|
*/
|
|
1443
1442
|
get selectedElement(): Base;
|
|
1444
1443
|
set selectedElement(val: Base);
|
|
1444
|
+
/**
|
|
1445
|
+
* Refreshes the Designer tab.
|
|
1446
|
+
*
|
|
1447
|
+
* `refreshDesigner()` is useful if the Designer tab UI depends on an external variable. Call this method each time this variable changes to update the UI.
|
|
1448
|
+
*/
|
|
1449
|
+
refreshDesigner(): void;
|
|
1445
1450
|
deleteCurrentObject(): void;
|
|
1446
1451
|
deleteCurrentElement(): void;
|
|
1447
1452
|
/**
|
|
@@ -1540,6 +1545,8 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1540
1545
|
protected canDeleteItem(object: any, item: Base, allowDelete: boolean): boolean;
|
|
1541
1546
|
private getErrorOnPropertyChanging;
|
|
1542
1547
|
protected generateUniqueName(el: Base, newName: string): string;
|
|
1548
|
+
protected generateUniqueNameCore(options: any): void;
|
|
1549
|
+
private checkForUniqueName;
|
|
1543
1550
|
protected isNameUnique(el: Base, newName: string, includeNewItems?: boolean): boolean;
|
|
1544
1551
|
private isNameUniqueInArray;
|
|
1545
1552
|
protected doPropertyGridChanged(): void;
|
|
@@ -37,7 +37,6 @@ export interface ICreatorOptions {
|
|
|
37
37
|
* Default value: `false`
|
|
38
38
|
*/
|
|
39
39
|
showTranslationTab?: boolean;
|
|
40
|
-
haveCommercialLicense?: boolean;
|
|
41
40
|
/**
|
|
42
41
|
* Specifies whether to call the [`saveSurveyFunc`](https://surveyjs.io/Documentation/Survey-Creator?id=surveycreator#saveSurveyFunc) and [`saveThemeFunc`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#saveThemeFunc) functions each time survey or theme settings are changed.
|
|
43
42
|
*
|