survey-creator-core 1.9.80 → 1.9.82

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
2
+ * SurveyJS Creator v1.9.82
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
2
+ * SurveyJS Creator v1.9.82
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.80",
3
+ "version": "1.9.82",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -29,7 +29,7 @@
29
29
  "ace-builds": "^1.4.12"
30
30
  },
31
31
  "dependencies": {
32
- "survey-core": "1.9.80"
32
+ "survey-core": "1.9.82"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
2
+ * SurveyJS Creator v1.9.82
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -225,7 +225,7 @@
225
225
 
226
226
 
227
227
  /*# sourceMappingURL=fonts.fontless.css.map*//*!
228
- * SurveyJS Creator v1.9.80
228
+ * SurveyJS Creator v1.9.82
229
229
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
230
230
  * Github: https://github.com/surveyjs/survey-creator
231
231
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -956,7 +956,8 @@ td.st-table__cell:first-of-type {
956
956
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); }
957
957
 
958
958
  .svc-logic-tab__content .svc-logic-tab__content-action--disabled .svc-text {
959
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
959
+ color: var(--foreground, #161616);
960
+ opacity: 0.25; }
960
961
 
961
962
  .svc-logic-tab__content .sd-paneldynamic__panel-wrapper--in-row {
962
963
  margin-top: 0;
@@ -1020,6 +1021,9 @@ td.st-table__cell:first-of-type {
1020
1021
  display: block;
1021
1022
  padding: calc(4 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px)); }
1022
1023
 
1024
+ .svc-logic-tab__leave-apply-button {
1025
+ background-color: var(--red, #e60a3e); }
1026
+
1023
1027
  svc-tab-designer {
1024
1028
  width: 100%;
1025
1029
  height: 100%;
@@ -1360,7 +1364,8 @@ survey-creator,
1360
1364
  margin-left: calc(1 * var(--base-unit, 8px));
1361
1365
  line-height: calc(4 * var(--base-unit, 8px));
1362
1366
  font-size: calc(2 * var(--base-unit, 8px));
1363
- color: red; }
1367
+ color: red;
1368
+ display: none; }
1364
1369
 
1365
1370
  .svc-string-editor__controls {
1366
1371
  position: absolute;
@@ -1413,6 +1418,9 @@ survey-creator,
1413
1418
  background-color: var(--background, #fff);
1414
1419
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--primary, #19b394); }
1415
1420
 
1421
+ .svc-string-editor.svc-string-editor--error:focus-within .svc-string-editor__border {
1422
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--red, #e60a3e); }
1423
+
1416
1424
  .sd-rating .sd-rating__item:focus-within {
1417
1425
  border: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394); }
1418
1426
 
@@ -1648,7 +1656,8 @@ svc-page-navigator-item,
1648
1656
  padding: 0 calc(2.5 * var(--base-unit, 8px)) 0 calc(4.5 * var(--base-unit, 8px)); }
1649
1657
 
1650
1658
  .svc-page-navigator-item--disabled .svc-page-navigator-item__banner {
1651
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
1659
+ color: var(--foreground, #161616);
1660
+ opacity: 0.25; }
1652
1661
 
1653
1662
  svc-page {
1654
1663
  display: block; }
@@ -1739,6 +1748,18 @@ svc-page {
1739
1748
  box-shadow: none; }
1740
1749
 
1741
1750
  .svc-row.svc-row--ghost .sd-row {
1751
+ height: calc(4 * var(--base-unit, 8px)); }
1752
+
1753
+ .svc-row.svc-row--ghost:last-child .sd-row {
1754
+ height: initial;
1755
+ margin-top: calc(2 * var(--base-unit, 8px));
1756
+ margin-bottom: calc(2 * var(--base-unit, 8px)); }
1757
+
1758
+ .svc-row.svc-row--ghost + .svc-row .sd-page__row {
1759
+ margin-top: 0; }
1760
+
1761
+ .svc-panel .svc-row.svc-row--ghost.svc-row.svc-row--ghost .sd-row {
1762
+ height: initial;
1742
1763
  margin-top: calc(2 * var(--base-unit, 8px));
1743
1764
  margin-bottom: calc(2 * var(--base-unit, 8px)); }
1744
1765
 
@@ -1794,7 +1815,8 @@ svc-question {
1794
1815
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15); }
1795
1816
 
1796
1817
  .svc-question__content .sd-matrixdynamic__btn.sd-matrixdynamic__add-btn {
1797
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.25)); }
1818
+ color: var(--foreground, #161616);
1819
+ opacity: 0.25; }
1798
1820
 
1799
1821
  .svc-question__content > div {
1800
1822
  overflow: visible; }
@@ -2084,12 +2106,6 @@ svc-question .sv-action-bar,
2084
2106
  margin-top: 0;
2085
2107
  margin-bottom: 0; }
2086
2108
 
2087
- .sd-panel .svc-row.svc-row--ghost {
2088
- margin-top: calc(1 * var(--base-unit, 8px));
2089
- margin-bottom: calc(1.5 * var(--base-unit, 8px)); }
2090
- .sd-panel .svc-row.svc-row--ghost .sv-drag-drop-ghost {
2091
- top: 0; }
2092
-
2093
2109
  .svc-question__dropdown-choices {
2094
2110
  margin-top: calc(2 * var(--base-unit, 8px)); }
2095
2111
 
@@ -2155,6 +2171,10 @@ svc-question .sv-action-bar,
2155
2171
  min-width: auto;
2156
2172
  justify-content: flex-start; }
2157
2173
 
2174
+ .svc-question__content .sd-rating__item--fixed-size:focus-within {
2175
+ width: unset;
2176
+ padding: calc(0.5 * var(--base-unit, 8px)) calc(2.5 * var(--base-unit, 8px)); }
2177
+
2158
2178
  .svc-item-value-wrapper {
2159
2179
  position: relative;
2160
2180
  display: flex;
@@ -2246,7 +2266,9 @@ svc-question .sv-action-bar,
2246
2266
  opacity: 0.35; }
2247
2267
 
2248
2268
  .svc-item-value--new .sv-ranking-item__index {
2249
- background: var(--background-for-editors, #f9f9f9); }
2269
+ background: var(--background-dim, #f3f3f3); }
2270
+ .svc-item-value--new .sv-ranking-item__index.sv-ranking-item__index--empty:empty {
2271
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAACCAYAAABhYU3QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAaSURBVHgBjcABDQAACAKwa2X6b1Tghxi8UQEkAAB3NR3N2gAAAABJRU5ErkJggg==); }
2250
2272
 
2251
2273
  .sv-ranking .svc-item-value-wrapper {
2252
2274
  align-items: center; }
@@ -2293,7 +2315,7 @@ svc-question .sv-action-bar,
2293
2315
  background: var(--background-dim, #f3f3f3);
2294
2316
  border-radius: calc(12.5 * var(--base-unit, 8px));
2295
2317
  width: calc(25 * var(--base-unit, 8px));
2296
- height: 55px;
2318
+ height: 40px;
2297
2319
  z-index: 11;
2298
2320
  position: absolute;
2299
2321
  left: 35px; }
@@ -2606,7 +2628,8 @@ svc-question .sv-action-bar,
2606
2628
  .svc-property-panel__group:disabled,
2607
2629
  .svc-property-panel__group:disabled:hover {
2608
2630
  background-color: var(--background, #fff);
2609
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
2631
+ color: var(--foreground, #161616);
2632
+ opacity: 0.25;
2610
2633
  cursor: default; }
2611
2634
 
2612
2635
  .svc-property-panel__group:hover {
@@ -2640,7 +2663,8 @@ svc-question .sv-action-bar,
2640
2663
 
2641
2664
  .svc-tabbed-menu-item--disabled {
2642
2665
  cursor: default;
2643
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
2666
+ color: var(--foreground, #161616);
2667
+ opacity: 0.25; }
2644
2668
  .svc-tabbed-menu-item--disabled:hover {
2645
2669
  background-color: var(--background, #fff); }
2646
2670
 
@@ -3246,19 +3270,39 @@ button.spg-action-button--large {
3246
3270
 
3247
3271
  .spg-input:focus,
3248
3272
  .spg-input.spg-dropdown:focus,
3249
- .spg-input.spg-dropdown:focus-within {
3273
+ .spg-input.spg-dropdown:focus-within,
3274
+ .spg-input-container:focus-within {
3250
3275
  border-color: var(--primary, #19b394);
3251
3276
  box-shadow: inset 0 0 0 1px var(--primary, #19b394); }
3252
3277
 
3253
3278
  .spg-input:disabled,
3254
3279
  .spg-input:disabled::placeholder {
3255
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
3280
+ color: var(--foreground, #161616);
3281
+ opacity: 0.25; }
3256
3282
 
3257
3283
  .spg-input[type="color"] {
3258
3284
  padding-left: 0;
3259
3285
  padding-right: 0;
3260
3286
  min-width: calc(8 * var(--base-unit, 8px)); }
3261
3287
 
3288
+ .spg-input__edit-button {
3289
+ position: relative;
3290
+ box-sizing: border-box;
3291
+ appearance: none;
3292
+ background: var(--background, #fff);
3293
+ border: none;
3294
+ width: calc(5 * var(--base-unit, 8px));
3295
+ height: calc(5 * var(--base-unit, 8px));
3296
+ padding: calc(1 * var(--base-unit, 8px)); }
3297
+ .spg-input__edit-button:hover {
3298
+ background: var(--background-dim, #f3f3f3); }
3299
+ .spg-input__edit-button:active {
3300
+ opacity: 0.5; }
3301
+ .spg-input__edit-button svg {
3302
+ height: 24px;
3303
+ width: 24px;
3304
+ fill: rgba(0, 0, 0, 0.45); }
3305
+
3262
3306
  .spg-dropdown {
3263
3307
  border-radius: 0;
3264
3308
  display: flex;
@@ -3298,7 +3342,8 @@ button.spg-action-button--large {
3298
3342
 
3299
3343
  .spg-panel__title:disabled,
3300
3344
  .spg-panel__title:disabled:hover {
3301
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3345
+ color: var(--foreground, #161616);
3346
+ opacity: 0.25;
3302
3347
  cursor: default; }
3303
3348
 
3304
3349
  .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):hover, .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):focus {
@@ -3560,6 +3605,42 @@ button.spg-action-button--large {
3560
3605
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3561
3606
  box-shadow: none; }
3562
3607
 
3608
+ .spg-spin-editor__buttons-container {
3609
+ display: flex; }
3610
+
3611
+ .spg-input-container {
3612
+ display: flex;
3613
+ justify-content: space-between;
3614
+ cursor: default;
3615
+ padding: calc(0.5 * var(--base-unit, 8px));
3616
+ align-items: center;
3617
+ gap: calc(0.5 * var(--base-unit, 8px)); }
3618
+
3619
+ .spg-input-container__input {
3620
+ outline: none;
3621
+ border: none;
3622
+ flex-grow: 1;
3623
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)); }
3624
+
3625
+ .spg-color-editor__color-input {
3626
+ position: absolute;
3627
+ height: 1px;
3628
+ width: 1px;
3629
+ overflow: hidden;
3630
+ clip: rect(1px 1px 1px 1px);
3631
+ /* IE6, IE7 */
3632
+ clip: rect(1px, 1px, 1px, 1px);
3633
+ left: calc(50%);
3634
+ top: calc(100%);
3635
+ transform: translate(-50%, -50%); }
3636
+
3637
+ .spg-color-editor__color-swatch {
3638
+ border: 1px solid rgba(0, 0, 0, 0.16);
3639
+ border-radius: 3px;
3640
+ width: calc(4.5 * var(--base-unit, 8px));
3641
+ height: calc(3 * var(--base-unit, 8px));
3642
+ margin-left: calc(1.5 * var(--base-unit, 8px)); }
3643
+
3563
3644
  .spg-root-modern {
3564
3645
  width: 100%;
3565
3646
  border-right: 1px solid var(--border, #d6d6d6);
@@ -203,6 +203,10 @@ declare module "localization/english" {
203
203
  expressionInvalid: string;
204
204
  noActionError: string;
205
205
  actionInvalid: string;
206
+ uncompletedRule_title: string;
207
+ uncompletedRule_text: string;
208
+ uncompletedRule_apply: string;
209
+ uncompletedRule_cancel: string;
206
210
  expressionSetup: string;
207
211
  actionsSetup: string;
208
212
  };
@@ -822,6 +826,81 @@ declare module "localization/english" {
822
826
  multiSelect: string;
823
827
  showLabel: string;
824
828
  value: string;
829
+ tabAlign: string;
830
+ description: string;
831
+ logoFit: string;
832
+ pages: string;
833
+ questions: string;
834
+ triggers: string;
835
+ calculatedValues: string;
836
+ surveyId: string;
837
+ surveyPostId: string;
838
+ surveyShowDataSaving: string;
839
+ questionDescriptionLocation: string;
840
+ progressBarType: string;
841
+ showTOC: string;
842
+ tocLocation: string;
843
+ questionTitlePattern: string;
844
+ widthMode: string;
845
+ showBrandInfo: string;
846
+ useDisplayValuesInDynamicTexts: string;
847
+ visibleIf: string;
848
+ titleLocation: string;
849
+ descriptionLocation: string;
850
+ defaultValueExpression: string;
851
+ requiredIf: string;
852
+ validators: string;
853
+ bindings: string;
854
+ renderAs: string;
855
+ attachOriginalItems: string;
856
+ choices: string;
857
+ choicesByUrl: string;
858
+ currency: string;
859
+ cellHint: string;
860
+ isUnique: string;
861
+ showInMultipleColumns: string;
862
+ totalMaximumFractionDigits: string;
863
+ totalMinimumFractionDigits: string;
864
+ columns: string;
865
+ detailElements: string;
866
+ allowAdaptiveActions: string;
867
+ defaultRowValue: string;
868
+ detailPanelShowOnAdding: string;
869
+ choicesLazyLoadEnabled: string;
870
+ choicesLazyLoadPageSize: string;
871
+ inputFieldComponent: string;
872
+ itemComponent: string;
873
+ min: string;
874
+ max: string;
875
+ minValueExpression: string;
876
+ maxValueExpression: string;
877
+ step: string;
878
+ dataList: string;
879
+ itemSize: string;
880
+ elements: string;
881
+ content: string;
882
+ navigationButtonsVisibility: string;
883
+ navigationTitle: string;
884
+ navigationDescription: string;
885
+ longTap: string;
886
+ autoGrow: string;
887
+ acceptCarriageReturn: string;
888
+ displayMode: string;
889
+ rateType: string;
890
+ label: string;
891
+ contentMode: string;
892
+ imageFit: string;
893
+ altText: string;
894
+ height: string;
895
+ penColor: string;
896
+ backgroundColor: string;
897
+ templateElements: string;
898
+ operator: string;
899
+ isVariable: string;
900
+ runExpression: string;
901
+ showCaption: string;
902
+ iconName: string;
903
+ iconSize: string;
825
904
  };
826
905
  };
827
906
  }
