survey-creator-react 2.4.1 → 2.5.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/fesm/survey-creator-react.mjs +26 -9
- package/fesm/survey-creator-react.mjs.map +1 -1
- package/index.html +6 -2
- package/package.json +4 -4
- package/survey-creator-react-presets.js +355 -0
- package/survey-creator-react-presets.js.map +1 -0
- package/survey-creator-react-presets.min.js +2 -0
- package/survey-creator-react-presets.min.js.LICENSE.txt +6 -0
- package/survey-creator-react.js +33 -10
- package/survey-creator-react.js.map +1 -1
- package/survey-creator-react.min.js +1 -1
- package/survey-creator-react.min.js.LICENSE.txt +1 -1
- package/typings/ModelElement.d.ts +4 -1
- package/typings/adorners/Row.d.ts +4 -1
- package/typings/entries/presets.d.ts +3 -0
- package/typings/presets/Presets.d.ts +15 -0
- package/typings/presets/PresetsIconItem.d.ts +10 -0
- package/typings/presets/PresetsPropertyGrid.d.ts +10 -0
|
@@ -4,5 +4,8 @@ export declare class CreatorModelElement<P, S> extends SurveyElementBase<P, S> {
|
|
|
4
4
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
5
5
|
protected createModel(props: any): void;
|
|
6
6
|
protected needUpdateModel(nextProps: any): boolean;
|
|
7
|
-
protected getUpdatedModelProps(): string
|
|
7
|
+
protected getUpdatedModelProps(): Array<string | {
|
|
8
|
+
name: string;
|
|
9
|
+
deepEqual?: boolean;
|
|
10
|
+
}>;
|
|
8
11
|
}
|
|
@@ -11,7 +11,10 @@ export declare class RowWrapper extends CreatorModelElement<RowWrapperComponentP
|
|
|
11
11
|
model: RowViewModel;
|
|
12
12
|
constructor(props: RowWrapperComponentProps);
|
|
13
13
|
protected createModel(props: any): void;
|
|
14
|
-
protected getUpdatedModelProps(): string
|
|
14
|
+
protected getUpdatedModelProps(): Array<string | {
|
|
15
|
+
name: string;
|
|
16
|
+
deepEqual?: boolean;
|
|
17
|
+
}>;
|
|
15
18
|
protected getStateElement(): Base;
|
|
16
19
|
componentDidMount(): void;
|
|
17
20
|
componentWillUnmount(): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Base } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "survey-react-ui";
|
|
4
|
+
import { SurveyCreatorModel } from "survey-creator-core";
|
|
5
|
+
interface ITabPresetsComponentProps {
|
|
6
|
+
data: any;
|
|
7
|
+
creator: SurveyCreatorModel;
|
|
8
|
+
}
|
|
9
|
+
export declare class TabPresetsComponent extends SurveyElementBase<ITabPresetsComponentProps, any> {
|
|
10
|
+
private get model();
|
|
11
|
+
protected get creator(): SurveyCreatorModel;
|
|
12
|
+
protected getStateElement(): Base;
|
|
13
|
+
renderElement(): React.JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ItemValue } from "survey-core";
|
|
3
|
+
interface IPresetsIconItemProps {
|
|
4
|
+
item: ItemValue;
|
|
5
|
+
}
|
|
6
|
+
export declare class PresetsIconItem extends React.Component<any, any> {
|
|
7
|
+
constructor(props: IPresetsIconItemProps);
|
|
8
|
+
render(): React.JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PropertyGridViewModel } from "survey-creator-core";
|
|
3
|
+
interface IPresetsPropertyGridWrapperProps {
|
|
4
|
+
model: PropertyGridViewModel;
|
|
5
|
+
}
|
|
6
|
+
export declare class PresetsPropertyGridWrapper extends React.Component<any, any> {
|
|
7
|
+
constructor(props: IPresetsPropertyGridWrapperProps);
|
|
8
|
+
render(): React.JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
export {};
|