survey-react-ui 1.9.75 → 1.9.77
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 +3 -7
- package/survey-react-ui.d.ts +79 -53
- package/survey-react-ui.js +592 -251
- package/survey-react-ui.js.map +1 -0
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.77",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -12,11 +12,7 @@
|
|
|
12
12
|
"homepage": "https://surveyjs.io/",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"files": [
|
|
15
|
-
"
|
|
16
|
-
"survey-react-ui.min.css",
|
|
17
|
-
"survey-react-ui.d.ts",
|
|
18
|
-
"survey-react-ui.js",
|
|
19
|
-
"survey-react-ui.min.js"
|
|
15
|
+
"**/*"
|
|
20
16
|
],
|
|
21
17
|
"main": "survey-react-ui.js",
|
|
22
18
|
"repository": {
|
|
@@ -25,7 +21,7 @@
|
|
|
25
21
|
},
|
|
26
22
|
"typings": "survey-react-ui.d.ts",
|
|
27
23
|
"dependencies": {
|
|
28
|
-
"survey-core": "
|
|
24
|
+
"survey-core": "1.9.77",
|
|
29
25
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
30
26
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
|
|
31
27
|
}
|
package/survey-react-ui.d.ts
CHANGED
|
@@ -469,7 +469,7 @@ declare module "react/reacttimerpanel" {
|
|
|
469
469
|
protected get timerModel(): SurveyTimerModel;
|
|
470
470
|
private readonly circleLength;
|
|
471
471
|
private get progress();
|
|
472
|
-
render(): JSX.Element;
|
|
472
|
+
render(): JSX.Element | null;
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
declare module "react/components/brand-info" {
|
|
@@ -490,6 +490,12 @@ declare module "react/components/notifier" {
|
|
|
490
490
|
renderElement(): JSX.Element | null;
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
+
declare module "react/components/components-container" {
|
|
494
|
+
import React from "react";
|
|
495
|
+
export class ComponentsContainer extends React.Component<any, any> {
|
|
496
|
+
render(): JSX.Element | null;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
493
499
|
declare module "react/reactSurvey" {
|
|
494
500
|
import { Base, Question, PageModel, SurveyError, SurveyModel, IAttachKey2clickOptions } from "survey-core";
|
|
495
501
|
import { ISurveyCreator } from "react/reactquestion";
|
|
@@ -519,10 +525,7 @@ declare module "react/reactSurvey" {
|
|
|
519
525
|
protected renderCompletedBefore(): JSX.Element;
|
|
520
526
|
protected renderLoading(): JSX.Element;
|
|
521
527
|
protected renderSurvey(): JSX.Element;
|
|
522
|
-
protected renderTimerPanel(location: string): JSX.Element | null;
|
|
523
528
|
protected renderPage(page: PageModel): JSX.Element;
|
|
524
|
-
protected renderProgress(isTop: boolean): JSX.Element | null;
|
|
525
|
-
protected renderNavigation(navPosition: string): JSX.Element | null;
|
|
526
529
|
protected renderEmptySurvey(): JSX.Element;
|
|
527
530
|
protected createSurvey(newProps: any): void;
|
|
528
531
|
private isModelJSONChanged;
|
|
@@ -643,6 +646,37 @@ declare module "react/reactquestion_ranking" {
|
|
|
643
646
|
protected renderElement(): JSX.Element;
|
|
644
647
|
}
|
|
645
648
|
}
|
|
649
|
+
declare module "react/components/rating/rating-item" {
|
|
650
|
+
import { QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
651
|
+
import { SurveyElementBase } from "react/reactquestion_element";
|
|
652
|
+
export interface IRatingItemProps {
|
|
653
|
+
question: QuestionRatingModel;
|
|
654
|
+
item: RenderedRatingItem;
|
|
655
|
+
index: any;
|
|
656
|
+
handleOnClick: any;
|
|
657
|
+
isDisplayMode: boolean;
|
|
658
|
+
}
|
|
659
|
+
export class RatingItem extends SurveyElementBase<IRatingItemProps, any> {
|
|
660
|
+
get question(): QuestionRatingModel;
|
|
661
|
+
get item(): RenderedRatingItem;
|
|
662
|
+
get index(): any;
|
|
663
|
+
getStateElement(): RenderedRatingItem;
|
|
664
|
+
render(): JSX.Element | null;
|
|
665
|
+
componentDidMount(): void;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
declare module "react/components/rating/rating-item-star" {
|
|
669
|
+
import { QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
670
|
+
import { SurveyElementBase } from "react/reactquestion_element";
|
|
671
|
+
import { IRatingItemProps } from "react/components/rating/rating-item";
|
|
672
|
+
export class RatingItemStar extends SurveyElementBase<IRatingItemProps, any> {
|
|
673
|
+
get question(): QuestionRatingModel;
|
|
674
|
+
get item(): RenderedRatingItem;
|
|
675
|
+
get index(): any;
|
|
676
|
+
getStateElement(): RenderedRatingItem;
|
|
677
|
+
render(): JSX.Element | null;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
646
680
|
declare module "react/tagbox-filter" {
|
|
647
681
|
import { DropdownMultiSelectListModel, QuestionTagboxModel } from "survey-core";
|
|
648
682
|
import { SurveyElementBase } from "react/reactquestion_element";
|
|
@@ -1079,25 +1113,48 @@ declare module "react/reactSurveyProgressButtons" {
|
|
|
1079
1113
|
componentWillUnmount(): void;
|
|
1080
1114
|
}
|
|
1081
1115
|
}
|
|
1082
|
-
declare module "react/components/
|
|
1083
|
-
import {
|
|
1116
|
+
declare module "react/components/list/list-item" {
|
|
1117
|
+
import { ListModel } from "survey-core";
|
|
1084
1118
|
import { SurveyElementBase } from "react/reactquestion_element";
|
|
1085
|
-
interface
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
index: any;
|
|
1089
|
-
handleOnClick: any;
|
|
1090
|
-
isDisplayMode: boolean;
|
|
1119
|
+
interface IListItemProps {
|
|
1120
|
+
model: ListModel;
|
|
1121
|
+
item: any;
|
|
1091
1122
|
}
|
|
1092
|
-
export class
|
|
1093
|
-
get
|
|
1094
|
-
get item():
|
|
1095
|
-
|
|
1096
|
-
getStateElement():
|
|
1123
|
+
export class ListItem extends SurveyElementBase<IListItemProps, any> {
|
|
1124
|
+
get model(): ListModel;
|
|
1125
|
+
get item(): any;
|
|
1126
|
+
handleKeydown: (event: any) => void;
|
|
1127
|
+
getStateElement(): any;
|
|
1097
1128
|
render(): JSX.Element | null;
|
|
1098
1129
|
componentDidMount(): void;
|
|
1099
1130
|
}
|
|
1100
1131
|
}
|
|
1132
|
+
declare module "react/components/list/list" {
|
|
1133
|
+
import { ListModel } from "survey-core";
|
|
1134
|
+
import { SurveyElementBase } from "react/reactquestion_element";
|
|
1135
|
+
interface IListProps {
|
|
1136
|
+
model: ListModel;
|
|
1137
|
+
}
|
|
1138
|
+
export class List extends SurveyElementBase<IListProps, any> {
|
|
1139
|
+
private listContainerRef;
|
|
1140
|
+
constructor(props: any);
|
|
1141
|
+
get model(): ListModel;
|
|
1142
|
+
handleKeydown: (event: any) => void;
|
|
1143
|
+
handleMouseMove: (event: any) => void;
|
|
1144
|
+
getStateElement(): ListModel<import("survey-core").Action>;
|
|
1145
|
+
componentDidMount(): void;
|
|
1146
|
+
renderElement(): JSX.Element;
|
|
1147
|
+
renderItems(): JSX.Element[] | null;
|
|
1148
|
+
searchElementContent(): JSX.Element | null;
|
|
1149
|
+
emptyContent(): JSX.Element;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
declare module "react/reactSurveyProgressToc" {
|
|
1153
|
+
import { SurveyNavigationBase } from "react/reactSurveyNavigationBase";
|
|
1154
|
+
export class SurveyProgressToc extends SurveyNavigationBase {
|
|
1155
|
+
render(): JSX.Element;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1101
1158
|
declare module "react/reactquestion_rating" {
|
|
1102
1159
|
import { SurveyQuestionElementBase } from "react/reactquestion_element";
|
|
1103
1160
|
import { QuestionRatingModel } from "survey-core";
|
|
@@ -1105,6 +1162,7 @@ declare module "react/reactquestion_rating" {
|
|
|
1105
1162
|
constructor(props: any);
|
|
1106
1163
|
protected get question(): QuestionRatingModel;
|
|
1107
1164
|
handleOnClick(event: any): void;
|
|
1165
|
+
protected renderItem(item: any, index: Number): JSX.Element;
|
|
1108
1166
|
protected renderElement(): JSX.Element;
|
|
1109
1167
|
}
|
|
1110
1168
|
}
|
|
@@ -1231,42 +1289,6 @@ declare module "react/reactquestion_custom" {
|
|
|
1231
1289
|
protected renderElement(): JSX.Element;
|
|
1232
1290
|
}
|
|
1233
1291
|
}
|
|
1234
|
-
declare module "react/components/list/list-item" {
|
|
1235
|
-
import { ListModel } from "survey-core";
|
|
1236
|
-
import { SurveyElementBase } from "react/reactquestion_element";
|
|
1237
|
-
interface IListItemProps {
|
|
1238
|
-
model: ListModel;
|
|
1239
|
-
item: any;
|
|
1240
|
-
}
|
|
1241
|
-
export class ListItem extends SurveyElementBase<IListItemProps, any> {
|
|
1242
|
-
get model(): ListModel;
|
|
1243
|
-
get item(): any;
|
|
1244
|
-
handleKeydown: (event: any) => void;
|
|
1245
|
-
getStateElement(): any;
|
|
1246
|
-
render(): JSX.Element | null;
|
|
1247
|
-
componentDidMount(): void;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
declare module "react/components/list/list" {
|
|
1251
|
-
import { ListModel } from "survey-core";
|
|
1252
|
-
import { SurveyElementBase } from "react/reactquestion_element";
|
|
1253
|
-
interface IListProps {
|
|
1254
|
-
model: ListModel;
|
|
1255
|
-
}
|
|
1256
|
-
export class List extends SurveyElementBase<IListProps, any> {
|
|
1257
|
-
private listContainerRef;
|
|
1258
|
-
constructor(props: any);
|
|
1259
|
-
get model(): ListModel;
|
|
1260
|
-
handleKeydown: (event: any) => void;
|
|
1261
|
-
handleMouseMove: (event: any) => void;
|
|
1262
|
-
getStateElement(): ListModel;
|
|
1263
|
-
componentDidMount(): void;
|
|
1264
|
-
renderElement(): JSX.Element;
|
|
1265
|
-
renderItems(): JSX.Element[] | null;
|
|
1266
|
-
searchElementContent(): JSX.Element | null;
|
|
1267
|
-
emptyContent(): JSX.Element;
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
1292
|
declare module "react/components/survey-header/logo-image" {
|
|
1271
1293
|
import React from "react";
|
|
1272
1294
|
import { SurveyModel } from "survey-core";
|
|
@@ -1344,6 +1366,8 @@ declare module "entries/react-ui-model" {
|
|
|
1344
1366
|
export { SurveyQuestionCommentItem, SurveyQuestionComment, } from "react/reactquestion_comment";
|
|
1345
1367
|
export { SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, } from "react/reactquestion_checkbox";
|
|
1346
1368
|
export { SurveyQuestionRanking, SurveyQuestionRankingItem, } from "react/reactquestion_ranking";
|
|
1369
|
+
export { RatingItem } from "react/components/rating/rating-item";
|
|
1370
|
+
export { RatingItemStar } from "react/components/rating/rating-item-star";
|
|
1347
1371
|
export { TagboxFilterString } from "react/tagbox-filter";
|
|
1348
1372
|
export { SurveyQuestionOptionItem } from "react/dropdown-item";
|
|
1349
1373
|
export { SurveyQuestionDropdownBase } from "react/dropdown-base";
|
|
@@ -1367,6 +1391,7 @@ declare module "entries/react-ui-model" {
|
|
|
1367
1391
|
export { SurveyQuestionPanelDynamic } from "react/reactquestion_paneldynamic";
|
|
1368
1392
|
export { SurveyProgress } from "react/reactSurveyProgress";
|
|
1369
1393
|
export { SurveyProgressButtons } from "react/reactSurveyProgressButtons";
|
|
1394
|
+
export { SurveyProgressToc } from "react/reactSurveyProgressToc";
|
|
1370
1395
|
export { SurveyQuestionRating } from "react/reactquestion_rating";
|
|
1371
1396
|
export { SurveyQuestionRatingDropdown } from "react/rating-dropdown";
|
|
1372
1397
|
export { SurveyQuestionExpression } from "react/reactquestion_expression";
|
|
@@ -1398,6 +1423,7 @@ declare module "entries/react-ui-model" {
|
|
|
1398
1423
|
export { MatrixRow } from "react/components/matrix/row";
|
|
1399
1424
|
export { Skeleton } from "react/components/skeleton";
|
|
1400
1425
|
export { NotifierComponent } from "react/components/notifier";
|
|
1426
|
+
export { ComponentsContainer } from "react/components/components-container";
|
|
1401
1427
|
export { CharacterCounterComponent } from "react/components/character-counter";
|
|
1402
1428
|
export { SurveyLocStringViewer } from "react/string-viewer";
|
|
1403
1429
|
export { SurveyLocStringEditor } from "react/string-editor";
|