survey-vue3-ui 1.12.21 → 2.0.0-rc.0
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 +94 -94
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +3124 -3161
- package/survey-vue3-ui.umd.js +9 -5
- package/types/PopupSurvey.vue.d.ts +2 -2
- package/types/main.d.ts +1 -1
package/README.md
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
# SurveyJS Vue Form Library (Vue 3)
|
|
2
|
-
|
|
3
|
-
[](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=7&branchName=master)
|
|
4
|
-
[](LICENSE)
|
|
5
|
-
<a href="https://github.com/DevExpress/testcafe">
|
|
6
|
-
<img alt="Tested with TestCafe" src="https://img.shields.io/badge/tested%20with-TestCafe-2fa4cf.svg">
|
|
7
|
-
</a>
|
|
8
|
-
<a href="https://github.com/surveyjs/survey-library/issues">
|
|
9
|
-
<img alt="Issues" title="Open Issues" src="https://img.shields.io/github/issues/surveyjs/survey-library.svg">
|
|
10
|
-
</a>
|
|
11
|
-
<a href="https://github.com/surveyjs/survey-library/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+">
|
|
12
|
-
<img alt="Closed issues" title="Closed Issues" src="https://img.shields.io/github/issues-closed/surveyjs/survey-library.svg">
|
|
13
|
-
</a>
|
|
14
|
-
|
|
15
|
-
A free and open-source MIT-licensed JavaScript form builder library that allows you to design dynamic, data-driven, multi-language survey forms and run them in your Vue applications.
|
|
16
|
-
|
|
17
|
-
> **NOTE**: This package contains a version of SurveyJS Form Library for Vue 3. If you are looking for a Vue 2 version, refer to the [survey-vue-ui](https://www.npmjs.com/package/survey-vue-ui) npm package.
|
|
18
|
-
|
|
19
|
-
## Features
|
|
20
|
-
|
|
21
|
-
- Dynamic forms, surveys, polls, and quizzes for your JavaScript application
|
|
22
|
-
- Integration with React, Angular, Vue, jQuery, and Knockout
|
|
23
|
-
- 20+ built-in question types and support for custom question types
|
|
24
|
-
- Built-in themes and CSS customization
|
|
25
|
-
- Answer validation
|
|
26
|
-
- TypeScript support
|
|
27
|
-
- Community-supported UI localization to 50+ languages
|
|
28
|
-
- Integration with any backend framework (examples for PHP, NodeJS, and ASP.NET included)
|
|
29
|
-
- Compatibility with any server + database combination
|
|
30
|
-
- Third-party component integration
|
|
31
|
-
|
|
32
|
-
## Get Started
|
|
33
|
-
|
|
34
|
-
To get started with SurveyJS Vue Form Library, refer to the following tutorial: [Add a Survey to a Vue 3 Application](https://surveyjs.io/form-library/documentation/get-started-vue#add-a-survey-to-a-vue-3-application).
|
|
35
|
-
|
|
36
|
-
## Resources
|
|
37
|
-
|
|
38
|
-
- [Website](https://surveyjs.io/)
|
|
39
|
-
- [Documentation](https://surveyjs.io/Documentation/Library)
|
|
40
|
-
- [Live Examples](https://surveyjs.io/form-library/examples/nps-question/vuejs)
|
|
41
|
-
- [What's New](https://surveyjs.io/WhatsNew)
|
|
42
|
-
|
|
43
|
-
## Build SurveyJS Vue Form Library from Sources
|
|
44
|
-
|
|
45
|
-
1. **Clone the repo**
|
|
46
|
-
|
|
47
|
-
```cmd
|
|
48
|
-
git clone https://github.com/surveyjs/survey-library.git
|
|
49
|
-
cd survey-library
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
1. **Install dependencies common for all SurveyJS libraries**
|
|
53
|
-
Make sure that you have Node.js v16 or later and a compatible npm version installed.
|
|
54
|
-
|
|
55
|
-
```cmd
|
|
56
|
-
npm install -g karma-cli
|
|
57
|
-
npm install
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
1. **Build the [platform-independent part](https://github.com/surveyjs/survey-library/blob/master/build-scripts/survey-core/README.md#survey-model-platform-independent-part) and plugins**
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
npm run build_core
|
|
64
|
-
npm run build-plugins
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
1. **Install SurveyJS Vue Form Library dependencies and build this library**
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
cd packages/survey-vue3-ui
|
|
71
|
-
npm i
|
|
72
|
-
npm run build
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
You can find the built scripts and style sheets in folders under the `build` directory.
|
|
76
|
-
|
|
77
|
-
1. **Run a test application**
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
npm run dev
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
This command runs a local HTTP server at http://localhost:5173/.
|
|
84
|
-
|
|
85
|
-
2. **Run unit tests**
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
npm run test
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
The unit tests use [Karma](https://karma-runner.github.io/6.3/index.html).
|
|
92
|
-
|
|
93
|
-
## Licensing
|
|
94
|
-
|
|
1
|
+
# SurveyJS Vue Form Library (Vue 3)
|
|
2
|
+
|
|
3
|
+
[](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=7&branchName=master)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
<a href="https://github.com/DevExpress/testcafe">
|
|
6
|
+
<img alt="Tested with TestCafe" src="https://img.shields.io/badge/tested%20with-TestCafe-2fa4cf.svg">
|
|
7
|
+
</a>
|
|
8
|
+
<a href="https://github.com/surveyjs/survey-library/issues">
|
|
9
|
+
<img alt="Issues" title="Open Issues" src="https://img.shields.io/github/issues/surveyjs/survey-library.svg">
|
|
10
|
+
</a>
|
|
11
|
+
<a href="https://github.com/surveyjs/survey-library/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+">
|
|
12
|
+
<img alt="Closed issues" title="Closed Issues" src="https://img.shields.io/github/issues-closed/surveyjs/survey-library.svg">
|
|
13
|
+
</a>
|
|
14
|
+
|
|
15
|
+
A free and open-source MIT-licensed JavaScript form builder library that allows you to design dynamic, data-driven, multi-language survey forms and run them in your Vue applications.
|
|
16
|
+
|
|
17
|
+
> **NOTE**: This package contains a version of SurveyJS Form Library for Vue 3. If you are looking for a Vue 2 version, refer to the [survey-vue-ui](https://www.npmjs.com/package/survey-vue-ui) npm package.
|
|
18
|
+
|
|
19
|
+
## Features
|
|
20
|
+
|
|
21
|
+
- Dynamic forms, surveys, polls, and quizzes for your JavaScript application
|
|
22
|
+
- Integration with React, Angular, Vue, jQuery, and Knockout
|
|
23
|
+
- 20+ built-in question types and support for custom question types
|
|
24
|
+
- Built-in themes and CSS customization
|
|
25
|
+
- Answer validation
|
|
26
|
+
- TypeScript support
|
|
27
|
+
- Community-supported UI localization to 50+ languages
|
|
28
|
+
- Integration with any backend framework (examples for PHP, NodeJS, and ASP.NET included)
|
|
29
|
+
- Compatibility with any server + database combination
|
|
30
|
+
- Third-party component integration
|
|
31
|
+
|
|
32
|
+
## Get Started
|
|
33
|
+
|
|
34
|
+
To get started with SurveyJS Vue Form Library, refer to the following tutorial: [Add a Survey to a Vue 3 Application](https://surveyjs.io/form-library/documentation/get-started-vue#add-a-survey-to-a-vue-3-application).
|
|
35
|
+
|
|
36
|
+
## Resources
|
|
37
|
+
|
|
38
|
+
- [Website](https://surveyjs.io/)
|
|
39
|
+
- [Documentation](https://surveyjs.io/Documentation/Library)
|
|
40
|
+
- [Live Examples](https://surveyjs.io/form-library/examples/nps-question/vuejs)
|
|
41
|
+
- [What's New](https://surveyjs.io/WhatsNew)
|
|
42
|
+
|
|
43
|
+
## Build SurveyJS Vue Form Library from Sources
|
|
44
|
+
|
|
45
|
+
1. **Clone the repo**
|
|
46
|
+
|
|
47
|
+
```cmd
|
|
48
|
+
git clone https://github.com/surveyjs/survey-library.git
|
|
49
|
+
cd survey-library
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
1. **Install dependencies common for all SurveyJS libraries**
|
|
53
|
+
Make sure that you have Node.js v16 or later and a compatible npm version installed.
|
|
54
|
+
|
|
55
|
+
```cmd
|
|
56
|
+
npm install -g karma-cli
|
|
57
|
+
npm install
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
1. **Build the [platform-independent part](https://github.com/surveyjs/survey-library/blob/master/build-scripts/survey-core/README.md#survey-model-platform-independent-part) and plugins**
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
npm run build_core
|
|
64
|
+
npm run build-plugins
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
1. **Install SurveyJS Vue Form Library dependencies and build this library**
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
cd packages/survey-vue3-ui
|
|
71
|
+
npm i
|
|
72
|
+
npm run build
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
You can find the built scripts and style sheets in folders under the `build` directory.
|
|
76
|
+
|
|
77
|
+
1. **Run a test application**
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
npm run dev
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
This command runs a local HTTP server at http://localhost:5173/.
|
|
84
|
+
|
|
85
|
+
2. **Run unit tests**
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
npm run test
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
The unit tests use [Karma](https://karma-runner.github.io/6.3/index.html).
|
|
92
|
+
|
|
93
|
+
## Licensing
|
|
94
|
+
|
|
95
95
|
SurveyJS Form Library is distributed under the [MIT license](https://github.com/surveyjs/survey-library/blob/master/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-vue3-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc.0",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"url": "https://github.com/surveyjs/surveyjs.git"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"survey-core": "
|
|
22
|
+
"survey-core": "2.0.0-rc.0",
|
|
23
23
|
"vue": "^3.2.41"
|
|
24
24
|
}
|
|
25
25
|
}
|