survey-core 1.9.138 → 1.10.1
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 +646 -66
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +646 -66
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +5 -2
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +2 -2
- package/i18n/basque.js +5 -2
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +2 -2
- package/i18n/bulgarian.js +5 -2
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +2 -2
- package/i18n/catalan.js +5 -2
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +2 -2
- package/i18n/croatian.js +5 -2
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +2 -2
- package/i18n/czech.js +5 -2
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +2 -2
- package/i18n/danish.js +5 -2
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +2 -2
- package/i18n/dutch.js +5 -2
- package/i18n/dutch.js.map +1 -1
- package/i18n/dutch.min.js +2 -2
- package/i18n/english.js +5 -3
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +5 -2
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +2 -2
- package/i18n/finnish.js +5 -2
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +2 -2
- package/i18n/french.js +5 -2
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +2 -2
- package/i18n/georgian.js +5 -2
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +2 -2
- package/i18n/german.js +5 -1
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +5 -2
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +2 -2
- package/i18n/hebrew.js +5 -1
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +2 -2
- package/i18n/hindi.js +5 -2
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +2 -2
- package/i18n/hungarian.js +5 -2
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +5 -2
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +2 -2
- package/i18n/index.js +189 -46
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +5 -2
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +2 -2
- package/i18n/italian.js +5 -2
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +2 -2
- package/i18n/japanese.js +5 -2
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +2 -2
- package/i18n/kazakh.js +5 -2
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +2 -2
- package/i18n/korean.js +5 -2
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +2 -2
- package/i18n/latvian.js +5 -2
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +2 -2
- package/i18n/lithuanian.js +5 -2
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +2 -2
- package/i18n/macedonian.js +5 -2
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +2 -2
- package/i18n/malay.js +5 -2
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +2 -2
- package/i18n/nl-BE.js +5 -2
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +2 -2
- package/i18n/norwegian.js +5 -2
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +2 -2
- package/i18n/persian.js +5 -2
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +2 -2
- package/i18n/polish.js +5 -2
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +2 -2
- package/i18n/portuguese-br.js +5 -2
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +2 -2
- package/i18n/portuguese.js +5 -2
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +2 -2
- package/i18n/romanian.js +5 -2
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +2 -2
- package/i18n/russian.js +5 -2
- package/i18n/russian.js.map +1 -1
- package/i18n/russian.min.js +2 -2
- package/i18n/serbian.js +5 -2
- package/i18n/serbian.js.map +1 -1
- package/i18n/serbian.min.js +2 -2
- package/i18n/simplified-chinese.js +5 -2
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +2 -2
- package/i18n/slovak.js +5 -2
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +2 -2
- package/i18n/spanish.js +5 -2
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +2 -2
- package/i18n/swahili.js +5 -2
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +2 -2
- package/i18n/swedish.js +5 -2
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +2 -2
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +5 -2
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +2 -2
- package/i18n/thai.js +5 -2
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +2 -2
- package/i18n/traditional-chinese.js +5 -2
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +2 -2
- package/i18n/turkish.js +5 -2
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +2 -2
- package/i18n/ukrainian.js +5 -2
- package/i18n/ukrainian.js.map +1 -1
- package/i18n/ukrainian.min.js +2 -2
- package/i18n/urdu.js +5 -2
- package/i18n/urdu.js.map +1 -1
- package/i18n/urdu.min.js +2 -2
- package/i18n/vietnamese.js +5 -2
- package/i18n/vietnamese.js.map +1 -1
- package/i18n/vietnamese.min.js +2 -2
- package/i18n/welsh.js +5 -2
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +2 -2
- package/modern.css +20 -3
- package/modern.css.map +1 -1
- package/modern.fontless.css +20 -3
- 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 +1116 -264
- 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 +189 -46
- 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/actions/action.d.ts +6 -1
- package/ts3.4/typings/base-interfaces.d.ts +1 -1
- package/ts3.4/typings/base.d.ts +5 -0
- package/ts3.4/typings/defaultCss/cssmodern.d.ts +1 -1
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -1
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +60 -1
- package/ts3.4/typings/dxSurveyService.d.ts +5 -1
- package/ts3.4/typings/knockout/kobase.d.ts +8 -0
- package/ts3.4/typings/knockout/kopage.d.ts +37 -0
- package/ts3.4/typings/localization/english.d.ts +2 -0
- package/ts3.4/typings/mask/input_element_adapter.d.ts +1 -1
- package/ts3.4/typings/mask/mask_base.d.ts +1 -0
- package/ts3.4/typings/mask/mask_datetime.d.ts +16 -1
- package/ts3.4/typings/mask/mask_numeric.d.ts +3 -2
- package/ts3.4/typings/mask/mask_pattern.d.ts +9 -1
- package/ts3.4/typings/mask/mask_utils.d.ts +1 -0
- package/ts3.4/typings/panel.d.ts +2 -1
- package/ts3.4/typings/popup-view-model.d.ts +2 -0
- package/ts3.4/typings/popup.d.ts +1 -0
- package/ts3.4/typings/question.d.ts +2 -0
- package/ts3.4/typings/question_boolean.d.ts +8 -0
- package/ts3.4/typings/question_checkbox.d.ts +1 -0
- package/ts3.4/typings/question_custom.d.ts +1 -0
- package/ts3.4/typings/question_matrix.d.ts +1 -0
- package/ts3.4/typings/question_matrixdropdownrendered.d.ts +10 -0
- package/ts3.4/typings/question_paneldynamic.d.ts +18 -0
- package/ts3.4/typings/question_ranking.d.ts +7 -1
- package/ts3.4/typings/question_rating.d.ts +1 -0
- package/ts3.4/typings/question_signaturepad.d.ts +9 -2
- package/ts3.4/typings/survey-element.d.ts +8 -3
- package/ts3.4/typings/survey.d.ts +1 -1
- package/ts3.4/typings/surveyStrings.d.ts +2 -0
- package/ts3.4/typings/trigger.d.ts +2 -1
- package/ts3.4/typings/utils/animation.d.ts +26 -10
- package/typings/actions/action.d.ts +7 -1
- package/typings/base-interfaces.d.ts +1 -1
- package/typings/base.d.ts +5 -0
- package/typings/defaultCss/cssmodern.d.ts +1 -1
- package/typings/defaultCss/cssstandard.d.ts +1 -1
- package/typings/defaultCss/defaultV2Css.d.ts +60 -1
- package/typings/dxSurveyService.d.ts +5 -1
- package/typings/knockout/kobase.d.ts +8 -0
- package/typings/knockout/kopage.d.ts +37 -0
- package/typings/localization/english.d.ts +2 -0
- package/typings/mask/input_element_adapter.d.ts +1 -1
- package/typings/mask/mask_base.d.ts +1 -0
- package/typings/mask/mask_datetime.d.ts +16 -1
- package/typings/mask/mask_numeric.d.ts +3 -2
- package/typings/mask/mask_pattern.d.ts +9 -1
- package/typings/mask/mask_utils.d.ts +1 -0
- package/typings/panel.d.ts +2 -1
- package/typings/popup-view-model.d.ts +2 -0
- package/typings/popup.d.ts +1 -0
- package/typings/question.d.ts +2 -0
- package/typings/question_boolean.d.ts +8 -0
- package/typings/question_checkbox.d.ts +1 -0
- package/typings/question_custom.d.ts +1 -0
- package/typings/question_matrix.d.ts +1 -0
- package/typings/question_matrixdropdownrendered.d.ts +11 -0
- package/typings/question_paneldynamic.d.ts +17 -0
- package/typings/question_ranking.d.ts +7 -1
- package/typings/question_rating.d.ts +1 -0
- package/typings/question_signaturepad.d.ts +9 -2
- package/typings/survey-element.d.ts +8 -4
- package/typings/survey.d.ts +1 -1
- package/typings/surveyStrings.d.ts +2 -0
- package/typings/trigger.d.ts +2 -1
- package/typings/utils/animation.d.ts +18 -10
|
@@ -86,6 +86,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
86
86
|
readonly selectedChoices: Array<ItemValue>;
|
|
87
87
|
readonly selectedItems: Array<ItemValue>;
|
|
88
88
|
readonly hasFilteredValue: boolean;
|
|
89
|
+
getFilteredName(): any;
|
|
89
90
|
getFilteredValue(): any;
|
|
90
91
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
|
91
92
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
|
@@ -355,6 +355,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
|
355
355
|
afterRenderCore(el: any): void;
|
|
356
356
|
readonly contentQuestion: Question;
|
|
357
357
|
protected createQuestion(): Question;
|
|
358
|
+
private checkCreatedQuestion;
|
|
358
359
|
onSurveyLoad(): void;
|
|
359
360
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
360
361
|
protected convertDataName(name: string): string;
|
|
@@ -56,6 +56,7 @@ export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
|
|
56
56
|
isGhostRow: boolean;
|
|
57
57
|
isAdditionalClasses: boolean;
|
|
58
58
|
visible: boolean;
|
|
59
|
+
onVisibilityChangedCallback: () => void;
|
|
59
60
|
hasEndActions: boolean;
|
|
60
61
|
row: MatrixDropdownRowModelBase;
|
|
61
62
|
isErrorsRow: boolean;
|
|
@@ -70,6 +71,9 @@ export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
|
|
70
71
|
"data-sv-drop-target-matrix-row": string;
|
|
71
72
|
};
|
|
72
73
|
readonly className: string;
|
|
74
|
+
private rootElement;
|
|
75
|
+
setRootElement(val: HTMLTableRowElement): void;
|
|
76
|
+
getRootElement(): HTMLTableRowElement;
|
|
73
77
|
}
|
|
74
78
|
export declare class QuestionMatrixDropdownRenderedErrorRow extends QuestionMatrixDropdownRenderedRow {
|
|
75
79
|
isErrorsRow: boolean;
|
|
@@ -87,6 +91,12 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
|
87
91
|
private cssClasses;
|
|
88
92
|
renderedRowsChangedCallback: () => void;
|
|
89
93
|
rows: Array<QuestionMatrixDropdownRenderedRow>;
|
|
94
|
+
protected getIsAnimationAllowed(): boolean;
|
|
95
|
+
private getRenderedRowsAnimationOptions;
|
|
96
|
+
private _renderedRows;
|
|
97
|
+
updateRenderedRows(): void;
|
|
98
|
+
private renderedRowsAnimation;
|
|
99
|
+
renderedRows: Array<QuestionMatrixDropdownRenderedRow>;
|
|
90
100
|
constructor(matrix: QuestionMatrixDropdownModelBase);
|
|
91
101
|
readonly showTable: boolean;
|
|
92
102
|
readonly showHeader: boolean;
|
|
@@ -8,6 +8,7 @@ import { ActionContainer } from "./actions/container";
|
|
|
8
8
|
import { IAction } from "./actions/action";
|
|
9
9
|
import { AdaptiveActionContainer } from "./actions/adaptive-container";
|
|
10
10
|
import { ITheme } from "./themes";
|
|
11
|
+
import { AnimationProperty } from "./utils/animation";
|
|
11
12
|
export interface IQuestionPanelDynamicData {
|
|
12
13
|
getItemIndex(item: ISurveyData): number;
|
|
13
14
|
getVisibleItemIndex(item: ISurveyData): number;
|
|
@@ -185,6 +186,18 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
185
186
|
* @see renderMode
|
|
186
187
|
*/
|
|
187
188
|
currentPanel: PanelModel;
|
|
189
|
+
private _renderedPanels;
|
|
190
|
+
private updateRenderedPanels;
|
|
191
|
+
renderedPanels: Array<PanelModel>;
|
|
192
|
+
private isPanelsAnimationRunning;
|
|
193
|
+
private getPanelsAnimationOptions;
|
|
194
|
+
private _panelsAnimations;
|
|
195
|
+
private disablePanelsAnimations;
|
|
196
|
+
private enablePanelsAnimations;
|
|
197
|
+
private updatePanelsAnimation;
|
|
198
|
+
readonly panelsAnimation: AnimationProperty<Array<PanelModel>, [
|
|
199
|
+
PanelModel
|
|
200
|
+
]>;
|
|
188
201
|
onHidingContent(): void;
|
|
189
202
|
/*
|
|
190
203
|
* Specifies whether to display a confirmation dialog when a respondent wants to delete a panel.
|
|
@@ -374,6 +387,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
374
387
|
* By default the value is "off". You may set it to "onPanel" and the first question inside a dynamic panel will start with 1 or "onSurvey" to include nested questions in dymamic panels into global survey question numbering.
|
|
375
388
|
*/
|
|
376
389
|
showQuestionNumbers: string;
|
|
390
|
+
protected notifySurveyOnChildrenVisibilityChanged(): boolean;
|
|
377
391
|
/*
|
|
378
392
|
* Specifies the location of the Delete Panel button relative to panel content.
|
|
379
393
|
*
|
|
@@ -467,6 +481,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
467
481
|
* @see canAddPanel
|
|
468
482
|
*/
|
|
469
483
|
addPanelUI(): PanelModel;
|
|
484
|
+
private focusNewPanelCallback;
|
|
485
|
+
private focusNewPanel;
|
|
470
486
|
/**
|
|
471
487
|
* Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
|
|
472
488
|
* @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `renderMode` value.
|
|
@@ -505,6 +521,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
505
521
|
* @see panels
|
|
506
522
|
* @see template
|
|
507
523
|
*/
|
|
524
|
+
private removedPanelIndex;
|
|
508
525
|
removePanel(value: any): void;
|
|
509
526
|
private getVisualPanelIndex;
|
|
510
527
|
private getPanelIndexById;
|
|
@@ -589,6 +606,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
589
606
|
getShowNoEntriesPlaceholder(): boolean;
|
|
590
607
|
needResponsiveWidth(): boolean;
|
|
591
608
|
private additionalTitleToolbarValue;
|
|
609
|
+
readonly hasAdditionalTitleToolbar: boolean;
|
|
592
610
|
protected getAdditionalTitleToolbar(): AdaptiveActionContainer | null;
|
|
593
611
|
private footerToolbarValue;
|
|
594
612
|
readonly footerToolbar: ActionContainer;
|
|
@@ -11,12 +11,14 @@ import { AnimationGroup } from "./utils/animation";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
13
13
|
private domNode;
|
|
14
|
+
private dragOrClickHelper;
|
|
14
15
|
constructor(name: string);
|
|
15
16
|
protected getDefaultItemComponent(): string;
|
|
16
17
|
getType(): string;
|
|
17
18
|
getItemTabIndex(item: ItemValue): number;
|
|
18
19
|
protected supportContainerQueries(): boolean;
|
|
19
20
|
readonly rootClass: string;
|
|
21
|
+
protected isItemSelectedCore(item: ItemValue): boolean;
|
|
20
22
|
protected getItemClassCore(item: ItemValue, options: any): string;
|
|
21
23
|
getContainerClasses(containerType?: string): string;
|
|
22
24
|
protected isItemCurrentDropTarget(item: ItemValue): boolean;
|
|
@@ -48,7 +50,11 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
48
50
|
endLoadingFromJson(): void;
|
|
49
51
|
private setDragDropRankingChoices;
|
|
50
52
|
protected createDragDropRankingChoices(): DragDropRankingChoices | DragDropRankingSelectToRank;
|
|
53
|
+
private draggedChoise;
|
|
54
|
+
private draggedTargetNode;
|
|
51
55
|
handlePointerDown: (event: PointerEvent, choice: ItemValue, node: HTMLElement) => void;
|
|
56
|
+
startDrag: (event: PointerEvent) => void;
|
|
57
|
+
handlePointerUp: (event: PointerEvent, choice: ItemValue, node: HTMLElement) => void;
|
|
52
58
|
private isDragStartNodeValid;
|
|
53
59
|
private readonly allowStartDrag: any;
|
|
54
60
|
private canStartDragDueMaxSelectedChoices;
|
|
@@ -63,7 +69,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
63
69
|
supportRefuse(): boolean;
|
|
64
70
|
supportDontKnow(): boolean;
|
|
65
71
|
private handleArrowKeys;
|
|
66
|
-
handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue): void;
|
|
72
|
+
handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue, hardKey?: string, isNeedFocus?: boolean): void;
|
|
67
73
|
private setValueAfterKeydown;
|
|
68
74
|
private focusItem;
|
|
69
75
|
isValueSetByUser: boolean;
|
|
@@ -119,6 +119,7 @@ export declare class QuestionRatingModel extends Question {
|
|
|
119
119
|
getType(): string;
|
|
120
120
|
protected getFirstInputElementId(): string;
|
|
121
121
|
getInputId(index: number): string;
|
|
122
|
+
readonly questionName: string;
|
|
122
123
|
supportGoNextPageAutomatic(): boolean;
|
|
123
124
|
supportOther(): boolean;
|
|
124
125
|
protected getPlainDataCalculatedValue(propName: string): any;
|
|
@@ -111,17 +111,24 @@ export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
|
|
|
111
111
|
backgroundImage: string;
|
|
112
112
|
readonly clearButtonCaption: string;
|
|
113
113
|
/**
|
|
114
|
-
* A Boolean value that specifies whether to show the
|
|
114
|
+
* A Boolean value that specifies whether to show the placeholder text in the signature area.
|
|
115
115
|
*
|
|
116
116
|
* Default value: `true`
|
|
117
|
+
*
|
|
118
|
+
* Use the [`placeholder`](#placeholder) and [`placeholderReadOnly`](#placeholderReadOnly) properties to specify placeholder texts for the signature area in edit mode and in read-only or preview mode.
|
|
117
119
|
*/
|
|
118
120
|
showPlaceholder: boolean;
|
|
121
|
+
readonly locRenderedPlaceholder: any;
|
|
119
122
|
nothingIsDrawn(): boolean;
|
|
120
123
|
needShowPlaceholder(): boolean;
|
|
121
124
|
/**
|
|
122
|
-
* A placeholder for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
125
|
+
* A placeholder text for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
123
126
|
*/
|
|
124
127
|
placeholder: string;
|
|
128
|
+
/**
|
|
129
|
+
* A placeholder text for the signature area in read-only or preview mode. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
130
|
+
*/
|
|
131
|
+
placeholderReadOnly: string;
|
|
125
132
|
onBlur: (event: any) => void;
|
|
126
133
|
protected uploadResultItemToValue(r: any): any;
|
|
127
134
|
protected setValueFromResult(arg: any): void;
|
|
@@ -83,7 +83,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
83
83
|
isDragMe: boolean;
|
|
84
84
|
readOnlyChangedCallback: () => void;
|
|
85
85
|
static ScrollElementToTop(elementId: string, scrollIfVisible?: boolean): boolean;
|
|
86
|
-
|
|
86
|
+
static ScrollElementToViewCore(el: HTMLElement, checkLeft: boolean, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions): boolean;
|
|
87
87
|
static GetFirstNonTextElement(elements: any, removeSpaces?: boolean): any;
|
|
88
88
|
static FocusElement(elementId: string): boolean;
|
|
89
89
|
private static focusElementCore;
|
|
@@ -320,6 +320,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
320
320
|
isSingleInRow: boolean;
|
|
321
321
|
private shouldAddRunnerStyles;
|
|
322
322
|
protected readonly isCompact: boolean;
|
|
323
|
+
private canHaveFrameStyles;
|
|
323
324
|
protected getHasFrameV2(): boolean;
|
|
324
325
|
protected getIsNested(): boolean;
|
|
325
326
|
protected getCssRoot(cssClasses: {
|
|
@@ -379,9 +380,14 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
379
380
|
readonly clickTitleFunction: any;
|
|
380
381
|
protected needClickTitleFunction(): boolean;
|
|
381
382
|
protected processTitleClick(): void;
|
|
383
|
+
readonly hasAdditionalTitleToolbar: boolean;
|
|
382
384
|
readonly additionalTitleToolbar: ActionContainer;
|
|
383
385
|
protected getAdditionalTitleToolbar(): ActionContainer | null;
|
|
384
386
|
protected getCssTitle(cssClasses: any): string;
|
|
387
|
+
readonly isDisabledStyle: boolean;
|
|
388
|
+
readonly isReadOnlyStyle: boolean;
|
|
389
|
+
protected getIsDisableAndReadOnlyStyles(itemReadOnly: boolean): Array<boolean>;
|
|
390
|
+
readonly isPreviewStyle: boolean;
|
|
385
391
|
localeChanged(): void;
|
|
386
392
|
private wrapperElement?;
|
|
387
393
|
setWrapperElement(element?: HTMLElement): void;
|
|
@@ -392,7 +398,6 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
392
398
|
private getExpandCollapseAnimationOptions;
|
|
393
399
|
private animationCollapsed;
|
|
394
400
|
renderedIsExpanded: boolean;
|
|
395
|
-
|
|
396
|
-
animationAllowed: boolean;
|
|
401
|
+
protected getIsAnimationAllowed(): boolean;
|
|
397
402
|
dispose(): void;
|
|
398
403
|
}
|
|
@@ -2471,7 +2471,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2471
2471
|
*/
|
|
2472
2472
|
clearValueOnDisableItems: boolean;
|
|
2473
2473
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
|
2474
|
-
questionVisibilityChanged(question: Question, newValue: boolean): void;
|
|
2474
|
+
questionVisibilityChanged(question: Question, newValue: boolean, resetIndexes: boolean): void;
|
|
2475
2475
|
pageVisibilityChanged(page: PageModel, newValue: boolean): void;
|
|
2476
2476
|
panelVisibilityChanged(panel: PanelModel, newValue: boolean): void;
|
|
2477
2477
|
questionCreated(question: Question): any;
|
|
@@ -84,6 +84,7 @@ export declare var surveyStrings: {
|
|
|
84
84
|
savingData: string;
|
|
85
85
|
savingDataError: string;
|
|
86
86
|
savingDataSuccess: string;
|
|
87
|
+
savingExceedSize: string;
|
|
87
88
|
saveAgainButton: string;
|
|
88
89
|
timerMin: string;
|
|
89
90
|
timerSec: string;
|
|
@@ -95,6 +96,7 @@ export declare var surveyStrings: {
|
|
|
95
96
|
timerLimitSurvey: string;
|
|
96
97
|
clearCaption: string;
|
|
97
98
|
signaturePlaceHolder: string;
|
|
99
|
+
signaturePlaceHolderReadOnly: string;
|
|
98
100
|
chooseFileCaption: string;
|
|
99
101
|
takePhotoCaption: string;
|
|
100
102
|
photoPlaceholder: string;
|
|
@@ -122,7 +122,8 @@ export declare class SurveyTriggerRunExpression extends SurveyTrigger {
|
|
|
122
122
|
getType(): string;
|
|
123
123
|
setToName: string;
|
|
124
124
|
runExpression: string;
|
|
125
|
-
protected
|
|
125
|
+
protected canBeExecuted(isOnNextPage: boolean): boolean;
|
|
126
|
+
protected onSuccess(values: HashTable<any>, properties: HashTable<any>): boolean;
|
|
126
127
|
private onCompleteRunExpression;
|
|
127
128
|
}
|
|
128
129
|
/**
|
|
@@ -12,29 +12,34 @@ export interface IAnimationConsumer<T extends Array<any> = [
|
|
|
12
12
|
}
|
|
13
13
|
export declare class AnimationUtils {
|
|
14
14
|
private getMsFromRule;
|
|
15
|
+
private reflow;
|
|
15
16
|
private getAnimationsCount;
|
|
16
17
|
private getAnimationDuration;
|
|
17
18
|
private cancelQueue;
|
|
19
|
+
private addCancelCallback;
|
|
20
|
+
private removeCancelCallback;
|
|
18
21
|
protected onAnimationEnd(element: HTMLElement, callback: (isCancel?: boolean) => void, options: AnimationOptions): void;
|
|
19
22
|
protected beforeAnimationRun(element: HTMLElement, options: AnimationOptions | AnimationOptions): void;
|
|
20
|
-
protected
|
|
21
|
-
protected
|
|
23
|
+
protected runAnimation(element: HTMLElement, options: AnimationOptions, callback: (isCancel?: boolean) => void): void;
|
|
24
|
+
protected clearHtmlElement(element: HTMLElement, options: AnimationOptions): void;
|
|
25
|
+
protected onNextRender(callback: () => void, runEarly?: () => boolean, isCancel?: boolean): void;
|
|
22
26
|
cancel(): void;
|
|
23
27
|
}
|
|
24
28
|
export declare class AnimationPropertyUtils extends AnimationUtils {
|
|
25
|
-
onEnter(
|
|
26
|
-
onLeave(
|
|
29
|
+
onEnter(options: IAnimationConsumer): void;
|
|
30
|
+
onLeave(options: IAnimationConsumer, callback: () => void): void;
|
|
27
31
|
}
|
|
28
32
|
export declare class AnimationGroupUtils<T> extends AnimationUtils {
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
runGroupAnimation(options: IAnimationConsumer<[
|
|
34
|
+
T
|
|
35
|
+
]>, addedElements: Array<T>, removedElements: Array<T>, callback?: () => void): void;
|
|
31
36
|
}
|
|
32
|
-
declare abstract class AnimationProperty<T, S extends Array<any> = [
|
|
37
|
+
export declare abstract class AnimationProperty<T, S extends Array<any> = [
|
|
33
38
|
]> {
|
|
34
39
|
protected animationOptions: IAnimationConsumer<S>;
|
|
35
|
-
protected update: (val: T) => void;
|
|
40
|
+
protected update: (val: T, isTempUpdate?: boolean) => void;
|
|
36
41
|
protected getCurrentValue: () => T;
|
|
37
|
-
constructor(animationOptions: IAnimationConsumer<S>, update: (val: T) => void, getCurrentValue: () => T);
|
|
42
|
+
constructor(animationOptions: IAnimationConsumer<S>, update: (val: T, isTempUpdate?: boolean) => void, getCurrentValue: () => T);
|
|
38
43
|
protected animation: AnimationUtils;
|
|
39
44
|
protected abstract _sync(newValue: T): void;
|
|
40
45
|
private _debouncedSync;
|
|
@@ -51,4 +56,15 @@ export declare class AnimationGroup<T> extends AnimationProperty<Array<T>, [
|
|
|
51
56
|
protected animation: AnimationGroupUtils<T>;
|
|
52
57
|
protected _sync(newValue: Array<T>): void;
|
|
53
58
|
}
|
|
54
|
-
export
|
|
59
|
+
export declare class AnimationTab<T> extends AnimationProperty<Array<T>, [
|
|
60
|
+
T
|
|
61
|
+
]> {
|
|
62
|
+
protected mergeValues?: (newValue: Array<T>, oldValue: Array<T>) => Array<T>;
|
|
63
|
+
protected animation: AnimationGroupUtils<T>;
|
|
64
|
+
constructor(animationOptions: IAnimationConsumer<[
|
|
65
|
+
T
|
|
66
|
+
]>, update: (val: Array<T>, isTempUpdate?: boolean) => void, getCurrentValue: () => Array<T>, mergeValues?: (newValue: Array<T>, oldValue: Array<T>) => Array<T>);
|
|
67
|
+
protected _sync(newValue: [
|
|
68
|
+
T
|
|
69
|
+
]): void;
|
|
70
|
+
}
|
|
@@ -153,7 +153,11 @@ export declare function createDropdownActionModel(actionOptions: IAction, dropdo
|
|
|
153
153
|
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: ILocalizableOwner): Action;
|
|
154
154
|
export declare function getActionDropdownButtonTarget(container: HTMLElement): HTMLElement;
|
|
155
155
|
export declare abstract class BaseAction extends Base implements IAction {
|
|
156
|
+
private static renderedId;
|
|
157
|
+
private static getNextRendredId;
|
|
156
158
|
private cssClassesValue;
|
|
159
|
+
private rendredIdValue;
|
|
160
|
+
private ownerValue;
|
|
157
161
|
tooltip: string;
|
|
158
162
|
showTitle: boolean;
|
|
159
163
|
innerCss: string;
|
|
@@ -164,7 +168,6 @@ export declare abstract class BaseAction extends Base implements IAction {
|
|
|
164
168
|
needSeparator: boolean;
|
|
165
169
|
template: string;
|
|
166
170
|
mode: actionModeType;
|
|
167
|
-
owner: ILocalizableOwner;
|
|
168
171
|
visibleIndex: number;
|
|
169
172
|
disableTabStop: boolean;
|
|
170
173
|
disableShrink: boolean;
|
|
@@ -180,6 +183,9 @@ export declare abstract class BaseAction extends Base implements IAction {
|
|
|
180
183
|
css?: string;
|
|
181
184
|
minDimension: number;
|
|
182
185
|
maxDimension: number;
|
|
186
|
+
get renderedId(): number;
|
|
187
|
+
get owner(): ILocalizableOwner;
|
|
188
|
+
set owner(val: ILocalizableOwner);
|
|
183
189
|
get visible(): boolean;
|
|
184
190
|
set visible(val: boolean);
|
|
185
191
|
get enabled(): boolean;
|
|
@@ -42,7 +42,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
42
42
|
getQuestionByName(name: string): IQuestion;
|
|
43
43
|
pageVisibilityChanged(page: IPage, newValue: boolean): any;
|
|
44
44
|
panelVisibilityChanged(panel: IPanel, newValue: boolean): any;
|
|
45
|
-
questionVisibilityChanged(question: IQuestion, newValue: boolean): any;
|
|
45
|
+
questionVisibilityChanged(question: IQuestion, newValue: boolean, resetIndexes: boolean): any;
|
|
46
46
|
isEditingSurveyElement: boolean;
|
|
47
47
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
|
48
48
|
questionsOrder: string;
|
package/typings/base.d.ts
CHANGED
|
@@ -293,6 +293,11 @@ export declare class Base {
|
|
|
293
293
|
protected copyCssClasses(dest: any, source: any): void;
|
|
294
294
|
private getValueInLowCase;
|
|
295
295
|
getElementsInDesign(includeHidden?: boolean): Array<IElement>;
|
|
296
|
+
get animationAllowed(): boolean;
|
|
297
|
+
protected getIsAnimationAllowed(): boolean;
|
|
298
|
+
private animationAllowedLock;
|
|
299
|
+
blockAnimations(): void;
|
|
300
|
+
releaseAnimations(): void;
|
|
296
301
|
}
|
|
297
302
|
export declare class ArrayChanges<T = any> {
|
|
298
303
|
index: number;
|
|
@@ -105,7 +105,11 @@ export declare var defaultV2Css: {
|
|
|
105
105
|
footer: string;
|
|
106
106
|
panelFooter: string;
|
|
107
107
|
footerButtonsContainer: string;
|
|
108
|
+
panelsContainer: string;
|
|
108
109
|
panelWrapperInRow: string;
|
|
110
|
+
panelWrapperFadeIn: string;
|
|
111
|
+
panelWrapperFadeOut: string;
|
|
112
|
+
panelWrapperList: string;
|
|
109
113
|
progressBtnIcon: string;
|
|
110
114
|
noEntriesPlaceholder: string;
|
|
111
115
|
compact: string;
|
|
@@ -193,6 +197,7 @@ export declare var defaultV2Css: {
|
|
|
193
197
|
titleExpanded: string;
|
|
194
198
|
titleCollapsed: string;
|
|
195
199
|
titleDisabled: string;
|
|
200
|
+
titleReadOnly: string;
|
|
196
201
|
titleBar: string;
|
|
197
202
|
requiredText: string;
|
|
198
203
|
number: string;
|
|
@@ -217,6 +222,8 @@ export declare var defaultV2Css: {
|
|
|
217
222
|
invisible: string;
|
|
218
223
|
composite: string;
|
|
219
224
|
disabled: string;
|
|
225
|
+
readOnly: string;
|
|
226
|
+
preview: string;
|
|
220
227
|
errorsContainer: string;
|
|
221
228
|
errorsContainerTop: string;
|
|
222
229
|
errorsContainerBottom: string;
|
|
@@ -253,6 +260,9 @@ export declare var defaultV2Css: {
|
|
|
253
260
|
itemSelectAll: string;
|
|
254
261
|
itemNone: string;
|
|
255
262
|
itemDisabled: string;
|
|
263
|
+
itemReadOnly: string;
|
|
264
|
+
itemPreview: string;
|
|
265
|
+
itemPreviewSvgIconId: string;
|
|
256
266
|
itemChecked: string;
|
|
257
267
|
itemHover: string;
|
|
258
268
|
itemInline: string;
|
|
@@ -277,6 +287,9 @@ export declare var defaultV2Css: {
|
|
|
277
287
|
label: string;
|
|
278
288
|
labelChecked: string;
|
|
279
289
|
itemDisabled: string;
|
|
290
|
+
itemReadOnly: string;
|
|
291
|
+
itemPreview: string;
|
|
292
|
+
itemPreviewSvgIconId: string;
|
|
280
293
|
itemChecked: string;
|
|
281
294
|
itemHover: string;
|
|
282
295
|
itemControl: string;
|
|
@@ -298,17 +311,25 @@ export declare var defaultV2Css: {
|
|
|
298
311
|
itemExchanged: string;
|
|
299
312
|
itemIndeterminate: string;
|
|
300
313
|
itemDisabled: string;
|
|
314
|
+
itemReadOnly: string;
|
|
315
|
+
itemPreview: string;
|
|
301
316
|
itemHover: string;
|
|
302
317
|
label: string;
|
|
303
318
|
labelTrue: string;
|
|
304
319
|
labelFalse: string;
|
|
305
320
|
switch: string;
|
|
306
321
|
disabledLabel: string;
|
|
322
|
+
labelReadOnly: string;
|
|
323
|
+
labelPreview: string;
|
|
307
324
|
sliderText: string;
|
|
308
325
|
slider: string;
|
|
309
326
|
sliderGhost: string;
|
|
310
327
|
radioItem: string;
|
|
311
328
|
radioItemChecked: string;
|
|
329
|
+
radioItemDisabled: string;
|
|
330
|
+
radioItemReadOnly: string;
|
|
331
|
+
radioItemPreview: string;
|
|
332
|
+
itemPreviewSvgIconId: string;
|
|
312
333
|
radioLabel: string;
|
|
313
334
|
radioControlLabel: string;
|
|
314
335
|
radioFieldset: string;
|
|
@@ -323,6 +344,8 @@ export declare var defaultV2Css: {
|
|
|
323
344
|
checkboxItemChecked: string;
|
|
324
345
|
checkboxItemDecorator: string;
|
|
325
346
|
checkboxItemDisabled: string;
|
|
347
|
+
checkboxItemReadOnly: string;
|
|
348
|
+
checkboxItemPreview: string;
|
|
326
349
|
controlCheckbox: string;
|
|
327
350
|
checkboxMaterialDecorator: string;
|
|
328
351
|
checkboxControlLabel: string;
|
|
@@ -332,6 +355,8 @@ export declare var defaultV2Css: {
|
|
|
332
355
|
root: string;
|
|
333
356
|
small: string;
|
|
334
357
|
controlDisabled: string;
|
|
358
|
+
controlReadOnly: string;
|
|
359
|
+
controlPreview: string;
|
|
335
360
|
constrolWithCharacterCounter: string;
|
|
336
361
|
characterCounterBig: string;
|
|
337
362
|
content: string;
|
|
@@ -342,6 +367,9 @@ export declare var defaultV2Css: {
|
|
|
342
367
|
root: string;
|
|
343
368
|
rootMobile: string;
|
|
344
369
|
itemLabel: string;
|
|
370
|
+
itemLabelReadOnly: string;
|
|
371
|
+
itemLabelDisabled: string;
|
|
372
|
+
itemLabelPreview: string;
|
|
345
373
|
itemLabelOnError: string;
|
|
346
374
|
itemLabelAllowFocus: string;
|
|
347
375
|
itemLabelAnswered: string;
|
|
@@ -379,6 +407,8 @@ export declare var defaultV2Css: {
|
|
|
379
407
|
controlInputFieldComponent: string;
|
|
380
408
|
controlValue: string;
|
|
381
409
|
controlDisabled: string;
|
|
410
|
+
controlReadOnly: string;
|
|
411
|
+
controlPreview: string;
|
|
382
412
|
controlEmpty: string;
|
|
383
413
|
controlLabel: string;
|
|
384
414
|
filterStringInput: string;
|
|
@@ -395,6 +425,8 @@ export declare var defaultV2Css: {
|
|
|
395
425
|
itemInline: string;
|
|
396
426
|
itemChecked: string;
|
|
397
427
|
itemDisabled: string;
|
|
428
|
+
itemReadOnly: string;
|
|
429
|
+
itemPreview: string;
|
|
398
430
|
itemHover: string;
|
|
399
431
|
label: string;
|
|
400
432
|
itemDecorator: string;
|
|
@@ -424,6 +456,7 @@ export declare var defaultV2Css: {
|
|
|
424
456
|
cell: string;
|
|
425
457
|
row: string;
|
|
426
458
|
rowDisabled: string;
|
|
459
|
+
rowReadOnly: string;
|
|
427
460
|
headerCell: string;
|
|
428
461
|
rowTextCell: string;
|
|
429
462
|
label: string;
|
|
@@ -431,6 +464,9 @@ export declare var defaultV2Css: {
|
|
|
431
464
|
itemValue: string;
|
|
432
465
|
itemChecked: string;
|
|
433
466
|
itemDisabled: string;
|
|
467
|
+
itemReadOnly: string;
|
|
468
|
+
itemPreview: string;
|
|
469
|
+
itemPreviewSvgIconId: string;
|
|
434
470
|
itemHover: string;
|
|
435
471
|
materialDecorator: string;
|
|
436
472
|
itemDecorator: string;
|
|
@@ -457,6 +493,8 @@ export declare var defaultV2Css: {
|
|
|
457
493
|
errorsCellBottom: string;
|
|
458
494
|
itemCell: string;
|
|
459
495
|
row: string;
|
|
496
|
+
rowFadeIn: string;
|
|
497
|
+
rowFadeOut: string;
|
|
460
498
|
expandedRow: string;
|
|
461
499
|
rowHasPanel: string;
|
|
462
500
|
rowHasEndActions: string;
|
|
@@ -495,6 +533,8 @@ export declare var defaultV2Css: {
|
|
|
495
533
|
content: string;
|
|
496
534
|
cell: string;
|
|
497
535
|
row: string;
|
|
536
|
+
rowFadeIn: string;
|
|
537
|
+
rowFadeOut: string;
|
|
498
538
|
rowHasPanel: string;
|
|
499
539
|
rowHasEndActions: string;
|
|
500
540
|
expandedRow: string;
|
|
@@ -551,6 +591,8 @@ export declare var defaultV2Css: {
|
|
|
551
591
|
itemStarHover: string;
|
|
552
592
|
itemStarSelected: string;
|
|
553
593
|
itemStarDisabled: string;
|
|
594
|
+
itemStarReadOnly: string;
|
|
595
|
+
itemStarPreview: string;
|
|
554
596
|
itemStarHighlighted: string;
|
|
555
597
|
itemStarUnhighlighted: string;
|
|
556
598
|
itemStarSmall: string;
|
|
@@ -559,6 +601,8 @@ export declare var defaultV2Css: {
|
|
|
559
601
|
itemSmileyHover: string;
|
|
560
602
|
itemSmileySelected: string;
|
|
561
603
|
itemSmileyDisabled: string;
|
|
604
|
+
itemSmileyReadOnly: string;
|
|
605
|
+
itemSmileyPreview: string;
|
|
562
606
|
itemSmileyHighlighted: string;
|
|
563
607
|
itemSmileyScaleColored: string;
|
|
564
608
|
itemSmileyRateColored: string;
|
|
@@ -567,6 +611,8 @@ export declare var defaultV2Css: {
|
|
|
567
611
|
itemText: string;
|
|
568
612
|
maxText: string;
|
|
569
613
|
itemDisabled: string;
|
|
614
|
+
itemReadOnly: string;
|
|
615
|
+
itemPreview: string;
|
|
570
616
|
itemFixedSize: string;
|
|
571
617
|
control: string;
|
|
572
618
|
itemSmall: string;
|
|
@@ -585,6 +631,8 @@ export declare var defaultV2Css: {
|
|
|
585
631
|
root: string;
|
|
586
632
|
small: string;
|
|
587
633
|
controlDisabled: string;
|
|
634
|
+
controlReadOnly: string;
|
|
635
|
+
controlPreview: string;
|
|
588
636
|
content: string;
|
|
589
637
|
remainingCharacterCounter: string;
|
|
590
638
|
onError: string;
|
|
@@ -594,9 +642,12 @@ export declare var defaultV2Css: {
|
|
|
594
642
|
root: string;
|
|
595
643
|
rootDragging: string;
|
|
596
644
|
rootAnswered: string;
|
|
645
|
+
rootDisabled: string;
|
|
646
|
+
rootReadOnly: string;
|
|
647
|
+
rootPreview: string;
|
|
597
648
|
other: string;
|
|
598
649
|
placeholderInput: string;
|
|
599
|
-
|
|
650
|
+
previewItem: string;
|
|
600
651
|
fileSign: string;
|
|
601
652
|
fileList: string;
|
|
602
653
|
fileSignBottom: string;
|
|
@@ -685,9 +736,12 @@ export declare var defaultV2Css: {
|
|
|
685
736
|
rootMobileMod: string;
|
|
686
737
|
rootDragMod: string;
|
|
687
738
|
rootDisabled: string;
|
|
739
|
+
rootReadOnly: string;
|
|
740
|
+
rootPreview: string;
|
|
688
741
|
rootDesignMode: string;
|
|
689
742
|
rootDragHandleAreaIcon: string;
|
|
690
743
|
rootSelectToRankMod: string;
|
|
744
|
+
rootSelectToRankEmptyValueMod: string;
|
|
691
745
|
rootSelectToRankAlignVertical: string;
|
|
692
746
|
rootSelectToRankAlignHorizontal: string;
|
|
693
747
|
item: string;
|
|
@@ -695,6 +749,8 @@ export declare var defaultV2Css: {
|
|
|
695
749
|
itemIndex: string;
|
|
696
750
|
itemIndexEmptyMode: string;
|
|
697
751
|
itemDisabled: string;
|
|
752
|
+
itemReadOnly: string;
|
|
753
|
+
itemPreview: string;
|
|
698
754
|
controlLabel: string;
|
|
699
755
|
itemGhostNode: string;
|
|
700
756
|
itemIconContainer: string;
|
|
@@ -771,7 +827,10 @@ export declare var defaultV2Css: {
|
|
|
771
827
|
controlValue: string;
|
|
772
828
|
controlValueItems: string;
|
|
773
829
|
placeholderInput: string;
|
|
830
|
+
controlEditable: string;
|
|
774
831
|
controlDisabled: string;
|
|
832
|
+
controlReadOnly: string;
|
|
833
|
+
controlPreview: string;
|
|
775
834
|
controlEmpty: string;
|
|
776
835
|
controlLabel: string;
|
|
777
836
|
filterStringInput: string;
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
* The class contains methods to work with api.surveyjs.io service.
|
|
3
3
|
*/
|
|
4
4
|
export declare class dxSurveyService {
|
|
5
|
+
locale: string;
|
|
5
6
|
static get serviceUrl(): string;
|
|
6
7
|
static set serviceUrl(val: string);
|
|
7
|
-
constructor();
|
|
8
8
|
loadSurvey(surveyId: string, onLoad: (success: boolean, result: string, response: any) => void): void;
|
|
9
9
|
getSurveyJsonAndIsCompleted(surveyId: string, clientId: string, onLoad: (success: boolean, surveyJson: any, result: string, response: any) => void): void;
|
|
10
|
+
canSendResult(result: JSON): boolean;
|
|
11
|
+
get isSurveJSIOService(): boolean;
|
|
10
12
|
sendResult(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
|
|
13
|
+
protected sendResultCore(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
|
|
11
14
|
sendFile(postId: string, file: File, onSendFile: (success: boolean, response: any) => void): void;
|
|
12
15
|
getResult(resultId: string, name: string, onGetResult: (success: boolean, data: any, dataList: Array<any>, response: any) => void): void;
|
|
13
16
|
isCompleted(resultId: string, clientId: string, onIsCompleted: (success: boolean, result: string, response: any) => void): void;
|
|
17
|
+
private get serviceUrl();
|
|
14
18
|
}
|