freemium-survey-components 1.0.264 → 1.0.265
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/lib/types/components/binary/binary.stories.d.ts +1 -0
- package/lib/types/components/button/button.stories.d.ts +1 -0
- package/lib/types/components/checkbox/checkbox.stories.d.ts +1 -0
- package/lib/types/components/date-time/dateTime.stories.d.ts +1 -0
- package/lib/types/components/matrix/matrix.stories.d.ts +1 -0
- package/lib/types/components/matrix-widget/matrix-widget.stories.d.ts +1 -0
- package/lib/types/components/progressbar/progressbar.stories.d.ts +1 -0
- package/lib/types/components/radio-button/radio.stories.d.ts +1 -0
- package/lib/types/components/range/range.stories.d.ts +31 -0
- package/lib/types/components/rank-order/rank-order.stories.d.ts +1 -0
- package/lib/types/components/slider/slider.stories.d.ts +1 -0
- package/lib/types/components/text-input/text-input.stories.d.ts +1 -0
- package/lib/types/components/tooltip/index.d.ts +2 -0
- package/lib/types/components/tooltip/tooltip.stories.d.ts +1 -0
- package/lib/types/mock.d.ts +80 -0
- package/lib/types/survey/meta-channel-preview/channels.stories.d.ts +1 -0
- package/lib/types/survey/survey.stories.d.ts +1 -0
- package/lib/types/types.d.ts +11 -6
- package/package.json +1 -1
- package/freemium-survey-components-1.0.263.tgz +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonStyleShapeTypes, ButtonStyleTypes, PropertiesLabelsPreferenceType, QuestionTypeVariantType, ScalePropertiesOrderType, WidgetStyles } from '../../types';
|
|
3
|
+
declare type RangeStoryProps = {
|
|
4
|
+
btShape: ButtonStyleShapeTypes;
|
|
5
|
+
btType: ButtonStyleTypes;
|
|
6
|
+
order: ScalePropertiesOrderType;
|
|
7
|
+
preference: PropertiesLabelsPreferenceType;
|
|
8
|
+
variant: QuestionTypeVariantType;
|
|
9
|
+
labels: string[];
|
|
10
|
+
scale: number;
|
|
11
|
+
value: number;
|
|
12
|
+
isMobile: boolean;
|
|
13
|
+
isWidget: boolean;
|
|
14
|
+
widgetStyle: WidgetStyles;
|
|
15
|
+
};
|
|
16
|
+
export declare const RangeStory: (props: RangeStoryProps) => JSX.Element;
|
|
17
|
+
declare const _default: {
|
|
18
|
+
title: string;
|
|
19
|
+
component: (props: RangeStoryProps) => JSX.Element;
|
|
20
|
+
argTypes: {
|
|
21
|
+
scale: {
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
min: number;
|
|
25
|
+
max: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
args: RangeStoryProps;
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { SurveyType } from './types';
|
|
2
|
+
export declare const CSAT_SURVEY_DROPDOWN_DATETIME_QUESTION: any;
|
|
3
|
+
export declare const CSAT_SURVEY: SurveyType;
|
|
4
|
+
export declare const CSAT_SURVEY_MESSAGE_CONSENT_QUESTIONS: SurveyType;
|
|
5
|
+
export declare const FORM_FIELDS_SURVEY: SurveyType;
|
|
6
|
+
export declare const CES_YES_NO_SURVEY: SurveyType;
|
|
7
|
+
export declare const NPS_SURVEY: SurveyType;
|
|
8
|
+
export declare const RESUBMIT_SURVEY: SurveyType;
|
|
9
|
+
export declare const SURVEY_TO_USE: SurveyType;
|
|
10
|
+
export declare const mockPlaceholders: {
|
|
11
|
+
'{{contact.user_created_date}}': string;
|
|
12
|
+
'{{contact.zipcode}}': string;
|
|
13
|
+
'{{contact.product}}': string;
|
|
14
|
+
'{{account.company_name}}': string;
|
|
15
|
+
'{{account.account_name}}': string;
|
|
16
|
+
'{{contact.last_emailed}}': string;
|
|
17
|
+
'{{contact.updated_at}}': string;
|
|
18
|
+
'{{contact.plan}}': string;
|
|
19
|
+
'{{contact.first_name}}': string;
|
|
20
|
+
'{{contact.industry}}': string;
|
|
21
|
+
'{{contact.user_id}}': string;
|
|
22
|
+
'{{contact.address}}': string;
|
|
23
|
+
'{{contact.role}}': string;
|
|
24
|
+
'{{contact.account_status}}': string;
|
|
25
|
+
'{{contact.city}}': string;
|
|
26
|
+
'{{contact.account_identifier}}': string;
|
|
27
|
+
'{{survey.desc}}': string;
|
|
28
|
+
'{{contact.work_number}}': string;
|
|
29
|
+
'{{contact.company_website}}': string;
|
|
30
|
+
'{{contact.unsubscribe_time}}': string;
|
|
31
|
+
'{{survey.name}}': string;
|
|
32
|
+
'{{contact.created_at}}': string;
|
|
33
|
+
'{{contact.email_state}}': string;
|
|
34
|
+
'{{contact.prod_acc_id}}': string;
|
|
35
|
+
'{{account.name}}': string;
|
|
36
|
+
'{{contact.mobile_number}}': string;
|
|
37
|
+
'{{contact.company_name}}': string;
|
|
38
|
+
'{{contact.timezone}}': string;
|
|
39
|
+
'{{account.domain}}': string;
|
|
40
|
+
'{{contact.contact_status}}': string;
|
|
41
|
+
'{{contact.designation}}': string;
|
|
42
|
+
'{{contact.last_name}}': string;
|
|
43
|
+
'{{contact.state}}': string;
|
|
44
|
+
'{{contact.language}}': string;
|
|
45
|
+
'{{contact.contact_source}}': string;
|
|
46
|
+
'{{contact.work_email}}': string;
|
|
47
|
+
'{{contact.country}}': string;
|
|
48
|
+
};
|
|
49
|
+
export declare const MOCK_CONTACT_DATA: {
|
|
50
|
+
address: string;
|
|
51
|
+
city: string;
|
|
52
|
+
country: string;
|
|
53
|
+
state: string;
|
|
54
|
+
first_name: string;
|
|
55
|
+
last_name: string;
|
|
56
|
+
work_email: string;
|
|
57
|
+
mobile_number: string;
|
|
58
|
+
company_name: string;
|
|
59
|
+
language: string;
|
|
60
|
+
email_state: string;
|
|
61
|
+
sample_field: string;
|
|
62
|
+
sample_date: string;
|
|
63
|
+
};
|
|
64
|
+
export declare const MOCK_TRANSLATIONS_VARIABLES: {
|
|
65
|
+
edit_response: string;
|
|
66
|
+
another_response: string;
|
|
67
|
+
redirect_msg: string;
|
|
68
|
+
prev_statement: string;
|
|
69
|
+
prev_question: string;
|
|
70
|
+
next_question: string;
|
|
71
|
+
next: string;
|
|
72
|
+
skip: string;
|
|
73
|
+
submit_survey: string;
|
|
74
|
+
submitting: string;
|
|
75
|
+
};
|
|
76
|
+
export declare const EMOJI_ALL_SCALES: SurveyType;
|
|
77
|
+
export declare const STAR_ALL_SCALES: SurveyType;
|
|
78
|
+
export declare const TEXT_ALL_SCALES: SurveyType;
|
|
79
|
+
export declare const ALL_QUESTION_TYPES_SURVEY: SurveyType;
|
|
80
|
+
export declare const NUMBER_ALL_SCALES: SurveyType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/types/types.d.ts
CHANGED
|
@@ -187,6 +187,13 @@ export declare type SurveyQuestionType = {
|
|
|
187
187
|
meta?: QuestionMetaType | null;
|
|
188
188
|
dependent_blocks?: DependentBlockType[] | null;
|
|
189
189
|
choices?: QuestionChoiceType[] | null;
|
|
190
|
+
question_weightage?: QuestionWeightageType | null;
|
|
191
|
+
};
|
|
192
|
+
declare type QuestionWeightageType = {
|
|
193
|
+
is_choice_scoring_enabled: boolean;
|
|
194
|
+
weightage: {
|
|
195
|
+
[key: string]: number;
|
|
196
|
+
};
|
|
190
197
|
};
|
|
191
198
|
export declare type SurveyQuestionDetailsType = {
|
|
192
199
|
questions?: SurveyQuestionType[] | null;
|
|
@@ -221,12 +228,10 @@ export declare type SurveyMetaType = {
|
|
|
221
228
|
header_alignment?: HeaderAlignmentType | null;
|
|
222
229
|
show_info_only_on_first?: boolean;
|
|
223
230
|
created_by?: string | null;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
fileUrl: string;
|
|
229
|
-
}[];
|
|
231
|
+
scoring_configuration?: {
|
|
232
|
+
is_advanced_scoring_enabled: boolean;
|
|
233
|
+
score_range?: ScalePropertiesRangeType[] | null;
|
|
234
|
+
};
|
|
230
235
|
};
|
|
231
236
|
export declare type SurveyBlockCategoryType = {
|
|
232
237
|
id?: string | null;
|
package/package.json
CHANGED
|
Binary file
|