survey-react 1.9.5 → 1.9.9
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/modern.css +1110 -592
- package/modern.min.css +2 -3
- package/package.json +1 -1
- package/survey.css +744 -511
- package/survey.min.css +2 -3
- package/survey.react.d.ts +206 -89
- package/survey.react.js +1211 -4494
- package/survey.react.min.js +3 -10
package/survey.react.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Type definition for Survey JavaScript library for React v1.9.
|
2
|
+
* Type definition for Survey JavaScript library for React v1.9.9
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -205,6 +205,7 @@ export interface IConditionObject {
|
|
205
205
|
name: string;
|
206
206
|
text: string;
|
207
207
|
question: Question;
|
208
|
+
context?: Question;
|
208
209
|
}
|
209
210
|
export interface IMatrixColumnOwner extends ILocalizableOwner {
|
210
211
|
getRequiredText(): string;
|
@@ -331,6 +332,8 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
331
332
|
afterRenderPanel(panel: IElement, htmlElement: any): any;
|
332
333
|
afterRenderPage(htmlElement: any): any;
|
333
334
|
getQuestionByValueNameFromArray(valueName: string, name: string, index: number): IQuestion;
|
335
|
+
canChangeChoiceItemsVisibility(): boolean;
|
336
|
+
getChoiceItemVisibility(question: IQuestion, item: any, val: boolean): boolean;
|
334
337
|
matrixRowAdded(question: IQuestion, row: any): any;
|
335
338
|
matrixBeforeRowAdded(options: any): any;
|
336
339
|
matrixRowRemoved(question: IQuestion, rowIndex: number, row: any): any;
|
@@ -527,6 +530,7 @@ export interface ISurveyHeaderProps {
|
|
527
530
|
}
|
528
531
|
export interface IMAtrixRowProps {
|
529
532
|
model: any;
|
533
|
+
parentMatrix: any;
|
530
534
|
}
|
531
535
|
export interface IListItemProps {
|
532
536
|
model: any;
|
@@ -737,7 +741,6 @@ export declare class ButtonGroupItemModel {
|
|
737
741
|
onChange(): void;
|
738
742
|
}
|
739
743
|
export declare class ComponentCollection {
|
740
|
-
constructor();
|
741
744
|
static Instance: ComponentCollection;
|
742
745
|
customQuestionValues: any;
|
743
746
|
onCreateComposite: any;
|
@@ -777,7 +780,6 @@ export declare class ComputedUpdater<T = any> {
|
|
777
780
|
dispose(): any;
|
778
781
|
}
|
779
782
|
export declare class ConditionsParser {
|
780
|
-
constructor();
|
781
783
|
conditionError: ConditionsParserError;
|
782
784
|
static parserCache: any;
|
783
785
|
createCondition(text: string): Operand;
|
@@ -790,14 +792,12 @@ export declare class ConditionsParserError {
|
|
790
792
|
code: string;
|
791
793
|
}
|
792
794
|
export declare class CssClassBuilder {
|
793
|
-
constructor();
|
794
795
|
classes: any;
|
795
796
|
isEmpty(): boolean;
|
796
797
|
append(value: string, condition?: boolean): CssClassBuilder;
|
797
798
|
toString(): string;
|
798
799
|
}
|
799
800
|
export declare class CustomPropertiesCollection {
|
800
|
-
constructor();
|
801
801
|
static properties: IObject;
|
802
802
|
static parentClasses: any;
|
803
803
|
static addProperty(className: string, property: any): void;
|
@@ -807,7 +807,6 @@ export declare class CustomPropertiesCollection {
|
|
807
807
|
static createProperties(obj: any): void;
|
808
808
|
}
|
809
809
|
export declare class CustomWidgetCollection {
|
810
|
-
constructor();
|
811
810
|
static Instance: CustomWidgetCollection;
|
812
811
|
widgetsValues: any;
|
813
812
|
widgetsActivatedBy: any;
|
@@ -837,7 +836,6 @@ export declare class DefaultTitle extends React.Component<any, any> {
|
|
837
836
|
componentDidMount(): void;
|
838
837
|
}
|
839
838
|
export declare class DefaultTitleModel {
|
840
|
-
constructor();
|
841
839
|
static getIconCss(cssClasses: any, isCollapsed: boolean): string;
|
842
840
|
}
|
843
841
|
export declare class Dependencies {
|
@@ -860,8 +858,20 @@ export declare class DragDropInfo {
|
|
860
858
|
isBottom: boolean;
|
861
859
|
isEdge: boolean;
|
862
860
|
}
|
861
|
+
export declare class DragOrClickHelper {
|
862
|
+
constructor(dragHandler: any);
|
863
|
+
pointerDownEvent: any;
|
864
|
+
currentTarget: any;
|
865
|
+
startX: any;
|
866
|
+
startY: any;
|
867
|
+
currentX: any;
|
868
|
+
currentY: any;
|
869
|
+
itemModel: any;
|
870
|
+
onPointerDown(pointerDownEvent: any, itemModel?: any): void;
|
871
|
+
onPointerUp: any;
|
872
|
+
tryToStartDrag: any;
|
873
|
+
}
|
863
874
|
export declare class ElementFactory {
|
864
|
-
constructor();
|
865
875
|
static Instance: ElementFactory;
|
866
876
|
creatorHash: any;
|
867
877
|
registerElement(elementType: string, elementCreator: any): void;
|
@@ -871,7 +881,6 @@ export declare class ElementFactory {
|
|
871
881
|
createElement(elementType: string, name: string): IElement;
|
872
882
|
}
|
873
883
|
export declare class Event<T, Options> {
|
874
|
-
constructor();
|
875
884
|
onCallbacksChanged: any;
|
876
885
|
protected callbacks: any;
|
877
886
|
get isEmpty(): boolean;
|
@@ -900,7 +909,6 @@ export declare class ExpressionRunnerBase {
|
|
900
909
|
protected doOnComplete(res: any): void;
|
901
910
|
}
|
902
911
|
export declare class FunctionFactory {
|
903
|
-
constructor();
|
904
912
|
static Instance: FunctionFactory;
|
905
913
|
functionHash: any;
|
906
914
|
isAsyncHash: any;
|
@@ -913,7 +921,6 @@ export declare class FunctionFactory {
|
|
913
921
|
run(name: string, params: any, properties?: any): any;
|
914
922
|
}
|
915
923
|
export declare class Helpers {
|
916
|
-
constructor();
|
917
924
|
/*
|
918
925
|
* A static methods that returns true if a value undefined, null, empty string or empty array.
|
919
926
|
*/
|
@@ -945,7 +952,6 @@ export declare class JsonError {
|
|
945
952
|
* The metadata object. It contains object properties' runtime information and allows you to modify it.
|
946
953
|
*/
|
947
954
|
export declare class JsonMetadata {
|
948
|
-
constructor();
|
949
955
|
classes: any;
|
950
956
|
alternativeNames: any;
|
951
957
|
childrenClasses: any;
|
@@ -990,7 +996,6 @@ export declare class JsonMetadataClass {
|
|
990
996
|
createProperty(propInfo: any): JsonObjectProperty;
|
991
997
|
}
|
992
998
|
export declare class JsonObject {
|
993
|
-
constructor();
|
994
999
|
static typePropertyName: string;
|
995
1000
|
static positionPropertyName: string;
|
996
1001
|
static metaDataValue: JsonMetadata;
|
@@ -1041,7 +1046,6 @@ export declare class MatrixDropdownCell {
|
|
1041
1046
|
runCondition(values: any, properties: any): void;
|
1042
1047
|
}
|
1043
1048
|
export declare class Operand {
|
1044
|
-
constructor();
|
1045
1049
|
toString(func?: any): string;
|
1046
1050
|
getType(): string;
|
1047
1051
|
evaluate(processValue?: ProcessValue): any;
|
@@ -1054,19 +1058,17 @@ export declare class Operand {
|
|
1054
1058
|
protected areOperatorsEquals(op1: Operand, op2: Operand): boolean;
|
1055
1059
|
}
|
1056
1060
|
export declare class OperandMaker {
|
1057
|
-
constructor();
|
1058
1061
|
static unaryFunctions: any;
|
1059
1062
|
static binaryFunctions: any;
|
1060
1063
|
static signs: any;
|
1061
1064
|
}
|
1062
1065
|
export declare class PopupUtils {
|
1063
|
-
constructor();
|
1064
1066
|
static calculatePosition(targetRect: any, height: number, width: number, verticalPosition: any, horizontalPosition: any, showPointer: boolean): INumberPosition;
|
1065
1067
|
static updateVerticalDimensions(top: number, height: number, windowHeight: number): any;
|
1066
1068
|
static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: any): any;
|
1067
1069
|
static updateVerticalPosition(targetRect: any, height: number, verticalPosition: any, showPointer: boolean, windowHeight: number): any;
|
1068
1070
|
static calculatePopupDirection(verticalPosition: any, horizontalPosition: any): string;
|
1069
|
-
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any): INumberPosition;
|
1071
|
+
static calculatePointerTarget(targetRect: any, top: number, left: number, verticalPosition: any, horizontalPosition: any, width?: number, margins?: number): INumberPosition;
|
1070
1072
|
}
|
1071
1073
|
export declare class ProcessValue {
|
1072
1074
|
constructor();
|
@@ -1098,7 +1100,6 @@ export declare class QuestionCustomWidget {
|
|
1098
1100
|
get pdfRender(): any;
|
1099
1101
|
}
|
1100
1102
|
export declare class QuestionFactory {
|
1101
|
-
constructor();
|
1102
1103
|
static Instance: QuestionFactory;
|
1103
1104
|
static get DefaultChoices(): any;
|
1104
1105
|
static get DefaultColums(): any;
|
@@ -1152,7 +1153,6 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
1152
1153
|
calculateFinalClassName(matrixCssClasses: any): string;
|
1153
1154
|
}
|
1154
1155
|
export declare class ReactElementFactory {
|
1155
|
-
constructor();
|
1156
1156
|
static Instance: ReactElementFactory;
|
1157
1157
|
creatorHash: any;
|
1158
1158
|
registerElement(elementType: string, elementCreator: any): void;
|
@@ -1161,7 +1161,6 @@ export declare class ReactElementFactory {
|
|
1161
1161
|
createElement(elementType: string, params: any): any;
|
1162
1162
|
}
|
1163
1163
|
export declare class ReactQuestionFactory {
|
1164
|
-
constructor();
|
1165
1164
|
static Instance: ReactQuestionFactory;
|
1166
1165
|
creatorHash: any;
|
1167
1166
|
registerQuestion(questionType: string, questionCreator: any): void;
|
@@ -1169,7 +1168,6 @@ export declare class ReactQuestionFactory {
|
|
1169
1168
|
createQuestion(questionType: string, params: any): any;
|
1170
1169
|
}
|
1171
1170
|
export declare class RendererFactory {
|
1172
|
-
constructor();
|
1173
1171
|
static Instance: RendererFactory;
|
1174
1172
|
renderersHash: any;
|
1175
1173
|
unregisterRenderer(questionType: string, rendererAs: string): void;
|
@@ -1284,12 +1282,10 @@ export declare class SurveyProgressButtonsModel {
|
|
1284
1282
|
clickListElement(index: number): void;
|
1285
1283
|
}
|
1286
1284
|
export declare class SurveyProgressModel {
|
1287
|
-
constructor();
|
1288
1285
|
static getProgressTextInBarCss(css: any): string;
|
1289
1286
|
static getProgressTextUnderBarCss(css: any): string;
|
1290
1287
|
}
|
1291
1288
|
export declare class SurveyTimer {
|
1292
|
-
constructor();
|
1293
1289
|
static instanceValue: SurveyTimer;
|
1294
1290
|
static get instance(): SurveyTimer;
|
1295
1291
|
listenerCounter: number;
|
@@ -1315,6 +1311,17 @@ export declare class SvgIcon extends React.Component<any, any> {
|
|
1315
1311
|
render(): any;
|
1316
1312
|
componentDidMount(): void;
|
1317
1313
|
}
|
1314
|
+
export declare class SvgIconData {
|
1315
|
+
}
|
1316
|
+
export declare class SvgIconRegistry {
|
1317
|
+
icons: SvgIconData;
|
1318
|
+
iconPrefix: string;
|
1319
|
+
registerIconFromSymbol(iconId: string, iconSymbolSvg: string): void;
|
1320
|
+
registerIconFromSvgViaElement(iconId: string, iconSvg: string, iconPrefix?: string): void;
|
1321
|
+
registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
|
1322
|
+
iconsRenderedHtml(): any;
|
1323
|
+
renderIcons(): void;
|
1324
|
+
}
|
1318
1325
|
export declare class SyntaxError {
|
1319
1326
|
constructor(message: string, expected: any, found: string, location: IFileRange);
|
1320
1327
|
static buildMessage(expected: any, found: string): string;
|
@@ -1325,7 +1332,6 @@ export declare class SyntaxError {
|
|
1325
1332
|
name: string;
|
1326
1333
|
}
|
1327
1334
|
export declare class TextPreProcessor {
|
1328
|
-
constructor();
|
1329
1335
|
_unObservableValues: any;
|
1330
1336
|
onProcess: any;
|
1331
1337
|
process(text: string, returnDisplayValue?: boolean, doEncoding?: boolean): string;
|
@@ -1333,7 +1339,6 @@ export declare class TextPreProcessor {
|
|
1333
1339
|
get hasAllValuesOnLastRun(): boolean;
|
1334
1340
|
}
|
1335
1341
|
export declare class TextPreProcessorItem {
|
1336
|
-
constructor();
|
1337
1342
|
start: number;
|
1338
1343
|
end: number;
|
1339
1344
|
}
|
@@ -1374,13 +1379,11 @@ export declare class ValidatorResult {
|
|
1374
1379
|
error: SurveyError;
|
1375
1380
|
}
|
1376
1381
|
export declare class ValidatorRunner {
|
1377
|
-
constructor();
|
1378
1382
|
asyncValidators: any;
|
1379
1383
|
onAsyncCompleted: any;
|
1380
1384
|
run(owner: IValidatorOwner): Array<SurveyError>;
|
1381
1385
|
}
|
1382
1386
|
export declare class XmlParser {
|
1383
|
-
constructor();
|
1384
1387
|
parser: any;
|
1385
1388
|
assignValue(target: any, name: string, value: any): void;
|
1386
1389
|
xml2Json(xmlNode: any, result: any): void;
|
@@ -1428,19 +1431,22 @@ export declare class Action extends Base implements IAction {
|
|
1428
1431
|
mode: "popup" | "large" | "small";
|
1429
1432
|
disableTabStop: boolean;
|
1430
1433
|
disableShrink: boolean;
|
1434
|
+
cssClassesValue: any;
|
1435
|
+
get cssClasses(): any;
|
1431
1436
|
get disabled(): boolean;
|
1432
1437
|
get hasTitle(): boolean;
|
1433
1438
|
get isVisible(): boolean;
|
1434
1439
|
get canShrink(): boolean;
|
1435
1440
|
getActionRootCss(): string;
|
1441
|
+
getActionBarItemTitleCss(): string;
|
1436
1442
|
getActionBarItemCss(): string;
|
1437
|
-
getActionBarItemActiveCss(): string;
|
1438
1443
|
minDimension: number;
|
1439
1444
|
maxDimension: number;
|
1440
1445
|
}
|
1441
1446
|
export declare class ActionContainer<T extends Action = Action> extends Base {
|
1442
1447
|
constructor();
|
1443
1448
|
actions: any;
|
1449
|
+
cssClassesValue: any;
|
1444
1450
|
protected getRenderedActions(): Array<T>;
|
1445
1451
|
updateCallback: any;
|
1446
1452
|
containerCss: string;
|
@@ -1451,7 +1457,8 @@ export declare class ActionContainer<T extends Action = Action> extends Base {
|
|
1451
1457
|
get hasActions(): boolean;
|
1452
1458
|
get renderedActions(): any;
|
1453
1459
|
get visibleActions(): any;
|
1454
|
-
|
1460
|
+
getRootCss(): string;
|
1461
|
+
get cssClasses(): any;
|
1455
1462
|
setItems(items: any, sortByVisibleIndex?: boolean): void;
|
1456
1463
|
initResponsivityManager(container: any): void;
|
1457
1464
|
resetResponsivityManager(): void;
|
@@ -1651,7 +1658,7 @@ export declare class DragDropCore<T> extends Base {
|
|
1651
1658
|
protected draggedElementShortcut: any;
|
1652
1659
|
scrollIntervalId: number;
|
1653
1660
|
protected allowDropHere: boolean;
|
1654
|
-
startDrag(event: any, draggedElement: any, parentElement?: any, draggedElementNode?: any): void;
|
1661
|
+
startDrag(event: any, draggedElement: any, parentElement?: any, draggedElementNode?: any, preventSaveTargetNode?: boolean): void;
|
1655
1662
|
timeoutID: any;
|
1656
1663
|
startX: number;
|
1657
1664
|
startY: number;
|
@@ -1687,7 +1694,6 @@ export declare class DragDropCore<T> extends Base {
|
|
1687
1694
|
protected doClear(): void;
|
1688
1695
|
}
|
1689
1696
|
export declare class EventBase<T> extends Event<any, any> {
|
1690
|
-
constructor();
|
1691
1697
|
}
|
1692
1698
|
export declare class ExceedSizeError extends SurveyError {
|
1693
1699
|
constructor(maxSize: number, errorOwner?: ISurveyErrorOwner);
|
@@ -1749,12 +1755,15 @@ export declare class ItemValue extends Base implements ILocalizableOwner, IShort
|
|
1749
1755
|
static set Separator(val: string);
|
1750
1756
|
static createArray(locOwner: ILocalizableOwner): Array<ItemValue>;
|
1751
1757
|
static setupArray(items: any, locOwner: ILocalizableOwner): void;
|
1752
|
-
|
1758
|
+
/*
|
1759
|
+
* Resets the input array and fills it with values from the values array
|
1760
|
+
*/
|
1761
|
+
static setData(items: any, values: any, type?: string): void;
|
1753
1762
|
static getData(items: any): any;
|
1754
1763
|
static getItemByValue(items: any, val: any): ItemValue;
|
1755
1764
|
static getTextOrHtmlByValue(items: any, val: any): string;
|
1756
1765
|
static locStrsChanged(items: any): void;
|
1757
|
-
static runConditionsForItems(items: any, filteredItems: any, runner: ConditionRunner, values: any, properties: any, useItemExpression?: boolean): boolean;
|
1766
|
+
static runConditionsForItems(items: any, filteredItems: any, runner: ConditionRunner, values: any, properties: any, useItemExpression?: boolean, onItemCallBack?: any): boolean;
|
1758
1767
|
static runEnabledConditionsForItems(items: any, runner: ConditionRunner, values: any, properties: any, onItemCallBack?: any): boolean;
|
1759
1768
|
ownerPropertyName: string;
|
1760
1769
|
locTextValue: LocalizableString;
|
@@ -1912,7 +1921,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
|
|
1912
1921
|
get model(): any;
|
1913
1922
|
handleKeydown: any;
|
1914
1923
|
getStateElement(): any;
|
1915
|
-
|
1924
|
+
renderElement(): any;
|
1916
1925
|
renderItems(): any;
|
1917
1926
|
searchElementContent(): any;
|
1918
1927
|
}
|
@@ -2185,7 +2194,9 @@ export declare class MatrixDropdownTotalCell extends MatrixDropdownCell {
|
|
2185
2194
|
export declare class MatrixRow extends SurveyElementBase<IMAtrixRowProps, any> {
|
2186
2195
|
constructor(props: IMAtrixRowProps);
|
2187
2196
|
get model(): any;
|
2197
|
+
get parentMatrix(): any;
|
2188
2198
|
protected getStateElement(): any;
|
2199
|
+
protected onPointerDownHandler: any;
|
2189
2200
|
render(): any;
|
2190
2201
|
}
|
2191
2202
|
export declare class MatrixRowModel extends Base {
|
@@ -2402,7 +2413,7 @@ export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
|
2402
2413
|
constructor(cssClasses: any, isDetailRow?: boolean);
|
2403
2414
|
cssClasses: any;
|
2404
2415
|
isDetailRow: boolean;
|
2405
|
-
|
2416
|
+
isGhostRow: boolean;
|
2406
2417
|
isAdditionalClasses: boolean;
|
2407
2418
|
row: MatrixDropdownRowModelBase;
|
2408
2419
|
static counter: number;
|
@@ -2421,6 +2432,8 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
2421
2432
|
hasRemoveRowsValue: boolean;
|
2422
2433
|
rowsActions: any;
|
2423
2434
|
cssClasses: any;
|
2435
|
+
renderedRowsChangedCallback: any;
|
2436
|
+
rows: any;
|
2424
2437
|
get showTable(): boolean;
|
2425
2438
|
get showHeader(): boolean;
|
2426
2439
|
get showAddRowOnTop(): boolean;
|
@@ -2431,7 +2444,6 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
2431
2444
|
isRequireReset(): boolean;
|
2432
2445
|
get headerRow(): QuestionMatrixDropdownRenderedRow;
|
2433
2446
|
get footerRow(): QuestionMatrixDropdownRenderedRow;
|
2434
|
-
get rows(): any;
|
2435
2447
|
protected build(): void;
|
2436
2448
|
updateShowTableAndAddRow(): void;
|
2437
2449
|
onAddedRow(): void;
|
@@ -2543,6 +2555,8 @@ export declare class Survey extends SurveyElementBase<any, any> implements ISurv
|
|
2543
2555
|
static get cssType(): string;
|
2544
2556
|
static set cssType(val: string);
|
2545
2557
|
protected survey: ReactSurveyModel;
|
2558
|
+
rootNodeId: string;
|
2559
|
+
rootNodeClassName: string;
|
2546
2560
|
protected getStateElement(): Base;
|
2547
2561
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
2548
2562
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
@@ -2626,8 +2640,10 @@ export declare class SurveyElementCore extends Base implements ILocalizableOwner
|
|
2626
2640
|
* Question, Panel and Page description. It renders under element title by using smaller font. Unlike the question title, description can be empty.
|
2627
2641
|
* Please note, this property is hidden for questions without input, for example html question.
|
2628
2642
|
*/
|
2643
|
+
hasDescription: boolean;
|
2629
2644
|
get description(): string;
|
2630
2645
|
set description(val: string);
|
2646
|
+
updateDescriptionVisibility(newDescription: any): void;
|
2631
2647
|
get locDescription(): LocalizableString;
|
2632
2648
|
get titleTagName(): string;
|
2633
2649
|
protected getDefaultTitleTagName(): string;
|
@@ -2967,12 +2983,16 @@ export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
|
|
2967
2983
|
export declare class DragDropMatrixRows extends DragDropCore<QuestionMatrixDynamicModel> {
|
2968
2984
|
constructor(surveyValue?: ISurvey, creator?: any);
|
2969
2985
|
protected get draggedElementType(): string;
|
2970
|
-
protected
|
2986
|
+
protected createDraggedElementShortcut(text: string, draggedElementNode: any, event: any): any;
|
2987
|
+
fromIndex: number;
|
2988
|
+
toIndex: number;
|
2971
2989
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: any): MatrixDropdownRowModelBase;
|
2972
2990
|
protected isDropTargetValid(dropTarget: any): boolean;
|
2973
2991
|
protected findDropTargetNodeByDragOverNode(dragOverNode: any): any;
|
2974
2992
|
protected calculateIsBottom(clientY: number): boolean;
|
2993
|
+
protected afterDragOver(dropTargetNode: any): void;
|
2975
2994
|
protected doDrop: any;
|
2995
|
+
protected doClear(): void;
|
2976
2996
|
}
|
2977
2997
|
export declare class DragDropSurveyElements extends DragDropCore<any> {
|
2978
2998
|
constructor(surveyValue?: ISurvey, creator?: any);
|
@@ -3122,6 +3142,7 @@ export declare class MatrixDropdownTotalRowModel extends MatrixDropdownRowModelB
|
|
3122
3142
|
export declare class MatrixDynamicRowModel extends MatrixDropdownRowModelBase implements IShortcutText {
|
3123
3143
|
constructor(index: number, data: IMatrixDropdownData, value: any);
|
3124
3144
|
index: number;
|
3145
|
+
dragOrClickHelper: DragOrClickHelper;
|
3125
3146
|
get rowName(): string;
|
3126
3147
|
get shortcutText(): string;
|
3127
3148
|
}
|
@@ -3206,7 +3227,6 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3206
3227
|
surveyValue: ISurvey;
|
3207
3228
|
textProcessorValue: ITextProcessor;
|
3208
3229
|
selectedElementInDesignValue: SurveyElement;
|
3209
|
-
expandAction: Action;
|
3210
3230
|
dragTypeOverMe: DragTypeOverMeEnum;
|
3211
3231
|
isDragMe: boolean;
|
3212
3232
|
readOnlyChangedCallback: any;
|
@@ -3257,6 +3277,7 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
|
|
3257
3277
|
get titleAriaExpanded(): boolean;
|
3258
3278
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
3259
3279
|
protected get surveyImpl(): ISurveyImpl;
|
3280
|
+
__setData(data: ISurveyData): void;
|
3260
3281
|
get data(): ISurveyData;
|
3261
3282
|
/*
|
3262
3283
|
* Returns the survey object.
|
@@ -3843,6 +3864,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
3843
3864
|
*/
|
3844
3865
|
onFocusInPanel: EventBase<SurveyModel>;
|
3845
3866
|
/*
|
3867
|
+
* You can use this event to decide whether show or hide choice item in checkbox, dropdown and radiogroup like questions
|
3868
|
+
* <br/> `sender` - the survey object that fires the event
|
3869
|
+
* <br/> `options.question` - a question that contains choices.
|
3870
|
+
* <br/> `options.item` - an item of the question.
|
3871
|
+
*/
|
3872
|
+
onShowingChoiceItem: EventBase<SurveyModel>;
|
3873
|
+
/*
|
3846
3874
|
* The event is fired on adding a new row in Matrix Dynamic question.
|
3847
3875
|
* <br/> `sender` - the survey object that fires the event
|
3848
3876
|
* <br/> `options.question` - a matrix question.
|
@@ -4078,6 +4106,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4078
4106
|
get cssNavigationPrev(): string;
|
4079
4107
|
get cssNavigationStart(): string;
|
4080
4108
|
get cssNavigationNext(): string;
|
4109
|
+
get bodyCss(): string;
|
4081
4110
|
get completedCss(): string;
|
4082
4111
|
lazyRenderingValue: boolean;
|
4083
4112
|
/*
|
@@ -4875,6 +4904,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4875
4904
|
afterRenderPanel(panel: IElement, htmlElement: any): void;
|
4876
4905
|
whenQuestionFocusIn(question: IQuestion): void;
|
4877
4906
|
whenPanelFocusIn(panel: IPanel): void;
|
4907
|
+
canChangeChoiceItemsVisibility(): boolean;
|
4908
|
+
getChoiceItemVisibility(question: IQuestion, item: any, val: boolean): boolean;
|
4878
4909
|
matrixBeforeRowAdded(options: any): void;
|
4879
4910
|
matrixRowAdded(question: IQuestion, row: any): void;
|
4880
4911
|
getQuestionByValueNameFromArray(valueName: string, name: string, index: number): IQuestion;
|
@@ -4982,6 +5013,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
4982
5013
|
protected questionOnValueChanging(valueName: string, newValue: any): any;
|
4983
5014
|
protected updateQuestionValue(valueName: string, newValue: any): void;
|
4984
5015
|
protected notifyQuestionOnValueChanged(valueName: string, newValue: any): void;
|
5016
|
+
isRunningElementsBindings: boolean;
|
4985
5017
|
isTriggerIsRunning: boolean;
|
4986
5018
|
triggerValues: any;
|
4987
5019
|
triggerKeys: any;
|
@@ -5349,7 +5381,6 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
|
|
5349
5381
|
}
|
5350
5382
|
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
5351
5383
|
constructor(props: any);
|
5352
|
-
onPointerDownHandler(event: any): void;
|
5353
5384
|
protected renderElement(): any;
|
5354
5385
|
}
|
5355
5386
|
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|
@@ -5567,7 +5598,6 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
|
|
5567
5598
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
5568
5599
|
endLoadingFromJson(): void;
|
5569
5600
|
get hasTitle(): boolean;
|
5570
|
-
get hasDescription(): boolean;
|
5571
5601
|
protected canShowTitle(): boolean;
|
5572
5602
|
get _showDescription(): boolean;
|
5573
5603
|
localeChanged(): void;
|
@@ -6121,6 +6151,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6121
6151
|
*/
|
6122
6152
|
get enableIf(): string;
|
6123
6153
|
set enableIf(val: string);
|
6154
|
+
surveyChoiceItemVisibilityChange(): void;
|
6124
6155
|
/*
|
6125
6156
|
* Run visibleIf and enableIf expressions. If visibleIf or/and enabledIf are not empty, then the results of performing the expression (true or false) set to the visible/readOnly properties.
|
6126
6157
|
*/
|
@@ -6155,6 +6186,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6155
6186
|
*/
|
6156
6187
|
get isParentVisible(): boolean;
|
6157
6188
|
clearValueIfInvisible(reason?: string): void;
|
6189
|
+
protected clearValueIfInvisibleCore(): void;
|
6158
6190
|
/*
|
6159
6191
|
* Gets or sets a value that specifies how invisible question clears the value. By default the behavior is define by Survey "clearInvisibleValues" property.
|
6160
6192
|
*
|
@@ -6175,15 +6207,28 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
|
|
6175
6207
|
protected getDisplayValueCore(keyAsText: boolean, value: any): any;
|
6176
6208
|
protected getDisplayValueEmpty(): string;
|
6177
6209
|
/*
|
6178
|
-
*
|
6179
|
-
*
|
6210
|
+
* A default value for the question. Ignored for question types that cannot have a [value](https://surveyjs.io/Documentation/Library?id=Question#value) (for example, HTML).
|
6211
|
+
*
|
6212
|
+
* The default value is used as a question value in the following cases:
|
6213
|
+
*
|
6214
|
+
* - While the survey is being loaded from JSON.
|
6215
|
+
* - The question is just added to the survey and does not yet have an answer.
|
6216
|
+
* - The respondent left the answer empty.
|
6180
6217
|
*/
|
6181
6218
|
get defaultValue(): any;
|
6182
6219
|
set defaultValue(val: any);
|
6183
6220
|
/*
|
6184
|
-
*
|
6185
|
-
*
|
6186
|
-
*
|
6221
|
+
* An expression used to calculate the [defaultValue](https://surveyjs.io/Documentation/Library?id=Question#defaultValue).
|
6222
|
+
*
|
6223
|
+
* This expression applies until the question [value](https://surveyjs.io/Documentation/Library?id=Question#value) is specified by an end user or programmatically.
|
6224
|
+
*
|
6225
|
+
* An expression can reference other questions as follows:
|
6226
|
+
*
|
6227
|
+
* - `{other_question_name}`
|
6228
|
+
* - `{panel.other_question_name}` (to access questions inside the same dynamic panel)
|
6229
|
+
* - `{row.other_question_name}` (to access questions inside the same dynamic matrix or multi-column dropdown)
|
6230
|
+
*
|
6231
|
+
* An expression can also include built-in and custom functions for advanced calculations. For example, if the `defaultValue` should be today's date, set the `defaultValueExpression` to `"today()"`, and the corresponding built-in function will be executed each time the survey is loaded. Refer to the following help topic for more information: [Use Functions in Expressions](https://surveyjs.io/Documentation/Library#conditions-functions).
|
6187
6232
|
*/
|
6188
6233
|
get defaultValueExpression(): any;
|
6189
6234
|
set defaultValueExpression(val: any);
|
@@ -6497,6 +6542,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
6497
6542
|
getType(): string;
|
6498
6543
|
toString(): string;
|
6499
6544
|
get isPage(): boolean;
|
6545
|
+
protected canShowPageNumber(): boolean;
|
6500
6546
|
protected canShowTitle(): boolean;
|
6501
6547
|
/*
|
6502
6548
|
* Use this property to show title in navigation buttons. If the value is empty then page name is used.
|
@@ -6523,8 +6569,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
6523
6569
|
get isStarted(): boolean;
|
6524
6570
|
protected calcCssClasses(css: any): any;
|
6525
6571
|
get cssTitle(): string;
|
6526
|
-
|
6527
|
-
set num(val: number);
|
6572
|
+
num: number;
|
6528
6573
|
/*
|
6529
6574
|
* Set this property to "hide" to make "Prev", "Next" and "Complete" buttons are invisible for this page. Set this property to "show" to make these buttons visible, even if survey showNavigationButtons property is false.
|
6530
6575
|
*/
|
@@ -6724,6 +6769,7 @@ export declare class QuestionBooleanModel extends Question {
|
|
6724
6769
|
get svgIcon(): string;
|
6725
6770
|
get allowClick(): boolean;
|
6726
6771
|
getCheckedLabel(): LocalizableString;
|
6772
|
+
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
6727
6773
|
onLabelClick(event: any, value: boolean): boolean;
|
6728
6774
|
onSwitchClickModel(event: any): boolean;
|
6729
6775
|
}
|
@@ -7006,8 +7052,6 @@ export declare class QuestionMatrixBaseModel<TRow, TColumn> extends Question {
|
|
7006
7052
|
protected createColumnValues(): any;
|
7007
7053
|
getType(): string;
|
7008
7054
|
get isCompositeQuestion(): boolean;
|
7009
|
-
get showColumnHeader(): boolean;
|
7010
|
-
set showColumnHeader(val: boolean);
|
7011
7055
|
/*
|
7012
7056
|
* Set this property to false, to hide table header. The default value is true.
|
7013
7057
|
*/
|
@@ -7399,7 +7443,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
7399
7443
|
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
7400
7444
|
protected getContainsErrors(): boolean;
|
7401
7445
|
protected getIsAnswered(): boolean;
|
7402
|
-
|
7446
|
+
protected clearValueIfInvisibleCore(): void;
|
7403
7447
|
protected getIsRunningValidators(): boolean;
|
7404
7448
|
getAllErrors(): Array<SurveyError>;
|
7405
7449
|
protected getDisplayValueCore(keysAsText: boolean, value: any): any;
|
@@ -7561,6 +7605,7 @@ export declare class QuestionSelectBase extends Question {
|
|
7561
7605
|
*/
|
7562
7606
|
get choicesEnableIf(): string;
|
7563
7607
|
set choicesEnableIf(val: string);
|
7608
|
+
surveyChoiceItemVisibilityChange(): void;
|
7564
7609
|
runCondition(values: any, properties: any): void;
|
7565
7610
|
protected isTextValue(): boolean;
|
7566
7611
|
isSettingDefaultValue: boolean;
|
@@ -7572,6 +7617,7 @@ export declare class QuestionSelectBase extends Question {
|
|
7572
7617
|
protected runItemsEnableCondition(values: any, properties: any): any;
|
7573
7618
|
protected onAfterRunItemsEnableCondition(): void;
|
7574
7619
|
protected onEnableItemCallBack(item: ItemValue): boolean;
|
7620
|
+
changeItemVisisbility(): any;
|
7575
7621
|
protected getHasOther(val: any): boolean;
|
7576
7622
|
get validatedValue(): any;
|
7577
7623
|
protected createRestful(): ChoicesRestful;
|
@@ -7668,7 +7714,7 @@ export declare class QuestionSelectBase extends Question {
|
|
7668
7714
|
protected canUseFilteredChoices(): boolean;
|
7669
7715
|
setCanShowOptionItemCallback(func: any): void;
|
7670
7716
|
protected addToVisibleChoices(items: any, isAddAll: boolean): void;
|
7671
|
-
protected canShowOptionItem(item: ItemValue): boolean;
|
7717
|
+
protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
|
7672
7718
|
/*
|
7673
7719
|
* For internal use in SurveyJS Creator V2.
|
7674
7720
|
*/
|
@@ -7709,7 +7755,7 @@ export declare class QuestionSelectBase extends Question {
|
|
7709
7755
|
protected onVisibleChoicesChanged(): void;
|
7710
7756
|
clearIncorrectValues(): void;
|
7711
7757
|
protected hasValueToClearIncorrectValues(): boolean;
|
7712
|
-
|
7758
|
+
protected clearValueIfInvisibleCore(): void;
|
7713
7759
|
/*
|
7714
7760
|
* Returns true if item is selected
|
7715
7761
|
*/
|
@@ -7732,6 +7778,7 @@ export declare class QuestionSelectBase extends Question {
|
|
7732
7778
|
ariaItemChecked(item: ItemValue): "true" | "false";
|
7733
7779
|
isOtherItem(item: ItemValue): boolean;
|
7734
7780
|
get itemSvgIcon(): string;
|
7781
|
+
getSelectBaseRootCss(): string;
|
7735
7782
|
getAriaItemLabel(item: ItemValue): string;
|
7736
7783
|
getItemId(item: ItemValue): string;
|
7737
7784
|
get questionName(): string;
|
@@ -7931,7 +7978,7 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
7931
7978
|
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
7932
7979
|
updateElementCss(reNew?: boolean): void;
|
7933
7980
|
getTextProcessor(): ITextProcessor;
|
7934
|
-
|
7981
|
+
protected clearValueIfInvisibleCore(): void;
|
7935
7982
|
onAnyValueChanged(name: string): void;
|
7936
7983
|
protected createPanel(): PanelModel;
|
7937
7984
|
protected onReadOnlyChanged(): void;
|
@@ -7966,6 +8013,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
7966
8013
|
onSurveyValueChanged(newValue: any): void;
|
7967
8014
|
protected getValueCore(): any;
|
7968
8015
|
protected initElement(el: SurveyElement): void;
|
8016
|
+
updateElementCss(reNew?: boolean): void;
|
7969
8017
|
protected updateElementCssCore(cssClasses: any): void;
|
7970
8018
|
protected getDisplayValueCore(keyAsText: boolean, value: any): any;
|
7971
8019
|
}
|
@@ -8038,6 +8086,7 @@ export declare class QuestionImageModel extends QuestionNonValue {
|
|
8038
8086
|
constructor(name: string);
|
8039
8087
|
getType(): string;
|
8040
8088
|
get isCompositeQuestion(): boolean;
|
8089
|
+
onSurveyLoad(): void;
|
8041
8090
|
/*
|
8042
8091
|
* The image URL.
|
8043
8092
|
*/
|
@@ -8055,11 +8104,13 @@ export declare class QuestionImageModel extends QuestionNonValue {
|
|
8055
8104
|
*/
|
8056
8105
|
get imageHeight(): string;
|
8057
8106
|
set imageHeight(val: string);
|
8107
|
+
get renderedHeight(): string;
|
8058
8108
|
/*
|
8059
8109
|
* The image width.
|
8060
8110
|
*/
|
8061
8111
|
get imageWidth(): string;
|
8062
8112
|
set imageWidth(val: string);
|
8113
|
+
get renderedWidth(): string;
|
8063
8114
|
/*
|
8064
8115
|
* The image fit mode.
|
8065
8116
|
*/
|
@@ -8070,6 +8121,11 @@ export declare class QuestionImageModel extends QuestionNonValue {
|
|
8070
8121
|
*/
|
8071
8122
|
get contentMode(): string;
|
8072
8123
|
set contentMode(val: string);
|
8124
|
+
/*
|
8125
|
+
* The rendered mode.
|
8126
|
+
*/
|
8127
|
+
get renderedMode(): string;
|
8128
|
+
protected calculateRenderedMode(): void;
|
8073
8129
|
}
|
8074
8130
|
/*
|
8075
8131
|
* A base class for matrix dropdown and matrix dynamic questions.
|
@@ -8134,6 +8190,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8134
8190
|
get canAddRow(): boolean;
|
8135
8191
|
get canRemoveRows(): boolean;
|
8136
8192
|
canRemoveRow(row: MatrixDropdownRowModelBase): boolean;
|
8193
|
+
onPointerDown(pointerDownEvent: any, row: MatrixDropdownRowModelBase): void;
|
8137
8194
|
protected onRowsChanged(): void;
|
8138
8195
|
lockResetRenderedTable: boolean;
|
8139
8196
|
protected onStartRowAddingRemoving(): void;
|
@@ -8241,6 +8298,10 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
8241
8298
|
protected getRowObj(row: MatrixDropdownRowModelBase): any;
|
8242
8299
|
protected getRowDisplayValue(keysAsText: boolean, row: MatrixDropdownRowModelBase, rowValue: any): any;
|
8243
8300
|
getPlainData(options?: any): any;
|
8301
|
+
addConditionObjectsByContext(objects: any, context: any): void;
|
8302
|
+
protected getConditionObjectRowName(index: number): string;
|
8303
|
+
protected getConditionObjectRowText(index: number): string;
|
8304
|
+
protected getConditionObjectsRowIndeces(): Array<any>;
|
8244
8305
|
getProgressInfo(): IProgressInfo;
|
8245
8306
|
protected onBeforeValueChanged(val: any): void;
|
8246
8307
|
protected setQuestionValue(newValue: any): void;
|
@@ -8348,7 +8409,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
8348
8409
|
getPlainData(options?: any): any;
|
8349
8410
|
addConditionObjectsByContext(objects: any, context: any): void;
|
8350
8411
|
getConditionJson(operator?: string, path?: string): any;
|
8351
|
-
|
8412
|
+
protected clearValueIfInvisibleCore(): void;
|
8352
8413
|
protected getFirstInputElementId(): string;
|
8353
8414
|
protected onRowsChanged(): void;
|
8354
8415
|
onMatrixRowChanged(row: MatrixRowModel): void;
|
@@ -8623,9 +8684,11 @@ export declare class QuestionMatrixDropdownModel extends QuestionMatrixDropdownM
|
|
8623
8684
|
set rowTitleWidth(val: string);
|
8624
8685
|
getRowTitleWidth(): string;
|
8625
8686
|
protected getDisplayValueCore(keysAsText: boolean, value: any): any;
|
8626
|
-
|
8687
|
+
protected getConditionObjectRowName(index: number): string;
|
8688
|
+
protected getConditionObjectRowText(index: number): string;
|
8689
|
+
protected getConditionObjectsRowIndeces(): Array<any>;
|
8627
8690
|
clearIncorrectValues(): void;
|
8628
|
-
|
8691
|
+
protected clearValueIfInvisibleCore(): void;
|
8629
8692
|
protected generateRows(): Array<MatrixDropdownRowModel>;
|
8630
8693
|
protected createMatrixRow(item: ItemValue, value: any): MatrixDropdownRowModel;
|
8631
8694
|
protected getSearchableItemValueKeys(keys: any): void;
|
@@ -8642,7 +8705,9 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
8642
8705
|
setRowCountValueFromData: boolean;
|
8643
8706
|
dragDropMatrixRows: DragDropMatrixRows;
|
8644
8707
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
8645
|
-
|
8708
|
+
draggedRow: MatrixDropdownRowModelBase;
|
8709
|
+
onPointerDown(pointerDownEvent: any, row: MatrixDropdownRowModelBase): void;
|
8710
|
+
startDragMatrixRow: any;
|
8646
8711
|
getType(): string;
|
8647
8712
|
get isRowsDynamic(): boolean;
|
8648
8713
|
/*
|
@@ -8774,7 +8839,8 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
8774
8839
|
set emptyRowsText(val: string);
|
8775
8840
|
get locEmptyRowsText(): LocalizableString;
|
8776
8841
|
protected getDisplayValueCore(keysAsText: boolean, value: any): any;
|
8777
|
-
|
8842
|
+
protected getConditionObjectRowName(index: number): string;
|
8843
|
+
protected getConditionObjectsRowIndeces(): Array<any>;
|
8778
8844
|
supportGoNextPageAutomatic(): boolean;
|
8779
8845
|
get hasRowText(): boolean;
|
8780
8846
|
protected onCheckForErrors(errors: any, isOnValueChanged: boolean): void;
|
@@ -8816,7 +8882,6 @@ export declare class QuestionRadiogroupModel extends QuestionCheckboxBase {
|
|
8816
8882
|
export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
8817
8883
|
constructor(name: string);
|
8818
8884
|
domNode: any;
|
8819
|
-
sortableInst: any;
|
8820
8885
|
getType(): string;
|
8821
8886
|
get rootClass(): string;
|
8822
8887
|
protected getItemClassCore(item: ItemValue, options: any): string;
|
@@ -8840,8 +8905,6 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
8840
8905
|
protected supportSelectAll(): boolean;
|
8841
8906
|
supportOther(): boolean;
|
8842
8907
|
supportNone(): boolean;
|
8843
|
-
get fallbackToSortableJS(): boolean;
|
8844
|
-
set fallbackToSortableJS(val: boolean);
|
8845
8908
|
handleArrowUp: any;
|
8846
8909
|
handleArrowDown: any;
|
8847
8910
|
focusItem: any;
|
@@ -8902,6 +8965,12 @@ export declare var settings: {
|
|
8902
8965
|
*/
|
8903
8966
|
itemValueAlwaysSerializeAsObject: boolean,
|
8904
8967
|
/*
|
8968
|
+
* Set it to true to serialize itemvalue text property, even if it is empty or equals to value
|
8969
|
+
* const item = new Survey.ItemValue("item1");
|
8970
|
+
* item.toJSON(); //will return {value: item1, text: "item1"}, instead of "item1" by default.
|
8971
|
+
*/
|
8972
|
+
itemValueAlwaysSerializeText: boolean,
|
8973
|
+
/*
|
8905
8974
|
* default locale name for localizable strings that uses during serialization, {"default": "My text", "de": "Mein Text"}
|
8906
8975
|
*/
|
8907
8976
|
defaultLocaleName: string,
|
@@ -9017,6 +9086,7 @@ export declare var settings: {
|
|
9017
9086
|
comment: any,
|
9018
9087
|
text: any,
|
9019
9088
|
checkbox: any,
|
9089
|
+
imagepicker: any,
|
9020
9090
|
},
|
9021
9091
|
/*
|
9022
9092
|
* Set the value as string "yyyy-mm-dd". text questions with inputType "date" will not allow to set to survey date that less than this value
|
@@ -9062,6 +9132,15 @@ export declare var surveyStrings: any;
|
|
9062
9132
|
export declare var Serializer: JsonMetadata;
|
9063
9133
|
export declare var registerFunction: any;
|
9064
9134
|
export declare var parse: any;
|
9135
|
+
export declare var defaultActionBarCss: {
|
9136
|
+
root: string,
|
9137
|
+
item: string,
|
9138
|
+
itemActive: string,
|
9139
|
+
itemPressed: string,
|
9140
|
+
itemIcon: string,
|
9141
|
+
itemTitle: string,
|
9142
|
+
itemTitleWithIcon: string,
|
9143
|
+
};
|
9065
9144
|
export declare var FOCUS_INPUT_SELECTOR: any;
|
9066
9145
|
export declare var surveyCss: {
|
9067
9146
|
currentType: string,
|
@@ -9123,6 +9202,8 @@ export declare var defaultStandardCss: {
|
|
9123
9202
|
requiredText: string,
|
9124
9203
|
title: string,
|
9125
9204
|
titleExpandable: string,
|
9205
|
+
titleExpanded: string,
|
9206
|
+
titleCollapsed: string,
|
9126
9207
|
number: string,
|
9127
9208
|
description: string,
|
9128
9209
|
comment: string,
|
@@ -9140,6 +9221,8 @@ export declare var defaultStandardCss: {
|
|
9140
9221
|
panel: {
|
9141
9222
|
title: string,
|
9142
9223
|
titleExpandable: string,
|
9224
|
+
titleExpanded: string,
|
9225
|
+
titleCollapsed: string,
|
9143
9226
|
titleOnError: string,
|
9144
9227
|
icon: string,
|
9145
9228
|
iconExpanded: string,
|
@@ -9269,8 +9352,7 @@ export declare var defaultStandardCss: {
|
|
9269
9352
|
emptyRowsSection: string,
|
9270
9353
|
emptyRowsText: string,
|
9271
9354
|
emptyRowsButton: string,
|
9272
|
-
|
9273
|
-
dragDropGhostPositionBottom: string,
|
9355
|
+
ghostRow: string,
|
9274
9356
|
},
|
9275
9357
|
paneldynamic: {
|
9276
9358
|
root: string,
|
@@ -9389,44 +9471,31 @@ export declare var surveyTimerFunctions: {
|
|
9389
9471
|
};
|
9390
9472
|
export declare var matrixDropdownColumnTypes: {
|
9391
9473
|
dropdown: {
|
9392
|
-
properties: any,
|
9393
9474
|
onCellQuestionUpdate: any,
|
9394
9475
|
},
|
9395
9476
|
checkbox: {
|
9396
|
-
properties: any,
|
9397
9477
|
onCellQuestionUpdate: any,
|
9398
9478
|
},
|
9399
9479
|
radiogroup: {
|
9400
|
-
properties: any,
|
9401
|
-
onCellQuestionUpdate: any,
|
9402
|
-
},
|
9403
|
-
text: {
|
9404
|
-
properties: any,
|
9405
|
-
onCellQuestionUpdate: any,
|
9406
|
-
},
|
9407
|
-
comment: {
|
9408
|
-
properties: any,
|
9409
9480
|
onCellQuestionUpdate: any,
|
9410
9481
|
},
|
9482
|
+
text: any,
|
9483
|
+
comment: any,
|
9411
9484
|
boolean: {
|
9412
|
-
properties: any,
|
9413
9485
|
onCellQuestionUpdate: any,
|
9414
9486
|
},
|
9415
|
-
expression:
|
9416
|
-
|
9417
|
-
onCellQuestionUpdate: any,
|
9418
|
-
},
|
9419
|
-
rating: {
|
9420
|
-
properties: any,
|
9421
|
-
},
|
9487
|
+
expression: any,
|
9488
|
+
rating: any,
|
9422
9489
|
};
|
9423
9490
|
export declare var _isMobile: boolean;
|
9424
9491
|
export declare var vendor: any;
|
9492
|
+
export declare var _IPad: boolean;
|
9425
9493
|
export declare var IsMobile: boolean;
|
9426
9494
|
export declare var _isTouch: boolean;
|
9427
9495
|
export declare var IsTouch: boolean;
|
9428
9496
|
export declare var minMaxTypes: any;
|
9429
|
-
export declare var
|
9497
|
+
export declare var youtubeTags: any;
|
9498
|
+
export declare var videoSuffics: any;
|
9430
9499
|
export declare var defaultWidth: number;
|
9431
9500
|
export declare var defaultHeight: number;
|
9432
9501
|
export declare var Version: string;
|
@@ -9485,6 +9554,8 @@ export declare var defaultBootstrapCss: {
|
|
9485
9554
|
titleLeftRoot: string,
|
9486
9555
|
title: string,
|
9487
9556
|
titleExpandable: string,
|
9557
|
+
titleExpanded: string,
|
9558
|
+
titleCollapsed: string,
|
9488
9559
|
number: string,
|
9489
9560
|
description: string,
|
9490
9561
|
descriptionUnderInput: string,
|
@@ -9499,6 +9570,8 @@ export declare var defaultBootstrapCss: {
|
|
9499
9570
|
panel: {
|
9500
9571
|
title: string,
|
9501
9572
|
titleExpandable: string,
|
9573
|
+
titleExpanded: string,
|
9574
|
+
titleCollapsed: string,
|
9502
9575
|
titleOnError: string,
|
9503
9576
|
icon: string,
|
9504
9577
|
iconExpanded: string,
|
@@ -9624,8 +9697,7 @@ export declare var defaultBootstrapCss: {
|
|
9624
9697
|
emptyRowsSection: string,
|
9625
9698
|
emptyRowsText: string,
|
9626
9699
|
emptyRowsButton: string,
|
9627
|
-
|
9628
|
-
dragDropGhostPositionBottom: string,
|
9700
|
+
ghostRow: string,
|
9629
9701
|
},
|
9630
9702
|
paneldynamic: {
|
9631
9703
|
root: string,
|
@@ -9798,6 +9870,8 @@ export declare var defaultBootstrapMaterialCss: {
|
|
9798
9870
|
requiredText: string,
|
9799
9871
|
title: string,
|
9800
9872
|
titleExpandable: string,
|
9873
|
+
titleExpanded: string,
|
9874
|
+
titleCollapsed: string,
|
9801
9875
|
number: string,
|
9802
9876
|
description: string,
|
9803
9877
|
descriptionUnderInput: string,
|
@@ -9811,6 +9885,8 @@ export declare var defaultBootstrapMaterialCss: {
|
|
9811
9885
|
panel: {
|
9812
9886
|
title: string,
|
9813
9887
|
titleExpandable: string,
|
9888
|
+
titleExpanded: string,
|
9889
|
+
titleCollapsed: string,
|
9814
9890
|
titleOnError: string,
|
9815
9891
|
icon: string,
|
9816
9892
|
iconExpanded: string,
|
@@ -9942,8 +10018,7 @@ export declare var defaultBootstrapMaterialCss: {
|
|
9942
10018
|
emptyRowsSection: string,
|
9943
10019
|
emptyRowsText: string,
|
9944
10020
|
emptyRowsButton: string,
|
9945
|
-
|
9946
|
-
dragDropGhostPositionBottom: string,
|
10021
|
+
ghostRow: string,
|
9947
10022
|
},
|
9948
10023
|
paneldynamic: {
|
9949
10024
|
root: string,
|
@@ -10085,6 +10160,8 @@ export declare var defaultV2Css: {
|
|
10085
10160
|
panel: {
|
10086
10161
|
title: string,
|
10087
10162
|
titleExpandable: string,
|
10163
|
+
titleExpanded: string,
|
10164
|
+
titleCollapsed: string,
|
10088
10165
|
titleOnExpand: string,
|
10089
10166
|
titleOnError: string,
|
10090
10167
|
description: string,
|
@@ -10098,6 +10175,7 @@ export declare var defaultV2Css: {
|
|
10098
10175
|
header: string,
|
10099
10176
|
collapsed: string,
|
10100
10177
|
nested: string,
|
10178
|
+
invisible: string,
|
10101
10179
|
},
|
10102
10180
|
paneldynamic: {
|
10103
10181
|
mainRoot: string,
|
@@ -10127,6 +10205,18 @@ export declare var defaultV2Css: {
|
|
10127
10205
|
progress: string,
|
10128
10206
|
progressBar: string,
|
10129
10207
|
progressText: string,
|
10208
|
+
progressButtonsContainerCenter: string,
|
10209
|
+
progressButtonsContainer: string,
|
10210
|
+
progressButtonsImageButtonLeft: string,
|
10211
|
+
progressButtonsImageButtonRight: string,
|
10212
|
+
progressButtonsImageButtonHidden: string,
|
10213
|
+
progressButtonsListContainer: string,
|
10214
|
+
progressButtonsList: string,
|
10215
|
+
progressButtonsListElementPassed: string,
|
10216
|
+
progressButtonsListElementCurrent: string,
|
10217
|
+
progressButtonsListElementNonClickable: string,
|
10218
|
+
progressButtonsPageTitle: string,
|
10219
|
+
progressButtonsPageDescription: string,
|
10130
10220
|
progressTextInBar: string,
|
10131
10221
|
page: {
|
10132
10222
|
root: string,
|
@@ -10153,6 +10243,9 @@ export declare var defaultV2Css: {
|
|
10153
10243
|
titleOnAnswer: string,
|
10154
10244
|
titleOnError: string,
|
10155
10245
|
title: string,
|
10246
|
+
titleExpandable: string,
|
10247
|
+
titleExpanded: string,
|
10248
|
+
titleCollapsed: string,
|
10156
10249
|
requiredText: string,
|
10157
10250
|
number: string,
|
10158
10251
|
description: string,
|
@@ -10168,6 +10261,7 @@ export declare var defaultV2Css: {
|
|
10168
10261
|
disabled: string,
|
10169
10262
|
collapsed: string,
|
10170
10263
|
nested: string,
|
10264
|
+
invisible: string,
|
10171
10265
|
},
|
10172
10266
|
image: {
|
10173
10267
|
mainRoot: string,
|
@@ -10191,6 +10285,7 @@ export declare var defaultV2Css: {
|
|
10191
10285
|
},
|
10192
10286
|
checkbox: {
|
10193
10287
|
root: string,
|
10288
|
+
rootMultiColumn: string,
|
10194
10289
|
item: string,
|
10195
10290
|
itemOnError: string,
|
10196
10291
|
itemSelectAll: string,
|
@@ -10211,6 +10306,7 @@ export declare var defaultV2Css: {
|
|
10211
10306
|
},
|
10212
10307
|
radiogroup: {
|
10213
10308
|
root: string,
|
10309
|
+
rootMultiColumn: string,
|
10214
10310
|
item: string,
|
10215
10311
|
itemOnError: string,
|
10216
10312
|
itemInline: string,
|
@@ -10275,6 +10371,7 @@ export declare var defaultV2Css: {
|
|
10275
10371
|
itemDecorator: string,
|
10276
10372
|
controlDisabled: string,
|
10277
10373
|
controlLabel: string,
|
10374
|
+
controlEmpty: string,
|
10278
10375
|
materialDecorator: string,
|
10279
10376
|
},
|
10280
10377
|
imagepicker: {
|
@@ -10327,6 +10424,9 @@ export declare var defaultV2Css: {
|
|
10327
10424
|
detailIconId: string,
|
10328
10425
|
detailIconExpandedId: string,
|
10329
10426
|
actionsCell: string,
|
10427
|
+
emptyCell: string,
|
10428
|
+
verticalCell: string,
|
10429
|
+
cellQuestionWrapper: string,
|
10330
10430
|
},
|
10331
10431
|
matrixdynamic: {
|
10332
10432
|
mainRoot: string,
|
@@ -10351,6 +10451,11 @@ export declare var defaultV2Css: {
|
|
10351
10451
|
iconRemove: string,
|
10352
10452
|
footer: string,
|
10353
10453
|
emptyRowsSection: string,
|
10454
|
+
iconDrag: string,
|
10455
|
+
ghostRow: string,
|
10456
|
+
emptyCell: string,
|
10457
|
+
verticalCell: string,
|
10458
|
+
cellQuestionWrapper: string,
|
10354
10459
|
},
|
10355
10460
|
rating: {
|
10356
10461
|
root: string,
|
@@ -10445,6 +10550,14 @@ export declare var defaultV2Css: {
|
|
10445
10550
|
itemIconFocusMod: string,
|
10446
10551
|
itemGhostMod: string,
|
10447
10552
|
itemDragMod: string,
|
10553
|
+
itemOnError: string,
|
10554
|
+
},
|
10555
|
+
actionBar: {
|
10556
|
+
root: string,
|
10557
|
+
item: string,
|
10558
|
+
itemPressed: string,
|
10559
|
+
itemAsIcon: string,
|
10560
|
+
itemIcon: string,
|
10448
10561
|
},
|
10449
10562
|
};
|
10450
10563
|
export declare var modernCss: {
|
@@ -10473,6 +10586,8 @@ export declare var modernCss: {
|
|
10473
10586
|
panel: {
|
10474
10587
|
title: string,
|
10475
10588
|
titleExpandable: string,
|
10589
|
+
titleExpanded: string,
|
10590
|
+
titleCollapsed: string,
|
10476
10591
|
titleOnError: string,
|
10477
10592
|
description: string,
|
10478
10593
|
container: string,
|
@@ -10545,6 +10660,8 @@ export declare var modernCss: {
|
|
10545
10660
|
titleOnError: string,
|
10546
10661
|
title: string,
|
10547
10662
|
titleExpandable: string,
|
10663
|
+
titleExpanded: string,
|
10664
|
+
titleCollapsed: string,
|
10548
10665
|
icon: string,
|
10549
10666
|
iconExpanded: string,
|
10550
10667
|
requiredText: string,
|
@@ -10746,8 +10863,7 @@ export declare var modernCss: {
|
|
10746
10863
|
emptyRowsSection: string,
|
10747
10864
|
emptyRowsText: string,
|
10748
10865
|
emptyRowsButton: string,
|
10749
|
-
|
10750
|
-
dragDropGhostPositionBottom: string,
|
10866
|
+
ghostRow: string,
|
10751
10867
|
},
|
10752
10868
|
rating: {
|
10753
10869
|
root: string,
|
@@ -10809,4 +10925,5 @@ export declare var modernCss: {
|
|
10809
10925
|
},
|
10810
10926
|
},
|
10811
10927
|
};
|
10928
|
+
export declare var SvgRegistry: SvgIconRegistry;
|
10812
10929
|
export declare var SvgBundleViewModel: any;
|