survey-core 1.11.8 → 1.11.9
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 +7 -8
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +7 -8
- 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 +1 -1
- package/i18n/english.min.js +1 -1
- 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 +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- 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/philippines.js +1 -1
- package/i18n/philippines.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 +1 -1
- package/modern.fontless.css +1 -1
- package/modern.fontless.min.css +1 -1
- package/modern.min.css +1 -1
- 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 +149 -77
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- 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 +1 -0
- package/ts3.4/typings/jsonobject.d.ts +2 -1
- package/ts3.4/typings/question_baseselect.d.ts +0 -5
- package/ts3.4/typings/question_custom.d.ts +8 -0
- package/ts3.4/typings/question_file.d.ts +2 -1
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +1 -0
- package/ts3.4/typings/question_multipletext.d.ts +1 -0
- package/ts3.4/typings/question_paneldynamic.d.ts +2 -0
- package/ts3.4/typings/question_text.d.ts +2 -0
- package/ts3.4/typings/survey.d.ts +3 -1
- package/typings/base-interfaces.d.ts +1 -0
- package/typings/jsonobject.d.ts +2 -1
- package/typings/question_baseselect.d.ts +0 -5
- package/typings/question_custom.d.ts +8 -0
- package/typings/question_file.d.ts +2 -1
- package/typings/question_matrixdropdownbase.d.ts +1 -0
- package/typings/question_multipletext.d.ts +1 -0
- package/typings/question_paneldynamic.d.ts +2 -0
- package/typings/question_text.d.ts +2 -0
- package/typings/survey.d.ts +3 -1
package/themes/solid-light.js
CHANGED
|
@@ -21,6 +21,7 @@ export interface ISurveyData {
|
|
|
21
21
|
getFilteredValues(): any;
|
|
22
22
|
getFilteredProperties(): any;
|
|
23
23
|
findQuestionByName(name: string): IQuestion;
|
|
24
|
+
getEditingSurveyElement(): Base;
|
|
24
25
|
}
|
|
25
26
|
export interface ITextProcessor {
|
|
26
27
|
processText(text: string, returnDisplayValue: boolean): string;
|
|
@@ -129,7 +129,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
|
|
|
129
129
|
onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
|
|
130
130
|
constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
|
|
131
131
|
uniqueProperty?: string;
|
|
132
|
-
dependsOn?: string | string
|
|
132
|
+
dependsOn?: string | Array<string>;
|
|
133
133
|
default?: any;
|
|
134
134
|
defaultFunc?: (obj: Base) => any;
|
|
135
135
|
readonly id: number;
|
|
@@ -333,6 +333,7 @@ export declare class JsonObject {
|
|
|
333
333
|
toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
|
|
334
334
|
toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
|
|
335
335
|
toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
|
|
336
|
+
private setPropertyValueToObj;
|
|
336
337
|
toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
|
|
337
338
|
private getDynamicProperties;
|
|
338
339
|
private addDynamicProperties;
|
|
@@ -459,11 +459,6 @@ export declare class QuestionSelectBase extends Question {
|
|
|
459
459
|
readonly hasHeadItems: boolean;
|
|
460
460
|
readonly hasFootItems: boolean;
|
|
461
461
|
readonly columns: any[];
|
|
462
|
-
protected getObservedElementSelector(): string;
|
|
463
|
-
protected supportResponsiveness(): boolean;
|
|
464
|
-
allowMultiColumns: boolean;
|
|
465
|
-
protected onBeforeSetCompactRenderer(): void;
|
|
466
|
-
protected onBeforeSetDesktopRenderer(): void;
|
|
467
462
|
readonly hasColumns: boolean;
|
|
468
463
|
readonly rowLayout: boolean;
|
|
469
464
|
readonly blockedRow: boolean;
|
|
@@ -340,6 +340,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
|
|
|
340
340
|
getFilteredValues(): any;
|
|
341
341
|
getFilteredProperties(): any;
|
|
342
342
|
findQuestionByName(name: string): IQuestion;
|
|
343
|
+
getEditingSurveyElement(): Base;
|
|
343
344
|
addElement(element: IElement, index: number): void;
|
|
344
345
|
removeElement(element: IElement): boolean;
|
|
345
346
|
getQuestionTitleLocation(): string;
|
|
@@ -409,6 +410,12 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
409
410
|
readonly contentPanel: PanelModel;
|
|
410
411
|
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
|
411
412
|
updateElementCss(reNew?: boolean): void;
|
|
413
|
+
dispose(): void;
|
|
414
|
+
private editingObjValue;
|
|
415
|
+
private onEditingObjPropertyChanged;
|
|
416
|
+
private updateEditingObj;
|
|
417
|
+
private unConnectEditingObj;
|
|
418
|
+
getEditingSurveyElement(): Base;
|
|
412
419
|
getTextProcessor(): ITextProcessor;
|
|
413
420
|
findQuestionByName(name: string): IQuestion;
|
|
414
421
|
protected clearValueIfInvisibleCore(reason: string): void;
|
|
@@ -417,6 +424,7 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
417
424
|
readonly isContainer: boolean;
|
|
418
425
|
protected createPanel(): PanelModel;
|
|
419
426
|
protected onReadOnlyChanged(): void;
|
|
427
|
+
updateValueFromSurvey(newValue: any, clearData?: boolean): void;
|
|
420
428
|
onSurveyLoad(): void;
|
|
421
429
|
private setIsContentElement;
|
|
422
430
|
setVisibleIndex(val: number): number;
|
|
@@ -241,7 +241,8 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
241
241
|
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
|
242
242
|
private rootElement;
|
|
243
243
|
private canDragDrop;
|
|
244
|
-
|
|
244
|
+
afterRenderQuestionElement(el: HTMLElement): void;
|
|
245
|
+
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
245
246
|
private dragCounter;
|
|
246
247
|
onDragEnter: (event: any) => void;
|
|
247
248
|
onDragOver: (event: any) => boolean;
|
|
@@ -112,6 +112,7 @@ export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyI
|
|
|
112
112
|
getComment(name: string): string;
|
|
113
113
|
setComment(name: string, newValue: string, locNotification: any): void;
|
|
114
114
|
findQuestionByName(name: string): IQuestion;
|
|
115
|
+
getEditingSurveyElement(): Base;
|
|
115
116
|
private setValueCore;
|
|
116
117
|
private updateQuestionsValue;
|
|
117
118
|
runTriggers(name: string, value: any): void;
|
|
@@ -166,6 +166,7 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
|
|
|
166
166
|
getFilteredValues(): any;
|
|
167
167
|
getFilteredProperties(): any;
|
|
168
168
|
findQuestionByName(name: string): IQuestion;
|
|
169
|
+
getEditingSurveyElement(): Base;
|
|
169
170
|
getValidatorTitle(): string;
|
|
170
171
|
validatedValue: any;
|
|
171
172
|
getDataFilteredValues(): any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HashTable } from "./helpers";
|
|
2
2
|
import { IElement, IQuestion, IPanel, ISurveyData, ISurvey, ISurveyImpl, ITextProcessor, IProgressInfo, IPlainDataOptions } from "./base-interfaces";
|
|
3
3
|
import { LocalizableString } from "./localizablestring";
|
|
4
|
+
import { Base } from "./base";
|
|
4
5
|
import { Question, IConditionObject, IQuestionPlainData } from "./question";
|
|
5
6
|
import { PanelModel } from "./panel";
|
|
6
7
|
import { SurveyError } from "./survey-error";
|
|
@@ -36,6 +37,7 @@ export declare class QuestionPanelDynamicItem implements ISurveyData, ISurveyImp
|
|
|
36
37
|
getComment(name: string): string;
|
|
37
38
|
setComment(name: string, newValue: string, locNotification: any): void;
|
|
38
39
|
findQuestionByName(name: string): IQuestion;
|
|
40
|
+
getEditingSurveyElement(): Base;
|
|
39
41
|
getAllValues(): any;
|
|
40
42
|
getFilteredValues(): any;
|
|
41
43
|
getFilteredProperties(): any;
|
|
@@ -130,6 +130,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
130
130
|
private hasToConvertToUTC;
|
|
131
131
|
protected valueForSurveyCore(val: any): any;
|
|
132
132
|
protected valueFromDataCore(val: any): any;
|
|
133
|
+
private dateValidationMessage;
|
|
133
134
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
134
135
|
protected canSetValueToSurvey(): boolean;
|
|
135
136
|
protected convertFuncValuetoQuestionValue(val: any): any;
|
|
@@ -166,6 +167,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
166
167
|
private updateValueOnEvent;
|
|
167
168
|
onCompositionUpdate: (event: any) => void;
|
|
168
169
|
onKeyUp: (event: any) => void;
|
|
170
|
+
private updateDateValidationMessage;
|
|
169
171
|
onKeyDown: (event: any) => void;
|
|
170
172
|
onChange: (event: any) => void;
|
|
171
173
|
onBlur: (event: any) => void;
|
|
@@ -1550,6 +1550,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1550
1550
|
private collectDataFromPanel;
|
|
1551
1551
|
private onEditingObjPropertyChanged;
|
|
1552
1552
|
editingObj: Base;
|
|
1553
|
+
private unConnectEditingObj;
|
|
1553
1554
|
readonly isEditingSurveyElement: boolean;
|
|
1554
1555
|
private setCalculatedValuesIntoResult;
|
|
1555
1556
|
getAllValues(): any;
|
|
@@ -2073,8 +2074,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2073
2074
|
updatePanelCssClasses(panel: PanelModel, cssClasses: any): void;
|
|
2074
2075
|
updatePageCssClasses(page: PageModel, cssClasses: any): void;
|
|
2075
2076
|
updateChoiceItemCss(question: IQuestion, options: any): void;
|
|
2076
|
-
private isFirstPageRendering;
|
|
2077
2077
|
private isCurrentPageRendering;
|
|
2078
|
+
private isCurrentPageRendered;
|
|
2078
2079
|
afterRenderPage(htmlElement: HTMLElement): void;
|
|
2079
2080
|
afterRenderHeader(htmlElement: HTMLElement): void;
|
|
2080
2081
|
afterRenderQuestion(question: Question, htmlElement: HTMLElement): void;
|
|
@@ -2247,6 +2248,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2247
2248
|
*/
|
|
2248
2249
|
getQuestionByName(name: string, caseInsensitive?: boolean): Question;
|
|
2249
2250
|
findQuestionByName(name: string): IQuestion;
|
|
2251
|
+
getEditingSurveyElement(): Base;
|
|
2250
2252
|
/**
|
|
2251
2253
|
* Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
|
|
2252
2254
|
*
|
|
@@ -21,6 +21,7 @@ export interface ISurveyData {
|
|
|
21
21
|
getFilteredValues(): any;
|
|
22
22
|
getFilteredProperties(): any;
|
|
23
23
|
findQuestionByName(name: string): IQuestion;
|
|
24
|
+
getEditingSurveyElement(): Base;
|
|
24
25
|
}
|
|
25
26
|
export interface ITextProcessor {
|
|
26
27
|
processText(text: string, returnDisplayValue: boolean): string;
|
package/typings/jsonobject.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
|
|
|
129
129
|
onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
|
|
130
130
|
constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
|
|
131
131
|
uniqueProperty?: string;
|
|
132
|
-
dependsOn?: string | string
|
|
132
|
+
dependsOn?: string | Array<string>;
|
|
133
133
|
default?: any;
|
|
134
134
|
defaultFunc?: (obj: Base) => any;
|
|
135
135
|
get id(): number;
|
|
@@ -342,6 +342,7 @@ export declare class JsonObject {
|
|
|
342
342
|
toJsonObject(obj: any, options?: ISaveToJSONOptions | boolean): any;
|
|
343
343
|
toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
|
|
344
344
|
toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
|
|
345
|
+
private setPropertyValueToObj;
|
|
345
346
|
toJsonObjectCore(obj: any, property: JsonObjectProperty, options?: ISaveToJSONOptions | boolean): any;
|
|
346
347
|
private getDynamicProperties;
|
|
347
348
|
private addDynamicProperties;
|
|
@@ -486,11 +486,6 @@ export declare class QuestionSelectBase extends Question {
|
|
|
486
486
|
get hasHeadItems(): boolean;
|
|
487
487
|
get hasFootItems(): boolean;
|
|
488
488
|
get columns(): any[];
|
|
489
|
-
protected getObservedElementSelector(): string;
|
|
490
|
-
protected supportResponsiveness(): boolean;
|
|
491
|
-
allowMultiColumns: boolean;
|
|
492
|
-
protected onBeforeSetCompactRenderer(): void;
|
|
493
|
-
protected onBeforeSetDesktopRenderer(): void;
|
|
494
489
|
get hasColumns(): boolean;
|
|
495
490
|
get rowLayout(): boolean;
|
|
496
491
|
get blockedRow(): boolean;
|
|
@@ -340,6 +340,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
|
|
|
340
340
|
getFilteredValues(): any;
|
|
341
341
|
getFilteredProperties(): any;
|
|
342
342
|
findQuestionByName(name: string): IQuestion;
|
|
343
|
+
getEditingSurveyElement(): Base;
|
|
343
344
|
addElement(element: IElement, index: number): void;
|
|
344
345
|
removeElement(element: IElement): boolean;
|
|
345
346
|
getQuestionTitleLocation(): string;
|
|
@@ -409,6 +410,12 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
409
410
|
get contentPanel(): PanelModel;
|
|
410
411
|
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
|
411
412
|
updateElementCss(reNew?: boolean): void;
|
|
413
|
+
dispose(): void;
|
|
414
|
+
private editingObjValue;
|
|
415
|
+
private onEditingObjPropertyChanged;
|
|
416
|
+
private updateEditingObj;
|
|
417
|
+
private unConnectEditingObj;
|
|
418
|
+
getEditingSurveyElement(): Base;
|
|
412
419
|
getTextProcessor(): ITextProcessor;
|
|
413
420
|
findQuestionByName(name: string): IQuestion;
|
|
414
421
|
protected clearValueIfInvisibleCore(reason: string): void;
|
|
@@ -417,6 +424,7 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
417
424
|
get isContainer(): boolean;
|
|
418
425
|
protected createPanel(): PanelModel;
|
|
419
426
|
protected onReadOnlyChanged(): void;
|
|
427
|
+
updateValueFromSurvey(newValue: any, clearData?: boolean): void;
|
|
420
428
|
onSurveyLoad(): void;
|
|
421
429
|
private setIsContentElement;
|
|
422
430
|
setVisibleIndex(val: number): number;
|
|
@@ -254,7 +254,8 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
254
254
|
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
|
255
255
|
private rootElement;
|
|
256
256
|
private canDragDrop;
|
|
257
|
-
|
|
257
|
+
afterRenderQuestionElement(el: HTMLElement): void;
|
|
258
|
+
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
258
259
|
private dragCounter;
|
|
259
260
|
onDragEnter: (event: any) => void;
|
|
260
261
|
onDragOver: (event: any) => boolean;
|
|
@@ -114,6 +114,7 @@ export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyI
|
|
|
114
114
|
getComment(name: string): string;
|
|
115
115
|
setComment(name: string, newValue: string, locNotification: any): void;
|
|
116
116
|
findQuestionByName(name: string): IQuestion;
|
|
117
|
+
getEditingSurveyElement(): Base;
|
|
117
118
|
private setValueCore;
|
|
118
119
|
private updateQuestionsValue;
|
|
119
120
|
runTriggers(name: string, value: any): void;
|
|
@@ -183,6 +183,7 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
|
|
|
183
183
|
getFilteredValues(): any;
|
|
184
184
|
getFilteredProperties(): any;
|
|
185
185
|
findQuestionByName(name: string): IQuestion;
|
|
186
|
+
getEditingSurveyElement(): Base;
|
|
186
187
|
getValidatorTitle(): string;
|
|
187
188
|
get validatedValue(): any;
|
|
188
189
|
set validatedValue(val: any);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HashTable } from "./helpers";
|
|
2
2
|
import { IElement, IQuestion, IPanel, ISurveyData, ISurvey, ISurveyImpl, ITextProcessor, IProgressInfo, IPlainDataOptions } from "./base-interfaces";
|
|
3
3
|
import { LocalizableString } from "./localizablestring";
|
|
4
|
+
import { Base } from "./base";
|
|
4
5
|
import { Question, IConditionObject, IQuestionPlainData } from "./question";
|
|
5
6
|
import { PanelModel } from "./panel";
|
|
6
7
|
import { SurveyError } from "./survey-error";
|
|
@@ -36,6 +37,7 @@ export declare class QuestionPanelDynamicItem implements ISurveyData, ISurveyImp
|
|
|
36
37
|
getComment(name: string): string;
|
|
37
38
|
setComment(name: string, newValue: string, locNotification: any): void;
|
|
38
39
|
findQuestionByName(name: string): IQuestion;
|
|
40
|
+
getEditingSurveyElement(): Base;
|
|
39
41
|
getAllValues(): any;
|
|
40
42
|
getFilteredValues(): any;
|
|
41
43
|
getFilteredProperties(): any;
|
|
@@ -141,6 +141,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
141
141
|
private hasToConvertToUTC;
|
|
142
142
|
protected valueForSurveyCore(val: any): any;
|
|
143
143
|
protected valueFromDataCore(val: any): any;
|
|
144
|
+
private dateValidationMessage;
|
|
144
145
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
145
146
|
protected canSetValueToSurvey(): boolean;
|
|
146
147
|
protected convertFuncValuetoQuestionValue(val: any): any;
|
|
@@ -179,6 +180,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
179
180
|
private updateValueOnEvent;
|
|
180
181
|
onCompositionUpdate: (event: any) => void;
|
|
181
182
|
onKeyUp: (event: any) => void;
|
|
183
|
+
private updateDateValidationMessage;
|
|
182
184
|
onKeyDown: (event: any) => void;
|
|
183
185
|
onChange: (event: any) => void;
|
|
184
186
|
onBlur: (event: any) => void;
|
package/typings/survey.d.ts
CHANGED
|
@@ -1621,6 +1621,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1621
1621
|
private onEditingObjPropertyChanged;
|
|
1622
1622
|
get editingObj(): Base;
|
|
1623
1623
|
set editingObj(val: Base);
|
|
1624
|
+
private unConnectEditingObj;
|
|
1624
1625
|
get isEditingSurveyElement(): boolean;
|
|
1625
1626
|
private setCalculatedValuesIntoResult;
|
|
1626
1627
|
getAllValues(): any;
|
|
@@ -2159,8 +2160,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2159
2160
|
updatePanelCssClasses(panel: PanelModel, cssClasses: any): void;
|
|
2160
2161
|
updatePageCssClasses(page: PageModel, cssClasses: any): void;
|
|
2161
2162
|
updateChoiceItemCss(question: IQuestion, options: any): void;
|
|
2162
|
-
private isFirstPageRendering;
|
|
2163
2163
|
private isCurrentPageRendering;
|
|
2164
|
+
private isCurrentPageRendered;
|
|
2164
2165
|
afterRenderPage(htmlElement: HTMLElement): void;
|
|
2165
2166
|
afterRenderHeader(htmlElement: HTMLElement): void;
|
|
2166
2167
|
afterRenderQuestion(question: Question, htmlElement: HTMLElement): void;
|
|
@@ -2333,6 +2334,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2333
2334
|
*/
|
|
2334
2335
|
getQuestionByName(name: string, caseInsensitive?: boolean): Question;
|
|
2335
2336
|
findQuestionByName(name: string): IQuestion;
|
|
2337
|
+
getEditingSurveyElement(): Base;
|
|
2336
2338
|
/**
|
|
2337
2339
|
* Returns a question with a specified [`valueName`](https://surveyjs.io/form-library/documentation/api-reference/question#valueName).
|
|
2338
2340
|
*
|