survey-core 1.9.131 → 1.9.133
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 -12
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +41 -12
- 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/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 +13 -1
- package/modern.css.map +1 -1
- package/modern.fontless.css +13 -1
- 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 +139 -24
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +13 -1
- 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/base.d.ts +1 -1
- package/ts3.4/typings/defaultCss/cssmodern.d.ts +1 -0
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +1 -0
- package/ts3.4/typings/progress-buttons.d.ts +2 -0
- package/ts3.4/typings/question.d.ts +4 -1
- package/ts3.4/typings/question_custom.d.ts +2 -0
- package/ts3.4/typings/question_multipletext.d.ts +1 -0
- package/ts3.4/typings/settings.d.ts +1 -1
- package/ts3.4/typings/survey-element.d.ts +1 -0
- package/ts3.4/typings/survey.d.ts +16 -1
- package/ts3.4/typings/utils/utils.d.ts +2 -0
- package/typings/base.d.ts +1 -1
- package/typings/defaultCss/cssmodern.d.ts +1 -0
- package/typings/defaultCss/cssstandard.d.ts +1 -0
- package/typings/defaultCss/defaultV2Css.d.ts +1 -0
- package/typings/progress-buttons.d.ts +2 -0
- package/typings/question.d.ts +4 -1
- package/typings/question_custom.d.ts +2 -0
- package/typings/question_multipletext.d.ts +1 -0
- package/typings/settings.d.ts +1 -1
- package/typings/survey-element.d.ts +1 -0
- package/typings/survey.d.ts +17 -2
- package/typings/utils/utils.d.ts +2 -0
|
@@ -1208,7 +1208,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1208
1208
|
setIsMobile(newVal?: boolean): void;
|
|
1209
1209
|
readonly isMobile: boolean;
|
|
1210
1210
|
private _isCompact;
|
|
1211
|
-
|
|
1211
|
+
isCompact: boolean;
|
|
1212
1212
|
protected isLogoImageChoosen(): string;
|
|
1213
1213
|
readonly titleMaxWidth: string;
|
|
1214
1214
|
/**
|
|
@@ -1405,6 +1405,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1405
1405
|
*
|
|
1406
1406
|
* Default value: `false`
|
|
1407
1407
|
* @see progressBarShowPageNumbers
|
|
1408
|
+
* @see progressBarInheritWidthFrom
|
|
1408
1409
|
*/
|
|
1409
1410
|
progressBarShowPageTitles: boolean;
|
|
1410
1411
|
/**
|
|
@@ -1412,8 +1413,22 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1412
1413
|
*
|
|
1413
1414
|
* Default value: `false`
|
|
1414
1415
|
* @see progressBarShowPageTitles
|
|
1416
|
+
* @see progressBarInheritWidthFrom
|
|
1415
1417
|
*/
|
|
1416
1418
|
progressBarShowPageNumbers: boolean;
|
|
1419
|
+
/**
|
|
1420
|
+
* Specifies whether the progress bar spans the width of the survey or that of the survey container. Applies only when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarType) is `"pages"`.
|
|
1421
|
+
*
|
|
1422
|
+
* Possible values:
|
|
1423
|
+
*
|
|
1424
|
+
* - `"survey"`\
|
|
1425
|
+
* The progress bar width is the same as the survey width.
|
|
1426
|
+
* - `"container"` (default)\
|
|
1427
|
+
* The progress bar width is the same as the survey container width.
|
|
1428
|
+
* @see progressBarShowPageTitles
|
|
1429
|
+
* @see progressBarShowPageNumbers
|
|
1430
|
+
*/
|
|
1431
|
+
progressBarInheritWidthFrom: "survey" | "container";
|
|
1417
1432
|
readonly isShowProgressBarOnTop: boolean;
|
|
1418
1433
|
readonly isShowProgressBarOnBottom: boolean;
|
|
1419
1434
|
getProgressTypeComponent(): string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PopupBaseViewModel } from "../popup-view-model";
|
|
1
2
|
declare function compareVersions(a: any, b: any): number;
|
|
2
3
|
declare function confirmAction(message: string): boolean;
|
|
3
4
|
declare function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string, rootElement?: HTMLElement): void;
|
|
@@ -41,5 +42,6 @@ export declare class Logger {
|
|
|
41
42
|
readonly result: string;
|
|
42
43
|
}
|
|
43
44
|
export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement): boolean;
|
|
45
|
+
export declare function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
|
44
46
|
declare function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
|
45
47
|
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 };
|
package/typings/base.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ export declare class Base {
|
|
|
218
218
|
geValueFromHash(): any;
|
|
219
219
|
protected setPropertyValueCore(propertiesHash: any, name: string, val: any): void;
|
|
220
220
|
get isEditingSurveyElement(): boolean;
|
|
221
|
-
iteratePropertiesHash(func: (hash: any, key:
|
|
221
|
+
iteratePropertiesHash(func: (hash: any, key: string) => void): void;
|
|
222
222
|
/**
|
|
223
223
|
* Assigns a new value to a specified property.
|
|
224
224
|
* @param name A property name.
|
|
@@ -122,6 +122,7 @@ export declare var defaultV2Css: {
|
|
|
122
122
|
progressText: string;
|
|
123
123
|
progressButtonsRoot: string;
|
|
124
124
|
progressButtonsNumbered: string;
|
|
125
|
+
progressButtonsFitSurveyWidth: string;
|
|
125
126
|
progressButtonsContainerCenter: string;
|
|
126
127
|
progressButtonsContainer: string;
|
|
127
128
|
progressButtonsConnector: string;
|
|
@@ -13,6 +13,8 @@ export declare class ProgressButtons extends Base {
|
|
|
13
13
|
isCanShowItemTitles(element: HTMLElement): boolean;
|
|
14
14
|
clearConnectorsWidth(element: HTMLElement): void;
|
|
15
15
|
adjustConnectors(element: HTMLElement): void;
|
|
16
|
+
get isFitToSurveyWidth(): boolean;
|
|
17
|
+
get progressWidth(): string;
|
|
16
18
|
get showItemNumbers(): boolean;
|
|
17
19
|
get showItemTitles(): boolean;
|
|
18
20
|
getItemNumber(page: PageModel): string;
|
package/typings/question.d.ts
CHANGED
|
@@ -470,6 +470,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
470
470
|
get id(): string;
|
|
471
471
|
set id(val: string);
|
|
472
472
|
get ariaTitleId(): string;
|
|
473
|
+
get ariaDescriptionId(): string;
|
|
473
474
|
get commentId(): string;
|
|
474
475
|
/**
|
|
475
476
|
* Specifies whether to display the "Other" choice item. Incompatible with the `showCommentArea` property.
|
|
@@ -882,12 +883,14 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
882
883
|
get ariaRequired(): "true" | "false";
|
|
883
884
|
get ariaInvalid(): "true" | "false";
|
|
884
885
|
get ariaLabelledBy(): string;
|
|
885
|
-
get ariaExpanded(): string;
|
|
886
886
|
get ariaDescribedBy(): string;
|
|
887
|
+
get ariaExpanded(): string;
|
|
888
|
+
get ariaErrormessage(): string;
|
|
887
889
|
get a11y_input_ariaRole(): string;
|
|
888
890
|
get a11y_input_ariaRequired(): "true" | "false";
|
|
889
891
|
get a11y_input_ariaInvalid(): "true" | "false";
|
|
890
892
|
get a11y_input_ariaLabel(): string;
|
|
891
893
|
get a11y_input_ariaLabelledBy(): string;
|
|
892
894
|
get a11y_input_ariaDescribedBy(): string;
|
|
895
|
+
get a11y_input_ariaErrormessage(): string;
|
|
893
896
|
}
|
|
@@ -387,10 +387,12 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
387
387
|
private setIsContentElement;
|
|
388
388
|
setVisibleIndex(val: number): number;
|
|
389
389
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
390
|
+
onSurveyValueChanged(newValue: any): void;
|
|
390
391
|
getValue(name: string): any;
|
|
391
392
|
protected getQuestionByName(name: string): IQuestion;
|
|
392
393
|
private settingNewValue;
|
|
393
394
|
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
|
|
395
|
+
private runPanelTriggers;
|
|
394
396
|
getFilteredValues(): any;
|
|
395
397
|
private updateValueCoreWithPanelValue;
|
|
396
398
|
private getContentPanelValue;
|
|
@@ -18,6 +18,7 @@ export interface IMultipleTextData extends ILocalizableOwner, IPanel {
|
|
|
18
18
|
export declare class MultipleTextEditorModel extends QuestionTextModel {
|
|
19
19
|
get a11y_input_ariaLabel(): string;
|
|
20
20
|
get a11y_input_ariaLabelledBy(): string;
|
|
21
|
+
get a11y_input_ariaDescribedBy(): string;
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
|
package/typings/settings.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare abstract class SurveyElementCore extends Base implements ILocaliz
|
|
|
47
47
|
get cssClasses(): any;
|
|
48
48
|
get cssTitle(): string;
|
|
49
49
|
get ariaTitleId(): string;
|
|
50
|
+
get ariaDescriptionId(): string;
|
|
50
51
|
get titleTabIndex(): number;
|
|
51
52
|
get titleAriaExpanded(): any;
|
|
52
53
|
get titleAriaRole(): any;
|
package/typings/survey.d.ts
CHANGED
|
@@ -1254,8 +1254,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1254
1254
|
setIsMobile(newVal?: boolean): void;
|
|
1255
1255
|
get isMobile(): boolean;
|
|
1256
1256
|
private _isCompact;
|
|
1257
|
-
|
|
1258
|
-
|
|
1257
|
+
set isCompact(newVal: boolean);
|
|
1258
|
+
get isCompact(): boolean;
|
|
1259
1259
|
protected isLogoImageChoosen(): string;
|
|
1260
1260
|
get titleMaxWidth(): string;
|
|
1261
1261
|
/**
|
|
@@ -1469,6 +1469,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1469
1469
|
*
|
|
1470
1470
|
* Default value: `false`
|
|
1471
1471
|
* @see progressBarShowPageNumbers
|
|
1472
|
+
* @see progressBarInheritWidthFrom
|
|
1472
1473
|
*/
|
|
1473
1474
|
progressBarShowPageTitles: boolean;
|
|
1474
1475
|
/**
|
|
@@ -1476,8 +1477,22 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1476
1477
|
*
|
|
1477
1478
|
* Default value: `false`
|
|
1478
1479
|
* @see progressBarShowPageTitles
|
|
1480
|
+
* @see progressBarInheritWidthFrom
|
|
1479
1481
|
*/
|
|
1480
1482
|
progressBarShowPageNumbers: boolean;
|
|
1483
|
+
/**
|
|
1484
|
+
* Specifies whether the progress bar spans the width of the survey or that of the survey container. Applies only when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarType) is `"pages"`.
|
|
1485
|
+
*
|
|
1486
|
+
* Possible values:
|
|
1487
|
+
*
|
|
1488
|
+
* - `"survey"`\
|
|
1489
|
+
* The progress bar width is the same as the survey width.
|
|
1490
|
+
* - `"container"` (default)\
|
|
1491
|
+
* The progress bar width is the same as the survey container width.
|
|
1492
|
+
* @see progressBarShowPageTitles
|
|
1493
|
+
* @see progressBarShowPageNumbers
|
|
1494
|
+
*/
|
|
1495
|
+
progressBarInheritWidthFrom: "survey" | "container";
|
|
1481
1496
|
get isShowProgressBarOnTop(): boolean;
|
|
1482
1497
|
get isShowProgressBarOnBottom(): boolean;
|
|
1483
1498
|
getProgressTypeComponent(): string;
|
package/typings/utils/utils.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PopupBaseViewModel } from "../popup-view-model";
|
|
1
2
|
declare function compareVersions(a: any, b: any): number;
|
|
2
3
|
declare function confirmAction(message: string): boolean;
|
|
3
4
|
declare function confirmActionAsync(message: string, funcOnYes: () => void, funcOnNo?: () => void, locale?: string, rootElement?: HTMLElement): void;
|
|
@@ -41,5 +42,6 @@ export declare class Logger {
|
|
|
41
42
|
get result(): string;
|
|
42
43
|
}
|
|
43
44
|
export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement): boolean;
|
|
45
|
+
export declare function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
|
44
46
|
declare function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
|
45
47
|
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 };
|