survey-core 1.9.127 → 1.9.129
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/defaultV2.css +457 -122
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +457 -122
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +5 -1
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +2 -2
- package/i18n/basque.js +5 -1
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +2 -2
- package/i18n/bulgarian.js +5 -1
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +2 -2
- package/i18n/catalan.js +5 -1
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +2 -2
- package/i18n/croatian.js +5 -1
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +2 -2
- package/i18n/czech.js +5 -1
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +2 -2
- package/i18n/danish.js +5 -1
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +2 -2
- package/i18n/dutch.js +5 -1
- package/i18n/dutch.js.map +1 -1
- package/i18n/dutch.min.js +2 -2
- package/i18n/english.js +3 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +5 -1
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +2 -2
- package/i18n/finnish.js +5 -1
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +2 -2
- package/i18n/french.js +5 -1
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +2 -2
- package/i18n/georgian.js +5 -1
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +2 -2
- package/i18n/german.js +5 -1
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +5 -1
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +2 -2
- package/i18n/hebrew.js +5 -1
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +2 -2
- package/i18n/hindi.js +5 -2
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +2 -2
- package/i18n/hungarian.js +5 -1
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +5 -1
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +2 -2
- package/i18n/index.js +190 -14
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +5 -1
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +2 -2
- package/i18n/italian.js +5 -1
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +2 -2
- package/i18n/japanese.js +5 -1
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +2 -2
- package/i18n/kazakh.js +5 -1
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +2 -2
- package/i18n/korean.js +5 -1
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +2 -2
- package/i18n/latvian.js +5 -1
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +2 -2
- package/i18n/lithuanian.js +5 -1
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +2 -2
- package/i18n/macedonian.js +5 -1
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +2 -2
- package/i18n/malay.js +5 -1
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +2 -2
- package/i18n/nl-BE.js +5 -1
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +2 -2
- package/i18n/norwegian.js +5 -1
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +2 -2
- package/i18n/persian.js +5 -1
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +2 -2
- package/i18n/polish.js +5 -1
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +2 -2
- package/i18n/portuguese-br.js +5 -1
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +2 -2
- package/i18n/portuguese.js +5 -1
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +2 -2
- package/i18n/romanian.js +5 -1
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +2 -2
- package/i18n/russian.js +5 -5
- package/i18n/russian.js.map +1 -1
- package/i18n/russian.min.js +2 -2
- package/i18n/serbian.js +5 -1
- package/i18n/serbian.js.map +1 -1
- package/i18n/serbian.min.js +2 -2
- package/i18n/simplified-chinese.js +5 -1
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +2 -2
- package/i18n/slovak.js +6 -2
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +2 -2
- package/i18n/spanish.js +5 -1
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +2 -2
- package/i18n/swahili.js +5 -1
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +2 -2
- package/i18n/swedish.js +5 -1
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +2 -2
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +5 -2
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +2 -2
- package/i18n/thai.js +5 -2
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +2 -2
- package/i18n/traditional-chinese.js +5 -2
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +2 -2
- package/i18n/turkish.js +5 -2
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +2 -2
- package/i18n/ukrainian.js +5 -2
- package/i18n/ukrainian.js.map +1 -1
- package/i18n/ukrainian.min.js +2 -2
- package/i18n/urdu.js +5 -2
- package/i18n/urdu.js.map +1 -1
- package/i18n/urdu.min.js +2 -2
- package/i18n/vietnamese.js +5 -2
- package/i18n/vietnamese.js.map +1 -1
- package/i18n/vietnamese.min.js +2 -2
- package/i18n/welsh.js +5 -2
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +2 -2
- package/modern.css +122 -17
- package/modern.css.map +1 -1
- package/modern.fontless.css +122 -17
- 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 +1046 -235
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +91 -17
- package/survey.css.map +1 -1
- package/survey.i18n.js +190 -14
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +2 -2
- package/survey.min.css +2 -2
- 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/defaultCss/cssmodern.d.ts +2 -0
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +2 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +9 -0
- package/ts3.4/typings/dropdownListModel.d.ts +3 -0
- package/ts3.4/typings/entries/chunks/model.d.ts +2 -2
- package/ts3.4/typings/header.d.ts +3 -0
- package/ts3.4/typings/jsonobject.d.ts +3 -0
- package/ts3.4/typings/list.d.ts +3 -0
- package/ts3.4/typings/localization/english.d.ts +2 -0
- package/ts3.4/typings/page.d.ts +2 -2
- package/ts3.4/typings/popup-survey.d.ts +11 -0
- package/ts3.4/typings/progress-buttons.d.ts +42 -0
- package/ts3.4/typings/question_baseselect.d.ts +55 -2
- package/ts3.4/typings/question_checkbox.d.ts +3 -2
- package/ts3.4/typings/question_custom.d.ts +13 -0
- package/ts3.4/typings/question_dropdown.d.ts +14 -0
- package/ts3.4/typings/question_file.d.ts +1 -0
- package/ts3.4/typings/question_imagepicker.d.ts +4 -2
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +2 -0
- package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +17 -0
- package/ts3.4/typings/question_matrixdropdownrendered.d.ts +1 -0
- package/ts3.4/typings/question_ranking.d.ts +2 -0
- package/ts3.4/typings/settings.d.ts +25 -4
- package/ts3.4/typings/survey-events-api.d.ts +33 -0
- package/ts3.4/typings/survey.d.ts +57 -16
- package/ts3.4/typings/surveyStrings.d.ts +2 -0
- package/ts3.4/typings/themes.d.ts +2 -2
- package/ts3.4/typings/utils/utils.d.ts +4 -3
- package/typings/base-interfaces.d.ts +4 -0
- package/typings/defaultCss/cssmodern.d.ts +2 -0
- package/typings/defaultCss/cssstandard.d.ts +2 -0
- package/typings/defaultCss/defaultV2Css.d.ts +9 -0
- package/typings/dropdownListModel.d.ts +3 -0
- package/typings/entries/chunks/model.d.ts +2 -2
- package/typings/header.d.ts +3 -0
- package/typings/jsonobject.d.ts +3 -0
- package/typings/list.d.ts +3 -0
- package/typings/localization/english.d.ts +2 -0
- package/typings/page.d.ts +2 -2
- package/typings/popup-survey.d.ts +13 -0
- package/typings/progress-buttons.d.ts +42 -0
- package/typings/question_baseselect.d.ts +60 -2
- package/typings/question_checkbox.d.ts +3 -2
- package/typings/question_custom.d.ts +13 -0
- package/typings/question_dropdown.d.ts +14 -0
- package/typings/question_file.d.ts +1 -0
- package/typings/question_imagepicker.d.ts +4 -2
- package/typings/question_matrixdropdownbase.d.ts +2 -0
- package/typings/question_matrixdropdowncolumn.d.ts +18 -0
- package/typings/question_matrixdropdownrendered.d.ts +1 -0
- package/typings/question_ranking.d.ts +2 -0
- package/typings/settings.d.ts +25 -4
- package/typings/survey-events-api.d.ts +33 -0
- package/typings/survey.d.ts +57 -16
- package/typings/surveyProgressButtons.d.ts +9 -9
- package/typings/surveyStrings.d.ts +2 -0
- package/typings/themes.d.ts +2 -2
- package/typings/utils/utils.d.ts +4 -3
|
@@ -360,6 +360,7 @@ export declare var defaultStandardCss: {
|
|
|
360
360
|
window: {
|
|
361
361
|
root: string;
|
|
362
362
|
rootCollapsedMod: string;
|
|
363
|
+
rootFullScreenMode: string;
|
|
363
364
|
rootContent: string;
|
|
364
365
|
body: string;
|
|
365
366
|
header: {
|
|
@@ -371,6 +372,7 @@ export declare var defaultStandardCss: {
|
|
|
371
372
|
buttonCollapsed: string;
|
|
372
373
|
collapseButton: string;
|
|
373
374
|
closeButton: string;
|
|
375
|
+
fullScreenButton: string;
|
|
374
376
|
};
|
|
375
377
|
};
|
|
376
378
|
variables: {
|
|
@@ -2,6 +2,7 @@ export declare var surveyCss: any;
|
|
|
2
2
|
export declare var defaultV2Css: {
|
|
3
3
|
root: string;
|
|
4
4
|
rootMobile: string;
|
|
5
|
+
rootAnimationDisabled: string;
|
|
5
6
|
rootReadOnly: string;
|
|
6
7
|
rootCompact: string;
|
|
7
8
|
rootFitToContainer: string;
|
|
@@ -119,8 +120,13 @@ export declare var defaultV2Css: {
|
|
|
119
120
|
progressBottom: string;
|
|
120
121
|
progressBar: string;
|
|
121
122
|
progressText: string;
|
|
123
|
+
progressButtonsRoot: string;
|
|
124
|
+
progressButtonsNumbered: string;
|
|
122
125
|
progressButtonsContainerCenter: string;
|
|
123
126
|
progressButtonsContainer: string;
|
|
127
|
+
progressButtonsConnector: string;
|
|
128
|
+
progressButtonsHeader: string;
|
|
129
|
+
progressButtonsFooter: string;
|
|
124
130
|
progressButtonsImageButtonLeft: string;
|
|
125
131
|
progressButtonsImageButtonRight: string;
|
|
126
132
|
progressButtonsImageButtonHidden: string;
|
|
@@ -462,6 +468,7 @@ export declare var defaultV2Css: {
|
|
|
462
468
|
noHeader: string;
|
|
463
469
|
hasFooter: string;
|
|
464
470
|
tableWrapper: string;
|
|
471
|
+
rootAlternateRows: string;
|
|
465
472
|
content: string;
|
|
466
473
|
cell: string;
|
|
467
474
|
row: string;
|
|
@@ -634,6 +641,7 @@ export declare var defaultV2Css: {
|
|
|
634
641
|
window: {
|
|
635
642
|
root: string;
|
|
636
643
|
rootCollapsedMod: string;
|
|
644
|
+
rootFullScreenMode: string;
|
|
637
645
|
rootContent: string;
|
|
638
646
|
body: string;
|
|
639
647
|
header: {
|
|
@@ -645,6 +653,7 @@ export declare var defaultV2Css: {
|
|
|
645
653
|
buttonCollapsed: string;
|
|
646
654
|
collapseButton: string;
|
|
647
655
|
closeButton: string;
|
|
656
|
+
fullScreenButton: string;
|
|
648
657
|
};
|
|
649
658
|
};
|
|
650
659
|
ranking: {
|
|
@@ -9,8 +9,10 @@ export declare class DropdownListModel extends Base {
|
|
|
9
9
|
protected onSelectionChanged?: (item: IAction, ...params: any[]) => void;
|
|
10
10
|
readonly minPageSize = 25;
|
|
11
11
|
readonly loadingItemHeight = 40;
|
|
12
|
+
private htmlCleanerElement;
|
|
12
13
|
private _markdownMode;
|
|
13
14
|
private _popupModel;
|
|
15
|
+
private filteredItems;
|
|
14
16
|
focused: boolean;
|
|
15
17
|
private get focusFirstInputSelector();
|
|
16
18
|
protected readonly selectedItemSelector = ".sv-list__item--selected";
|
|
@@ -44,6 +46,7 @@ export declare class DropdownListModel extends Base {
|
|
|
44
46
|
showInputFieldComponent: boolean;
|
|
45
47
|
ariaActivedescendant: string;
|
|
46
48
|
private applyInputString;
|
|
49
|
+
private cleanHtml;
|
|
47
50
|
protected fixInputCase(): void;
|
|
48
51
|
protected applyHintString(item: ItemValue): void;
|
|
49
52
|
get inputStringRendered(): string;
|
|
@@ -62,7 +62,7 @@ export { SurveyTimer } from "../../surveytimer";
|
|
|
62
62
|
export { SurveyTimerModel } from "../../surveyTimerModel";
|
|
63
63
|
export * from "../../surveyToc";
|
|
64
64
|
export { SurveyProgressModel } from "../../surveyProgress";
|
|
65
|
-
export {
|
|
65
|
+
export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "../../progress-buttons";
|
|
66
66
|
export * from "../../themes";
|
|
67
67
|
export { SurveyModel } from "../../survey";
|
|
68
68
|
export * from "../../survey-events-api";
|
|
@@ -88,7 +88,7 @@ export { DropdownListModel } from "../../dropdownListModel";
|
|
|
88
88
|
export { DropdownMultiSelectListModel } from "../../dropdownMultiSelectListModel";
|
|
89
89
|
export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "../../question_buttongroup";
|
|
90
90
|
export { IsMobile, IsTouch, _setIsTouch } from "../../utils/devices";
|
|
91
|
-
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, IAttachKey2clickOptions } from "../../utils/utils";
|
|
91
|
+
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, IAttachKey2clickOptions } from "../../utils/utils";
|
|
92
92
|
export * from "../../utils/cssClassBuilder";
|
|
93
93
|
export { surveyCss, defaultV2Css, defaultV2ThemeName } from "../../defaultCss/defaultV2Css";
|
|
94
94
|
export { DragDropCore } from "../../dragdrop/core";
|
package/typings/header.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare class Cover extends Base {
|
|
|
29
29
|
private updateContentClasses;
|
|
30
30
|
private updateBackgroundImageClasses;
|
|
31
31
|
fromTheme(theme: ITheme): void;
|
|
32
|
+
private init;
|
|
32
33
|
constructor();
|
|
33
34
|
getType(): string;
|
|
34
35
|
cells: CoverCell[];
|
|
@@ -39,6 +40,8 @@ export declare class Cover extends Base {
|
|
|
39
40
|
textGlowEnabled: boolean;
|
|
40
41
|
overlapEnabled: boolean;
|
|
41
42
|
backgroundColor: string;
|
|
43
|
+
titleColor: string;
|
|
44
|
+
descriptionColor: string;
|
|
42
45
|
backgroundImage: string;
|
|
43
46
|
renderBackgroundImage: string;
|
|
44
47
|
backgroundImageFit: "cover" | "fill" | "contain" | "tile";
|
package/typings/jsonobject.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ export declare class JsonObjectProperty implements IObject {
|
|
|
77
77
|
onSettingValue: (obj: any, value: any) => any;
|
|
78
78
|
onSetValue: (obj: any, value: any, jsonConv: JsonObject) => any;
|
|
79
79
|
visibleIf: (obj: any) => boolean;
|
|
80
|
+
enableIf: (obj: any) => boolean;
|
|
80
81
|
onExecuteExpression: (obj: any, res: any) => any;
|
|
81
82
|
onPropertyEditorUpdate: (obj: any, propEditor: any) => any;
|
|
82
83
|
constructor(classInfo: JsonMetadataClass, name: string, isRequired?: boolean);
|
|
@@ -116,7 +117,9 @@ export declare class JsonObjectProperty implements IObject {
|
|
|
116
117
|
setBaseValue(val: any): void;
|
|
117
118
|
get readOnly(): boolean;
|
|
118
119
|
set readOnly(val: boolean);
|
|
120
|
+
isEnable(obj: any): boolean;
|
|
119
121
|
isVisible(layout: string, obj?: any): boolean;
|
|
122
|
+
private getOriginalObj;
|
|
120
123
|
get visible(): boolean;
|
|
121
124
|
set visible(val: boolean);
|
|
122
125
|
isAvailableInVersion(ver: string): boolean;
|
package/typings/list.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface IListModel {
|
|
|
26
26
|
allowSelection?: boolean;
|
|
27
27
|
selectedItem?: IAction;
|
|
28
28
|
onFilterStringChangedCallback?: (text: string) => void;
|
|
29
|
+
onTextSearchCallback?: (text: string, textToSearch: string) => boolean;
|
|
29
30
|
}
|
|
30
31
|
export declare class ListModel<T extends BaseAction = Action> extends ActionContainer<T> {
|
|
31
32
|
onSelectionChanged: (item: T, ...params: any[]) => void;
|
|
@@ -56,7 +57,9 @@ export declare class ListModel<T extends BaseAction = Action> extends ActionCont
|
|
|
56
57
|
private onFilterStringChanged;
|
|
57
58
|
private scrollToItem;
|
|
58
59
|
constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction, onFilterStringChangedCallback?: (text: string) => void, elementId?: string);
|
|
60
|
+
private onTextSearchCallback;
|
|
59
61
|
setOnFilterStringChangedCallback(callback: (text: string) => void): void;
|
|
62
|
+
setOnTextSearchCallback(callback: (item: T, textToSearch: string) => boolean): void;
|
|
60
63
|
setItems(items: Array<IAction>, sortByVisibleIndex?: boolean): void;
|
|
61
64
|
protected onSet(): void;
|
|
62
65
|
protected getDefaultCssClasses(): {
|
package/typings/page.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
|
16
16
|
protected canShowPageNumber(): boolean;
|
|
17
17
|
protected canShowTitle(): boolean;
|
|
18
18
|
/**
|
|
19
|
-
* A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar)
|
|
19
|
+
* A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
|
|
20
20
|
*
|
|
21
21
|
* If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
|
|
22
22
|
*/
|
|
@@ -24,7 +24,7 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
|
24
24
|
set navigationTitle(val: string);
|
|
25
25
|
get locNavigationTitle(): LocalizableString;
|
|
26
26
|
/**
|
|
27
|
-
* Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar)
|
|
27
|
+
* Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
|
|
28
28
|
*/
|
|
29
29
|
get navigationDescription(): string;
|
|
30
30
|
set navigationDescription(val: string);
|
|
@@ -34,6 +34,8 @@ export declare class PopupSurveyModel extends Base {
|
|
|
34
34
|
*/
|
|
35
35
|
get isShowing(): boolean;
|
|
36
36
|
set isShowing(val: boolean);
|
|
37
|
+
get isFullScreen(): boolean;
|
|
38
|
+
set isFullScreen(val: boolean);
|
|
37
39
|
/**
|
|
38
40
|
* Shows the pop-up survey. The survey may appear [expanded or collapsed](#isExpanded).
|
|
39
41
|
*
|
|
@@ -50,6 +52,7 @@ export declare class PopupSurveyModel extends Base {
|
|
|
50
52
|
* @see collapse
|
|
51
53
|
*/
|
|
52
54
|
hide(): void;
|
|
55
|
+
toggleFullScreen(): void;
|
|
53
56
|
/**
|
|
54
57
|
* Indicates whether the pop-up window is expanded or collapsed.
|
|
55
58
|
*
|
|
@@ -93,6 +96,14 @@ export declare class PopupSurveyModel extends Base {
|
|
|
93
96
|
*/
|
|
94
97
|
get allowClose(): boolean;
|
|
95
98
|
set allowClose(val: boolean);
|
|
99
|
+
/**
|
|
100
|
+
* Specifies whether to display a button that allow showing pop-up in full-screen mode.
|
|
101
|
+
*
|
|
102
|
+
* Default value: `false`
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
get allowFullScreen(): boolean;
|
|
106
|
+
set allowFullScreen(val: boolean);
|
|
96
107
|
get css(): any;
|
|
97
108
|
get cssButton(): string;
|
|
98
109
|
get cssRoot(): string;
|
|
@@ -104,9 +115,11 @@ export declare class PopupSurveyModel extends Base {
|
|
|
104
115
|
get cssHeaderButtonsContainer(): string;
|
|
105
116
|
get cssHeaderCollapseButton(): string;
|
|
106
117
|
get cssHeaderCloseButton(): string;
|
|
118
|
+
get cssHeaderFullScreenButton(): string;
|
|
107
119
|
get renderedWidth(): string;
|
|
108
120
|
width: string;
|
|
109
121
|
private updateCss;
|
|
122
|
+
private setCssRoot;
|
|
110
123
|
private updateCssButton;
|
|
111
124
|
private setCssButton;
|
|
112
125
|
protected createSurvey(jsonObj: any): SurveyModel;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Base, EventBase } from "./base";
|
|
2
|
+
import { PageModel } from "./page";
|
|
3
|
+
import { SurveyModel } from "./survey";
|
|
4
|
+
export declare class ProgressButtons extends Base {
|
|
5
|
+
survey: SurveyModel;
|
|
6
|
+
constructor(survey: SurveyModel);
|
|
7
|
+
isListElementClickable(index: number | any): boolean;
|
|
8
|
+
getRootCss(container?: string): string;
|
|
9
|
+
getListElementCss(index: number | any): string;
|
|
10
|
+
getScrollButtonCss(hasScroller: boolean, isLeftScroll: boolean): string;
|
|
11
|
+
clickListElement(element: number | PageModel): void;
|
|
12
|
+
isListContainerHasScroller(element: HTMLElement): boolean;
|
|
13
|
+
isCanShowItemTitles(element: HTMLElement): boolean;
|
|
14
|
+
clearConnectorsWidth(element: HTMLElement): void;
|
|
15
|
+
adjustConnectors(element: HTMLElement): void;
|
|
16
|
+
get showItemNumbers(): boolean;
|
|
17
|
+
get showItemTitles(): boolean;
|
|
18
|
+
getItemNumber(page: PageModel): string;
|
|
19
|
+
get headerText(): string;
|
|
20
|
+
get footerText(): string;
|
|
21
|
+
onResize: EventBase<ProgressButtons, any>;
|
|
22
|
+
processResponsiveness(width: number): void;
|
|
23
|
+
}
|
|
24
|
+
export interface IProgressButtonsViewModel {
|
|
25
|
+
container: string;
|
|
26
|
+
onResize(canShowItemTitles: boolean): void;
|
|
27
|
+
onUpdateScroller(hasScroller: boolean): void;
|
|
28
|
+
onUpdateSettings(): void;
|
|
29
|
+
}
|
|
30
|
+
export declare class ProgressButtonsResponsivityManager {
|
|
31
|
+
private model;
|
|
32
|
+
private element;
|
|
33
|
+
private viewModel;
|
|
34
|
+
private criticalProperties;
|
|
35
|
+
private timer;
|
|
36
|
+
private prevWidth;
|
|
37
|
+
private canShowItemTitles;
|
|
38
|
+
constructor(model: ProgressButtons, element: HTMLElement, viewModel: IProgressButtonsViewModel);
|
|
39
|
+
private forceUpdate;
|
|
40
|
+
private processResponsiveness;
|
|
41
|
+
dispose(): void;
|
|
42
|
+
}
|
|
@@ -21,6 +21,8 @@ export declare class QuestionSelectBase extends Question {
|
|
|
21
21
|
private isChoicesLoaded;
|
|
22
22
|
private enableOnLoadingChoices;
|
|
23
23
|
private noneItemValue;
|
|
24
|
+
private refuseItemValue;
|
|
25
|
+
private dontKnowItemValue;
|
|
24
26
|
private newItemValue;
|
|
25
27
|
private canShowOptionItemCallback;
|
|
26
28
|
private waitingGetChoiceDisplayValueResponse;
|
|
@@ -64,6 +66,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
64
66
|
* When users select the "None" item in multi-select questions, all other items become unselected.
|
|
65
67
|
* @see noneItem
|
|
66
68
|
* @see noneText
|
|
69
|
+
* @see [settings.noneItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#noneItemValue)
|
|
67
70
|
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
|
68
71
|
*/
|
|
69
72
|
get showNoneItem(): boolean;
|
|
@@ -82,6 +85,53 @@ export declare class QuestionSelectBase extends Question {
|
|
|
82
85
|
get noneText(): string;
|
|
83
86
|
set noneText(val: string);
|
|
84
87
|
get locNoneText(): LocalizableString;
|
|
88
|
+
/**
|
|
89
|
+
* Specifies whether to display the "Refuse to answer" choice item.
|
|
90
|
+
*
|
|
91
|
+
* When users select the "Refuse to answer" item in multi-select questions, all other items become unselected.
|
|
92
|
+
* @see refuseItem
|
|
93
|
+
* @see refuseItemText
|
|
94
|
+
* @see [settings.refuseItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#refuseItemValue)
|
|
95
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
|
96
|
+
*/
|
|
97
|
+
get showRefuseItem(): boolean;
|
|
98
|
+
set showRefuseItem(val: boolean);
|
|
99
|
+
/**
|
|
100
|
+
* Returns the "Refuse to answer" choice item. Use this property to change the item's `value` or `text`.
|
|
101
|
+
* @see showRefuseItem
|
|
102
|
+
*/
|
|
103
|
+
get refuseItem(): ItemValue;
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets a caption for the "Refuse to answer" choice item.
|
|
106
|
+
* @see showRefuseItem
|
|
107
|
+
*/
|
|
108
|
+
get refuseText(): string;
|
|
109
|
+
set refuseText(val: string);
|
|
110
|
+
get locRefuseText(): LocalizableString;
|
|
111
|
+
/**
|
|
112
|
+
* Specifies whether to display the "Don't know" choice item.
|
|
113
|
+
*
|
|
114
|
+
* When users select the "Don't know" item in multi-select questions, all other items become unselected.
|
|
115
|
+
* @see dontKnowItem
|
|
116
|
+
* @see dontKnowItemText
|
|
117
|
+
* @see [settings.dontKnowItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#dontKnowItemValue)
|
|
118
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
|
119
|
+
*/
|
|
120
|
+
get showDontKnowItem(): boolean;
|
|
121
|
+
set showDontKnowItem(val: boolean);
|
|
122
|
+
/**
|
|
123
|
+
* Returns the "Don't know" choice item. Use this property to change the item's `value` or `text`.
|
|
124
|
+
* @see showDontKnowItem
|
|
125
|
+
*/
|
|
126
|
+
get dontKnowItem(): ItemValue;
|
|
127
|
+
/**
|
|
128
|
+
* Gets or sets a caption for the "Don't know" choice item.
|
|
129
|
+
* @see showDontKnowItem
|
|
130
|
+
*/
|
|
131
|
+
get dontKnowText(): string;
|
|
132
|
+
set dontKnowText(val: string);
|
|
133
|
+
get locDontKnowText(): LocalizableString;
|
|
134
|
+
private createDefaultItem;
|
|
85
135
|
/**
|
|
86
136
|
* A Boolean expression that is evaluated against each choice item. If the expression evaluates to `false`, the choice item becomes hidden.
|
|
87
137
|
*
|
|
@@ -331,7 +381,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
331
381
|
protected addNonChoiceItem(dict: Array<{
|
|
332
382
|
index: number;
|
|
333
383
|
item: ItemValue;
|
|
334
|
-
}>, item: ItemValue, order: Array<number>): void;
|
|
384
|
+
}>, item: ItemValue, isAddAll: boolean, showItem: boolean, order: Array<number>): void;
|
|
335
385
|
protected canShowOptionItem(item: ItemValue, isAddAll: boolean, hasItem: boolean): boolean;
|
|
336
386
|
isItemInList(item: ItemValue): boolean;
|
|
337
387
|
protected get isAddDefaultItems(): boolean;
|
|
@@ -343,6 +393,9 @@ export declare class QuestionSelectBase extends Question {
|
|
|
343
393
|
private getItemDisplayValue;
|
|
344
394
|
private getFilteredChoices;
|
|
345
395
|
protected get activeChoices(): Array<ItemValue>;
|
|
396
|
+
get isMessagePanelVisible(): boolean;
|
|
397
|
+
set isMessagePanelVisible(val: boolean);
|
|
398
|
+
private get isEmptyActiveChoicesInDesign();
|
|
346
399
|
getCarryForwardQuestion(data?: ISurveyData): Question;
|
|
347
400
|
protected getIsReadyDependsOn(): Array<Question>;
|
|
348
401
|
private getQuestionWithChoices;
|
|
@@ -355,10 +408,14 @@ export declare class QuestionSelectBase extends Question {
|
|
|
355
408
|
private getChoicesFromSelectQuestion;
|
|
356
409
|
private copyChoiceItem;
|
|
357
410
|
protected get hasActiveChoices(): boolean;
|
|
358
|
-
protected isBuiltInChoice(item: ItemValue
|
|
411
|
+
protected isBuiltInChoice(item: ItemValue): boolean;
|
|
412
|
+
isNoneItem(item: ItemValue): boolean;
|
|
413
|
+
protected getNoneItems(): Array<ItemValue>;
|
|
359
414
|
protected getChoices(): Array<ItemValue>;
|
|
360
415
|
supportOther(): boolean;
|
|
361
416
|
supportNone(): boolean;
|
|
417
|
+
supportRefuse(): boolean;
|
|
418
|
+
supportDontKnow(): boolean;
|
|
362
419
|
protected isSupportProperty(propName: string): boolean;
|
|
363
420
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
364
421
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
@@ -391,6 +448,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
391
448
|
private randomizeArray;
|
|
392
449
|
private get hasChoicesUrl();
|
|
393
450
|
clearIncorrectValues(): void;
|
|
451
|
+
private canClearIncorrectValues;
|
|
394
452
|
protected hasValueToClearIncorrectValues(): boolean;
|
|
395
453
|
protected clearValueIfInvisibleCore(reason: string): void;
|
|
396
454
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QuestionCheckboxBase
|
|
1
|
+
import { QuestionCheckboxBase } from "./question_baseselect";
|
|
2
2
|
import { ItemValue } from "./itemvalue";
|
|
3
3
|
import { LocalizableString } from "./localizablestring";
|
|
4
4
|
import { IQuestion } from "./base-interfaces";
|
|
@@ -116,6 +116,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
116
116
|
protected getCommentFromValue(newValue: any): string;
|
|
117
117
|
protected setOtherValueIntoValue(newValue: any): any;
|
|
118
118
|
private getFirstUnknownIndex;
|
|
119
|
+
protected removeNoneItemsValues(value: Array<any>, newValue: Array<any>): void;
|
|
119
120
|
private noneIndexInArray;
|
|
120
121
|
protected canUseFilteredChoices(): boolean;
|
|
121
122
|
protected supportSelectAll(): boolean;
|
|
@@ -123,7 +124,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
123
124
|
index: number;
|
|
124
125
|
item: ItemValue;
|
|
125
126
|
}>, isAddAll: boolean): void;
|
|
126
|
-
protected isBuiltInChoice(item: ItemValue
|
|
127
|
+
protected isBuiltInChoice(item: ItemValue): boolean;
|
|
127
128
|
isItemInList(item: ItemValue): boolean;
|
|
128
129
|
protected getDisplayValueCore(keysAsText: boolean, value: any): any;
|
|
129
130
|
protected clearIncorrectValuesCore(): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Question, IConditionObject } from "./question";
|
|
2
2
|
import { JsonObjectProperty } from "./jsonobject";
|
|
3
|
+
import { Base } from "./base";
|
|
3
4
|
import { ISurveyImpl, ISurveyData, ITextProcessor, IPanel, IElement, IQuestion, IProgressInfo } from "./base-interfaces";
|
|
4
5
|
import { SurveyElement } from "./survey-element";
|
|
5
6
|
import { PanelModel } from "./panel";
|
|
@@ -69,6 +70,15 @@ export interface ICustomQuestionTypeConfiguration {
|
|
|
69
70
|
* ```
|
|
70
71
|
*/
|
|
71
72
|
defaultQuestionTitle?: any;
|
|
73
|
+
/**
|
|
74
|
+
* An array of property names to inherit from a base question or a Boolean value that specifies whether or not to inherit all properties.
|
|
75
|
+
*
|
|
76
|
+
* Default value: `false`
|
|
77
|
+
*
|
|
78
|
+
* When you create a [custom specialized question type](https://surveyjs.io/form-library/documentation/customize-question-types/create-specialized-question-types), you base it on another question type configured within the [`questionJSON`](#questionJSON) object. If the custom question type should inherit all properties from the base type, set the `inheritBaseProps` property to `true`. If you want to inherit only certain properties, set the `inheritBaseProps` property to an array of their names.
|
|
79
|
+
*
|
|
80
|
+
* [Create Specialized Question Types](https://surveyjs.io/form-library/documentation/customize-question-types/create-specialized-question-types (linkStyle))
|
|
81
|
+
*/
|
|
72
82
|
inheritBaseProps?: false | true | Array<string>;
|
|
73
83
|
/**
|
|
74
84
|
* A function that is called when the custom question is created. Use it to access questions nested within a [composite question type](https://surveyjs.io/form-library/documentation/customize-question-types/create-composite-question-types).
|
|
@@ -320,7 +330,9 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
|
320
330
|
getTemplate(): string;
|
|
321
331
|
getDynamicProperties(): Array<JsonObjectProperty>;
|
|
322
332
|
getDynamicType(): string;
|
|
333
|
+
getOriginalObj(): Base;
|
|
323
334
|
protected createWrapper(): void;
|
|
335
|
+
private getDynamicProperty;
|
|
324
336
|
protected getElement(): SurveyElement;
|
|
325
337
|
onAnyValueChanged(name: string, questionName: string): void;
|
|
326
338
|
protected getQuestionByName(name: string): IQuestion;
|
|
@@ -379,6 +391,7 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
379
391
|
protected getQuestionByName(name: string): IQuestion;
|
|
380
392
|
private settingNewValue;
|
|
381
393
|
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
|
|
394
|
+
getFilteredValues(): any;
|
|
382
395
|
private updateValueCoreWithPanelValue;
|
|
383
396
|
private getContentPanelValue;
|
|
384
397
|
private getValueForContentPanel;
|
|
@@ -85,8 +85,22 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
|
|
|
85
85
|
allowClear: boolean;
|
|
86
86
|
/**
|
|
87
87
|
* Specifies whether users can enter a value into the input field to filter the drop-down list.
|
|
88
|
+
*
|
|
89
|
+
* [View Demo](https://surveyjs.io/form-library/examples/create-dropdown-menu-in-javascript/ (linkStyle))
|
|
90
|
+
* @see searchMode
|
|
91
|
+
* @see [SurveyModel.onChoicesSearch](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onChoicesSearch)
|
|
88
92
|
*/
|
|
89
93
|
searchEnabled: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies a comparison operation used to filter the drop-down list. Applies only if [`searchEnabled`](#searchEnabled) is `true`.
|
|
96
|
+
*
|
|
97
|
+
* Possible values:
|
|
98
|
+
*
|
|
99
|
+
* - `"contains"` (default)
|
|
100
|
+
* - `"startsWith"`
|
|
101
|
+
* @see [SurveyModel.onChoicesSearch](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onChoicesSearch)
|
|
102
|
+
*/
|
|
103
|
+
searchMode: "contains" | "startsWith";
|
|
90
104
|
inputHasValue: boolean;
|
|
91
105
|
readOnlyText: string;
|
|
92
106
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QuestionCheckboxBase
|
|
1
|
+
import { QuestionCheckboxBase } from "./question_baseselect";
|
|
2
2
|
import { ItemValue } from "./itemvalue";
|
|
3
3
|
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
4
4
|
export declare class ImageItemValue extends ItemValue implements ILocalizableOwner {
|
|
@@ -37,6 +37,8 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
37
37
|
get isCompositeQuestion(): boolean;
|
|
38
38
|
supportOther(): boolean;
|
|
39
39
|
supportNone(): boolean;
|
|
40
|
+
supportRefuse(): boolean;
|
|
41
|
+
supportDontKnow(): boolean;
|
|
40
42
|
isAnswerCorrect(): boolean;
|
|
41
43
|
/**
|
|
42
44
|
* Specifies whether users can select multiple images or videos.
|
|
@@ -107,7 +109,7 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
107
109
|
set contentMode(val: string);
|
|
108
110
|
protected convertDefaultValue(val: any): any;
|
|
109
111
|
get inputType(): "checkbox" | "radio";
|
|
110
|
-
protected isBuiltInChoice(item: ItemValue
|
|
112
|
+
protected isBuiltInChoice(item: ItemValue): boolean;
|
|
111
113
|
protected addToVisibleChoices(items: Array<ItemValue>, isAddAll: boolean): void;
|
|
112
114
|
getSelectBaseRootCss(): string;
|
|
113
115
|
private isResponsiveValue;
|
|
@@ -47,6 +47,7 @@ export declare class MatrixDropdownCell {
|
|
|
47
47
|
get question(): Question;
|
|
48
48
|
get value(): any;
|
|
49
49
|
set value(value: any);
|
|
50
|
+
getQuestionWrapperClassName(className: string): string;
|
|
50
51
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
51
52
|
}
|
|
52
53
|
export declare class MatrixDropdownTotalCell extends MatrixDropdownCell {
|
|
@@ -57,6 +58,7 @@ export declare class MatrixDropdownTotalCell extends MatrixDropdownCell {
|
|
|
57
58
|
protected createQuestion(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, data: IMatrixDropdownData): Question;
|
|
58
59
|
locStrsChanged(): void;
|
|
59
60
|
updateCellQuestion(): void;
|
|
61
|
+
getQuestionWrapperClassName(className: string): string;
|
|
60
62
|
getTotalExpression(): string;
|
|
61
63
|
}
|
|
62
64
|
export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyImpl, ILocalizableOwner {
|
|
@@ -275,6 +275,24 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
275
275
|
*/
|
|
276
276
|
get totalDisplayStyle(): string;
|
|
277
277
|
set totalDisplayStyle(val: string);
|
|
278
|
+
/**
|
|
279
|
+
* An alignment for calculated total values.
|
|
280
|
+
*
|
|
281
|
+
* Possible values:
|
|
282
|
+
*
|
|
283
|
+
* - `"left"`
|
|
284
|
+
* - `"center"`
|
|
285
|
+
* - `"right"`
|
|
286
|
+
* - `"auto"` (default) - Applies one of the values above based on the column's [cell type](#cellType).
|
|
287
|
+
*
|
|
288
|
+
* [View Demo](https://surveyjs.io/form-library/examples/aggregate-data-within-form/ (linkStyle))
|
|
289
|
+
* @see totalType
|
|
290
|
+
* @see totalFormat
|
|
291
|
+
* @see totalCurrency
|
|
292
|
+
* @see totalDisplayStyle
|
|
293
|
+
*/
|
|
294
|
+
get totalAlignment(): string;
|
|
295
|
+
set totalAlignment(val: string);
|
|
278
296
|
/**
|
|
279
297
|
* Specifies a currency used to display calculated total values. Applies only if [`totalDisplayStyle`](#totalDisplayStyle) is set to `"currency"`.
|
|
280
298
|
* @see totalType
|
|
@@ -46,6 +46,7 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
|
46
46
|
get isFirstChoice(): boolean;
|
|
47
47
|
set className(val: string);
|
|
48
48
|
get className(): string;
|
|
49
|
+
get cellQuestionWrapperClassName(): string;
|
|
49
50
|
get headers(): string;
|
|
50
51
|
getTitle(): string;
|
|
51
52
|
calculateFinalClassName(matrixCssClasses: any): string;
|
|
@@ -51,6 +51,8 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
51
51
|
protected supportSelectAll(): boolean;
|
|
52
52
|
supportOther(): boolean;
|
|
53
53
|
supportNone(): boolean;
|
|
54
|
+
supportRefuse(): boolean;
|
|
55
|
+
supportDontKnow(): boolean;
|
|
54
56
|
private handleArrowKeys;
|
|
55
57
|
handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue): void;
|
|
56
58
|
private setValueAfterKeydown;
|
package/typings/settings.d.ts
CHANGED
|
@@ -363,7 +363,7 @@ export declare var settings: {
|
|
|
363
363
|
* @param message A message to be displayed in the confirm dialog window.
|
|
364
364
|
* @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
|
|
365
365
|
*/
|
|
366
|
-
confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string) => boolean;
|
|
366
|
+
confirmActionAsync: (message: string, callback: (res: boolean) => void, applyTitle?: string, locale?: string, rootElement?: HTMLElement) => boolean;
|
|
367
367
|
/**
|
|
368
368
|
* A minimum width value for all survey elements.
|
|
369
369
|
*
|
|
@@ -413,15 +413,27 @@ export declare var settings: {
|
|
|
413
413
|
*/
|
|
414
414
|
showItemsInOrder: string;
|
|
415
415
|
/**
|
|
416
|
-
* A value to save in survey results when respondents select the None choice item.
|
|
416
|
+
* A value to save in survey results when respondents select the "None" choice item.
|
|
417
417
|
*
|
|
418
418
|
* Default value: `"none"`
|
|
419
419
|
*/
|
|
420
420
|
noneItemValue: string;
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* A value to save in survey results when respondents select the "Refuse to answer" choice item.
|
|
423
423
|
*
|
|
424
|
-
* Default value: `
|
|
424
|
+
* Default value: `"refused"`
|
|
425
|
+
*/
|
|
426
|
+
refuseItemValue: string;
|
|
427
|
+
/**
|
|
428
|
+
* A value to save in survey results when respondents select the "Don't know" choice item.
|
|
429
|
+
*
|
|
430
|
+
* Default value: `"dontknow"`
|
|
431
|
+
*/
|
|
432
|
+
dontKnowItemValue: string;
|
|
433
|
+
/**
|
|
434
|
+
* An object whose properties specify the order of the special choice items ("None", "Other", "Select All", "Refuse to answer", "Don't know") in select-based questions.
|
|
435
|
+
*
|
|
436
|
+
* Default value: `{ selectAllItem: [-1], noneItem: [1], otherItem: [2], dontKnowItem: [3], otherItem: [4] }`
|
|
425
437
|
*
|
|
426
438
|
* Use this object to reorder special choices. Each property accepts an array of integer numbers. Negative numbers place a special choice item above regular choice items, positive numbers place it below them. For instance, the code below specifies the following order of choices: None, Select All, regular choices, Other.
|
|
427
439
|
*
|
|
@@ -442,6 +454,8 @@ export declare var settings: {
|
|
|
442
454
|
specialChoicesOrder: {
|
|
443
455
|
selectAllItem: number[];
|
|
444
456
|
noneItem: number[];
|
|
457
|
+
refuseItem: number[];
|
|
458
|
+
dontKnowItem: number[];
|
|
445
459
|
otherItem: number[];
|
|
446
460
|
};
|
|
447
461
|
/**
|
|
@@ -496,6 +510,12 @@ export declare var settings: {
|
|
|
496
510
|
* Default value: `true`
|
|
497
511
|
*/
|
|
498
512
|
showMaxLengthIndicator: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Set to `false` to disable animations
|
|
515
|
+
*
|
|
516
|
+
* Default value: `true`
|
|
517
|
+
*/
|
|
518
|
+
animationEnabled: boolean;
|
|
499
519
|
/**
|
|
500
520
|
* An object that specifies heading levels (`<h1>`, `<h2>`, etc.) to use when rendering survey, page, panel, and question titles.
|
|
501
521
|
*
|
|
@@ -513,4 +533,5 @@ export declare var settings: {
|
|
|
513
533
|
inputTypes: string[];
|
|
514
534
|
dataList: string[];
|
|
515
535
|
};
|
|
536
|
+
legacyProgressBarView: boolean;
|
|
516
537
|
};
|