survey-creator-core 1.9.119 → 1.9.121

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 +2 -1
  16. package/i18n/english.js.map +1 -1
  17. package/i18n/english.min.js +2 -2
  18. package/i18n/finnish.js +1 -1
  19. package/i18n/finnish.min.js +1 -1
  20. package/i18n/french.js +1 -1
  21. package/i18n/french.min.js +1 -1
  22. package/i18n/german.js +1 -1
  23. package/i18n/german.min.js +1 -1
  24. package/i18n/hungarian.js +1 -1
  25. package/i18n/hungarian.min.js +1 -1
  26. package/i18n/index.js +1 -1
  27. package/i18n/index.min.js +1 -1
  28. package/i18n/indonesian.js +1 -1
  29. package/i18n/indonesian.min.js +1 -1
  30. package/i18n/italian.js +1 -1
  31. package/i18n/italian.min.js +1 -1
  32. package/i18n/japanese.js +1 -1
  33. package/i18n/japanese.min.js +1 -1
  34. package/i18n/korean.js +1 -1
  35. package/i18n/korean.min.js +1 -1
  36. package/i18n/malay.js +1 -1
  37. package/i18n/malay.min.js +1 -1
  38. package/i18n/mongolian.js +1 -1
  39. package/i18n/mongolian.min.js +1 -1
  40. package/i18n/norwegian.js +1 -1
  41. package/i18n/norwegian.min.js +1 -1
  42. package/i18n/persian.js +1 -1
  43. package/i18n/persian.min.js +1 -1
  44. package/i18n/polish.js +1 -1
  45. package/i18n/polish.min.js +1 -1
  46. package/i18n/portuguese.js +1 -1
  47. package/i18n/portuguese.min.js +1 -1
  48. package/i18n/russian.js +1 -1
  49. package/i18n/russian.min.js +1 -1
  50. package/i18n/simplified-chinese.js +1 -1
  51. package/i18n/simplified-chinese.min.js +1 -1
  52. package/i18n/slovak.js +1 -1
  53. package/i18n/slovak.min.js +1 -1
  54. package/i18n/spanish.js +1 -1
  55. package/i18n/spanish.min.js +1 -1
  56. package/i18n/swedish.js +1 -1
  57. package/i18n/swedish.min.js +1 -1
  58. package/i18n/tajik.js +1 -1
  59. package/i18n/tajik.min.js +1 -1
  60. package/i18n/traditional-chinese.js +1 -1
  61. package/i18n/traditional-chinese.min.js +1 -1
  62. package/i18n/turkish.js +1 -1
  63. package/i18n/turkish.min.js +1 -1
  64. package/package.json +2 -2
  65. package/survey-creator-core.css +37 -7
  66. package/survey-creator-core.fontless.css +36 -6
  67. package/survey-creator-core.fontless.css.map +1 -1
  68. package/survey-creator-core.fontless.min.css +5 -5
  69. package/survey-creator-core.i18n.js +1 -1
  70. package/survey-creator-core.i18n.min.js +1 -1
  71. package/survey-creator-core.js +170 -48
  72. package/survey-creator-core.js.map +1 -1
  73. package/survey-creator-core.min.css +6 -6
  74. package/survey-creator-core.min.js +5 -5
  75. package/typings/components/action-container-view-model.d.ts +2 -2
  76. package/typings/components/item-value.d.ts +1 -0
  77. package/typings/components/question.d.ts +1 -0
  78. package/typings/components/results.d.ts +4 -2
  79. package/typings/components/tabs/theme-builder.d.ts +3 -0
  80. package/typings/editorLocalization.d.ts +1 -0
  81. package/typings/localization/english.d.ts +1 -0
  82. package/typings/property-grid/index.d.ts +4 -0
  83. package/typings/property-grid/search-manager.d.ts +2 -0
@@ -1,9 +1,9 @@
1
1
  import { Base, AdaptiveActionContainer, Action, SurveyElement } from "survey-core";
2
2
  import { CreatorBase } from "../creator-base";
3
3
  export declare class SurveyElementActionContainer extends AdaptiveActionContainer {
4
+ private needToShrink;
4
5
  private setModeForActions;
5
- private skipInputType;
6
- private skipQuestionType;
6
+ private calcItemSize;
7
7
  fit(dimension: number, dotsItemSize: number): void;
8
8
  }
