survey-core 1.9.119 → 1.9.120
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/defaultV2.css +112 -62
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +112 -62
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +2 -2
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +2 -2
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +2 -2
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +9 -6
- package/modern.css.map +1 -1
- package/modern.fontless.css +9 -6
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +406 -190
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +2 -2
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +2 -2
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/base-interfaces.d.ts +2 -2
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +1 -0
- package/ts3.4/typings/question.d.ts +1 -1
- package/ts3.4/typings/question_baseselect.d.ts +1 -1
- package/ts3.4/typings/question_checkbox.d.ts +1 -1
- package/ts3.4/typings/question_expression.d.ts +1 -1
- package/ts3.4/typings/question_file.d.ts +32 -27
- package/ts3.4/typings/question_signaturepad.d.ts +13 -2
- package/ts3.4/typings/survey-events-api.d.ts +3 -2
- package/ts3.4/typings/survey.d.ts +13 -9
- package/ts3.4/typings/surveyTaskManager.d.ts +16 -0
- package/typings/base-interfaces.d.ts +2 -2
- package/typings/defaultCss/defaultV2Css.d.ts +1 -0
- package/typings/question.d.ts +1 -1
- package/typings/question_baseselect.d.ts +1 -1
- package/typings/question_checkbox.d.ts +1 -1
- package/typings/question_expression.d.ts +1 -1
- package/typings/question_file.d.ts +34 -29
- package/typings/question_signaturepad.d.ts +13 -2
- package/typings/survey-events-api.d.ts +3 -2
- package/typings/survey.d.ts +13 -8
- package/typings/surveyTaskManager.d.ts +16 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { Question } from "./question";
|
|
2
1
|
import { ITheme } from "./themes";
|
|
2
|
+
import { QuestionFileModelBase } from "./question_file";
|
|
3
3
|
/**
|
|
4
4
|
* A class that describes the Signature question type.
|
|
5
5
|
*
|
|
6
6
|
* [View Demo](https://surveyjs.io/form-library/examples/signature-pad-widget-javascript/ (linkStyle))
|
|
7
7
|
*/
|
|
8
|
-
export declare class QuestionSignaturePadModel extends
|
|
8
|
+
export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
|
|
9
9
|
isDrawingValue: boolean;
|
|
10
|
+
isReadyForUpload: boolean;
|
|
10
11
|
private getPenColorFromTheme;
|
|
11
12
|
private updateColors;
|
|
12
13
|
protected getCssRoot(cssClasses: any): string;
|
|
14
|
+
protected getFormat(): "" | "image/svg+xml" | "image/jpeg";
|
|
13
15
|
protected updateValue(): void;
|
|
14
16
|
constructor(name: string);
|
|
15
17
|
getType(): string;
|
|
@@ -17,10 +19,14 @@ export declare class QuestionSignaturePadModel extends Question {
|
|
|
17
19
|
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
18
20
|
themeChanged(theme: ITheme): void;
|
|
19
21
|
private canvas;
|
|
22
|
+
private element;
|
|
20
23
|
private scale;
|
|
21
24
|
private valueIsUpdatingInternally;
|
|
25
|
+
valueWasChangedFromLastUpload: boolean;
|
|
22
26
|
private resizeCanvas;
|
|
23
27
|
private scaleCanvas;
|
|
28
|
+
private fromDataUrl;
|
|
29
|
+
private fromUrl;
|
|
24
30
|
private refreshCanvas;
|
|
25
31
|
private updateValueHandler;
|
|
26
32
|
initSignaturePad(el: HTMLElement): void;
|
|
@@ -118,10 +124,15 @@ export declare class QuestionSignaturePadModel extends Question {
|
|
|
118
124
|
* Default value: `true`
|
|
119
125
|
*/
|
|
120
126
|
showPlaceholder: boolean;
|
|
127
|
+
nothingIsDrawn(): boolean;
|
|
121
128
|
needShowPlaceholder(): boolean;
|
|
122
129
|
/**
|
|
123
130
|
* A placeholder for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
124
131
|
*/
|
|
125
132
|
placeholder: string;
|
|
133
|
+
onBlur: (event: any) => void;
|
|
134
|
+
protected uploadResultItemToValue(r: any): any;
|
|
135
|
+
protected setValueFromResult(arg: any): void;
|
|
136
|
+
clearValue(): void;
|
|
126
137
|
endLoadingFromJson(): void;
|
|
127
138
|
}
|
|
@@ -11,6 +11,7 @@ import { MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownM
|
|
|
11
11
|
import { MatrixDropdownColumn } from "./question_matrixdropdowncolumn";
|
|
12
12
|
import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
|
|
13
13
|
import { QuestionPanelDynamicModel } from "./question_paneldynamic";
|
|
14
|
+
import { QuestionSignaturePadModel } from "./question_signaturepad";
|
|
14
15
|
import { SurveyModel } from "./survey";
|
|
15
16
|
import { SurveyError } from "./survey-error";
|
|
16
17
|
import { Trigger } from "./trigger";
|
|
@@ -22,9 +23,9 @@ export interface QuestionEventMixin {
|
|
|
22
23
|
}
|
|
23
24
|
export interface FileQuestionEventMixin {
|
|
24
25
|
/**
|
|
25
|
-
* A File Upload question instance for which the event is raised.
|
|
26
|
+
* A File Upload or Signature Pad question instance for which the event is raised.
|
|
26
27
|
*/
|
|
27
|
-
question: QuestionFileModel;
|
|
28
|
+
question: QuestionFileModel | QuestionSignaturePadModel;
|
|
28
29
|
}
|
|
29
30
|
export interface PanelDynamicQuestionEventMixin {
|
|
30
31
|
/**
|
package/typings/survey.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { QuestionMultipleTextModel } from "./question_multipletext";
|
|
|
26
26
|
import { ITheme, ImageFit, ImageAttachment } from "./themes";
|
|
27
27
|
import { PopupModel } from "./popup";
|
|
28
28
|
import { Cover } from "./header";
|
|
29
|
+
import { QuestionSignaturePadModel } from "./question_signaturepad";
|
|
29
30
|
/**
|
|
30
31
|
* The `SurveyModel` object contains properties and methods that allow you to control the survey and access its elements.
|
|
31
32
|
*
|
|
@@ -320,6 +321,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
320
321
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
321
322
|
*
|
|
322
323
|
* If you want to specify heading levels for all titles, use the [`titleTags`](https://surveyjs.io/form-library/documentation/api-reference/settings#titleTags) object in [global settings](https://surveyjs.io/form-library/documentation/api-reference/settings).
|
|
324
|
+
*
|
|
325
|
+
* [View Demo](https://surveyjs.io/form-library/examples/survey-titletagnames/ (linkStyle))
|
|
323
326
|
* @see onGetQuestionTitle
|
|
324
327
|
* @see onGetQuestionNo
|
|
325
328
|
*/
|
|
@@ -359,7 +362,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
359
362
|
*/
|
|
360
363
|
onGetResult: EventBase<SurveyModel, GetResultEvent>;
|
|
361
364
|
/**
|
|
362
|
-
* An event that is raised when a File Upload question starts to upload a file. Applies only if [`storeDataAsText`](https://surveyjs.io/form-library/documentation/api-reference/file-model#storeDataAsText) is `false`. Use this event to upload files to your server.
|
|
365
|
+
* An event that is raised when a File Upload or Signature Pad question starts to upload a file. Applies only if [`storeDataAsText`](https://surveyjs.io/form-library/documentation/api-reference/file-model#storeDataAsText) is `false`. Use this event to upload files to your server.
|
|
363
366
|
*
|
|
364
367
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
365
368
|
*
|
|
@@ -381,7 +384,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
381
384
|
*/
|
|
382
385
|
onDownloadFile: EventBase<SurveyModel, DownloadFileEvent>;
|
|
383
386
|
/**
|
|
384
|
-
* An event that is raised when users clear files in a [File Upload](https://surveyjs.io/form-library/documentation/api-reference/file-model) question. Use this event to delete files from your server.
|
|
387
|
+
* An event that is raised when users clear files in a [File Upload](https://surveyjs.io/form-library/documentation/api-reference/file-model) question or clear signature in a [Signature Pad](https://surveyjs.io/form-library/documentation/api-reference/signature-pad-model) question. Use this event to delete files from your server.
|
|
385
388
|
*
|
|
386
389
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
387
390
|
*
|
|
@@ -1136,10 +1139,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1136
1139
|
getSurveyErrorCustomText(obj: PanelModel | Question | SurveyModel, text: string, error: SurveyError): string;
|
|
1137
1140
|
getQuestionDisplayValue(question: Question, displayValue: any): any;
|
|
1138
1141
|
/**
|
|
1139
|
-
*
|
|
1142
|
+
* A message that is displayed when a survey does not contain visible pages or questions.
|
|
1140
1143
|
* @see [Localization & Globalization](https://surveyjs.io/form-library/documentation/survey-localization)
|
|
1141
1144
|
*/
|
|
1142
1145
|
get emptySurveyText(): string;
|
|
1146
|
+
set emptySurveyText(val: string);
|
|
1143
1147
|
/**
|
|
1144
1148
|
* An image URL or a Base64-encoded image to use as a survey logo.
|
|
1145
1149
|
*
|
|
@@ -1514,7 +1518,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1514
1518
|
* @see setValue
|
|
1515
1519
|
*/
|
|
1516
1520
|
mergeData(data: any): void;
|
|
1517
|
-
setDataCore(data: any): void;
|
|
1521
|
+
setDataCore(data: any, clearData?: boolean): void;
|
|
1518
1522
|
getStructuredData(includePages?: boolean, level?: number): any;
|
|
1519
1523
|
setStructuredData(data: any, doMerge?: boolean): void;
|
|
1520
1524
|
private collectDataFromPanel;
|
|
@@ -2133,14 +2137,14 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2133
2137
|
* }
|
|
2134
2138
|
* );
|
|
2135
2139
|
* ```
|
|
2136
|
-
* @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model).
|
|
2137
|
-
* @param name The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name).
|
|
2140
|
+
* @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model) or [Signature Pad question instance](https://surveyjs.io/form-library/documentation/api-reference/signature-pad-model).
|
|
2141
|
+
* @param name The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name) or Signature Pad question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/signature-pad-model#name).
|
|
2138
2142
|
* @param files An array of JavaScript <a href="https://developer.mozilla.org/en-US/docs/Web/API/File" target="_blank">File</a> objects that represent files to upload.
|
|
2139
2143
|
* @param callback A callback function that allows you to access successfully uploaded files as the first argument. If any files fail to upload, the second argument contains an array of error messages.
|
|
2140
2144
|
* @see onUploadFiles
|
|
2141
2145
|
* @see downloadFile
|
|
2142
2146
|
*/
|
|
2143
|
-
uploadFiles(question: QuestionFileModel, name: string, files: File[], callback: (data: any | Array<any>, errors?: any | Array<any>) => any): void;
|
|
2147
|
+
uploadFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, files: File[], callback: (data: any | Array<any>, errors?: any | Array<any>) => any): void;
|
|
2144
2148
|
/**
|
|
2145
2149
|
* Downloads a file from a server.
|
|
2146
2150
|
*
|
|
@@ -2172,7 +2176,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2172
2176
|
* @see uploadFiles
|
|
2173
2177
|
*/
|
|
2174
2178
|
downloadFile(question: QuestionFileModel, questionName: string, fileValue: any, callback: (status: string, data: any) => any): void;
|
|
2175
|
-
clearFiles(question: QuestionFileModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
|
|
2179
|
+
clearFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
|
|
2176
2180
|
updateChoicesFromServer(question: QuestionSelectBase, choices: Array<ItemValue>, serverResult: any): Array<ItemValue>;
|
|
2177
2181
|
loadedChoicesFromServer(question: IQuestion): void;
|
|
2178
2182
|
protected createSurveyService(): dxSurveyService;
|
|
@@ -2738,6 +2742,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2738
2742
|
*/
|
|
2739
2743
|
applyTheme(theme: ITheme): void;
|
|
2740
2744
|
themeChanged(theme: ITheme): void;
|
|
2745
|
+
private taskManager;
|
|
2741
2746
|
/**
|
|
2742
2747
|
* Disposes of the survey model.
|
|
2743
2748
|
*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Base } from "./base";
|
|
2
|
+
declare class SurveyTaskModel {
|
|
3
|
+
type: string;
|
|
4
|
+
private timestamp;
|
|
5
|
+
constructor(type: string);
|
|
6
|
+
}
|
|
7
|
+
export declare class SurveyTaskManagerModel extends Base {
|
|
8
|
+
private taskList;
|
|
9
|
+
constructor();
|
|
10
|
+
private onAllTasksCompleted;
|
|
11
|
+
hasActiveTasks: boolean;
|
|
12
|
+
runTask(type: string, func: (done: any) => void): SurveyTaskModel;
|
|
13
|
+
waitAndExecute(action: any): void;
|
|
14
|
+
private taskFinished;
|
|
15
|
+
}
|
|
16
|
+
export {};
|