survey-core 1.9.121 → 1.9.123
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 +4 -0
- package/defaultV2.css +126 -26
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +126 -26
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +1 -8
- package/modern.css.map +1 -1
- package/modern.fontless.css +1 -8
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +382 -233
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +2 -1
- package/themes/borderless-dark-panelless.js.map +1 -1
- package/themes/borderless-dark-panelless.min.js +2 -2
- package/themes/borderless-dark.js +2 -1
- package/themes/borderless-dark.js.map +1 -1
- package/themes/borderless-dark.min.js +2 -2
- package/themes/borderless-light-panelless..js +2 -1
- package/themes/borderless-light-panelless..js.map +1 -1
- package/themes/borderless-light-panelless..min.js +2 -2
- package/themes/borderless-light.js +2 -1
- package/themes/borderless-light.js.map +1 -1
- package/themes/borderless-light.min.js +2 -2
- package/themes/contrast-dark-panelless.js +2 -1
- package/themes/contrast-dark-panelless.js.map +1 -1
- package/themes/contrast-dark-panelless.min.js +2 -2
- package/themes/contrast-dark.js +2 -1
- package/themes/contrast-dark.js.map +1 -1
- package/themes/contrast-dark.min.js +2 -2
- package/themes/contrast-light-panelless.js +2 -1
- package/themes/contrast-light-panelless.js.map +1 -1
- package/themes/contrast-light-panelless.min.js +2 -2
- package/themes/contrast-light.js +2 -1
- package/themes/contrast-light.js.map +1 -1
- package/themes/contrast-light.min.js +2 -2
- package/themes/default-dark-panelless.js +2 -1
- package/themes/default-dark-panelless.js.map +1 -1
- package/themes/default-dark-panelless.min.js +2 -2
- package/themes/default-dark.js +2 -1
- package/themes/default-dark.js.map +1 -1
- package/themes/default-dark.min.js +2 -2
- package/themes/default-light-panelless.js +2 -1
- package/themes/default-light-panelless.js.map +1 -1
- package/themes/default-light-panelless.min.js +2 -2
- package/themes/default-light.js +2 -1
- package/themes/default-light.js.map +1 -1
- package/themes/default-light.min.js +2 -2
- package/themes/doubleborder-dark-panelless.js +2 -1
- package/themes/doubleborder-dark-panelless.js.map +1 -1
- package/themes/doubleborder-dark-panelless.min.js +2 -2
- package/themes/doubleborder-dark.js +2 -1
- package/themes/doubleborder-dark.js.map +1 -1
- package/themes/doubleborder-dark.min.js +2 -2
- package/themes/doubleborder-light-panelles.js +2 -1
- package/themes/doubleborder-light-panelles.js.map +1 -1
- package/themes/doubleborder-light-panelles.min.js +2 -2
- package/themes/doubleborder-light.js +2 -1
- package/themes/doubleborder-light.js.map +1 -1
- package/themes/doubleborder-light.min.js +2 -2
- package/themes/flat-dark-panelless.js +2 -1
- package/themes/flat-dark-panelless.js.map +1 -1
- package/themes/flat-dark-panelless.min.js +2 -2
- package/themes/flat-dark.js +2 -1
- package/themes/flat-dark.js.map +1 -1
- package/themes/flat-dark.min.js +2 -2
- package/themes/flat-light-panelless.js +2 -1
- package/themes/flat-light-panelless.js.map +1 -1
- package/themes/flat-light-panelless.min.js +2 -2
- package/themes/flat-light.js +2 -1
- package/themes/flat-light.js.map +1 -1
- package/themes/flat-light.min.js +2 -2
- package/themes/index.js +41 -1
- package/themes/index.js.map +1 -1
- package/themes/index.min.js +2 -2
- package/themes/layered-dark-panelless.js +2 -1
- package/themes/layered-dark-panelless.js.map +1 -1
- package/themes/layered-dark-panelless.min.js +2 -2
- package/themes/layered-dark.js +2 -1
- package/themes/layered-dark.js.map +1 -1
- package/themes/layered-dark.min.js +2 -2
- package/themes/layered-light-panelless.js +2 -1
- package/themes/layered-light-panelless.js.map +1 -1
- package/themes/layered-light-panelless.min.js +2 -2
- package/themes/layered-light.js +2 -1
- package/themes/layered-light.js.map +1 -1
- package/themes/layered-light.min.js +2 -2
- package/themes/plain-dark-panelless.js +2 -1
- package/themes/plain-dark-panelless.js.map +1 -1
- package/themes/plain-dark-panelless.min.js +2 -2
- package/themes/plain-dark.js +2 -1
- package/themes/plain-dark.js.map +1 -1
- package/themes/plain-dark.min.js +2 -2
- package/themes/plain-light-panelless.js +2 -1
- package/themes/plain-light-panelless.js.map +1 -1
- package/themes/plain-light-panelless.min.js +2 -2
- package/themes/plain-light.js +2 -1
- package/themes/plain-light.js.map +1 -1
- package/themes/plain-light.min.js +2 -2
- package/themes/sharp-dark-panelless.js +2 -1
- package/themes/sharp-dark-panelless.js.map +1 -1
- package/themes/sharp-dark-panelless.min.js +2 -2
- package/themes/sharp-dark.js +2 -1
- package/themes/sharp-dark.js.map +1 -1
- package/themes/sharp-dark.min.js +2 -2
- package/themes/sharp-light-panelless.js +2 -1
- package/themes/sharp-light-panelless.js.map +1 -1
- package/themes/sharp-light-panelless.min.js +2 -2
- package/themes/sharp-light.js +2 -1
- package/themes/sharp-light.js.map +1 -1
- package/themes/sharp-light.min.js +2 -2
- package/themes/solid-dark-panelless.js +2 -1
- package/themes/solid-dark-panelless.js.map +1 -1
- package/themes/solid-dark-panelless.min.js +2 -2
- package/themes/solid-dark.js +2 -1
- package/themes/solid-dark.js.map +1 -1
- package/themes/solid-dark.min.js +2 -2
- package/themes/solid-light-panelless.js +2 -1
- package/themes/solid-light-panelless.js.map +1 -1
- package/themes/solid-light-panelless.min.js +2 -2
- package/themes/solid-light.js +2 -1
- package/themes/solid-light.js.map +1 -1
- package/themes/solid-light.min.js +2 -2
- package/themes/three-dimensional-dark-panelless.js +2 -1
- package/themes/three-dimensional-dark-panelless.js.map +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +2 -2
- package/themes/three-dimensional-dark.js +2 -1
- package/themes/three-dimensional-dark.js.map +1 -1
- package/themes/three-dimensional-dark.min.js +2 -2
- package/themes/three-dimensional-light-panelless.js +2 -1
- package/themes/three-dimensional-light-panelless.js.map +1 -1
- package/themes/three-dimensional-light-panelless.min.js +2 -2
- package/themes/three-dimensional-light.js +2 -1
- package/themes/three-dimensional-light.js.map +1 -1
- package/themes/three-dimensional-light.min.js +2 -2
- package/themes/typings/borderless-dark-panelless.d.ts +2 -0
- package/themes/typings/borderless-dark.d.ts +2 -0
- package/themes/typings/borderless-light-panelless.d.ts +2 -0
- package/themes/typings/borderless-light.d.ts +2 -0
- package/themes/typings/contrast-dark-panelless.d.ts +2 -0
- package/themes/typings/contrast-dark.d.ts +2 -0
- package/themes/typings/contrast-light-panelless.d.ts +2 -0
- package/themes/typings/contrast-light.d.ts +2 -0
- package/themes/typings/default-dark-panelless.d.ts +2 -0
- package/themes/typings/default-dark.d.ts +2 -0
- package/themes/typings/default-light-panelless.d.ts +2 -0
- package/themes/typings/default-light.d.ts +2 -0
- package/themes/typings/doubleborder-dark-panelless.d.ts +2 -0
- package/themes/typings/doubleborder-dark.d.ts +2 -0
- package/themes/typings/doubleborder-light-panelless.d.ts +2 -0
- package/themes/typings/doubleborder-light.d.ts +2 -0
- package/themes/typings/flat-dark-panelless.d.ts +2 -0
- package/themes/typings/flat-dark.d.ts +2 -0
- package/themes/typings/flat-light-panelless.d.ts +2 -0
- package/themes/typings/flat-light.d.ts +2 -0
- package/themes/typings/index.d.ts +40 -0
- package/themes/typings/layered-dark-panelless.d.ts +2 -0
- package/themes/typings/layered-dark.d.ts +2 -0
- package/themes/typings/layered-light-panelless.d.ts +2 -0
- package/themes/typings/layered-light.d.ts +2 -0
- package/themes/typings/plain-dark-panelless.d.ts +2 -0
- package/themes/typings/plain-dark.d.ts +2 -0
- package/themes/typings/plain-light-panelless.d.ts +2 -0
- package/themes/typings/plain-light.d.ts +2 -0
- package/themes/typings/sharp-dark-panelless.d.ts +2 -0
- package/themes/typings/sharp-dark.d.ts +2 -0
- package/themes/typings/sharp-light-panelless.d.ts +2 -0
- package/themes/typings/sharp-light.d.ts +2 -0
- package/themes/typings/solid-dark-panelless.d.ts +2 -0
- package/themes/typings/solid-dark.d.ts +2 -0
- package/themes/typings/solid-light-panelless.d.ts +2 -0
- package/themes/typings/solid-light.d.ts +2 -0
- package/themes/typings/threedimensional-dark-panelless.d.ts +2 -0
- package/themes/typings/threedimensional-dark.d.ts +2 -0
- package/themes/typings/threedimensional-light-panelless.d.ts +2 -0
- package/themes/typings/threedimensional-light.d.ts +2 -0
- package/ts3.4/themes/typings/borderless-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/borderless-dark.d.ts +2 -0
- package/ts3.4/themes/typings/borderless-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/borderless-light.d.ts +2 -0
- package/ts3.4/themes/typings/contrast-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/contrast-dark.d.ts +2 -0
- package/ts3.4/themes/typings/contrast-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/contrast-light.d.ts +2 -0
- package/ts3.4/themes/typings/default-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/default-dark.d.ts +2 -0
- package/ts3.4/themes/typings/default-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/default-light.d.ts +2 -0
- package/ts3.4/themes/typings/doubleborder-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/doubleborder-dark.d.ts +2 -0
- package/ts3.4/themes/typings/doubleborder-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/doubleborder-light.d.ts +2 -0
- package/ts3.4/themes/typings/flat-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/flat-dark.d.ts +2 -0
- package/ts3.4/themes/typings/flat-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/flat-light.d.ts +2 -0
- package/ts3.4/themes/typings/index.d.ts +40 -0
- package/ts3.4/themes/typings/layered-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/layered-dark.d.ts +2 -0
- package/ts3.4/themes/typings/layered-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/layered-light.d.ts +2 -0
- package/ts3.4/themes/typings/plain-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/plain-dark.d.ts +2 -0
- package/ts3.4/themes/typings/plain-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/plain-light.d.ts +2 -0
- package/ts3.4/themes/typings/sharp-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/sharp-dark.d.ts +2 -0
- package/ts3.4/themes/typings/sharp-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/sharp-light.d.ts +2 -0
- package/ts3.4/themes/typings/solid-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/solid-dark.d.ts +2 -0
- package/ts3.4/themes/typings/solid-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/solid-light.d.ts +2 -0
- package/ts3.4/themes/typings/threedimensional-dark-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/threedimensional-dark.d.ts +2 -0
- package/ts3.4/themes/typings/threedimensional-light-panelless.d.ts +2 -0
- package/ts3.4/themes/typings/threedimensional-light.d.ts +2 -0
- package/ts3.4/typings/base-interfaces.d.ts +4 -0
- package/ts3.4/typings/base.d.ts +8 -6
- package/ts3.4/typings/choicesRestful.d.ts +6 -1
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/ts3.4/typings/entries/chunks/model.d.ts +1 -1
- package/ts3.4/typings/header.d.ts +1 -0
- package/ts3.4/typings/itemvalue.d.ts +2 -2
- package/ts3.4/typings/jsonobject.d.ts +11 -3
- package/ts3.4/typings/localizablestring.d.ts +1 -0
- package/ts3.4/typings/question.d.ts +1 -0
- package/ts3.4/typings/question_baseselect.d.ts +5 -4
- package/ts3.4/typings/question_checkbox.d.ts +1 -0
- package/ts3.4/typings/question_custom.d.ts +2 -0
- package/ts3.4/typings/question_file.d.ts +3 -0
- package/ts3.4/typings/question_imagepicker.d.ts +1 -3
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +1 -1
- package/ts3.4/typings/question_multipletext.d.ts +1 -1
- package/ts3.4/typings/question_paneldynamic.d.ts +20 -4
- package/ts3.4/typings/question_rating.d.ts +18 -5
- package/ts3.4/typings/question_tagbox.d.ts +2 -1
- package/ts3.4/typings/settings.d.ts +15 -85
- package/ts3.4/typings/survey-events-api.d.ts +4 -2
- package/ts3.4/typings/survey.d.ts +17 -16
- package/typings/base-interfaces.d.ts +4 -0
- package/typings/base.d.ts +8 -6
- package/typings/choicesRestful.d.ts +10 -2
- package/typings/defaultCss/defaultV2Css.d.ts +3 -0
- package/typings/entries/chunks/model.d.ts +1 -1
- package/typings/header.d.ts +1 -0
- package/typings/itemvalue.d.ts +2 -2
- package/typings/jsonobject.d.ts +11 -3
- package/typings/localizablestring.d.ts +1 -0
- package/typings/question.d.ts +1 -0
- package/typings/question_baseselect.d.ts +5 -4
- package/typings/question_checkbox.d.ts +1 -0
- package/typings/question_custom.d.ts +2 -0
- package/typings/question_file.d.ts +3 -0
- package/typings/question_imagepicker.d.ts +1 -3
- package/typings/question_matrixdropdownbase.d.ts +1 -1
- package/typings/question_multipletext.d.ts +1 -1
- package/typings/question_paneldynamic.d.ts +21 -4
- package/typings/question_rating.d.ts +18 -5
- package/typings/question_tagbox.d.ts +3 -1
- package/typings/settings.d.ts +15 -85
- package/typings/survey-element.d.ts +2 -1
- package/typings/survey-events-api.d.ts +4 -2
- package/typings/survey.d.ts +17 -16
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const LayeredLightPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const LayeredLight: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const PlainDarkPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const PlainDark: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const PlainLightPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const PlainLight: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SharpDarkPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SharpDark: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SharpLightPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SharpLight: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SolidDarkPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SolidDark: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SolidLightPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const SolidLight: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const ThreeDimensionalDarkPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const ThreeDimensionalDark: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const ThreeDimensionalLightPanelless: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -28,6 +28,7 @@ declare const Theme: {
|
|
|
28
28
|
"--sjs-shadow-medium": string;
|
|
29
29
|
"--sjs-shadow-large": string;
|
|
30
30
|
"--sjs-shadow-inner": string;
|
|
31
|
+
"--sjs-shadow-inner-reset": string;
|
|
31
32
|
"--sjs-border-light": string;
|
|
32
33
|
"--sjs-border-default": string;
|
|
33
34
|
"--sjs-border-inside": string;
|
|
@@ -116,6 +117,7 @@ export declare const ThreeDimensionalLight: {
|
|
|
116
117
|
"--sjs-shadow-medium": string;
|
|
117
118
|
"--sjs-shadow-large": string;
|
|
118
119
|
"--sjs-shadow-inner": string;
|
|
120
|
+
"--sjs-shadow-inner-reset": string;
|
|
119
121
|
"--sjs-border-light": string;
|
|
120
122
|
"--sjs-border-default": string;
|
|
121
123
|
"--sjs-border-inside": string;
|
|
@@ -149,6 +149,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
149
149
|
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
|
150
150
|
dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
|
|
151
151
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
|
|
152
|
+
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
152
153
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
153
154
|
scrollElementToTop(element: ISurveyElement, question: IQuestion, page: IPage, id: string, scrollIfVisible?: boolean): any;
|
|
154
155
|
runExpression(expression: string): any;
|
|
@@ -303,3 +304,6 @@ export interface IPlainDataOptions {
|
|
|
303
304
|
propertyName: string;
|
|
304
305
|
}>;
|
|
305
306
|
}
|
|
307
|
+
export interface ILoadFromJSONOptions {
|
|
308
|
+
validatePropertyValues?: boolean;
|
|
309
|
+
}
|
package/ts3.4/typings/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
|
2
2
|
import { HashTable } from "./helpers";
|
|
3
3
|
import { JsonObjectProperty } from "./jsonobject";
|
|
4
4
|
import { ItemValue } from "./itemvalue";
|
|
5
|
-
import { IElement, IFindElement, IProgressInfo, ISurvey } from "./base-interfaces";
|
|
5
|
+
import { IElement, IFindElement, IProgressInfo, ISurvey, ILoadFromJSONOptions } from "./base-interfaces";
|
|
6
6
|
import { ExpressionRunner } from "./conditions";
|
|
7
7
|
export declare class Bindings {
|
|
8
8
|
private obj;
|
|
@@ -68,7 +68,7 @@ export declare class Base {
|
|
|
68
68
|
* Returns `true` if a passed `value` is an empty string, array, or object or if it equals to `undefined` or `null`.
|
|
69
69
|
*
|
|
70
70
|
* @param value A value to be checked.
|
|
71
|
-
* @param trimString (Optional) When this parameter is `true`, the method ignores whitespace characters at the beginning and end of a string value. Pass `false` to disable this functionality.
|
|
71
|
+
* @param trimString *(Optional)* When this parameter is `true`, the method ignores whitespace characters at the beginning and end of a string value. Pass `false` to disable this functionality.
|
|
72
72
|
*/
|
|
73
73
|
isValueEmpty(value: any, trimString?: boolean): boolean;
|
|
74
74
|
protected trimValue(value: any): any;
|
|
@@ -174,9 +174,11 @@ export declare class Base {
|
|
|
174
174
|
* The JSON object should contain only serializable properties of this SurveyJS object. Event handlers and properties that do not belong to the SurveyJS object are ignored.
|
|
175
175
|
*
|
|
176
176
|
* @param json A JSON object with properties that you want to apply to the current SurveyJS object.
|
|
177
|
+
* @param options An object with configuration options.
|
|
178
|
+
* @param {boolean} options.validatePropertyValues Pass `true` if you want to validate property values. Use the [`jsonErrors`](#jsonErrors) array to access validation errors.
|
|
177
179
|
* @see toJSON
|
|
178
180
|
*/
|
|
179
|
-
fromJSON(json: any): void;
|
|
181
|
+
fromJSON(json: any, options?: ILoadFromJSONOptions): void;
|
|
180
182
|
onSurveyLoad(): void;
|
|
181
183
|
/**
|
|
182
184
|
* Creates a new object that has the same type and properties as the current SurveyJS object.
|
|
@@ -200,7 +202,7 @@ export declare class Base {
|
|
|
200
202
|
* If the property is not found or does not have a value, this method returns either `undefined`, `defaultValue` specified in the property configuration, or a value passed as the `defaultValue` parameter.
|
|
201
203
|
*
|
|
202
204
|
* @param name A property name.
|
|
203
|
-
* @param defaultValue (Optional) A value to return if the property is not found or does not have a value.
|
|
205
|
+
* @param defaultValue *(Optional)* A value to return if the property is not found or does not have a value.
|
|
204
206
|
*/
|
|
205
207
|
getPropertyValue(name: string, defaultValue?: any): any;
|
|
206
208
|
getDefaultPropertyValue(name: string): any;
|
|
@@ -245,14 +247,14 @@ export declare class Base {
|
|
|
245
247
|
* Registers a function to call when a property value changes.
|
|
246
248
|
* @param propertyNames An array of one or multiple property names.
|
|
247
249
|
* @param handler A function to call when one of the listed properties change.
|
|
248
|
-
* @param key (Optional) A key that identifies the current registration. If a function for one of the properties is already registered with the same key, the function will be overwritten. You can also use the key to subsequently unregister handlers.
|
|
250
|
+
* @param key *(Optional)* A key that identifies the current registration. If a function for one of the properties is already registered with the same key, the function will be overwritten. You can also use the key to subsequently unregister handlers.
|
|
249
251
|
* @see unregisterPropertyChangedHandlers
|
|
250
252
|
*/
|
|
251
253
|
registerPropertyChangedHandlers(propertyNames: Array<string>, handler: any, key?: string): void;
|
|
252
254
|
/**
|
|
253
255
|
* Unregisters value change event handlers for the specified properties.
|
|
254
256
|
* @param propertyNames An array of one or multiple property names.
|
|
255
|
-
* @param key (Optional) A key of the registration that you want to cancel.
|
|
257
|
+
* @param key *(Optional)* A key of the registration that you want to cancel.
|
|
256
258
|
* @see registerPropertyChangedHandlers
|
|
257
259
|
*/
|
|
258
260
|
unregisterPropertyChangedHandlers(propertyNames: Array<string>, key?: string): void;
|
|
@@ -19,7 +19,7 @@ import { SurveyError } from "./survey-error";
|
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
|
-
* Typically, you should assign this object to a question's [`choicesByUrl`](https://surveyjs.io/Documentation/Library?id=QuestionSelectBase#choicesByUrl) property.
|
|
22
|
+
* Typically, you should assign this object to a question's [`choicesByUrl`](https://surveyjs.io/Documentation/Library?id=QuestionSelectBase#choicesByUrl) property. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
|
|
23
23
|
*/
|
|
24
24
|
export declare class ChoicesRestful extends Base {
|
|
25
25
|
private static cacheText;
|
|
@@ -125,6 +125,11 @@ export declare class ChoicesRestful extends Base {
|
|
|
125
125
|
* @see valueName
|
|
126
126
|
*/
|
|
127
127
|
imageLinkName: string;
|
|
128
|
+
/*
|
|
129
|
+
* Specifies whether the service is allowed to return an empty response or an empty array in a response.
|
|
130
|
+
*
|
|
131
|
+
* Default value: `false`
|
|
132
|
+
*/
|
|
128
133
|
allowEmptyResponse: boolean;
|
|
129
134
|
attachOriginalItems: boolean;
|
|
130
135
|
readonly itemValueType: string;
|
|
@@ -506,6 +506,9 @@ export declare var defaultV2Css: {
|
|
|
506
506
|
rootDropdown: string;
|
|
507
507
|
root: string;
|
|
508
508
|
rootWrappable: string;
|
|
509
|
+
rootLabelsTop: string;
|
|
510
|
+
rootLabelsBottom: string;
|
|
511
|
+
rootLabelsDiagonal: string;
|
|
509
512
|
item: string;
|
|
510
513
|
itemOnError: string;
|
|
511
514
|
itemHover: string;
|
|
@@ -9,7 +9,7 @@ export { Helpers, HashTable } from "../../helpers";
|
|
|
9
9
|
export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../validator";
|
|
10
10
|
export { ItemValue } from "../../itemvalue";
|
|
11
11
|
export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../base";
|
|
12
|
-
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText } from "../../base-interfaces";
|
|
12
|
+
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions } from "../../base-interfaces";
|
|
13
13
|
export { SurveyError } from "../../survey-error";
|
|
14
14
|
export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../survey-element";
|
|
15
15
|
export { CalculatedValue } from "../../calculatedValue";
|
|
@@ -76,4 +76,5 @@ export declare class Cover extends Base {
|
|
|
76
76
|
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
77
77
|
calculateActualHeight(logoHeight: number, titleHeight: number, descriptionHeight: number): number;
|
|
78
78
|
processResponsiveness(width: number): void;
|
|
79
|
+
readonly hasBackground: boolean;
|
|
79
80
|
}
|
|
@@ -54,9 +54,9 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
|
|
|
54
54
|
setData(value: any): void;
|
|
55
55
|
visibleIf: string;
|
|
56
56
|
enableIf: string;
|
|
57
|
-
readonly isVisible:
|
|
57
|
+
readonly isVisible: boolean;
|
|
58
58
|
setIsVisible(val: boolean): void;
|
|
59
|
-
readonly isEnabled:
|
|
59
|
+
readonly isEnabled: boolean;
|
|
60
60
|
setIsEnabled(val: boolean): void;
|
|
61
61
|
addUsedLocales(locales: Array<string>): void;
|
|
62
62
|
locStrsChanged(): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Base } from "./base";
|
|
2
|
+
import { ILoadFromJSONOptions } from "./base-interfaces";
|
|
2
3
|
export interface IPropertyDecoratorOptions<T = any> {
|
|
3
4
|
defaultValue?: T;
|
|
4
5
|
defaultSource?: string;
|
|
@@ -96,6 +97,7 @@ export declare class JsonObjectProperty implements IObject {
|
|
|
96
97
|
readonly hasToUseSetValue: string | ((obj: any, value: any, jsonConv: JsonObject) => any);
|
|
97
98
|
settingValue(obj: any, value: any): any;
|
|
98
99
|
setValue(obj: any, value: any, jsonConv: JsonObject): void;
|
|
100
|
+
validateValue(value: any): boolean;
|
|
99
101
|
getObjType(objType: string): string;
|
|
100
102
|
/*
|
|
101
103
|
* Depricated, please use getChoices
|
|
@@ -248,6 +250,11 @@ export declare class JsonRequiredArrayPropertyError extends JsonError {
|
|
|
248
250
|
className: string;
|
|
249
251
|
constructor(propertyName: string, className: string);
|
|
250
252
|
}
|
|
253
|
+
export declare class JsonIncorrectPropertyValueError extends JsonError {
|
|
254
|
+
property: JsonObjectProperty;
|
|
255
|
+
value: any;
|
|
256
|
+
constructor(property: JsonObjectProperty, value: any);
|
|
257
|
+
}
|
|
251
258
|
export declare class JsonObject {
|
|
252
259
|
private static typePropertyName;
|
|
253
260
|
private static positionPropertyName;
|
|
@@ -255,15 +262,16 @@ export declare class JsonObject {
|
|
|
255
262
|
static readonly metaData: JsonMetadata;
|
|
256
263
|
errors: JsonError[];
|
|
257
264
|
lightSerializing: boolean;
|
|
265
|
+
options: ILoadFromJSONOptions;
|
|
258
266
|
toJsonObject(obj: any, storeDefaults?: boolean): any;
|
|
259
|
-
toObject(jsonObj: any, obj: any): void;
|
|
260
|
-
toObjectCore(jsonObj: any, obj: any): void;
|
|
267
|
+
toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
|
|
268
|
+
toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
|
|
261
269
|
toJsonObjectCore(obj: any, property: JsonObjectProperty, storeDefaults?: boolean): any;
|
|
262
270
|
private getDynamicProperties;
|
|
263
271
|
private addDynamicProperties;
|
|
264
272
|
private propertiesToJson;
|
|
265
273
|
valueToJson(obj: any, result: any, property: JsonObjectProperty, storeDefaults?: boolean): void;
|
|
266
|
-
valueToObj(value: any, obj: any, property: JsonObjectProperty, jsonObj?: any): void;
|
|
274
|
+
valueToObj(value: any, obj: any, property: JsonObjectProperty, jsonObj?: any, options?: ILoadFromJSONOptions): void;
|
|
267
275
|
private removePos;
|
|
268
276
|
private removePosFromObj;
|
|
269
277
|
private isValueArray;
|
|
@@ -79,6 +79,7 @@ export declare class LocalizableString implements ILocalizableString {
|
|
|
79
79
|
onStringChanged: EventBase<LocalizableString>;
|
|
80
80
|
protected onCreating(): void;
|
|
81
81
|
private hasHtmlValue;
|
|
82
|
+
private setHtmlValue;
|
|
82
83
|
getHtmlValue(): string;
|
|
83
84
|
private deleteValuesEqualsToDefault;
|
|
84
85
|
private getValue;
|
|
@@ -776,6 +776,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
776
776
|
protected isMouseDown: boolean;
|
|
777
777
|
onMouseDown(): void;
|
|
778
778
|
protected setNewComment(newValue: string): void;
|
|
779
|
+
protected setCommentIntoData(newValue: string): void;
|
|
779
780
|
protected getValidName(name: string): string;
|
|
780
781
|
updateValueFromSurvey(newValue: any, clearData?: boolean): void;
|
|
781
782
|
private updateValueFromSurveyCore;
|
|
@@ -136,7 +136,9 @@ export declare class QuestionSelectBase extends Question {
|
|
|
136
136
|
clearValue(): void;
|
|
137
137
|
updateCommentFromSurvey(newValue: any): any;
|
|
138
138
|
renderedValue: any;
|
|
139
|
+
private makeCommentEmpty;
|
|
139
140
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean, updateComment?: boolean): void;
|
|
141
|
+
protected setValueCore(newValue: any): void;
|
|
140
142
|
protected setNewValue(newValue: any): void;
|
|
141
143
|
protected valueFromData(val: any): any;
|
|
142
144
|
protected rendredValueFromData(val: any): any;
|
|
@@ -154,9 +156,9 @@ export declare class QuestionSelectBase extends Question {
|
|
|
154
156
|
*/
|
|
155
157
|
clearIncorrectValuesCallback: () => void;
|
|
156
158
|
/*
|
|
157
|
-
* Configures access to a RESTful service that returns choice items. Refer to the [ChoicesRestful](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information.
|
|
159
|
+
* Configures access to a RESTful service that returns choice items. Refer to the [`ChoicesRestful`](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
|
|
158
160
|
*
|
|
159
|
-
* [View Demo](https://surveyjs.io/form-library/examples/
|
|
161
|
+
* [View Demo](https://surveyjs.io/form-library/examples/dropdown-menu-load-data-from-restful-service/ (linkStyle))
|
|
160
162
|
* @see choices
|
|
161
163
|
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
|
162
164
|
*/
|
|
@@ -410,7 +412,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
410
412
|
getAriaItemLabel(item: ItemValue): string;
|
|
411
413
|
getItemId(item: ItemValue): string;
|
|
412
414
|
readonly questionName: string;
|
|
413
|
-
getItemEnabled(item: ItemValue):
|
|
415
|
+
getItemEnabled(item: ItemValue): boolean;
|
|
414
416
|
protected rootElement: HTMLElement;
|
|
415
417
|
afterRender(el: HTMLElement): void;
|
|
416
418
|
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
@@ -438,7 +440,6 @@ export declare class QuestionCheckboxBase extends QuestionSelectBase {
|
|
|
438
440
|
* @see separateSpecialChoices
|
|
439
441
|
*/
|
|
440
442
|
colCount: number;
|
|
441
|
-
clickItemHandler(item: ItemValue, checked: boolean): void;
|
|
442
443
|
protected onParentChanged(): void;
|
|
443
444
|
protected onParentQuestionChanged(): void;
|
|
444
445
|
protected getSearchableItemValueKeys(keys: Array<string>): void;
|
|
@@ -56,6 +56,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
56
56
|
* @see clearValue
|
|
57
57
|
*/
|
|
58
58
|
selectAll(): void;
|
|
59
|
+
clickItemHandler(item: ItemValue, checked?: boolean): void;
|
|
59
60
|
protected isItemSelectedCore(item: ItemValue): boolean;
|
|
60
61
|
private getRealValue;
|
|
61
62
|
readonly isValueArray: boolean;
|
|
@@ -235,6 +235,8 @@ export declare abstract class QuestionCustomModelBase extends Question implement
|
|
|
235
235
|
getType(): string;
|
|
236
236
|
locStrsChanged(): void;
|
|
237
237
|
localeChanged(): void;
|
|
238
|
+
addUsedLocales(locales: Array<string>): void;
|
|
239
|
+
needResponsiveWidth(): boolean;
|
|
238
240
|
protected createWrapper(): void;
|
|
239
241
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
240
242
|
itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
|
|
@@ -7,6 +7,9 @@ import { Action } from "./actions/action";
|
|
|
7
7
|
import { Camera } from "./utils/camera";
|
|
8
8
|
import { LocalizableString } from "./localizablestring";
|
|
9
9
|
export declare function dataUrl2File(dataUrl: string, fileName: string, type: string): File;
|
|
10
|
+
/**
|
|
11
|
+
* A base class for question types that support file upload: `QuestionFileModel` and `QuestionSignaturePadModel`.
|
|
12
|
+
*/
|
|
10
13
|
export declare class QuestionFileModelBase extends Question {
|
|
11
14
|
isUploading: boolean;
|
|
12
15
|
currentState: string;
|
|
@@ -93,10 +93,8 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
93
93
|
*
|
|
94
94
|
* Possible values:
|
|
95
95
|
*
|
|
96
|
-
* - `"image"` - Images in one of the following formats: JPEG, GIF, PNG, APNG, SVG, BMP, ICO.
|
|
96
|
+
* - `"image"` (default) - Images in one of the following formats: JPEG, GIF, PNG, APNG, SVG, BMP, ICO.
|
|
97
97
|
* - `"video"` - Videos in one of the following formats: MP4, MOV, WMV, FLV, AVI, MKV.
|
|
98
|
-
* - `"youtube"` - Links to YouTube videos.
|
|
99
|
-
* - `"auto"` (default) - Selects one of the above based on the `imageLink` property value of each choice item.
|
|
100
98
|
*/
|
|
101
99
|
contentMode: string;
|
|
102
100
|
protected convertDefaultValue(val: any): any;
|
|
@@ -281,7 +281,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
281
281
|
protected onEndRowRemoving(row: MatrixDropdownRowModelBase): void;
|
|
282
282
|
private renderedTableValue: any;
|
|
283
283
|
protected clearRowsAndResetRenderedTable(): void;
|
|
284
|
-
|
|
284
|
+
resetRenderedTable(): void;
|
|
285
285
|
protected clearGeneratedRows(): void;
|
|
286
286
|
protected readonly isRendredTableCreated: boolean;
|
|
287
287
|
readonly renderedTable: QuestionMatrixDropdownRenderedTable;
|
|
@@ -163,7 +163,7 @@ export declare class QuestionMultipleTextModel extends Question implements IMult
|
|
|
163
163
|
/**
|
|
164
164
|
* Adds a new input item.
|
|
165
165
|
* @param name An item name.
|
|
166
|
-
* @param title (Optional) An item title.
|
|
166
|
+
* @param title *(Optional)* An item title.
|
|
167
167
|
* @see items
|
|
168
168
|
*/
|
|
169
169
|
addItem(name: string, title?: string): MultipleTextItemModel;
|