9
9
  export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyElement> extends Base {
@@ -40,4 +40,5 @@ export declare class ItemValueWrapperViewModel extends Base {
40
40
  get dragTooltip(): string;
41
41
  get allowAdd(): boolean;
42
42
  select(model: ItemValueWrapperViewModel, event: Event | undefined): void;
43
+ private isAutoGeneratedItem;
43
44
  }
@@ -26,6 +26,7 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
26
26
  dispose(): void;
27
27
  get isDraggable(): boolean;
28
28
  hover(event: MouseEvent, element: HTMLElement | any): void;
29
+ protected updateActionsProperties(): void;
29
30
  protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
30
31
  private updateActionVisibilityByProp;
31
32
  get isEmptyElement(): boolean;
@@ -1,16 +1,18 @@
1
1
  import * as Survey from "survey-core";
2
2
  import { Base } from "survey-core";
3
3
  export declare class SurveyResultsItemModel extends Base {
4
+ private survey;
4
5
  private _data;
5
6
  private _lvl;
6
7
  collapsed: boolean;
7
8
  lvl: number;
8
9
  items: Array<any>;
9
- constructor(_data: any, _lvl: number);
10
+ constructor(survey: Survey.SurveyModel, _data: any, _lvl: number);
11
+ question: Survey.Question;
10
12
  get data(): Array<any>;
11
13
  toggle: () => void;
12
14
  get isNode(): boolean;
13
- get name(): boolean;
15
+ get name(): string;
14
16
  get title(): string;
15
17
  get value(): any;
16
18
  get displayValue(): string;
@@ -59,6 +59,9 @@ export declare class ThemeBuilder extends Base {
59
59
  get isMobileView(): boolean;
60
60
  get showResults(): boolean;
61
61
  loadTheme(theme: ITheme): void;
62
+ private _defaultSessionTheme;
63
+ get defaultSessionTheme(): ITheme;
64
+ set defaultSessionTheme(theme: ITheme);
62
65
  resetTheme(): void;
63
66
  setTheme(theme: ITheme): void;
64
67
  selectTheme(themeName: string, themePalette?: string, themeMode?: string): void;
@@ -137,6 +137,7 @@ export declare var defaultStrings: {
137
137
  toolbox: string;
138
138
  "property-grid": string;
139
139
  propertyGridFilteredTextPlaceholder: string;
140
+ propertyGridNoResultsFound: string;
140
141
  toolboxGeneralCategory: string;
141
142
  toolboxChoiceCategory: string;
142
143
  toolboxTextCategory: string;
@@ -106,6 +106,7 @@ export declare var enStrings: {
106
106
  toolbox: string;
107
107
  "property-grid": string;
108
108
  propertyGridFilteredTextPlaceholder: string;
109
+ propertyGridNoResultsFound: string;
109
110
  toolboxGeneralCategory: string;
110
111
  toolboxChoiceCategory: string;
111
112
  toolboxTextCategory: string;
@@ -32,6 +32,8 @@ export interface IPropertyGridEditor {
32
32
  isPropertyEditorSetupEnabled?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => boolean;
33
33
  canClearPropertyValue?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => boolean;
34
34
  clearPropertyValue?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => void;
35
+ onValueChanged?: (obj: Base, prop: JsonObjectProperty, question: Question) => void;
36
+ onValueChanging?: (obj: Base, prop: JsonObjectProperty, question: Question, options: any) => void;
35
37
  onMasterValueChanged?: (obj: Base, prop: JsonObjectProperty, question: Question) => void;
36
38
  onAddIntoPropertyValue?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => void;
37
39
  onMatrixCellCreated?: (obj: Base, options: any) => void;
@@ -59,6 +61,7 @@ export declare var PropertyGridEditorCollection: {
59
61
  onUpdateQuestionCssClasses(obj: Base, prop: JsonObjectProperty, options: any): void;
60
62
  onGetQuestionTitleActions(obj: Base, prop: JsonObjectProperty, options: any): void;
61
63
  onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
64
+ onValueChanging(obj: Base, prop: JsonObjectProperty, question: Question, options: any): void;
62
65
  onMasterValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
63
66
  };
64
67
  export declare class PropertyGridTitleActionsCreator {
@@ -190,6 +193,7 @@ export declare class PropertyGridEditorColor extends PropertyGridEditor {
190
193
  export declare class PropertyGridEditorNumber extends PropertyGridEditor {
191
194
  fit(prop: JsonObjectProperty): boolean;
192
195
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
196
+ onValueChanging(obj: Base, prop: JsonObjectProperty, question: Question, options: any): void;
193
197
  }
194
198
  export declare class PropertyGridEditorImageSize extends PropertyGridEditorString {
195
199
  fit(prop: JsonObjectProperty): boolean;
@@ -5,6 +5,7 @@ export declare class SearchManager extends Base {
5
5
  private currentMatch;
6
6
  searchActionBar: ActionContainer;
7
7
  filterStringPlaceholder: string;
8
+ propertyGridNoResultsFound: string;
8
9
  survey: SurveyModel;
9
10
  isVisible: boolean;
10
11
  filterString: string;
@@ -20,6 +21,7 @@ export declare class SearchManager extends Base {
20
21
  initActionBar(): void;
21
22
  constructor();
22
23
  setSurvey(newSurvey: SurveyModel): void;
24
+ clearFilterString(): void;
23
25
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
24
26
  dispose(): void;
25
27
  }