@@ -966,6 +1045,7 @@ declare module "creator-settings" {
966
1045
  export interface ICollectionItemAllowOperations {
967
1046
  allowDelete: boolean;
968
1047
  allowEdit: boolean;
1048
+ allowAdd: boolean;
969
1049
  }
970
1050
  export interface ISurveyCreatorOptions {
971
1051
  isMobileView: boolean;
@@ -1297,6 +1377,10 @@ declare module "editorLocalization" {
1297
1377
  expressionInvalid: string;
1298
1378
  noActionError: string;
1299
1379
  actionInvalid: string;
1380
+ uncompletedRule_title: string;
1381
+ uncompletedRule_text: string;
1382
+ uncompletedRule_apply: string;
1383
+ uncompletedRule_cancel: string;
1300
1384
  expressionSetup: string;
1301
1385
  actionsSetup: string;
1302
1386
  };
@@ -1916,6 +2000,81 @@ declare module "editorLocalization" {
1916
2000
  multiSelect: string;
1917
2001
  showLabel: string;
1918
2002
  value: string;
2003
+ tabAlign: string;
2004
+ description: string;
2005
+ logoFit: string;
2006
+ pages: string;
2007
+ questions: string;
2008
+ triggers: string;
2009
+ calculatedValues: string;
2010
+ surveyId: string;
2011
+ surveyPostId: string;
2012
+ surveyShowDataSaving: string;
2013
+ questionDescriptionLocation: string;
2014
+ progressBarType: string;
2015
+ showTOC: string;
2016
+ tocLocation: string;
2017
+ questionTitlePattern: string;
2018
+ widthMode: string;
2019
+ showBrandInfo: string;
2020
+ useDisplayValuesInDynamicTexts: string;
2021
+ visibleIf: string;
2022
+ titleLocation: string;
2023
+ descriptionLocation: string;
2024
+ defaultValueExpression: string;
2025
+ requiredIf: string;
2026
+ validators: string;
2027
+ bindings: string;
2028
+ renderAs: string;
2029
+ attachOriginalItems: string;
2030
+ choices: string;
2031
+ choicesByUrl: string;
2032
+ currency: string;
2033
+ cellHint: string;
2034
+ isUnique: string;
2035
+ showInMultipleColumns: string;
2036
+ totalMaximumFractionDigits: string;
2037
+ totalMinimumFractionDigits: string;
2038
+ columns: string;
2039
+ detailElements: string;
2040
+ allowAdaptiveActions: string;
2041
+ defaultRowValue: string;
2042
+ detailPanelShowOnAdding: string;
2043
+ choicesLazyLoadEnabled: string;
2044
+ choicesLazyLoadPageSize: string;
2045
+ inputFieldComponent: string;
2046
+ itemComponent: string;
2047
+ min: string;
2048
+ max: string;
2049
+ minValueExpression: string;
2050
+ maxValueExpression: string;
2051
+ step: string;
2052
+ dataList: string;
2053
+ itemSize: string;
2054
+ elements: string;
2055
+ content: string;
2056
+ navigationButtonsVisibility: string;
2057
+ navigationTitle: string;
2058
+ navigationDescription: string;
2059
+ longTap: string;
2060
+ autoGrow: string;
2061
+ acceptCarriageReturn: string;
2062
+ displayMode: string;
2063
+ rateType: string;
2064
+ label: string;
2065
+ contentMode: string;
2066
+ imageFit: string;
2067
+ altText: string;
2068
+ height: string;
2069
+ penColor: string;
2070
+ backgroundColor: string;
2071
+ templateElements: string;
2072
+ operator: string;
2073
+ isVariable: string;
2074
+ runExpression: string;
2075
+ showCaption: string;
2076
+ iconName: string;
2077
+ iconSize: string;
1919
2078
  };
1920
2079
  };
1921
2080
  }
