survey-angular-ui 1.9.43 → 1.9.46
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 +214 -214
- package/angular-ui.d.ts +27 -0
- package/angular-ui.module.d.ts +92 -0
- package/base-angular.d.ts +25 -0
- package/comment.component.d.ts +8 -0
- package/component-factory.d.ts +9 -0
- package/components/action-bar/action-bar-item-dropdown.component.d.ts +12 -0
- package/components/action-bar/action-bar-item.component.d.ts +8 -0
- package/components/action-bar/action-bar.component.d.ts +16 -0
- package/components/action-bar/action.component.d.ts +11 -0
- package/components/brand-info/brand-info.component.d.ts +5 -0
- package/components/dropdown/dropdown.component.d.ts +16 -0
- package/components/element-header/element-header.component.d.ts +9 -0
- package/components/element-title/dynamic-head.component.d.ts +10 -0
- package/components/element-title/element-title.component.d.ts +7 -0
- package/components/list/list-item.component.d.ts +16 -0
- package/components/list/list.component.d.ts +11 -0
- package/components/matrix-actions/detail-button/detail-button.component.d.ts +11 -0
- package/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +10 -0
- package/components/matrix-actions/remove-button/remove-button.component.d.ts +10 -0
- package/components/paneldynamic-actions/paneldynamic-add-btn.component.d.ts +14 -0
- package/components/paneldynamic-actions/paneldynamic-next-btn.component.d.ts +7 -0
- package/components/paneldynamic-actions/paneldynamic-prev-btn.component.d.ts +7 -0
- package/components/paneldynamic-actions/paneldynamic-progress-text.component.d.ts +6 -0
- package/components/popup/popup-container.component.d.ts +16 -0
- package/components/popup/popup.component.d.ts +17 -0
- package/components/popup/popup.service.d.ts +13 -0
- package/components/progress/buttons/progress.component.d.ts +24 -0
- package/components/progress/default/progress.component.d.ts +9 -0
- package/components/renderAs/boolean-checkbox/boolean-checkbox.component.d.ts +6 -0
- package/components/renderAs/boolean-radio/boolean-radio-item.component.d.ts +10 -0
- package/components/renderAs/boolean-radio/boolean-radio.component.d.ts +7 -0
- package/components/renderAs/dropdown-select/dropdown-option-item.component.d.ts +8 -0
- package/components/renderAs/dropdown-select/dropdown-select.component.d.ts +10 -0
- package/components/renderAs/rating-dropdown/rating-dropdown.component.d.ts +6 -0
- package/components/skeleton.component.d.ts +6 -0
- package/components/survey-actions/survey-nav-btn.component.d.ts +10 -0
- package/components/survey-header/survey-header.component.d.ts +11 -0
- package/components/svg-icon/svg-icon.component.d.ts +20 -0
- package/components/tagbox/tagbox-item.component.d.ts +11 -0
- package/components/tagbox/tagbox.component.d.ts +16 -0
- package/element.component.d.ts +9 -0
- package/embedded-view-content.component.d.ts +11 -0
- package/errors.component.d.ts +19 -0
- package/esm2020/angular-ui.mjs +28 -0
- package/esm2020/angular-ui.module.mjs +138 -0
- package/esm2020/base-angular.mjs +101 -0
- package/esm2020/comment.component.mjs +16 -0
- package/esm2020/component-factory.mjs +26 -0
- package/esm2020/components/action-bar/action-bar-item-dropdown.component.mjs +32 -0
- package/esm2020/components/action-bar/action-bar-item.component.mjs +22 -0
- package/esm2020/components/action-bar/action-bar.component.mjs +43 -0
- package/esm2020/components/action-bar/action.component.mjs +27 -0
- package/esm2020/components/brand-info/brand-info.component.mjs +13 -0
- package/esm2020/components/dropdown/dropdown.component.mjs +39 -0
- package/esm2020/components/element-header/element-header.component.mjs +30 -0
- package/esm2020/components/element-title/dynamic-head.component.mjs +20 -0
- package/esm2020/components/element-title/element-title.component.mjs +18 -0
- package/esm2020/components/list/list-item.component.mjs +44 -0
- package/esm2020/components/list/list.component.mjs +32 -0
- package/esm2020/components/matrix-actions/detail-button/detail-button.component.mjs +25 -0
- package/esm2020/components/matrix-actions/drag-drop-icon/drag-drop-icon.mjs +24 -0
- package/esm2020/components/matrix-actions/remove-button/remove-button.component.mjs +25 -0
- package/esm2020/components/paneldynamic-actions/paneldynamic-add-btn.component.mjs +35 -0
- package/esm2020/components/paneldynamic-actions/paneldynamic-next-btn.component.mjs +18 -0
- package/esm2020/components/paneldynamic-actions/paneldynamic-prev-btn.component.mjs +18 -0
- package/esm2020/components/paneldynamic-actions/paneldynamic-progress-text.component.mjs +14 -0
- package/esm2020/components/popup/popup-container.component.mjs +48 -0
- package/esm2020/components/popup/popup.component.mjs +37 -0
- package/esm2020/components/popup/popup.service.mjs +26 -0
- package/esm2020/components/progress/buttons/progress.component.mjs +67 -0
- package/esm2020/components/progress/default/progress.component.mjs +27 -0
- package/esm2020/components/renderAs/boolean-checkbox/boolean-checkbox.component.mjs +20 -0
- package/esm2020/components/renderAs/boolean-radio/boolean-radio-item.component.mjs +22 -0
- package/esm2020/components/renderAs/boolean-radio/boolean-radio.component.mjs +18 -0
- package/esm2020/components/renderAs/dropdown-select/dropdown-option-item.component.mjs +23 -0
- package/esm2020/components/renderAs/dropdown-select/dropdown-select.component.mjs +38 -0
- package/esm2020/components/renderAs/rating-dropdown/rating-dropdown.component.mjs +18 -0
- package/esm2020/components/skeleton.component.mjs +15 -0
- package/esm2020/components/survey-actions/survey-nav-btn.component.mjs +22 -0
- package/esm2020/components/survey-header/survey-header.component.mjs +23 -0
- package/esm2020/components/svg-icon/svg-icon.component.mjs +68 -0
- package/esm2020/components/tagbox/tagbox-item.component.mjs +27 -0
- package/esm2020/components/tagbox/tagbox.component.mjs +40 -0
- package/esm2020/element.component.mjs +18 -0
- package/esm2020/embedded-view-content.component.mjs +24 -0
- package/esm2020/errors.component.mjs +58 -0
- package/esm2020/page.component.mjs +34 -0
- package/esm2020/panel.component.mjs +37 -0
- package/esm2020/question.component.mjs +41 -0
- package/esm2020/question.mjs +33 -0
- package/esm2020/questions/boolean.component.mjs +20 -0
- package/esm2020/questions/checkbox-item.component.mjs +36 -0
- package/esm2020/questions/checkbox.component.mjs +17 -0
- package/esm2020/questions/comment.component.mjs +18 -0
- package/esm2020/questions/composite.component.mjs +21 -0
- package/esm2020/questions/custom.component.mjs +27 -0
- package/esm2020/questions/customwidget.component.mjs +51 -0
- package/esm2020/questions/dropdown.component.mjs +17 -0
- package/esm2020/questions/expression.component.mjs +17 -0
- package/esm2020/questions/file.component.mjs +25 -0
- package/esm2020/questions/html.component.mjs +25 -0
- package/esm2020/questions/image.component.mjs +16 -0
- package/esm2020/questions/imagepicker-item.component.mjs +45 -0
- package/esm2020/questions/imagepicker.component.mjs +16 -0
- package/esm2020/questions/matrix.component.mjs +35 -0
- package/esm2020/questions/matrixcell.component.mjs +61 -0
- package/esm2020/questions/matrixdropdown.component.mjs +16 -0
- package/esm2020/questions/matrixdynamic.component.mjs +17 -0
- package/esm2020/questions/matrixrequiredheader.component.mjs +24 -0
- package/esm2020/questions/matrixtable.component.mjs +29 -0
- package/esm2020/questions/multipletext.component.mjs +25 -0
- package/esm2020/questions/multipletextitem.component.mjs +23 -0
- package/esm2020/questions/paneldynamic.component.mjs +55 -0
- package/esm2020/questions/radiogroup-item.component.mjs +18 -0
- package/esm2020/questions/radiogroup.component.mjs +22 -0
- package/esm2020/questions/ranking-item.component.mjs +22 -0
- package/esm2020/questions/ranking.component.mjs +22 -0
- package/esm2020/questions/rating.component.mjs +23 -0
- package/esm2020/questions/selectbase-item.mjs +32 -0
- package/esm2020/questions/selectbase.component.mjs +24 -0
- package/esm2020/questions/signature.component.mjs +17 -0
- package/esm2020/questions/tagbox.component.mjs +17 -0
- package/esm2020/questions/text.component.mjs +26 -0
- package/esm2020/row.component.mjs +22 -0
- package/esm2020/string-editor.component.mjs +26 -0
- package/esm2020/string-viewer.component.mjs +32 -0
- package/esm2020/survey-angular-ui.mjs +5 -0
- package/esm2020/survey-string.component.mjs +17 -0
- package/esm2020/survey.component.mjs +50 -0
- package/esm2020/utils/dynamic.directive.mjs +44 -0
- package/esm2020/utils/ng-key2click.directive.mjs +69 -0
- package/esm2020/utils/ng-show.directive.mjs +27 -0
- package/esm2020/utils/safe-html.pipe.mjs +18 -0
- package/esm2020/utils/safe-url.pipe.mjs +33 -0
- package/fesm2015/survey-angular-ui.mjs +2201 -0
- package/fesm2015/survey-angular-ui.mjs.map +1 -0
- package/fesm2020/survey-angular-ui.mjs +2181 -0
- package/fesm2020/survey-angular-ui.mjs.map +1 -0
- package/package.json +1 -11
- package/page.component.d.ts +14 -0
- package/panel.component.d.ts +13 -0
- package/question.component.d.ts +13 -0
- package/question.d.ts +13 -0
- package/questions/boolean.component.d.ts +8 -0
- package/questions/checkbox-item.component.d.ts +11 -0
- package/questions/checkbox.component.d.ts +7 -0
- package/questions/comment.component.d.ts +8 -0
- package/questions/composite.component.d.ts +8 -0
- package/questions/custom.component.d.ts +10 -0
- package/questions/customwidget.component.d.ts +18 -0
- package/questions/dropdown.component.d.ts +7 -0
- package/questions/expression.component.d.ts +7 -0
- package/questions/file.component.d.ts +8 -0
- package/questions/html.component.d.ts +9 -0
- package/questions/image.component.d.ts +7 -0
- package/questions/imagepicker-item.component.d.ts +14 -0
- package/questions/imagepicker.component.d.ts +7 -0
- package/questions/matrix.component.d.ts +11 -0
- package/questions/matrixcell.component.d.ts +20 -0
- package/questions/matrixdropdown.component.d.ts +7 -0
- package/questions/matrixdynamic.component.d.ts +7 -0
- package/questions/matrixrequiredheader.component.d.ts +10 -0
- package/questions/matrixtable.component.d.ts +12 -0
- package/questions/multipletext.component.d.ts +9 -0
- package/questions/multipletextitem.component.d.ts +10 -0
- package/questions/paneldynamic.component.d.ts +12 -0
- package/questions/radiogroup-item.component.d.ts +8 -0
- package/questions/radiogroup.component.d.ts +8 -0
- package/questions/ranking-item.component.d.ts +11 -0
- package/questions/ranking.component.d.ts +8 -0
- package/questions/rating.component.d.ts +9 -0
- package/questions/selectbase-item.d.ts +12 -0
- package/questions/selectbase.component.d.ts +10 -0
- package/questions/signature.component.d.ts +7 -0
- package/questions/tagbox.component.d.ts +7 -0
- package/questions/text.component.d.ts +9 -0
- package/row.component.d.ts +10 -0
- package/string-editor.component.d.ts +9 -0
- package/string-viewer.component.d.ts +13 -0
- package/survey-angular-ui.d.ts +5 -5
- package/survey-string.component.d.ts +7 -0
- package/survey.component.d.ts +16 -0
- package/utils/dynamic.directive.d.ts +19 -0
- package/utils/ng-key2click.directive.d.ts +21 -0
- package/utils/ng-show.directive.d.ts +12 -0
- package/utils/safe-html.pipe.d.ts +10 -0
- package/utils/safe-url.pipe.d.ts +17 -0
package/README.md
CHANGED
|
@@ -1,214 +1,214 @@
|
|
|
1
|
-
## **SurveyJS** is a JavaScript Survey and Form Library.
|
|
2
|
-
|
|
3
|
-
**SurveyJS** is a modern way to add surveys and forms to your website. It has versions for Angular, jQuery, knockout, react and vue.
|
|
4
|
-
|
|
5
|
-
[](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=7&branchName=master)
|
|
6
|
-
[](LICENSE)
|
|
7
|
-
<a href="https://github.com/DevExpress/testcafe">
|
|
8
|
-
<img alt="Tested with TestCafe" src="https://img.shields.io/badge/tested%20with-TestCafe-2fa4cf.svg">
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://github.com/surveyjs/survey-library/issues">
|
|
11
|
-
<img alt="Issues" title="Open Issues" src="https://img.shields.io/github/issues/surveyjs/survey-library.svg">
|
|
12
|
-
</a>
|
|
13
|
-
<a href="https://github.com/surveyjs/survey-library/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+">
|
|
14
|
-
<img alt="Closed issues" title="Closed Issues" src="https://img.shields.io/github/issues-closed/surveyjs/survey-library.svg">
|
|
15
|
-
</a>
|
|
16
|
-
|
|
17
|
-
## Documentation
|
|
18
|
-
|
|
19
|
-
[SurveyJS Library Documentation](https://surveyjs.io/Documentation/Library)
|
|
20
|
-
|
|
21
|
-
## Live Examples
|
|
22
|
-
|
|
23
|
-
[SurveyJS Library Live Examples](https://surveyjs.io/Examples/Library)
|
|
24
|
-
|
|
25
|
-
## Survey Creator / Form Builder
|
|
26
|
-
|
|
27
|
-
[Create your Survey or Form now](https://surveyjs.io/create-survey)
|
|
28
|
-
|
|
29
|
-
Survey Creator sources are [here](https://github.com/surveyjs/survey-creator)
|
|
30
|
-
|
|
31
|
-
## Export Survey to PDF
|
|
32
|
-
|
|
33
|
-
[Export to PDF overview](https://surveyjs.io/Overview/Survey-Pdf-Export)
|
|
34
|
-
|
|
35
|
-
Export to PDF sources are [here](https://github.com/surveyjs/survey-pdf)
|
|
36
|
-
|
|
37
|
-
## More info about SurveyJS
|
|
38
|
-
|
|
39
|
-
**SurveyJS** is the most feature-rich Survey / Form Library available at the current moment. It can be easily customized and extended to suit your needs.
|
|
40
|
-
|
|
41
|
-

|
|
42
|
-
|
|
43
|
-
## Main Features
|
|
44
|
-
|
|
45
|
-
### A lot of question types with a lot of built-in functionalities.
|
|
46
|
-
|
|
47
|
-
* [Text Question](https://surveyjs.io/Examples/Library/?id=questiontype-text)
|
|
48
|
-
* [Radigroup Question](https://surveyjs.io/Examples/Library/?id=questiontype-radiogroup)
|
|
49
|
-
* [Dropdown Question](https://surveyjs.io/Examples/Library/?id=questiontype-dropdown)
|
|
50
|
-
* [Checkboxes Question](https://surveyjs.io/Examples/Library/?id=questiontype-checkbox)
|
|
51
|
-
* [Boolean Question](https://surveyjs.io/Examples/Library/?id=questiontype-boolean)
|
|
52
|
-
* [Matrix Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrix)
|
|
53
|
-
* [Matrix Rubric Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrix-rubric)
|
|
54
|
-
* [Matrix Dropdown Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrixdropdown)
|
|
55
|
-
* [Matrix Dynamic Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrixdynamic)
|
|
56
|
-
* [Multiple Text Question](https://surveyjs.io/Examples/Library/?id=questiontype-multipletext)
|
|
57
|
-
* [Rating Question](https://surveyjs.io/Examples/Library/?id=questiontype-rating)
|
|
58
|
-
* [Ranking Question](https://surveyjs.io/Examples/Library?id=questiontype-ranking)
|
|
59
|
-
* [Comment Question](https://surveyjs.io/Examples/Library/?id=questiontype-comment)
|
|
60
|
-
* [Html Question](https://surveyjs.io/Examples/Library/?id=questiontype-html)
|
|
61
|
-
* [Files uploading Question](https://surveyjs.io/Examples/Library/?id=questiontype-file)
|
|
62
|
-
* [Panel Container](https://surveyjs.io/Examples/Library/?id=questiontype-panel)
|
|
63
|
-
* [Panel Dynamic Question](https://surveyjs.io/Examples/Library/?id=questiontype-paneldynamic)
|
|
64
|
-
* [Expression Question](https://surveyjs.io/Examples/Library/?id=questiontype-expression)
|
|
65
|
-
* [Image Picker Question](https://surveyjs.io/Examples/Library/?id=questiontype-imagepicker)
|
|
66
|
-
* [Support for third-party popular UI widgets](https://surveyjs.io/Examples/Library/?id=custom-widget-select2). The custom widgets [GitHub repo](https://github.com/surveyjs/widgets)
|
|
67
|
-
|
|
68
|
-
### Multiple Pages Support
|
|
69
|
-
|
|
70
|
-
You may create a very complex forms with a lot of pages, like [this one](https://surveyjs.io/Examples/Library/?id=real-patient-history).
|
|
71
|
-
|
|
72
|
-
### Dynamically change survey logic and questions content
|
|
73
|
-
|
|
74
|
-
* [Change questions visibility using logical expressions](https://surveyjs.io/Examples/Library/?id=condition-kids)
|
|
75
|
-
* [Create custom functions to use it in expression](https://surveyjs.io/Examples/Library/?id=condition-customfunctions)
|
|
76
|
-
* [Filter choices in checkbox, radiogroup and dropdown questions](https://surveyjs.io/Examples/Library/?id=condition-choicesVisibleIf)
|
|
77
|
-
* [Filter rows and columns in matrix question](https://surveyjs.io/Examples/Library/?id=condition-matrixVisibleIf)
|
|
78
|
-
* [Disabled/enabled questions based on logical expressions](https://surveyjs.io/Examples/Library/?id=condition-enable-kids)
|
|
79
|
-
* [Questions value validation](https://surveyjs.io/Examples/Library/?id=validators-standard)
|
|
80
|
-
|
|
81
|
-
### Localization and Multiple language support
|
|
82
|
-
|
|
83
|
-
* [Localization for over 20 languages](https://surveyjs.io/Examples/Library/?id=survey-localization&platform)
|
|
84
|
-
* [Multiple language support in one survey](https://surveyjs.io/Examples/Library/?id=survey-multilanguages)
|
|
85
|
-
|
|
86
|
-
### Appearance and custom Rendering
|
|
87
|
-
|
|
88
|
-
* [Seven built-in Themes](https://surveyjs.io/Examples/Library/?id=darkblue-theme)
|
|
89
|
-
* [Bootstrap support](https://surveyjs.io/Examples/Library/?id=bootstrap-theme)
|
|
90
|
-
* [CSS styles customization](https://surveyjs.io/Examples/Library/?id=survey-cssclasses)
|
|
91
|
-
* [API for adding new or changing existing HTML elements](https://surveyjs.io/Examples/Library/?id=survey-afterrender)
|
|
92
|
-
* [Render Questions in one line](https://surveyjs.io/Examples/Library/?id=survey-startwithnewline)
|
|
93
|
-
* [Markdown support](https://surveyjs.io/Examples/Library/?id=survey-markdown-radiogroup)
|
|
94
|
-
|
|
95
|
-
### Frequently used functionalities
|
|
96
|
-
|
|
97
|
-
* [Quiz creation](https://surveyjs.io/Examples/Library/?id=survey-quiz)
|
|
98
|
-
* [Show survey or form in the popup window](https://surveyjs.io/Examples/Library/?id=survey-window)
|
|
99
|
-
* [Display mode](https://surveyjs.io/Examples/Library/?id=survey-displaymode)
|
|
100
|
-
* [Custom navigation](https://surveyjs.io/Examples/Library/?id=survey-customnavigation)
|
|
101
|
-
* [Sharing same data between questions](https://surveyjs.io/Examples/Library/?id=survey-shareddata)
|
|
102
|
-
|
|
103
|
-
### To find out more about the library
|
|
104
|
-
|
|
105
|
-
* go to the [SurveyJS Library Site](https://surveyjs.io/Library)
|
|
106
|
-
* explore the live [Examples](https://www.surveyjs.io/Examples/Library)
|
|
107
|
-
* and create a survey or form using [Survey Creator](https://surveyjs.io/survey/Builder/)
|
|
108
|
-
|
|
109
|
-
#### You can use our quickstart repos:
|
|
110
|
-
|
|
111
|
-
* [Angular CLI](https://github.com/surveyjs/surveyjs_angular_cli)
|
|
112
|
-
* [React](https://github.com/surveyjs/surveyjs_react_quickstart)
|
|
113
|
-
* [Vue](https://github.com/surveyjs/surveyjs_vue_quickstart)
|
|
114
|
-
|
|
115
|
-
## Getting started
|
|
116
|
-
|
|
117
|
-
Install the library using npm.
|
|
118
|
-
|
|
119
|
-
Angular version:
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
npm install survey-angular
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
jQuery version:
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
npm install survey-jquery
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Knockout version:
|
|
132
|
-
|
|
133
|
-
```
|
|
134
|
-
npm install survey-knockout
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
React version:
|
|
138
|
-
|
|
139
|
-
```
|
|
140
|
-
npm install survey-react
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Vue version:
|
|
144
|
-
|
|
145
|
-
```
|
|
146
|
-
npm install survey-vue
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
Or use unpkg CDN:
|
|
150
|
-
|
|
151
|
-
* https://unpkg.com/survey-angular@{version-number}/survey.angular.min.js
|
|
152
|
-
* https://unpkg.com/survey-knockout@{version-number}/survey.ko.min.js
|
|
153
|
-
* https://unpkg.com/survey-react@{version-number}/survey.react.min.js
|
|
154
|
-
* https://unpkg.com/survey-jquery@{version-number}/survey.jquery.min.js
|
|
155
|
-
* https://unpkg.com/survey-vue@{version-number}/survey.vue.min.js
|
|
156
|
-
|
|
157
|
-
You find all versions/builds in the [surveyjs/build repo](https://github.com/surveyjs/builds).
|
|
158
|
-
|
|
159
|
-
Or dowload a version as zip file from [Releases](https://github.com/surveyjs/survey-library/releases)
|
|
160
|
-
|
|
161
|
-
If you want to import it in another script:
|
|
162
|
-
|
|
163
|
-
```javascript
|
|
164
|
-
import * as Survey from "survey-jquery";
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
## Building survey.js from sources
|
|
168
|
-
|
|
169
|
-
To build library yourself:
|
|
170
|
-
|
|
171
|
-
1. **Clone the repo from GitHub**
|
|
172
|
-
|
|
173
|
-
```
|
|
174
|
-
git clone https://github.com/surveyjs/survey-library.git
|
|
175
|
-
cd survey-library
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
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. This is only needed to _build_ surveyjs from sources.
|
|
179
|
-
|
|
180
|
-
```
|
|
181
|
-
npm install -g karma-cli
|
|
182
|
-
npm install
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
3. **Build the library**
|
|
186
|
-
|
|
187
|
-
```
|
|
188
|
-
npm run build_prod
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
After that you should have the libraries (angular, jquery, knockout, react and vue) at 'packages' directory.
|
|
192
|
-
|
|
193
|
-
4. **Run samples**
|
|
194
|
-
|
|
195
|
-
```
|
|
196
|
-
npm start
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
This command will run local http server at the http://localhost:7777
|
|
200
|
-
You can open http://localhost:7777/examples/knockout to view KnockoutJS samples, http://localhost:7777/examples/react to view ReactJS samples and so on
|
|
201
|
-
|
|
202
|
-
5. **Run unit tests**
|
|
203
|
-
```
|
|
204
|
-
karma start
|
|
205
|
-
```
|
|
206
|
-
This command will run unit tests using [Karma](https://karma-runner.github.io/0.13/index.html)
|
|
207
|
-
|
|
208
|
-
### WordPress integration
|
|
209
|
-
|
|
210
|
-
[SurveyJS WordPress plugin](https://wordpress.org/plugins/surveyjs/)
|
|
211
|
-
|
|
212
|
-
## License
|
|
213
|
-
|
|
214
|
-
[MIT license](https://github.com/surveyjs/survey-library/blob/master/LICENSE)
|
|
1
|
+
## **SurveyJS** is a JavaScript Survey and Form Library.
|
|
2
|
+
|
|
3
|
+
**SurveyJS** is a modern way to add surveys and forms to your website. It has versions for Angular, jQuery, knockout, react and vue.
|
|
4
|
+
|
|
5
|
+
[](https://dev.azure.com/SurveyJS/SurveyJS%20Integration%20Tests/_build/latest?definitionId=7&branchName=master)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
<a href="https://github.com/DevExpress/testcafe">
|
|
8
|
+
<img alt="Tested with TestCafe" src="https://img.shields.io/badge/tested%20with-TestCafe-2fa4cf.svg">
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://github.com/surveyjs/survey-library/issues">
|
|
11
|
+
<img alt="Issues" title="Open Issues" src="https://img.shields.io/github/issues/surveyjs/survey-library.svg">
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://github.com/surveyjs/survey-library/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+">
|
|
14
|
+
<img alt="Closed issues" title="Closed Issues" src="https://img.shields.io/github/issues-closed/surveyjs/survey-library.svg">
|
|
15
|
+
</a>
|
|
16
|
+
|
|
17
|
+
## Documentation
|
|
18
|
+
|
|
19
|
+
[SurveyJS Library Documentation](https://surveyjs.io/Documentation/Library)
|
|
20
|
+
|
|
21
|
+
## Live Examples
|
|
22
|
+
|
|
23
|
+
[SurveyJS Library Live Examples](https://surveyjs.io/Examples/Library)
|
|
24
|
+
|
|
25
|
+
## Survey Creator / Form Builder
|
|
26
|
+
|
|
27
|
+
[Create your Survey or Form now](https://surveyjs.io/create-survey)
|
|
28
|
+
|
|
29
|
+
Survey Creator sources are [here](https://github.com/surveyjs/survey-creator)
|
|
30
|
+
|
|
31
|
+
## Export Survey to PDF
|
|
32
|
+
|
|
33
|
+
[Export to PDF overview](https://surveyjs.io/Overview/Survey-Pdf-Export)
|
|
34
|
+
|
|
35
|
+
Export to PDF sources are [here](https://github.com/surveyjs/survey-pdf)
|
|
36
|
+
|
|
37
|
+
## More info about SurveyJS
|
|
38
|
+
|
|
39
|
+
**SurveyJS** is the most feature-rich Survey / Form Library available at the current moment. It can be easily customized and extended to suit your needs.
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
## Main Features
|
|
44
|
+
|
|
45
|
+
### A lot of question types with a lot of built-in functionalities.
|
|
46
|
+
|
|
47
|
+
* [Text Question](https://surveyjs.io/Examples/Library/?id=questiontype-text)
|
|
48
|
+
* [Radigroup Question](https://surveyjs.io/Examples/Library/?id=questiontype-radiogroup)
|
|
49
|
+
* [Dropdown Question](https://surveyjs.io/Examples/Library/?id=questiontype-dropdown)
|
|
50
|
+
* [Checkboxes Question](https://surveyjs.io/Examples/Library/?id=questiontype-checkbox)
|
|
51
|
+
* [Boolean Question](https://surveyjs.io/Examples/Library/?id=questiontype-boolean)
|
|
52
|
+
* [Matrix Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrix)
|
|
53
|
+
* [Matrix Rubric Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrix-rubric)
|
|
54
|
+
* [Matrix Dropdown Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrixdropdown)
|
|
55
|
+
* [Matrix Dynamic Question](https://surveyjs.io/Examples/Library/?id=questiontype-matrixdynamic)
|
|
56
|
+
* [Multiple Text Question](https://surveyjs.io/Examples/Library/?id=questiontype-multipletext)
|
|
57
|
+
* [Rating Question](https://surveyjs.io/Examples/Library/?id=questiontype-rating)
|
|
58
|
+
* [Ranking Question](https://surveyjs.io/Examples/Library?id=questiontype-ranking)
|
|
59
|
+
* [Comment Question](https://surveyjs.io/Examples/Library/?id=questiontype-comment)
|
|
60
|
+
* [Html Question](https://surveyjs.io/Examples/Library/?id=questiontype-html)
|
|
61
|
+
* [Files uploading Question](https://surveyjs.io/Examples/Library/?id=questiontype-file)
|
|
62
|
+
* [Panel Container](https://surveyjs.io/Examples/Library/?id=questiontype-panel)
|
|
63
|
+
* [Panel Dynamic Question](https://surveyjs.io/Examples/Library/?id=questiontype-paneldynamic)
|
|
64
|
+
* [Expression Question](https://surveyjs.io/Examples/Library/?id=questiontype-expression)
|
|
65
|
+
* [Image Picker Question](https://surveyjs.io/Examples/Library/?id=questiontype-imagepicker)
|
|
66
|
+
* [Support for third-party popular UI widgets](https://surveyjs.io/Examples/Library/?id=custom-widget-select2). The custom widgets [GitHub repo](https://github.com/surveyjs/widgets)
|
|
67
|
+
|
|
68
|
+
### Multiple Pages Support
|
|
69
|
+
|
|
70
|
+
You may create a very complex forms with a lot of pages, like [this one](https://surveyjs.io/Examples/Library/?id=real-patient-history).
|
|
71
|
+
|
|
72
|
+
### Dynamically change survey logic and questions content
|
|
73
|
+
|
|
74
|
+
* [Change questions visibility using logical expressions](https://surveyjs.io/Examples/Library/?id=condition-kids)
|
|
75
|
+
* [Create custom functions to use it in expression](https://surveyjs.io/Examples/Library/?id=condition-customfunctions)
|
|
76
|
+
* [Filter choices in checkbox, radiogroup and dropdown questions](https://surveyjs.io/Examples/Library/?id=condition-choicesVisibleIf)
|
|
77
|
+
* [Filter rows and columns in matrix question](https://surveyjs.io/Examples/Library/?id=condition-matrixVisibleIf)
|
|
78
|
+
* [Disabled/enabled questions based on logical expressions](https://surveyjs.io/Examples/Library/?id=condition-enable-kids)
|
|
79
|
+
* [Questions value validation](https://surveyjs.io/Examples/Library/?id=validators-standard)
|
|
80
|
+
|
|
81
|
+
### Localization and Multiple language support
|
|
82
|
+
|
|
83
|
+
* [Localization for over 20 languages](https://surveyjs.io/Examples/Library/?id=survey-localization&platform)
|
|
84
|
+
* [Multiple language support in one survey](https://surveyjs.io/Examples/Library/?id=survey-multilanguages)
|
|
85
|
+
|
|
86
|
+
### Appearance and custom Rendering
|
|
87
|
+
|
|
88
|
+
* [Seven built-in Themes](https://surveyjs.io/Examples/Library/?id=darkblue-theme)
|
|
89
|
+
* [Bootstrap support](https://surveyjs.io/Examples/Library/?id=bootstrap-theme)
|
|
90
|
+
* [CSS styles customization](https://surveyjs.io/Examples/Library/?id=survey-cssclasses)
|
|
91
|
+
* [API for adding new or changing existing HTML elements](https://surveyjs.io/Examples/Library/?id=survey-afterrender)
|
|
92
|
+
* [Render Questions in one line](https://surveyjs.io/Examples/Library/?id=survey-startwithnewline)
|
|
93
|
+
* [Markdown support](https://surveyjs.io/Examples/Library/?id=survey-markdown-radiogroup)
|
|
94
|
+
|
|
95
|
+
### Frequently used functionalities
|
|
96
|
+
|
|
97
|
+
* [Quiz creation](https://surveyjs.io/Examples/Library/?id=survey-quiz)
|
|
98
|
+
* [Show survey or form in the popup window](https://surveyjs.io/Examples/Library/?id=survey-window)
|
|
99
|
+
* [Display mode](https://surveyjs.io/Examples/Library/?id=survey-displaymode)
|
|
100
|
+
* [Custom navigation](https://surveyjs.io/Examples/Library/?id=survey-customnavigation)
|
|
101
|
+
* [Sharing same data between questions](https://surveyjs.io/Examples/Library/?id=survey-shareddata)
|
|
102
|
+
|
|
103
|
+
### To find out more about the library
|
|
104
|
+
|
|
105
|
+
* go to the [SurveyJS Library Site](https://surveyjs.io/Library)
|
|
106
|
+
* explore the live [Examples](https://www.surveyjs.io/Examples/Library)
|
|
107
|
+
* and create a survey or form using [Survey Creator](https://surveyjs.io/survey/Builder/)
|
|
108
|
+
|
|
109
|
+
#### You can use our quickstart repos:
|
|
110
|
+
|
|
111
|
+
* [Angular CLI](https://github.com/surveyjs/surveyjs_angular_cli)
|
|
112
|
+
* [React](https://github.com/surveyjs/surveyjs_react_quickstart)
|
|
113
|
+
* [Vue](https://github.com/surveyjs/surveyjs_vue_quickstart)
|
|
114
|
+
|
|
115
|
+
## Getting started
|
|
116
|
+
|
|
117
|
+
Install the library using npm.
|
|
118
|
+
|
|
119
|
+
Angular version:
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
npm install survey-angular
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
jQuery version:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
npm install survey-jquery
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Knockout version:
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
npm install survey-knockout
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
React version:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
npm install survey-react
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Vue version:
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
npm install survey-vue
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Or use unpkg CDN:
|
|
150
|
+
|
|
151
|
+
* https://unpkg.com/survey-angular@{version-number}/survey.angular.min.js
|
|
152
|
+
* https://unpkg.com/survey-knockout@{version-number}/survey.ko.min.js
|
|
153
|
+
* https://unpkg.com/survey-react@{version-number}/survey.react.min.js
|
|
154
|
+
* https://unpkg.com/survey-jquery@{version-number}/survey.jquery.min.js
|
|
155
|
+
* https://unpkg.com/survey-vue@{version-number}/survey.vue.min.js
|
|
156
|
+
|
|
157
|
+
You find all versions/builds in the [surveyjs/build repo](https://github.com/surveyjs/builds).
|
|
158
|
+
|
|
159
|
+
Or dowload a version as zip file from [Releases](https://github.com/surveyjs/survey-library/releases)
|
|
160
|
+
|
|
161
|
+
If you want to import it in another script:
|
|
162
|
+
|
|
163
|
+
```javascript
|
|
164
|
+
import * as Survey from "survey-jquery";
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Building survey.js from sources
|
|
168
|
+
|
|
169
|
+
To build library yourself:
|
|
170
|
+
|
|
171
|
+
1. **Clone the repo from GitHub**
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
git clone https://github.com/surveyjs/survey-library.git
|
|
175
|
+
cd survey-library
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
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. This is only needed to _build_ surveyjs from sources.
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
npm install -g karma-cli
|
|
182
|
+
npm install
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
3. **Build the library**
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
npm run build_prod
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
After that you should have the libraries (angular, jquery, knockout, react and vue) at 'packages' directory.
|
|
192
|
+
|
|
193
|
+
4. **Run samples**
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
npm start
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
This command will run local http server at the http://localhost:7777
|
|
200
|
+
You can open http://localhost:7777/examples/knockout to view KnockoutJS samples, http://localhost:7777/examples/react to view ReactJS samples and so on
|
|
201
|
+
|
|
202
|
+
5. **Run unit tests**
|
|
203
|
+
```
|
|
204
|
+
karma start
|
|
205
|
+
```
|
|
206
|
+
This command will run unit tests using [Karma](https://karma-runner.github.io/0.13/index.html)
|
|
207
|
+
|
|
208
|
+
### WordPress integration
|
|
209
|
+
|
|
210
|
+
[SurveyJS WordPress plugin](https://wordpress.org/plugins/surveyjs/)
|
|
211
|
+
|
|
212
|
+
## License
|
|
213
|
+
|
|
214
|
+
[MIT license](https://github.com/surveyjs/survey-library/blob/master/LICENSE)
|
package/angular-ui.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./survey.component";
|
|
2
|
+
export * from "./page.component";
|
|
3
|
+
export * from "./question.component";
|
|
4
|
+
export * from "./string-viewer.component";
|
|
5
|
+
export * from "./components/popup/popup.service";
|
|
6
|
+
export * from "./components/popup/popup.component";
|
|
7
|
+
export * from "./components/popup/popup-container.component";
|
|
8
|
+
export * from "./components/skeleton.component";
|
|
9
|
+
export * from "./components/dropdown/dropdown.component";
|
|
10
|
+
export * from "./components/tagbox/tagbox.component";
|
|
11
|
+
export * from "./components/tagbox/tagbox-item.component";
|
|
12
|
+
export * from "./questions/text.component";
|
|
13
|
+
export * from "./questions/html.component";
|
|
14
|
+
export * from "./questions/radiogroup.component";
|
|
15
|
+
export * from "./questions/radiogroup-item.component";
|
|
16
|
+
export * from "./questions/checkbox.component";
|
|
17
|
+
export * from "./questions/checkbox-item.component";
|
|
18
|
+
export * from "./questions/dropdown.component";
|
|
19
|
+
export * from "./angular-ui.module";
|
|
20
|
+
export * from "./component-factory";
|
|
21
|
+
export * from "./components/action-bar/action-bar.component";
|
|
22
|
+
export * from "./components/action-bar/action.component";
|
|
23
|
+
export * from "./components/action-bar/action-bar-item.component";
|
|
24
|
+
export * from "./components/action-bar/action-bar-item-dropdown.component";
|
|
25
|
+
export * from "./components/list/list-item.component";
|
|
26
|
+
export * from "./components/list/list.component";
|
|
27
|
+
export * from "./components/svg-icon/svg-icon.component";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./utils/ng-show.directive";
|
|
3
|
+
import * as i2 from "./utils/ng-key2click.directive";
|
|
4
|
+
import * as i3 from "./components/paneldynamic-actions/paneldynamic-add-btn.component";
|
|
5
|
+
import * as i4 from "./components/paneldynamic-actions/paneldynamic-next-btn.component";
|
|
6
|
+
import * as i5 from "./components/paneldynamic-actions/paneldynamic-prev-btn.component";
|
|
7
|
+
import * as i6 from "./components/paneldynamic-actions/paneldynamic-progress-text.component";
|
|
8
|
+
import * as i7 from "./element.component";
|
|
9
|
+
import * as i8 from "./survey.component";
|
|
10
|
+
import * as i9 from "./page.component";
|
|
11
|
+
import * as i10 from "./panel.component";
|
|
12
|
+
import * as i11 from "./question.component";
|
|
13
|
+
import * as i12 from "./string-viewer.component";
|
|
14
|
+
import * as i13 from "./survey-string.component";
|
|
15
|
+
import * as i14 from "./string-editor.component";
|
|
16
|
+
import * as i15 from "./components/skeleton.component";
|
|
17
|
+
import * as i16 from "./questions/text.component";
|
|
18
|
+
import * as i17 from "./questions/radiogroup.component";
|
|
19
|
+
import * as i18 from "./questions/radiogroup-item.component";
|
|
20
|
+
import * as i19 from "./questions/checkbox.component";
|
|
21
|
+
import * as i20 from "./questions/checkbox-item.component";
|
|
22
|
+
import * as i21 from "./components/dropdown/dropdown.component";
|
|
23
|
+
import * as i22 from "./questions/dropdown.component";
|
|
24
|
+
import * as i23 from "./components/renderAs/dropdown-select/dropdown-select.component";
|
|
25
|
+
import * as i24 from "./components/renderAs/dropdown-select/dropdown-option-item.component";
|
|
26
|
+
import * as i25 from "./components/popup/popup.component";
|
|
27
|
+
import * as i26 from "./components/popup/popup-container.component";
|
|
28
|
+
import * as i27 from "./components/list/list.component";
|
|
29
|
+
import * as i28 from "./components/list/list-item.component";
|
|
30
|
+
import * as i29 from "./components/tagbox/tagbox.component";
|
|
31
|
+
import * as i30 from "./questions/tagbox.component";
|
|
32
|
+
import * as i31 from "./components/tagbox/tagbox-item.component";
|
|
33
|
+
import * as i32 from "./components/action-bar/action-bar.component";
|
|
34
|
+
import * as i33 from "./components/action-bar/action.component";
|
|
35
|
+
import * as i34 from "./components/action-bar/action-bar-item.component";
|
|
36
|
+
import * as i35 from "./components/action-bar/action-bar-item-dropdown.component";
|
|
37
|
+
import * as i36 from "./questions/html.component";
|
|
38
|
+
import * as i37 from "./questions/selectbase-item";
|
|
39
|
+
import * as i38 from "./questions/selectbase.component";
|
|
40
|
+
import * as i39 from "./comment.component";
|
|
41
|
+
import * as i40 from "./components/element-header/element-header.component";
|
|
42
|
+
import * as i41 from "./components/element-title/element-title.component";
|
|
43
|
+
import * as i42 from "./components/element-title/dynamic-head.component";
|
|
44
|
+
import * as i43 from "./row.component";
|
|
45
|
+
import * as i44 from "./questions/rating.component";
|
|
46
|
+
import * as i45 from "./components/renderAs/rating-dropdown/rating-dropdown.component";
|
|
47
|
+
import * as i46 from "./questions/boolean.component";
|
|
48
|
+
import * as i47 from "./components/renderAs/boolean-checkbox/boolean-checkbox.component";
|
|
49
|
+
import * as i48 from "./components/renderAs/boolean-radio/boolean-radio.component";
|
|
50
|
+
import * as i49 from "./components/renderAs/boolean-radio/boolean-radio-item.component";
|
|
51
|
+
import * as i50 from "./questions/imagepicker-item.component";
|
|
52
|
+
import * as i51 from "./questions/imagepicker.component";
|
|
53
|
+
import * as i52 from "./questions/image.component";
|
|
54
|
+
import * as i53 from "./components/survey-header/survey-header.component";
|
|
55
|
+
import * as i54 from "./components/progress/default/progress.component";
|
|
56
|
+
import * as i55 from "./components/progress/buttons/progress.component";
|
|
57
|
+
import * as i56 from "./components/survey-actions/survey-nav-btn.component";
|
|
58
|
+
import * as i57 from "./questions/matrix.component";
|
|
59
|
+
import * as i58 from "./components/svg-icon/svg-icon.component";
|
|
60
|
+
import * as i59 from "./questions/file.component";
|
|
61
|
+
import * as i60 from "./utils/safe-url.pipe";
|
|
62
|
+
import * as i61 from "./utils/safe-html.pipe";
|
|
63
|
+
import * as i62 from "./questions/comment.component";
|
|
64
|
+
import * as i63 from "./questions/signature.component";
|
|
65
|
+
import * as i64 from "./errors.component";
|
|
66
|
+
import * as i65 from "./questions/multipletext.component";
|
|
67
|
+
import * as i66 from "./questions/multipletextitem.component";
|
|
68
|
+
import * as i67 from "./utils/dynamic.directive";
|
|
69
|
+
import * as i68 from "./questions/ranking.component";
|
|
70
|
+
import * as i69 from "./questions/ranking-item.component";
|
|
71
|
+
import * as i70 from "./questions/paneldynamic.component";
|
|
72
|
+
import * as i71 from "./embedded-view-content.component";
|
|
73
|
+
import * as i72 from "./questions/customwidget.component";
|
|
74
|
+
import * as i73 from "./questions/matrixcell.component";
|
|
75
|
+
import * as i74 from "./questions/matrixtable.component";
|
|
76
|
+
import * as i75 from "./questions/matrixdropdown.component";
|
|
77
|
+
import * as i76 from "./questions/matrixdynamic.component";
|
|
78
|
+
import * as i77 from "./components/matrix-actions/detail-button/detail-button.component";
|
|
79
|
+
import * as i78 from "./components/matrix-actions/remove-button/remove-button.component";
|
|
80
|
+
import * as i79 from "./components/matrix-actions/drag-drop-icon/drag-drop-icon";
|
|
81
|
+
import * as i80 from "./questions/matrixrequiredheader.component";
|
|
82
|
+
import * as i81 from "./questions/expression.component";
|
|
83
|
+
import * as i82 from "./components/brand-info/brand-info.component";
|
|
84
|
+
import * as i83 from "./questions/custom.component";
|
|
85
|
+
import * as i84 from "./questions/composite.component";
|
|
86
|
+
import * as i85 from "@angular/common";
|
|
87
|
+
import * as i86 from "@angular/forms";
|
|
88
|
+
export declare class SurveyAngularModule {
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyAngularModule, never>;
|
|
90
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyAngularModule, [typeof i1.VisibleDirective, typeof i2.Key2ClickDirective, typeof i3.PanelDynamicAddBtn, typeof i4.PanelDynamicNextBtn, typeof i5.PanelDynamicPrevBtn, typeof i6.PanelDynamicProgressText, typeof i7.ElementComponent, typeof i8.SurveyComponent, typeof i9.PageComponent, typeof i10.PanelComponent, typeof i11.QuestionComponent, typeof i12.StringViewerComponent, typeof i13.SurveyStringComponent, typeof i14.StringEditorComponent, typeof i15.QuestionSkeletonComponent, typeof i16.TextQuestionComponent, typeof i17.RadiogroupComponent, typeof i18.RadiogroupItemComponent, typeof i19.CheckboxComponent, typeof i20.CheckboxItemComponent, typeof i21.DropdownComponent, typeof i22.DropdownQuestionComponent, typeof i23.DropdownSelectComponent, typeof i24.DropdownOptionItemComponent, typeof i25.PopupComponent, typeof i26.PopupContainerComponent, typeof i27.ListComponent, typeof i28.ListItemComponent, typeof i29.TagboxComponent, typeof i30.TagboxQuestionComponent, typeof i31.TagboxItemComponent, typeof i32.ActionBarComponent, typeof i33.ActionComponent, typeof i34.ActionBarItemComponent, typeof i35.ActionBarItemDropdownComponent, typeof i36.HtmlQuestionComponent, typeof i37.SelectBaseItemComponent, typeof i38.SelectBaseComponent, typeof i39.SurveyCommentComponent, typeof i40.ElementHeaderComponent, typeof i41.ElementTitleComponent, typeof i42.DynamicHeadComponent, typeof i43.RowComponent, typeof i44.RatingQuestionComponent, typeof i45.RatingDropdownComponent, typeof i46.BooleanQuestionComponent, typeof i47.BooleanCheckboxComponent, typeof i48.BooleanRadioComponent, typeof i49.BooleanRadioItemComponent, typeof i50.ImagePickerItemComponent, typeof i51.ImagePickerQuestionComponent, typeof i52.ImageQuestionComponent, typeof i53.SurveyHeaderComponent, typeof i54.ProgressDefaultComponent, typeof i55.ProgressButtonsComponent, typeof i56.SurveyNavigationButton, typeof i57.MatrixQuestionComponent, typeof i58.SvgIconComponent, typeof i59.FileQuestionComponent, typeof i60.SafeUrlPipe, typeof i61.SafeHtmlPipe, typeof i62.CommentQuestionComponent, typeof i63.SignaturePadQuestionComponent, typeof i64.ErrorsComponent, typeof i65.MultipleTextComponent, typeof i66.MultipleTextItemComponent, typeof i67.DynamicComponentDirective, typeof i68.RankingQuestionComponent, typeof i69.RankingItemComponent, typeof i70.PanelDynamicQuestionComponent, typeof i71.EmbeddedViewContentComponent, typeof i72.CustomWidgetComponent, typeof i73.MatrixCellComponent, typeof i74.MatrixTableComponent, typeof i75.MatrixDropdownComponent, typeof i76.MatrixDynamicComponent, typeof i77.MatrixDetailButtonComponent, typeof i78.MatrixDynamicRemoveButtonComponent, typeof i79.MatrixDynamicDragDropIconComponent, typeof i80.MatrixRequiredHeader, typeof i81.ExpressionComponent, typeof i60.SafeResourceUrlPipe, typeof i82.BrandInfoComponent, typeof i83.CustomQuestionComponent, typeof i84.CompositeQuestionComponent], [typeof i85.CommonModule, typeof i86.FormsModule], [typeof i8.SurveyComponent, typeof i58.SvgIconComponent]>;
|
|
91
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SurveyAngularModule>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectorRef, DoCheck, OnDestroy, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { Base } from "survey-core";
|
|
3
|
+
import { EmbeddedViewContentComponent } from "./embedded-view-content.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class BaseAngular<T extends Base = Base> extends EmbeddedViewContentComponent implements DoCheck, OnDestroy {
|
|
6
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
|
+
constructor(changeDetectorRef: ChangeDetectorRef, viewContainerRef?: ViewContainerRef);
|
|
8
|
+
protected abstract getModel(): T;
|
|
9
|
+
protected previousModel?: T;
|
|
10
|
+
private isModelSubsribed;
|
|
11
|
+
ngDoCheck(): void;
|
|
12
|
+
protected onModelChanged(): void;
|
|
13
|
+
private setIsRendering;
|
|
14
|
+
private getIsRendering;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
private makeBaseElementAngular;
|
|
17
|
+
private unMakeBaseElementAngular;
|
|
18
|
+
private update;
|
|
19
|
+
protected detectChanges(): void;
|
|
20
|
+
protected beforeUpdate(): void;
|
|
21
|
+
protected afterUpdate(): void;
|
|
22
|
+
ngAfterViewChecked(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseAngular<any>, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseAngular<any>, "ng-component", never, {}, {}, never, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Question } from "survey-core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SurveyCommentComponent {
|
|
4
|
+
question: Question;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCommentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SurveyCommentComponent, "sv-ng-comment, '[sv-ng-comment]'", never, { "question": "question"; }, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component, ComponentRef, Type, ViewContainerRef } from "@angular/core";
|
|
2
|
+
export declare class AngularComponentFactory {
|
|
3
|
+
static Instance: AngularComponentFactory;
|
|
4
|
+
private creatorHash;
|
|
5
|
+
registerComponent(typeName: string, componentType: Type<any>): void;
|
|
6
|
+
getAllTypes(): Array<string>;
|
|
7
|
+
isComponentRegistered(elementType: string): boolean;
|
|
8
|
+
create(containerRef: ViewContainerRef, elementType: string, params?: any): ComponentRef<Component>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ActionDropdownViewModel } from "survey-core";
|
|
2
|
+
import { BaseAngular } from "../../base-angular";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionBarItemDropdownComponent extends BaseAngular {
|
|
5
|
+
model: any;
|
|
6
|
+
protected viewModel: ActionDropdownViewModel;
|
|
7
|
+
protected getModel(): any;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionBarItemDropdownComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionBarItemDropdownComponent, "sv-action-bar-item-dropdown", never, { "model": "model"; }, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseAngular } from "../../base-angular";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ActionBarItemComponent extends BaseAngular {
|
|
4
|
+
model: any;
|
|
5
|
+
getModel(): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionBarItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionBarItemComponent, "sv-action-bar-item", never, { "model": "model"; }, {}, never, never>;
|
|
8
|
+
}
|