survey-core 1.12.8 → 1.12.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 +41 -31
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +41 -31
- 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 +23 -8
- package/modern.css.map +1 -1
- package/modern.fontless.css +23 -8
- 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/cssbootstrap.d.ts +2 -0
- package/plugins/bootstrap-integration/index.js +3 -1
- package/plugins/bootstrap-integration/index.js.map +1 -1
- package/plugins/bootstrap-integration/index.min.js +2 -2
- package/plugins/bootstrap-material-integration/cssbootstrapmaterial.d.ts +2 -0
- package/plugins/bootstrap-material-integration/index.js +3 -1
- package/plugins/bootstrap-material-integration/index.js.map +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +2 -2
- package/survey.core.js +1483 -633
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +24 -9
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +2 -2
- 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/packages/survey-core/entries/chunks/model.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/page.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/panel.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/question_signaturepad.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/settings.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/survey-element.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/svgbundle.d.ts +4 -0
- package/ts3.4/typings/packages/survey-core/src/utils/utils.d.ts +4 -1
- package/ts3.4/typings/src/defaultCss/cssmodern.d.ts +2 -0
- package/ts3.4/typings/src/defaultCss/cssstandard.d.ts +2 -0
- package/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
- package/typings/packages/survey-core/src/base-interfaces.d.ts +1 -0
- package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +2 -0
- package/typings/packages/survey-core/src/page.d.ts +1 -0
- package/typings/packages/survey-core/src/panel.d.ts +1 -0
- package/typings/packages/survey-core/src/question.d.ts +1 -0
- package/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +2 -0
- package/typings/packages/survey-core/src/question_signaturepad.d.ts +1 -1
- package/typings/packages/survey-core/src/settings.d.ts +1 -0
- package/typings/packages/survey-core/src/survey-element.d.ts +2 -0
- package/typings/packages/survey-core/src/survey.d.ts +2 -0
- package/typings/packages/survey-core/src/svgbundle.d.ts +4 -0
- package/typings/packages/survey-core/src/utils/utils.d.ts +4 -1
- package/typings/src/defaultCss/cssmodern.d.ts +2 -0
- package/typings/src/defaultCss/cssstandard.d.ts +2 -0
|
@@ -565,6 +565,7 @@ export declare class PanelModel extends PanelModelBase implements IElement {
|
|
|
565
565
|
readonly hasEditButton: boolean;
|
|
566
566
|
cancelPreview(): void;
|
|
567
567
|
readonly cssTitle: string;
|
|
568
|
+
getCssTitleExpandableSvg(): string;
|
|
568
569
|
readonly showErrorsAbovePanel: boolean;
|
|
569
570
|
protected getCssError(cssClasses: any): string;
|
|
570
571
|
protected onVisibleChanged(): void;
|
|
@@ -138,6 +138,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
138
138
|
visible: boolean;
|
|
139
139
|
protected onVisibleChanged(): void;
|
|
140
140
|
protected notifyStateChanged(prevState: string): void;
|
|
141
|
+
updateElementVisibility(): void;
|
|
141
142
|
private updateIsVisibleProp;
|
|
142
143
|
/*
|
|
143
144
|
* Specifies whether to use display names for question values in placeholders.
|
|
@@ -109,6 +109,7 @@ export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyI
|
|
|
109
109
|
getFilteredProperties(): any;
|
|
110
110
|
private applyRowVariablesToValues;
|
|
111
111
|
runCondition(values: HashTable<any>, properties: HashTable<any>, rowsVisibleIf?: string): void;
|
|
112
|
+
updateElementVisibility(): void;
|
|
112
113
|
protected setRowsVisibleIfValues(values: any): void;
|
|
113
114
|
getNamesWithDefaultValues(): Array<string>;
|
|
114
115
|
clearValue(keepComment?: boolean): void;
|
|
@@ -364,6 +365,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
364
365
|
private runFuncForCellQuestions;
|
|
365
366
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
366
367
|
runTriggers(name: string, value: any): void;
|
|
368
|
+
updateElementVisibility(): void;
|
|
367
369
|
protected shouldRunColumnExpression(): boolean;
|
|
368
370
|
protected runCellsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
369
371
|
protected runConditionsForColumns(values: HashTable<any>, properties: HashTable<any>): boolean;
|
|
@@ -11,7 +11,7 @@ export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
|
|
|
11
11
|
private getPenColorFromTheme;
|
|
12
12
|
private updateColors;
|
|
13
13
|
protected getCssRoot(cssClasses: any): string;
|
|
14
|
-
protected getFormat(): "" | "image/
|
|
14
|
+
protected getFormat(): "" | "image/jpeg" | "image/svg+xml";
|
|
15
15
|
protected updateValue(): void;
|
|
16
16
|
constructor(name: string);
|
|
17
17
|
getType(): string;
|
|
@@ -643,4 +643,5 @@ export declare var settings: {
|
|
|
643
643
|
* @see [settings.serialization](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization)
|
|
644
644
|
*/
|
|
645
645
|
parseNumber: (stringValue: any, numericValue: number) => number;
|
|
646
|
+
useLegacyIcons: boolean;
|
|
646
647
|
};
|
|
@@ -126,6 +126,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
126
126
|
readonly parentQuestion: E;
|
|
127
127
|
setParentQuestion(val: E): void;
|
|
128
128
|
protected onParentQuestionChanged(): void;
|
|
129
|
+
updateElementVisibility(): void;
|
|
129
130
|
readonly skeletonComponentName: string;
|
|
130
131
|
/*
|
|
131
132
|
* Gets and sets the survey element's expand state.
|
|
@@ -259,6 +260,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
259
260
|
readonly cssClasses: any;
|
|
260
261
|
readonly cssTitleNumber: any;
|
|
261
262
|
readonly cssRequiredText: any;
|
|
263
|
+
getCssTitleExpandableSvg(): string;
|
|
262
264
|
protected calcCssClasses(css: any): any;
|
|
263
265
|
protected updateElementCssCore(cssClasses: any): void;
|
|
264
266
|
readonly cssError: string;
|
|
@@ -2831,6 +2831,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2831
2831
|
getContainerContent(container: LayoutElementContainer): ISurveyLayoutElement[];
|
|
2832
2832
|
processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
|
|
2833
2833
|
processOpenDropdownMenu(question: Question, options: IDropdownMenuOptions): void;
|
|
2834
|
+
getCssTitleExpandableSvg(): string;
|
|
2834
2835
|
/**
|
|
2835
2836
|
* Applies a specified theme to the survey.
|
|
2836
2837
|
*
|
|
@@ -2853,4 +2854,5 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2853
2854
|
addScrollEventListener(): void;
|
|
2854
2855
|
removeScrollEventListener(): void;
|
|
2855
2856
|
questionErrorComponent: string;
|
|
2857
|
+
protected registerIcons(): void;
|
|
2856
2858
|
}
|
|
@@ -13,7 +13,10 @@ declare function findScrollableParent(element: HTMLElement): HTMLElement;
|
|
|
13
13
|
declare function activateLazyRenderingChecks(id: string): void;
|
|
14
14
|
declare function navigateToUrl(url: string): void;
|
|
15
15
|
declare function wrapUrlForBackgroundImage(url: string): string;
|
|
16
|
+
declare const renamedIcons: any;
|
|
16
17
|
declare function getIconNameFromProxy(iconName: string): string;
|
|
18
|
+
export declare function getNewIconName(iconName: string): string;
|
|
19
|
+
export declare function getCustomNewIconNameIfExists(iconName: string): string;
|
|
17
20
|
declare function createSvg(size: number | string, width: number, height: number, iconName: string, svgElem: any, title: string): void;
|
|
18
21
|
export declare function getSafeUrl(url: string): string;
|
|
19
22
|
export declare function unwrap<T>(value: T | (() => T)): T;
|
|
@@ -69,4 +72,4 @@ export declare function setPropertiesOnElementForAnimation(el: HTMLElement, styl
|
|
|
69
72
|
export declare function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
|
70
73
|
export declare function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
|
71
74
|
export declare function roundTo2Decimals(number: number): number;
|
|
72
|
-
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|
|
75
|
+
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles, renamedIcons };
|
|
@@ -27,6 +27,7 @@ export declare var modernCss: {
|
|
|
27
27
|
panel: {
|
|
28
28
|
title: string;
|
|
29
29
|
titleExpandable: string;
|
|
30
|
+
titleExpandableSvg: string;
|
|
30
31
|
titleExpanded: string;
|
|
31
32
|
titleCollapsed: string;
|
|
32
33
|
titleOnError: string;
|
|
@@ -104,6 +105,7 @@ export declare var modernCss: {
|
|
|
104
105
|
titleOnError: string;
|
|
105
106
|
title: string;
|
|
106
107
|
titleExpandable: string;
|
|
108
|
+
titleExpandableSvg: string;
|
|
107
109
|
titleExpanded: string;
|
|
108
110
|
titleCollapsed: string;
|
|
109
111
|
icon: string;
|
|
@@ -56,6 +56,7 @@ export declare var defaultStandardCss: {
|
|
|
56
56
|
requiredText: string;
|
|
57
57
|
title: string;
|
|
58
58
|
titleExpandable: string;
|
|
59
|
+
titleExpandableSvg: string;
|
|
59
60
|
titleExpanded: string;
|
|
60
61
|
titleCollapsed: string;
|
|
61
62
|
number: string;
|
|
@@ -75,6 +76,7 @@ export declare var defaultStandardCss: {
|
|
|
75
76
|
panel: {
|
|
76
77
|
title: string;
|
|
77
78
|
titleExpandable: string;
|
|
79
|
+
titleExpandableSvg: string;
|
|
78
80
|
titleExpanded: string;
|
|
79
81
|
titleCollapsed: string;
|
|
80
82
|
titleOnError: string;
|
|
@@ -87,7 +87,7 @@ export { DropdownListModel } from "../../src/dropdownListModel";
|
|
|
87
87
|
export { DropdownMultiSelectListModel } from "../../src/dropdownMultiSelectListModel";
|
|
88
88
|
export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "../../src/question_buttongroup";
|
|
89
89
|
export { IsMobile, IsTouch, _setIsTouch } from "../../src/utils/devices";
|
|
90
|
-
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, IAttachKey2clickOptions } from "../../src/utils/utils";
|
|
90
|
+
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, IAttachKey2clickOptions, renamedIcons, getIconNameFromProxy } from "../../src/utils/utils";
|
|
91
91
|
export { InputMaskBase } from "../../src/mask/mask_base";
|
|
92
92
|
export { InputMaskPattern } from "../../src/mask/mask_pattern";
|
|
93
93
|
export { InputMaskNumeric } from "../../src/mask/mask_numeric";
|
|
@@ -243,6 +243,7 @@ export interface IElement extends IConditionRunner, ISurveyElement {
|
|
|
243
243
|
dispose(): void;
|
|
244
244
|
needResponsiveWidth(): boolean;
|
|
245
245
|
updateRootStyle(): void;
|
|
246
|
+
updateElementVisibility(): void;
|
|
246
247
|
}
|
|
247
248
|
export interface IQuestion extends IElement, ISurveyErrorOwner {
|
|
248
249
|
hasTitle: boolean;
|
|
@@ -55,6 +55,7 @@ export declare var defaultV2Css: {
|
|
|
55
55
|
number: string;
|
|
56
56
|
title: string;
|
|
57
57
|
titleExpandable: string;
|
|
58
|
+
titleExpandableSvg: string;
|
|
58
59
|
titleNumInline: string;
|
|
59
60
|
titleExpanded: string;
|
|
60
61
|
titleCollapsed: string;
|
|
@@ -200,6 +201,7 @@ export declare var defaultV2Css: {
|
|
|
200
201
|
titleOnError: string;
|
|
201
202
|
title: string;
|
|
202
203
|
titleExpandable: string;
|
|
204
|
+
titleExpandableSvg: string;
|
|
203
205
|
titleExpanded: string;
|
|
204
206
|
titleCollapsed: string;
|
|
205
207
|
titleDisabled: string;
|
|
@@ -15,6 +15,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
|
15
15
|
get isPage(): boolean;
|
|
16
16
|
get no(): string;
|
|
17
17
|
get cssTitleNumber(): string;
|
|
18
|
+
getCssTitleExpandableSvg(): string;
|
|
18
19
|
get cssRequiredText(): string;
|
|
19
20
|
protected canShowPageNumber(): boolean;
|
|
20
21
|
protected canShowTitle(): boolean;
|
|
@@ -588,6 +588,7 @@ export declare class PanelModel extends PanelModelBase implements IElement {
|
|
|
588
588
|
get hasEditButton(): boolean;
|
|
589
589
|
cancelPreview(): void;
|
|
590
590
|
get cssTitle(): string;
|
|
591
|
+
getCssTitleExpandableSvg(): string;
|
|
591
592
|
get showErrorsAbovePanel(): boolean;
|
|
592
593
|
protected getCssError(cssClasses: any): string;
|
|
593
594
|
protected onVisibleChanged(): void;
|
|
@@ -142,6 +142,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
142
142
|
set visible(val: boolean);
|
|
143
143
|
protected onVisibleChanged(): void;
|
|
144
144
|
protected notifyStateChanged(prevState: string): void;
|
|
145
|
+
updateElementVisibility(): void;
|
|
145
146
|
private updateIsVisibleProp;
|
|
146
147
|
/**
|
|
147
148
|
* Specifies whether to use display names for question values in placeholders.
|
|
@@ -112,6 +112,7 @@ export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyI
|
|
|
112
112
|
getFilteredProperties(): any;
|
|
113
113
|
private applyRowVariablesToValues;
|
|
114
114
|
runCondition(values: HashTable<any>, properties: HashTable<any>, rowsVisibleIf?: string): void;
|
|
115
|
+
updateElementVisibility(): void;
|
|
115
116
|
protected setRowsVisibleIfValues(values: any): void;
|
|
116
117
|
getNamesWithDefaultValues(): Array<string>;
|
|
117
118
|
clearValue(keepComment?: boolean): void;
|
|
@@ -380,6 +381,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
380
381
|
private runFuncForCellQuestions;
|
|
381
382
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
382
383
|
runTriggers(name: string, value: any): void;
|
|
384
|
+
updateElementVisibility(): void;
|
|
383
385
|
protected shouldRunColumnExpression(): boolean;
|
|
384
386
|
protected runCellsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
385
387
|
protected runConditionsForColumns(values: HashTable<any>, properties: HashTable<any>): boolean;
|
|
@@ -11,7 +11,7 @@ export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
|
|
|
11
11
|
private getPenColorFromTheme;
|
|
12
12
|
private updateColors;
|
|
13
13
|
protected getCssRoot(cssClasses: any): string;
|
|
14
|
-
protected getFormat(): "" | "image/
|
|
14
|
+
protected getFormat(): "" | "image/jpeg" | "image/svg+xml";
|
|
15
15
|
protected updateValue(): void;
|
|
16
16
|
constructor(name: string);
|
|
17
17
|
getType(): string;
|
|
@@ -643,4 +643,5 @@ export declare var settings: {
|
|
|
643
643
|
* @see [settings.serialization](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization)
|
|
644
644
|
*/
|
|
645
645
|
parseNumber: (stringValue: any, numericValue: number) => number;
|
|
646
|
+
useLegacyIcons: boolean;
|
|
646
647
|
};
|
|
@@ -128,6 +128,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
128
128
|
get parentQuestion(): E;
|
|
129
129
|
setParentQuestion(val: E): void;
|
|
130
130
|
protected onParentQuestionChanged(): void;
|
|
131
|
+
updateElementVisibility(): void;
|
|
131
132
|
get skeletonComponentName(): string;
|
|
132
133
|
/**
|
|
133
134
|
* Gets and sets the survey element's expand state.
|
|
@@ -264,6 +265,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
264
265
|
get cssClasses(): any;
|
|
265
266
|
get cssTitleNumber(): any;
|
|
266
267
|
get cssRequiredText(): any;
|
|
268
|
+
getCssTitleExpandableSvg(): string;
|
|
267
269
|
protected calcCssClasses(css: any): any;
|
|
268
270
|
protected updateElementCssCore(cssClasses: any): void;
|
|
269
271
|
get cssError(): string;
|
|
@@ -2930,6 +2930,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2930
2930
|
getContainerContent(container: LayoutElementContainer): ISurveyLayoutElement[];
|
|
2931
2931
|
processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
|
|
2932
2932
|
processOpenDropdownMenu(question: Question, options: IDropdownMenuOptions): void;
|
|
2933
|
+
getCssTitleExpandableSvg(): string;
|
|
2933
2934
|
/**
|
|
2934
2935
|
* Applies a specified theme to the survey.
|
|
2935
2936
|
*
|
|
@@ -2952,4 +2953,5 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2952
2953
|
addScrollEventListener(): void;
|
|
2953
2954
|
removeScrollEventListener(): void;
|
|
2954
2955
|
questionErrorComponent: string;
|
|
2956
|
+
protected registerIcons(): void;
|
|
2955
2957
|
}
|
|
@@ -13,7 +13,10 @@ declare function findScrollableParent(element: HTMLElement): HTMLElement;
|
|
|
13
13
|
declare function activateLazyRenderingChecks(id: string): void;
|
|
14
14
|
declare function navigateToUrl(url: string): void;
|
|
15
15
|
declare function wrapUrlForBackgroundImage(url: string): string;
|
|
16
|
+
declare const renamedIcons: any;
|
|
16
17
|
declare function getIconNameFromProxy(iconName: string): string;
|
|
18
|
+
export declare function getNewIconName(iconName: string): string;
|
|
19
|
+
export declare function getCustomNewIconNameIfExists(iconName: string): string;
|
|
17
20
|
declare function createSvg(size: number | string, width: number, height: number, iconName: string, svgElem: any, title: string): void;
|
|
18
21
|
export declare function getSafeUrl(url: string): string;
|
|
19
22
|
export declare function unwrap<T>(value: T | (() => T)): T;
|
|
@@ -69,4 +72,4 @@ export declare function setPropertiesOnElementForAnimation(el: HTMLElement, styl
|
|
|
69
72
|
export declare function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
|
70
73
|
export declare function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
|
71
74
|
export declare function roundTo2Decimals(number: number): number;
|
|
72
|
-
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|
|
75
|
+
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, activateLazyRenderingChecks, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles, renamedIcons };
|
|
@@ -27,6 +27,7 @@ export declare var modernCss: {
|
|
|
27
27
|
panel: {
|
|
28
28
|
title: string;
|
|
29
29
|
titleExpandable: string;
|
|
30
|
+
titleExpandableSvg: string;
|
|
30
31
|
titleExpanded: string;
|
|
31
32
|
titleCollapsed: string;
|
|
32
33
|
titleOnError: string;
|
|
@@ -104,6 +105,7 @@ export declare var modernCss: {
|
|
|
104
105
|
titleOnError: string;
|
|
105
106
|
title: string;
|
|
106
107
|
titleExpandable: string;
|
|
108
|
+
titleExpandableSvg: string;
|
|
107
109
|
titleExpanded: string;
|
|
108
110
|
titleCollapsed: string;
|
|
109
111
|
icon: string;
|
|
@@ -56,6 +56,7 @@ export declare var defaultStandardCss: {
|
|
|
56
56
|
requiredText: string;
|
|
57
57
|
title: string;
|
|
58
58
|
titleExpandable: string;
|
|
59
|
+
titleExpandableSvg: string;
|
|
59
60
|
titleExpanded: string;
|
|
60
61
|
titleCollapsed: string;
|
|
61
62
|
number: string;
|
|
@@ -75,6 +76,7 @@ export declare var defaultStandardCss: {
|
|
|
75
76
|
panel: {
|
|
76
77
|
title: string;
|
|
77
78
|
titleExpandable: string;
|
|
79
|
+
titleExpandableSvg: string;
|
|
78
80
|
titleExpanded: string;
|
|
79
81
|
titleCollapsed: string;
|
|
80
82
|
titleOnError: string;
|