freemium-survey-components 2.0.44 → 2.0.46
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.
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { QuestionStoryProps } from './QuestionStory';
|
|
3
|
-
type GalleryStoryProps = Omit<QuestionStoryProps, 'question' | 'enablePages' | 'enablePrompt' | 'hideOtherQuestions' | 'pageName' | 'pageDesc'> & {
|
|
3
|
+
type GalleryStoryProps = Omit<QuestionStoryProps, 'question' | 'enablePages' | 'enablePrompt' | 'hideOtherQuestions' | 'pageName' | 'pageDesc'> & {
|
|
4
|
+
showAlltemplates?: boolean;
|
|
5
|
+
};
|
|
4
6
|
declare const GalleryStory: (props: GalleryStoryProps) => React.JSX.Element;
|
|
5
7
|
export default GalleryStory;
|
|
@@ -162,11 +162,13 @@ export declare const contactformValidator: ({ fields, answers, errorSetter, ques
|
|
|
162
162
|
export declare const fileUploadQnValidator: ({ errors, }: {
|
|
163
163
|
errors: ValidatingQuestions['fileUploadErrors'];
|
|
164
164
|
}) => boolean;
|
|
165
|
-
export declare const getCompletedAnswers: ({ answers, blocks, questions, pages, }: {
|
|
165
|
+
export declare const getCompletedAnswers: ({ answers, blocks, questions, pages, contactData, surveyLayout, }: {
|
|
166
166
|
answers: AnswersType;
|
|
167
167
|
blocks: SurveyBlockWithQuestionNamesType[];
|
|
168
168
|
questions: SurveyQuestionType[];
|
|
169
169
|
pages: SurveyPageType[];
|
|
170
|
+
contactData?: ContactDataType | null | undefined;
|
|
171
|
+
surveyLayout: SurveyLayoutType;
|
|
170
172
|
}) => {
|
|
171
173
|
[key: string]: QuestionAnswerType;
|
|
172
174
|
};
|