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,366 @@
|
|
|
1
|
+
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
2
|
+
import { HashTable } from "./helpers";
|
|
3
|
+
import { MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
|
|
4
|
+
import { AdaptiveActionContainer } from "./actions/adaptive-container";
|
|
5
|
+
import { SurveyError } from "./survey-error";
|
|
6
|
+
import { Base } from "./base";
|
|
7
|
+
import { IAction } from "./actions/action";
|
|
8
|
+
import { PanelModel } from "./panel";
|
|
9
|
+
import { PanelLayoutColumnModel } from "./panel-layout-column";
|
|
10
|
+
import { QuestionPanelDynamicModel } from "./question_paneldynamic";
|
|
11
|
+
import { DragDropAllowEvent } from "./survey-events-api";
|
|
12
|
+
import { PopupModel } from "./popup";
|
|
13
|
+
export interface ISurveyData {
|
|
14
|
+
getValue(name: string): any;
|
|
15
|
+
setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean, questionName?: string): any;
|
|
16
|
+
getVariable(name: string): any;
|
|
17
|
+
setVariable(name: string, newValue: any): void;
|
|
18
|
+
getComment(name: string): string;
|
|
19
|
+
setComment(name: string, newValue: string, locNotification: any): any;
|
|
20
|
+
getAllValues(): any;
|
|
21
|
+
getFilteredValues(): any;
|
|
22
|
+
getFilteredProperties(): any;
|
|
23
|
+
findQuestionByName(name: string): IQuestion;
|
|
24
|
+
getEditingSurveyElement(): Base;
|
|
25
|
+
}
|
|
26
|
+
export interface ITextProcessorProp {
|
|
27
|
+
text: string;
|
|
28
|
+
returnDisplayValue?: boolean;
|
|
29
|
+
doEncoding?: boolean;
|
|
30
|
+
runAtDesign?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface ITextProcessorResult {
|
|
33
|
+
text: string;
|
|
34
|
+
hasAllValuesOnLastRun: boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface ITextProcessor {
|
|
37
|
+
processText(text: string, returnDisplayValue: boolean): string;
|
|
38
|
+
processTextEx(params: ITextProcessorProp): ITextProcessorResult;
|
|
39
|
+
}
|
|
40
|
+
export interface ISurveyErrorOwner extends ILocalizableOwner {
|
|
41
|
+
getErrorCustomText(text: string, error: SurveyError): string;
|
|
42
|
+
}
|
|
43
|
+
export interface IValueItemCustomPropValues {
|
|
44
|
+
propertyName: string;
|
|
45
|
+
values: Array<any>;
|
|
46
|
+
}
|
|
47
|
+
export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
48
|
+
getSkeletonComponentName(element: ISurveyElement): string;
|
|
49
|
+
currentPage: IPage;
|
|
50
|
+
activePage: IPage;
|
|
51
|
+
pages: Array<IPage>;
|
|
52
|
+
getCss(): any;
|
|
53
|
+
isPageStarted(page: IPage): boolean;
|
|
54
|
+
getQuestionByName(name: string): IQuestion;
|
|
55
|
+
pageVisibilityChanged(page: IPage, newValue: boolean): any;
|
|
56
|
+
panelVisibilityChanged(panel: IPanel, newValue: boolean): any;
|
|
57
|
+
questionVisibilityChanged(question: IQuestion, newValue: boolean, resetIndexes: boolean): any;
|
|
58
|
+
isEditingSurveyElement: boolean;
|
|
59
|
+
getQuestionClearIfInvisible(questionClearIf: string): string;
|
|
60
|
+
questionOrder: string;
|
|
61
|
+
matrixDragHandleArea: string;
|
|
62
|
+
keepIncorrectValues: boolean;
|
|
63
|
+
questionCreated(question: IQuestion): any;
|
|
64
|
+
questionAdded(question: IQuestion, index: number, parentPanel: any, rootPanel: any): any;
|
|
65
|
+
panelAdded(panel: IElement, index: number, parentPanel: any, rootPanel: any): any;
|
|
66
|
+
questionRemoved(question: IQuestion): any;
|
|
67
|
+
panelRemoved(panel: IElement): any;
|
|
68
|
+
questionRenamed(question: IQuestion, oldName: string, oldValueName: string): any;
|
|
69
|
+
focusQuestionByInstance(question: IQuestion, onError: boolean): boolean;
|
|
70
|
+
validateQuestion(question: IQuestion, errors: Array<SurveyError>, fireCallback: boolean): void;
|
|
71
|
+
validatePanel(panel: IPanel, errors: Array<SurveyError>, fireCallback: boolean): void;
|
|
72
|
+
hasVisibleQuestionByValueName(valueName: string): boolean;
|
|
73
|
+
questionsByValueName(valueName: string): Array<IQuestion>;
|
|
74
|
+
processHtml(html: string, reason: string): string;
|
|
75
|
+
getSurveyMarkdownHtml(element: Base, text: string, name: string): string;
|
|
76
|
+
getRendererForString(element: Base, name: string): string;
|
|
77
|
+
getRendererContextForString(element: Base, locStr: LocalizableString): any;
|
|
78
|
+
getExpressionDisplayValue(question: IQuestion, value: any, displayValue: string): string;
|
|
79
|
+
gridLayoutEnabled: boolean;
|
|
80
|
+
isDisplayMode: boolean;
|
|
81
|
+
isDesignMode: boolean;
|
|
82
|
+
areInvisibleElementsShowing: boolean;
|
|
83
|
+
currentSingleQuestion: IQuestion;
|
|
84
|
+
areEmptyElementsHidden: boolean;
|
|
85
|
+
isLoadingFromJson: boolean;
|
|
86
|
+
isUpdateValueTextOnTyping: boolean;
|
|
87
|
+
autoGrowComment: boolean;
|
|
88
|
+
allowResizeComment: boolean;
|
|
89
|
+
commentAreaRows: number;
|
|
90
|
+
state: string;
|
|
91
|
+
isLazyRendering: boolean;
|
|
92
|
+
lazyRenderFirstBatchSize: number;
|
|
93
|
+
cancelPreviewByPage(panel: IPanel): any;
|
|
94
|
+
locEditText: LocalizableString;
|
|
95
|
+
cssNavigationEdit: string;
|
|
96
|
+
rootElement?: HTMLElement;
|
|
97
|
+
requiredMark: string;
|
|
98
|
+
getQuestionDisplayValue(question: IElement, displayValue: any): any;
|
|
99
|
+
getSurveyErrorCustomText(obj: Base, text: string, error: SurveyError): string;
|
|
100
|
+
getElementTitleTagName(element: Base, tagName: string): string;
|
|
101
|
+
questionTitlePattern: string;
|
|
102
|
+
getUpdatedQuestionTitle(question: IQuestion, title: string): string;
|
|
103
|
+
getUpdatedQuestionNo(question: IQuestion, no: string): string;
|
|
104
|
+
getUpdatedPanelNo(question: IPanel, no: string): string;
|
|
105
|
+
getUpdatedPageNo(question: IPage, no: string): string;
|
|
106
|
+
getUpdatedElementTitleActions(element: ISurveyElement, titleActions: Array<IAction>): Array<IAction>;
|
|
107
|
+
getUpdatedMatrixRowActions(question: QuestionMatrixDropdownModelBase, row: MatrixDropdownRowModelBase, actions: Array<IAction>): Array<IAction>;
|
|
108
|
+
getUpdatedPanelFooterActions(panel: PanelModel, actions: Array<IAction>, question?: QuestionPanelDynamicModel): Array<IAction>;
|
|
109
|
+
questionStartIndex: string;
|
|
110
|
+
questionTitleLocation: string;
|
|
111
|
+
questionDescriptionLocation: string;
|
|
112
|
+
questionErrorLocation: string;
|
|
113
|
+
storeOthersAsComment: boolean;
|
|
114
|
+
maxTextLength: number;
|
|
115
|
+
/**
|
|
116
|
+
* @deprecated Use `maxCommentLength` instead.
|
|
117
|
+
*/
|
|
118
|
+
maxOthersLength: number;
|
|
119
|
+
maxCommentLength: number;
|
|
120
|
+
/**
|
|
121
|
+
* @deprecated Use `clearDisabledChoices` instead.
|
|
122
|
+
*/
|
|
123
|
+
clearValueOnDisableItems: boolean;
|
|
124
|
+
clearDisabledChoices: boolean;
|
|
125
|
+
timeLimitPerPage: number;
|
|
126
|
+
uploadFiles(question: IQuestion, name: string, files: File[], uploadingCallback: (data: any | Array<any>, errors?: any | Array<any>) => any): any;
|
|
127
|
+
downloadFile(question: IQuestion, name: string, content: string, callback: (status: string, data: any) => any): any;
|
|
128
|
+
clearFiles(question: IQuestion, name: string, value: any, fileName: string, clearCallback: (status: string, data: any) => any): any;
|
|
129
|
+
updateChoicesFromServer(question: IQuestion, choices: Array<any>, serverResult: any): Array<any>;
|
|
130
|
+
loadedChoicesFromServer(question: IQuestion): void;
|
|
131
|
+
updateQuestionCssClasses(question: IQuestion, cssClasses: any): any;
|
|
132
|
+
updatePanelCssClasses(panel: IPanel, cssClasses: any): any;
|
|
133
|
+
updatePageCssClasses(panel: IPanel, cssClasses: any): any;
|
|
134
|
+
updateChoiceItemCss(question: IQuestion, options: any): any;
|
|
135
|
+
afterRenderQuestion(question: IQuestion, htmlElement: HTMLElement): any;
|
|
136
|
+
afterRenderQuestionInput(question: IQuestion, htmlElement: HTMLElement): any;
|
|
137
|
+
afterRenderPanel(panel: IElement, htmlElement: HTMLElement): any;
|
|
138
|
+
afterRenderPage(htmlElement: HTMLElement): any;
|
|
139
|
+
getQuestionByValueNameFromArray(valueName: string, name: string, index: number): IQuestion;
|
|
140
|
+
canChangeChoiceItemsVisibility(): boolean;
|
|
141
|
+
getChoiceItemVisibility(question: IQuestion, item: any, val: boolean): boolean;
|
|
142
|
+
loadQuestionChoices(options: {
|
|
143
|
+
question: IQuestion;
|
|
144
|
+
filter: string;
|
|
145
|
+
skip: number;
|
|
146
|
+
take: number;
|
|
147
|
+
setItems: (items: Array<any>, totalCount: number) => void;
|
|
148
|
+
}): void;
|
|
149
|
+
getChoiceDisplayValue(options: {
|
|
150
|
+
question: IQuestion;
|
|
151
|
+
values: Array<any>;
|
|
152
|
+
setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
|
|
153
|
+
}): void;
|
|
154
|
+
matrixRowAdded(question: IQuestion, row: any): any;
|
|
155
|
+
matrixColumnAdded(question: IQuestion, column: any): void;
|
|
156
|
+
matrixBeforeRowAdded(options: {
|
|
157
|
+
question: IQuestion;
|
|
158
|
+
canAddRow: boolean;
|
|
159
|
+
}): any;
|
|
160
|
+
matrixRowRemoved(question: IQuestion, rowIndex: number, row: any): any;
|
|
161
|
+
matrixRowRemoving(question: IQuestion, rowIndex: number, row: any): boolean;
|
|
162
|
+
matrixAllowRemoveRow(question: IQuestion, rowIndex: number, row: any): boolean;
|
|
163
|
+
matrixDetailPanelVisibleChanged(question: IQuestion, rowIndex: number, row: any, visible: boolean): void;
|
|
164
|
+
matrixCellCreating(question: IQuestion, options: any): any;
|
|
165
|
+
matrixCellCreated(question: IQuestion, options: any): any;
|
|
166
|
+
matrixAfterCellRender(question: IQuestion, options: any): any;
|
|
167
|
+
matrixCellValueChanged(question: IQuestion, options: any): any;
|
|
168
|
+
matrixCellValueChanging(question: IQuestion, options: any): any;
|
|
169
|
+
isValidateOnValueChanging: boolean;
|
|
170
|
+
isValidateOnValueChanged: boolean;
|
|
171
|
+
getValidateVisitedEmptyFields(): boolean;
|
|
172
|
+
multipleTextItemAdded(question: IQuestion, item: any): void;
|
|
173
|
+
matrixCellValidate(question: IQuestion, options: any): SurveyError;
|
|
174
|
+
dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
|
|
175
|
+
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
|
|
176
|
+
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
|
177
|
+
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
178
|
+
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
179
|
+
dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
|
|
180
|
+
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
181
|
+
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
182
|
+
scrollElementToTop(element: ISurveyElement, question: IQuestion, page: IPage, id: string, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions, passedRootElement?: HTMLElement, onScolledCallback?: () => void): any;
|
|
183
|
+
runExpression(expression: string, callback?: (res: any) => void): any;
|
|
184
|
+
startSetValueOnExpression(): void;
|
|
185
|
+
finishSetValueOnExpression(): void;
|
|
186
|
+
elementContentVisibilityChanged(element: ISurveyElement): void;
|
|
187
|
+
onCorrectQuestionAnswer(question: IQuestion, options: any): void;
|
|
188
|
+
processPopupVisiblityChanged(question: IQuestion, popupModel: PopupModel, visible: boolean): void;
|
|
189
|
+
processOpenDropdownMenu(question: IQuestion, options: IDropdownMenuOptions): void;
|
|
190
|
+
chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void, context?: {
|
|
191
|
+
element: Base;
|
|
192
|
+
item?: any;
|
|
193
|
+
elementType?: string;
|
|
194
|
+
propertyName?: string;
|
|
195
|
+
}): void;
|
|
196
|
+
}
|
|
197
|
+
export interface ISurveyImpl {
|
|
198
|
+
getSurveyData(): ISurveyData;
|
|
199
|
+
getSurvey(): ISurvey;
|
|
200
|
+
getTextProcessor(): ITextProcessor;
|
|
201
|
+
}
|
|
202
|
+
export interface IConditionRunner {
|
|
203
|
+
runCondition(values: HashTable<any>, properties: HashTable<any>): any;
|
|
204
|
+
}
|
|
205
|
+
export interface IShortcutText {
|
|
206
|
+
shortcutText: string;
|
|
207
|
+
}
|
|
208
|
+
export interface ISurveyElement extends IShortcutText {
|
|
209
|
+
name: string;
|
|
210
|
+
isVisible: boolean;
|
|
211
|
+
isReadOnly: boolean;
|
|
212
|
+
isPage: boolean;
|
|
213
|
+
isPanel: boolean;
|
|
214
|
+
containsErrors: boolean;
|
|
215
|
+
parent: IPanel;
|
|
216
|
+
skeletonComponentName: string;
|
|
217
|
+
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): any;
|
|
218
|
+
onSurveyLoad(): any;
|
|
219
|
+
onFirstRendering(): any;
|
|
220
|
+
getType(): string;
|
|
221
|
+
setVisibleIndex(value: number): number;
|
|
222
|
+
locStrsChanged(): any;
|
|
223
|
+
delete(doDispose?: boolean): void;
|
|
224
|
+
toggleState(): void;
|
|
225
|
+
stateChangedCallback(): void;
|
|
226
|
+
getTitleToolbar(): AdaptiveActionContainer;
|
|
227
|
+
isCollapsed: boolean;
|
|
228
|
+
isExpanded: boolean;
|
|
229
|
+
expand(): void;
|
|
230
|
+
collapse(): void;
|
|
231
|
+
}
|
|
232
|
+
export interface IElement extends IConditionRunner, ISurveyElement {
|
|
233
|
+
visible: boolean;
|
|
234
|
+
renderWidth: string;
|
|
235
|
+
width: string;
|
|
236
|
+
minWidth?: string;
|
|
237
|
+
maxWidth?: string;
|
|
238
|
+
isExpanded: boolean;
|
|
239
|
+
isCollapsed: boolean;
|
|
240
|
+
rightIndent: number;
|
|
241
|
+
startWithNewLine: boolean;
|
|
242
|
+
colSpan?: number;
|
|
243
|
+
registerPropertyChangedHandlers(propertyNames: Array<string>, handler: any, key: string): void;
|
|
244
|
+
registerFunctionOnPropertyValueChanged(name: string, func: any, key: string): void;
|
|
245
|
+
unRegisterFunctionOnPropertyValueChanged(name: string, key: string): void;
|
|
246
|
+
getPanel(): IPanel;
|
|
247
|
+
getLayoutType(): string;
|
|
248
|
+
isLayoutTypeSupported(layoutType: string): boolean;
|
|
249
|
+
removeElement(el: IElement): boolean;
|
|
250
|
+
onAnyValueChanged(name: string, questionName: string): void;
|
|
251
|
+
updateCustomWidgets(): any;
|
|
252
|
+
clearIncorrectValues(): any;
|
|
253
|
+
clearErrors(): any;
|
|
254
|
+
dispose(): void;
|
|
255
|
+
needResponsiveWidth(): boolean;
|
|
256
|
+
updateRootStyle(): void;
|
|
257
|
+
updateElementVisibility(): void;
|
|
258
|
+
}
|
|
259
|
+
export interface IQuestion extends IElement, ISurveyErrorOwner {
|
|
260
|
+
hasTitle: boolean;
|
|
261
|
+
isEmpty(): boolean;
|
|
262
|
+
onSurveyValueChanged(newValue: any): any;
|
|
263
|
+
updateValueFromSurvey(newValue: any, clearData: boolean): void;
|
|
264
|
+
updateCommentFromSurvey(newValue: any): any;
|
|
265
|
+
supportAutoAdvance(): boolean;
|
|
266
|
+
clearUnusedValues(): any;
|
|
267
|
+
getDisplayValue(keysAsText: boolean, value: any): any;
|
|
268
|
+
getValueName(): string;
|
|
269
|
+
clearValue(): any;
|
|
270
|
+
clearValueIfInvisible(): any;
|
|
271
|
+
isAnswerCorrect(): boolean;
|
|
272
|
+
updateValueWithDefaults(): any;
|
|
273
|
+
getQuestionFromArray(name: string, index: number): IQuestion;
|
|
274
|
+
value: any;
|
|
275
|
+
survey: any;
|
|
276
|
+
}
|
|
277
|
+
export interface IParentElement {
|
|
278
|
+
addElement(element: IElement, index: number): any;
|
|
279
|
+
removeElement(element: IElement): boolean;
|
|
280
|
+
isReadOnly: boolean;
|
|
281
|
+
}
|
|
282
|
+
export interface IPanel extends ISurveyElement, IParentElement {
|
|
283
|
+
getChildrenLayoutType(): string;
|
|
284
|
+
getQuestionTitleLocation(): string;
|
|
285
|
+
getQuestionTitleWidth(): string;
|
|
286
|
+
getQuestionStartIndex(): string;
|
|
287
|
+
getQuestionErrorLocation(): string;
|
|
288
|
+
getColumsForElement(el: IElement): Array<PanelLayoutColumnModel>;
|
|
289
|
+
updateColumns(): void;
|
|
290
|
+
parent: IPanel;
|
|
291
|
+
elementWidthChanged(el: IElement): any;
|
|
292
|
+
indexOf(el: IElement): number;
|
|
293
|
+
elements: Array<IElement>;
|
|
294
|
+
ensureRowsVisibility(): void;
|
|
295
|
+
validateContainerOnly(): void;
|
|
296
|
+
onQuestionValueChanged(el: IElement): void;
|
|
297
|
+
}
|
|
298
|
+
export interface IPage extends IPanel, IConditionRunner {
|
|
299
|
+
isStartPage: boolean;
|
|
300
|
+
}
|
|
301
|
+
export interface ITitleOwner {
|
|
302
|
+
name: string;
|
|
303
|
+
no: string;
|
|
304
|
+
requiredMark: string;
|
|
305
|
+
cssTitleNumber: string;
|
|
306
|
+
cssRequiredMark?: string;
|
|
307
|
+
isRequireTextOnStart: boolean;
|
|
308
|
+
isRequireTextBeforeTitle: boolean;
|
|
309
|
+
isRequireTextAfterTitle: boolean;
|
|
310
|
+
locTitle: LocalizableString;
|
|
311
|
+
}
|
|
312
|
+
export interface IProgressInfo {
|
|
313
|
+
questionCount: number;
|
|
314
|
+
answeredQuestionCount: number;
|
|
315
|
+
requiredQuestionCount: number;
|
|
316
|
+
requiredAnsweredQuestionCount: number;
|
|
317
|
+
}
|
|
318
|
+
export interface IWrapperObject {
|
|
319
|
+
getOriginalObj(): Base;
|
|
320
|
+
getClassNameProperty(): string;
|
|
321
|
+
}
|
|
322
|
+
export interface IFindElement {
|
|
323
|
+
element: Base;
|
|
324
|
+
str: LocalizableString;
|
|
325
|
+
}
|
|
326
|
+
export type ISurveyEnvironment = {
|
|
327
|
+
root: Document | ShadowRoot;
|
|
328
|
+
rootElement: HTMLElement | ShadowRoot;
|
|
329
|
+
popupMountContainer: HTMLElement | string;
|
|
330
|
+
svgMountContainer: HTMLElement | string;
|
|
331
|
+
stylesSheetsMountContainer: HTMLElement;
|
|
332
|
+
};
|
|
333
|
+
export type LayoutElementContainer = "header" | "footer" | "left" | "right" | "contentTop" | "contentBottom" | "center";
|
|
334
|
+
export type HorizontalAlignment = "left" | "center" | "right";
|
|
335
|
+
export type VerticalAlignment = "top" | "middle" | "bottom";
|
|
336
|
+
export interface ISurveyLayoutElement {
|
|
337
|
+
id: string;
|
|
338
|
+
container?: LayoutElementContainer | Array<LayoutElementContainer>;
|
|
339
|
+
component?: string;
|
|
340
|
+
template?: string;
|
|
341
|
+
data?: any;
|
|
342
|
+
index?: number;
|
|
343
|
+
processResponsiveness?: (width: number) => void;
|
|
344
|
+
}
|
|
345
|
+
export interface IPlainDataOptions {
|
|
346
|
+
includeEmpty?: boolean;
|
|
347
|
+
includeQuestionTypes?: boolean;
|
|
348
|
+
includeValues?: boolean;
|
|
349
|
+
calculations?: Array<{
|
|
350
|
+
propertyName: string;
|
|
351
|
+
}>;
|
|
352
|
+
}
|
|
353
|
+
export interface ILoadFromJSONOptions {
|
|
354
|
+
validatePropertyValues?: boolean;
|
|
355
|
+
}
|
|
356
|
+
export interface ISaveToJSONOptions {
|
|
357
|
+
storeDefaults?: boolean;
|
|
358
|
+
version?: string;
|
|
359
|
+
}
|
|
360
|
+
export interface IDropdownMenuOptions {
|
|
361
|
+
menuType: "dropdown" | "popup" | "overlay";
|
|
362
|
+
deviceType: "mobile" | "tablet" | "desktop";
|
|
363
|
+
hasTouchScreen: boolean;
|
|
364
|
+
screenHeight: number;
|
|
365
|
+
screenWidth: number;
|
|
366
|
+
}
|