survey-js-ui 2.0.10 → 2.1.0
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/fesm/survey-js-ui.mjs +108 -14
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +280 -125
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/entries/react-ui-model.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_checkbox.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_radiogroup.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_slider.d.ts +16 -0
|
@@ -44,6 +44,7 @@ export { SurveyProgressButtons } from "../src/progressButtons";
|
|
|
44
44
|
export { SurveyProgressToc } from "../src/progressToc";
|
|
45
45
|
export { SurveyQuestionRating } from "../src/reactquestion_rating";
|
|
46
46
|
export { SurveyQuestionRatingDropdown } from "../src/rating-dropdown";
|
|
47
|
+
export { SurveyQuestionSlider } from "../src/reactquestion_slider";
|
|
47
48
|
export { SurveyQuestionExpression } from "../src/reactquestion_expression";
|
|
48
49
|
export { PopupSurvey, SurveyWindow } from "../src/react-popup-survey";
|
|
49
50
|
export { ReactQuestionFactory } from "../src/reactquestion_factory";
|
|
@@ -25,6 +25,7 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
|
25
25
|
protected get isFirst(): any;
|
|
26
26
|
protected get index(): number;
|
|
27
27
|
private get hideCaption();
|
|
28
|
+
private get ariaLabel();
|
|
28
29
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
29
30
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
30
31
|
handleOnChange: (event: any) => void;
|
|
@@ -25,6 +25,7 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
|
25
25
|
protected get index(): number;
|
|
26
26
|
protected get isChecked(): boolean;
|
|
27
27
|
private get hideCaption();
|
|
28
|
+
private get ariaLabel();
|
|
28
29
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
29
30
|
handleOnChange(event: any): void;
|
|
30
31
|
handleOnMouseDown(event: any): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
+
import { Base, QuestionSliderModel } from "survey-core";
|
|
4
|
+
export declare class SurveyQuestionSlider extends SurveyQuestionElementBase {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
componentDidMount(): void;
|
|
7
|
+
protected get question(): QuestionSliderModel;
|
|
8
|
+
protected getStateElement(): Base;
|
|
9
|
+
protected renderElement(): React.JSX.Element;
|
|
10
|
+
private rangeInputRef;
|
|
11
|
+
private getInputsAndThumbs;
|
|
12
|
+
private getThumb;
|
|
13
|
+
private getInput;
|
|
14
|
+
private getRangeInput;
|
|
15
|
+
private getLabels;
|
|
16
|
+
}
|