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,471 @@
|
|
|
1
|
+
import { Base, EventBase } from "./base";
|
|
2
|
+
import { IAction } from "./actions/action";
|
|
3
|
+
import { AdaptiveActionContainer } from "./actions/adaptive-container";
|
|
4
|
+
import { ISurveyElement, IPage, IPanel, IProgressInfo, ISurvey, ISurveyData, ISurveyImpl, ITextProcessor, ITitleOwner } from "./base-interfaces";
|
|
5
|
+
import { SurveyError } from "./survey-error";
|
|
6
|
+
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
7
|
+
import { ActionContainer } from "./actions/container";
|
|
8
|
+
/**
|
|
9
|
+
* A base class for the [`SurveyElement`](https://surveyjs.io/form-library/documentation/surveyelement) and [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) classes.
|
|
10
|
+
*/
|
|
11
|
+
export declare abstract class SurveyElementCore extends Base implements ILocalizableOwner {
|
|
12
|
+
constructor();
|
|
13
|
+
protected createLocTitleProperty(): LocalizableString;
|
|
14
|
+
/**
|
|
15
|
+
* Returns `true` if the survey element is a page.
|
|
16
|
+
*
|
|
17
|
+
* This property returns `false` for [`PageModel`](https://surveyjs.io/form-library/documentation/api-reference/page-model) objects in the following cases:
|
|
18
|
+
*
|
|
19
|
+
* - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
|
|
20
|
+
* - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
|
|
21
|
+
*
|
|
22
|
+
* In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
|
|
23
|
+
*/
|
|
24
|
+
get isPage(): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Returns `true` if the survey element is a panel or acts as one.
|
|
27
|
+
*
|
|
28
|
+
* This property returns `true` for `PageModel` objects in the following cases:
|
|
29
|
+
*
|
|
30
|
+
* - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
|
|
31
|
+
* - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
|
|
32
|
+
*
|
|
33
|
+
* In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
|
|
34
|
+
*/
|
|
35
|
+
get isPanel(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Returns `true` if the survey element is a question.
|
|
38
|
+
*/
|
|
39
|
+
get isQuestion(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Returns `true` if the element is a survey.
|
|
42
|
+
*/
|
|
43
|
+
get isSurvey(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* A title for the survey element. If `title` is undefined, the `name` property value is displayed instead.
|
|
46
|
+
*
|
|
47
|
+
* Empty pages and panels do not display their titles or names.
|
|
48
|
+
*
|
|
49
|
+
* @see [Configure Question Titles](https://surveyjs.io/form-library/documentation/design-survey-question-titles)
|
|
50
|
+
*/
|
|
51
|
+
get title(): string;
|
|
52
|
+
set title(val: string);
|
|
53
|
+
get locTitle(): LocalizableString;
|
|
54
|
+
protected getDefaultTitleValue(): string;
|
|
55
|
+
protected setTitleValue(val: string): void;
|
|
56
|
+
/**
|
|
57
|
+
* Returns `true` if the survey element has a description.
|
|
58
|
+
* @see description
|
|
59
|
+
*/
|
|
60
|
+
hasDescription: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Explanatory text displayed under the title.
|
|
63
|
+
* @see hasDescription
|
|
64
|
+
*/
|
|
65
|
+
description: string;
|
|
66
|
+
updateDescriptionVisibility(newDescription: any): void;
|
|
67
|
+
get locDescription(): LocalizableString;
|
|
68
|
+
get titleTagName(): string;
|
|
69
|
+
protected getDefaultTitleTagName(): string;
|
|
70
|
+
get hasTitle(): boolean;
|
|
71
|
+
get hasTitleActions(): boolean;
|
|
72
|
+
get hasTitleEvents(): boolean;
|
|
73
|
+
getTitleToolbar(): AdaptiveActionContainer;
|
|
74
|
+
getTitleOwner(): ITitleOwner;
|
|
75
|
+
get isTitleOwner(): boolean;
|
|
76
|
+
get isTitleRenderedAsString(): boolean;
|
|
77
|
+
toggleState(): boolean;
|
|
78
|
+
get cssClasses(): any;
|
|
79
|
+
get cssTitle(): string;
|
|
80
|
+
get ariaTitleId(): string;
|
|
81
|
+
get ariaDescriptionId(): string;
|
|
82
|
+
get titleTabIndex(): number;
|
|
83
|
+
get titleAriaExpanded(): any;
|
|
84
|
+
get titleAriaRole(): any;
|
|
85
|
+
get ariaLabel(): string;
|
|
86
|
+
get titleAriaLabel(): string | null;
|
|
87
|
+
protected getIsTitleRenderedAsString(): boolean;
|
|
88
|
+
abstract getLocale(): string;
|
|
89
|
+
abstract getMarkdownHtml(text: string, name: string): string;
|
|
90
|
+
abstract getRenderer(name: string): string;
|
|
91
|
+
abstract getRendererContext(locStr: LocalizableString): any;
|
|
92
|
+
abstract getProcessedText(text: string): string;
|
|
93
|
+
}
|
|
94
|
+
export declare enum DragTypeOverMeEnum {
|
|
95
|
+
InsideEmptyPanel = 1,
|
|
96
|
+
MultilineRight = 2,
|
|
97
|
+
MultilineLeft = 3,
|
|
98
|
+
Top = 4,
|
|
99
|
+
Right = 5,
|
|
100
|
+
Bottom = 6,
|
|
101
|
+
Left = 7
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A base class for all survey elements.
|
|
105
|
+
*/
|
|
106
|
+
export declare class SurveyElement<E = any> extends SurveyElementCore implements ISurveyElement {
|
|
107
|
+
stateChangedCallback: () => void;
|
|
108
|
+
static getProgressInfoByElements(children: Array<SurveyElement>, isRequired: boolean): IProgressInfo;
|
|
109
|
+
private surveyImplValue;
|
|
110
|
+
private surveyDataValue;
|
|
111
|
+
private surveyValue;
|
|
112
|
+
private textProcessorValue;
|
|
113
|
+
private selectedElementInDesignValue;
|
|
114
|
+
dragTypeOverMe: DragTypeOverMeEnum;
|
|
115
|
+
isDragMe: boolean;
|
|
116
|
+
readOnlyChangedCallback: () => void;
|
|
117
|
+
private static IsNeedScrollIntoView;
|
|
118
|
+
static ScrollIntoView(el: HTMLElement, scrollIntoViewOptions?: ScrollIntoViewOptions, doneCallback?: () => void): void;
|
|
119
|
+
static ScrollElementToTop(elementId: string, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions, doneCallback?: () => void): boolean;
|
|
120
|
+
static ScrollElementToViewCore(el: HTMLElement, checkLeft: boolean, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions, doneCallback?: () => void): boolean;
|
|
121
|
+
static GetFirstNonTextElement(elements: any, removeSpaces?: boolean): any;
|
|
122
|
+
static FocusElement(elementId: string, isTimeOut?: boolean, containerEl?: HTMLElement): boolean;
|
|
123
|
+
private static focusElementCore;
|
|
124
|
+
static CreateDisabledDesignElements: boolean;
|
|
125
|
+
disableDesignActions: boolean;
|
|
126
|
+
effectiveColSpan: number;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies how many columns this survey element spans in the grid layout. Applies only if you set the `SurveyModel`'s [`gridLayoutEnabled`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#gridLayoutEnabled) property to `true` and define the [`gridLayoutColumns`](https://surveyjs.io/form-library/documentation/api-reference/page-model#gridLayoutColumns) array for the parent page or panel.
|
|
129
|
+
*
|
|
130
|
+
* Default value: 1
|
|
131
|
+
*/
|
|
132
|
+
get colSpan(): number;
|
|
133
|
+
set colSpan(val: number);
|
|
134
|
+
constructor(name: string);
|
|
135
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
136
|
+
protected getSkeletonComponentNameCore(): string;
|
|
137
|
+
private parentQuestionValue;
|
|
138
|
+
/**
|
|
139
|
+
* A Dynamic Panel, Dynamic Matrix, or Dropdown Matrix that includes the current question.
|
|
140
|
+
*
|
|
141
|
+
* This property is `null` for standalone questions.
|
|
142
|
+
*/
|
|
143
|
+
get parentQuestion(): E;
|
|
144
|
+
setParentQuestion(val: E): void;
|
|
145
|
+
protected onParentQuestionChanged(): void;
|
|
146
|
+
updateElementVisibility(): void;
|
|
147
|
+
get skeletonComponentName(): string;
|
|
148
|
+
/**
|
|
149
|
+
* Gets and sets the survey element's expand state.
|
|
150
|
+
*
|
|
151
|
+
* Possible values:
|
|
152
|
+
*
|
|
153
|
+
* - `"default"` (default) - The survey element is displayed in full and cannot be collapsed in the UI.
|
|
154
|
+
* - `"expanded"` - The survey element is displayed in full and can be collapsed in the UI.
|
|
155
|
+
* - `"collapsed"` - The survey element displays only `title` and `description` and can be expanded in the UI.
|
|
156
|
+
*
|
|
157
|
+
* @see toggleState
|
|
158
|
+
* @see collapse
|
|
159
|
+
* @see expand
|
|
160
|
+
* @see isCollapsed
|
|
161
|
+
* @see isExpanded
|
|
162
|
+
*/
|
|
163
|
+
get state(): string;
|
|
164
|
+
set state(val: string);
|
|
165
|
+
protected notifyStateChanged(prevState: string): void;
|
|
166
|
+
/**
|
|
167
|
+
* Returns `true` if the survey element is collapsed.
|
|
168
|
+
* @see state
|
|
169
|
+
* @see toggleState
|
|
170
|
+
* @see collapse
|
|
171
|
+
* @see expand
|
|
172
|
+
* @see isExpanded
|
|
173
|
+
*/
|
|
174
|
+
get isCollapsed(): boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Returns `true` if the survey element is expanded.
|
|
177
|
+
* @see state
|
|
178
|
+
* @see toggleState
|
|
179
|
+
* @see collapse
|
|
180
|
+
* @see expand
|
|
181
|
+
* @see isCollapsed
|
|
182
|
+
*/
|
|
183
|
+
get isExpanded(): boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Collapses the survey element.
|
|
186
|
+
*
|
|
187
|
+
* In collapsed state, the element displays only `title` and `description`.
|
|
188
|
+
* @see title
|
|
189
|
+
* @see description
|
|
190
|
+
* @see state
|
|
191
|
+
* @see toggleState
|
|
192
|
+
* @see expand
|
|
193
|
+
* @see isCollapsed
|
|
194
|
+
* @see isExpanded
|
|
195
|
+
*/
|
|
196
|
+
collapse(): void;
|
|
197
|
+
/**
|
|
198
|
+
* Expands the survey element.
|
|
199
|
+
* @see state
|
|
200
|
+
* @see toggleState
|
|
201
|
+
* @see collapse
|
|
202
|
+
* @see isCollapsed
|
|
203
|
+
* @see isExpanded
|
|
204
|
+
*/
|
|
205
|
+
expand(): void;
|
|
206
|
+
/**
|
|
207
|
+
* Toggles the survey element's `state` between collapsed and expanded.
|
|
208
|
+
* @see state
|
|
209
|
+
* @see collapse
|
|
210
|
+
* @see expand
|
|
211
|
+
* @see isCollapsed
|
|
212
|
+
* @see isExpanded
|
|
213
|
+
*/
|
|
214
|
+
toggleState(): boolean;
|
|
215
|
+
get hasStateButton(): boolean;
|
|
216
|
+
get shortcutText(): string;
|
|
217
|
+
private titleToolbarValue;
|
|
218
|
+
getTitleToolbar(): AdaptiveActionContainer;
|
|
219
|
+
protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
|
|
220
|
+
get titleActions(): Array<any>;
|
|
221
|
+
private isTitleActionRequested;
|
|
222
|
+
getTitleActions(): Array<any>;
|
|
223
|
+
protected getDefaultTitleActions(): Array<IAction>;
|
|
224
|
+
private updateTitleActions;
|
|
225
|
+
locStrsChanged(): void;
|
|
226
|
+
get hasTitleActions(): boolean;
|
|
227
|
+
get hasTitleEvents(): boolean;
|
|
228
|
+
get titleTabIndex(): number;
|
|
229
|
+
get titleAriaExpanded(): any;
|
|
230
|
+
get titleAriaRole(): any;
|
|
231
|
+
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
232
|
+
protected canRunConditions(): boolean;
|
|
233
|
+
getDataFilteredValues(): any;
|
|
234
|
+
getDataFilteredProperties(): any;
|
|
235
|
+
protected get surveyImpl(): ISurveyImpl;
|
|
236
|
+
__setData(data: ISurveyData): void;
|
|
237
|
+
get data(): ISurveyData;
|
|
238
|
+
/**
|
|
239
|
+
* Returns the survey object.
|
|
240
|
+
*/
|
|
241
|
+
get survey(): ISurvey;
|
|
242
|
+
getSurvey(live?: boolean): ISurvey;
|
|
243
|
+
protected setSurveyCore(value: ISurvey): void;
|
|
244
|
+
get skeletonHeight(): string;
|
|
245
|
+
isContentElement: boolean;
|
|
246
|
+
isEditableTemplateElement: boolean;
|
|
247
|
+
isInteractiveDesignElement: boolean;
|
|
248
|
+
protected get isInternal(): boolean;
|
|
249
|
+
get areInvisibleElementsShowing(): boolean;
|
|
250
|
+
get isVisible(): boolean;
|
|
251
|
+
/**
|
|
252
|
+
* Returns `true` if the survey element or its parent element is read-only.
|
|
253
|
+
*
|
|
254
|
+
* If you want to switch a survey element to the read-only state based on a condition, specify the [`enableIf`](https://surveyjs.io/form-library/documentation/question#enableIf) property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
255
|
+
* @see readOnly
|
|
256
|
+
*/
|
|
257
|
+
get isReadOnly(): boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Makes the survey element read-only.
|
|
260
|
+
*
|
|
261
|
+
* If you want to switch a survey element to the read-only state based on a condition, specify the [`enableIf`](https://surveyjs.io/form-library/documentation/question#enableIf) property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
262
|
+
* @see isReadOnly
|
|
263
|
+
*/
|
|
264
|
+
get readOnly(): boolean;
|
|
265
|
+
set readOnly(val: boolean);
|
|
266
|
+
protected onReadOnlyChanged(): void;
|
|
267
|
+
private get css();
|
|
268
|
+
private isCssValueCalculating;
|
|
269
|
+
get cssClassesValue(): any;
|
|
270
|
+
private ensureCssClassesValue;
|
|
271
|
+
private createCssClassesValue;
|
|
272
|
+
protected onCalcCssClasses(classes: any): void;
|
|
273
|
+
/**
|
|
274
|
+
* Returns an object in which keys are UI elements and values are CSS classes applied to them.
|
|
275
|
+
*
|
|
276
|
+
* Use the following events of the [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) object to override CSS classes:
|
|
277
|
+
*
|
|
278
|
+
* - [`onUpdateQuestionCssClasses`](https://surveyjs.io/form-library/documentation/surveymodel#onUpdateQuestionCssClasses)
|
|
279
|
+
* - [`onUpdatePanelCssClasses`](https://surveyjs.io/form-library/documentation/surveymodel#onUpdatePanelCssClasses)
|
|
280
|
+
* - [`onUpdatePageCssClasses`](https://surveyjs.io/form-library/documentation/surveymodel#onUpdatePageCssClasses)
|
|
281
|
+
* - [`onUpdateChoiceItemCss`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onUpdateChoiceItemCss)
|
|
282
|
+
*/
|
|
283
|
+
get cssClasses(): any;
|
|
284
|
+
get cssTitleNumber(): any;
|
|
285
|
+
get cssRequiredMark(): any;
|
|
286
|
+
getCssTitleExpandableSvg(): string;
|
|
287
|
+
protected calcCssClasses(css: any): any;
|
|
288
|
+
protected updateElementCssCore(cssClasses: any): void;
|
|
289
|
+
get cssError(): string;
|
|
290
|
+
updateElementCss(reNew?: boolean): void;
|
|
291
|
+
protected clearCssClasses(): void;
|
|
292
|
+
protected getIsLoadingFromJson(): boolean;
|
|
293
|
+
/**
|
|
294
|
+
* A survey element identifier.
|
|
295
|
+
*
|
|
296
|
+
* > Question names must be unique.
|
|
297
|
+
*/
|
|
298
|
+
get name(): string;
|
|
299
|
+
set name(val: string);
|
|
300
|
+
protected getValidName(name: string): string;
|
|
301
|
+
protected onNameChanged(oldValue: string): void;
|
|
302
|
+
protected updateBindingValue(valueName: string, value: any): void;
|
|
303
|
+
/**
|
|
304
|
+
* Validation errors. Call the `validate()` method to validate survey element data.
|
|
305
|
+
* @see validate
|
|
306
|
+
*/
|
|
307
|
+
get errors(): Array<SurveyError>;
|
|
308
|
+
set errors(val: Array<SurveyError>);
|
|
309
|
+
hasVisibleErrors: boolean;
|
|
310
|
+
private updateVisibleErrors;
|
|
311
|
+
/**
|
|
312
|
+
* Returns `true` if the survey element or its child elements have validation errors.
|
|
313
|
+
*
|
|
314
|
+
* This property contains the result of the most recent validation. This result may be outdated. Call the `validate` method to get an up-to-date value.
|
|
315
|
+
* @see errors
|
|
316
|
+
*/
|
|
317
|
+
get containsErrors(): boolean;
|
|
318
|
+
updateContainsErrors(): void;
|
|
319
|
+
protected getContainsErrors(): boolean;
|
|
320
|
+
get selectedElementInDesign(): SurveyElement;
|
|
321
|
+
set selectedElementInDesign(val: SurveyElement);
|
|
322
|
+
updateCustomWidgets(): void;
|
|
323
|
+
onSurveyLoad(): void;
|
|
324
|
+
private wasRenderedValue;
|
|
325
|
+
get wasRendered(): boolean;
|
|
326
|
+
onFirstRendering(): void;
|
|
327
|
+
protected onFirstRenderingCore(): void;
|
|
328
|
+
endLoadingFromJson(): void;
|
|
329
|
+
setVisibleIndex(index: number): number;
|
|
330
|
+
delete(doDispose: boolean): void;
|
|
331
|
+
locOwner: ILocalizableOwner;
|
|
332
|
+
/**
|
|
333
|
+
* Returns the survey's [locale](https://surveyjs.io/form-library/documentation/surveymodel#locale).
|
|
334
|
+
*
|
|
335
|
+
* If a default locale is used, this method returns an empty string. To get the applied locale in this case, use the following code:
|
|
336
|
+
*
|
|
337
|
+
* ```js
|
|
338
|
+
* import { surveyLocalization } from 'survey-core';
|
|
339
|
+
* const defaultLocale = surveyLocalization.defaultLocale;
|
|
340
|
+
* ```
|
|
341
|
+
*
|
|
342
|
+
* @see [Localization & Globalization](https://surveyjs.io/form-library/documentation/localization)
|
|
343
|
+
*/
|
|
344
|
+
getLocale(): string;
|
|
345
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
346
|
+
getRenderer(name: string): string;
|
|
347
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
348
|
+
getProcessedText(text: string): string;
|
|
349
|
+
protected getUseDisplayValuesInDynamicTexts(): boolean;
|
|
350
|
+
protected removeSelfFromList(list: Array<any>): void;
|
|
351
|
+
protected get textProcessor(): ITextProcessor;
|
|
352
|
+
protected getProcessedHtml(html: string): string;
|
|
353
|
+
protected onSetData(): void;
|
|
354
|
+
get parent(): IPanel;
|
|
355
|
+
set parent(val: IPanel);
|
|
356
|
+
protected getPage(parent: IPanel): IPage;
|
|
357
|
+
protected moveToBase(parent: IPanel, container: IPanel, insertBefore?: any): boolean;
|
|
358
|
+
protected setPage(parent: IPanel, newPage: IPage): void;
|
|
359
|
+
protected getSearchableLocKeys(keys: Array<string>): void;
|
|
360
|
+
get isDefaultV2Theme(): boolean;
|
|
361
|
+
get hasParent(): boolean;
|
|
362
|
+
isSingleInRow: boolean;
|
|
363
|
+
private shouldAddRunnerStyles;
|
|
364
|
+
protected get isCompact(): boolean;
|
|
365
|
+
private canHaveFrameStyles;
|
|
366
|
+
protected getHasFrameV2(): boolean;
|
|
367
|
+
protected getIsNested(): boolean;
|
|
368
|
+
protected getCssRoot(cssClasses: {
|
|
369
|
+
[index: string]: string;
|
|
370
|
+
}): string;
|
|
371
|
+
/**
|
|
372
|
+
* Sets survey element width in CSS values.
|
|
373
|
+
*
|
|
374
|
+
* Default value: ""
|
|
375
|
+
* @see minWidth
|
|
376
|
+
* @see maxWidth
|
|
377
|
+
*/
|
|
378
|
+
get width(): string;
|
|
379
|
+
set width(val: string);
|
|
380
|
+
/**
|
|
381
|
+
* Gets or sets minimum survey element width in CSS values.
|
|
382
|
+
*
|
|
383
|
+
* Default value: "300px" (taken from [`settings.minWidth`](https://surveyjs.io/form-library/documentation/settings#minWidth))
|
|
384
|
+
* @see maxWidth
|
|
385
|
+
* @see renderWidth
|
|
386
|
+
* @see width
|
|
387
|
+
*/
|
|
388
|
+
get minWidth(): string;
|
|
389
|
+
set minWidth(val: string);
|
|
390
|
+
/**
|
|
391
|
+
* Gets or sets maximum survey element width in CSS values.
|
|
392
|
+
*
|
|
393
|
+
* Default value: "100%" (taken from [`settings.maxWidth`](https://surveyjs.io/form-library/documentation/settings#maxWidth))
|
|
394
|
+
* @see minWidth
|
|
395
|
+
* @see renderWidth
|
|
396
|
+
* @see width
|
|
397
|
+
*/
|
|
398
|
+
get maxWidth(): string;
|
|
399
|
+
set maxWidth(val: string);
|
|
400
|
+
/**
|
|
401
|
+
* Returns a calculated width of the rendered survey element in CSS values.
|
|
402
|
+
* @see width
|
|
403
|
+
* @see minWidth
|
|
404
|
+
* @see maxWidth
|
|
405
|
+
*/
|
|
406
|
+
get renderWidth(): string;
|
|
407
|
+
set renderWidth(val: string);
|
|
408
|
+
/**
|
|
409
|
+
* Increases or decreases an indent of survey element content from the left edge. Accepts positive integer values and 0. Does not apply in the Default V2 theme.
|
|
410
|
+
* @see rightIndent
|
|
411
|
+
*/
|
|
412
|
+
get indent(): number;
|
|
413
|
+
set indent(val: number);
|
|
414
|
+
/**
|
|
415
|
+
* Increases or decreases an indent of survey element content from the right edge. Accepts positive integer values and 0. Does not apply in the Default V2 theme.
|
|
416
|
+
* @see indent
|
|
417
|
+
*/
|
|
418
|
+
get rightIndent(): number;
|
|
419
|
+
set rightIndent(val: number);
|
|
420
|
+
getRootStyle(): object;
|
|
421
|
+
get paddingLeft(): string;
|
|
422
|
+
protected calcPaddingLeft(): string;
|
|
423
|
+
get paddingRight(): string;
|
|
424
|
+
set paddingRight(val: string);
|
|
425
|
+
protected calcPaddingRight(): string;
|
|
426
|
+
protected resetIndents(): void;
|
|
427
|
+
allowRootStyle: boolean;
|
|
428
|
+
rootStyle: any;
|
|
429
|
+
updateRootStyle(): void;
|
|
430
|
+
private isContainsSelection;
|
|
431
|
+
get clickTitleFunction(): any;
|
|
432
|
+
protected needClickTitleFunction(): boolean;
|
|
433
|
+
protected processTitleClick(): void;
|
|
434
|
+
get hasAdditionalTitleToolbar(): boolean;
|
|
435
|
+
get additionalTitleToolbar(): ActionContainer;
|
|
436
|
+
protected getAdditionalTitleToolbar(): ActionContainer | null;
|
|
437
|
+
protected getCssTitle(cssClasses: any): string;
|
|
438
|
+
get isDisabledStyle(): boolean;
|
|
439
|
+
get isReadOnlyStyle(): boolean;
|
|
440
|
+
protected getIsDisableAndReadOnlyStyles(itemReadOnly: boolean): Array<boolean>;
|
|
441
|
+
get isPreviewStyle(): boolean;
|
|
442
|
+
localeChanged(): void;
|
|
443
|
+
private wrapperElement?;
|
|
444
|
+
setWrapperElement(element?: HTMLElement): void;
|
|
445
|
+
getWrapperElement(): HTMLElement;
|
|
446
|
+
private _renderedIsExpanded;
|
|
447
|
+
private _isAnimatingCollapseExpand;
|
|
448
|
+
private set isAnimatingCollapseExpand(value);
|
|
449
|
+
private get isAnimatingCollapseExpand();
|
|
450
|
+
protected onElementExpanded(elementIsRendered: boolean): void;
|
|
451
|
+
private getExpandCollapseAnimationOptions;
|
|
452
|
+
private get isExpandCollapseAnimationEnabled();
|
|
453
|
+
private animationCollapsed;
|
|
454
|
+
set renderedIsExpanded(val: boolean);
|
|
455
|
+
get renderedIsExpanded(): boolean;
|
|
456
|
+
protected getIsAnimationAllowed(): boolean;
|
|
457
|
+
onAfterRenderElement: EventBase<SurveyElement<E>, any>;
|
|
458
|
+
afterRenderCore(element: HTMLElement): void;
|
|
459
|
+
dispose(): void;
|
|
460
|
+
}
|
|
461
|
+
export declare class RenderingCompletedAwaiter {
|
|
462
|
+
private _elements;
|
|
463
|
+
private _renderedHandler;
|
|
464
|
+
constructor(_elements: Array<SurveyElement>, _renderedHandler: () => void, waitingTimeout?: number);
|
|
465
|
+
private _elementsToRenderCount;
|
|
466
|
+
private _elementsToRenderTimer;
|
|
467
|
+
private _elementRenderedHandler;
|
|
468
|
+
private stopWaitingForElementsRendering;
|
|
469
|
+
private visibleElementsRendered;
|
|
470
|
+
dispose(): void;
|
|
471
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ISurveyErrorOwner } from "./base-interfaces";
|
|
2
|
+
import { LocalizableString } from "./localizablestring";
|
|
3
|
+
export declare class SurveyError {
|
|
4
|
+
text: string;
|
|
5
|
+
protected errorOwner: ISurveyErrorOwner;
|
|
6
|
+
private locTextValue;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
constructor(text?: string, errorOwner?: ISurveyErrorOwner);
|
|
9
|
+
equals(error: SurveyError): boolean;
|
|
10
|
+
get locText(): LocalizableString;
|
|
11
|
+
getText(): string;
|
|
12
|
+
getErrorType(): string;
|
|
13
|
+
protected getDefaultText(): string;
|
|
14
|
+
protected getLocale(): string;
|
|
15
|
+
protected getLocalizationString(locStrName: string): string;
|
|
16
|
+
onUpdateErrorTextCallback: (error: SurveyError) => void;
|
|
17
|
+
updateText(): void;
|
|
18
|
+
}
|