survey-core 1.12.21 → 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 +131 -46
- 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/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 +17 -6
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +11 -6
- 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/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 +17 -6
- package/typings/packages/survey-core/src/survey.d.ts +11 -6
- 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
package/i18n/urdu.js
CHANGED
package/i18n/urdu.min.js
CHANGED
package/i18n/vietnamese.js
CHANGED
package/i18n/vietnamese.min.js
CHANGED
package/i18n/welsh.js
CHANGED
package/i18n/welsh.min.js
CHANGED
package/icons/iconsV1.js
CHANGED
package/icons/iconsV1.min.js
CHANGED
package/icons/iconsV2.js
CHANGED
package/icons/iconsV2.min.js
CHANGED
package/modern.css
CHANGED
package/modern.fontless.css
CHANGED
package/modern.fontless.min.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.22
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -8795,6 +8795,8 @@ var base_Base = /** @class */ (function () {
|
|
|
8795
8795
|
* @param val A new value for the property.
|
|
8796
8796
|
*/
|
|
8797
8797
|
Base.prototype.setPropertyValue = function (name, val) {
|
|
8798
|
+
if (this.isDisposedValue)
|
|
8799
|
+
return;
|
|
8798
8800
|
if (!this.isLoadingFromJson) {
|
|
8799
8801
|
var prop = this.getPropertyByName(name);
|
|
8800
8802
|
if (!!prop) {
|
|
@@ -8811,9 +8813,11 @@ var base_Base = /** @class */ (function () {
|
|
|
8811
8813
|
}
|
|
8812
8814
|
}
|
|
8813
8815
|
else {
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
this.
|
|
8816
|
+
if (val !== oldValue) {
|
|
8817
|
+
this.setPropertyValueDirectly(name, val);
|
|
8818
|
+
if (!this.isTwoValueEquals(oldValue, val)) {
|
|
8819
|
+
this.propertyValueChanged(name, oldValue, val);
|
|
8820
|
+
}
|
|
8817
8821
|
}
|
|
8818
8822
|
}
|
|
8819
8823
|
};
|
|
@@ -22282,9 +22286,12 @@ var choicesRestful_ChoicesRestful = /** @class */ (function (_super) {
|
|
|
22282
22286
|
if (this.processedPath.indexOf(";") > -1) {
|
|
22283
22287
|
pathes = this.path.split(";");
|
|
22284
22288
|
}
|
|
22285
|
-
else {
|
|
22289
|
+
else if (this.processedPath.indexOf(",") > -1) {
|
|
22286
22290
|
pathes = this.processedPath.split(",");
|
|
22287
22291
|
}
|
|
22292
|
+
else {
|
|
22293
|
+
pathes = this.processedPath.split(".");
|
|
22294
|
+
}
|
|
22288
22295
|
if (pathes.length == 0)
|
|
22289
22296
|
pathes.push(this.processedPath);
|
|
22290
22297
|
return pathes;
|
|
@@ -22873,13 +22880,18 @@ var textPreProcessor_TextPreProcessor = /** @class */ (function () {
|
|
|
22873
22880
|
var item = new TextPreProcessorItem();
|
|
22874
22881
|
item.start = start;
|
|
22875
22882
|
item.end = i;
|
|
22876
|
-
|
|
22883
|
+
if (this.isValidItemName(text.substring(start + 1, i - 1))) {
|
|
22884
|
+
items.push(item);
|
|
22885
|
+
}
|
|
22877
22886
|
}
|
|
22878
22887
|
start = -1;
|
|
22879
22888
|
}
|
|
22880
22889
|
}
|
|
22881
22890
|
return items;
|
|
22882
22891
|
};
|
|
22892
|
+
TextPreProcessor.prototype.isValidItemName = function (name) {
|
|
22893
|
+
return !!name && name.indexOf(":") < 0;
|
|
22894
|
+
};
|
|
22883
22895
|
TextPreProcessor.prototype.getName = function (name) {
|
|
22884
22896
|
if (!name)
|
|
22885
22897
|
return;
|
|
@@ -23009,6 +23021,7 @@ var question_custom_extends = (undefined && undefined.__extends) || (function ()
|
|
|
23009
23021
|
|
|
23010
23022
|
|
|
23011
23023
|
|
|
23024
|
+
|
|
23012
23025
|
var question_custom_ComponentQuestionJSON = /** @class */ (function () {
|
|
23013
23026
|
function ComponentQuestionJSON(name, json) {
|
|
23014
23027
|
this.name = name;
|
|
@@ -24011,6 +24024,36 @@ var question_custom_QuestionCompositeModel = /** @class */ (function (_super) {
|
|
|
24011
24024
|
this.settingNewValue = false;
|
|
24012
24025
|
this.runPanelTriggers(QuestionCompositeModel.ItemVariableName + "." + name, newValue);
|
|
24013
24026
|
};
|
|
24027
|
+
QuestionCompositeModel.prototype.setComment = function (name, newValue, locNotification) {
|
|
24028
|
+
var val = this.getUnbindValue(this.value);
|
|
24029
|
+
var commentName = this.getCommentName(name);
|
|
24030
|
+
if (!val && !newValue || !!newValue && !!val && val[commentName] === newValue)
|
|
24031
|
+
return;
|
|
24032
|
+
if (!!newValue) {
|
|
24033
|
+
if (!val) {
|
|
24034
|
+
val = {};
|
|
24035
|
+
}
|
|
24036
|
+
val[commentName] = newValue;
|
|
24037
|
+
}
|
|
24038
|
+
else {
|
|
24039
|
+
delete val[commentName];
|
|
24040
|
+
}
|
|
24041
|
+
var q = this.getQuestionByName(name);
|
|
24042
|
+
if (!!q && q.comment !== newValue) {
|
|
24043
|
+
q.comment = newValue;
|
|
24044
|
+
}
|
|
24045
|
+
this.value = val;
|
|
24046
|
+
};
|
|
24047
|
+
QuestionCompositeModel.prototype.getComment = function (name) {
|
|
24048
|
+
var q = this.getQuestionByName(name);
|
|
24049
|
+
if (!!q)
|
|
24050
|
+
return q.comment;
|
|
24051
|
+
var val = this.value;
|
|
24052
|
+
return !!val && val[this.getCommentName(name)] || "";
|
|
24053
|
+
};
|
|
24054
|
+
QuestionCompositeModel.prototype.getCommentName = function (name) {
|
|
24055
|
+
return name + settings.commentSuffix;
|
|
24056
|
+
};
|
|
24014
24057
|
QuestionCompositeModel.prototype.runPanelTriggers = function (name, value) {
|
|
24015
24058
|
if (!!this.contentPanel) {
|
|
24016
24059
|
this.contentPanel.questions.forEach(function (q) {
|
|
@@ -24090,19 +24133,24 @@ var question_custom_QuestionCompositeModel = /** @class */ (function (_super) {
|
|
|
24090
24133
|
_super.prototype.setQuestionValue.call(this, newValue, updateIsAnswered);
|
|
24091
24134
|
};
|
|
24092
24135
|
QuestionCompositeModel.prototype.setValuesIntoQuestions = function (newValue) {
|
|
24093
|
-
if (!this.contentPanel)
|
|
24136
|
+
if (!this.contentPanel || this.settingNewValue)
|
|
24094
24137
|
return;
|
|
24095
24138
|
newValue = this.getValueForContentPanel(newValue);
|
|
24096
24139
|
var oldSettingNewValue = this.settingNewValue;
|
|
24097
24140
|
this.settingNewValue = true;
|
|
24098
24141
|
var questions = this.contentPanel.questions;
|
|
24099
24142
|
for (var i = 0; i < questions.length; i++) {
|
|
24100
|
-
var key = questions[i].getValueName();
|
|
24101
|
-
var val = !!newValue ? newValue[key] : undefined;
|
|
24102
24143
|
var q = questions[i];
|
|
24144
|
+
var key = q.getValueName();
|
|
24145
|
+
var commentKey = this.getCommentName(key);
|
|
24146
|
+
var val = !!newValue ? newValue[key] : undefined;
|
|
24147
|
+
var commentVal = !!newValue && newValue[commentKey] || "";
|
|
24103
24148
|
if (!this.isTwoValueEquals(q.value, val) && (val !== undefined || !q.isEmpty())) {
|
|
24104
24149
|
q.value = val;
|
|
24105
24150
|
}
|
|
24151
|
+
if (q.comment !== commentVal) {
|
|
24152
|
+
q.comment = commentVal;
|
|
24153
|
+
}
|
|
24106
24154
|
}
|
|
24107
24155
|
this.settingNewValue = oldSettingNewValue;
|
|
24108
24156
|
};
|
|
@@ -35158,7 +35206,7 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
|
|
|
35158
35206
|
};
|
|
35159
35207
|
PanelModelBase.prototype.randomizeElements = function (isRandom) {
|
|
35160
35208
|
if (!this.canRandomize(isRandom) || this.isRandomizing)
|
|
35161
|
-
return;
|
|
35209
|
+
return false;
|
|
35162
35210
|
this.isRandomizing = true;
|
|
35163
35211
|
var oldElements = [];
|
|
35164
35212
|
var elements = this.elements;
|
|
@@ -35170,6 +35218,7 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
|
|
|
35170
35218
|
this.updateRows();
|
|
35171
35219
|
this.updateVisibleIndexes();
|
|
35172
35220
|
this.isRandomizing = false;
|
|
35221
|
+
return true;
|
|
35173
35222
|
};
|
|
35174
35223
|
Object.defineProperty(PanelModelBase.prototype, "areQuestionsRandomized", {
|
|
35175
35224
|
/**
|
|
@@ -35728,6 +35777,14 @@ var panel_PanelModelBase = /** @class */ (function (_super) {
|
|
|
35728
35777
|
}
|
|
35729
35778
|
return null;
|
|
35730
35779
|
};
|
|
35780
|
+
PanelModelBase.prototype.getFirstVisibleQuestion = function () {
|
|
35781
|
+
var qs = this.questions;
|
|
35782
|
+
for (var i = 0; i < qs.length; i++) {
|
|
35783
|
+
if (qs[i].isVisible)
|
|
35784
|
+
return qs[i];
|
|
35785
|
+
}
|
|
35786
|
+
return null;
|
|
35787
|
+
};
|
|
35731
35788
|
/**
|
|
35732
35789
|
* Focuses the first question in this panel/page.
|
|
35733
35790
|
* @see focusFirstErrorQuestion
|
|
@@ -37940,6 +37997,7 @@ var page_PageModel = /** @class */ (function (_super) {
|
|
|
37940
37997
|
configurable: true
|
|
37941
37998
|
});
|
|
37942
37999
|
PageModel.prototype.setWasShown = function (val) {
|
|
38000
|
+
var _a;
|
|
37943
38001
|
if (val == this.hasShownValue)
|
|
37944
38002
|
return;
|
|
37945
38003
|
this.hasShownValue = val;
|
|
@@ -37951,7 +38009,12 @@ var page_PageModel = /** @class */ (function (_super) {
|
|
|
37951
38009
|
els[i].randomizeElements(this.areQuestionsRandomized);
|
|
37952
38010
|
}
|
|
37953
38011
|
}
|
|
37954
|
-
this.randomizeElements(this.areQuestionsRandomized)
|
|
38012
|
+
if (this.randomizeElements(this.areQuestionsRandomized)) {
|
|
38013
|
+
var singleQuestion = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleQuestion;
|
|
38014
|
+
if ((singleQuestion === null || singleQuestion === void 0 ? void 0 : singleQuestion.page) === this) {
|
|
38015
|
+
this.survey.currentSingleQuestion = this.getFirstVisibleQuestion();
|
|
38016
|
+
}
|
|
38017
|
+
}
|
|
37955
38018
|
};
|
|
37956
38019
|
/**
|
|
37957
38020
|
* Scrolls this page to the top.
|
|
@@ -39171,12 +39234,15 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
39171
39234
|
_this.onTimer = _this.onTimerTick;
|
|
39172
39235
|
_this.onTimerPanelInfoText = _this.addEvent();
|
|
39173
39236
|
/**
|
|
39174
|
-
* An event that is raised after
|
|
39237
|
+
* 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.
|
|
39175
39238
|
*/
|
|
39176
39239
|
_this.onDynamicPanelValueChanged = _this.addEvent();
|
|
39240
|
+
/**
|
|
39241
|
+
* @deprecated Use the [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event instead.
|
|
39242
|
+
*/
|
|
39177
39243
|
_this.onDynamicPanelItemValueChanged = _this.onDynamicPanelValueChanged;
|
|
39178
39244
|
/**
|
|
39179
|
-
* An event that is raised
|
|
39245
|
+
* 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.
|
|
39180
39246
|
*/
|
|
39181
39247
|
_this.onDynamicPanelValueChanging = _this.addEvent();
|
|
39182
39248
|
/**
|
|
@@ -41606,6 +41672,10 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
41606
41672
|
return this.getPropertyValue("showProgressBar");
|
|
41607
41673
|
},
|
|
41608
41674
|
set: function (newValue) {
|
|
41675
|
+
if (newValue === true)
|
|
41676
|
+
newValue = "auto";
|
|
41677
|
+
if (newValue === false)
|
|
41678
|
+
newValue = "off";
|
|
41609
41679
|
this.setPropertyValue("showProgressBar", newValue.toLowerCase());
|
|
41610
41680
|
},
|
|
41611
41681
|
enumerable: false,
|
|
@@ -42277,7 +42347,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42277
42347
|
if (newPage == this.currentPage)
|
|
42278
42348
|
return;
|
|
42279
42349
|
var oldValue = this.currentPage;
|
|
42280
|
-
if (!this.isShowingPreview && !this.currentPageChanging(newPage, oldValue))
|
|
42350
|
+
if (!this.isShowingPreview && !this.currentSingleQuestion && !this.currentPageChanging(newPage, oldValue))
|
|
42281
42351
|
return;
|
|
42282
42352
|
this.setPropertyValue("currentPage", newPage);
|
|
42283
42353
|
if (!!newPage) {
|
|
@@ -42306,6 +42376,8 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42306
42376
|
SurveyModel.prototype.performValidationOnPageChanging = function (page) {
|
|
42307
42377
|
if (this.isDesignMode)
|
|
42308
42378
|
return false;
|
|
42379
|
+
if (this.canGoTroughValidation())
|
|
42380
|
+
return true;
|
|
42309
42381
|
var index = this.visiblePages.indexOf(page);
|
|
42310
42382
|
if (index < 0 || index >= this.visiblePageCount)
|
|
42311
42383
|
return false;
|
|
@@ -42669,20 +42741,22 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42669
42741
|
return;
|
|
42670
42742
|
page.updateCustomWidgets();
|
|
42671
42743
|
};
|
|
42672
|
-
SurveyModel.prototype.currentPageChanging = function (newValue, oldValue) {
|
|
42673
|
-
var options = this.createPageChangeEventOptions(newValue, oldValue);
|
|
42744
|
+
SurveyModel.prototype.currentPageChanging = function (newValue, oldValue, newQuestion, oldQuestion) {
|
|
42745
|
+
var options = this.createPageChangeEventOptions(newValue, oldValue, newQuestion, oldQuestion);
|
|
42746
|
+
return this.currentPageChangingFromOptions(options);
|
|
42747
|
+
};
|
|
42748
|
+
SurveyModel.prototype.currentPageChangingFromOptions = function (options) {
|
|
42674
42749
|
options.allow = true;
|
|
42675
42750
|
options.allowChanging = true;
|
|
42676
42751
|
this.onCurrentPageChanging.fire(this, options);
|
|
42677
42752
|
var allow = options.allowChanging && options.allow;
|
|
42678
|
-
if (allow) {
|
|
42753
|
+
if (allow && options.newCurrentPage !== options.oldCurrentPage) {
|
|
42679
42754
|
this.isCurrentPageRendering = true;
|
|
42680
42755
|
}
|
|
42681
42756
|
return allow;
|
|
42682
42757
|
};
|
|
42683
42758
|
SurveyModel.prototype.currentPageChanged = function (newValue, oldValue) {
|
|
42684
42759
|
this.notifyQuestionsOnHidingContent(oldValue);
|
|
42685
|
-
var options = this.createPageChangeEventOptions(newValue, oldValue);
|
|
42686
42760
|
if (oldValue && !oldValue.isDisposed && !oldValue.passed) {
|
|
42687
42761
|
if (oldValue.validate(false)) {
|
|
42688
42762
|
oldValue.passed = true;
|
|
@@ -42691,22 +42765,31 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42691
42765
|
if (this.isCurrentPageRendered === true) {
|
|
42692
42766
|
this.isCurrentPageRendered = false;
|
|
42693
42767
|
}
|
|
42694
|
-
this.
|
|
42768
|
+
if (!this.currentSingleQuestion) {
|
|
42769
|
+
var options = this.createPageChangeEventOptions(newValue, oldValue);
|
|
42770
|
+
this.onCurrentPageChanged.fire(this, options);
|
|
42771
|
+
}
|
|
42695
42772
|
};
|
|
42696
42773
|
SurveyModel.prototype.notifyQuestionsOnHidingContent = function (page) {
|
|
42697
42774
|
if (page && !page.isDisposed) {
|
|
42698
42775
|
page.questions.forEach(function (q) { return q.onHidingContent(); });
|
|
42699
42776
|
}
|
|
42700
42777
|
};
|
|
42701
|
-
SurveyModel.prototype.createPageChangeEventOptions = function (newValue, oldValue) {
|
|
42778
|
+
SurveyModel.prototype.createPageChangeEventOptions = function (newValue, oldValue, newQuestion, oldQuestion) {
|
|
42702
42779
|
var diff = !!newValue && !!oldValue ? newValue.visibleIndex - oldValue.visibleIndex : 0;
|
|
42780
|
+
var qDiff = diff;
|
|
42781
|
+
if (qDiff === 0 && !!oldQuestion && !!newQuestion) {
|
|
42782
|
+
qDiff = newValue.elements.indexOf(newQuestion) - newValue.elements.indexOf(oldQuestion);
|
|
42783
|
+
}
|
|
42703
42784
|
return {
|
|
42785
|
+
oldCurrentQuestion: oldQuestion,
|
|
42786
|
+
newCurrentQuestion: newQuestion,
|
|
42704
42787
|
oldCurrentPage: oldValue,
|
|
42705
42788
|
newCurrentPage: newValue,
|
|
42706
42789
|
isNextPage: diff === 1,
|
|
42707
42790
|
isPrevPage: diff === -1,
|
|
42708
|
-
isGoingForward:
|
|
42709
|
-
isGoingBackward:
|
|
42791
|
+
isGoingForward: qDiff > 0,
|
|
42792
|
+
isGoingBackward: qDiff < 0,
|
|
42710
42793
|
isAfterPreview: this.changeCurrentPageFromPreview === true
|
|
42711
42794
|
};
|
|
42712
42795
|
};
|
|
@@ -42929,6 +43012,8 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42929
43012
|
* @see completeLastPage
|
|
42930
43013
|
*/
|
|
42931
43014
|
SurveyModel.prototype.nextPage = function () {
|
|
43015
|
+
if (this.currentSingleQuestion)
|
|
43016
|
+
return this.performNext();
|
|
42932
43017
|
if (this.isLastPage)
|
|
42933
43018
|
return false;
|
|
42934
43019
|
return this.doCurrentPageComplete(false);
|
|
@@ -42959,7 +43044,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42959
43044
|
};
|
|
42960
43045
|
SurveyModel.prototype.hasErrorsOnNavigate = function (doComplete) {
|
|
42961
43046
|
var _this = this;
|
|
42962
|
-
if (
|
|
43047
|
+
if (this.canGoTroughValidation())
|
|
42963
43048
|
return false;
|
|
42964
43049
|
var skipValidation = doComplete && this.validationAllowComplete || !doComplete && this.validationAllowSwitchPages;
|
|
42965
43050
|
var func = function (hasErrors) {
|
|
@@ -42974,6 +43059,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
42974
43059
|
}
|
|
42975
43060
|
return this.validateCurrentPage(func) !== true && !skipValidation;
|
|
42976
43061
|
};
|
|
43062
|
+
SurveyModel.prototype.canGoTroughValidation = function () { return !this.isEditMode || !this.validationEnabled; };
|
|
42977
43063
|
SurveyModel.prototype.checkForAsyncQuestionValidation = function (questions, func) {
|
|
42978
43064
|
var _this = this;
|
|
42979
43065
|
this.clearAsyncValidationQuesitons();
|
|
@@ -43251,6 +43337,8 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
43251
43337
|
*/
|
|
43252
43338
|
SurveyModel.prototype.prevPage = function () {
|
|
43253
43339
|
var _this = this;
|
|
43340
|
+
if (this.currentSingleQuestion)
|
|
43341
|
+
return this.performPrevious();
|
|
43254
43342
|
if (this.isFirstPage || this.state === "starting")
|
|
43255
43343
|
return false;
|
|
43256
43344
|
this.resetNavigationButton();
|
|
@@ -43392,7 +43480,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
43392
43480
|
* Possible values:
|
|
43393
43481
|
*
|
|
43394
43482
|
* - `"singlePage"` - Combines all survey pages into a single page.
|
|
43395
|
-
* - `"questionPerPage"` -
|
|
43483
|
+
* - `"questionPerPage"` - Displays each question on a separate page.
|
|
43396
43484
|
* - `"standard"` (default) - Retains the original structure specified in the JSON schema.
|
|
43397
43485
|
*/
|
|
43398
43486
|
get: function () {
|
|
@@ -43532,7 +43620,11 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
43532
43620
|
Object.defineProperty(SurveyModel.prototype, "currentSingleQuestion", {
|
|
43533
43621
|
get: function () { return this.currentSingleQuestionValue; },
|
|
43534
43622
|
set: function (val) {
|
|
43535
|
-
|
|
43623
|
+
var oldVal = this.currentSingleQuestion;
|
|
43624
|
+
if (val !== oldVal) {
|
|
43625
|
+
var options = !!val && !!oldVal ? this.createPageChangeEventOptions(val.page, oldVal.page, val, oldVal) : undefined;
|
|
43626
|
+
if (!!options && !this.currentPageChangingFromOptions(options))
|
|
43627
|
+
return;
|
|
43536
43628
|
this.currentSingleQuestionValue = val;
|
|
43537
43629
|
if (!!val) {
|
|
43538
43630
|
var page = val.page;
|
|
@@ -43546,6 +43638,9 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
43546
43638
|
}
|
|
43547
43639
|
}
|
|
43548
43640
|
this.updateButtonsVisibility();
|
|
43641
|
+
if (!!options) {
|
|
43642
|
+
this.onCurrentPageChanged.fire(this, options);
|
|
43643
|
+
}
|
|
43549
43644
|
}
|
|
43550
43645
|
else {
|
|
43551
43646
|
this.visiblePages.forEach(function (page) { return page.updateRows(); });
|
|
@@ -44416,7 +44511,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
44416
44511
|
return options.error ? new CustomError(options.error, this) : null;
|
|
44417
44512
|
};
|
|
44418
44513
|
SurveyModel.prototype.dynamicPanelAdded = function (question, panelIndex, panel) {
|
|
44419
|
-
if (!this.isLoadingFromJson && this.hasQuestionVisibleIndeces(question
|
|
44514
|
+
if (!this.isLoadingFromJson && this.hasQuestionVisibleIndeces(question)) {
|
|
44420
44515
|
this.updateVisibleIndexes(question.page);
|
|
44421
44516
|
}
|
|
44422
44517
|
if (this.onDynamicPanelAdded.isEmpty)
|
|
@@ -44433,7 +44528,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
44433
44528
|
for (var i = 0; i < questions.length; i++) {
|
|
44434
44529
|
questions[i].clearOnDeletingContainer();
|
|
44435
44530
|
}
|
|
44436
|
-
if (this.hasQuestionVisibleIndeces(question
|
|
44531
|
+
if (this.hasQuestionVisibleIndeces(question)) {
|
|
44437
44532
|
this.updateVisibleIndexes(question.page);
|
|
44438
44533
|
}
|
|
44439
44534
|
this.onDynamicPanelRemoved.fire(this, {
|
|
@@ -44442,10 +44537,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
|
|
|
44442
44537
|
panel: panel,
|
|
44443
44538
|
});
|
|
44444
44539
|
};
|
|
44445
|
-
SurveyModel.prototype.hasQuestionVisibleIndeces = function (question
|
|
44446
|
-
if (checkIndex) {
|
|
44447
|
-
question.setVisibleIndex(this.getStartVisibleIndex());
|
|
44448
|
-
}
|
|
44540
|
+
SurveyModel.prototype.hasQuestionVisibleIndeces = function (question) {
|
|
44449
44541
|
var qList = question.getNestedQuestions(true);
|
|
44450
44542
|
for (var i = 0; i < qList.length; i++) {
|
|
44451
44543
|
if (qList[i].visibleIndex > -1)
|
|
@@ -49372,6 +49464,7 @@ var question_baseselect_QuestionSelectBase = /** @class */ (function (_super) {
|
|
|
49372
49464
|
var chQuestion = this.choicesFromQuestion;
|
|
49373
49465
|
if (!!name && chQuestion && (name === chQuestion || questionName === chQuestion)) {
|
|
49374
49466
|
this.onVisibleChoicesChanged();
|
|
49467
|
+
this.clearIncorrectValues();
|
|
49375
49468
|
}
|
|
49376
49469
|
};
|
|
49377
49470
|
QuestionSelectBase.prototype.updateValueFromSurvey = function (newValue, clearData) {
|
|
@@ -55186,6 +55279,9 @@ var question_multipletext_QuestionMultipleTextModel = /** @class */ (function (_
|
|
|
55186
55279
|
QuestionMultipleTextModel.prototype.onSurveyLoad = function () {
|
|
55187
55280
|
this.editorsOnSurveyLoad();
|
|
55188
55281
|
_super.prototype.onSurveyLoad.call(this);
|
|
55282
|
+
if (!helpers_Helpers.isValueEmpty(this.rows)) {
|
|
55283
|
+
this.calcVisibleRows();
|
|
55284
|
+
}
|
|
55189
55285
|
};
|
|
55190
55286
|
QuestionMultipleTextModel.prototype.setQuestionValue = function (newValue, updateIsAnswered) {
|
|
55191
55287
|
if (updateIsAnswered === void 0) { updateIsAnswered = true; }
|
|
@@ -68002,21 +68098,10 @@ Serializer.addClass("paneldynamic", [
|
|
|
68002
68098
|
default: "off",
|
|
68003
68099
|
choices: ["off", "onPanel", "onSurvey"],
|
|
68004
68100
|
},
|
|
68005
|
-
{
|
|
68006
|
-
name: "showRangeInProgress:boolean",
|
|
68007
|
-
default: true,
|
|
68008
|
-
visible: false
|
|
68009
|
-
// visibleIf: (obj: any) => { return obj.displayMode !== "list"; }
|
|
68010
|
-
},
|
|
68011
|
-
{
|
|
68012
|
-
name: "renderMode",
|
|
68013
|
-
default: "list",
|
|
68014
|
-
choices: ["list", "progressTop", "progressBottom", "progressTopBottom", "tab"],
|
|
68015
|
-
visible: false,
|
|
68016
|
-
},
|
|
68101
|
+
{ name: "renderMode", visible: false, isSerializable: false },
|
|
68017
68102
|
{ name: "displayMode", default: "list", choices: ["list", "carousel", "tab"] },
|
|
68018
68103
|
{
|
|
68019
|
-
name: "showProgressBar:boolean",
|
|
68104
|
+
name: "showProgressBar:boolean", alternativeName: "showRangeInProgress",
|
|
68020
68105
|
default: true,
|
|
68021
68106
|
visibleIf: function (obj) { return obj.displayMode === "carousel"; }
|
|
68022
68107
|
},
|
|
@@ -70919,9 +71004,9 @@ Serializer.addClass("currencymask", [
|
|
|
70919
71004
|
|
|
70920
71005
|
var Version;
|
|
70921
71006
|
var ReleaseDate;
|
|
70922
|
-
Version = "" + "1.12.
|
|
71007
|
+
Version = "" + "1.12.22";
|
|
70923
71008
|
settings.version = Version;
|
|
70924
|
-
ReleaseDate = "" + "2025-
|
|
71009
|
+
ReleaseDate = "" + "2025-02-05";
|
|
70925
71010
|
function checkLibraryVersion(ver, libraryName) {
|
|
70926
71011
|
if (Version != ver) {
|
|
70927
71012
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|