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,135 @@
|
|
|
1
|
+
import { HashTable } from "../helpers";
|
|
2
|
+
import { ProcessValue } from "../conditionProcessValue";
|
|
3
|
+
export interface AsyncFunctionItem {
|
|
4
|
+
operand?: FunctionOperand;
|
|
5
|
+
parent?: AsyncFunctionItem;
|
|
6
|
+
children?: Array<AsyncFunctionItem>;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class Operand {
|
|
9
|
+
private static counter;
|
|
10
|
+
private _id;
|
|
11
|
+
get id(): number;
|
|
12
|
+
toString(func?: (op: Operand) => string): string;
|
|
13
|
+
abstract getType(): string;
|
|
14
|
+
abstract evaluate(processValue?: ProcessValue): any;
|
|
15
|
+
abstract setVariables(variables: Array<string>): any;
|
|
16
|
+
hasFunction(): boolean;
|
|
17
|
+
hasAsyncFunction(): boolean;
|
|
18
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
19
|
+
isEqual(op: Operand): boolean;
|
|
20
|
+
protected abstract isContentEqual(op: Operand): boolean;
|
|
21
|
+
protected areOperatorsEquals(op1: Operand, op2: Operand): boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare class BinaryOperand extends Operand {
|
|
24
|
+
private operatorName;
|
|
25
|
+
private left;
|
|
26
|
+
private right;
|
|
27
|
+
private consumer;
|
|
28
|
+
private isArithmeticValue;
|
|
29
|
+
constructor(operatorName: string, left?: any, right?: any, isArithmeticOp?: boolean);
|
|
30
|
+
private get requireStrictCompare();
|
|
31
|
+
private getIsOperandRequireStrict;
|
|
32
|
+
getType(): string;
|
|
33
|
+
get isArithmetic(): boolean;
|
|
34
|
+
get isConjunction(): boolean;
|
|
35
|
+
get conjunction(): string;
|
|
36
|
+
get operator(): string;
|
|
37
|
+
get leftOperand(): any;
|
|
38
|
+
get rightOperand(): any;
|
|
39
|
+
protected isContentEqual(op: Operand): boolean;
|
|
40
|
+
private evaluateParam;
|
|
41
|
+
evaluate(processValue?: ProcessValue): any;
|
|
42
|
+
toString(func?: (op: Operand) => string): string;
|
|
43
|
+
setVariables(variables: Array<string>): void;
|
|
44
|
+
hasFunction(): boolean;
|
|
45
|
+
hasAsyncFunction(): boolean;
|
|
46
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
47
|
+
}
|
|
48
|
+
export declare class UnaryOperand extends Operand {
|
|
49
|
+
private expressionValue;
|
|
50
|
+
private operatorName;
|
|
51
|
+
private consumer;
|
|
52
|
+
constructor(expressionValue: Operand, operatorName: string);
|
|
53
|
+
get operator(): string;
|
|
54
|
+
get expression(): Operand;
|
|
55
|
+
getType(): string;
|
|
56
|
+
toString(func?: (op: Operand) => string): string;
|
|
57
|
+
protected isContentEqual(op: Operand): boolean;
|
|
58
|
+
hasFunction(): boolean;
|
|
59
|
+
hasAsyncFunction(): boolean;
|
|
60
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
61
|
+
evaluate(processValue?: ProcessValue): boolean;
|
|
62
|
+
setVariables(variables: Array<string>): void;
|
|
63
|
+
}
|
|
64
|
+
export declare class ArrayOperand extends Operand {
|
|
65
|
+
values: Array<Operand>;
|
|
66
|
+
constructor(values: Array<Operand>);
|
|
67
|
+
getType(): string;
|
|
68
|
+
toString(func?: (op: Operand) => string): string;
|
|
69
|
+
evaluate(processValue?: ProcessValue): Array<any>;
|
|
70
|
+
setVariables(variables: Array<string>): void;
|
|
71
|
+
hasFunction(): boolean;
|
|
72
|
+
hasAsyncFunction(): boolean;
|
|
73
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
74
|
+
protected isContentEqual(op: Operand): boolean;
|
|
75
|
+
}
|
|
76
|
+
export declare class Const extends Operand {
|
|
77
|
+
private value;
|
|
78
|
+
constructor(value: any);
|
|
79
|
+
getType(): string;
|
|
80
|
+
toString(func?: (op: Operand) => string): string;
|
|
81
|
+
get correctValue(): any;
|
|
82
|
+
get requireStrictCompare(): boolean;
|
|
83
|
+
evaluate(): any;
|
|
84
|
+
setVariables(variables: Array<string>): void;
|
|
85
|
+
protected getCorrectValue(value: any): any;
|
|
86
|
+
protected isContentEqual(op: Operand): boolean;
|
|
87
|
+
private isQuote;
|
|
88
|
+
}
|
|
89
|
+
export declare class Variable extends Const {
|
|
90
|
+
private variableName;
|
|
91
|
+
static get DisableConversionChar(): string;
|
|
92
|
+
static set DisableConversionChar(val: string);
|
|
93
|
+
private valueInfo;
|
|
94
|
+
private useValueAsItIs;
|
|
95
|
+
constructor(variableName: string);
|
|
96
|
+
get requireStrictCompare(): boolean;
|
|
97
|
+
getType(): string;
|
|
98
|
+
toString(func?: (op: Operand) => string): string;
|
|
99
|
+
get variable(): string;
|
|
100
|
+
evaluate(processValue?: ProcessValue): any;
|
|
101
|
+
setVariables(variables: Array<string>): void;
|
|
102
|
+
protected getCorrectValue(value: any): any;
|
|
103
|
+
protected isContentEqual(op: Operand): boolean;
|
|
104
|
+
}
|
|
105
|
+
export declare class FunctionOperand extends Operand {
|
|
106
|
+
private originalValue;
|
|
107
|
+
private parameters;
|
|
108
|
+
constructor(originalValue: string, parameters: ArrayOperand);
|
|
109
|
+
getType(): string;
|
|
110
|
+
evaluate(processValue?: ProcessValue): any;
|
|
111
|
+
private evaluateCore;
|
|
112
|
+
toString(func?: (op: Operand) => string): string;
|
|
113
|
+
setVariables(variables: Array<string>): void;
|
|
114
|
+
isReady(proccessValue: ProcessValue): boolean;
|
|
115
|
+
private getAsynValue;
|
|
116
|
+
hasFunction(): boolean;
|
|
117
|
+
hasAsyncFunction(): boolean;
|
|
118
|
+
private isAsyncFunction;
|
|
119
|
+
addToAsyncList(list: Array<AsyncFunctionItem>): void;
|
|
120
|
+
protected isContentEqual(op: Operand): boolean;
|
|
121
|
+
}
|
|
122
|
+
export declare class OperandMaker {
|
|
123
|
+
static throwInvalidOperatorError(op: string): void;
|
|
124
|
+
static safeToString(operand: Operand, func: (op: Operand) => string): string;
|
|
125
|
+
static toOperandString(value: string): string;
|
|
126
|
+
static isBooleanValue(value: string): boolean;
|
|
127
|
+
static countDecimals(value: number): number;
|
|
128
|
+
static plusMinus(a: number, b: number, res: number): number;
|
|
129
|
+
static unaryFunctions: HashTable<Function>;
|
|
130
|
+
static binaryFunctions: HashTable<Function>;
|
|
131
|
+
static isTwoValueEquals(x: any, y: any, ignoreOrder?: boolean): boolean;
|
|
132
|
+
static operatorToString(operatorName: string): string;
|
|
133
|
+
static convertValForDateCompare(val: any, second: any): any;
|
|
134
|
+
static signs: HashTable<string>;
|
|
135
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IElement } from "./base-interfaces";
|
|
2
|
+
import { PanelModel } from "./panel";
|
|
3
|
+
import { LocalizableString } from "./localizablestring";
|
|
4
|
+
import { Question } from "./question";
|
|
5
|
+
/**
|
|
6
|
+
* The flow panel object. It is a container with flow layout where you can mix questions with markdown text.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export declare class FlowPanelModel extends PanelModel {
|
|
10
|
+
static contentElementNamePrefix: string;
|
|
11
|
+
contentChangedCallback: () => void;
|
|
12
|
+
onGetHtmlForQuestion: (question: Question) => string;
|
|
13
|
+
onCustomHtmlProducing: () => string;
|
|
14
|
+
constructor(name?: string);
|
|
15
|
+
getType(): string;
|
|
16
|
+
getChildrenLayoutType(): string;
|
|
17
|
+
onSurveyLoad(): any;
|
|
18
|
+
get content(): string;
|
|
19
|
+
set content(val: string);
|
|
20
|
+
get locContent(): LocalizableString;
|
|
21
|
+
get html(): string;
|
|
22
|
+
set html(val: string);
|
|
23
|
+
protected onContentChanged(): any;
|
|
24
|
+
produceHtml(): string;
|
|
25
|
+
getQuestionFromText(str: string): Question;
|
|
26
|
+
protected getHtmlForQuestion(question: Question): string;
|
|
27
|
+
protected getQuestionHtmlId(question: Question): string;
|
|
28
|
+
protected onAddElement(element: IElement, index: number): void;
|
|
29
|
+
protected onRemoveElement(element: IElement): void;
|
|
30
|
+
dragDropMoveElement(src: IElement, target: IElement, targetIndex: number): void;
|
|
31
|
+
private addElementToContent;
|
|
32
|
+
private insertTextAtCursor;
|
|
33
|
+
getElementContentText(element: IElement): string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HashTable } from "./helpers";
|
|
2
|
+
export declare class FunctionFactory {
|
|
3
|
+
static Instance: FunctionFactory;
|
|
4
|
+
private functionHash;
|
|
5
|
+
private isAsyncHash;
|
|
6
|
+
register(name: string, func: (params: any[], originalParams?: any[]) => any, isAsync?: boolean): void;
|
|
7
|
+
unregister(name: string): void;
|
|
8
|
+
hasFunction(name: string): boolean;
|
|
9
|
+
isAsyncFunction(name: string): boolean;
|
|
10
|
+
clear(): void;
|
|
11
|
+
getAll(): Array<string>;
|
|
12
|
+
run(name: string, params: any[], properties: HashTable<any>, originalParams: any[]): any;
|
|
13
|
+
}
|
|
14
|
+
export declare var registerFunction: (name: string, func: (params: any[], originalParams?: any[]) => any, isAsync?: boolean) => void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare class DomWindowHelper {
|
|
2
|
+
static isAvailable(): boolean;
|
|
3
|
+
static isFileReaderAvailable(): boolean;
|
|
4
|
+
static getLocation(): Location;
|
|
5
|
+
static getVisualViewport(): VisualViewport | null;
|
|
6
|
+
static getInnerWidth(): number;
|
|
7
|
+
static getInnerHeight(): number;
|
|
8
|
+
static getWindow(): Window;
|
|
9
|
+
static hasOwn(propertyName: string): boolean;
|
|
10
|
+
static getSelection(): Selection | null;
|
|
11
|
+
static requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
12
|
+
static addEventListener(type: string, listener: (e?: any) => void): void;
|
|
13
|
+
static removeEventListener(type: string, listener: (e?: any) => void): void;
|
|
14
|
+
static matchMedia(mediaQueryString: string): {
|
|
15
|
+
matches: boolean;
|
|
16
|
+
} | null;
|
|
17
|
+
}
|
|
18
|
+
export declare class DomDocumentHelper {
|
|
19
|
+
static isAvailable(): boolean;
|
|
20
|
+
static getBody(): HTMLElement;
|
|
21
|
+
static getDocumentElement(): HTMLElement;
|
|
22
|
+
static getDocument(): Document;
|
|
23
|
+
static getCookie(): string;
|
|
24
|
+
static setCookie(newCookie: string): void;
|
|
25
|
+
static activeElementBlur(): Document;
|
|
26
|
+
static createElement(tagName: string): HTMLElement;
|
|
27
|
+
static getComputedStyle(elt: Element): CSSStyleDeclaration;
|
|
28
|
+
static addEventListener(type: string, listener: (e?: any) => void): void;
|
|
29
|
+
static removeEventListener(type: string, listener: (e?: any) => void): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Base, ArrayChanges } from "./base";
|
|
2
|
+
import { HorizontalAlignment, VerticalAlignment } from "./base-interfaces";
|
|
3
|
+
import { SurveyModel } from "./survey";
|
|
4
|
+
import { ITheme } from "./themes";
|
|
5
|
+
export declare class CoverCell {
|
|
6
|
+
private cover;
|
|
7
|
+
private positionX;
|
|
8
|
+
private positionY;
|
|
9
|
+
static CLASSNAME: string;
|
|
10
|
+
private calcRow;
|
|
11
|
+
private calcColumn;
|
|
12
|
+
private calcAlignItems;
|
|
13
|
+
private calcAlignText;
|
|
14
|
+
private calcJustifyContent;
|
|
15
|
+
constructor(cover: Cover, positionX: HorizontalAlignment, positionY: VerticalAlignment);
|
|
16
|
+
get survey(): SurveyModel;
|
|
17
|
+
get css(): string;
|
|
18
|
+
get style(): any;
|
|
19
|
+
get contentStyle(): any;
|
|
20
|
+
get showLogo(): boolean;
|
|
21
|
+
get showTitle(): boolean;
|
|
22
|
+
get showDescription(): boolean;
|
|
23
|
+
get isEmpty(): boolean;
|
|
24
|
+
get textAreaWidth(): string;
|
|
25
|
+
}
|
|
26
|
+
export declare class Cover extends Base {
|
|
27
|
+
private _survey;
|
|
28
|
+
private calcBackgroundSize;
|
|
29
|
+
private updateHeaderClasses;
|
|
30
|
+
private updateContentClasses;
|
|
31
|
+
private updateBackgroundImageClasses;
|
|
32
|
+
fromTheme(theme: ITheme): void;
|
|
33
|
+
private init;
|
|
34
|
+
constructor();
|
|
35
|
+
getType(): string;
|
|
36
|
+
cells: CoverCell[];
|
|
37
|
+
actualHeight: number;
|
|
38
|
+
height: number;
|
|
39
|
+
mobileHeight: number;
|
|
40
|
+
inheritWidthFrom: "survey" | "container";
|
|
41
|
+
textAreaWidth: number;
|
|
42
|
+
textGlowEnabled: boolean;
|
|
43
|
+
overlapEnabled: boolean;
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
titleColor: string;
|
|
46
|
+
descriptionColor: string;
|
|
47
|
+
backgroundImage: string;
|
|
48
|
+
renderBackgroundImage: string;
|
|
49
|
+
backgroundImageFit: "cover" | "fill" | "contain" | "tile";
|
|
50
|
+
backgroundImageOpacity: number;
|
|
51
|
+
logoPositionX: HorizontalAlignment;
|
|
52
|
+
logoPositionY: VerticalAlignment;
|
|
53
|
+
titlePositionX: HorizontalAlignment;
|
|
54
|
+
titlePositionY: VerticalAlignment;
|
|
55
|
+
descriptionPositionX: HorizontalAlignment;
|
|
56
|
+
descriptionPositionY: VerticalAlignment;
|
|
57
|
+
logoStyle: {
|
|
58
|
+
gridColumn: number;
|
|
59
|
+
gridRow: number;
|
|
60
|
+
};
|
|
61
|
+
titleStyle: {
|
|
62
|
+
gridColumn: number;
|
|
63
|
+
gridRow: number;
|
|
64
|
+
};
|
|
65
|
+
descriptionStyle: {
|
|
66
|
+
gridColumn: number;
|
|
67
|
+
gridRow: number;
|
|
68
|
+
};
|
|
69
|
+
headerClasses: string;
|
|
70
|
+
contentClasses: string;
|
|
71
|
+
maxWidth: string;
|
|
72
|
+
backgroundImageClasses: string;
|
|
73
|
+
get renderedHeight(): string;
|
|
74
|
+
get renderedTextAreaWidth(): string;
|
|
75
|
+
get isEmpty(): boolean;
|
|
76
|
+
get survey(): SurveyModel;
|
|
77
|
+
set survey(newValue: SurveyModel);
|
|
78
|
+
get backgroundImageStyle(): {
|
|
79
|
+
opacity: number;
|
|
80
|
+
backgroundImage: string;
|
|
81
|
+
backgroundSize: string;
|
|
82
|
+
};
|
|
83
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
|
84
|
+
calculateActualHeight(logoHeight: number, titleHeight: number, descriptionHeight: number): number;
|
|
85
|
+
processResponsiveness(width: number): void;
|
|
86
|
+
get hasBackground(): boolean;
|
|
87
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface HashTable<T = any> {
|
|
2
|
+
[key: string]: T;
|
|
3
|
+
}
|
|
4
|
+
export declare function createDate(reason: string, val?: number | string | Date): Date;
|
|
5
|
+
export declare class Helpers {
|
|
6
|
+
/**
|
|
7
|
+
* A static methods that returns true if a value undefined, null, empty string or empty array.
|
|
8
|
+
* @param value
|
|
9
|
+
*/
|
|
10
|
+
static isValueEmpty(value: any): boolean;
|
|
11
|
+
static isArrayContainsEqual(x: any, y: any): boolean;
|
|
12
|
+
static isArraysEqual(x: any, y: any, ignoreOrder?: boolean, caseSensitive?: boolean, trimStrings?: boolean): boolean;
|
|
13
|
+
static compareStrings(x: string, y: string): number;
|
|
14
|
+
static isTwoValueEquals(x: any, y: any, ignoreOrder?: boolean, caseSensitive?: boolean, trimStrings?: boolean): boolean;
|
|
15
|
+
static randomizeArray<T>(array: Array<T>): Array<T>;
|
|
16
|
+
static getUnbindValue(value: any): any;
|
|
17
|
+
static createCopy(obj: any): any;
|
|
18
|
+
static isConvertibleToNumber(value: any): boolean;
|
|
19
|
+
static isValueObject(val: any, excludeArray?: boolean): boolean;
|
|
20
|
+
static isNumber(value: any): boolean;
|
|
21
|
+
static getNumber(value: any): number;
|
|
22
|
+
private static getNumberCore;
|
|
23
|
+
private static isStringHasOperator;
|
|
24
|
+
private static prepareStringToNumber;
|
|
25
|
+
static getMaxLength(maxLength: number, surveyLength: number): any;
|
|
26
|
+
static getRemainingCharacterCounterText(newValue: string | undefined, maxLength: number | null): string;
|
|
27
|
+
static getNumberByIndex(index: number, startIndexStr: string, parentIndex?: number): string;
|
|
28
|
+
static isCharNotLetterAndDigit(ch: string): boolean;
|
|
29
|
+
static isCharDigit(ch: string): boolean;
|
|
30
|
+
static isDigitsOnly(str: string): boolean;
|
|
31
|
+
private static getNumberFromStr;
|
|
32
|
+
private static countDecimals;
|
|
33
|
+
static correctAfterPlusMinis(a: number, b: number, res: number): number;
|
|
34
|
+
static sumAnyValues(a: any, b: any): any;
|
|
35
|
+
static correctAfterMultiple(a: number, b: number, res: number): number;
|
|
36
|
+
static convertArrayValueToObject(src: Array<any>, propName: string, dest?: Array<any>): Array<any>;
|
|
37
|
+
private static findObjByPropValue;
|
|
38
|
+
static convertArrayObjectToValue(src: Array<any>, propName: string): Array<any>;
|
|
39
|
+
static convertDateToString(date: Date): string;
|
|
40
|
+
static convertDateTimeToString(date: Date): string;
|
|
41
|
+
static convertValToQuestionVal(val: any, inputType?: string): any;
|
|
42
|
+
static compareVerions(ver1: string, ver2: string): number;
|
|
43
|
+
static isUrlYoutubeVideo(url: string): boolean;
|
|
44
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
2
|
+
import { ConditionRunner } from "./conditions";
|
|
3
|
+
import { IShortcutText, ISurvey } from "./base-interfaces";
|
|
4
|
+
import { BaseAction } from "./actions/action";
|
|
5
|
+
/**
|
|
6
|
+
* Array of ItemValue is used in checkbox, dropdown and radiogroup choices, matrix columns and rows.
|
|
7
|
+
* It has two main properties: value and text. If text is empty, value is used for displaying.
|
|
8
|
+
* The text property is localizable and support markdown.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItemValue extends BaseAction implements ILocalizableOwner, IShortcutText {
|
|
11
|
+
protected typeName: string;
|
|
12
|
+
[index: string]: any;
|
|
13
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
14
|
+
getRenderer(name: string): string;
|
|
15
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
16
|
+
getProcessedText(text: string): string;
|
|
17
|
+
static get Separator(): string;
|
|
18
|
+
static set Separator(val: string);
|
|
19
|
+
/**
|
|
20
|
+
* Resets the input array and fills it with values from the values array
|
|
21
|
+
*/
|
|
22
|
+
static setData(items: Array<ItemValue>, values: Array<any>, type?: string): void;
|
|
23
|
+
static getData(items: Array<ItemValue>): any;
|
|
24
|
+
static getItemByValue(items: Array<ItemValue>, val: any): ItemValue;
|
|
25
|
+
static getTextOrHtmlByValue(items: Array<ItemValue>, val: any): string;
|
|
26
|
+
static locStrsChanged(items: Array<ItemValue>): void;
|
|
27
|
+
static runConditionsForItems(items: Array<ItemValue>, filteredItems: Array<ItemValue>, runner: ConditionRunner, values: any, properties: any, useItemExpression?: boolean, onItemCallBack?: (item: ItemValue, val: boolean) => boolean): boolean;
|
|
28
|
+
static runEnabledConditionsForItems(items: Array<ItemValue>, runner: ConditionRunner, values: any, properties: any, onItemCallBack?: (item: ItemValue, val: boolean) => boolean): boolean;
|
|
29
|
+
private static runConditionsForItemsCore;
|
|
30
|
+
ownerPropertyName: string;
|
|
31
|
+
private _visible;
|
|
32
|
+
private locTextValue;
|
|
33
|
+
private visibleConditionRunner;
|
|
34
|
+
private enableConditionRunner;
|
|
35
|
+
constructor(value: any, text?: string, typeName?: string);
|
|
36
|
+
onCreating(): any;
|
|
37
|
+
getType(): string;
|
|
38
|
+
getSurvey(live?: boolean): ISurvey;
|
|
39
|
+
getLocale(): string;
|
|
40
|
+
isGhost: boolean;
|
|
41
|
+
protected get isInternal(): boolean;
|
|
42
|
+
get locText(): LocalizableString;
|
|
43
|
+
setLocText(locText: LocalizableString): void;
|
|
44
|
+
private _locOwner;
|
|
45
|
+
get locOwner(): ILocalizableOwner;
|
|
46
|
+
set locOwner(value: ILocalizableOwner);
|
|
47
|
+
get value(): any;
|
|
48
|
+
set value(newValue: any);
|
|
49
|
+
private setValue;
|
|
50
|
+
get hasText(): boolean;
|
|
51
|
+
get pureText(): string;
|
|
52
|
+
set pureText(val: string);
|
|
53
|
+
get text(): string;
|
|
54
|
+
set text(newText: string);
|
|
55
|
+
get calculatedText(): string;
|
|
56
|
+
get shortcutText(): string;
|
|
57
|
+
private canSerializeValue;
|
|
58
|
+
getData(): any;
|
|
59
|
+
toJSON(): any;
|
|
60
|
+
setData(value: any, isNewItem?: boolean): void;
|
|
61
|
+
get visibleIf(): string;
|
|
62
|
+
set visibleIf(val: string);
|
|
63
|
+
get enableIf(): string;
|
|
64
|
+
set enableIf(val: string);
|
|
65
|
+
get isVisible(): boolean;
|
|
66
|
+
setIsVisible(val: boolean): void;
|
|
67
|
+
get isEnabled(): boolean;
|
|
68
|
+
setIsEnabled(val: boolean): void;
|
|
69
|
+
addUsedLocales(locales: Array<string>): void;
|
|
70
|
+
locStrsChanged(): void;
|
|
71
|
+
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
72
|
+
protected getConditionRunner(isVisible: boolean): ConditionRunner;
|
|
73
|
+
private getVisibleConditionRunner;
|
|
74
|
+
private getEnableConditionRunner;
|
|
75
|
+
originalItem: any;
|
|
76
|
+
selectedValue: boolean;
|
|
77
|
+
get selected(): boolean;
|
|
78
|
+
private componentValue;
|
|
79
|
+
getComponent(): string;
|
|
80
|
+
setComponent(val: string): void;
|
|
81
|
+
private _htmlElement;
|
|
82
|
+
setRootElement(val: HTMLElement): void;
|
|
83
|
+
getRootElement(): HTMLElement;
|
|
84
|
+
protected getEnabled(): boolean;
|
|
85
|
+
protected setEnabled(val: boolean): void;
|
|
86
|
+
protected getVisible(): boolean;
|
|
87
|
+
protected setVisible(val: boolean): void;
|
|
88
|
+
protected getLocTitle(): LocalizableString;
|
|
89
|
+
protected getTitle(): string;
|
|
90
|
+
protected setLocTitle(val: LocalizableString): void;
|
|
91
|
+
protected setTitle(val: string): void;
|
|
92
|
+
icon: string;
|
|
93
|
+
}
|