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,300 @@
|
|
|
1
|
+
import { ILocalizableOwner, LocalizableString } from "../localizablestring";
|
|
2
|
+
import { Base, ComputedUpdater } from "../base";
|
|
3
|
+
import { IListModel } from "../list";
|
|
4
|
+
import { IPopupOptionsBase, PopupModel } from "../popup";
|
|
5
|
+
export type actionModeType = "large" | "small" | "popup" | "removed";
|
|
6
|
+
/**
|
|
7
|
+
* An action item.
|
|
8
|
+
*
|
|
9
|
+
* Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.
|
|
10
|
+
*
|
|
11
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
12
|
+
*/
|
|
13
|
+
export interface IAction {
|
|
14
|
+
/**
|
|
15
|
+
* A unique action item identifier.
|
|
16
|
+
*
|
|
17
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the action item's visibility.
|
|
22
|
+
* @see enabled
|
|
23
|
+
* @see active
|
|
24
|
+
*/
|
|
25
|
+
visible?: boolean | ComputedUpdater<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* The action item's title.
|
|
28
|
+
*
|
|
29
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
30
|
+
* @see showTitle
|
|
31
|
+
* @see disableShrink
|
|
32
|
+
*/
|
|
33
|
+
title?: string;
|
|
34
|
+
locTitle?: LocalizableString;
|
|
35
|
+
locTitleName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The action item's tooltip.
|
|
38
|
+
*/
|
|
39
|
+
tooltip?: string;
|
|
40
|
+
locTooltipName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies whether users can interact with the action item.
|
|
43
|
+
* @see active
|
|
44
|
+
* @see visible
|
|
45
|
+
*/
|
|
46
|
+
enabled?: boolean | ComputedUpdater<boolean>;
|
|
47
|
+
enabledIf?: () => boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the visibility of the action item's title.
|
|
50
|
+
* @see title
|
|
51
|
+
* @see disableShrink
|
|
52
|
+
*/
|
|
53
|
+
showTitle?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* A function that is executed when users click the action item.
|
|
56
|
+
*
|
|
57
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
58
|
+
*/
|
|
59
|
+
action?: (context?: any) => void;
|
|
60
|
+
onFocus?: (isMouse: boolean, event: any) => void;
|
|
61
|
+
/**
|
|
62
|
+
* One or several CSS classes that you want to apply to the outer `<div>` element.
|
|
63
|
+
*
|
|
64
|
+
* In the markup, an action item is rendered as an `<input>` wrapped in a `<div>`. The `css` property applies classes to the `<div>`.
|
|
65
|
+
*
|
|
66
|
+
* To apply several classes, separate them with a space character: `"myclass1 myclass2"`.
|
|
67
|
+
*
|
|
68
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
69
|
+
* @see innerCss
|
|
70
|
+
*/
|
|
71
|
+
css?: string;
|
|
72
|
+
/**
|
|
73
|
+
* One or several CSS classes that you want to apply to the inner `<input>` element.
|
|
74
|
+
*
|
|
75
|
+
* In the markup, an action item is rendered as an `<input>` wrapped in a `<div>`. The `innerCss` property applies classes to the `<input>`.
|
|
76
|
+
*
|
|
77
|
+
* To apply several classes, separate them with a space character: `"myclass1 myclass2"`.
|
|
78
|
+
*
|
|
79
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
80
|
+
* @see css
|
|
81
|
+
*/
|
|
82
|
+
innerCss?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The action item's data object. Use it to pass required data to a custom template or component.
|
|
85
|
+
*/
|
|
86
|
+
data?: any;
|
|
87
|
+
popupModel?: any;
|
|
88
|
+
needSeparator?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Specifies whether the action item is active.
|
|
91
|
+
*
|
|
92
|
+
* Use this property as a flag to specify different action item appearances in different states.
|
|
93
|
+
* @see enabled
|
|
94
|
+
* @see visible
|
|
95
|
+
*/
|
|
96
|
+
active?: boolean;
|
|
97
|
+
pressed?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the name of a template used to render the action item.
|
|
100
|
+
* @see component
|
|
101
|
+
*/
|
|
102
|
+
template?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies the name of a component used to render the action item.
|
|
105
|
+
*/
|
|
106
|
+
component?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The action item's icon name.
|
|
109
|
+
* @see iconSize
|
|
110
|
+
*/
|
|
111
|
+
iconName?: string;
|
|
112
|
+
/**
|
|
113
|
+
* The action item's icon size in pixels.
|
|
114
|
+
* @see iconName
|
|
115
|
+
*/
|
|
116
|
+
iconSize?: number | string;
|
|
117
|
+
/**
|
|
118
|
+
* The action item's location in a matrix question's row.
|
|
119
|
+
*
|
|
120
|
+
* The following values are available:
|
|
121
|
+
*
|
|
122
|
+
* - `"start"` - The action item is located at the beginning of the row.
|
|
123
|
+
* - `"end"` - The action is located at the end of the row.
|
|
124
|
+
*/
|
|
125
|
+
location?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Set this property to `true` if you want to disable keyboard navigation for the action item (sets the `tabIndex` attribute to -1).
|
|
128
|
+
*/
|
|
129
|
+
disableTabStop?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Set this property to `true` if you want the item's `title` to be always visible.
|
|
132
|
+
* If you set it to `false`, the `title` hides when the screen space is limited, and the item displays only the icon.
|
|
133
|
+
* @see title
|
|
134
|
+
* @see iconName
|
|
135
|
+
*/
|
|
136
|
+
disableShrink?: boolean;
|
|
137
|
+
disableHide?: boolean;
|
|
138
|
+
mode?: actionModeType;
|
|
139
|
+
/**
|
|
140
|
+
* A number that specifies the action's position relative to other actions.
|
|
141
|
+
*
|
|
142
|
+
* [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
|
|
143
|
+
*/
|
|
144
|
+
visibleIndex?: number;
|
|
145
|
+
needSpace?: boolean;
|
|
146
|
+
ariaChecked?: boolean;
|
|
147
|
+
ariaExpanded?: boolean;
|
|
148
|
+
ariaRole?: string;
|
|
149
|
+
elementId?: string;
|
|
150
|
+
items?: Array<IAction>;
|
|
151
|
+
markerIconName?: string;
|
|
152
|
+
showPopup?: () => void;
|
|
153
|
+
hidePopup?: () => void;
|
|
154
|
+
}
|
|
155
|
+
export interface IActionDropdownPopupOptions extends IListModel, IPopupOptionsBase {
|
|
156
|
+
}
|
|
157
|
+
export declare function createDropdownActionModel(actionOptions: IAction, dropdownOptions: IActionDropdownPopupOptions, locOwner?: ILocalizableOwner): Action;
|
|
158
|
+
export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase): Action;
|
|
159
|
+
export declare function createPopupModelWithListModel(listOptions: IListModel, popupOptions: IPopupOptionsBase): PopupModel;
|
|
160
|
+
export declare function getActionDropdownButtonTarget(container: HTMLElement): HTMLElement;
|
|
161
|
+
export declare abstract class BaseAction extends Base implements IAction {
|
|
162
|
+
items?: IAction[];
|
|
163
|
+
private static renderedId;
|
|
164
|
+
private static getNextRendredId;
|
|
165
|
+
private cssClassesValue;
|
|
166
|
+
private rendredIdValue;
|
|
167
|
+
private ownerValue;
|
|
168
|
+
tooltip: string;
|
|
169
|
+
showTitle: boolean;
|
|
170
|
+
innerCss: string;
|
|
171
|
+
active: boolean;
|
|
172
|
+
pressed: boolean;
|
|
173
|
+
data: any;
|
|
174
|
+
popupModel: any;
|
|
175
|
+
needSeparator: boolean;
|
|
176
|
+
template: string;
|
|
177
|
+
mode: actionModeType;
|
|
178
|
+
visibleIndex: number;
|
|
179
|
+
disableTabStop: boolean;
|
|
180
|
+
disableShrink: boolean;
|
|
181
|
+
disableHide: boolean;
|
|
182
|
+
needSpace: boolean;
|
|
183
|
+
ariaChecked: boolean;
|
|
184
|
+
ariaExpanded: boolean;
|
|
185
|
+
ariaRole: string;
|
|
186
|
+
id: string;
|
|
187
|
+
iconName: string;
|
|
188
|
+
iconSize: number | string;
|
|
189
|
+
markerIconName: string;
|
|
190
|
+
css?: string;
|
|
191
|
+
minDimension: number;
|
|
192
|
+
maxDimension: number;
|
|
193
|
+
get renderedId(): number;
|
|
194
|
+
get owner(): ILocalizableOwner;
|
|
195
|
+
set owner(val: ILocalizableOwner);
|
|
196
|
+
get visible(): boolean;
|
|
197
|
+
set visible(val: boolean);
|
|
198
|
+
get enabled(): boolean;
|
|
199
|
+
set enabled(val: boolean);
|
|
200
|
+
get component(): string;
|
|
201
|
+
set component(val: string);
|
|
202
|
+
get locTitle(): LocalizableString;
|
|
203
|
+
set locTitle(val: LocalizableString);
|
|
204
|
+
get title(): string;
|
|
205
|
+
set title(val: string);
|
|
206
|
+
set cssClasses(val: any);
|
|
207
|
+
get cssClasses(): any;
|
|
208
|
+
get isVisible(): boolean;
|
|
209
|
+
get disabled(): boolean;
|
|
210
|
+
get canShrink(): boolean;
|
|
211
|
+
get hasTitle(): boolean;
|
|
212
|
+
get hasSubItems(): boolean;
|
|
213
|
+
getActionBarItemTitleCss(): string;
|
|
214
|
+
getActionBarItemCss(): string;
|
|
215
|
+
getActionRootCss(): string;
|
|
216
|
+
getTooltip(): string;
|
|
217
|
+
getIsTrusted(args: any): boolean;
|
|
218
|
+
showPopup(): void;
|
|
219
|
+
hidePopup(): void;
|
|
220
|
+
isPressed: boolean;
|
|
221
|
+
isHovered: boolean;
|
|
222
|
+
private showPopupTimeout;
|
|
223
|
+
private hidePopupTimeout;
|
|
224
|
+
private clearPopupTimeouts;
|
|
225
|
+
showPopupDelayed(delay: number): void;
|
|
226
|
+
hidePopupDelayed(delay: number): void;
|
|
227
|
+
protected abstract getEnabled(): boolean;
|
|
228
|
+
protected abstract setEnabled(val: boolean): void;
|
|
229
|
+
protected abstract getVisible(): boolean;
|
|
230
|
+
protected abstract setVisible(val: boolean): void;
|
|
231
|
+
protected abstract getLocTitle(): LocalizableString;
|
|
232
|
+
protected abstract setLocTitle(val: LocalizableString): void;
|
|
233
|
+
protected abstract getTitle(): string;
|
|
234
|
+
protected abstract setTitle(val: string): void;
|
|
235
|
+
protected abstract getComponent(): string;
|
|
236
|
+
protected abstract setComponent(val: string): void;
|
|
237
|
+
}
|
|
238
|
+
export declare class Action extends BaseAction implements IAction, ILocalizableOwner {
|
|
239
|
+
private locTitleValue;
|
|
240
|
+
updateCallback: (isResetInitialized: boolean) => void;
|
|
241
|
+
innerItem: IAction;
|
|
242
|
+
private raiseUpdate;
|
|
243
|
+
constructor(innerItemData: IAction);
|
|
244
|
+
private createLocTitle;
|
|
245
|
+
setSubItems(options: IListModel): void;
|
|
246
|
+
location?: string;
|
|
247
|
+
id: string;
|
|
248
|
+
private _visible;
|
|
249
|
+
locTooltipName?: string;
|
|
250
|
+
private _enabled;
|
|
251
|
+
action: (context?: any, isUserAction?: boolean) => void;
|
|
252
|
+
onFocus: (isMouse: boolean, event: any) => void;
|
|
253
|
+
_component: string;
|
|
254
|
+
items: any;
|
|
255
|
+
_title: string;
|
|
256
|
+
protected getLocTitle(): LocalizableString;
|
|
257
|
+
protected setLocTitle(val: LocalizableString): void;
|
|
258
|
+
protected getTitle(): string;
|
|
259
|
+
protected setTitle(val: string): void;
|
|
260
|
+
get locTitleName(): string;
|
|
261
|
+
set locTitleName(val: string);
|
|
262
|
+
locStrsChanged(): void;
|
|
263
|
+
doAction(args: any): boolean;
|
|
264
|
+
private isMouseDown;
|
|
265
|
+
doMouseDown(args: any): void;
|
|
266
|
+
doFocus(args: any): void;
|
|
267
|
+
private locStrChangedInPopupModel;
|
|
268
|
+
private locTitleChanged;
|
|
269
|
+
private locTooltipChanged;
|
|
270
|
+
getLocale(): string;
|
|
271
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
272
|
+
getProcessedText(text: string): string;
|
|
273
|
+
getRenderer(name: string): string;
|
|
274
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
275
|
+
setVisible(val: boolean): void;
|
|
276
|
+
getVisible(): boolean;
|
|
277
|
+
enabledIf?: () => boolean;
|
|
278
|
+
setEnabled(val: boolean): void;
|
|
279
|
+
getEnabled(): boolean;
|
|
280
|
+
setComponent(val: string): void;
|
|
281
|
+
getComponent(): string;
|
|
282
|
+
dispose(): void;
|
|
283
|
+
updateDimension(mode: actionModeType, htmlElement: HTMLElement, calcDimension: (el: HTMLElement) => number): void;
|
|
284
|
+
needUpdateMaxDimension: boolean;
|
|
285
|
+
needUpdateMinDimension: boolean;
|
|
286
|
+
updateModeCallback: (mode: actionModeType, callback: (mode: actionModeType, el: HTMLElement) => void) => void;
|
|
287
|
+
afterRenderCallback: () => void;
|
|
288
|
+
afterRender(): void;
|
|
289
|
+
updateMode(mode: actionModeType, callback: (mode: actionModeType, el: HTMLElement) => void): void;
|
|
290
|
+
updateDimensions(calcDimension: (htmlElement: HTMLElement) => number, callback: () => void, modeToCalculate?: actionModeType): void;
|
|
291
|
+
}
|
|
292
|
+
export declare class ActionDropdownViewModel {
|
|
293
|
+
private item;
|
|
294
|
+
private popupModel;
|
|
295
|
+
private funcKey;
|
|
296
|
+
constructor(item: Action);
|
|
297
|
+
private setupPopupCallbacks;
|
|
298
|
+
private removePopupCallbacks;
|
|
299
|
+
dispose(): void;
|
|
300
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ListModel } from "../list";
|
|
2
|
+
import { Action, actionModeType } from "./action";
|
|
3
|
+
import { ActionContainer } from "./container";
|
|
4
|
+
export declare class AdaptiveActionContainer<T extends Action = Action> extends ActionContainer<T> {
|
|
5
|
+
dotsItem: Action;
|
|
6
|
+
private responsivityManager;
|
|
7
|
+
minVisibleItemsCount: number;
|
|
8
|
+
isResponsivenessDisabled: boolean;
|
|
9
|
+
private hideItemsGreaterN;
|
|
10
|
+
private getActionsToHide;
|
|
11
|
+
private updateItemMode;
|
|
12
|
+
private static ContainerID;
|
|
13
|
+
constructor();
|
|
14
|
+
get hiddenItemsListModel(): ListModel;
|
|
15
|
+
protected onSet(): void;
|
|
16
|
+
protected onPush(item: T): void;
|
|
17
|
+
protected getRenderedActions(): Array<T>;
|
|
18
|
+
protected raiseUpdate(isResetInitialized: boolean): void;
|
|
19
|
+
protected getActionMinDimension(action: Action): number;
|
|
20
|
+
private getVisibleItemsCount;
|
|
21
|
+
fit(options: {
|
|
22
|
+
availableSpace: number;
|
|
23
|
+
gap?: number;
|
|
24
|
+
}): void;
|
|
25
|
+
initResponsivityManager(container: HTMLDivElement): void;
|
|
26
|
+
resetResponsivityManager(): void;
|
|
27
|
+
setActionsMode(mode: actionModeType): void;
|
|
28
|
+
dispose(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Base } from "../base";
|
|
2
|
+
import { IAction, Action, BaseAction } from "./action";
|
|
3
|
+
import { ILocalizableOwner, LocalizableString } from ".././localizablestring";
|
|
4
|
+
export declare let defaultActionBarCss: {
|
|
5
|
+
root: string;
|
|
6
|
+
defaultSizeMode: string;
|
|
7
|
+
smallSizeMode: string;
|
|
8
|
+
item: string;
|
|
9
|
+
itemWithTitle: string;
|
|
10
|
+
itemAsIcon: string;
|
|
11
|
+
itemActive: string;
|
|
12
|
+
itemPressed: string;
|
|
13
|
+
itemIcon: string;
|
|
14
|
+
itemTitle: string;
|
|
15
|
+
itemTitleWithIcon: string;
|
|
16
|
+
};
|
|
17
|
+
export declare class ActionContainer<T extends BaseAction = Action> extends Base implements ILocalizableOwner {
|
|
18
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
19
|
+
getRenderer(name: string): string;
|
|
20
|
+
getRendererContext(locStr: LocalizableString): any;
|
|
21
|
+
getProcessedText(text: string): string;
|
|
22
|
+
getLocale(): string;
|
|
23
|
+
actions: Array<T>;
|
|
24
|
+
private cssClassesValue;
|
|
25
|
+
protected getRenderedActions(): Array<T>;
|
|
26
|
+
updateCallback: (isResetInitialized: boolean) => void;
|
|
27
|
+
containerCss: string;
|
|
28
|
+
sizeMode: "default" | "small";
|
|
29
|
+
locOwner: ILocalizableOwner;
|
|
30
|
+
isEmpty: boolean;
|
|
31
|
+
locStrsChanged(): void;
|
|
32
|
+
protected raiseUpdate(isResetInitialized: boolean): void;
|
|
33
|
+
protected onSet(): void;
|
|
34
|
+
protected onPush(item: T): void;
|
|
35
|
+
protected onRemove(item: T): void;
|
|
36
|
+
private setActionCssClasses;
|
|
37
|
+
get hasActions(): boolean;
|
|
38
|
+
get renderedActions(): Array<T>;
|
|
39
|
+
get visibleActions(): Array<T>;
|
|
40
|
+
getRootCss(): string;
|
|
41
|
+
protected getDefaultCssClasses(): any;
|
|
42
|
+
set cssClasses(val: any);
|
|
43
|
+
get cssClasses(): any;
|
|
44
|
+
private createAction;
|
|
45
|
+
addAction(val: IAction, sortByVisibleIndex?: boolean): T;
|
|
46
|
+
setItems(items: Array<IAction>, sortByVisibleIndex?: boolean): void;
|
|
47
|
+
private sortItems;
|
|
48
|
+
private hasSetVisibleIndex;
|
|
49
|
+
private compareByVisibleIndex;
|
|
50
|
+
private isActionVisible;
|
|
51
|
+
subItemsShowDelay: number;
|
|
52
|
+
subItemsHideDelay: number;
|
|
53
|
+
protected popupAfterShowCallback(itemValue: T): void;
|
|
54
|
+
mouseOverHandler(itemValue: T): void;
|
|
55
|
+
initResponsivityManager(container: HTMLDivElement, delayedUpdateFunction?: (callback: () => void) => void): void;
|
|
56
|
+
resetResponsivityManager(): void;
|
|
57
|
+
getActionById(id: string): T;
|
|
58
|
+
dispose(): void;
|
|
59
|
+
}
|