survey-core 1.12.20 → 1.12.22
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/default.css +8715 -0
- package/default.css.map +1 -0
- package/default.fontless.css +8495 -0
- package/default.fontless.css.map +1 -0
- package/default.fontless.min.css +6 -0
- package/default.min.css +6 -0
- package/defaultV2.css +1 -1
- package/defaultV2.fontless.css +1 -1
- package/defaultV2.fontless.min.css +1 -1
- package/defaultV2.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +5 -0
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/basque.min.js.LICENSE.txt +5 -0
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +5 -0
- package/i18n/burmese.js +1 -1
- package/i18n/burmese.min.js +1 -1
- package/i18n/burmese.min.js.LICENSE.txt +5 -0
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/catalan.min.js.LICENSE.txt +5 -0
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +5 -0
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +5 -0
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +5 -0
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +5 -0
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +5 -0
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/estonian.min.js.LICENSE.txt +5 -0
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +5 -0
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +5 -0
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/georgian.min.js.LICENSE.txt +5 -0
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +5 -0
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/greek.min.js.LICENSE.txt +5 -0
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +5 -0
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hindi.min.js.LICENSE.txt +5 -0
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +5 -0
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/icelandic.min.js.LICENSE.txt +5 -0
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +5 -0
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +5 -0
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +5 -0
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +5 -0
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/kazakh.min.js.LICENSE.txt +5 -0
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +5 -0
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/latvian.min.js.LICENSE.txt +5 -0
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/lithuanian.min.js.LICENSE.txt +5 -0
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/macedonian.min.js.LICENSE.txt +5 -0
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +5 -0
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/nl-BE.min.js.LICENSE.txt +5 -0
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +5 -0
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +5 -0
- package/i18n/philippines.js +1 -1
- package/i18n/philippines.min.js +1 -1
- package/i18n/philippines.min.js.LICENSE.txt +5 -0
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +5 -0
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese-br.min.js.LICENSE.txt +5 -0
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +5 -0
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +5 -0
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +5 -0
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/serbian.min.js.LICENSE.txt +5 -0
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +5 -0
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +5 -0
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +5 -0
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swahili.min.js.LICENSE.txt +5 -0
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +5 -0
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +5 -0
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/telugu.min.js.LICENSE.txt +5 -0
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +5 -0
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +5 -0
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +5 -0
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/ukrainian.min.js.LICENSE.txt +5 -0
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/urdu.min.js.LICENSE.txt +5 -0
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/vietnamese.min.js.LICENSE.txt +5 -0
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/i18n/welsh.min.js.LICENSE.txt +5 -0
- package/icons/iconsV1.js +1 -1
- package/icons/iconsV1.min.js +1 -1
- package/icons/iconsV1.min.js.LICENSE.txt +5 -0
- package/icons/iconsV2.js +1 -1
- package/icons/iconsV2.min.js +1 -1
- package/icons/iconsV2.min.js.LICENSE.txt +5 -0
- package/modern.css +1 -1
- package/modern.fontless.css +1 -1
- package/modern.fontless.min.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/plugins/bootstrap-integration/index.js +1 -1
- package/plugins/bootstrap-integration/index.min.js +1 -1
- package/plugins/bootstrap-material-integration/index.js +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +1 -1
- package/survey.core.js +155 -59
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.core.min.js.LICENSE.txt +10 -0
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.i18n.min.js.LICENSE.txt +5 -0
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-dark.min.js.LICENSE.txt +5 -0
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light-panelless.js +156 -0
- package/themes/borderless-light-panelless.js.map +1 -0
- package/themes/borderless-light-panelless.min.js +2 -0
- package/themes/borderless-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/borderless-light.min.js.LICENSE.txt +5 -0
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-dark.min.js.LICENSE.txt +5 -0
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/contrast-light.min.js.LICENSE.txt +5 -0
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +5 -0
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +5 -0
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-dark.min.js.LICENSE.txt +5 -0
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +5 -0
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/doubleborder-light.min.js.LICENSE.txt +5 -0
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-dark.min.js.LICENSE.txt +5 -0
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/flat-light.min.js.LICENSE.txt +5 -0
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/index.min.js.LICENSE.txt +5 -0
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-dark.min.js.LICENSE.txt +5 -0
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/layered-light.min.js.LICENSE.txt +5 -0
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-dark.min.js.LICENSE.txt +5 -0
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/plain-light.min.js.LICENSE.txt +5 -0
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-dark.min.js.LICENSE.txt +5 -0
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/sharp-light.min.js.LICENSE.txt +5 -0
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-dark.min.js.LICENSE.txt +5 -0
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/solid-light.min.js.LICENSE.txt +5 -0
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +5 -0
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-dark.min.js.LICENSE.txt +5 -0
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +5 -0
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/themes/three-dimensional-light.min.js.LICENSE.txt +5 -0
- package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +2 -1
- package/ts3.4/typings/packages/survey-core/src/panel.d.ts +2 -1
- package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +26 -7
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +16 -5
- package/ts3.4/typings/packages/survey-core/src/textPreProcessor.d.ts +1 -0
- package/typings/entries/chunks/core-wo-model.d.ts +10 -0
- package/typings/entries/chunks/model.d.ts +95 -95
- package/typings/entries/index.d.ts +2 -0
- package/typings/packages/survey-core/src/base-interfaces.d.ts +2 -1
- package/typings/packages/survey-core/src/panel.d.ts +2 -1
- package/typings/packages/survey-core/src/question_custom.d.ts +3 -0
- package/typings/packages/survey-core/src/survey-events-api.d.ts +26 -7
- package/typings/packages/survey-core/src/survey.d.ts +16 -5
- package/typings/packages/survey-core/src/textPreProcessor.d.ts +1 -0
- package/typings/src/actions/action.d.ts +300 -0
- package/typings/src/actions/adaptive-container.d.ts +29 -0
- package/typings/src/actions/container.d.ts +59 -0
- package/typings/src/base-interfaces.d.ts +366 -0
- package/typings/src/base.d.ts +333 -0
- package/typings/src/calculatedValue.d.ts +49 -0
- package/typings/src/choicesRestful.d.ts +177 -0
- package/typings/src/conditionProcessValue.d.ts +25 -0
- package/typings/src/conditions.d.ts +98 -0
- package/typings/src/conditionsParser.d.ts +14 -0
- package/typings/src/console-warnings.d.ts +6 -0
- package/typings/src/defaultCss/defaultCss.d.ts +873 -0
- package/typings/src/defaultTitle.d.ts +3 -0
- package/typings/src/dragdrop/choices.d.ts +21 -0
- package/typings/src/dragdrop/core.d.ts +55 -0
- package/typings/src/dragdrop/dom-adapter.d.ts +49 -0
- package/typings/src/dragdrop/engine.d.ts +6 -0
- package/typings/src/dragdrop/matrix-rows.d.ts +19 -0
- package/typings/src/dragdrop/ranking-choices.d.ts +26 -0
- package/typings/src/dragdrop/ranking-select-to-rank.d.ts +17 -0
- package/typings/src/dropdownListModel.d.ts +97 -0
- package/typings/src/dropdownMultiSelectListModel.d.ts +37 -0
- package/typings/src/dxSurveyService.d.ts +18 -0
- package/typings/src/element-helper.d.ts +8 -0
- package/typings/src/error.d.ts +81 -0
- package/typings/src/expressionItems.d.ts +57 -0
- package/typings/src/expressions/expressionParser.d.ts +54 -0
- package/typings/src/expressions/expressions.d.ts +135 -0
- package/typings/src/flowpanel.d.ts +34 -0
- package/typings/src/functionsfactory.d.ts +14 -0
- package/typings/src/global_variables_utils.d.ts +30 -0
- package/typings/src/header.d.ts +87 -0
- package/typings/src/helpers.d.ts +44 -0
- package/typings/src/itemvalue.d.ts +93 -0
- package/typings/src/jsonobject.d.ts +378 -0
- package/typings/src/list.d.ts +144 -0
- package/typings/src/localizablestring.d.ts +125 -0
- package/typings/src/localization/english.d.ts +109 -0
- package/typings/src/martixBase.d.ts +133 -0
- package/typings/src/mask/input_element_adapter.d.ts +16 -0
- package/typings/src/mask/mask_base.d.ts +29 -0
- package/typings/src/mask/mask_currency.d.ts +41 -0
- package/typings/src/mask/mask_datetime.d.ts +91 -0
- package/typings/src/mask/mask_numeric.d.ts +90 -0
- package/typings/src/mask/mask_pattern.d.ts +78 -0
- package/typings/src/mask/mask_utils.d.ts +20 -0
- package/typings/src/multiSelectListModel.d.ts +17 -0
- package/typings/src/notifier.d.ts +30 -0
- package/typings/src/page.d.ts +133 -0
- package/typings/src/panel-layout-column.d.ts +9 -0
- package/typings/src/panel.d.ts +633 -0
- package/typings/src/popup-dropdown-view-model.d.ts +35 -0
- package/typings/src/popup-modal-view-model.d.ts +16 -0
- package/typings/src/popup-survey.d.ts +132 -0
- package/typings/src/popup-utils.d.ts +4 -0
- package/typings/src/popup-view-model.d.ts +81 -0
- package/typings/src/popup.d.ts +66 -0
- package/typings/src/progress-buttons.d.ts +44 -0
- package/typings/src/question.d.ts +949 -0
- package/typings/src/questionCustomWidgets.d.ts +46 -0
- package/typings/src/question_baseselect.d.ts +547 -0
- package/typings/src/question_boolean.d.ts +116 -0
- package/typings/src/question_buttongroup.d.ts +51 -0
- package/typings/src/question_checkbox.d.ts +158 -0
- package/typings/src/question_comment.d.ts +59 -0
- package/typings/src/question_custom.d.ts +454 -0
- package/typings/src/question_dropdown.d.ts +156 -0
- package/typings/src/question_empty.d.ts +8 -0
- package/typings/src/question_expression.d.ts +110 -0
- package/typings/src/question_file.d.ts +303 -0
- package/typings/src/question_html.d.ts +26 -0
- package/typings/src/question_image.d.ts +86 -0
- package/typings/src/question_imagepicker.d.ts +168 -0
- package/typings/src/question_matrix.d.ts +198 -0
- package/typings/src/question_matrixdropdown.d.ts +56 -0
- package/typings/src/question_matrixdropdownbase.d.ts +572 -0
- package/typings/src/question_matrixdropdowncolumn.d.ts +344 -0
- package/typings/src/question_matrixdropdownrendered.d.ts +171 -0
- package/typings/src/question_matrixdynamic.d.ts +299 -0
- package/typings/src/question_multipletext.d.ts +361 -0
- package/typings/src/question_paneldynamic.d.ts +719 -0
- package/typings/src/question_radiogroup.d.ts +40 -0
- package/typings/src/question_ranking.d.ts +135 -0
- package/typings/src/question_rating.d.ts +300 -0
- package/typings/src/question_signaturepad.d.ts +149 -0
- package/typings/src/question_tagbox.d.ts +98 -0
- package/typings/src/question_text.d.ts +206 -0
- package/typings/src/question_textbase.d.ts +62 -0
- package/typings/src/questionfactory.d.ts +27 -0
- package/typings/src/questionnonvalue.d.ts +22 -0
- package/typings/src/rendererFactory.d.ts +11 -0
- package/typings/src/settings.d.ts +641 -0
- package/typings/src/survey-element.d.ts +471 -0
- package/typings/src/survey-error.d.ts +18 -0
- package/typings/src/survey-events-api.d.ts +1152 -0
- package/typings/src/survey.d.ts +3126 -0
- package/typings/src/surveyProgress.d.ts +4 -0
- package/typings/src/surveyStrings.d.ts +151 -0
- package/typings/src/surveyTaskManager.d.ts +16 -0
- package/typings/src/surveyTimerModel.d.ts +47 -0
- package/typings/src/surveyToc.d.ts +23 -0
- package/typings/src/surveytimer.d.ts +22 -0
- package/typings/src/svgbundle.d.ts +23 -0
- package/typings/src/template-renderer.d.ts +10 -0
- package/typings/src/textPreProcessor.d.ts +43 -0
- package/typings/src/themes.d.ts +222 -0
- package/typings/src/trigger.d.ts +155 -0
- package/typings/src/utils/animation.d.ts +91 -0
- package/typings/src/utils/camera.d.ts +27 -0
- package/typings/src/utils/cssClassBuilder.d.ts +6 -0
- package/typings/src/utils/devices.d.ts +12 -0
- package/typings/src/utils/dragOrClickHelper.d.ts +16 -0
- package/typings/src/utils/popup.d.ts +45 -0
- package/typings/src/utils/responsivity-manager.d.ts +31 -0
- package/typings/src/utils/taskmanager.d.ts +28 -0
- package/typings/src/utils/text-area.d.ts +58 -0
- package/typings/src/utils/utils.d.ts +86 -0
- package/typings/src/validator.d.ts +204 -0
|
@@ -168,7 +168,8 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
168
168
|
dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
|
|
169
169
|
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
|
|
170
170
|
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
|
171
|
-
dynamicPanelItemValueChanged(question: IQuestion, options: any):
|
|
171
|
+
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
172
|
+
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
172
173
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
|
|
173
174
|
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
174
175
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
@@ -122,7 +122,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
122
122
|
questionsOrder: string;
|
|
123
123
|
private canRandomize;
|
|
124
124
|
protected isRandomizing: boolean;
|
|
125
|
-
randomizeElements(isRandom: boolean):
|
|
125
|
+
randomizeElements(isRandom: boolean): boolean;
|
|
126
126
|
/*
|
|
127
127
|
* Returns `true` if elements in this panel/page are arranged in random order.
|
|
128
128
|
* @see questionsOrder
|
|
@@ -254,6 +254,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
254
254
|
protected getContainsErrors(): boolean;
|
|
255
255
|
updateElementVisibility(): void;
|
|
256
256
|
getFirstQuestionToFocus(withError?: boolean, ignoreCollapseState?: boolean): Question;
|
|
257
|
+
getFirstVisibleQuestion(): Question;
|
|
257
258
|
/**
|
|
258
259
|
* Focuses the first question in this panel/page.
|
|
259
260
|
* @see focusFirstErrorQuestion
|
|
@@ -434,6 +434,9 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
434
434
|
protected getQuestionByName(name: string): IQuestion;
|
|
435
435
|
private settingNewValue;
|
|
436
436
|
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
|
|
437
|
+
setComment(name: string, newValue: string, locNotification: any): any;
|
|
438
|
+
getComment(name: string): string;
|
|
439
|
+
private getCommentName;
|
|
437
440
|
private runPanelTriggers;
|
|
438
441
|
getFilteredValues(): any;
|
|
439
442
|
private updateValueCoreWithPanelValue;
|
|
@@ -181,7 +181,7 @@ export interface CurrentPageChangedEvent {
|
|
|
181
181
|
*/
|
|
182
182
|
isNextPage: boolean;
|
|
183
183
|
/**
|
|
184
|
-
* Returns `true` if the respondent is going backward, that is, `newCurrentPage` is earlier in the survey than `oldCurrentPage`.
|
|
184
|
+
* Returns `true` if the respondent is going backward, that is, `newCurrentPage` or `newCurrentQuestion` is earlier in the survey than `oldCurrentPage` or `oldCurrentQuestion`.
|
|
185
185
|
*/
|
|
186
186
|
isGoingBackward: boolean;
|
|
187
187
|
/**
|
|
@@ -197,9 +197,20 @@ export interface CurrentPageChangedEvent {
|
|
|
197
197
|
*/
|
|
198
198
|
newCurrentPage: PageModel;
|
|
199
199
|
/**
|
|
200
|
-
* A page that used to be current
|
|
200
|
+
* A page that used to be current.\
|
|
201
|
+
* In [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode), the `oldCurrentPage` and `newCurrentPage` parameters may contain the same `PageModel` instance. This is because the survey doesn't create artificial pages to display only one question per page. If both the previous and current questions belong to the same page in the survey JSON schema, they have the same parent `PageModel` instance.
|
|
201
202
|
*/
|
|
202
203
|
oldCurrentPage: PageModel;
|
|
204
|
+
/**
|
|
205
|
+
* The current question.\
|
|
206
|
+
* This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
|
|
207
|
+
*/
|
|
208
|
+
oldCurrentQuestion?: Question;
|
|
209
|
+
/**
|
|
210
|
+
* A question that used to be current.\
|
|
211
|
+
* This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
|
|
212
|
+
*/
|
|
213
|
+
newCurrentQuestion?: Question;
|
|
203
214
|
}
|
|
204
215
|
export interface CurrentPageChangingEvent extends CurrentPageChangedEvent {
|
|
205
216
|
/**
|
|
@@ -891,7 +902,7 @@ export interface TimerPanelInfoTextEvent {
|
|
|
891
902
|
*/
|
|
892
903
|
text: string;
|
|
893
904
|
}
|
|
894
|
-
export interface
|
|
905
|
+
export interface DynamicPanelValueChangedEvent extends PanelDynamicQuestionEventMixin {
|
|
895
906
|
/**
|
|
896
907
|
* The panel's data object that includes all item values.
|
|
897
908
|
*/
|
|
@@ -902,10 +913,6 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
|
|
|
902
913
|
* The panel's index within Dynamic Panel.
|
|
903
914
|
*/
|
|
904
915
|
panelIndex: number;
|
|
905
|
-
/**
|
|
906
|
-
* The item's new value.
|
|
907
|
-
*/
|
|
908
|
-
value: any;
|
|
909
916
|
/**
|
|
910
917
|
* The item's name.
|
|
911
918
|
*/
|
|
@@ -914,6 +921,18 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
|
|
|
914
921
|
* A panel that nests the item with a changed value.
|
|
915
922
|
*/
|
|
916
923
|
panel: PanelModel;
|
|
924
|
+
/**
|
|
925
|
+
* The item's new value.
|
|
926
|
+
*/
|
|
927
|
+
value: any;
|
|
928
|
+
}
|
|
929
|
+
export interface DynamicPanelValueChangingEvent extends DynamicPanelValueChangedEvent {
|
|
930
|
+
/**
|
|
931
|
+
* The item's old value.
|
|
932
|
+
*/
|
|
933
|
+
oldValue: any;
|
|
934
|
+
}
|
|
935
|
+
export interface DynamicPanelItemValueChangedEvent extends DynamicPanelValueChangedEvent {
|
|
917
936
|
}
|
|
918
937
|
export interface DynamicPanelCurrentIndexChangedEvent extends PanelDynamicQuestionEventMixin {
|
|
919
938
|
/**
|
|
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
|
|
|
18
18
|
import { ActionContainer } from "./actions/container";
|
|
19
19
|
import { QuestionPanelDynamicModel } from "./question_paneldynamic";
|
|
20
20
|
import { Notifier } from "./notifier";
|
|
21
|
-
import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
|
|
21
|
+
import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelValueChangingEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
|
|
22
22
|
import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
|
|
23
23
|
import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
|
|
24
24
|
import { QuestionFileModel } from "./question_file";
|
|
@@ -139,7 +139,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
139
139
|
*
|
|
140
140
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
141
141
|
*
|
|
142
|
-
* To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`
|
|
142
|
+
* To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event.
|
|
143
143
|
* @see setValue
|
|
144
144
|
*/
|
|
145
145
|
onValueChanged: EventBase<SurveyModel, ValueChangedEvent>;
|
|
@@ -667,9 +667,17 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
667
667
|
onTimer: EventBase<SurveyModel, {}>;
|
|
668
668
|
onTimerPanelInfoText: EventBase<SurveyModel, any>;
|
|
669
669
|
/**
|
|
670
|
-
* An event that is raised after
|
|
670
|
+
* An event that is raised after a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
|
|
671
|
+
*/
|
|
672
|
+
onDynamicPanelValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
|
|
673
|
+
/**
|
|
674
|
+
* @deprecated Use the [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event instead.
|
|
671
675
|
*/
|
|
672
676
|
onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
|
|
677
|
+
/**
|
|
678
|
+
* An event that is raised before a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
|
|
679
|
+
*/
|
|
680
|
+
onDynamicPanelValueChanging: EventBase<SurveyModel, DynamicPanelValueChangingEvent>;
|
|
673
681
|
/**
|
|
674
682
|
* An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
|
|
675
683
|
*
|
|
@@ -1822,7 +1830,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1822
1830
|
mergeValues(src: any, dest: any): void;
|
|
1823
1831
|
private updateValuesWithDefaults;
|
|
1824
1832
|
protected updateCustomWidgets(page: PageModel): void;
|
|
1825
|
-
protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
|
|
1833
|
+
protected currentPageChanging(newValue: PageModel, oldValue: PageModel, newQuestion?: Question, oldQuestion?: Question): boolean;
|
|
1834
|
+
private currentPageChangingFromOptions;
|
|
1826
1835
|
protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
|
|
1827
1836
|
private notifyQuestionsOnHidingContent;
|
|
1828
1837
|
private createPageChangeEventOptions;
|
|
@@ -1915,6 +1924,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1915
1924
|
performNext(): boolean;
|
|
1916
1925
|
performPrevious(): boolean;
|
|
1917
1926
|
private hasErrorsOnNavigate;
|
|
1927
|
+
private canGoTroughValidation;
|
|
1918
1928
|
private asyncValidationQuesitons;
|
|
1919
1929
|
private checkForAsyncQuestionValidation;
|
|
1920
1930
|
private clearAsyncValidationQuesitons;
|
|
@@ -2027,7 +2037,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2027
2037
|
* Possible values:
|
|
2028
2038
|
*
|
|
2029
2039
|
* - `"singlePage"` - Combines all survey pages into a single page.
|
|
2030
|
-
* - `"questionPerPage"` -
|
|
2040
|
+
* - `"questionPerPage"` - Displays each question on a separate page.
|
|
2031
2041
|
* - `"standard"` (default) - Retains the original structure specified in the JSON schema.
|
|
2032
2042
|
*/
|
|
2033
2043
|
questionsOnPageMode: string;
|
|
@@ -2233,6 +2243,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2233
2243
|
private hasQuestionVisibleIndeces;
|
|
2234
2244
|
dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
|
|
2235
2245
|
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
2246
|
+
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
2236
2247
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
|
|
2237
2248
|
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
2238
2249
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
@@ -21,6 +21,7 @@ export declare class TextPreProcessor {
|
|
|
21
21
|
processValue(name: string, returnDisplayValue: boolean): TextPreProcessorValue;
|
|
22
22
|
readonly hasAllValuesOnLastRun: boolean;
|
|
23
23
|
private getItems;
|
|
24
|
+
private isValidItemName;
|
|
24
25
|
private getName;
|
|
25
26
|
}
|
|
26
27
|
export declare class QuestionTextProcessor implements ITextProcessor {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./model";
|
|
2
|
+
export * from "../../src/svgbundle";
|
|
3
|
+
export * from "../../src/rendererFactory";
|
|
4
|
+
export * from "../../src/utils/responsivity-manager";
|
|
5
|
+
export { unwrap, getOriginalEvent, getElement, activateLazyRenderingChecks } from "../../src/utils/utils";
|
|
6
|
+
export * from "../../src/actions/action";
|
|
7
|
+
export * from "../../src/utils/animation";
|
|
8
|
+
export * from "../../src/actions/adaptive-container";
|
|
9
|
+
export * from "../../src/actions/container";
|
|
10
|
+
export * from "../../src/utils/dragOrClickHelper";
|
|
@@ -4,98 +4,98 @@ export declare function checkLibraryVersion(ver: string, libraryName: string): v
|
|
|
4
4
|
export declare function setLicenseKey(key: string): void;
|
|
5
5
|
export declare function slk(key: string): void;
|
|
6
6
|
export declare function hasLicense(index: number): boolean;
|
|
7
|
-
export { settings, ISurveyEnvironment } from "../../settings";
|
|
8
|
-
export { Helpers, HashTable } from "../../helpers";
|
|
9
|
-
export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../validator";
|
|
10
|
-
export { ItemValue } from "../../itemvalue";
|
|
11
|
-
export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../base";
|
|
12
|
-
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions, ISaveToJSONOptions, HorizontalAlignment, VerticalAlignment } from "../../base-interfaces";
|
|
13
|
-
export { SurveyError } from "../../survey-error";
|
|
14
|
-
export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../survey-element";
|
|
15
|
-
export { CalculatedValue } from "../../calculatedValue";
|
|
16
|
-
export { CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError } from "../../error";
|
|
17
|
-
export { ILocalizableOwner, ILocalizableString, LocalizableString, LocalizableStrings } from "../../localizablestring";
|
|
18
|
-
export { HtmlConditionItem, UrlConditionItem } from "../../expressionItems";
|
|
19
|
-
export { ChoicesRestful, ChoicesRestfull } from "../../choicesRestful";
|
|
20
|
-
export { FunctionFactory, registerFunction } from "../../functionsfactory";
|
|
21
|
-
export { ConditionRunner, ExpressionRunner, IExpresionExecutor, ExpressionExecutor } from "../../conditions";
|
|
22
|
-
export { Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand } from "../../expressions/expressions";
|
|
23
|
-
export { ConditionsParser } from "../../conditionsParser";
|
|
24
|
-
export { ProcessValue } from "../../conditionProcessValue";
|
|
25
|
-
export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, IJsonPropertyInfo, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "../../jsonobject";
|
|
26
|
-
export { IMatrixDropdownData, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "../../question_matrixdropdownbase";
|
|
27
|
-
export { MatrixDropdownColumn, matrixDropdownColumnTypes } from "../../question_matrixdropdowncolumn";
|
|
28
|
-
export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable } from "../../question_matrixdropdownrendered";
|
|
29
|
-
export { MatrixDropdownRowModel, QuestionMatrixDropdownModel } from "../../question_matrixdropdown";
|
|
30
|
-
export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "../../question_matrixdynamic";
|
|
31
|
-
export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "../../question_matrix";
|
|
32
|
-
export { QuestionMatrixBaseModel } from "../../martixBase";
|
|
33
|
-
export { MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel } from "../../question_multipletext";
|
|
34
|
-
export { PanelModel, PanelModelBase, QuestionRowModel } from "../../panel";
|
|
35
|
-
export { FlowPanelModel } from "../../flowpanel";
|
|
36
|
-
export { PageModel } from "../../page";
|
|
37
|
-
export * from "../../template-renderer";
|
|
38
|
-
export { DefaultTitleModel } from "../../defaultTitle";
|
|
39
|
-
export { Question } from "../../question";
|
|
40
|
-
export { QuestionNonValue } from "../../questionnonvalue";
|
|
41
|
-
export { QuestionEmptyModel } from "../../question_empty";
|
|
42
|
-
export { QuestionCheckboxBase, QuestionSelectBase } from "../../question_baseselect";
|
|
43
|
-
export { QuestionCheckboxModel } from "../../question_checkbox";
|
|
44
|
-
export { QuestionTagboxModel } from "../../question_tagbox";
|
|
45
|
-
export { QuestionRankingModel } from "../../question_ranking";
|
|
46
|
-
export { QuestionCommentModel } from "../../question_comment";
|
|
47
|
-
export { QuestionDropdownModel } from "../../question_dropdown";
|
|
48
|
-
export { QuestionFactory, ElementFactory } from "../../questionfactory";
|
|
49
|
-
export { QuestionFileModel } from "../../question_file";
|
|
50
|
-
export { QuestionHtmlModel } from "../../question_html";
|
|
51
|
-
export { QuestionRadiogroupModel } from "../../question_radiogroup";
|
|
52
|
-
export { QuestionRatingModel, RenderedRatingItem } from "../../question_rating";
|
|
53
|
-
export { QuestionExpressionModel } from "../../question_expression";
|
|
54
|
-
export { QuestionTextBase, CharacterCounter } from "../../question_textbase";
|
|
55
|
-
export { QuestionTextModel } from "../../question_text";
|
|
56
|
-
export { QuestionBooleanModel } from "../../question_boolean";
|
|
57
|
-
export { QuestionImagePickerModel, ImageItemValue } from "../../question_imagepicker";
|
|
58
|
-
export { QuestionImageModel } from "../../question_image";
|
|
59
|
-
export { QuestionSignaturePadModel } from "../../question_signaturepad";
|
|
60
|
-
export { QuestionPanelDynamicModel, QuestionPanelDynamicItem } from "../../question_paneldynamic";
|
|
61
|
-
export { SurveyTimer } from "../../surveytimer";
|
|
62
|
-
export { SurveyTimerModel } from "../../surveyTimerModel";
|
|
63
|
-
export * from "../../surveyToc";
|
|
64
|
-
export { SurveyProgressModel } from "../../surveyProgress";
|
|
65
|
-
export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "../../progress-buttons";
|
|
66
|
-
export * from "../../themes";
|
|
67
|
-
export { SurveyModel } from "../../survey";
|
|
68
|
-
export * from "../../survey-events-api";
|
|
69
|
-
export { SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger } from "../../trigger";
|
|
70
|
-
export { PopupSurveyModel, SurveyWindowModel } from "../../popup-survey";
|
|
71
|
-
export { TextPreProcessor } from "../../textPreProcessor";
|
|
72
|
-
export { Notifier } from "../../notifier";
|
|
73
|
-
export { Cover, CoverCell } from "../../header";
|
|
74
|
-
export { dxSurveyService } from "../../dxSurveyService";
|
|
75
|
-
export { englishStrings } from "../../localization/english";
|
|
76
|
-
export { surveyLocalization, surveyStrings } from "../../surveyStrings";
|
|
77
|
-
export { QuestionCustomWidget, CustomWidgetCollection, } from "../../questionCustomWidgets";
|
|
78
|
-
export { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ICustomQuestionTypeConfiguration } from "../../question_custom";
|
|
79
|
-
export {
|
|
80
|
-
export {
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
85
|
-
export {
|
|
86
|
-
export {
|
|
87
|
-
export {
|
|
88
|
-
export {
|
|
89
|
-
export {
|
|
90
|
-
export {
|
|
91
|
-
export {
|
|
92
|
-
export {
|
|
93
|
-
export {
|
|
94
|
-
export {
|
|
95
|
-
export {
|
|
96
|
-
export
|
|
97
|
-
export * from "../../utils/
|
|
98
|
-
export { surveyCss,
|
|
99
|
-
export { DragDropCore } from "../../dragdrop/core";
|
|
100
|
-
export { DragDropChoices } from "../../dragdrop/choices";
|
|
101
|
-
export { DragDropRankingSelectToRank } from "../../dragdrop/ranking-select-to-rank";
|
|
7
|
+
export { settings, ISurveyEnvironment } from "../../src/settings";
|
|
8
|
+
export { Helpers, HashTable } from "../../src/helpers";
|
|
9
|
+
export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../src/validator";
|
|
10
|
+
export { ItemValue } from "../../src/itemvalue";
|
|
11
|
+
export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../src/base";
|
|
12
|
+
export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions, ISaveToJSONOptions, HorizontalAlignment, VerticalAlignment } from "../../src/base-interfaces";
|
|
13
|
+
export { SurveyError } from "../../src/survey-error";
|
|
14
|
+
export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../src/survey-element";
|
|
15
|
+
export { CalculatedValue } from "../../src/calculatedValue";
|
|
16
|
+
export { CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError } from "../../src/error";
|
|
17
|
+
export { ILocalizableOwner, ILocalizableString, LocalizableString, LocalizableStrings } from "../../src/localizablestring";
|
|
18
|
+
export { HtmlConditionItem, UrlConditionItem } from "../../src/expressionItems";
|
|
19
|
+
export { ChoicesRestful, ChoicesRestfull } from "../../src/choicesRestful";
|
|
20
|
+
export { FunctionFactory, registerFunction } from "../../src/functionsfactory";
|
|
21
|
+
export { ConditionRunner, ExpressionRunner, IExpresionExecutor, ExpressionExecutor } from "../../src/conditions";
|
|
22
|
+
export { Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand } from "../../src/expressions/expressions";
|
|
23
|
+
export { ConditionsParser } from "../../src/conditionsParser";
|
|
24
|
+
export { ProcessValue } from "../../src/conditionProcessValue";
|
|
25
|
+
export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, IJsonPropertyInfo, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "../../src/jsonobject";
|
|
26
|
+
export { IMatrixDropdownData, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "../../src/question_matrixdropdownbase";
|
|
27
|
+
export { MatrixDropdownColumn, matrixDropdownColumnTypes } from "../../src/question_matrixdropdowncolumn";
|
|
28
|
+
export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable } from "../../src/question_matrixdropdownrendered";
|
|
29
|
+
export { MatrixDropdownRowModel, QuestionMatrixDropdownModel } from "../../src/question_matrixdropdown";
|
|
30
|
+
export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "../../src/question_matrixdynamic";
|
|
31
|
+
export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "../../src/question_matrix";
|
|
32
|
+
export { QuestionMatrixBaseModel } from "../../src/martixBase";
|
|
33
|
+
export { MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel } from "../../src/question_multipletext";
|
|
34
|
+
export { PanelModel, PanelModelBase, QuestionRowModel } from "../../src/panel";
|
|
35
|
+
export { FlowPanelModel } from "../../src/flowpanel";
|
|
36
|
+
export { PageModel } from "../../src/page";
|
|
37
|
+
export * from "../../src/template-renderer";
|
|
38
|
+
export { DefaultTitleModel } from "../../src/defaultTitle";
|
|
39
|
+
export { Question } from "../../src/question";
|
|
40
|
+
export { QuestionNonValue } from "../../src/questionnonvalue";
|
|
41
|
+
export { QuestionEmptyModel } from "../../src/question_empty";
|
|
42
|
+
export { QuestionCheckboxBase, QuestionSelectBase } from "../../src/question_baseselect";
|
|
43
|
+
export { QuestionCheckboxModel } from "../../src/question_checkbox";
|
|
44
|
+
export { QuestionTagboxModel } from "../../src/question_tagbox";
|
|
45
|
+
export { QuestionRankingModel } from "../../src/question_ranking";
|
|
46
|
+
export { QuestionCommentModel } from "../../src/question_comment";
|
|
47
|
+
export { QuestionDropdownModel } from "../../src/question_dropdown";
|
|
48
|
+
export { QuestionFactory, ElementFactory } from "../../src/questionfactory";
|
|
49
|
+
export { QuestionFileModel, QuestionFilePage } from "../../src/question_file";
|
|
50
|
+
export { QuestionHtmlModel } from "../../src/question_html";
|
|
51
|
+
export { QuestionRadiogroupModel } from "../../src/question_radiogroup";
|
|
52
|
+
export { QuestionRatingModel, RenderedRatingItem } from "../../src/question_rating";
|
|
53
|
+
export { QuestionExpressionModel } from "../../src/question_expression";
|
|
54
|
+
export { QuestionTextBase, CharacterCounter } from "../../src/question_textbase";
|
|
55
|
+
export { QuestionTextModel } from "../../src/question_text";
|
|
56
|
+
export { QuestionBooleanModel } from "../../src/question_boolean";
|
|
57
|
+
export { QuestionImagePickerModel, ImageItemValue } from "../../src/question_imagepicker";
|
|
58
|
+
export { QuestionImageModel } from "../../src/question_image";
|
|
59
|
+
export { QuestionSignaturePadModel } from "../../src/question_signaturepad";
|
|
60
|
+
export { QuestionPanelDynamicModel, QuestionPanelDynamicItem } from "../../src/question_paneldynamic";
|
|
61
|
+
export { SurveyTimer } from "../../src/surveytimer";
|
|
62
|
+
export { SurveyTimerModel } from "../../src/surveyTimerModel";
|
|
63
|
+
export * from "../../src/surveyToc";
|
|
64
|
+
export { SurveyProgressModel } from "../../src/surveyProgress";
|
|
65
|
+
export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "../../src/progress-buttons";
|
|
66
|
+
export * from "../../src/themes";
|
|
67
|
+
export { SurveyModel } from "../../src/survey";
|
|
68
|
+
export * from "../../src/survey-events-api";
|
|
69
|
+
export { SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger } from "../../src/trigger";
|
|
70
|
+
export { PopupSurveyModel, SurveyWindowModel } from "../../src/popup-survey";
|
|
71
|
+
export { TextPreProcessor } from "../../src/textPreProcessor";
|
|
72
|
+
export { Notifier } from "../../src/notifier";
|
|
73
|
+
export { Cover, CoverCell } from "../../src/header";
|
|
74
|
+
export { dxSurveyService } from "../../src/dxSurveyService";
|
|
75
|
+
export { englishStrings } from "../../src/localization/english";
|
|
76
|
+
export { surveyLocalization, surveyStrings, getLocaleString, getLocaleStrings, setupLocale } from "../../src/surveyStrings";
|
|
77
|
+
export { QuestionCustomWidget, CustomWidgetCollection, } from "../../src/questionCustomWidgets";
|
|
78
|
+
export { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ICustomQuestionTypeConfiguration } from "../../src/question_custom";
|
|
79
|
+
export { ListModel } from "../../src/list";
|
|
80
|
+
export { MultiSelectListModel } from "../../src/multiSelectListModel";
|
|
81
|
+
export { PopupModel, IDialogOptions } from "../../src/popup";
|
|
82
|
+
export { PopupBaseViewModel } from "../../src/popup-view-model";
|
|
83
|
+
export { PopupDropdownViewModel } from "../../src/popup-dropdown-view-model";
|
|
84
|
+
export { PopupModalViewModel } from "../../src/popup-modal-view-model";
|
|
85
|
+
export { createPopupViewModel, createPopupModalViewModel } from "../../src/popup-utils";
|
|
86
|
+
export { DropdownListModel } from "../../src/dropdownListModel";
|
|
87
|
+
export { DropdownMultiSelectListModel } from "../../src/dropdownMultiSelectListModel";
|
|
88
|
+
export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "../../src/question_buttongroup";
|
|
89
|
+
export { IsMobile, IsTouch, _setIsTouch } from "../../src/utils/devices";
|
|
90
|
+
export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, IAttachKey2clickOptions, renamedIcons, getIconNameFromProxy } from "../../src/utils/utils";
|
|
91
|
+
export { InputMaskBase } from "../../src/mask/mask_base";
|
|
92
|
+
export { InputMaskPattern } from "../../src/mask/mask_pattern";
|
|
93
|
+
export { InputMaskNumeric } from "../../src/mask/mask_numeric";
|
|
94
|
+
export { InputMaskDateTime } from "../../src/mask/mask_datetime";
|
|
95
|
+
export { InputMaskCurrency } from "../../src/mask/mask_currency";
|
|
96
|
+
export * from "../../src/utils/cssClassBuilder";
|
|
97
|
+
export * from "../../src/utils/text-area";
|
|
98
|
+
export { surveyCss, defaultCss, defaultThemeName } from "../../src/defaultCss/defaultCss";
|
|
99
|
+
export { DragDropCore } from "../../src/dragdrop/core";
|
|
100
|
+
export { DragDropChoices } from "../../src/dragdrop/choices";
|
|
101
|
+
export { DragDropRankingSelectToRank } from "../../src/dragdrop/ranking-select-to-rank";
|
|
@@ -168,7 +168,8 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
168
168
|
dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
|
|
169
169
|
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
|
|
170
170
|
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
|
171
|
-
dynamicPanelItemValueChanged(question: IQuestion, options: any):
|
|
171
|
+
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
172
|
+
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
172
173
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
|
|
173
174
|
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
174
175
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
@@ -128,7 +128,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
128
128
|
set questionsOrder(val: string);
|
|
129
129
|
private canRandomize;
|
|
130
130
|
protected isRandomizing: boolean;
|
|
131
|
-
randomizeElements(isRandom: boolean):
|
|
131
|
+
randomizeElements(isRandom: boolean): boolean;
|
|
132
132
|
/**
|
|
133
133
|
* Returns `true` if elements in this panel/page are arranged in random order.
|
|
134
134
|
* @see questionsOrder
|
|
@@ -265,6 +265,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
265
265
|
protected getContainsErrors(): boolean;
|
|
266
266
|
updateElementVisibility(): void;
|
|
267
267
|
getFirstQuestionToFocus(withError?: boolean, ignoreCollapseState?: boolean): Question;
|
|
268
|
+
getFirstVisibleQuestion(): Question;
|
|
268
269
|
/**
|
|
269
270
|
* Focuses the first question in this panel/page.
|
|
270
271
|
* @see focusFirstErrorQuestion
|
|
@@ -434,6 +434,9 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
|
|
|
434
434
|
protected getQuestionByName(name: string): IQuestion;
|
|
435
435
|
private settingNewValue;
|
|
436
436
|
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
|
|
437
|
+
setComment(name: string, newValue: string, locNotification: any): any;
|
|
438
|
+
getComment(name: string): string;
|
|
439
|
+
private getCommentName;
|
|
437
440
|
private runPanelTriggers;
|
|
438
441
|
getFilteredValues(): any;
|
|
439
442
|
private updateValueCoreWithPanelValue;
|
|
@@ -181,7 +181,7 @@ export interface CurrentPageChangedEvent {
|
|
|
181
181
|
*/
|
|
182
182
|
isNextPage: boolean;
|
|
183
183
|
/**
|
|
184
|
-
* Returns `true` if the respondent is going backward, that is, `newCurrentPage` is earlier in the survey than `oldCurrentPage`.
|
|
184
|
+
* Returns `true` if the respondent is going backward, that is, `newCurrentPage` or `newCurrentQuestion` is earlier in the survey than `oldCurrentPage` or `oldCurrentQuestion`.
|
|
185
185
|
*/
|
|
186
186
|
isGoingBackward: boolean;
|
|
187
187
|
/**
|
|
@@ -197,9 +197,20 @@ export interface CurrentPageChangedEvent {
|
|
|
197
197
|
*/
|
|
198
198
|
newCurrentPage: PageModel;
|
|
199
199
|
/**
|
|
200
|
-
* A page that used to be current
|
|
200
|
+
* A page that used to be current.\
|
|
201
|
+
* In [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode), the `oldCurrentPage` and `newCurrentPage` parameters may contain the same `PageModel` instance. This is because the survey doesn't create artificial pages to display only one question per page. If both the previous and current questions belong to the same page in the survey JSON schema, they have the same parent `PageModel` instance.
|
|
201
202
|
*/
|
|
202
203
|
oldCurrentPage: PageModel;
|
|
204
|
+
/**
|
|
205
|
+
* The current question.\
|
|
206
|
+
* This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
|
|
207
|
+
*/
|
|
208
|
+
oldCurrentQuestion?: Question;
|
|
209
|
+
/**
|
|
210
|
+
* A question that used to be current.\
|
|
211
|
+
* This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
|
|
212
|
+
*/
|
|
213
|
+
newCurrentQuestion?: Question;
|
|
203
214
|
}
|
|
204
215
|
export interface CurrentPageChangingEvent extends CurrentPageChangedEvent {
|
|
205
216
|
/**
|
|
@@ -891,7 +902,7 @@ export interface TimerPanelInfoTextEvent {
|
|
|
891
902
|
*/
|
|
892
903
|
text: string;
|
|
893
904
|
}
|
|
894
|
-
export interface
|
|
905
|
+
export interface DynamicPanelValueChangedEvent extends PanelDynamicQuestionEventMixin {
|
|
895
906
|
/**
|
|
896
907
|
* The panel's data object that includes all item values.
|
|
897
908
|
*/
|
|
@@ -902,10 +913,6 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
|
|
|
902
913
|
* The panel's index within Dynamic Panel.
|
|
903
914
|
*/
|
|
904
915
|
panelIndex: number;
|
|
905
|
-
/**
|
|
906
|
-
* The item's new value.
|
|
907
|
-
*/
|
|
908
|
-
value: any;
|
|
909
916
|
/**
|
|
910
917
|
* The item's name.
|
|
911
918
|
*/
|
|
@@ -914,6 +921,18 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
|
|
|
914
921
|
* A panel that nests the item with a changed value.
|
|
915
922
|
*/
|
|
916
923
|
panel: PanelModel;
|
|
924
|
+
/**
|
|
925
|
+
* The item's new value.
|
|
926
|
+
*/
|
|
927
|
+
value: any;
|
|
928
|
+
}
|
|
929
|
+
export interface DynamicPanelValueChangingEvent extends DynamicPanelValueChangedEvent {
|
|
930
|
+
/**
|
|
931
|
+
* The item's old value.
|
|
932
|
+
*/
|
|
933
|
+
oldValue: any;
|
|
934
|
+
}
|
|
935
|
+
export interface DynamicPanelItemValueChangedEvent extends DynamicPanelValueChangedEvent {
|
|
917
936
|
}
|
|
918
937
|
export interface DynamicPanelCurrentIndexChangedEvent extends PanelDynamicQuestionEventMixin {
|
|
919
938
|
/**
|
|
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
|
|
|
18
18
|
import { ActionContainer } from "./actions/container";
|
|
19
19
|
import { QuestionPanelDynamicModel } from "./question_paneldynamic";
|
|
20
20
|
import { Notifier } from "./notifier";
|
|
21
|
-
import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
|
|
21
|
+
import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelValueChangingEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
|
|
22
22
|
import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
|
|
23
23
|
import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
|
|
24
24
|
import { QuestionFileModel } from "./question_file";
|
|
@@ -141,7 +141,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
141
141
|
*
|
|
142
142
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
143
143
|
*
|
|
144
|
-
* To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`
|
|
144
|
+
* To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event.
|
|
145
145
|
* @see setValue
|
|
146
146
|
*/
|
|
147
147
|
onValueChanged: EventBase<SurveyModel, ValueChangedEvent>;
|
|
@@ -669,9 +669,17 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
669
669
|
onTimer: EventBase<SurveyModel, {}>;
|
|
670
670
|
onTimerPanelInfoText: EventBase<SurveyModel, any>;
|
|
671
671
|
/**
|
|
672
|
-
* An event that is raised after
|
|
672
|
+
* An event that is raised after a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
|
|
673
|
+
*/
|
|
674
|
+
onDynamicPanelValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
|
|
675
|
+
/**
|
|
676
|
+
* @deprecated Use the [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event instead.
|
|
673
677
|
*/
|
|
674
678
|
onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
|
|
679
|
+
/**
|
|
680
|
+
* An event that is raised before a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
|
|
681
|
+
*/
|
|
682
|
+
onDynamicPanelValueChanging: EventBase<SurveyModel, DynamicPanelValueChangingEvent>;
|
|
675
683
|
/**
|
|
676
684
|
* An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
|
|
677
685
|
*
|
|
@@ -1903,7 +1911,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1903
1911
|
mergeValues(src: any, dest: any): void;
|
|
1904
1912
|
private updateValuesWithDefaults;
|
|
1905
1913
|
protected updateCustomWidgets(page: PageModel): void;
|
|
1906
|
-
protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
|
|
1914
|
+
protected currentPageChanging(newValue: PageModel, oldValue: PageModel, newQuestion?: Question, oldQuestion?: Question): boolean;
|
|
1915
|
+
private currentPageChangingFromOptions;
|
|
1907
1916
|
protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
|
|
1908
1917
|
private notifyQuestionsOnHidingContent;
|
|
1909
1918
|
private createPageChangeEventOptions;
|
|
@@ -1998,6 +2007,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1998
2007
|
performNext(): boolean;
|
|
1999
2008
|
performPrevious(): boolean;
|
|
2000
2009
|
private hasErrorsOnNavigate;
|
|
2010
|
+
private canGoTroughValidation;
|
|
2001
2011
|
private asyncValidationQuesitons;
|
|
2002
2012
|
private checkForAsyncQuestionValidation;
|
|
2003
2013
|
private clearAsyncValidationQuesitons;
|
|
@@ -2111,7 +2121,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2111
2121
|
* Possible values:
|
|
2112
2122
|
*
|
|
2113
2123
|
* - `"singlePage"` - Combines all survey pages into a single page.
|
|
2114
|
-
* - `"questionPerPage"` -
|
|
2124
|
+
* - `"questionPerPage"` - Displays each question on a separate page.
|
|
2115
2125
|
* - `"standard"` (default) - Retains the original structure specified in the JSON schema.
|
|
2116
2126
|
*/
|
|
2117
2127
|
get questionsOnPageMode(): string;
|
|
@@ -2321,6 +2331,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2321
2331
|
private hasQuestionVisibleIndeces;
|
|
2322
2332
|
dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
|
|
2323
2333
|
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
2334
|
+
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
2324
2335
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
|
|
2325
2336
|
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
2326
2337
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|