survey-creator-core 1.8.77-beta.1 → 1.9.1-beta.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/README.md +5 -76
- package/package.json +1 -1
- package/survey-creator-core.css +996 -3578
- package/survey-creator-core.d.ts +155 -48
- package/survey-creator-core.js +1621 -916
- package/survey-creator-core.min.css +37 -1578
- package/survey-creator-core.min.js +3 -3
package/README.md
CHANGED
|
@@ -1,84 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
# Survey Creator V2 Model (Platform-Independent Part)
|
|
2
2
|
|
|
3
3
|
[](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=8&branchName=master)
|
|
4
4
|
<a href="https://www.npmjs.com/package/survey-creator"><img alt="NPM Version" src="https://img.shields.io/npm/v/survey-creator.svg" data-canonical-src="https://img.shields.io/npm/v/survey-creator.svg" style="max-width:100%;"></a>
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
This package implements a platform-independent survey model for Survey Creator V2 (now in Beta). It should be used with one of the following platform-specific packages:
|
|
7
7
|
|
|
8
|
-
[
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Download
|
|
12
|
-
|
|
13
|
-
Dowload the latest version as zip file [Download](https://github.com/surveyjs/survey-creator/releases)
|
|
14
|
-
|
|
15
|
-
Install the library using npm.
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
npm install survey-creator
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Or use unpkg CDN:
|
|
22
|
-
|
|
23
|
-
- https://unpkg.com/survey-creator@{version-number}/survey-creator.css
|
|
24
|
-
- https://unpkg.com/survey-knockout@{version-number}/survey.ko.min.css
|
|
25
|
-
- https://unpkg.com/survey-creator@{version-number}/survey-creator.js
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## Include into your project
|
|
29
|
-
|
|
30
|
-
### Explore examples
|
|
31
|
-
|
|
32
|
-
To learn how to include the visual survey creator / form builder on your page and explore examples of using, please go to [surveyjs.io/Examples/Survey-Creator](https://surveyjs.io/Examples/Survey-Creator) web site
|
|
33
|
-
|
|
34
|
-
### Read documentation
|
|
35
|
-
|
|
36
|
-
To find out more about the library concepts and the you may customize it, please read [our documentation](https://surveyjs.io/Documentation/Survey-Creator)
|
|
37
|
-
|
|
38
|
-
### Use quickstart repos
|
|
39
|
-
|
|
40
|
-
[Angular CLI](https://github.com/surveyjs/surveyjs_angular_cli), [React](https://github.com/surveyjs/surveyjs_react_quickstart), [Vue](https://github.com/surveyjs/surveyjs_vue_quickstart)
|
|
41
|
-
|
|
42
|
-
## See survey creator in action
|
|
43
|
-
|
|
44
|
-
See the survey creator in [action](http://surveyjs.io/Survey/Builder/).
|
|
45
|
-
|
|
46
|
-
## Building Survey Creator from sources
|
|
47
|
-
|
|
48
|
-
To build library yourself:
|
|
49
|
-
|
|
50
|
-
1. **Clone the repo from GitHub**
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
git clone https://github.com/surveyjs/survey-creator.git
|
|
54
|
-
cd survey-creator
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
2. **Acquire build dependencies.** Make sure you have [Node.js](http://nodejs.org/) installed on your workstation. You need a version of Node.js greater than 6.0.0 and npm greater than 2.7.0
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
npm install
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
3. **Build the library**
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
npm run build_prod
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
After that you should have the library at 'build' directory.
|
|
70
|
-
|
|
71
|
-
4. **Run unit tests**
|
|
72
|
-
```
|
|
73
|
-
npm test
|
|
74
|
-
```
|
|
75
|
-
This command will run unit tests usign [Karma](https://karma-runner.github.io/0.13/index.html)
|
|
76
|
-
|
|
77
|
-
## Dependencies
|
|
78
|
-
|
|
79
|
-
The library depends on: [surveyjs](http://surveyjs.io/Library/) and [knockoutjs](http://knockoutjs.com)
|
|
80
|
-
Optionally you may use [bootstrap](http://getbootstrap.com), [ace editor](https://ace.c9.io/) and [select2](https://select2.org/)
|
|
8
|
+
- [survey-creator-react](../survey-creator-react) for React
|
|
9
|
+
- [survey-creator-knockout](../survey-creator-knockout) for Knockout, jQuery, Angular, and Vue
|
|
81
10
|
|
|
82
11
|
## License
|
|
83
12
|
|
|
84
|
-
The Survey Creator (Form Builder) is
|
|
13
|
+
The Survey Creator (Form Builder) is **not available for free commercial usage**. You can find more information about licensing this product on the following page: [Licenses](http://surveyjs.io/Licenses).
|