survey-react-ui 1.9.21 → 1.9.24
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/package.json +1 -1
- package/survey-react-ui.d.ts +21 -16
- package/survey-react-ui.js +856 -293
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey JavaScript library for React (without core) v1.9.
|
|
2
|
+
* Type definition for Survey JavaScript library for React (without core) v1.9.24
|
|
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
|
*/
|
|
@@ -119,7 +119,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
119
119
|
render(): any;
|
|
120
120
|
protected wrapElement(element: any): any;
|
|
121
121
|
protected get isRendering(): boolean;
|
|
122
|
-
protected
|
|
122
|
+
protected getRenderedElements(): Array<Base>;
|
|
123
123
|
protected canRender(): boolean;
|
|
124
124
|
protected renderElement(): any;
|
|
125
125
|
protected get changedStatePropName(): string;
|
|
@@ -312,18 +312,6 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
|
312
312
|
protected renderInput(): any;
|
|
313
313
|
protected renderCaption(): any;
|
|
314
314
|
}
|
|
315
|
-
export declare class SurveyNavigation extends SurveyNavigationBase {
|
|
316
|
-
constructor(props: any);
|
|
317
|
-
handlePrevClick(event: any): void;
|
|
318
|
-
handleNextClick(event: any): void;
|
|
319
|
-
handleNextMouseDown(event: any): boolean;
|
|
320
|
-
handleMouseDown(event: any): boolean;
|
|
321
|
-
handleCompleteClick(event: any): void;
|
|
322
|
-
handlePreviewClick(event: any): void;
|
|
323
|
-
handleStartClick(event: any): void;
|
|
324
|
-
render(): any;
|
|
325
|
-
protected renderButton(click: any, mouseDown: any, text: string, btnClassName: string): any;
|
|
326
|
-
}
|
|
327
315
|
export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
328
316
|
constructor(props: any);
|
|
329
317
|
protected rootRef: any;
|
|
@@ -396,7 +384,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
|
396
384
|
componentWillUnmount(): void;
|
|
397
385
|
protected updateDomElement(): void;
|
|
398
386
|
protected get questionBase(): Question;
|
|
399
|
-
protected
|
|
387
|
+
protected getRenderedElements(): Array<Base>;
|
|
400
388
|
protected get creator(): ISurveyCreator;
|
|
401
389
|
protected canRender(): boolean;
|
|
402
390
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
@@ -443,6 +431,12 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
|
|
|
443
431
|
componentWillUnmount(): void;
|
|
444
432
|
protected renderElement(): any;
|
|
445
433
|
}
|
|
434
|
+
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
|
435
|
+
constructor(props: any);
|
|
436
|
+
protected get item(): Action;
|
|
437
|
+
protected canRender(): boolean;
|
|
438
|
+
protected renderElement(): any;
|
|
439
|
+
}
|
|
446
440
|
export declare class SurveyPage extends SurveyPanelBase {
|
|
447
441
|
constructor(props: any);
|
|
448
442
|
protected getPanelBase(): PanelModelBase;
|
|
@@ -572,12 +566,23 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
|
572
566
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
|
573
567
|
constructor(props: any);
|
|
574
568
|
protected get question(): QuestionImagePickerModel;
|
|
575
|
-
handleOnChange(event: any): void;
|
|
576
569
|
protected renderElement(): any;
|
|
577
570
|
protected getItems(cssClasses: any): Array<any>;
|
|
578
571
|
protected get textStyle(): any;
|
|
579
572
|
protected renderItem(key: string, item: ItemValue, cssClasses: any): any;
|
|
580
573
|
}
|
|
574
|
+
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
575
|
+
constructor(props: any);
|
|
576
|
+
protected getStateElement(): any;
|
|
577
|
+
componentDidMount(): void;
|
|
578
|
+
componentWillUnmount(): void;
|
|
579
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
580
|
+
protected get cssClasses(): any;
|
|
581
|
+
protected get item(): any;
|
|
582
|
+
protected get question(): any;
|
|
583
|
+
handleOnChange(event: any): void;
|
|
584
|
+
protected renderElement(): any;
|
|
585
|
+
}
|
|
581
586
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
|
582
587
|
constructor(props: any);
|
|
583
588
|
protected get question(): QuestionMatrixModel;
|