survey-react 1.9.130 → 1.9.132
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 +22 -2
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +15 -1
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +208 -134
- package/survey.react.js +176 -57
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.react.d.ts
CHANGED
@@ -269,130 +269,6 @@ declare module "surveyStrings" {
|
|
269
269
|
cancel: string;
|
270
270
|
};
|
271
271
|
}
|
272
|
-
declare module "localizablestring" {
|
273
|
-
import { EventBase } from "base";
|
274
|
-
export interface ILocalizableOwner {
|
275
|
-
getLocale(): string;
|
276
|
-
getMarkdownHtml(text: string, name: string): string;
|
277
|
-
getProcessedText(text: string): string;
|
278
|
-
getRenderer(name: string): string;
|
279
|
-
getRendererContext(locStr: LocalizableString): any;
|
280
|
-
}
|
281
|
-
export interface ILocalizableString {
|
282
|
-
getLocaleText(loc: string): string;
|
283
|
-
setLocaleText(loc: string, newValue: string): any;
|
284
|
-
getJson(): any;
|
285
|
-
getLocales(): Array<string>;
|
286
|
-
getIsMultiple(): boolean;
|
287
|
-
}
|
288
|
-
/**
|
289
|
-
* The class represents the string that supports multi-languages and markdown.
|
290
|
-
* It uses in all objects where support for multi-languages and markdown is required.
|
291
|
-
*/
|
292
|
-
export class LocalizableString implements ILocalizableString {
|
293
|
-
owner: ILocalizableOwner;
|
294
|
-
useMarkdown: boolean;
|
295
|
-
name?: string;
|
296
|
-
static SerializeAsObject: boolean;
|
297
|
-
static get defaultLocale(): string;
|
298
|
-
static set defaultLocale(val: string);
|
299
|
-
static defaultRenderer: string;
|
300
|
-
static editableRenderer: string;
|
301
|
-
private values;
|
302
|
-
private htmlValues;
|
303
|
-
private renderedText;
|
304
|
-
private calculatedTextValue;
|
305
|
-
private _localizationName;
|
306
|
-
get localizationName(): string;
|
307
|
-
set localizationName(val: string);
|
308
|
-
onGetTextCallback: (str: string) => string;
|
309
|
-
storeDefaultText: boolean;
|
310
|
-
onGetLocalizationTextCallback: (str: string) => string;
|
311
|
-
onStrChanged: (oldValue: string, newValue: string) => void;
|
312
|
-
onSearchChanged: () => void;
|
313
|
-
sharedData: LocalizableString;
|
314
|
-
searchText: string;
|
315
|
-
searchIndex: number;
|
316
|
-
disableLocalization: boolean;
|
317
|
-
defaultValue: string;
|
318
|
-
constructor(owner: ILocalizableOwner, useMarkdown?: boolean, name?: string);
|
319
|
-
getIsMultiple(): boolean;
|
320
|
-
get locale(): string;
|
321
|
-
strChanged(): void;
|
322
|
-
get text(): string;
|
323
|
-
set text(value: string);
|
324
|
-
get calculatedText(): string;
|
325
|
-
private calcText;
|
326
|
-
get pureText(): string;
|
327
|
-
private getRootDialect;
|
328
|
-
private getLocalizationName;
|
329
|
-
private getLocalizationStr;
|
330
|
-
get hasHtml(): boolean;
|
331
|
-
get html(): string;
|
332
|
-
get isEmpty(): boolean;
|
333
|
-
get textOrHtml(): string;
|
334
|
-
get renderedHtml(): string;
|
335
|
-
getLocaleText(loc: string): string;
|
336
|
-
private getLocaleTextCore;
|
337
|
-
private isLocaleTextEqualsWithDefault;
|
338
|
-
clear(): void;
|
339
|
-
clearLocale(loc?: string): void;
|
340
|
-
setLocaleText(loc: string, value: string): void;
|
341
|
-
private isValueEmpty;
|
342
|
-
private get curLocale();
|
343
|
-
private canRemoveLocValue;
|
344
|
-
private fireStrChanged;
|
345
|
-
hasNonDefaultText(): boolean;
|
346
|
-
getLocales(): Array<string>;
|
347
|
-
getJson(): any;
|
348
|
-
setJson(value: any): void;
|
349
|
-
get renderAs(): string;
|
350
|
-
get renderAsData(): any;
|
351
|
-
equals(obj: any): boolean;
|
352
|
-
private searchableText;
|
353
|
-
setFindText(text: string): boolean;
|
354
|
-
onChanged(): void;
|
355
|
-
onStringChanged: EventBase<LocalizableString>;
|
356
|
-
protected onCreating(): void;
|
357
|
-
private hasHtmlValue;
|
358
|
-
private setHtmlValue;
|
359
|
-
getHtmlValue(): string;
|
360
|
-
private deleteValuesEqualsToDefault;
|
361
|
-
private getValue;
|
362
|
-
private setValue;
|
363
|
-
private deleteValue;
|
364
|
-
private getValueLoc;
|
365
|
-
private getValuesKeys;
|
366
|
-
private get defaultLoc();
|
367
|
-
}
|
368
|
-
/**
|
369
|
-
* The class represents the list of strings that supports multi-languages.
|
370
|
-
*/
|
371
|
-
export class LocalizableStrings implements ILocalizableString {
|
372
|
-
owner: ILocalizableOwner;
|
373
|
-
private values;
|
374
|
-
onValueChanged: (oldValue: any, newValue: any) => void;
|
375
|
-
constructor(owner: ILocalizableOwner);
|
376
|
-
getIsMultiple(): boolean;
|
377
|
-
get locale(): string;
|
378
|
-
get value(): Array<string>;
|
379
|
-
set value(val: Array<string>);
|
380
|
-
get text(): string;
|
381
|
-
set text(val: string);
|
382
|
-
getLocaleText(loc: string): string;
|
383
|
-
setLocaleText(loc: string, newValue: string): any;
|
384
|
-
getValue(loc: string): Array<string>;
|
385
|
-
private getValueCore;
|
386
|
-
setValue(loc: string, val: Array<string>): void;
|
387
|
-
hasValue(loc?: string): boolean;
|
388
|
-
get isEmpty(): boolean;
|
389
|
-
private getLocale;
|
390
|
-
getLocales(): Array<string>;
|
391
|
-
getJson(): any;
|
392
|
-
setJson(value: any): void;
|
393
|
-
private getValuesKeys;
|
394
|
-
}
|
395
|
-
}
|
396
272
|
declare module "conditionProcessValue" {
|
397
273
|
import { HashTable } from "helpers";
|
398
274
|
export class ProcessValue {
|
@@ -814,6 +690,7 @@ declare module "popup-view-model" {
|
|
814
690
|
}
|
815
691
|
}
|
816
692
|
declare module "utils/utils" {
|
693
|
+
import { PopupBaseViewModel } from "popup-view-model";
|
817
694
|
function compareVersions(a: any, b: any): number;
|
818
695
|
function confirmAction(message: string): boolean;
|
819
696
|
function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string, rootElement?: HTMLElement): void;
|
@@ -849,7 +726,7 @@ declare module "utils/utils" {
|
|
849
726
|
function isContainerVisible(el: HTMLElement): boolean;
|
850
727
|
function getFirstVisibleChild(el: HTMLElement): any;
|
851
728
|
function findParentByClassNames(element: HTMLElement, classNames: Array<string>): Element;
|
852
|
-
export function sanitizeEditableContent(element: any): void;
|
729
|
+
export function sanitizeEditableContent(element: any, cleanLineBreaks?: boolean): void;
|
853
730
|
function mergeValues(src: any, dest: any): void;
|
854
731
|
export class Logger {
|
855
732
|
private _result;
|
@@ -857,6 +734,7 @@ declare module "utils/utils" {
|
|
857
734
|
get result(): string;
|
858
735
|
}
|
859
736
|
export function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement): boolean;
|
737
|
+
export function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
860
738
|
function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
861
739
|
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|
862
740
|
}
|
@@ -2805,10 +2683,12 @@ declare module "question_custom" {
|
|
2805
2683
|
private setIsContentElement;
|
2806
2684
|
setVisibleIndex(val: number): number;
|
2807
2685
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
2686
|
+
onSurveyValueChanged(newValue: any): void;
|
2808
2687
|
getValue(name: string): any;
|
2809
2688
|
protected getQuestionByName(name: string): IQuestion;
|
2810
2689
|
private settingNewValue;
|
2811
2690
|
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
|
2691
|
+
private runPanelTriggers;
|
2812
2692
|
getFilteredValues(): any;
|
2813
2693
|
private updateValueCoreWithPanelValue;
|
2814
2694
|
private getContentPanelValue;
|
@@ -8337,6 +8217,7 @@ declare module "question_multipletext" {
|
|
8337
8217
|
export class MultipleTextEditorModel extends QuestionTextModel {
|
8338
8218
|
get a11y_input_ariaLabel(): string;
|
8339
8219
|
get a11y_input_ariaLabelledBy(): string;
|
8220
|
+
get a11y_input_ariaDescribedBy(): string;
|
8340
8221
|
}
|
8341
8222
|
/**
|
8342
8223
|
* A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
|
@@ -11641,6 +11522,7 @@ declare module "survey-element" {
|
|
11641
11522
|
get cssClasses(): any;
|
11642
11523
|
get cssTitle(): string;
|
11643
11524
|
get ariaTitleId(): string;
|
11525
|
+
get ariaDescriptionId(): string;
|
11644
11526
|
get titleTabIndex(): number;
|
11645
11527
|
get titleAriaExpanded(): any;
|
11646
11528
|
get titleAriaRole(): any;
|
@@ -12005,6 +11887,7 @@ declare module "questionCustomWidgets" {
|
|
12005
11887
|
afterRender(question: IQuestion, el: any): void;
|
12006
11888
|
willUnmount(question: IQuestion, el: any): void;
|
12007
11889
|
getDisplayValue(question: IQuestion, value?: any): string;
|
11890
|
+
validate(question: IQuestion): string;
|
12008
11891
|
isFit(question: IQuestion): boolean;
|
12009
11892
|
get canShowInToolbox(): boolean;
|
12010
11893
|
get showInToolbox(): boolean;
|
@@ -12526,6 +12409,7 @@ declare module "question" {
|
|
12526
12409
|
get id(): string;
|
12527
12410
|
set id(val: string);
|
12528
12411
|
get ariaTitleId(): string;
|
12412
|
+
get ariaDescriptionId(): string;
|
12529
12413
|
get commentId(): string;
|
12530
12414
|
/**
|
12531
12415
|
* Specifies whether to display the "Other" choice item. Incompatible with the `showCommentArea` property.
|
@@ -12827,6 +12711,7 @@ declare module "question" {
|
|
12827
12711
|
*/
|
12828
12712
|
get requiredText(): string;
|
12829
12713
|
addError(error: SurveyError | string): void;
|
12714
|
+
private addCustomError;
|
12830
12715
|
removeError(error: SurveyError): void;
|
12831
12716
|
private checkForErrors;
|
12832
12717
|
protected canCollectErrors(): boolean;
|
@@ -12937,14 +12822,16 @@ declare module "question" {
|
|
12937
12822
|
get ariaRequired(): "true" | "false";
|
12938
12823
|
get ariaInvalid(): "true" | "false";
|
12939
12824
|
get ariaLabelledBy(): string;
|
12940
|
-
get ariaExpanded(): string;
|
12941
12825
|
get ariaDescribedBy(): string;
|
12826
|
+
get ariaExpanded(): string;
|
12827
|
+
get ariaErrormessage(): string;
|
12942
12828
|
get a11y_input_ariaRole(): string;
|
12943
12829
|
get a11y_input_ariaRequired(): "true" | "false";
|
12944
12830
|
get a11y_input_ariaInvalid(): "true" | "false";
|
12945
12831
|
get a11y_input_ariaLabel(): string;
|
12946
12832
|
get a11y_input_ariaLabelledBy(): string;
|
12947
12833
|
get a11y_input_ariaDescribedBy(): string;
|
12834
|
+
get a11y_input_ariaErrormessage(): string;
|
12948
12835
|
}
|
12949
12836
|
}
|
12950
12837
|
declare module "itemvalue" {
|
@@ -14025,6 +13912,52 @@ declare module "jsonobject" {
|
|
14025
13912
|
export interface IObject {
|
14026
13913
|
[key: string]: any;
|
14027
13914
|
}
|
13915
|
+
export interface IJsonPropertyInfo {
|
13916
|
+
name: string;
|
13917
|
+
type?: string;
|
13918
|
+
className?: string;
|
13919
|
+
classNamePart?: string;
|
13920
|
+
baseClassName?: string;
|
13921
|
+
isRequired?: boolean;
|
13922
|
+
isUnique?: boolean;
|
13923
|
+
uniqueProperty?: string;
|
13924
|
+
choices?: any;
|
13925
|
+
visible?: boolean;
|
13926
|
+
alternativeName?: string;
|
13927
|
+
oldName?: string;
|
13928
|
+
version?: string;
|
13929
|
+
dataList?: Array<string>;
|
13930
|
+
isLocalizable?: boolean;
|
13931
|
+
isSerializable?: boolean;
|
13932
|
+
isLightSerializable?: boolean;
|
13933
|
+
readOnly?: boolean;
|
13934
|
+
serializationProperty?: string;
|
13935
|
+
dependsOn?: Array<string> | string;
|
13936
|
+
isBindable?: boolean;
|
13937
|
+
isArray?: boolean;
|
13938
|
+
layout?: string;
|
13939
|
+
default?: any;
|
13940
|
+
defaultFunc?: (obj: Base) => any;
|
13941
|
+
baseValue?: any;
|
13942
|
+
onSerializeValue?: (obj: any) => any;
|
13943
|
+
onGetValue?: (obj: any) => any;
|
13944
|
+
onSettingValue?: (obj: any, value: any) => any;
|
13945
|
+
onSetValue?: (obj: any, value: any, jsonConv: JsonObject) => any;
|
13946
|
+
visibleIf?: (obj: any) => boolean;
|
13947
|
+
enableIf?: (obj: any) => boolean;
|
13948
|
+
onExecuteExpression?: (obj: any, res: any) => any;
|
13949
|
+
onPropertyEditorUpdate?: (obj: any, propEditor: any) => any;
|
13950
|
+
displayName?: string;
|
13951
|
+
category?: string;
|
13952
|
+
categoryIndex?: number;
|
13953
|
+
visibleIndex?: number;
|
13954
|
+
nextToProperty?: string;
|
13955
|
+
overridingProperty?: string;
|
13956
|
+
showMode?: string;
|
13957
|
+
maxLength?: number;
|
13958
|
+
maxValue?: any;
|
13959
|
+
minValue?: any;
|
13960
|
+
}
|
14028
13961
|
/**
|
14029
13962
|
* Contains information about a property of a survey element (page, panel, questions, and etc).
|
14030
13963
|
* @see addProperty
|
@@ -14032,7 +13965,7 @@ declare module "jsonobject" {
|
|
14032
13965
|
* @see [Add Properties](https://surveyjs.io/Documentation/Survey-Creator#addproperties)
|
14033
13966
|
* @see [Remove Properties](https://surveyjs.io/Documentation/Survey-Creator#removeproperties)
|
14034
13967
|
*/
|
14035
|
-
export class JsonObjectProperty implements IObject {
|
13968
|
+
export class JsonObjectProperty implements IObject, IJsonPropertyInfo {
|
14036
13969
|
name: string;
|
14037
13970
|
static getItemValuesDefaultValue: (val: any, type: string) => any;
|
14038
13971
|
[key: string]: any;
|
@@ -14042,7 +13975,7 @@ declare module "jsonobject" {
|
|
14042
13975
|
private classInfoValue;
|
14043
13976
|
private typeValue;
|
14044
13977
|
private choicesValue;
|
14045
|
-
|
13978
|
+
baseValue: any;
|
14046
13979
|
private isRequiredValue;
|
14047
13980
|
private isUniqueValue;
|
14048
13981
|
private uniquePropertyValue;
|
@@ -14086,6 +14019,10 @@ declare module "jsonobject" {
|
|
14086
14019
|
onExecuteExpression: (obj: any, res: any) => any;
|
14087
14020
|
onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
|
14088
14021
|
constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
|
14022
|
+
uniqueProperty?: string;
|
14023
|
+
dependsOn?: string | string[];
|
14024
|
+
default?: any;
|
14025
|
+
defaultFunc?: (obj: Base) => any;
|
14089
14026
|
get id(): number;
|
14090
14027
|
get classInfo(): JsonMetadataClass;
|
14091
14028
|
get type(): string;
|
@@ -14199,7 +14136,7 @@ declare module "jsonobject" {
|
|
14199
14136
|
private getObjPropertyValueCore;
|
14200
14137
|
private isObjWrapper;
|
14201
14138
|
private isNeedUseObjWrapper;
|
14202
|
-
addClass(name: string, properties: Array<
|
14139
|
+
addClass(name: string, properties: Array<IJsonPropertyInfo | string>, creator?: (json?: any) => any, parentName?: string): JsonMetadataClass;
|
14203
14140
|
removeClass(name: string): void;
|
14204
14141
|
overrideClassCreatore(name: string, creator: () => any): void;
|
14205
14142
|
overrideClassCreator(name: string, creator: () => any): void;
|
@@ -14220,8 +14157,8 @@ declare module "jsonobject" {
|
|
14220
14157
|
private createCustomType;
|
14221
14158
|
getChildrenClasses(name: string, canBeCreated?: boolean): Array<JsonMetadataClass>;
|
14222
14159
|
getRequiredProperties(name: string): Array<string>;
|
14223
|
-
addProperties(className: string, propertiesInfos: Array<
|
14224
|
-
addProperty(className: string, propertyInfo:
|
14160
|
+
addProperties(className: string, propertiesInfos: Array<IJsonPropertyInfo | string>): void;
|
14161
|
+
addProperty(className: string, propertyInfo: IJsonPropertyInfo | string): JsonObjectProperty;
|
14225
14162
|
private addCustomPropertyCore;
|
14226
14163
|
removeProperty(className: string, propertyName: string): boolean;
|
14227
14164
|
private clearDynamicPropsCache;
|
@@ -14322,6 +14259,132 @@ declare module "jsonobject" {
|
|
14322
14259
|
*/
|
14323
14260
|
export var Serializer: JsonMetadata;
|
14324
14261
|
}
|
14262
|
+
declare module "localizablestring" {
|
14263
|
+
import { EventBase } from "base";
|
14264
|
+
export interface ILocalizableOwner {
|
14265
|
+
getLocale(): string;
|
14266
|
+
getMarkdownHtml(text: string, name: string): string;
|
14267
|
+
getProcessedText(text: string): string;
|
14268
|
+
getRenderer(name: string): string;
|
14269
|
+
getRendererContext(locStr: LocalizableString): any;
|
14270
|
+
}
|
14271
|
+
export interface ILocalizableString {
|
14272
|
+
getLocaleText(loc: string): string;
|
14273
|
+
setLocaleText(loc: string, newValue: string): any;
|
14274
|
+
getJson(): any;
|
14275
|
+
getLocales(): Array<string>;
|
14276
|
+
getIsMultiple(): boolean;
|
14277
|
+
}
|
14278
|
+
/**
|
14279
|
+
* The class represents the string that supports multi-languages and markdown.
|
14280
|
+
* It uses in all objects where support for multi-languages and markdown is required.
|
14281
|
+
*/
|
14282
|
+
export class LocalizableString implements ILocalizableString {
|
14283
|
+
owner: ILocalizableOwner;
|
14284
|
+
useMarkdown: boolean;
|
14285
|
+
name?: string;
|
14286
|
+
static SerializeAsObject: boolean;
|
14287
|
+
static get defaultLocale(): string;
|
14288
|
+
static set defaultLocale(val: string);
|
14289
|
+
static defaultRenderer: string;
|
14290
|
+
static editableRenderer: string;
|
14291
|
+
private values;
|
14292
|
+
private htmlValues;
|
14293
|
+
private renderedText;
|
14294
|
+
private calculatedTextValue;
|
14295
|
+
private _localizationName;
|
14296
|
+
get localizationName(): string;
|
14297
|
+
set localizationName(val: string);
|
14298
|
+
private _allowLineBreaks;
|
14299
|
+
get allowLineBreaks(): boolean;
|
14300
|
+
onGetTextCallback: (str: string) => string;
|
14301
|
+
storeDefaultText: boolean;
|
14302
|
+
onGetLocalizationTextCallback: (str: string) => string;
|
14303
|
+
onStrChanged: (oldValue: string, newValue: string) => void;
|
14304
|
+
onSearchChanged: () => void;
|
14305
|
+
sharedData: LocalizableString;
|
14306
|
+
searchText: string;
|
14307
|
+
searchIndex: number;
|
14308
|
+
disableLocalization: boolean;
|
14309
|
+
defaultValue: string;
|
14310
|
+
constructor(owner: ILocalizableOwner, useMarkdown?: boolean, name?: string);
|
14311
|
+
getIsMultiple(): boolean;
|
14312
|
+
get locale(): string;
|
14313
|
+
strChanged(): void;
|
14314
|
+
get text(): string;
|
14315
|
+
set text(value: string);
|
14316
|
+
get calculatedText(): string;
|
14317
|
+
private calcText;
|
14318
|
+
get pureText(): string;
|
14319
|
+
private getRootDialect;
|
14320
|
+
private getLocalizationName;
|
14321
|
+
private getLocalizationStr;
|
14322
|
+
get hasHtml(): boolean;
|
14323
|
+
get html(): string;
|
14324
|
+
get isEmpty(): boolean;
|
14325
|
+
get textOrHtml(): string;
|
14326
|
+
get renderedHtml(): string;
|
14327
|
+
getLocaleText(loc: string): string;
|
14328
|
+
private getLocaleTextCore;
|
14329
|
+
private isLocaleTextEqualsWithDefault;
|
14330
|
+
clear(): void;
|
14331
|
+
clearLocale(loc?: string): void;
|
14332
|
+
setLocaleText(loc: string, value: string): void;
|
14333
|
+
private isValueEmpty;
|
14334
|
+
private get curLocale();
|
14335
|
+
private canRemoveLocValue;
|
14336
|
+
private fireStrChanged;
|
14337
|
+
hasNonDefaultText(): boolean;
|
14338
|
+
getLocales(): Array<string>;
|
14339
|
+
getJson(): any;
|
14340
|
+
setJson(value: any): void;
|
14341
|
+
get renderAs(): string;
|
14342
|
+
get renderAsData(): any;
|
14343
|
+
equals(obj: any): boolean;
|
14344
|
+
private searchableText;
|
14345
|
+
setFindText(text: string): boolean;
|
14346
|
+
onChanged(): void;
|
14347
|
+
onStringChanged: EventBase<LocalizableString>;
|
14348
|
+
protected onCreating(): void;
|
14349
|
+
private hasHtmlValue;
|
14350
|
+
private setHtmlValue;
|
14351
|
+
getHtmlValue(): string;
|
14352
|
+
private deleteValuesEqualsToDefault;
|
14353
|
+
private getValue;
|
14354
|
+
private setValue;
|
14355
|
+
private deleteValue;
|
14356
|
+
private getValueLoc;
|
14357
|
+
private getValuesKeys;
|
14358
|
+
private get defaultLoc();
|
14359
|
+
}
|
14360
|
+
/**
|
14361
|
+
* The class represents the list of strings that supports multi-languages.
|
14362
|
+
*/
|
14363
|
+
export class LocalizableStrings implements ILocalizableString {
|
14364
|
+
owner: ILocalizableOwner;
|
14365
|
+
private values;
|
14366
|
+
onValueChanged: (oldValue: any, newValue: any) => void;
|
14367
|
+
constructor(owner: ILocalizableOwner);
|
14368
|
+
getIsMultiple(): boolean;
|
14369
|
+
get locale(): string;
|
14370
|
+
get value(): Array<string>;
|
14371
|
+
set value(val: Array<string>);
|
14372
|
+
get text(): string;
|
14373
|
+
set text(val: string);
|
14374
|
+
getLocaleText(loc: string): string;
|
14375
|
+
setLocaleText(loc: string, newValue: string): any;
|
14376
|
+
getValue(loc: string): Array<string>;
|
14377
|
+
private getValueCore;
|
14378
|
+
setValue(loc: string, val: Array<string>): void;
|
14379
|
+
hasValue(loc?: string): boolean;
|
14380
|
+
get isEmpty(): boolean;
|
14381
|
+
private getLocale;
|
14382
|
+
getLocales(): Array<string>;
|
14383
|
+
getJson(): any;
|
14384
|
+
setJson(value: any): void;
|
14385
|
+
private getValuesKeys;
|
14386
|
+
}
|
14387
|
+
}
|
14325
14388
|
declare module "base" {
|
14326
14389
|
import { ILocalizableOwner, LocalizableString } from "localizablestring";
|
14327
14390
|
import { HashTable } from "helpers";
|
@@ -14543,7 +14606,7 @@ declare module "base" {
|
|
14543
14606
|
geValueFromHash(): any;
|
14544
14607
|
protected setPropertyValueCore(propertiesHash: any, name: string, val: any): void;
|
14545
14608
|
get isEditingSurveyElement(): boolean;
|
14546
|
-
iteratePropertiesHash(func: (hash: any, key:
|
14609
|
+
iteratePropertiesHash(func: (hash: any, key: string) => void): void;
|
14547
14610
|
/**
|
14548
14611
|
* Assigns a new value to a specified property.
|
14549
14612
|
* @param name A property name.
|
@@ -15266,7 +15329,7 @@ declare module "settings" {
|
|
15266
15329
|
*/
|
15267
15330
|
showMaxLengthIndicator: boolean;
|
15268
15331
|
/**
|
15269
|
-
*
|
15332
|
+
* Specifies whether to animate survey elements.
|
15270
15333
|
*
|
15271
15334
|
* Default value: `true`
|
15272
15335
|
*/
|
@@ -15376,6 +15439,7 @@ declare module "dropdownListModel" {
|
|
15376
15439
|
protected popupRecalculatePosition(isResetHeight: boolean): void;
|
15377
15440
|
protected onHidePopup(): void;
|
15378
15441
|
protected getAvailableItems(): Array<ItemValue>;
|
15442
|
+
protected setOnTextSearchCallbackForListModel(listModel: ListModel<ItemValue>): void;
|
15379
15443
|
protected createListModel(): ListModel<ItemValue>;
|
15380
15444
|
protected updateAfterListModelCreated(model: ListModel<ItemValue>): void;
|
15381
15445
|
updateCssClasses(popupCssClass: string, listCssClasses: any): void;
|
@@ -16060,6 +16124,16 @@ declare module "question_tagbox" {
|
|
16060
16124
|
private updateReadOnlyText;
|
16061
16125
|
protected getDefaultItemComponent(): string;
|
16062
16126
|
onSurveyLoad(): void;
|
16127
|
+
/**
|
16128
|
+
* Specifies a comparison operation used to filter the drop-down list. Applies only if [`searchEnabled`](#searchEnabled) is `true`.
|
16129
|
+
*
|
16130
|
+
* Possible values:
|
16131
|
+
*
|
16132
|
+
* - `"contains"` (default)
|
16133
|
+
* - `"startsWith"`
|
16134
|
+
* @see [SurveyModel.onChoicesSearch](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onChoicesSearch)
|
16135
|
+
*/
|
16136
|
+
searchMode: "contains" | "startsWith";
|
16063
16137
|
/**
|
16064
16138
|
* Specifies whether to display a button that clears the selected value.
|
16065
16139
|
*/
|
@@ -17309,7 +17383,7 @@ declare module "entries/chunks/model" {
|
|
17309
17383
|
export { Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand } from "expressions/expressions";
|
17310
17384
|
export { ConditionsParser } from "conditionsParser";
|
17311
17385
|
export { ProcessValue } from "conditionProcessValue";
|
17312
|
-
export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "jsonobject";
|
17386
|
+
export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, IJsonPropertyInfo, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "jsonobject";
|
17313
17387
|
export { IMatrixDropdownData, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "question_matrixdropdownbase";
|
17314
17388
|
export { MatrixDropdownColumn, matrixDropdownColumnTypes } from "question_matrixdropdowncolumn";
|
17315
17389
|
export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable } from "question_matrixdropdownrendered";
|