survey-react 1.9.137 → 1.9.139
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/defaultV2.css +394 -37
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +19 -3
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +230 -29
- package/survey.react.js +677 -145
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.react.d.ts
CHANGED
@@ -150,6 +150,7 @@ declare module "localization/english" {
|
|
150
150
|
timerLimitSurvey: string;
|
151
151
|
clearCaption: string;
|
152
152
|
signaturePlaceHolder: string;
|
153
|
+
signaturePlaceHolderReadOnly: string;
|
153
154
|
chooseFileCaption: string;
|
154
155
|
takePhotoCaption: string;
|
155
156
|
photoPlaceholder: string;
|
@@ -273,6 +274,7 @@ declare module "surveyStrings" {
|
|
273
274
|
timerLimitSurvey: string;
|
274
275
|
clearCaption: string;
|
275
276
|
signaturePlaceHolder: string;
|
277
|
+
signaturePlaceHolderReadOnly: string;
|
276
278
|
chooseFileCaption: string;
|
277
279
|
takePhotoCaption: string;
|
278
280
|
photoPlaceholder: string;
|
@@ -1201,7 +1203,11 @@ declare module "actions/action" {
|
|
1201
1203
|
export function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: ILocalizableOwner): Action;
|
1202
1204
|
export function getActionDropdownButtonTarget(container: HTMLElement): HTMLElement;
|
1203
1205
|
export abstract class BaseAction extends Base implements IAction {
|
1206
|
+
private static renderedId;
|
1207
|
+
private static getNextRendredId;
|
1204
1208
|
private cssClassesValue;
|
1209
|
+
private rendredIdValue;
|
1210
|
+
private ownerValue;
|
1205
1211
|
tooltip: string;
|
1206
1212
|
showTitle: boolean;
|
1207
1213
|
innerCss: string;
|
@@ -1212,7 +1218,6 @@ declare module "actions/action" {
|
|
1212
1218
|
needSeparator: boolean;
|
1213
1219
|
template: string;
|
1214
1220
|
mode: actionModeType;
|
1215
|
-
owner: ILocalizableOwner;
|
1216
1221
|
visibleIndex: number;
|
1217
1222
|
disableTabStop: boolean;
|
1218
1223
|
disableShrink: boolean;
|
@@ -1228,6 +1233,9 @@ declare module "actions/action" {
|
|
1228
1233
|
css?: string;
|
1229
1234
|
minDimension: number;
|
1230
1235
|
maxDimension: number;
|
1236
|
+
get renderedId(): number;
|
1237
|
+
get owner(): ILocalizableOwner;
|
1238
|
+
set owner(val: ILocalizableOwner);
|
1231
1239
|
get visible(): boolean;
|
1232
1240
|
set visible(val: boolean);
|
1233
1241
|
get enabled(): boolean;
|
@@ -1596,6 +1604,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
1596
1604
|
titleExpanded: string;
|
1597
1605
|
titleCollapsed: string;
|
1598
1606
|
titleDisabled: string;
|
1607
|
+
titleReadOnly: string;
|
1599
1608
|
titleBar: string;
|
1600
1609
|
requiredText: string;
|
1601
1610
|
number: string;
|
@@ -1620,6 +1629,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1620
1629
|
invisible: string;
|
1621
1630
|
composite: string;
|
1622
1631
|
disabled: string;
|
1632
|
+
readOnly: string;
|
1633
|
+
preview: string;
|
1623
1634
|
errorsContainer: string;
|
1624
1635
|
errorsContainerTop: string;
|
1625
1636
|
errorsContainerBottom: string;
|
@@ -1656,6 +1667,9 @@ declare module "defaultCss/defaultV2Css" {
|
|
1656
1667
|
itemSelectAll: string;
|
1657
1668
|
itemNone: string;
|
1658
1669
|
itemDisabled: string;
|
1670
|
+
itemReadOnly: string;
|
1671
|
+
itemPreview: string;
|
1672
|
+
itemPreviewSvgIconId: string;
|
1659
1673
|
itemChecked: string;
|
1660
1674
|
itemHover: string;
|
1661
1675
|
itemInline: string;
|
@@ -1680,6 +1694,9 @@ declare module "defaultCss/defaultV2Css" {
|
|
1680
1694
|
label: string;
|
1681
1695
|
labelChecked: string;
|
1682
1696
|
itemDisabled: string;
|
1697
|
+
itemReadOnly: string;
|
1698
|
+
itemPreview: string;
|
1699
|
+
itemPreviewSvgIconId: string;
|
1683
1700
|
itemChecked: string;
|
1684
1701
|
itemHover: string;
|
1685
1702
|
itemControl: string;
|
@@ -1701,17 +1718,25 @@ declare module "defaultCss/defaultV2Css" {
|
|
1701
1718
|
itemExchanged: string;
|
1702
1719
|
itemIndeterminate: string;
|
1703
1720
|
itemDisabled: string;
|
1721
|
+
itemReadOnly: string;
|
1722
|
+
itemPreview: string;
|
1704
1723
|
itemHover: string;
|
1705
1724
|
label: string;
|
1706
1725
|
labelTrue: string;
|
1707
1726
|
labelFalse: string;
|
1708
1727
|
switch: string;
|
1709
1728
|
disabledLabel: string;
|
1729
|
+
labelReadOnly: string;
|
1730
|
+
labelPreview: string;
|
1710
1731
|
sliderText: string;
|
1711
1732
|
slider: string;
|
1712
1733
|
sliderGhost: string;
|
1713
1734
|
radioItem: string;
|
1714
1735
|
radioItemChecked: string;
|
1736
|
+
radioItemDisabled: string;
|
1737
|
+
radioItemReadOnly: string;
|
1738
|
+
radioItemPreview: string;
|
1739
|
+
itemPreviewSvgIconId: string;
|
1715
1740
|
radioLabel: string;
|
1716
1741
|
radioControlLabel: string;
|
1717
1742
|
radioFieldset: string;
|
@@ -1726,6 +1751,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1726
1751
|
checkboxItemChecked: string;
|
1727
1752
|
checkboxItemDecorator: string;
|
1728
1753
|
checkboxItemDisabled: string;
|
1754
|
+
checkboxItemReadOnly: string;
|
1755
|
+
checkboxItemPreview: string;
|
1729
1756
|
controlCheckbox: string;
|
1730
1757
|
checkboxMaterialDecorator: string;
|
1731
1758
|
checkboxControlLabel: string;
|
@@ -1735,6 +1762,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1735
1762
|
root: string;
|
1736
1763
|
small: string;
|
1737
1764
|
controlDisabled: string;
|
1765
|
+
controlReadOnly: string;
|
1766
|
+
controlPreview: string;
|
1738
1767
|
constrolWithCharacterCounter: string;
|
1739
1768
|
characterCounterBig: string;
|
1740
1769
|
content: string;
|
@@ -1745,6 +1774,9 @@ declare module "defaultCss/defaultV2Css" {
|
|
1745
1774
|
root: string;
|
1746
1775
|
rootMobile: string;
|
1747
1776
|
itemLabel: string;
|
1777
|
+
itemLabelReadOnly: string;
|
1778
|
+
itemLabelDisabled: string;
|
1779
|
+
itemLabelPreview: string;
|
1748
1780
|
itemLabelOnError: string;
|
1749
1781
|
itemLabelAllowFocus: string;
|
1750
1782
|
itemLabelAnswered: string;
|
@@ -1782,6 +1814,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1782
1814
|
controlInputFieldComponent: string;
|
1783
1815
|
controlValue: string;
|
1784
1816
|
controlDisabled: string;
|
1817
|
+
controlReadOnly: string;
|
1818
|
+
controlPreview: string;
|
1785
1819
|
controlEmpty: string;
|
1786
1820
|
controlLabel: string;
|
1787
1821
|
filterStringInput: string;
|
@@ -1798,6 +1832,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1798
1832
|
itemInline: string;
|
1799
1833
|
itemChecked: string;
|
1800
1834
|
itemDisabled: string;
|
1835
|
+
itemReadOnly: string;
|
1836
|
+
itemPreview: string;
|
1801
1837
|
itemHover: string;
|
1802
1838
|
label: string;
|
1803
1839
|
itemDecorator: string;
|
@@ -1827,6 +1863,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
1827
1863
|
cell: string;
|
1828
1864
|
row: string;
|
1829
1865
|
rowDisabled: string;
|
1866
|
+
rowReadOnly: string;
|
1830
1867
|
headerCell: string;
|
1831
1868
|
rowTextCell: string;
|
1832
1869
|
label: string;
|
@@ -1834,6 +1871,9 @@ declare module "defaultCss/defaultV2Css" {
|
|
1834
1871
|
itemValue: string;
|
1835
1872
|
itemChecked: string;
|
1836
1873
|
itemDisabled: string;
|
1874
|
+
itemReadOnly: string;
|
1875
|
+
itemPreview: string;
|
1876
|
+
itemPreviewSvgIconId: string;
|
1837
1877
|
itemHover: string;
|
1838
1878
|
materialDecorator: string;
|
1839
1879
|
itemDecorator: string;
|
@@ -1954,6 +1994,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1954
1994
|
itemStarHover: string;
|
1955
1995
|
itemStarSelected: string;
|
1956
1996
|
itemStarDisabled: string;
|
1997
|
+
itemStarReadOnly: string;
|
1998
|
+
itemStarPreview: string;
|
1957
1999
|
itemStarHighlighted: string;
|
1958
2000
|
itemStarUnhighlighted: string;
|
1959
2001
|
itemStarSmall: string;
|
@@ -1962,6 +2004,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1962
2004
|
itemSmileyHover: string;
|
1963
2005
|
itemSmileySelected: string;
|
1964
2006
|
itemSmileyDisabled: string;
|
2007
|
+
itemSmileyReadOnly: string;
|
2008
|
+
itemSmileyPreview: string;
|
1965
2009
|
itemSmileyHighlighted: string;
|
1966
2010
|
itemSmileyScaleColored: string;
|
1967
2011
|
itemSmileyRateColored: string;
|
@@ -1970,6 +2014,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1970
2014
|
itemText: string;
|
1971
2015
|
maxText: string;
|
1972
2016
|
itemDisabled: string;
|
2017
|
+
itemReadOnly: string;
|
2018
|
+
itemPreview: string;
|
1973
2019
|
itemFixedSize: string;
|
1974
2020
|
control: string;
|
1975
2021
|
itemSmall: string;
|
@@ -1988,6 +2034,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
1988
2034
|
root: string;
|
1989
2035
|
small: string;
|
1990
2036
|
controlDisabled: string;
|
2037
|
+
controlReadOnly: string;
|
2038
|
+
controlPreview: string;
|
1991
2039
|
content: string;
|
1992
2040
|
remainingCharacterCounter: string;
|
1993
2041
|
onError: string;
|
@@ -1997,9 +2045,12 @@ declare module "defaultCss/defaultV2Css" {
|
|
1997
2045
|
root: string;
|
1998
2046
|
rootDragging: string;
|
1999
2047
|
rootAnswered: string;
|
2048
|
+
rootDisabled: string;
|
2049
|
+
rootReadOnly: string;
|
2050
|
+
rootPreview: string;
|
2000
2051
|
other: string;
|
2001
2052
|
placeholderInput: string;
|
2002
|
-
|
2053
|
+
previewItem: string;
|
2003
2054
|
fileSign: string;
|
2004
2055
|
fileList: string;
|
2005
2056
|
fileSignBottom: string;
|
@@ -2088,9 +2139,12 @@ declare module "defaultCss/defaultV2Css" {
|
|
2088
2139
|
rootMobileMod: string;
|
2089
2140
|
rootDragMod: string;
|
2090
2141
|
rootDisabled: string;
|
2142
|
+
rootReadOnly: string;
|
2143
|
+
rootPreview: string;
|
2091
2144
|
rootDesignMode: string;
|
2092
2145
|
rootDragHandleAreaIcon: string;
|
2093
2146
|
rootSelectToRankMod: string;
|
2147
|
+
rootSelectToRankEmptyValueMod: string;
|
2094
2148
|
rootSelectToRankAlignVertical: string;
|
2095
2149
|
rootSelectToRankAlignHorizontal: string;
|
2096
2150
|
item: string;
|
@@ -2098,6 +2152,8 @@ declare module "defaultCss/defaultV2Css" {
|
|
2098
2152
|
itemIndex: string;
|
2099
2153
|
itemIndexEmptyMode: string;
|
2100
2154
|
itemDisabled: string;
|
2155
|
+
itemReadOnly: string;
|
2156
|
+
itemPreview: string;
|
2101
2157
|
controlLabel: string;
|
2102
2158
|
itemGhostNode: string;
|
2103
2159
|
itemIconContainer: string;
|
@@ -2174,7 +2230,10 @@ declare module "defaultCss/defaultV2Css" {
|
|
2174
2230
|
controlValue: string;
|
2175
2231
|
controlValueItems: string;
|
2176
2232
|
placeholderInput: string;
|
2233
|
+
controlEditable: string;
|
2177
2234
|
controlDisabled: string;
|
2235
|
+
controlReadOnly: string;
|
2236
|
+
controlPreview: string;
|
2178
2237
|
controlEmpty: string;
|
2179
2238
|
controlLabel: string;
|
2180
2239
|
filterStringInput: string;
|
@@ -2756,6 +2815,7 @@ declare module "question_custom" {
|
|
2756
2815
|
* @returns An error text.
|
2757
2816
|
*/
|
2758
2817
|
getErrorText?: (question: Question) => string;
|
2818
|
+
onSetQuestionValue?: (question: Question, newValue: any) => void;
|
2759
2819
|
valueToQuestion?: (val: any) => any;
|
2760
2820
|
valueFromQuestion?: (val: any) => any;
|
2761
2821
|
getValue?: (val: any) => any;
|
@@ -2772,6 +2832,7 @@ declare module "question_custom" {
|
|
2772
2832
|
onAfterRender(question: Question, htmlElement: any): void;
|
2773
2833
|
onAfterRenderContentElement(question: Question, element: Question, htmlElement: any): void;
|
2774
2834
|
onUpdateQuestionCssClasses(question: Question, element: Question, css: any): void;
|
2835
|
+
onSetQuestionValue(question: Question, newValue: any): void;
|
2775
2836
|
onPropertyChanged(question: Question, propertyName: string, newValue: any): void;
|
2776
2837
|
onValueChanged(question: Question, name: string, newValue: any): void;
|
2777
2838
|
onValueChanging(question: Question, name: string, newValue: any): any;
|
@@ -2878,6 +2939,7 @@ declare module "question_custom" {
|
|
2878
2939
|
afterRenderCore(el: any): void;
|
2879
2940
|
get contentQuestion(): Question;
|
2880
2941
|
protected createQuestion(): Question;
|
2942
|
+
private checkCreatedQuestion;
|
2881
2943
|
onSurveyLoad(): void;
|
2882
2944
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
2883
2945
|
protected convertDataName(name: string): string;
|
@@ -3556,7 +3618,7 @@ declare module "panel" {
|
|
3556
3618
|
focusIn(): void;
|
3557
3619
|
protected getHasFrameV2(): boolean;
|
3558
3620
|
protected getIsNested(): boolean;
|
3559
|
-
|
3621
|
+
get showPanelAsPage(): boolean;
|
3560
3622
|
protected getCssRoot(cssClasses: {
|
3561
3623
|
[index: string]: string;
|
3562
3624
|
}): string;
|
@@ -5328,7 +5390,7 @@ declare module "dragdrop/core" {
|
|
5328
5390
|
}
|
5329
5391
|
declare module "dragdrop/matrix-rows" {
|
5330
5392
|
import { MatrixDropdownRowModelBase } from "question_matrixdropdownbase";
|
5331
|
-
import { QuestionMatrixDynamicModel } from "question_matrixdynamic";
|
5393
|
+
import { QuestionMatrixDynamicModel, MatrixDynamicRowModel } from "question_matrixdynamic";
|
5332
5394
|
import { DragDropCore } from "dragdrop/core";
|
5333
5395
|
export class DragDropMatrixRows extends DragDropCore<QuestionMatrixDynamicModel> {
|
5334
5396
|
protected get draggedElementType(): string;
|
@@ -5338,6 +5400,7 @@ declare module "dragdrop/matrix-rows" {
|
|
5338
5400
|
private fromIndex;
|
5339
5401
|
private toIndex;
|
5340
5402
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: any): MatrixDropdownRowModelBase;
|
5403
|
+
canInsertIntoThisRow(row: MatrixDynamicRowModel): boolean;
|
5341
5404
|
protected isDropTargetValid(dropTarget: any, dropTargetNode?: HTMLElement): boolean;
|
5342
5405
|
protected calculateIsBottom(clientY: number): boolean;
|
5343
5406
|
protected afterDragOver(dropTargetNode: HTMLElement): void;
|
@@ -5614,6 +5677,8 @@ declare module "question_matrixdynamic" {
|
|
5614
5677
|
get allowRowsDragAndDrop(): boolean;
|
5615
5678
|
set allowRowsDragAndDrop(val: boolean);
|
5616
5679
|
get isRowsDragAndDrop(): boolean;
|
5680
|
+
get lockedRowCount(): number;
|
5681
|
+
set lockedRowCount(val: number);
|
5617
5682
|
get iconDragElement(): string;
|
5618
5683
|
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
|
5619
5684
|
private get rowCountValue();
|
@@ -6410,6 +6475,7 @@ declare module "question_paneldynamic" {
|
|
6410
6475
|
*/
|
6411
6476
|
get showQuestionNumbers(): string;
|
6412
6477
|
set showQuestionNumbers(val: string);
|
6478
|
+
protected notifySurveyOnChildrenVisibilityChanged(): boolean;
|
6413
6479
|
/**
|
6414
6480
|
* Specifies the location of the Delete Panel button relative to panel content.
|
6415
6481
|
*
|
@@ -6773,17 +6839,24 @@ declare module "question_signaturepad" {
|
|
6773
6839
|
set backgroundImage(val: string);
|
6774
6840
|
get clearButtonCaption(): string;
|
6775
6841
|
/**
|
6776
|
-
* A Boolean value that specifies whether to show the
|
6842
|
+
* A Boolean value that specifies whether to show the placeholder text in the signature area.
|
6777
6843
|
*
|
6778
6844
|
* Default value: `true`
|
6845
|
+
*
|
6846
|
+
* Use the [`placeholder`](#placeholder) and [`placeholderReadOnly`](#placeholderReadOnly) properties to specify placeholder texts for the signature area in edit mode and in read-only or preview mode.
|
6779
6847
|
*/
|
6780
6848
|
showPlaceholder: boolean;
|
6849
|
+
get locRenderedPlaceholder(): any;
|
6781
6850
|
nothingIsDrawn(): boolean;
|
6782
6851
|
needShowPlaceholder(): boolean;
|
6783
6852
|
/**
|
6784
|
-
* A placeholder for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
6853
|
+
* A placeholder text for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
6785
6854
|
*/
|
6786
6855
|
placeholder: string;
|
6856
|
+
/**
|
6857
|
+
* A placeholder text for the signature area in read-only or preview mode. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
6858
|
+
*/
|
6859
|
+
placeholderReadOnly: string;
|
6787
6860
|
onBlur: (event: any) => void;
|
6788
6861
|
protected uploadResultItemToValue(r: any): any;
|
6789
6862
|
protected setValueFromResult(arg: any): void;
|
@@ -8316,8 +8389,9 @@ declare module "mask/input_element_adapter" {
|
|
8316
8389
|
private inputMaskInstance;
|
8317
8390
|
private inputElement;
|
8318
8391
|
private prevUnmaskedValue;
|
8319
|
-
constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?:
|
8392
|
+
constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
|
8320
8393
|
inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
|
8394
|
+
clickHandler: (event: any) => void;
|
8321
8395
|
beforeInputHandler: (event: any) => void;
|
8322
8396
|
createArgs(event: any): ITextInputParams;
|
8323
8397
|
addInputEventListener(): void;
|
@@ -11581,7 +11655,7 @@ declare module "survey" {
|
|
11581
11655
|
get clearValueOnDisableItems(): boolean;
|
11582
11656
|
set clearValueOnDisableItems(val: boolean);
|
11583
11657
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
11584
|
-
questionVisibilityChanged(question: Question, newValue: boolean): void;
|
11658
|
+
questionVisibilityChanged(question: Question, newValue: boolean, resetIndexes: boolean): void;
|
11585
11659
|
pageVisibilityChanged(page: PageModel, newValue: boolean): void;
|
11586
11660
|
panelVisibilityChanged(panel: PanelModel, newValue: boolean): void;
|
11587
11661
|
questionCreated(question: Question): any;
|
@@ -11860,6 +11934,55 @@ declare module "survey" {
|
|
11860
11934
|
removeScrollEventListener(): void;
|
11861
11935
|
}
|
11862
11936
|
}
|
11937
|
+
declare module "knockout/kobase" {
|
11938
|
+
import { Base } from "entries/core";
|
11939
|
+
export class ImplementorBase {
|
11940
|
+
element: Base;
|
11941
|
+
private static doIterateProperties;
|
11942
|
+
readonly implementedMark = "__surveyImplementedKo";
|
11943
|
+
constructor(element: Base);
|
11944
|
+
dispose(): void;
|
11945
|
+
}
|
11946
|
+
}
|
11947
|
+
declare module "knockout/kopage" {
|
11948
|
+
import { PageModel } from "entries/core";
|
11949
|
+
import { PanelModelBase, PanelModel, QuestionRowModel } from "entries/core";
|
11950
|
+
import { SurveyElement } from "entries/core";
|
11951
|
+
import { ImplementorBase } from "knockout/kobase";
|
11952
|
+
export class QuestionRow extends QuestionRowModel {
|
11953
|
+
panel: PanelModelBase;
|
11954
|
+
koElementAfterRender: any;
|
11955
|
+
constructor(panel: PanelModelBase);
|
11956
|
+
getElementType(el: any): "survey-panel" | "survey-question";
|
11957
|
+
koAfterRender(htmlElements: any, element: SurveyElement): void;
|
11958
|
+
private elementAfterRender;
|
11959
|
+
rowAfterRender(elements: HTMLElement[], model: QuestionRow): void;
|
11960
|
+
dispose(): void;
|
11961
|
+
}
|
11962
|
+
export class PanelImplementorBase extends ImplementorBase {
|
11963
|
+
panel: PanelModelBase;
|
11964
|
+
constructor(panel: PanelModelBase);
|
11965
|
+
}
|
11966
|
+
export class Panel extends PanelModel {
|
11967
|
+
private _implementor;
|
11968
|
+
koElementType: any;
|
11969
|
+
constructor(name?: string);
|
11970
|
+
protected onBaseCreating(): void;
|
11971
|
+
createRow(): QuestionRowModel;
|
11972
|
+
protected onCreating(): void;
|
11973
|
+
protected onNumChanged(value: number): void;
|
11974
|
+
dispose(): void;
|
11975
|
+
}
|
11976
|
+
export class Page extends PageModel {
|
11977
|
+
private _implementor;
|
11978
|
+
constructor(name?: string);
|
11979
|
+
protected onBaseCreating(): void;
|
11980
|
+
createRow(): QuestionRowModel;
|
11981
|
+
protected onCreating(): void;
|
11982
|
+
protected onNumChanged(value: number): void;
|
11983
|
+
dispose(): void;
|
11984
|
+
}
|
11985
|
+
}
|
11863
11986
|
declare module "survey-element" {
|
11864
11987
|
import { Base } from "base";
|
11865
11988
|
import { IAction } from "actions/action";
|
@@ -12191,6 +12314,7 @@ declare module "survey-element" {
|
|
12191
12314
|
isSingleInRow: boolean;
|
12192
12315
|
private shouldAddRunnerStyles;
|
12193
12316
|
protected get isCompact(): boolean;
|
12317
|
+
private canHaveFrameStyles;
|
12194
12318
|
protected getHasFrameV2(): boolean;
|
12195
12319
|
protected getIsNested(): boolean;
|
12196
12320
|
protected getCssRoot(cssClasses: {
|
@@ -12261,6 +12385,9 @@ declare module "survey-element" {
|
|
12261
12385
|
get additionalTitleToolbar(): ActionContainer;
|
12262
12386
|
protected getAdditionalTitleToolbar(): ActionContainer | null;
|
12263
12387
|
protected getCssTitle(cssClasses: any): string;
|
12388
|
+
get isDisabledStyle(): boolean;
|
12389
|
+
get isReadOnlyStyle(): boolean;
|
12390
|
+
get isPreviewStyle(): boolean;
|
12264
12391
|
localeChanged(): void;
|
12265
12392
|
private wrapperElement?;
|
12266
12393
|
setWrapperElement(element?: HTMLElement): void;
|
@@ -12613,6 +12740,7 @@ declare module "question" {
|
|
12613
12740
|
set titleLocation(value: string);
|
12614
12741
|
getTitleOwner(): ITitleOwner;
|
12615
12742
|
protected getIsTitleRenderedAsString(): boolean;
|
12743
|
+
protected notifySurveyOnChildrenVisibilityChanged(): boolean;
|
12616
12744
|
private notifySurveyVisibilityChanged;
|
12617
12745
|
protected clearValueOnHidding(isClearOnHidden: boolean): void;
|
12618
12746
|
/**
|
@@ -14017,7 +14145,7 @@ declare module "base-interfaces" {
|
|
14017
14145
|
getQuestionByName(name: string): IQuestion;
|
14018
14146
|
pageVisibilityChanged(page: IPage, newValue: boolean): any;
|
14019
14147
|
panelVisibilityChanged(panel: IPanel, newValue: boolean): any;
|
14020
|
-
questionVisibilityChanged(question: IQuestion, newValue: boolean): any;
|
14148
|
+
questionVisibilityChanged(question: IQuestion, newValue: boolean, resetIndexes: boolean): any;
|
14021
14149
|
isEditingSurveyElement: boolean;
|
14022
14150
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
14023
14151
|
questionsOrder: string;
|
@@ -15175,6 +15303,7 @@ declare module "popup" {
|
|
15175
15303
|
private onDispose;
|
15176
15304
|
setWidthByTarget: boolean;
|
15177
15305
|
focusFirstInputSelector: string;
|
15306
|
+
locale: string;
|
15178
15307
|
contentComponentName: string;
|
15179
15308
|
contentComponentData: T;
|
15180
15309
|
verticalPosition: VerticalPosition;
|
@@ -16093,6 +16222,7 @@ declare module "question_matrix" {
|
|
16093
16222
|
onMatrixRowChanged(row: MatrixRowModel): void;
|
16094
16223
|
getCorrectedRowValue(value: any): any;
|
16095
16224
|
cssClasses: any;
|
16225
|
+
isDisabledStyle: boolean;
|
16096
16226
|
isInputReadOnly: boolean;
|
16097
16227
|
hasErrorInRow(row: MatrixRowModel): boolean;
|
16098
16228
|
}
|
@@ -16703,11 +16833,12 @@ declare module "question_imagepicker" {
|
|
16703
16833
|
/**
|
16704
16834
|
* Specifies the height of containers for images or videos. Accepts positive numbers and CSS values.
|
16705
16835
|
*
|
16706
|
-
* Default value:
|
16836
|
+
* Default value: `auto`
|
16837
|
+
*
|
16838
|
+
* This property allows you to specify the exact image height. If you do not set it, the height will be calculated automatically based on the [`minImageHeight`](#minImageHeight) and [`maxImageHeight`](#maxImageHeight) values and available screen height.
|
16707
16839
|
*
|
16708
|
-
* Use the `imageFit` property to specify how to fit the images or videos into their containers.
|
16840
|
+
* Use the [`imageFit`](#imageFit) property to specify how to fit the images or videos into their containers.
|
16709
16841
|
* @see imageWidth
|
16710
|
-
* @see imageFit
|
16711
16842
|
*/
|
16712
16843
|
get imageHeight(): number;
|
16713
16844
|
set imageHeight(val: number);
|
@@ -16716,11 +16847,12 @@ declare module "question_imagepicker" {
|
|
16716
16847
|
/**
|
16717
16848
|
* Specifies the width of containers for images or videos. Accepts positive numbers and CSS values.
|
16718
16849
|
*
|
16719
|
-
* Default value:
|
16850
|
+
* Default value: `auto`
|
16851
|
+
*
|
16852
|
+
* This property allows you to specify the exact image width. If you do not set it, the width will be calculated automatically based on the [`minImageWidth`](#minImageWidth) and [`maxImageWidth`](#maxImageWidth) values and available screen width.
|
16720
16853
|
*
|
16721
|
-
* Use the `imageFit` property to specify how to fit the images or videos into their containers.
|
16854
|
+
* Use the [`imageFit`](#imageFit) property to specify how to fit the images or videos into their containers.
|
16722
16855
|
* @see imageHeight
|
16723
|
-
* @see imageFit
|
16724
16856
|
*/
|
16725
16857
|
get imageWidth(): number;
|
16726
16858
|
set imageWidth(val: number);
|
@@ -16751,9 +16883,37 @@ declare module "question_imagepicker" {
|
|
16751
16883
|
protected addToVisibleChoices(items: Array<ItemValue>, isAddAll: boolean): void;
|
16752
16884
|
getSelectBaseRootCss(): string;
|
16753
16885
|
private isResponsiveValue;
|
16886
|
+
/**
|
16887
|
+
* Specifies a maximum width for image or video containers. Accepts positive numbers and CSS values.
|
16888
|
+
*
|
16889
|
+
* Default value: 400
|
16890
|
+
*
|
16891
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
16892
|
+
*/
|
16754
16893
|
maxImageWidth: number;
|
16894
|
+
/**
|
16895
|
+
* Specifies a minimum width for image or video containers. Accepts positive numbers and CSS values.
|
16896
|
+
*
|
16897
|
+
* Default value: 200
|
16898
|
+
*
|
16899
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
16900
|
+
*/
|
16755
16901
|
minImageWidth: number;
|
16902
|
+
/**
|
16903
|
+
* Specifies a maximum height for image or video containers. Accepts positive numbers and CSS values.
|
16904
|
+
*
|
16905
|
+
* Default value: 266
|
16906
|
+
*
|
16907
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
16908
|
+
*/
|
16756
16909
|
maxImageHeight: number;
|
16910
|
+
/**
|
16911
|
+
* Specifies a minimum height for image or video containers. Accepts positive numbers and CSS values.
|
16912
|
+
*
|
16913
|
+
* Default value: 133
|
16914
|
+
*
|
16915
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
16916
|
+
*/
|
16757
16917
|
minImageHeight: number;
|
16758
16918
|
private get isResponsive();
|
16759
16919
|
private get exactSizesAreEmpty();
|
@@ -16863,6 +17023,7 @@ declare module "question_ranking" {
|
|
16863
17023
|
getItemTabIndex(item: ItemValue): number;
|
16864
17024
|
protected supportContainerQueries(): boolean;
|
16865
17025
|
get rootClass(): string;
|
17026
|
+
protected isItemSelectedCore(item: ItemValue): boolean;
|
16866
17027
|
protected getItemClassCore(item: ItemValue, options: any): string;
|
16867
17028
|
getContainerClasses(containerType?: string): string;
|
16868
17029
|
protected isItemCurrentDropTarget(item: ItemValue): boolean;
|
@@ -17419,6 +17580,13 @@ declare module "question_boolean" {
|
|
17419
17580
|
set labelTrue(val: string);
|
17420
17581
|
get locLabelTrue(): LocalizableString;
|
17421
17582
|
get isDeterminated(): boolean;
|
17583
|
+
/**
|
17584
|
+
* Specifies whether to swap the order of the Yes and No answers.
|
17585
|
+
*
|
17586
|
+
* Default value: `false`
|
17587
|
+
*
|
17588
|
+
* By default, the order is [ "No", "Yes"]. Enable this property to reorder the answers as follows: [ "Yes", "No" ].
|
17589
|
+
*/
|
17422
17590
|
swapOrder: boolean;
|
17423
17591
|
get locLabelLeft(): LocalizableString;
|
17424
17592
|
get locLabelRight(): LocalizableString;
|
@@ -17458,6 +17626,7 @@ declare module "question_boolean" {
|
|
17458
17626
|
getCheckboxItemCss(): string;
|
17459
17627
|
getLabelCss(checked: boolean): string;
|
17460
17628
|
get svgIcon(): string;
|
17629
|
+
get itemSvgIcon(): string;
|
17461
17630
|
get allowClick(): boolean;
|
17462
17631
|
getCheckedLabel(): LocalizableString;
|
17463
17632
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
@@ -17867,8 +18036,16 @@ declare module "mask/mask_pattern" {
|
|
17867
18036
|
* - `dd` - Day of the month, with leading zero for single-digit values.
|
17868
18037
|
* - `yy` - Last two digits of the year.
|
17869
18038
|
* - `yyyy` - A four-digit year.
|
18039
|
+
* - `H` - Hours in 24-hour format.
|
18040
|
+
* - `HH` - Hours in 24-hour format, with leading zero for single-digit values.
|
18041
|
+
* - `h` - Hours in 12-hour format.
|
18042
|
+
* - `hh` - Hours in 12-hour format, with leading zero for single-digit values.
|
18043
|
+
* - `MM` - Minutes.
|
18044
|
+
* - `ss` - Seconds.
|
18045
|
+
* - `TT` - 12-hour clock period in upper case (AM/PM).
|
18046
|
+
* - `tt` - 12-hour clock period in lower case (am/pm).
|
17870
18047
|
*
|
17871
|
-
* Example: `mm/dd/yyyy`
|
18048
|
+
* Example: `mm/dd/yyyy HH:MM:ss`
|
17872
18049
|
*
|
17873
18050
|
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
17874
18051
|
* @see [settings.maskSettings](https://surveyjs.io/form-library/documentation/api-reference/settings#maskSettings)
|
@@ -17963,7 +18140,7 @@ declare module "mask/mask_numeric" {
|
|
17963
18140
|
private calccaretPosition;
|
17964
18141
|
displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
|
17965
18142
|
convertNumber(parsedNumber: INumericalComposition): number;
|
17966
|
-
validateNumber(number: INumericalComposition): boolean;
|
18143
|
+
validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
|
17967
18144
|
parseNumber(src: string | number): INumericalComposition;
|
17968
18145
|
getNumberMaskedValue(src: string | number, matchWholeMask?: boolean): string;
|
17969
18146
|
private getNumberUnmaskedValue;
|
@@ -17977,11 +18154,24 @@ declare module "mask/mask_numeric" {
|
|
17977
18154
|
declare module "mask/mask_datetime" {
|
17978
18155
|
import { InputMaskPattern } from "mask/mask_pattern";
|
17979
18156
|
import { IMaskedInputResult, ITextInputParams } from "mask/mask_utils";
|
18157
|
+
type DateTimeMaskLexemType = "month" | "day" | "year" | "hour" | "minute" | "second" | "timeMarker" | "separator";
|
17980
18158
|
export interface IDateTimeMaskLexem {
|
17981
|
-
type:
|
18159
|
+
type: DateTimeMaskLexemType;
|
17982
18160
|
value: any;
|
17983
18161
|
count: number;
|
17984
18162
|
maxCount: number;
|
18163
|
+
upperCase: boolean;
|
18164
|
+
}
|
18165
|
+
interface IDateTimeComposition {
|
18166
|
+
day: number;
|
18167
|
+
month: number;
|
18168
|
+
year: number;
|
18169
|
+
hour?: number;
|
18170
|
+
minute?: number;
|
18171
|
+
second?: number;
|
18172
|
+
timeMarker?: string;
|
18173
|
+
min?: Date;
|
18174
|
+
max?: Date;
|
17985
18175
|
}
|
17986
18176
|
export function getDateTimeLexems(pattern: string): Array<IDateTimeMaskLexem>;
|
17987
18177
|
/**
|
@@ -18005,9 +18195,12 @@ declare module "mask/mask_datetime" {
|
|
18005
18195
|
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
18006
18196
|
*/
|
18007
18197
|
export class InputMaskDateTime extends InputMaskPattern {
|
18198
|
+
private defaultDate;
|
18008
18199
|
private turnOfTheCentury;
|
18200
|
+
private twelve;
|
18009
18201
|
private lexems;
|
18010
18202
|
private inputDateTimeData;
|
18203
|
+
private validBeginningOfNumbers;
|
18011
18204
|
/**
|
18012
18205
|
* A minimum date and time value that respondents can enter.
|
18013
18206
|
* @see max
|
@@ -18018,23 +18211,31 @@ declare module "mask/mask_datetime" {
|
|
18018
18211
|
* @see min
|
18019
18212
|
*/
|
18020
18213
|
max: string;
|
18214
|
+
get hasDatePart(): boolean;
|
18215
|
+
get hasTimePart(): boolean;
|
18216
|
+
private get is12Hours();
|
18021
18217
|
getType(): string;
|
18022
18218
|
protected updateLiterals(): void;
|
18023
18219
|
private leaveOnlyNumbers;
|
18024
18220
|
private getMaskedStrFromISO;
|
18025
18221
|
private initInputDateTimeData;
|
18026
|
-
|
18222
|
+
getISO_8601Format(dateTime: IDateTimeComposition): string;
|
18027
18223
|
private isYearValid;
|
18224
|
+
private createIDateTimeCompositionWithDefaults;
|
18225
|
+
private getMaxDateForMonth;
|
18028
18226
|
private isDateValid;
|
18029
18227
|
private getPlaceholder;
|
18228
|
+
private isDateValid12;
|
18229
|
+
private updateTimeMarkerInputDateTimeData;
|
18030
18230
|
private updateInputDateTimeData;
|
18231
|
+
private checkValidationDateTimePart;
|
18031
18232
|
private getCorrectDatePartFormat;
|
18032
18233
|
private createIDateTimeComposition;
|
18033
18234
|
private parseTwoDigitYear;
|
18034
18235
|
private getFormatedString;
|
18236
|
+
private cleanTimeMarker;
|
18035
18237
|
private setInputDateTimeData;
|
18036
18238
|
_getMaskedValue(src: string, matchWholeMask?: boolean): string;
|
18037
|
-
private getPartsOld;
|
18038
18239
|
private getParts;
|
18039
18240
|
getUnmaskedValue(src: string): any;
|
18040
18241
|
getMaskedValue(src: string): string;
|
@@ -18520,7 +18721,7 @@ declare module "defaultCss/cssstandard" {
|
|
18520
18721
|
file: {
|
18521
18722
|
root: string;
|
18522
18723
|
placeholderInput: string;
|
18523
|
-
|
18724
|
+
previewItem: string;
|
18524
18725
|
removeButton: string;
|
18525
18726
|
fileInput: string;
|
18526
18727
|
removeFile: string;
|
@@ -18987,7 +19188,7 @@ declare module "defaultCss/cssmodern" {
|
|
18987
19188
|
root: string;
|
18988
19189
|
other: string;
|
18989
19190
|
placeholderInput: string;
|
18990
|
-
|
19191
|
+
previewItem: string;
|
18991
19192
|
fileSignBottom: string;
|
18992
19193
|
fileDecorator: string;
|
18993
19194
|
fileInput: string;
|
@@ -26791,13 +26992,6 @@ declare module "react/components/paneldynamic-actions/paneldynamic-progress-text
|
|
26791
26992
|
protected renderElement(): JSX.Element;
|
26792
26993
|
}
|
26793
26994
|
}
|
26794
|
-
declare module "react/components/paneldynamic-actions/paneldynamic-remove-btn" {
|
26795
|
-
import { SurveyQuestionPanelDynamicAction } from "react/components/paneldynamic-actions/paneldynamic-add-btn";
|
26796
|
-
export class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
26797
|
-
protected handleClick: (event: any) => void;
|
26798
|
-
protected renderElement(): JSX.Element;
|
26799
|
-
}
|
26800
|
-
}
|
26801
26995
|
declare module "react/reactquestion_paneldynamic" {
|
26802
26996
|
import { SurveyQuestionElementBase } from "react/reactquestion_element";
|
26803
26997
|
import { SurveyModel, QuestionPanelDynamicModel } from "entries/core";
|
@@ -27077,6 +27271,13 @@ declare module "react/components/matrix-actions/detail-button/detail-button" {
|
|
27077
27271
|
protected renderElement(): JSX.Element;
|
27078
27272
|
}
|
27079
27273
|
}
|
27274
|
+
declare module "react/components/paneldynamic-actions/paneldynamic-remove-btn" {
|
27275
|
+
import { SurveyQuestionPanelDynamicAction } from "react/components/paneldynamic-actions/paneldynamic-add-btn";
|
27276
|
+
export class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
27277
|
+
protected handleClick: (event: any) => void;
|
27278
|
+
protected renderElement(): JSX.Element;
|
27279
|
+
}
|
27280
|
+
}
|
27080
27281
|
declare module "react/components/survey-actions/survey-nav-button" {
|
27081
27282
|
import { Action } from "entries/core";
|
27082
27283
|
import { ReactSurveyElement } from "react/reactquestion_element";
|