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,98 @@
|
|
|
1
|
+
import { LocalizableString } from "./localizablestring";
|
|
2
|
+
import { QuestionCheckboxModel } from "./question_checkbox";
|
|
3
|
+
import { PopupModel } from "./popup";
|
|
4
|
+
import { DropdownMultiSelectListModel } from "./dropdownMultiSelectListModel";
|
|
5
|
+
import { EventBase } from "./base";
|
|
6
|
+
import { ItemValue } from "./itemvalue";
|
|
7
|
+
/**
|
|
8
|
+
* A class that describes the Multi-Select Dropdown (Tag Box) question type.
|
|
9
|
+
*
|
|
10
|
+
* [View Demo](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/ (linkStyle))
|
|
11
|
+
*/
|
|
12
|
+
export declare class QuestionTagboxModel extends QuestionCheckboxModel {
|
|
13
|
+
private dropdownListModelValue;
|
|
14
|
+
private itemDisplayNameMap;
|
|
15
|
+
private deselectAllItemText;
|
|
16
|
+
constructor(name: string);
|
|
17
|
+
locStrsChanged(): void;
|
|
18
|
+
private updateReadOnlyText;
|
|
19
|
+
protected getDefaultItemComponent(): string;
|
|
20
|
+
get dropdownListModel(): DropdownMultiSelectListModel;
|
|
21
|
+
set dropdownListModel(val: DropdownMultiSelectListModel);
|
|
22
|
+
/**
|
|
23
|
+
* Specifies a comparison operation used to filter the drop-down list. Applies only if [`searchEnabled`](#searchEnabled) is `true`.
|
|
24
|
+
*
|
|
25
|
+
* Possible values:
|
|
26
|
+
*
|
|
27
|
+
* - `"contains"` (default)
|
|
28
|
+
* - `"startsWith"`
|
|
29
|
+
* @see [SurveyModel.onChoicesSearch](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onChoicesSearch)
|
|
30
|
+
*/
|
|
31
|
+
searchMode: "contains" | "startsWith";
|
|
32
|
+
/**
|
|
33
|
+
* Specifies whether to display a button that clears the selected value.
|
|
34
|
+
*/
|
|
35
|
+
allowClear: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies whether users can enter a value into the input field to filter the drop-down list.
|
|
38
|
+
*/
|
|
39
|
+
searchEnabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies whether to remove selected items from the drop-down list.
|
|
42
|
+
*/
|
|
43
|
+
hideSelectedItems: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Enables lazy loading. If you set this property to `true`, you should implement the Survey's [`onChoicesLazyLoad`](https://surveyjs.io/form-library/documentation/surveymodel#onChoicesLazyLoad) event handler.
|
|
46
|
+
* @see choicesLazyLoadPageSize
|
|
47
|
+
* @see SurveyModel.onChoicesLazyLoad
|
|
48
|
+
*/
|
|
49
|
+
choicesLazyLoadEnabled: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the number of choice items to load at a time when choices are loaded on demand.
|
|
52
|
+
* @see choicesLazyLoadEnabled
|
|
53
|
+
* @see SurveyModel.onChoicesLazyLoad
|
|
54
|
+
*/
|
|
55
|
+
choicesLazyLoadPageSize: number;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies whether to close the drop-down menu after a user selects a value.
|
|
58
|
+
*/
|
|
59
|
+
closeOnSelect: number;
|
|
60
|
+
textWrapEnabled: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* A text displayed in the input field when it doesn't have a value.
|
|
63
|
+
*/
|
|
64
|
+
get placeholder(): string;
|
|
65
|
+
set placeholder(val: string);
|
|
66
|
+
get locPlaceholder(): LocalizableString;
|
|
67
|
+
get clearCaption(): string;
|
|
68
|
+
set clearCaption(value: string);
|
|
69
|
+
get locClearCaption(): LocalizableString;
|
|
70
|
+
get readOnlyText(): string;
|
|
71
|
+
set readOnlyText(val: string);
|
|
72
|
+
get locReadOnlyText(): LocalizableString;
|
|
73
|
+
getType(): string;
|
|
74
|
+
get ariaRole(): string;
|
|
75
|
+
get popupModel(): PopupModel;
|
|
76
|
+
getControlClass(): string;
|
|
77
|
+
protected updateCssClasses(res: any, css: any): void;
|
|
78
|
+
protected calcCssClasses(css: any): any;
|
|
79
|
+
onOpened: EventBase<QuestionTagboxModel>;
|
|
80
|
+
onOpenedCallBack(): void;
|
|
81
|
+
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
82
|
+
protected needConvertRenderedOtherToDataValue(): boolean;
|
|
83
|
+
protected onVisibleChoicesChanged(): void;
|
|
84
|
+
protected getItemIfChoicesNotContainThisValue(value: any, text?: string): any;
|
|
85
|
+
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
|
86
|
+
updateItemDisplayNameMap(): void;
|
|
87
|
+
protected getFirstInputElementId(): string;
|
|
88
|
+
getInputId(): string;
|
|
89
|
+
protected supportEmptyValidation(): boolean;
|
|
90
|
+
protected onBlurCore(event: any): void;
|
|
91
|
+
protected onFocusCore(event: any): void;
|
|
92
|
+
protected allElementsSelected(): boolean;
|
|
93
|
+
updateSelectAllItemText(isAllSelected: boolean): void;
|
|
94
|
+
dispose(): void;
|
|
95
|
+
clearValue(keepComment?: boolean): void;
|
|
96
|
+
get showClearButton(): boolean;
|
|
97
|
+
get isNewA11yStructure(): boolean;
|
|
98
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { LocalizableString, LocalizableStrings } from "./localizablestring";
|
|
2
|
+
import { HashTable } from "./helpers";
|
|
3
|
+
import { SurveyError } from "./survey-error";
|
|
4
|
+
import { QuestionTextBase } from "./question_textbase";
|
|
5
|
+
import { CssClassBuilder } from "./utils/cssClassBuilder";
|
|
6
|
+
import { InputMaskBase } from "./mask/mask_base";
|
|
7
|
+
import { IInputMask } from "./mask/mask_utils";
|
|
8
|
+
/**
|
|
9
|
+
* A class that describes the Single-Line Input question type.
|
|
10
|
+
*
|
|
11
|
+
* [View Demo](https://surveyjs.io/form-library/examples/questiontype-text/ (linkStyle))
|
|
12
|
+
*/
|
|
13
|
+
export declare class QuestionTextModel extends QuestionTextBase {
|
|
14
|
+
private locDataListValue;
|
|
15
|
+
private minValueRunner;
|
|
16
|
+
private maxValueRunner;
|
|
17
|
+
private maskInputAdapter;
|
|
18
|
+
private createMaskAdapter;
|
|
19
|
+
private deleteMaskAdapter;
|
|
20
|
+
private updateMaskAdapter;
|
|
21
|
+
onSetMaskType(newValue: string): void;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the type of a mask applied to the input.
|
|
24
|
+
*
|
|
25
|
+
* Possible values:
|
|
26
|
+
*
|
|
27
|
+
* - `"none"` (default)
|
|
28
|
+
* - `"numeric"`
|
|
29
|
+
* - `"currency"`
|
|
30
|
+
* - `"datetime"`
|
|
31
|
+
* - `"pattern"`
|
|
32
|
+
*
|
|
33
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
34
|
+
* @see maskSettings
|
|
35
|
+
*/
|
|
36
|
+
maskType: string;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies text alignment within the input field.
|
|
39
|
+
*
|
|
40
|
+
* Possible values:
|
|
41
|
+
*
|
|
42
|
+
* - `"left"` - Aligns input text to the left side.
|
|
43
|
+
* - `"right"` - Aligns input text to the right side.
|
|
44
|
+
* - `"auto"` (default) - Applies right alignment if a [numeric or currency input mask](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) is specified. Otherwise, applies left alignment.
|
|
45
|
+
*/
|
|
46
|
+
inputTextAlignment: "left" | "right" | "auto";
|
|
47
|
+
get maskTypeIsEmpty(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* An object with properties that configure the mask applied to the input.
|
|
50
|
+
*
|
|
51
|
+
* Available properties depend on the specified [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) and belong to corresponding classes. Refer to the class APIs for a full list of properties:
|
|
52
|
+
*
|
|
53
|
+
* | `maskType` | Class |
|
|
54
|
+
* | ---------- | ----- |
|
|
55
|
+
* | `"numeric"` | [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/api-reference/inputmasknumeric) |
|
|
56
|
+
* | `"currency"` | [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskcurrency) |
|
|
57
|
+
* | `"datetime"` | [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskdatetime) |
|
|
58
|
+
* | `"pattern"` | [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern) |
|
|
59
|
+
*
|
|
60
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
61
|
+
*/
|
|
62
|
+
get maskSettings(): InputMaskBase;
|
|
63
|
+
set maskSettings(val: InputMaskBase);
|
|
64
|
+
private setNewMaskSettingsProperty;
|
|
65
|
+
protected createMaskSettings(): InputMaskBase;
|
|
66
|
+
constructor(name: string);
|
|
67
|
+
protected isTextValue(): boolean;
|
|
68
|
+
getType(): string;
|
|
69
|
+
onSurveyLoad(): void;
|
|
70
|
+
/**
|
|
71
|
+
* A value passed on to the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) attribute of the underlying `<input>` element.
|
|
72
|
+
*
|
|
73
|
+
* Default value: `"text"`
|
|
74
|
+
*/
|
|
75
|
+
get inputType(): string;
|
|
76
|
+
set inputType(val: string);
|
|
77
|
+
getMaxLength(): any;
|
|
78
|
+
protected runConditionCore(values: HashTable<any>, properties: HashTable<any>): void;
|
|
79
|
+
protected getDisplayValueCore(keysAsText: boolean, value: any): any;
|
|
80
|
+
isLayoutTypeSupported(layoutType: string): boolean;
|
|
81
|
+
/**
|
|
82
|
+
* A value passed on to the [`size`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size) attribute of the underlying `<input>` element.
|
|
83
|
+
*/
|
|
84
|
+
get inputSize(): number;
|
|
85
|
+
set inputSize(val: number);
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated Use the [`inputSize`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputSize) property instead.
|
|
88
|
+
*/
|
|
89
|
+
get size(): number;
|
|
90
|
+
set size(val: number);
|
|
91
|
+
get isTextInput(): boolean;
|
|
92
|
+
get renderedInputSize(): number;
|
|
93
|
+
get inputWidth(): string;
|
|
94
|
+
private calInputSize;
|
|
95
|
+
resetInputSize(): void;
|
|
96
|
+
/**
|
|
97
|
+
* A value passed on to the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of the underlying `<input>` element.
|
|
98
|
+
*/
|
|
99
|
+
get autocomplete(): string;
|
|
100
|
+
set autocomplete(val: string);
|
|
101
|
+
/**
|
|
102
|
+
* A value passed on to the [`min`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min) attribute of the underlying `<input>` element.
|
|
103
|
+
* @see minValueExpression
|
|
104
|
+
*/
|
|
105
|
+
get min(): string;
|
|
106
|
+
set min(val: string);
|
|
107
|
+
/**
|
|
108
|
+
* A value passed on to the [`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max) attribute of the underlying `<input>` element.
|
|
109
|
+
* @see maxValueExpression
|
|
110
|
+
*/
|
|
111
|
+
get max(): string;
|
|
112
|
+
set max(val: string);
|
|
113
|
+
/**
|
|
114
|
+
* The minimum value specified as an expression. For example, `"minValueExpression": "today(-1)"` sets the minimum value to yesterday.
|
|
115
|
+
* @see min
|
|
116
|
+
*/
|
|
117
|
+
get minValueExpression(): string;
|
|
118
|
+
set minValueExpression(val: string);
|
|
119
|
+
/**
|
|
120
|
+
* The maximum value specified as an expression. For example, `"maxValueExpression": "today(1)"` sets the maximum value to tomorrow.
|
|
121
|
+
* @see max
|
|
122
|
+
*/
|
|
123
|
+
get maxValueExpression(): string;
|
|
124
|
+
set maxValueExpression(val: string);
|
|
125
|
+
get renderedMin(): any;
|
|
126
|
+
get renderedMax(): any;
|
|
127
|
+
/**
|
|
128
|
+
* An error message to display when the question value is less than the minimum accepted value.
|
|
129
|
+
* @see min
|
|
130
|
+
* @see minValueExpression
|
|
131
|
+
*/
|
|
132
|
+
get minErrorText(): string;
|
|
133
|
+
set minErrorText(val: string);
|
|
134
|
+
get locMinErrorText(): LocalizableString;
|
|
135
|
+
/**
|
|
136
|
+
* An error message to display when the question value exceeds the maximum accepted value.
|
|
137
|
+
* @see max
|
|
138
|
+
* @see maxValueExpression
|
|
139
|
+
*/
|
|
140
|
+
get maxErrorText(): string;
|
|
141
|
+
set maxErrorText(val: string);
|
|
142
|
+
get locMaxErrorText(): LocalizableString;
|
|
143
|
+
/**
|
|
144
|
+
* Returns `true` if the specified `inputType` supports the `min` and `max` properties.
|
|
145
|
+
* @see inputType
|
|
146
|
+
* @see min
|
|
147
|
+
* @see max
|
|
148
|
+
*/
|
|
149
|
+
get isMinMaxType(): boolean;
|
|
150
|
+
_inputValue: string;
|
|
151
|
+
get maskInstance(): IInputMask;
|
|
152
|
+
get inputValue(): string;
|
|
153
|
+
set inputValue(val: string);
|
|
154
|
+
protected onChangeQuestionValue(newValue: any): void;
|
|
155
|
+
private updateInputValue;
|
|
156
|
+
private hasToConvertToUTC;
|
|
157
|
+
private createDate;
|
|
158
|
+
protected valueForSurveyCore(val: any): any;
|
|
159
|
+
protected valueFromDataCore(val: any): any;
|
|
160
|
+
private dateValidationMessage;
|
|
161
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
162
|
+
protected canSetValueToSurvey(): boolean;
|
|
163
|
+
protected convertFuncValuetoQuestionValue(val: any): any;
|
|
164
|
+
private getMinMaxErrorText;
|
|
165
|
+
private get isValueLessMin();
|
|
166
|
+
private get isValueGreaterMax();
|
|
167
|
+
private get isDateInputType();
|
|
168
|
+
private isDateTimeLocaleType;
|
|
169
|
+
private getCalculatedMinMax;
|
|
170
|
+
private setRenderedMinMax;
|
|
171
|
+
/**
|
|
172
|
+
* A value passed on to the [`step`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step) attribute of the underlying `<input>` element.
|
|
173
|
+
*/
|
|
174
|
+
get step(): string;
|
|
175
|
+
set step(val: string);
|
|
176
|
+
get renderedStep(): string;
|
|
177
|
+
protected getIsInputTextUpdate(): boolean;
|
|
178
|
+
supportAutoAdvance(): boolean;
|
|
179
|
+
supportGoNextPageError(): boolean;
|
|
180
|
+
/**
|
|
181
|
+
* An array of predefined options from which users can select. This property configures an HTML [`<datalist>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist) element and associates it with the underlying `input` element.
|
|
182
|
+
*/
|
|
183
|
+
get dataList(): Array<string>;
|
|
184
|
+
set dataList(val: Array<string>);
|
|
185
|
+
get locDataList(): LocalizableStrings;
|
|
186
|
+
get dataListId(): string;
|
|
187
|
+
protected setNewValue(newValue: any): void;
|
|
188
|
+
protected correctValueType(newValue: any): any;
|
|
189
|
+
protected hasPlaceholder(): boolean;
|
|
190
|
+
protected getControlCssClassBuilder(): CssClassBuilder;
|
|
191
|
+
isReadOnlyRenderDiv(): boolean;
|
|
192
|
+
get inputStyle(): any;
|
|
193
|
+
private updateTextAlign;
|
|
194
|
+
private _isWaitingForEnter;
|
|
195
|
+
private updateValueOnEvent;
|
|
196
|
+
onCompositionUpdate: (event: any) => void;
|
|
197
|
+
onKeyUp: (event: any) => void;
|
|
198
|
+
private updateDateValidationMessage;
|
|
199
|
+
onKeyDown: (event: any) => void;
|
|
200
|
+
onChange: (event: any) => void;
|
|
201
|
+
protected onBlurCore(event: any): void;
|
|
202
|
+
protected onFocusCore(event: any): void;
|
|
203
|
+
afterRenderQuestionElement(el: HTMLElement): void;
|
|
204
|
+
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
205
|
+
}
|
|
206
|
+
export declare function isMinMaxType(obj: any): boolean;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Question } from "./question";
|
|
2
|
+
import { CssClassBuilder } from "./utils/cssClassBuilder";
|
|
3
|
+
import { LocalizableString } from "./localizablestring";
|
|
4
|
+
import { Base } from "./base";
|
|
5
|
+
export declare class CharacterCounter extends Base {
|
|
6
|
+
remainingCharacterCounter: string;
|
|
7
|
+
updateRemainingCharacterCounter(newValue: string, maxLength: number): void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A base class for the [Single-Line Input](https://surveyjs.io/form-library/documentation/questiontextmodel) and [Long Text](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types.
|
|
11
|
+
*/
|
|
12
|
+
export declare class QuestionTextBase extends Question {
|
|
13
|
+
constructor(name: string);
|
|
14
|
+
protected isTextValue(): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The maximum text length measured in characters. Assign 0 if the length should be unlimited.
|
|
17
|
+
*
|
|
18
|
+
* Default value: -1 (inherits the actual value from the `SurveyModel`'s [`maxTextLength`](https://surveyjs.io/form-library/documentation/surveymodel#maxTextLength) property).
|
|
19
|
+
*/
|
|
20
|
+
get maxLength(): number;
|
|
21
|
+
set maxLength(val: number);
|
|
22
|
+
getMaxLength(): any;
|
|
23
|
+
characterCounter: CharacterCounter;
|
|
24
|
+
updateRemainingCharacterCounter(newValue: string): void;
|
|
25
|
+
/**
|
|
26
|
+
* A placeholder for the input field.
|
|
27
|
+
*/
|
|
28
|
+
placeholder: string;
|
|
29
|
+
get placeHolder(): string;
|
|
30
|
+
set placeHolder(val: string);
|
|
31
|
+
get locPlaceHolder(): LocalizableString;
|
|
32
|
+
getType(): string;
|
|
33
|
+
isEmpty(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies when to update the question value.
|
|
36
|
+
*
|
|
37
|
+
* Possible values:
|
|
38
|
+
*
|
|
39
|
+
* - `"onBlur"` - Updates the value after the input field loses focus.
|
|
40
|
+
* - `"onTyping"` - Updates the value on every key press.
|
|
41
|
+
* - `"default"` (default) - Inherits the value from the `SurveyModel`'s [`textUpdateMode`](https://surveyjs.io/form-library/documentation/surveymodel#textUpdateMode) property.
|
|
42
|
+
*
|
|
43
|
+
* > Do not use the `"onTyping"` mode if your survey contains many expressions. Expressions are reevaluated each time a question value is changed. In `"onTyping"` mode, the question value changes frequently. This may cause performance degradation.
|
|
44
|
+
*/
|
|
45
|
+
get textUpdateMode(): string;
|
|
46
|
+
set textUpdateMode(val: string);
|
|
47
|
+
protected getIsInputTextUpdate(): boolean;
|
|
48
|
+
get renderedPlaceholder(): string;
|
|
49
|
+
protected onReadOnlyChanged(): void;
|
|
50
|
+
localeChanged(): void;
|
|
51
|
+
protected supportEmptyValidation(): boolean;
|
|
52
|
+
protected resetRenderedPlaceholder(): void;
|
|
53
|
+
protected hasPlaceholder(): boolean;
|
|
54
|
+
protected setNewValue(newValue: any): void;
|
|
55
|
+
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
|
56
|
+
protected convertToCorrectValue(val: any): any;
|
|
57
|
+
protected getValueSeparator(): string;
|
|
58
|
+
protected getControlCssClassBuilder(): CssClassBuilder;
|
|
59
|
+
getControlClass(): string;
|
|
60
|
+
get isNewA11yStructure(): boolean;
|
|
61
|
+
onKeyDownPreprocess: (event: any) => void;
|
|
62
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Question } from "./question";
|
|
2
|
+
import { IElement } from "./base-interfaces";
|
|
3
|
+
export declare class QuestionFactory {
|
|
4
|
+
static Instance: QuestionFactory;
|
|
5
|
+
static get DefaultChoices(): string[];
|
|
6
|
+
static get DefaultColums(): string[];
|
|
7
|
+
static get DefaultRows(): string[];
|
|
8
|
+
static get DefaultMutlipleTextItems(): string[];
|
|
9
|
+
registerQuestion(questionType: string, questionCreator: (name: string) => Question, showInToolbox?: boolean): void;
|
|
10
|
+
registerCustomQuestion(questionType: string): void;
|
|
11
|
+
unregisterElement(elementType: string, removeFromSerializer?: boolean): void;
|
|
12
|
+
clear(): void;
|
|
13
|
+
getAllTypes(): Array<string>;
|
|
14
|
+
createQuestion(questionType: string, name: string): Question;
|
|
15
|
+
}
|
|
16
|
+
export declare class ElementFactory {
|
|
17
|
+
static Instance: ElementFactory;
|
|
18
|
+
private creatorHash;
|
|
19
|
+
registerElement(elementType: string, elementCreator: (name: string) => IElement, showInToolbox?: boolean): void;
|
|
20
|
+
registerCustomQuestion: (questionType: string, showInToolbox?: boolean) => void;
|
|
21
|
+
clear(): void;
|
|
22
|
+
unregisterElement(elementType: string, removeFromSerializer?: boolean): void;
|
|
23
|
+
getAllToolboxTypes(): Array<string>;
|
|
24
|
+
getAllTypes(): Array<string>;
|
|
25
|
+
createElement(elementType: string, name: string): IElement;
|
|
26
|
+
private getAllTypesCore;
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Question, IConditionObject } from "./question";
|
|
2
|
+
import { SurveyError } from "./survey-error";
|
|
3
|
+
/**
|
|
4
|
+
* A base class for question types that cannot have a value ([Html](https://surveyjs.io/form-library/documentation/questionhtmlmodel), [Image](https://surveyjs.io/form-library/documentation/questionimagemodel)).
|
|
5
|
+
*
|
|
6
|
+
* This class does not implement new functionality—it only redefines default values of certain properties inherited from the [`Question`](https://surveyjs.io/form-library/documentation/question) class.
|
|
7
|
+
*/
|
|
8
|
+
export declare class QuestionNonValue extends Question {
|
|
9
|
+
constructor(name: string);
|
|
10
|
+
getType(): string;
|
|
11
|
+
get hasInput(): boolean;
|
|
12
|
+
get hasTitle(): boolean;
|
|
13
|
+
getTitleLocation(): string;
|
|
14
|
+
get hasComment(): boolean;
|
|
15
|
+
hasErrors(fireCallback?: boolean, rec?: any): boolean;
|
|
16
|
+
getAllErrors(): Array<SurveyError>;
|
|
17
|
+
supportAutoAdvance(): boolean;
|
|
18
|
+
addConditionObjectsByContext(objects: Array<IConditionObject>, context: any): void;
|
|
19
|
+
getConditionJson(operator?: string, path?: string): any;
|
|
20
|
+
get ariaRole(): string;
|
|
21
|
+
get ariaRequired(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Question } from "./question";
|
|
2
|
+
export declare class RendererFactory {
|
|
3
|
+
static Instance: RendererFactory;
|
|
4
|
+
private renderersHash;
|
|
5
|
+
private defaultHash;
|
|
6
|
+
unregisterRenderer(questionType: string, rendererAs: string): void;
|
|
7
|
+
registerRenderer(questionType: string, renderAs: string, renderer: any, useAsDefault?: boolean): void;
|
|
8
|
+
getRenderer(questionType: string, renderAs: string): string;
|
|
9
|
+
getRendererByQuestion(question: Question): any;
|
|
10
|
+
clear(): void;
|
|
11
|
+
}
|