survey-creator-core 1.9.64 → 1.9.66
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/package.json +2 -2
- package/survey-creator-core.css +32 -32
- package/survey-creator-core.d.ts +42 -13
- package/survey-creator-core.fontless.css +31 -31
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +108 -70
- package/survey-creator-core.min.css +3 -3
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -277,6 +277,9 @@ declare module "localization/english" {
|
|
|
277
277
|
url: string;
|
|
278
278
|
path: string;
|
|
279
279
|
valueName: string;
|
|
280
|
+
choicesbyurl: {
|
|
281
|
+
valueName: string;
|
|
282
|
+
};
|
|
280
283
|
titleName: string;
|
|
281
284
|
imageLinkName: string;
|
|
282
285
|
allowEmptyResponse: string;
|
|
@@ -560,6 +563,7 @@ declare module "localization/english" {
|
|
|
560
563
|
showOnCompleted: string;
|
|
561
564
|
logo: string;
|
|
562
565
|
slider: string;
|
|
566
|
+
expression: string;
|
|
563
567
|
others: string;
|
|
564
568
|
};
|
|
565
569
|
editProperty: string;
|
|
@@ -770,6 +774,9 @@ declare module "localization/english" {
|
|
|
770
774
|
columnColCount: string;
|
|
771
775
|
autocomplete: string;
|
|
772
776
|
valueName: string;
|
|
777
|
+
choicesbyurl: {
|
|
778
|
+
valueName: string;
|
|
779
|
+
};
|
|
773
780
|
keyName: string;
|
|
774
781
|
};
|
|
775
782
|
p: {
|
|
@@ -1367,6 +1374,9 @@ declare module "editorLocalization" {
|
|
|
1367
1374
|
url: string;
|
|
1368
1375
|
path: string;
|
|
1369
1376
|
valueName: string;
|
|
1377
|
+
choicesbyurl: {
|
|
1378
|
+
valueName: string;
|
|
1379
|
+
};
|
|
1370
1380
|
titleName: string;
|
|
1371
1381
|
imageLinkName: string;
|
|
1372
1382
|
allowEmptyResponse: string;
|
|
@@ -1650,6 +1660,7 @@ declare module "editorLocalization" {
|
|
|
1650
1660
|
showOnCompleted: string;
|
|
1651
1661
|
logo: string;
|
|
1652
1662
|
slider: string;
|
|
1663
|
+
expression: string;
|
|
1653
1664
|
others: string;
|
|
1654
1665
|
};
|
|
1655
1666
|
editProperty: string;
|
|
@@ -1860,6 +1871,9 @@ declare module "editorLocalization" {
|
|
|
1860
1871
|
columnColCount: string;
|
|
1861
1872
|
autocomplete: string;
|
|
1862
1873
|
valueName: string;
|
|
1874
|
+
choicesbyurl: {
|
|
1875
|
+
valueName: string;
|
|
1876
|
+
};
|
|
1863
1877
|
keyName: string;
|
|
1864
1878
|
};
|
|
1865
1879
|
p: {
|
|
@@ -2742,11 +2756,13 @@ declare module "property-grid-theme/property-grid" {
|
|
|
2742
2756
|
cellTextDisabled: string;
|
|
2743
2757
|
};
|
|
2744
2758
|
matrixdropdown: {
|
|
2759
|
+
tableWrapper: string;
|
|
2745
2760
|
root: string;
|
|
2746
2761
|
cell: string;
|
|
2747
2762
|
headerCell: string;
|
|
2748
2763
|
};
|
|
2749
2764
|
matrixdynamic: {
|
|
2765
|
+
tableWrapper: string;
|
|
2750
2766
|
root: string;
|
|
2751
2767
|
cell: string;
|
|
2752
2768
|
headerCell: string;
|
|
@@ -3619,7 +3635,6 @@ declare module "components/tabs/test-plugin" {
|
|
|
3619
3635
|
deactivate(): boolean;
|
|
3620
3636
|
private getAvailableThemes;
|
|
3621
3637
|
private getThemeLocName;
|
|
3622
|
-
protected filterThemeMapper(themeMapper: Array<any>): Array<any>;
|
|
3623
3638
|
createActions(): Array<Action>;
|
|
3624
3639
|
addFooterActions(): void;
|
|
3625
3640
|
}
|
|
@@ -4818,6 +4833,7 @@ declare module "components/tabs/logic-theme" {
|
|
|
4818
4833
|
cellTextDisabled: string;
|
|
4819
4834
|
};
|
|
4820
4835
|
matrixdropdown: {
|
|
4836
|
+
tableWrapper: string;
|
|
4821
4837
|
mainRoot: string;
|
|
4822
4838
|
root: string;
|
|
4823
4839
|
row: string;
|
|
@@ -4826,6 +4842,7 @@ declare module "components/tabs/logic-theme" {
|
|
|
4826
4842
|
headerCell: string;
|
|
4827
4843
|
};
|
|
4828
4844
|
matrixdynamic: {
|
|
4845
|
+
tableWrapper: string;
|
|
4829
4846
|
mainRoot: string;
|
|
4830
4847
|
root: string;
|
|
4831
4848
|
row: string;
|
|
@@ -6409,21 +6426,20 @@ declare module "creator-base" {
|
|
|
6409
6426
|
onSelectedElementChanged: CreatorEvent;
|
|
6410
6427
|
/**
|
|
6411
6428
|
* The event is fired then one need to choose files.
|
|
6412
|
-
|
|
6413
|
-
*
|
|
6414
|
-
*
|
|
6415
|
-
*
|
|
6429
|
+
*
|
|
6430
|
+
* - `sender` - the survey creator object that fires the event
|
|
6431
|
+
* - `options.input` - file input HTML element
|
|
6432
|
+
* - `options.callback` - need to be called after files has been chosen
|
|
6433
|
+
* @see uploadFiles
|
|
6416
6434
|
*/
|
|
6417
6435
|
onOpenFileChooser: CreatorEvent;
|
|
6418
6436
|
/**
|
|
6419
6437
|
* The event is fired on uploading the files.
|
|
6420
|
-
|
|
6421
|
-
*
|
|
6422
|
-
* files the Javascript File objects array
|
|
6423
|
-
* callback called on upload complete
|
|
6424
|
-
*
|
|
6425
|
-
* a status and an image link
|
|
6426
|
-
* @see uploadFile
|
|
6438
|
+
*
|
|
6439
|
+
* - `sender` - the survey creator object that fires the event
|
|
6440
|
+
* - `options.files` - the Javascript File objects array
|
|
6441
|
+
* - `options.callback(status, imageLink)` - called on upload complete
|
|
6442
|
+
* @see uploadFiles
|
|
6427
6443
|
*/
|
|
6428
6444
|
onUploadFile: CreatorEvent;
|
|
6429
6445
|
/**
|
|
@@ -6779,7 +6795,20 @@ declare module "creator-base" {
|
|
|
6779
6795
|
get selectionHistoryController(): SelectionHistory;
|
|
6780
6796
|
get currentPage(): PageModel;
|
|
6781
6797
|
set currentPage(value: PageModel);
|
|
6782
|
-
|
|
6798
|
+
/**
|
|
6799
|
+
* An event that is raised before a new page is added to the survey.
|
|
6800
|
+
*
|
|
6801
|
+
* Parameters:
|
|
6802
|
+
*
|
|
6803
|
+
* - `sender`: `CreatorBase`\
|
|
6804
|
+
* A Survey Creator instance that raised the event.
|
|
6805
|
+
* - `options.page`: [`PageModel`](https://surveyjs.io/form-library/documentation/api-reference/page-model)\
|
|
6806
|
+
* An added page.
|
|
6807
|
+
* - `options.allow`: `Boolean`\
|
|
6808
|
+
* Set this property to `false` if you do not want to add the page.
|
|
6809
|
+
*/
|
|
6810
|
+
onPageAdding: CreatorEvent;
|
|
6811
|
+
addPage(pageToAdd?: PageModel, changeSelection?: boolean, beforeAdd?: () => boolean): PageModel;
|
|
6783
6812
|
private addNewPageIntoSurvey;
|
|
6784
6813
|
protected initTabs(): void;
|
|
6785
6814
|
private initPlugins;
|