survey-react 1.9.131 → 1.9.132
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 +10 -1
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +12 -3
- package/survey.react.js +108 -39
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
@@ -690,6 +690,7 @@ declare module "popup-view-model" {
|
|
690
690
|
}
|
691
691
|
}
|
692
692
|
declare module "utils/utils" {
|
693
|
+
import { PopupBaseViewModel } from "popup-view-model";
|
693
694
|
function compareVersions(a: any, b: any): number;
|
694
695
|
function confirmAction(message: string): boolean;
|
695
696
|
function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string, rootElement?: HTMLElement): void;
|
@@ -733,6 +734,7 @@ declare module "utils/utils" {
|
|
733
734
|
get result(): string;
|
734
735
|
}
|
735
736
|
export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement): boolean;
|
737
|
+
export function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
736
738
|
function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
737
739
|
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|
738
740
|
}
|
@@ -2681,10 +2683,12 @@ declare module "question_custom" {
|
|
2681
2683
|
private setIsContentElement;
|
2682
2684
|
setVisibleIndex(val: number): number;
|
2683
2685
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
2686
|
+
onSurveyValueChanged(newValue: any): void;
|
2684
2687
|
getValue(name: string): any;
|
2685
2688
|
protected getQuestionByName(name: string): IQuestion;
|
2686
2689
|
private settingNewValue;
|
2687
2690
|
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
|
2691
|
+
private runPanelTriggers;
|
2688
2692
|
getFilteredValues(): any;
|
2689
2693
|
private updateValueCoreWithPanelValue;
|
2690
2694
|
private getContentPanelValue;
|
@@ -8213,6 +8217,7 @@ declare module "question_multipletext" {
|
|
8213
8217
|
export class MultipleTextEditorModel extends QuestionTextModel {
|
8214
8218
|
get a11y_input_ariaLabel(): string;
|
8215
8219
|
get a11y_input_ariaLabelledBy(): string;
|
8220
|
+
get a11y_input_ariaDescribedBy(): string;
|
8216
8221
|
}
|
8217
8222
|
/**
|
8218
8223
|
* A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
|
@@ -11517,6 +11522,7 @@ declare module "survey-element" {
|
|
11517
11522
|
get cssClasses(): any;
|
11518
11523
|
get cssTitle(): string;
|
11519
11524
|
get ariaTitleId(): string;
|
11525
|
+
get ariaDescriptionId(): string;
|
11520
11526
|
get titleTabIndex(): number;
|
11521
11527
|
get titleAriaExpanded(): any;
|
11522
11528
|
get titleAriaRole(): any;
|
@@ -12403,6 +12409,7 @@ declare module "question" {
|
|
12403
12409
|
get id(): string;
|
12404
12410
|
set id(val: string);
|
12405
12411
|
get ariaTitleId(): string;
|
12412
|
+
get ariaDescriptionId(): string;
|
12406
12413
|
get commentId(): string;
|
12407
12414
|
/**
|
12408
12415
|
* Specifies whether to display the "Other" choice item. Incompatible with the `showCommentArea` property.
|
@@ -12815,14 +12822,16 @@ declare module "question" {
|
|
12815
12822
|
get ariaRequired(): "true" | "false";
|
12816
12823
|
get ariaInvalid(): "true" | "false";
|
12817
12824
|
get ariaLabelledBy(): string;
|
12818
|
-
get ariaExpanded(): string;
|
12819
12825
|
get ariaDescribedBy(): string;
|
12826
|
+
get ariaExpanded(): string;
|
12827
|
+
get ariaErrormessage(): string;
|
12820
12828
|
get a11y_input_ariaRole(): string;
|
12821
12829
|
get a11y_input_ariaRequired(): "true" | "false";
|
12822
12830
|
get a11y_input_ariaInvalid(): "true" | "false";
|
12823
12831
|
get a11y_input_ariaLabel(): string;
|
12824
12832
|
get a11y_input_ariaLabelledBy(): string;
|
12825
12833
|
get a11y_input_ariaDescribedBy(): string;
|
12834
|
+
get a11y_input_ariaErrormessage(): string;
|
12826
12835
|
}
|
12827
12836
|
}
|
12828
12837
|
declare module "itemvalue" {
|
@@ -14597,7 +14606,7 @@ declare module "base" {
|
|
14597
14606
|
geValueFromHash(): any;
|
14598
14607
|
protected setPropertyValueCore(propertiesHash: any, name: string, val: any): void;
|
14599
14608
|
get isEditingSurveyElement(): boolean;
|
14600
|
-
iteratePropertiesHash(func: (hash: any, key:
|
14609
|
+
iteratePropertiesHash(func: (hash: any, key: string) => void): void;
|
14601
14610
|
/**
|
14602
14611
|
* Assigns a new value to a specified property.
|
14603
14612
|
* @param name A property name.
|
@@ -15320,7 +15329,7 @@ declare module "settings" {
|
|
15320
15329
|
*/
|
15321
15330
|
showMaxLengthIndicator: boolean;
|
15322
15331
|
/**
|
15323
|
-
*
|
15332
|
+
* Specifies whether to animate survey elements.
|
15324
15333
|
*
|
15325
15334
|
* Default value: `true`
|
15326
15335
|
*/
|