@@ -2859,6 +3018,22 @@ declare module "property-grid-theme/property-grid" {
2859
3018
  itemIcon: string;
2860
3019
  itemTitle: string;
2861
3020
  };
3021
+ spinedit: {
3022
+ root: string;
3023
+ control: string;
3024
+ buttonsContainer: string;
3025
+ arrowButton: string;
3026
+ increaseButtonIcon: string;
3027
+ decreaseButtonIcon: string;
3028
+ };
3029
+ color: {
3030
+ root: string;
3031
+ swatch: string;
3032
+ colorInput: string;
3033
+ control: string;
3034
+ colorDropdown: string;
3035
+ colorDrodownIcon: string;
3036
+ };
2862
3037
  };
2863
3038
  }
2864
3039
  declare module "question-editor/definition" {
@@ -5027,6 +5202,7 @@ declare module "property-grid/condition-survey" {
5027
5202
  get textEditor(): QuestionCommentModel;
5028
5203
  get isReady(): boolean;
5029
5204
  errorText: string;
5205
+ isEmpty(): boolean;
5030
5206
  hasErrorInUI(): boolean;
5031
5207
  apply(): boolean;
5032
5208
  setIsFastEntry(showTextEdit: boolean): void;
@@ -5178,6 +5354,7 @@ declare module "components/tabs/logic-item-editor" {
5178
5354
  protected getSurveyJSON(): any;
5179
5355
  protected getSurveyCreationReason(): string;
5180
5356
  resetModified(): void;
5357
+ isEmpty(): boolean;
5181
5358
  apply(): boolean;
5182
5359
  getEditingActions(): Array<SurveyLogicAction>;
5183
5360
  private onUpdateQuestionCssClasses;
@@ -5246,7 +5423,13 @@ declare module "components/tabs/logic-ui" {
5246
5423
  addNewUI(): void;
5247
5424
  toggleExpressionEditorIsFastEntry(): void;
5248
5425
  updateEditableItemIsModifiedState(): void;
5249
- haveUnsavedRules(): boolean;
5426
+ private getUnsavedItems;
5427
+ private getErroredItem;
5428
+ private isErroredItem;
5429
+ private showErroredItem;
5430
+ private saveItem;
5431
+ tryLeaveUI(resultFunc?: (res: boolean) => void): boolean | undefined;
5432
+ protected confirmLeavingOnError(onLeaving: () => void, onStaying: () => void): boolean;
5250
5433
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
5251
5434
  protected onReadOnlyChanged(): void;
5252
5435
  get expressionEditor(): ConditionEditor;
@@ -5255,6 +5438,7 @@ declare module "components/tabs/logic-ui" {
5255
5438
  getLogicItemEditor(item: SurveyLogicItem): LogicItemEditor;
5256
5439
  private updateEditModeLogicItem;
5257
5440
  private getLogicItemUI;
5441
+ private findLogicItemUI;
5258
5442
  get expressionSurvey(): SurveyModel;
5259
5443
  get itemEditorSurvey(): SurveyModel;
5260
5444
  get itemsSurvey(): SurveyModel;
@@ -5263,6 +5447,7 @@ declare module "components/tabs/logic-ui" {
5263
5447
  protected onStartEditing(): void;
5264
5448
  protected onEndEditing(): void;
5265
5449
  protected onEditableItemApply(): void;
5450
+ private doItemApply;
5266
5451
  protected hasErrorInUI(): boolean;
5267
5452
  protected getExpressionText(): string;
5268
5453
  protected getEditingActions(): Array<SurveyLogicAction>;
@@ -5297,7 +5482,10 @@ declare module "components/tabs/logic-plugin" {
5297
5482
  private createFilterTypeTitleUpdater;
5298
5483
  private createFilterQuestionTitleUpdater;
5299
5484
  update(): void;
5485
+ canDeactivateAsync(onSuccess: () => void): void;
5300
5486
  deactivate(): boolean;
5487
+ dispose(): void;
5488
+ private disposeObjs;
5301
5489
  createActions(): Action[];
5302
5490
  private get showAllQuestionsText();
5303
5491
  private get showAllActionTypesText();
@@ -5859,6 +6047,7 @@ declare module "creator-base" {
5859
6047
  activate: () => void;
5860
6048
  update?: () => void;
5861
6049
  deactivate?: () => boolean;
6050
+ canDeactivateAsync?: (onSuccess: () => void) => void;
5862
6051
  dispose?: () => void;
5863
6052
  onDesignerSurveyPropertyChanged?: (obj: Base, propName: string) => void;
5864
6053
  model: Base;
@@ -6229,6 +6418,7 @@ declare module "creator-base" {
6229
6418
  *- options.collection a collection where a target item is located. It is can be Columns in Matrices or Choices in Dropdown question and so on.
6230
6419
  *- options.item a target collection item
6231
6420
  *- options.allowDelete a boolean value. It is `true` by default. Set it false to prevent an item from being removed from the collection
6421
+ *- options.allowAdd a boolean value. It is `true` by default. Set it false to prevent an item from being added to the collection
6232
6422
  *- options.allowEdit a boolean value. It is `true` by default. Set it `false` to disable editing.
6233
6423
  */
6234
6424
  onCollectionItemAllowOperations: CreatorEvent;
@@ -6760,6 +6950,7 @@ declare module "creator-base" {
6760
6950
  * @param viewName name of new active view (tab). The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
6761
6951
  */
6762
6952
  makeNewViewActive(viewName: string): boolean;
6953
+ private switchViewType;
6763
6954
  private canSwitchViewType;
6764
6955
  private activatePlugin;
6765
6956
  private get currentPlugin();
@@ -7242,6 +7433,7 @@ declare module "components/page-navigator/page-navigator" {
7242
7433
  private buildItems;
7243
7434
  private patchContainerOffset;
7244
7435
  private createActionBarItem;
7436
+ scrollToPage(page: PageModel): void;
7245
7437
  protected createActionBarCore(item: IAction): Action;
7246
7438
  togglePageSelector: (event?: any) => void;
7247
7439
  get pageSelectorCaption(): string;
@@ -7250,6 +7442,8 @@ declare module "components/page-navigator/page-navigator" {
7250
7442
  stopItemsContainerHeightObserver(): void;
7251
7443
  visibleItemsStartIndex: number;
7252
7444
  visibleItemsCount: number;
7445
+ private _scrollableContainer;
7446
+ setScrollableContainer(scrollableContainer: HTMLDivElement | any): void;
7253
7447
  private _itemsContainer;
7254
7448
  setItemsContainer(itemsContainer: HTMLDivElement | any): void;
7255
7449
  static PAGE_NAVIGATION_MENU_ITEM_HEIGHT: number;
@@ -7326,6 +7520,7 @@ declare module "components/question-image" {
7326
7520
  export class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
7327
7521
  questionRoot: HTMLElement;
7328
7522
  constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: HTMLElement);
7523
+ isUploading: any;
7329
7524
  chooseFile(model: QuestionImageAdornerViewModel): void;
7330
7525
  }
7331
7526
  }
@@ -7340,6 +7535,7 @@ declare module "components/image-item-value" {
7340
7535
  itemsRoot: HTMLElement;
7341
7536
  private isChoosingNewFile;
7342
7537
  isFileDragging: boolean;
7538
+ isUploading: any;
7343
7539
  constructor(creator: CreatorBase, question: QuestionSelectBase, item: ImageItemValue, templateData: any, itemsRoot: HTMLElement);
7344
7540
  getRootCss(): string;
7345
7541
  getIsNewItemSingle(): boolean;
@@ -7428,6 +7624,7 @@ declare module "components/header/logo-image" {
7428
7624
  constructor(creator: CreatorBase, root: HTMLDivElement);
7429
7625
  get allowEdit(): boolean;
7430
7626
  get containerCss(): string;
7627
+ isUploading: any;
7431
7628
  get survey(): SurveyModel;
7432
7629
  private uploadFile;
7433
7630
  chooseFile(model: LogoImageViewModel): void;
@@ -7435,6 +7632,50 @@ declare module "components/header/logo-image" {
7435
7632
  get chooseLogoPlaceholder(): string;
7436
7633
  }
7437
7634
  }
7635
+ declare module "custom-questions/question-spin-editor" {
7636
+ import { QuestionTextModel } from "survey-core";
7637
+ export class QuestionSpinEditorModel extends QuestionTextModel {
7638
+ unit: string;
7639
+ private _showUnitsInEditor;
7640
+ private parseValue;
7641
+ private changeValue;
7642
+ private get showUnitsInEditor();
7643
+ private correctValue;
7644
+ protected setNewValue(newValue: string | number): void;
7645
+ get renderedValue(): string;
7646
+ private increase;
7647
+ decrease(): void;
7648
+ private increaseTimer;
7649
+ private decreaseTimer;
7650
+ onUpButtonMouseDown: () => void;
7651
+ onDownButtonMouseDown: () => void;
7652
+ onButtonMouseUp: () => void;
7653
+ onKeyDown: (event: KeyboardEvent) => void;
7654
+ onInputKeyDown: (event: KeyboardEvent) => void;
7655
+ onBeforeInput(event: InputEvent): void;
7656
+ onFocus: (event: Event) => void;
7657
+ onBlur: (event: Event) => void;
7658
+ getType(): string;
7659
+ get isInputTextUpdate(): boolean;
7660
+ }
7661
+ }
7662
+ declare module "custom-questions/question-color" {
7663
+ import { QuestionTextModel } from "survey-core";
7664
+ export class QuestionColorModel extends QuestionTextModel {
7665
+ unit: string;
7666
+ private getCorrectedValue;
7667
+ protected setNewValue(newValue: string): void;
7668
+ onBeforeInput(event: InputEvent): void;
7669
+ onColorInputChange(event: Event): void;
7670
+ getType(): string;
7671
+ _renderedValue: string;
7672
+ get renderedValue(): string;
7673
+ getSwatchStyle(): {
7674
+ [index: string]: string;
7675
+ };
7676
+ get isInputTextUpdate(): boolean;
7677
+ }
7678
+ }
7438
7679
  declare module "property-grid/condition" {
7439
7680
  import { Base, JsonObjectProperty, Question } from "survey-core";
7440
7681
  import { IPropertyEditorSetup, PropertyGridEditor } from "property-grid/index";
@@ -7776,6 +8017,8 @@ declare module "entries/index" {
7776
8017
  export * from "components/link-value";
7777
8018
  export * from "editorLocalization";
7778
8019
  export * from "json5";
8020
+ export * from "custom-questions/question-spin-editor";
8021
+ export * from "custom-questions/question-color";
7779
8022
  export * from "property-grid/index";
7780
8023
  export * from "property-grid/condition";
7781
8024
  export * from "property-grid/matrices";