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.
Files changed (83) hide show
  1. package/fonts.fontless.css +1 -1
  2. package/fonts.fontless.min.css +1 -1
  3. package/i18n/arabic.js +1 -1
  4. package/i18n/arabic.min.js +1 -1
  5. package/i18n/bulgarian.js +1 -1
  6. package/i18n/bulgarian.min.js +1 -1
  7. package/i18n/croatian.js +1 -1
  8. package/i18n/croatian.min.js +1 -1
  9. package/i18n/czech.js +1 -1
  10. package/i18n/czech.min.js +1 -1
  11. package/i18n/danish.js +1 -1
  12. package/i18n/danish.min.js +1 -1
  13. package/i18n/dutch.js +1 -1
  14. package/i18n/dutch.min.js +1 -1
  15. package/i18n/english.js +1 -1
  16. package/i18n/english.min.js +1 -1
  17. package/i18n/finnish.js +1 -1
  18. package/i18n/finnish.min.js +1 -1
  19. package/i18n/french.js +1 -1
  20. package/i18n/french.min.js +1 -1
  21. package/i18n/german.js +1 -1
  22. package/i18n/german.min.js +1 -1
  23. package/i18n/hungarian.js +1 -1
  24. package/i18n/hungarian.min.js +1 -1
  25. package/i18n/index.js +1 -1
  26. package/i18n/index.min.js +1 -1
  27. package/i18n/indonesian.js +1 -1
  28. package/i18n/indonesian.min.js +1 -1
  29. package/i18n/italian.js +1 -1
  30. package/i18n/italian.min.js +1 -1
  31. package/i18n/japanese.js +1 -1
  32. package/i18n/japanese.min.js +1 -1
  33. package/i18n/korean.js +1 -1
  34. package/i18n/korean.min.js +1 -1
  35. package/i18n/malay.js +1 -1
  36. package/i18n/malay.min.js +1 -1
  37. package/i18n/mongolian.js +1 -1
  38. package/i18n/mongolian.min.js +1 -1
  39. package/i18n/norwegian.js +1 -1
  40. package/i18n/norwegian.min.js +1 -1
  41. package/i18n/persian.js +1 -1
  42. package/i18n/persian.min.js +1 -1
  43. package/i18n/polish.js +1 -1
  44. package/i18n/polish.min.js +1 -1
  45. package/i18n/portuguese.js +1 -1
  46. package/i18n/portuguese.min.js +1 -1
  47. package/i18n/russian.js +1 -1
  48. package/i18n/russian.min.js +1 -1
  49. package/i18n/simplified-chinese.js +1 -1
  50. package/i18n/simplified-chinese.min.js +1 -1
  51. package/i18n/slovak.js +1 -1
  52. package/i18n/slovak.min.js +1 -1
  53. package/i18n/spanish.js +1 -1
  54. package/i18n/spanish.min.js +1 -1
  55. package/i18n/swedish.js +1 -1
  56. package/i18n/swedish.min.js +1 -1
  57. package/i18n/tajik.js +1 -1
  58. package/i18n/tajik.min.js +1 -1
  59. package/i18n/traditional-chinese.js +1 -1
  60. package/i18n/traditional-chinese.min.js +1 -1
  61. package/i18n/turkish.js +1 -1
  62. package/i18n/turkish.min.js +1 -1
  63. package/package.json +2 -2
  64. package/survey-creator-core.css +6 -3
  65. package/survey-creator-core.fontless.css +5 -2
  66. package/survey-creator-core.fontless.css.map +1 -1
  67. package/survey-creator-core.fontless.min.css +2 -2
  68. package/survey-creator-core.i18n.js +1 -1
  69. package/survey-creator-core.i18n.min.js +1 -1
  70. package/survey-creator-core.js +219 -69
  71. package/survey-creator-core.js.map +1 -1
  72. package/survey-creator-core.min.css +3 -3
  73. package/survey-creator-core.min.js +3 -3
  74. package/typings/components/action-container-view-model.d.ts +1 -1
  75. package/typings/components/string-editor.d.ts +1 -1
  76. package/typings/components/tabs/logic-item-editor.d.ts +2 -0
  77. package/typings/components/tabs/theme-custom-questions/boxshadow-settings.d.ts +1 -0
  78. package/typings/components/tabs/theme-custom-questions/color-settings.d.ts +1 -0
  79. package/typings/components/tabs/theme-custom-questions/element-settings.d.ts +1 -0
  80. package/typings/components/tabs/theme-custom-questions/font-settings.d.ts +1 -0
  81. package/typings/components/tabs/theme-custom-questions/index.d.ts +1 -0
  82. package/typings/creator-base.d.ts +8 -1
  83. 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,2 +1,3 @@
1
+ export declare function updateBoxShadowSettingsJSON(): void;
1
2
  export declare function createBoxShadow(value: Array<any>): string;
2
3
  export declare function parseBoxShadow(value: string): Array<Object>;
@@ -1 +1,2 @@
1
+ export declare function updateColorSettingsJSON(): void;
1
2
  export declare function createColor(value: any): string;
@@ -1,4 +1,5 @@
1
1
  import { Question } from "survey-core";
2
+ export declare function updateElementSettingsJSON(): void;
2
3
  export declare function elementSettingsToCssVariable(question: Question, themeCssVariables: {
3
4
  [index: string]: string;
4
5
  }): void;
@@ -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
  *