survey-react 1.9.138 → 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 +352 -15
- 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.min.css +1 -1
- package/survey.react.d.ts +175 -19
- package/survey.react.js +557 -97
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
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;
|
@@ -2880,6 +2939,7 @@ declare module "question_custom" {
|
|
2880
2939
|
afterRenderCore(el: any): void;
|
2881
2940
|
get contentQuestion(): Question;
|
2882
2941
|
protected createQuestion(): Question;
|
2942
|
+
private checkCreatedQuestion;
|
2883
2943
|
onSurveyLoad(): void;
|
2884
2944
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
2885
2945
|
protected convertDataName(name: string): string;
|
@@ -3558,7 +3618,7 @@ declare module "panel" {
|
|
3558
3618
|
focusIn(): void;
|
3559
3619
|
protected getHasFrameV2(): boolean;
|
3560
3620
|
protected getIsNested(): boolean;
|
3561
|
-
|
3621
|
+
get showPanelAsPage(): boolean;
|
3562
3622
|
protected getCssRoot(cssClasses: {
|
3563
3623
|
[index: string]: string;
|
3564
3624
|
}): string;
|
@@ -6415,6 +6475,7 @@ declare module "question_paneldynamic" {
|
|
6415
6475
|
*/
|
6416
6476
|
get showQuestionNumbers(): string;
|
6417
6477
|
set showQuestionNumbers(val: string);
|
6478
|
+
protected notifySurveyOnChildrenVisibilityChanged(): boolean;
|
6418
6479
|
/**
|
6419
6480
|
* Specifies the location of the Delete Panel button relative to panel content.
|
6420
6481
|
*
|
@@ -6778,17 +6839,24 @@ declare module "question_signaturepad" {
|
|
6778
6839
|
set backgroundImage(val: string);
|
6779
6840
|
get clearButtonCaption(): string;
|
6780
6841
|
/**
|
6781
|
-
* 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.
|
6782
6843
|
*
|
6783
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.
|
6784
6847
|
*/
|
6785
6848
|
showPlaceholder: boolean;
|
6849
|
+
get locRenderedPlaceholder(): any;
|
6786
6850
|
nothingIsDrawn(): boolean;
|
6787
6851
|
needShowPlaceholder(): boolean;
|
6788
6852
|
/**
|
6789
|
-
* 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`.
|
6790
6854
|
*/
|
6791
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;
|
6792
6860
|
onBlur: (event: any) => void;
|
6793
6861
|
protected uploadResultItemToValue(r: any): any;
|
6794
6862
|
protected setValueFromResult(arg: any): void;
|
@@ -8321,7 +8389,7 @@ declare module "mask/input_element_adapter" {
|
|
8321
8389
|
private inputMaskInstance;
|
8322
8390
|
private inputElement;
|
8323
8391
|
private prevUnmaskedValue;
|
8324
|
-
constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?:
|
8392
|
+
constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
|
8325
8393
|
inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
|
8326
8394
|
clickHandler: (event: any) => void;
|
8327
8395
|
beforeInputHandler: (event: any) => void;
|
@@ -11587,7 +11655,7 @@ declare module "survey" {
|
|
11587
11655
|
get clearValueOnDisableItems(): boolean;
|
11588
11656
|
set clearValueOnDisableItems(val: boolean);
|
11589
11657
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
11590
|
-
questionVisibilityChanged(question: Question, newValue: boolean): void;
|
11658
|
+
questionVisibilityChanged(question: Question, newValue: boolean, resetIndexes: boolean): void;
|
11591
11659
|
pageVisibilityChanged(page: PageModel, newValue: boolean): void;
|
11592
11660
|
panelVisibilityChanged(panel: PanelModel, newValue: boolean): void;
|
11593
11661
|
questionCreated(question: Question): any;
|
@@ -11866,6 +11934,55 @@ declare module "survey" {
|
|
11866
11934
|
removeScrollEventListener(): void;
|
11867
11935
|
}
|
11868
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
|
+
}
|
11869
11986
|
declare module "survey-element" {
|
11870
11987
|
import { Base } from "base";
|
11871
11988
|
import { IAction } from "actions/action";
|
@@ -12197,6 +12314,7 @@ declare module "survey-element" {
|
|
12197
12314
|
isSingleInRow: boolean;
|
12198
12315
|
private shouldAddRunnerStyles;
|
12199
12316
|
protected get isCompact(): boolean;
|
12317
|
+
private canHaveFrameStyles;
|
12200
12318
|
protected getHasFrameV2(): boolean;
|
12201
12319
|
protected getIsNested(): boolean;
|
12202
12320
|
protected getCssRoot(cssClasses: {
|
@@ -12267,6 +12385,9 @@ declare module "survey-element" {
|
|
12267
12385
|
get additionalTitleToolbar(): ActionContainer;
|
12268
12386
|
protected getAdditionalTitleToolbar(): ActionContainer | null;
|
12269
12387
|
protected getCssTitle(cssClasses: any): string;
|
12388
|
+
get isDisabledStyle(): boolean;
|
12389
|
+
get isReadOnlyStyle(): boolean;
|
12390
|
+
get isPreviewStyle(): boolean;
|
12270
12391
|
localeChanged(): void;
|
12271
12392
|
private wrapperElement?;
|
12272
12393
|
setWrapperElement(element?: HTMLElement): void;
|
@@ -12619,6 +12740,7 @@ declare module "question" {
|
|
12619
12740
|
set titleLocation(value: string);
|
12620
12741
|
getTitleOwner(): ITitleOwner;
|
12621
12742
|
protected getIsTitleRenderedAsString(): boolean;
|
12743
|
+
protected notifySurveyOnChildrenVisibilityChanged(): boolean;
|
12622
12744
|
private notifySurveyVisibilityChanged;
|
12623
12745
|
protected clearValueOnHidding(isClearOnHidden: boolean): void;
|
12624
12746
|
/**
|
@@ -14023,7 +14145,7 @@ declare module "base-interfaces" {
|
|
14023
14145
|
getQuestionByName(name: string): IQuestion;
|
14024
14146
|
pageVisibilityChanged(page: IPage, newValue: boolean): any;
|
14025
14147
|
panelVisibilityChanged(panel: IPanel, newValue: boolean): any;
|
14026
|
-
questionVisibilityChanged(question: IQuestion, newValue: boolean): any;
|
14148
|
+
questionVisibilityChanged(question: IQuestion, newValue: boolean, resetIndexes: boolean): any;
|
14027
14149
|
isEditingSurveyElement: boolean;
|
14028
14150
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
14029
14151
|
questionsOrder: string;
|
@@ -15181,6 +15303,7 @@ declare module "popup" {
|
|
15181
15303
|
private onDispose;
|
15182
15304
|
setWidthByTarget: boolean;
|
15183
15305
|
focusFirstInputSelector: string;
|
15306
|
+
locale: string;
|
15184
15307
|
contentComponentName: string;
|
15185
15308
|
contentComponentData: T;
|
15186
15309
|
verticalPosition: VerticalPosition;
|
@@ -16099,6 +16222,7 @@ declare module "question_matrix" {
|
|
16099
16222
|
onMatrixRowChanged(row: MatrixRowModel): void;
|
16100
16223
|
getCorrectedRowValue(value: any): any;
|
16101
16224
|
cssClasses: any;
|
16225
|
+
isDisabledStyle: boolean;
|
16102
16226
|
isInputReadOnly: boolean;
|
16103
16227
|
hasErrorInRow(row: MatrixRowModel): boolean;
|
16104
16228
|
}
|
@@ -16899,6 +17023,7 @@ declare module "question_ranking" {
|
|
16899
17023
|
getItemTabIndex(item: ItemValue): number;
|
16900
17024
|
protected supportContainerQueries(): boolean;
|
16901
17025
|
get rootClass(): string;
|
17026
|
+
protected isItemSelectedCore(item: ItemValue): boolean;
|
16902
17027
|
protected getItemClassCore(item: ItemValue, options: any): string;
|
16903
17028
|
getContainerClasses(containerType?: string): string;
|
16904
17029
|
protected isItemCurrentDropTarget(item: ItemValue): boolean;
|
@@ -17455,6 +17580,13 @@ declare module "question_boolean" {
|
|
17455
17580
|
set labelTrue(val: string);
|
17456
17581
|
get locLabelTrue(): LocalizableString;
|
17457
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
|
+
*/
|
17458
17590
|
swapOrder: boolean;
|
17459
17591
|
get locLabelLeft(): LocalizableString;
|
17460
17592
|
get locLabelRight(): LocalizableString;
|
@@ -17494,6 +17626,7 @@ declare module "question_boolean" {
|
|
17494
17626
|
getCheckboxItemCss(): string;
|
17495
17627
|
getLabelCss(checked: boolean): string;
|
17496
17628
|
get svgIcon(): string;
|
17629
|
+
get itemSvgIcon(): string;
|
17497
17630
|
get allowClick(): boolean;
|
17498
17631
|
getCheckedLabel(): LocalizableString;
|
17499
17632
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
@@ -17903,8 +18036,16 @@ declare module "mask/mask_pattern" {
|
|
17903
18036
|
* - `dd` - Day of the month, with leading zero for single-digit values.
|
17904
18037
|
* - `yy` - Last two digits of the year.
|
17905
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).
|
17906
18047
|
*
|
17907
|
-
* Example: `mm/dd/yyyy`
|
18048
|
+
* Example: `mm/dd/yyyy HH:MM:ss`
|
17908
18049
|
*
|
17909
18050
|
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
17910
18051
|
* @see [settings.maskSettings](https://surveyjs.io/form-library/documentation/api-reference/settings#maskSettings)
|
@@ -18013,11 +18154,13 @@ declare module "mask/mask_numeric" {
|
|
18013
18154
|
declare module "mask/mask_datetime" {
|
18014
18155
|
import { InputMaskPattern } from "mask/mask_pattern";
|
18015
18156
|
import { IMaskedInputResult, ITextInputParams } from "mask/mask_utils";
|
18157
|
+
type DateTimeMaskLexemType = "month" | "day" | "year" | "hour" | "minute" | "second" | "timeMarker" | "separator";
|
18016
18158
|
export interface IDateTimeMaskLexem {
|
18017
|
-
type:
|
18159
|
+
type: DateTimeMaskLexemType;
|
18018
18160
|
value: any;
|
18019
18161
|
count: number;
|
18020
18162
|
maxCount: number;
|
18163
|
+
upperCase: boolean;
|
18021
18164
|
}
|
18022
18165
|
interface IDateTimeComposition {
|
18023
18166
|
day: number;
|
@@ -18026,6 +18169,7 @@ declare module "mask/mask_datetime" {
|
|
18026
18169
|
hour?: number;
|
18027
18170
|
minute?: number;
|
18028
18171
|
second?: number;
|
18172
|
+
timeMarker?: string;
|
18029
18173
|
min?: Date;
|
18030
18174
|
max?: Date;
|
18031
18175
|
}
|
@@ -18051,9 +18195,12 @@ declare module "mask/mask_datetime" {
|
|
18051
18195
|
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
18052
18196
|
*/
|
18053
18197
|
export class InputMaskDateTime extends InputMaskPattern {
|
18198
|
+
private defaultDate;
|
18054
18199
|
private turnOfTheCentury;
|
18200
|
+
private twelve;
|
18055
18201
|
private lexems;
|
18056
18202
|
private inputDateTimeData;
|
18203
|
+
private validBeginningOfNumbers;
|
18057
18204
|
/**
|
18058
18205
|
* A minimum date and time value that respondents can enter.
|
18059
18206
|
* @see max
|
@@ -18064,6 +18211,9 @@ declare module "mask/mask_datetime" {
|
|
18064
18211
|
* @see min
|
18065
18212
|
*/
|
18066
18213
|
max: string;
|
18214
|
+
get hasDatePart(): boolean;
|
18215
|
+
get hasTimePart(): boolean;
|
18216
|
+
private get is12Hours();
|
18067
18217
|
getType(): string;
|
18068
18218
|
protected updateLiterals(): void;
|
18069
18219
|
private leaveOnlyNumbers;
|
@@ -18071,13 +18221,19 @@ declare module "mask/mask_datetime" {
|
|
18071
18221
|
private initInputDateTimeData;
|
18072
18222
|
getISO_8601Format(dateTime: IDateTimeComposition): string;
|
18073
18223
|
private isYearValid;
|
18224
|
+
private createIDateTimeCompositionWithDefaults;
|
18225
|
+
private getMaxDateForMonth;
|
18074
18226
|
private isDateValid;
|
18075
18227
|
private getPlaceholder;
|
18228
|
+
private isDateValid12;
|
18229
|
+
private updateTimeMarkerInputDateTimeData;
|
18076
18230
|
private updateInputDateTimeData;
|
18231
|
+
private checkValidationDateTimePart;
|
18077
18232
|
private getCorrectDatePartFormat;
|
18078
18233
|
private createIDateTimeComposition;
|
18079
18234
|
private parseTwoDigitYear;
|
18080
18235
|
private getFormatedString;
|
18236
|
+
private cleanTimeMarker;
|
18081
18237
|
private setInputDateTimeData;
|
18082
18238
|
_getMaskedValue(src: string, matchWholeMask?: boolean): string;
|
18083
18239
|
private getParts;
|
@@ -18565,7 +18721,7 @@ declare module "defaultCss/cssstandard" {
|
|
18565
18721
|
file: {
|
18566
18722
|
root: string;
|
18567
18723
|
placeholderInput: string;
|
18568
|
-
|
18724
|
+
previewItem: string;
|
18569
18725
|
removeButton: string;
|
18570
18726
|
fileInput: string;
|
18571
18727
|
removeFile: string;
|
@@ -19032,7 +19188,7 @@ declare module "defaultCss/cssmodern" {
|
|
19032
19188
|
root: string;
|
19033
19189
|
other: string;
|
19034
19190
|
placeholderInput: string;
|
19035
|
-
|
19191
|
+
previewItem: string;
|
19036
19192
|
fileSignBottom: string;
|
19037
19193
|
fileDecorator: string;
|
19038
19194
|
fileInput: string;
|
@@ -26836,13 +26992,6 @@ declare module "react/components/paneldynamic-actions/paneldynamic-progress-text
|
|
26836
26992
|
protected renderElement(): JSX.Element;
|
26837
26993
|
}
|
26838
26994
|
}
|
26839
|
-
declare module "react/components/paneldynamic-actions/paneldynamic-remove-btn" {
|
26840
|
-
import { SurveyQuestionPanelDynamicAction } from "react/components/paneldynamic-actions/paneldynamic-add-btn";
|
26841
|
-
export class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
26842
|
-
protected handleClick: (event: any) => void;
|
26843
|
-
protected renderElement(): JSX.Element;
|
26844
|
-
}
|
26845
|
-
}
|
26846
26995
|
declare module "react/reactquestion_paneldynamic" {
|
26847
26996
|
import { SurveyQuestionElementBase } from "react/reactquestion_element";
|
26848
26997
|
import { SurveyModel, QuestionPanelDynamicModel } from "entries/core";
|
@@ -27122,6 +27271,13 @@ declare module "react/components/matrix-actions/detail-button/detail-button" {
|
|
27122
27271
|
protected renderElement(): JSX.Element;
|
27123
27272
|
}
|
27124
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
|
+
}
|
27125
27281
|
declare module "react/components/survey-actions/survey-nav-button" {
|
27126
27282
|
import { Action } from "entries/core";
|
27127
27283
|
import { ReactSurveyElement } from "react/reactquestion_element";
|