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
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
import { QuestionMatrixBaseModel } from "./martixBase";
|
|
2
|
+
import { Question, IConditionObject, IQuestionPlainData } from "./question";
|
|
3
|
+
import { HashTable } from "./helpers";
|
|
4
|
+
import { Base } from "./base";
|
|
5
|
+
import { IElement, IQuestion, ISurveyData, ISurvey, ISurveyImpl, ITextProcessor, IProgressInfo, IPanel, IPlainDataOptions } from "./base-interfaces";
|
|
6
|
+
import { ItemValue } from "./itemvalue";
|
|
7
|
+
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
8
|
+
import { PanelModel } from "./panel";
|
|
9
|
+
import { SurveyError } from "./survey-error";
|
|
10
|
+
import { IMatrixColumnOwner, MatrixDropdownColumn } from "./question_matrixdropdowncolumn";
|
|
11
|
+
import { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable } from "./question_matrixdropdownrendered";
|
|
12
|
+
export interface IMatrixDropdownData {
|
|
13
|
+
value: any;
|
|
14
|
+
getFilteredData(): any;
|
|
15
|
+
onRowChanged(row: MatrixDropdownRowModelBase, columnName: string, newRowValue: any, isDeletingValue: boolean): void;
|
|
16
|
+
onRowChanging(row: MatrixDropdownRowModelBase, columnName: string, rowValue: any): any;
|
|
17
|
+
isValidateOnValueChanging: boolean;
|
|
18
|
+
getRowIndex(row: MatrixDropdownRowModelBase): number;
|
|
19
|
+
getRowValue(rowIndex: number): any;
|
|
20
|
+
checkIfValueInRowDuplicated(checkedRow: MatrixDropdownRowModelBase, cellQuestion: Question): boolean;
|
|
21
|
+
hasDetailPanel(row: MatrixDropdownRowModelBase): boolean;
|
|
22
|
+
getIsDetailPanelShowing(row: MatrixDropdownRowModelBase): boolean;
|
|
23
|
+
setIsDetailPanelShowing(row: MatrixDropdownRowModelBase, val: boolean): void;
|
|
24
|
+
createRowDetailPanel(row: MatrixDropdownRowModelBase): PanelModel;
|
|
25
|
+
validateCell(row: MatrixDropdownRowModelBase, columnName: string, rowValue: any): SurveyError;
|
|
26
|
+
columns: Array<MatrixDropdownColumn>;
|
|
27
|
+
createQuestion(row: MatrixDropdownRowModelBase, column: MatrixDropdownColumn): Question;
|
|
28
|
+
choices: Array<ItemValue>;
|
|
29
|
+
getLocale(): string;
|
|
30
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
31
|
+
getRenderer(name: string): string;
|
|
32
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
33
|
+
getProcessedText(text: string): string;
|
|
34
|
+
getParentTextProcessor(): ITextProcessor;
|
|
35
|
+
getSharedQuestionByName(columnName: string, row: MatrixDropdownRowModelBase): Question;
|
|
36
|
+
onTotalValueChanged(): any;
|
|
37
|
+
getSurvey(): ISurvey;
|
|
38
|
+
getDataFilteredValues(): any;
|
|
39
|
+
isMatrixReadOnly(): boolean;
|
|
40
|
+
onRowVisibilityChanged(row: MatrixDropdownRowModelBase): void;
|
|
41
|
+
}
|
|
42
|
+
export declare class MatrixDropdownCell {
|
|
43
|
+
column: MatrixDropdownColumn;
|
|
44
|
+
row: MatrixDropdownRowModelBase;
|
|
45
|
+
data: IMatrixDropdownData;
|
|
46
|
+
private questionValue;
|
|
47
|
+
constructor(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, data: IMatrixDropdownData);
|
|
48
|
+
private updateCellQuestionTitleDueToAccessebility;
|
|
49
|
+
locStrsChanged(): void;
|
|
50
|
+
protected createQuestion(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, data: IMatrixDropdownData): Question;
|
|
51
|
+
get question(): Question;
|
|
52
|
+
get value(): any;
|
|
53
|
+
set value(value: any);
|
|
54
|
+
getQuestionWrapperClassName(className: string): string;
|
|
55
|
+
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
56
|
+
}
|
|
57
|
+
export declare class MatrixDropdownTotalCell extends MatrixDropdownCell {
|
|
58
|
+
column: MatrixDropdownColumn;
|
|
59
|
+
row: MatrixDropdownRowModelBase;
|
|
60
|
+
data: IMatrixDropdownData;
|
|
61
|
+
constructor(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, data: IMatrixDropdownData);
|
|
62
|
+
protected createQuestion(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, data: IMatrixDropdownData): Question;
|
|
63
|
+
locStrsChanged(): void;
|
|
64
|
+
updateCellQuestion(): void;
|
|
65
|
+
getQuestionWrapperClassName(className: string): string;
|
|
66
|
+
getTotalExpression(): string;
|
|
67
|
+
}
|
|
68
|
+
export declare class MatrixDropdownRowModelBase implements ISurveyData, ISurveyImpl, ILocalizableOwner {
|
|
69
|
+
static RowVariableName: string;
|
|
70
|
+
static OwnerVariableName: string;
|
|
71
|
+
static IndexVariableName: string;
|
|
72
|
+
static RowValueVariableName: string;
|
|
73
|
+
static RowNameVariableName: string;
|
|
74
|
+
private static idCounter;
|
|
75
|
+
private static getId;
|
|
76
|
+
protected data: IMatrixDropdownData;
|
|
77
|
+
protected isSettingValue: boolean;
|
|
78
|
+
private idValue;
|
|
79
|
+
private textPreProcessor;
|
|
80
|
+
private detailPanelValue;
|
|
81
|
+
private visibleValue;
|
|
82
|
+
cells: Array<MatrixDropdownCell>;
|
|
83
|
+
showHideDetailPanelClick: any;
|
|
84
|
+
onDetailPanelShowingChanged: () => void;
|
|
85
|
+
constructor(data: IMatrixDropdownData, value: any);
|
|
86
|
+
get id(): string;
|
|
87
|
+
get rowName(): any;
|
|
88
|
+
get dataName(): string;
|
|
89
|
+
get text(): any;
|
|
90
|
+
isRowEnabled(): boolean;
|
|
91
|
+
protected isRowHasEnabledCondition(): boolean;
|
|
92
|
+
get isVisible(): boolean;
|
|
93
|
+
get visible(): boolean;
|
|
94
|
+
set visible(val: boolean);
|
|
95
|
+
protected isItemVisible(): boolean;
|
|
96
|
+
get value(): any;
|
|
97
|
+
set value(value: any);
|
|
98
|
+
get locText(): LocalizableString;
|
|
99
|
+
getAccessbilityText(): string;
|
|
100
|
+
get hasPanel(): boolean;
|
|
101
|
+
get detailPanel(): PanelModel;
|
|
102
|
+
get detailPanelId(): string;
|
|
103
|
+
get isDetailPanelShowing(): boolean;
|
|
104
|
+
private setIsDetailPanelShowing;
|
|
105
|
+
private showHideDetailPanel;
|
|
106
|
+
private isCreatingDetailPanel;
|
|
107
|
+
showDetailPanel(): void;
|
|
108
|
+
hideDetailPanel(destroyPanel?: boolean): void;
|
|
109
|
+
private ensureDetailPanel;
|
|
110
|
+
getAllValues(): any;
|
|
111
|
+
getFilteredValues(): any;
|
|
112
|
+
getFilteredProperties(): any;
|
|
113
|
+
private applyRowVariablesToValues;
|
|
114
|
+
runCondition(values: HashTable<any>, properties: HashTable<any>, rowsVisibleIf?: string): void;
|
|
115
|
+
updateElementVisibility(): void;
|
|
116
|
+
protected setRowsVisibleIfValues(values: any): void;
|
|
117
|
+
getNamesWithDefaultValues(): Array<string>;
|
|
118
|
+
clearValue(keepComment?: boolean): void;
|
|
119
|
+
onAnyValueChanged(name: string, questionName: string): void;
|
|
120
|
+
getDataValueCore(valuesHash: any, key: string): any;
|
|
121
|
+
getValue(name: string): any;
|
|
122
|
+
setValue(name: string, newColumnValue: any): void;
|
|
123
|
+
getVariable(name: string): any;
|
|
124
|
+
setVariable(name: string, newValue: any): void;
|
|
125
|
+
getComment(name: string): string;
|
|
126
|
+
setComment(name: string, newValue: string, locNotification: any): void;
|
|
127
|
+
findQuestionByName(name: string): IQuestion;
|
|
128
|
+
getEditingSurveyElement(): Base;
|
|
129
|
+
private setValueCore;
|
|
130
|
+
private updateQuestionsValue;
|
|
131
|
+
private updateSharedQuestionsValue;
|
|
132
|
+
runTriggers(name: string, value: any): void;
|
|
133
|
+
private hasQuestonError;
|
|
134
|
+
get isEmpty(): boolean;
|
|
135
|
+
getQuestionByColumn(column: MatrixDropdownColumn): Question;
|
|
136
|
+
getCellByColumn(column: MatrixDropdownColumn): MatrixDropdownCell;
|
|
137
|
+
private getCellByColumnName;
|
|
138
|
+
getQuestionByColumnName(columnName: string): Question;
|
|
139
|
+
get questions(): Array<Question>;
|
|
140
|
+
getQuestionByName(name: string): Question;
|
|
141
|
+
getQuestionsByName(name: string): Array<Question>;
|
|
142
|
+
getQuestionsByValueName(name: string): Array<Question>;
|
|
143
|
+
protected getSharedQuestionByName(columnName: string): Question;
|
|
144
|
+
clearIncorrectValues(val: any): void;
|
|
145
|
+
getLocale(): string;
|
|
146
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
147
|
+
getRenderer(name: string): string;
|
|
148
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
149
|
+
getProcessedText(text: string): string;
|
|
150
|
+
locStrsChanged(): void;
|
|
151
|
+
updateCellQuestionOnColumnChanged(column: MatrixDropdownColumn, name: string, newValue: any): void;
|
|
152
|
+
updateCellQuestionOnColumnItemValueChanged(column: MatrixDropdownColumn, propertyName: string, obj: ItemValue, name: string, newValue: any, oldValue: any): void;
|
|
153
|
+
onQuestionReadOnlyChanged(): void;
|
|
154
|
+
private validationValues;
|
|
155
|
+
hasErrors(fireCallback: boolean, rec: any, raiseOnCompletedAsyncValidators: () => void): boolean;
|
|
156
|
+
protected updateCellOnColumnChanged(cell: MatrixDropdownCell, name: string, newValue: any): void;
|
|
157
|
+
updateCellOnColumnItemValueChanged(cell: MatrixDropdownCell, propertyName: string, obj: ItemValue, name: string, newValue: any, oldValue: any): void;
|
|
158
|
+
protected buildCells(value: any): void;
|
|
159
|
+
protected isTwoValueEquals(val1: any, val2: any): boolean;
|
|
160
|
+
private getCellValue;
|
|
161
|
+
protected createCell(column: MatrixDropdownColumn): MatrixDropdownCell;
|
|
162
|
+
getSurveyData(): ISurveyData;
|
|
163
|
+
getSurvey(): ISurvey;
|
|
164
|
+
getTextProcessor(): ITextProcessor;
|
|
165
|
+
get rowIndex(): number;
|
|
166
|
+
protected getRowIndex(): number;
|
|
167
|
+
get editingObj(): Base;
|
|
168
|
+
private onEditingObjPropertyChanged;
|
|
169
|
+
private editingObjValue;
|
|
170
|
+
dispose(): void;
|
|
171
|
+
private subscribeToChanges;
|
|
172
|
+
private updateOnSetValue;
|
|
173
|
+
}
|
|
174
|
+
export declare class MatrixDropdownTotalRowModel extends MatrixDropdownRowModelBase {
|
|
175
|
+
constructor(data: IMatrixDropdownData);
|
|
176
|
+
protected createCell(column: MatrixDropdownColumn): MatrixDropdownCell;
|
|
177
|
+
setValue(name: string, newValue: any): void;
|
|
178
|
+
runCondition(values: HashTable<any>, properties: HashTable<any>, rowsVisibleIf?: string): void;
|
|
179
|
+
protected updateCellOnColumnChanged(cell: MatrixDropdownCell, name: string, newValue: any): void;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* A base class for the [QuestionMatrixDropdownModel](https://surveyjs.io/form-library/documentation/questionmatrixdropdownmodel) and [QuestionMatrixDynamicModel](https://surveyjs.io/form-library/documentation/questionmatrixdynamicmodel) classes.
|
|
183
|
+
*/
|
|
184
|
+
export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseModel<MatrixDropdownRowModelBase, MatrixDropdownColumn> implements IMatrixDropdownData, IMatrixColumnOwner {
|
|
185
|
+
static get defaultCellType(): string;
|
|
186
|
+
static set defaultCellType(val: string);
|
|
187
|
+
static addDefaultColumns(matrix: QuestionMatrixDropdownModelBase): void;
|
|
188
|
+
private detailPanelValue;
|
|
189
|
+
private useCaseSensitiveComparisonValue;
|
|
190
|
+
protected isRowChanging: boolean;
|
|
191
|
+
columnsChangedCallback: () => void;
|
|
192
|
+
onRenderedTableResetCallback: () => void;
|
|
193
|
+
onRenderedTableCreatedCallback: (table: QuestionMatrixDropdownRenderedTable) => void;
|
|
194
|
+
onCellCreatedCallback: (options: any) => void;
|
|
195
|
+
onCellValueChangedCallback: (options: any) => void;
|
|
196
|
+
onHasDetailPanelCallback: (row: MatrixDropdownRowModelBase) => boolean;
|
|
197
|
+
onCreateDetailPanelCallback: (row: MatrixDropdownRowModelBase, panel: PanelModel) => void;
|
|
198
|
+
onCreateDetailPanelRenderedRowCallback: (renderedRow: QuestionMatrixDropdownRenderedRow) => void;
|
|
199
|
+
onAddColumn: (column: MatrixDropdownColumn) => void;
|
|
200
|
+
onRemoveColumn: (column: MatrixDropdownColumn) => void;
|
|
201
|
+
cellValueChangingCallback: (row: any, columnName: string, value: any, oldValue: any) => any;
|
|
202
|
+
protected createColumnValues(): any[];
|
|
203
|
+
constructor(name: string);
|
|
204
|
+
getType(): string;
|
|
205
|
+
dispose(): void;
|
|
206
|
+
get hasSingleInput(): boolean;
|
|
207
|
+
get isContainer(): boolean;
|
|
208
|
+
get isRowsDynamic(): boolean;
|
|
209
|
+
private isUpdating;
|
|
210
|
+
protected get isUpdateLocked(): boolean;
|
|
211
|
+
beginUpdate(): void;
|
|
212
|
+
endUpdate(): void;
|
|
213
|
+
protected updateColumnsAndRows(): void;
|
|
214
|
+
itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
|
|
215
|
+
/**
|
|
216
|
+
* Specifies whether to display [`columns`](#columns) as rows and [`rows`](#rows) as columns.
|
|
217
|
+
*
|
|
218
|
+
* Default value: `false`
|
|
219
|
+
*
|
|
220
|
+
* [View Demo](https://surveyjs.io/form-library/examples/transpose-dynamic-rows-to-columns-in-matrix/ (linkStyle))
|
|
221
|
+
*/
|
|
222
|
+
get transposeData(): boolean;
|
|
223
|
+
set transposeData(val: boolean);
|
|
224
|
+
/**
|
|
225
|
+
* @deprecated Use the [`transposeData`](#transposeData) property instead.
|
|
226
|
+
*/
|
|
227
|
+
get columnLayout(): string;
|
|
228
|
+
set columnLayout(val: string);
|
|
229
|
+
get columnsLocation(): string;
|
|
230
|
+
set columnsLocation(val: string);
|
|
231
|
+
/**
|
|
232
|
+
* Specifies the error message position for questions within detail sections.
|
|
233
|
+
*
|
|
234
|
+
* Possible values:
|
|
235
|
+
*
|
|
236
|
+
* - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
|
|
237
|
+
* - `"top"` - Displays error messages above questions.
|
|
238
|
+
* - `"bottom"` - Displays error messages below questions.
|
|
239
|
+
* @see cellErrorLocation
|
|
240
|
+
*/
|
|
241
|
+
get detailErrorLocation(): string;
|
|
242
|
+
set detailErrorLocation(value: string);
|
|
243
|
+
/**
|
|
244
|
+
* Specifies the error message position relative to matrix cells.
|
|
245
|
+
*
|
|
246
|
+
* Possible values:
|
|
247
|
+
*
|
|
248
|
+
* - `"default"` (default) - Inherits the setting from the [`errorLocation`](#errorLocation) property.
|
|
249
|
+
* - `"top"` - Displays error messages above matrix cells.
|
|
250
|
+
* - `"bottom"` - Displays error messages below matrix cells.
|
|
251
|
+
* @see detailErrorLocation
|
|
252
|
+
*/
|
|
253
|
+
get cellErrorLocation(): string;
|
|
254
|
+
set cellErrorLocation(value: string);
|
|
255
|
+
getChildErrorLocation(child: Question): string;
|
|
256
|
+
/**
|
|
257
|
+
* Returns `true` if [`columns`](#columns) are placed in the horizontal direction and [`rows`](#columns) in the vertical direction.
|
|
258
|
+
*
|
|
259
|
+
* To specify the layout, use the [`transposeData`](#transposeData) property. If you set it to `true`, the survey applies it only when the screen has enough space. Otherwise, the survey falls back to the original layout, but the `transposeData` property remains set to `true`. Unlike `transposeData`, the `isColumnLayoutHorizontal` property always indicates the current layout.
|
|
260
|
+
* @see transposeData
|
|
261
|
+
*/
|
|
262
|
+
get isColumnLayoutHorizontal(): boolean;
|
|
263
|
+
/**
|
|
264
|
+
* Enables case-sensitive comparison in columns with the `isUnique` property set to `true`.
|
|
265
|
+
*
|
|
266
|
+
* When this property is `true`, `"ABC"` and `"abc"` are considered different values.
|
|
267
|
+
*
|
|
268
|
+
* Default value: `false`
|
|
269
|
+
* @see keyDuplicationError
|
|
270
|
+
*/
|
|
271
|
+
get useCaseSensitiveComparison(): boolean;
|
|
272
|
+
set useCaseSensitiveComparison(val: boolean);
|
|
273
|
+
/**
|
|
274
|
+
* @deprecated Use the [`useCaseSensitiveComparison`](#useCaseSensitiveComparison) property instead.
|
|
275
|
+
*/
|
|
276
|
+
get isUniqueCaseSensitive(): boolean;
|
|
277
|
+
set isUniqueCaseSensitive(val: boolean);
|
|
278
|
+
/**
|
|
279
|
+
* Specifies the location of detail sections.
|
|
280
|
+
*
|
|
281
|
+
* Possible values:
|
|
282
|
+
*
|
|
283
|
+
* - `"underRow"` - Displays detail sections under their respective rows. Users can expand any number of detail sections.
|
|
284
|
+
* - `"underRowSingle"` - Displays detail sections under their respective rows, but only one detail section can be expanded at a time.
|
|
285
|
+
* - `"none"` (default) - Hides detail sections.
|
|
286
|
+
*
|
|
287
|
+
* Use the `detailElements` property to specify content of detail sections.
|
|
288
|
+
* @see detailElements
|
|
289
|
+
* @see detailPanel
|
|
290
|
+
*/
|
|
291
|
+
get detailPanelMode(): string;
|
|
292
|
+
set detailPanelMode(val: string);
|
|
293
|
+
/**
|
|
294
|
+
* Contains a [`PanelModel`](https://surveyjs.io/form-library/documentation/panelmodel) instance that represents a detail section template.
|
|
295
|
+
* @see detailElements
|
|
296
|
+
* @see detailPanelMode
|
|
297
|
+
*/
|
|
298
|
+
get detailPanel(): PanelModel;
|
|
299
|
+
getPanel(): IPanel;
|
|
300
|
+
/**
|
|
301
|
+
* An array of survey elements (questions and panels) to be displayed in detail sections.
|
|
302
|
+
*
|
|
303
|
+
* Detail sections are expandable panels displayed under each matrix row. You can use them to display questions that do not fit into the row.
|
|
304
|
+
*
|
|
305
|
+
* Set the `detailPanelMode` property to `"underRow"` or `"underRowSingle"` to display detail sections.
|
|
306
|
+
* @see detailPanelMode
|
|
307
|
+
* @see detailPanel
|
|
308
|
+
*/
|
|
309
|
+
get detailElements(): Array<IElement>;
|
|
310
|
+
protected createNewDetailPanel(): PanelModel;
|
|
311
|
+
get hasRowText(): boolean;
|
|
312
|
+
getFooterText(): LocalizableString;
|
|
313
|
+
get canAddRow(): boolean;
|
|
314
|
+
get canRemoveRows(): boolean;
|
|
315
|
+
canRemoveRow(row: MatrixDropdownRowModelBase): boolean;
|
|
316
|
+
onPointerDown(pointerDownEvent: PointerEvent, row: MatrixDropdownRowModelBase): void;
|
|
317
|
+
protected onRowsChanged(): void;
|
|
318
|
+
private lockResetRenderedTable;
|
|
319
|
+
protected onStartRowAddingRemoving(): void;
|
|
320
|
+
protected onEndRowAdding(): void;
|
|
321
|
+
protected onEndRowRemoving(row: MatrixDropdownRowModelBase): void;
|
|
322
|
+
private get renderedTableValue();
|
|
323
|
+
private set renderedTableValue(value);
|
|
324
|
+
protected clearRowsAndResetRenderedTable(): void;
|
|
325
|
+
resetRenderedTable(): void;
|
|
326
|
+
protected clearGeneratedRows(): void;
|
|
327
|
+
protected get isRendredTableCreated(): boolean;
|
|
328
|
+
get renderedTable(): QuestionMatrixDropdownRenderedTable;
|
|
329
|
+
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
|
|
330
|
+
protected onMatrixRowCreated(row: MatrixDropdownRowModelBase): void;
|
|
331
|
+
/**
|
|
332
|
+
* Specifies the type of matrix cells. You can override this property for individual columns.
|
|
333
|
+
*
|
|
334
|
+
* Possible values:
|
|
335
|
+
*
|
|
336
|
+
* - [`"dropdown"`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model)
|
|
337
|
+
* - [`"checkbox"`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model)
|
|
338
|
+
* - [`"radiogroup"`](https://surveyjs.io/form-library/documentation/api-reference/radio-button-question-model)
|
|
339
|
+
* - [`"tagbox"`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model)
|
|
340
|
+
* - [`"text"`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model)
|
|
341
|
+
* - [`"comment"`](https://surveyjs.io/form-library/documentation/api-reference/comment-field-model)
|
|
342
|
+
* - [`"boolean"`](https://surveyjs.io/form-library/documentation/api-reference/boolean-question-model)
|
|
343
|
+
* - [`"expression"`](https://surveyjs.io/form-library/documentation/api-reference/expression-model)
|
|
344
|
+
* - [`"rating"`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model)
|
|
345
|
+
*
|
|
346
|
+
* Default value: `"dropdown"` (inherited from [`settings.matrix.defaultCellType`](https://surveyjs.io/form-library/documentation/settings#matrixDefaultCellType))
|
|
347
|
+
*/
|
|
348
|
+
get cellType(): string;
|
|
349
|
+
set cellType(val: string);
|
|
350
|
+
isSelectCellType(): boolean;
|
|
351
|
+
private updateColumnsCellType;
|
|
352
|
+
private updateColumnsIndexes;
|
|
353
|
+
/**
|
|
354
|
+
* Specifies the number of columns in Radiogroup and Checkbox cells.
|
|
355
|
+
*
|
|
356
|
+
* Default value: 0 (the number of columns is selected automatically based on the available column width)
|
|
357
|
+
* @see cellType
|
|
358
|
+
*/
|
|
359
|
+
get columnColCount(): number;
|
|
360
|
+
set columnColCount(value: number);
|
|
361
|
+
get horizontalScroll(): boolean;
|
|
362
|
+
set horizontalScroll(val: boolean);
|
|
363
|
+
get allowAdaptiveActions(): boolean;
|
|
364
|
+
set allowAdaptiveActions(val: boolean);
|
|
365
|
+
hasChoices(): boolean;
|
|
366
|
+
onColumnPropertyChanged(column: MatrixDropdownColumn, name: string, newValue: any): void;
|
|
367
|
+
onColumnItemValuePropertyChanged(column: MatrixDropdownColumn, propertyName: string, obj: ItemValue, name: string, newValue: any, oldValue: any): void;
|
|
368
|
+
onShowInMultipleColumnsChanged(column: MatrixDropdownColumn): void;
|
|
369
|
+
onColumnVisibilityChanged(column: MatrixDropdownColumn): void;
|
|
370
|
+
onColumnCellTypeChanged(column: MatrixDropdownColumn): void;
|
|
371
|
+
private resetTableAndRows;
|
|
372
|
+
getRowTitleWidth(): string;
|
|
373
|
+
get hasFooter(): boolean;
|
|
374
|
+
getAddRowLocation(): string;
|
|
375
|
+
getShowColumnsIfEmpty(): boolean;
|
|
376
|
+
protected updateShowTableAndAddRow(): void;
|
|
377
|
+
protected updateHasFooter(): void;
|
|
378
|
+
get hasTotal(): boolean;
|
|
379
|
+
getCellType(): string;
|
|
380
|
+
getCustomCellType(column: MatrixDropdownColumn, row: MatrixDropdownRowModelBase, cellType: string): string;
|
|
381
|
+
getConditionJson(operator?: string, path?: string): any;
|
|
382
|
+
clearIncorrectValues(): void;
|
|
383
|
+
clearErrors(): void;
|
|
384
|
+
localeChanged(): void;
|
|
385
|
+
private runFuncForCellQuestions;
|
|
386
|
+
protected runConditionCore(values: HashTable<any>, properties: HashTable<any>): void;
|
|
387
|
+
runTriggers(name: string, value: any, keys?: any): void;
|
|
388
|
+
updateElementVisibility(): void;
|
|
389
|
+
protected shouldRunColumnExpression(): boolean;
|
|
390
|
+
protected runCellsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
391
|
+
protected runConditionsForColumns(values: HashTable<any>, properties: HashTable<any>): boolean;
|
|
392
|
+
private checkColumnsVisibility;
|
|
393
|
+
private checkColumnsRenderedRequired;
|
|
394
|
+
private isColumnVisibilityChanged;
|
|
395
|
+
private updateNewVisibleChoices;
|
|
396
|
+
protected runTotalsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
397
|
+
private getRowConditionValues;
|
|
398
|
+
IsMultiplyColumn(column: MatrixDropdownColumn): boolean;
|
|
399
|
+
locStrsChanged(): void;
|
|
400
|
+
/**
|
|
401
|
+
* Returns a matrix column with a given `name` or `null` if a column with this is not found.
|
|
402
|
+
* @param columnName A column name.
|
|
403
|
+
*/
|
|
404
|
+
getColumnByName(columnName: string): MatrixDropdownColumn;
|
|
405
|
+
getColumnName(columnName: string): MatrixDropdownColumn;
|
|
406
|
+
getColumnWidth(column: MatrixDropdownColumn): string;
|
|
407
|
+
/**
|
|
408
|
+
* Gets or sets choice items for Dropdown, Checkbox, and Radiogroup matrix cells. You can override this property for individual columns.
|
|
409
|
+
*
|
|
410
|
+
* This property accepts an array of objects with the following structure:
|
|
411
|
+
*
|
|
412
|
+
* ```js
|
|
413
|
+
* {
|
|
414
|
+
* "value": any, // A value to be saved in survey results
|
|
415
|
+
* "text": String, // A display text. This property supports Markdown. When `text` is undefined, `value` is used.
|
|
416
|
+
* "customProperty": any // Any property that you find useful.
|
|
417
|
+
* }
|
|
418
|
+
* ```
|
|
419
|
+
*
|
|
420
|
+
* To enable Markdown support for the `text` property, implement Markdown-to-HTML conversion in the [onTextMarkdown](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onTextMarkdown) event handler. For an example, refer to the following demo: [Convert Markdown to HTML with markdown-it](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/).
|
|
421
|
+
*
|
|
422
|
+
* If you add custom properties, refer to the following help topic to learn how to serialize them into JSON: [Add Custom Properties to Property Grid](https://surveyjs.io/survey-creator/documentation/property-grid#add-custom-properties-to-the-property-grid).
|
|
423
|
+
*
|
|
424
|
+
* If you need to specify only the `value` property, you can set the `choices` property to an array of primitive values, for example, `[ "item1", "item2", "item3" ]`. These values are both saved in survey results and used as display text.
|
|
425
|
+
* @see cellType
|
|
426
|
+
*/
|
|
427
|
+
get choices(): Array<any>;
|
|
428
|
+
set choices(val: Array<any>);
|
|
429
|
+
/**
|
|
430
|
+
* A placeholder for Dropdown matrix cells.
|
|
431
|
+
* @see cellType
|
|
432
|
+
*/
|
|
433
|
+
get placeholder(): string;
|
|
434
|
+
set placeholder(val: string);
|
|
435
|
+
get locPlaceholder(): LocalizableString;
|
|
436
|
+
get optionsCaption(): string;
|
|
437
|
+
set optionsCaption(val: string);
|
|
438
|
+
/**
|
|
439
|
+
* An error message displayed when users enter a duplicate value into a column that accepts only unique values (`isUnique` is set to `true` or `keyName` is specified).
|
|
440
|
+
*
|
|
441
|
+
* A default value for this property is taken from a [localization dictionary](https://github.com/surveyjs/survey-library/tree/01bd8abd0c574719956d4d579d48c8010cd389d4/packages/survey-core/src/localization). Refer to the following help topic for more information: [Localization & Globalization](https://surveyjs.io/form-library/documentation/localization).
|
|
442
|
+
* @see useCaseSensitiveComparison
|
|
443
|
+
*/
|
|
444
|
+
get keyDuplicationError(): string;
|
|
445
|
+
set keyDuplicationError(val: string);
|
|
446
|
+
get locKeyDuplicationError(): LocalizableString;
|
|
447
|
+
get storeOthersAsComment(): boolean;
|
|
448
|
+
addColumn(name: string, title?: string): MatrixDropdownColumn;
|
|
449
|
+
private visibleRowsArray;
|
|
450
|
+
protected clearVisibleRows(): void;
|
|
451
|
+
protected isColumnVisible(column: any): boolean;
|
|
452
|
+
private isGenereatingRows;
|
|
453
|
+
protected getVisibleRows(): Array<MatrixDropdownRowModelBase>;
|
|
454
|
+
private generateVisibleRowsIfNeeded;
|
|
455
|
+
private getVisibleFromGenerated;
|
|
456
|
+
private updateValueOnRowsGeneration;
|
|
457
|
+
get totalValue(): any;
|
|
458
|
+
protected getVisibleTotalRow(): MatrixDropdownRowModelBase;
|
|
459
|
+
get visibleTotalRow(): MatrixDropdownRowModelBase;
|
|
460
|
+
onSurveyLoad(): void;
|
|
461
|
+
/**
|
|
462
|
+
* Returns an object with row values. If a row has no answers, this method returns an empty object.
|
|
463
|
+
* @param rowIndex A zero-based row index.
|
|
464
|
+
* @see setRowValue
|
|
465
|
+
*/
|
|
466
|
+
getRowValue(rowIndex: number): any;
|
|
467
|
+
checkIfValueInRowDuplicated(checkedRow: MatrixDropdownRowModelBase, cellQuestion: Question): boolean;
|
|
468
|
+
/**
|
|
469
|
+
* Assigns values to a row.
|
|
470
|
+
* @param rowIndex A zero-based row index.
|
|
471
|
+
* @param rowValue An object with the following structure: `{ "column_name": columnValue, ... }`
|
|
472
|
+
* @see getRowValue
|
|
473
|
+
*/
|
|
474
|
+
setRowValue(rowIndex: number, rowValue: any): any;
|
|
475
|
+
protected generateRows(): Array<MatrixDropdownRowModelBase>;
|
|
476
|
+
protected generateTotalRow(): MatrixDropdownRowModelBase;
|
|
477
|
+
protected createNewValue(nullOnEmpty?: boolean): any;
|
|
478
|
+
protected getRowValueCore(row: MatrixDropdownRowModelBase, questionValue: any, create?: boolean): any;
|
|
479
|
+
protected getRowObj(row: MatrixDropdownRowModelBase): any;
|
|
480
|
+
protected getRowDisplayValue(keysAsText: boolean, row: MatrixDropdownRowModelBase, rowValue: any): any;
|
|
481
|
+
getPlainData(options?: IPlainDataOptions): IQuestionPlainData;
|
|
482
|
+
addConditionObjectsByContext(objects: Array<IConditionObject>, context: any): void;
|
|
483
|
+
onHidingContent(): void;
|
|
484
|
+
protected getIsReadyNestedQuestions(): Array<Question>;
|
|
485
|
+
protected collectNestedQuestionsCore(questions: Question[], visibleOnly: boolean): void;
|
|
486
|
+
protected collectNestedQuestonsInRows(rows: Array<MatrixDropdownRowModelBase>, questions: Question[], visibleOnly: boolean): void;
|
|
487
|
+
protected getConditionObjectRowName(index: number): string;
|
|
488
|
+
protected getConditionObjectRowText(index: number): string;
|
|
489
|
+
protected getConditionObjectsRowIndeces(): Array<number>;
|
|
490
|
+
getProgressInfo(): IProgressInfo;
|
|
491
|
+
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
|
492
|
+
protected updateProgressInfoByRow(res: IProgressInfo, rowValue: any): void;
|
|
493
|
+
private getCellQuestions;
|
|
494
|
+
protected onBeforeValueChanged(val: any): void;
|
|
495
|
+
private onSetQuestionValue;
|
|
496
|
+
protected setQuestionValue(newValue: any): void;
|
|
497
|
+
supportAutoAdvance(): boolean;
|
|
498
|
+
protected getContainsErrors(): boolean;
|
|
499
|
+
protected getIsAnswered(): boolean;
|
|
500
|
+
private checkForAnswersOrErrors;
|
|
501
|
+
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
|
502
|
+
protected getIsRunningValidators(): boolean;
|
|
503
|
+
getAllErrors(): Array<SurveyError>;
|
|
504
|
+
private hasErrorInRows;
|
|
505
|
+
private isValueDuplicated;
|
|
506
|
+
protected getUniqueColumnsNames(): Array<string>;
|
|
507
|
+
private isValueInColumnDuplicated;
|
|
508
|
+
private getDuplicatedRows;
|
|
509
|
+
private showDuplicatedErrorsInRows;
|
|
510
|
+
private removeDuplicatedErrorsInRows;
|
|
511
|
+
private getDuplicationError;
|
|
512
|
+
private addDuplicationError;
|
|
513
|
+
private removeDuplicationError;
|
|
514
|
+
getFirstQuestionToFocus(withError: boolean): Question;
|
|
515
|
+
protected getFirstInputElementId(): string;
|
|
516
|
+
protected getFirstErrorInputElementId(): string;
|
|
517
|
+
protected getFirstCellQuestion(onError: boolean): Question;
|
|
518
|
+
protected onReadOnlyChanged(): void;
|
|
519
|
+
createQuestion(row: MatrixDropdownRowModelBase, column: MatrixDropdownColumn): Question;
|
|
520
|
+
protected createQuestionCore(row: MatrixDropdownRowModelBase, column: MatrixDropdownColumn): Question;
|
|
521
|
+
protected deleteRowValue(newValue: any, row: MatrixDropdownRowModelBase): any;
|
|
522
|
+
private isDoingonAnyValueChanged;
|
|
523
|
+
onAnyValueChanged(name: string, questionName: string): void;
|
|
524
|
+
protected isObject(value: any): boolean;
|
|
525
|
+
private getOnCellValueChangedOptions;
|
|
526
|
+
protected onCellValueChanged(row: MatrixDropdownRowModelBase, columnName: string, rowValue: any): void;
|
|
527
|
+
validateCell(row: MatrixDropdownRowModelBase, columnName: string, rowValue: any): SurveyError;
|
|
528
|
+
get isValidateOnValueChanging(): boolean;
|
|
529
|
+
protected get hasInvisibleRows(): boolean;
|
|
530
|
+
getFilteredData(): any;
|
|
531
|
+
protected getFilteredDataCore(): any;
|
|
532
|
+
onRowChanging(row: MatrixDropdownRowModelBase, columnName: string, rowValue: any): any;
|
|
533
|
+
onRowChanged(row: MatrixDropdownRowModelBase, columnName: string, newRowValue: any, isDeletingValue: boolean): void;
|
|
534
|
+
private getNewValueOnRowChanged;
|
|
535
|
+
getRowIndex(row: MatrixDropdownRowModelBase): number;
|
|
536
|
+
getElementsInDesign(includeHidden?: boolean): Array<IElement>;
|
|
537
|
+
hasDetailPanel(row: MatrixDropdownRowModelBase): boolean;
|
|
538
|
+
getIsDetailPanelShowing(row: MatrixDropdownRowModelBase): boolean;
|
|
539
|
+
setIsDetailPanelShowing(row: MatrixDropdownRowModelBase, val: boolean): void;
|
|
540
|
+
getDetailPanelButtonCss(row: MatrixDropdownRowModelBase): string;
|
|
541
|
+
getDetailPanelIconCss(row: MatrixDropdownRowModelBase): string;
|
|
542
|
+
getDetailPanelIconId(row: MatrixDropdownRowModelBase): string;
|
|
543
|
+
private updateDetailPanelButtonCss;
|
|
544
|
+
createRowDetailPanel(row: MatrixDropdownRowModelBase): PanelModel;
|
|
545
|
+
getSharedQuestionByName(columnName: string, row: MatrixDropdownRowModelBase): Question;
|
|
546
|
+
onTotalValueChanged(): any;
|
|
547
|
+
getDataFilteredValues(): any;
|
|
548
|
+
getParentTextProcessor(): ITextProcessor;
|
|
549
|
+
isMatrixReadOnly(): boolean;
|
|
550
|
+
onRowVisibilityChanged(row: MatrixDropdownRowModelBase): void;
|
|
551
|
+
protected clearValueIfInvisibleCore(reason: string): void;
|
|
552
|
+
protected clearInvisibleValuesInRows(): void;
|
|
553
|
+
protected isRowsFiltered(): boolean;
|
|
554
|
+
getQuestionFromArray(name: string, index: number): IQuestion;
|
|
555
|
+
private isMatrixValueEmpty;
|
|
556
|
+
private get SurveyModel();
|
|
557
|
+
getCellTemplateData(cell: QuestionMatrixDropdownRenderedCell): any;
|
|
558
|
+
getCellWrapperComponentName(cell: MatrixDropdownCell): string;
|
|
559
|
+
getCellWrapperComponentData(cell: MatrixDropdownCell): any;
|
|
560
|
+
getColumnHeaderWrapperComponentName(cell: MatrixDropdownCell): string;
|
|
561
|
+
getColumnHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
|
|
562
|
+
getRowHeaderWrapperComponentName(cell: MatrixDropdownCell): string;
|
|
563
|
+
getRowHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
|
|
564
|
+
get showHorizontalScroll(): boolean;
|
|
565
|
+
protected onMobileChanged(): void;
|
|
566
|
+
getRootCss(): string;
|
|
567
|
+
afterRenderQuestionElement(el: HTMLElement): void;
|
|
568
|
+
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
569
|
+
private rootElement;
|
|
570
|
+
setRootElement(val: HTMLElement): void;
|
|
571
|
+
getRootElement(): HTMLElement;
|
|
572
|
+
}
|