survey-creator-angular 1.12.21 → 2.0.0-rc.1
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/bundles/survey-creator-angular.umd.js +70 -16
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/creator.component.d.ts +3 -1
- package/esm2015/creator.component.js +8 -2
- package/esm2015/page.component.js +2 -2
- package/esm2015/questions/question-link-value.component.js +2 -2
- package/esm2015/tabbed-menu/tabbed-menu/tabbed-menu-item-wrapper.component.js +22 -3
- package/esm2015/tabbed-menu/tabbed-menu/tabbed-menu.component.js +6 -3
- package/esm2015/tabs/preview/test.component.js +4 -4
- package/esm2015/toolbox/adaptive-toolbox.component.js +6 -3
- package/esm2015/toolbox/toolbox-category.component.js +5 -2
- package/esm2015/toolbox/toolbox-tool.component.js +19 -6
- package/fesm2015/survey-creator-angular.js +63 -16
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +4 -4
- package/tabbed-menu/tabbed-menu/tabbed-menu-item-wrapper.component.d.ts +5 -1
- package/tabbed-menu/tabbed-menu/tabbed-menu.component.d.ts +2 -1
- package/tabs/preview/test.component.d.ts +1 -1
- package/toolbox/adaptive-toolbox.component.d.ts +2 -1
- package/toolbox/toolbox-category.component.d.ts +2 -1
- package/toolbox/toolbox-tool.component.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc.1",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"homepage": "https://surveyjs.io/Overview/Survey-Creator",
|
|
6
6
|
"license": "https://surveyjs.io/Licenses#SurveyCreator",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@angular/cdk": "*",
|
|
23
23
|
"@angular/core": "*",
|
|
24
24
|
"@angular/forms": "*",
|
|
25
|
-
"survey-angular-ui": "
|
|
26
|
-
"survey-core": "
|
|
27
|
-
"survey-creator-core": "
|
|
25
|
+
"survey-angular-ui": "2.0.0-rc.1",
|
|
26
|
+
"survey-core": "2.0.0-rc.1",
|
|
27
|
+
"survey-creator-core": "2.0.0-rc.1"
|
|
28
28
|
},
|
|
29
29
|
"main": "bundles/survey-creator-angular.umd.js",
|
|
30
30
|
"module": "fesm2015/survey-creator-angular.js",
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
1
2
|
import { BaseAngular } from "survey-angular-ui";
|
|
2
3
|
import { TabbedMenuItem } from "survey-creator-core";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TabbedMenuItemWrapperComponent extends BaseAngular<TabbedMenuItem> {
|
|
5
|
+
export declare class TabbedMenuItemWrapperComponent extends BaseAngular<TabbedMenuItem> implements AfterViewInit {
|
|
5
6
|
model: TabbedMenuItem;
|
|
7
|
+
container: ElementRef<HTMLElement>;
|
|
6
8
|
protected getModel(): TabbedMenuItem;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
7
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabbedMenuItemWrapperComponent, never>;
|
|
8
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabbedMenuItemWrapperComponent, "svc-tabbed-menu-item-wrapper", never, { "model": "model"; }, {}, never, never>;
|
|
9
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
2
2
|
import { BaseAngular } from "survey-angular-ui";
|
|
3
|
-
import { TabbedMenuContainer } from "survey-creator-core";
|
|
3
|
+
import { TabbedMenuContainer, TabbedMenuItem } from "survey-creator-core";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TabbledMenuComponent extends BaseAngular<TabbedMenuContainer> implements AfterViewInit {
|
|
6
6
|
model: TabbedMenuContainer;
|
|
@@ -9,6 +9,7 @@ export declare class TabbledMenuComponent extends BaseAngular<TabbedMenuContaine
|
|
|
9
9
|
protected getModel(): TabbedMenuContainer;
|
|
10
10
|
ngAfterViewInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
|
+
trackItemBy(_: number, item: TabbedMenuItem): number;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabbledMenuComponent, never>;
|
|
13
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabbledMenuComponent, "svc-tabbed-menu", never, { "model": "model"; }, {}, never, never>;
|
|
14
15
|
}
|
|
@@ -5,5 +5,5 @@ export declare class TestTabComponent extends BaseAngular<TestSurveyTabViewModel
|
|
|
5
5
|
model: TestSurveyTabViewModel;
|
|
6
6
|
protected getModel(): TestSurveyTabViewModel;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TestTabComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TestTabComponent, "svc-tab-
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestTabComponent, "svc-tab-preview", never, { "model": "model"; }, {}, never, never>;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
2
|
-
import { SurveyCreatorModel, QuestionToolbox } from "survey-creator-core";
|
|
2
|
+
import { SurveyCreatorModel, QuestionToolbox, QuestionToolboxItem } from "survey-creator-core";
|
|
3
3
|
import { Action } from "survey-core";
|
|
4
4
|
import { BaseAngular } from "survey-angular-ui";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -13,6 +13,7 @@ export declare class AdaptiveToolboxComponent extends BaseAngular<QuestionToolbo
|
|
|
13
13
|
ngAfterViewInit(): void;
|
|
14
14
|
protected getModel(): QuestionToolbox;
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
|
+
trackItemBy(_: number, item: QuestionToolboxItem): number;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdaptiveToolboxComponent, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdaptiveToolboxComponent, "svc-toolbox", never, { "model": "model"; }, {}, never, never>;
|
|
18
19
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { BaseAngular } from "survey-angular-ui";
|
|
2
|
-
import { QuestionToolbox, QuestionToolboxCategory } from "survey-creator-core";
|
|
2
|
+
import { QuestionToolbox, QuestionToolboxCategory, QuestionToolboxItem } from "survey-creator-core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ToolboxCategoryComponent extends BaseAngular<QuestionToolboxCategory> {
|
|
5
5
|
category: QuestionToolboxCategory;
|
|
6
6
|
toolbox: QuestionToolbox;
|
|
7
7
|
getModel(): QuestionToolboxCategory;
|
|
8
|
+
trackItemBy(_: number, item: QuestionToolboxItem): number;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxCategoryComponent, never>;
|
|
9
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxCategoryComponent, "svc-toolbox-category ", never, { "category": "category"; "toolbox": "toolbox"; }, {}, never, never>;
|
|
10
11
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
1
2
|
import { CreatorModelComponent } from "../creator-model.component";
|
|
2
3
|
import { SurveyCreatorModel, ToolboxToolViewModel } from "survey-creator-core";
|
|
3
4
|
import { Action, ActionContainer } from "survey-core";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ToolboxToolComponent extends CreatorModelComponent<Action> {
|
|
6
|
+
export declare class ToolboxToolComponent extends CreatorModelComponent<Action> implements AfterViewInit {
|
|
6
7
|
creator: SurveyCreatorModel;
|
|
7
8
|
item: Action;
|
|
8
9
|
parentModel: ActionContainer;
|
|
9
10
|
isCompact: boolean;
|
|
11
|
+
container: ElementRef<HTMLDivElement>;
|
|
10
12
|
model: ToolboxToolViewModel;
|
|
11
13
|
createModel(): void;
|
|
12
14
|
protected getPropertiesToTrack(): string[];
|
|
13
15
|
protected getModel(): Action;
|
|
14
16
|
get itemCssClasses(): string | undefined;
|
|
15
|
-
protected getPropertiesToUpdateSync(): string[];
|
|
16
17
|
ngOnDestroy(): void;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxToolComponent, never>;
|
|
18
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxToolComponent, "svc-toolbox-tool", never, { "creator": "creator"; "item": "item"; "parentModel": "parentModel"; "isCompact": "isCompact"; }, {}, never, never>;
|
|
19
21
|
}
|