survey-js-ui 2.0.9 → 2.1.0
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/fesm/survey-js-ui.mjs +118 -24
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +266 -111
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/entries/react-ui-model.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_checkbox.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_radiogroup.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_slider.d.ts +16 -0
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.0
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.1.0
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -23,7 +23,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
25
|
/*!
|
|
26
|
-
* surveyjs - Survey JavaScript library v2.0
|
|
26
|
+
* surveyjs - Survey JavaScript library v2.1.0
|
|
27
27
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
28
28
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
29
29
|
*/
|
|
@@ -830,7 +830,7 @@ path.keys().forEach(function (key) {
|
|
|
830
830
|
/***/ (function(module) {
|
|
831
831
|
|
|
832
832
|
/*!
|
|
833
|
-
* surveyjs - Survey JavaScript library v2.0
|
|
833
|
+
* surveyjs - Survey JavaScript library v2.1.0
|
|
834
834
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
835
835
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
836
836
|
*/
|
|
@@ -1639,44 +1639,44 @@ path.keys().forEach(function (key) {
|
|
|
1639
1639
|
"use strict";
|
|
1640
1640
|
__webpack_require__.r(__webpack_exports__);
|
|
1641
1641
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1642
|
-
/* harmony export */ CharacterCounterComponent: () => (/* reexport safe */
|
|
1643
|
-
/* harmony export */ ComponentsContainer: () => (/* reexport safe */
|
|
1644
|
-
/* harmony export */ Header: () => (/* reexport safe */
|
|
1645
|
-
/* harmony export */ HeaderCell: () => (/* reexport safe */
|
|
1646
|
-
/* harmony export */ HeaderMobile: () => (/* reexport safe */
|
|
1647
|
-
/* harmony export */ List: () => (/* reexport safe */
|
|
1648
|
-
/* harmony export */ ListItemContent: () => (/* reexport safe */
|
|
1649
|
-
/* harmony export */ ListItemGroup: () => (/* reexport safe */
|
|
1650
|
-
/* harmony export */ LoadingIndicatorComponent: () => (/* reexport safe */
|
|
1651
|
-
/* harmony export */ LogoImage: () => (/* reexport safe */
|
|
1652
|
-
/* harmony export */ MatrixRow: () => (/* reexport safe */
|
|
1653
|
-
/* harmony export */ NotifierComponent: () => (/* reexport safe */
|
|
1654
|
-
/* harmony export */ Popup: () => (/* reexport safe */
|
|
1655
|
-
/* harmony export */ PopupModal: () => (/* reexport safe */
|
|
1656
|
-
/* harmony export */ PopupSurvey: () => (/* reexport safe */
|
|
1657
|
-
/* harmony export */ QuestionErrorComponent: () => (/* reexport safe */
|
|
1642
|
+
/* harmony export */ CharacterCounterComponent: () => (/* reexport safe */ _src_components_character_counter__WEBPACK_IMPORTED_MODULE_81__.CharacterCounterComponent),
|
|
1643
|
+
/* harmony export */ ComponentsContainer: () => (/* reexport safe */ _src_components_components_container__WEBPACK_IMPORTED_MODULE_80__.ComponentsContainer),
|
|
1644
|
+
/* harmony export */ Header: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_82__.Header),
|
|
1645
|
+
/* harmony export */ HeaderCell: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_82__.HeaderCell),
|
|
1646
|
+
/* harmony export */ HeaderMobile: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_82__.HeaderMobile),
|
|
1647
|
+
/* harmony export */ List: () => (/* reexport safe */ _src_components_list_list__WEBPACK_IMPORTED_MODULE_59__.List),
|
|
1648
|
+
/* harmony export */ ListItemContent: () => (/* reexport safe */ _src_components_list_list_item_content__WEBPACK_IMPORTED_MODULE_57__.ListItemContent),
|
|
1649
|
+
/* harmony export */ ListItemGroup: () => (/* reexport safe */ _src_components_list_list_item_group__WEBPACK_IMPORTED_MODULE_58__.ListItemGroup),
|
|
1650
|
+
/* harmony export */ LoadingIndicatorComponent: () => (/* reexport safe */ _src_components_loading_indicator__WEBPACK_IMPORTED_MODULE_85__.LoadingIndicatorComponent),
|
|
1651
|
+
/* harmony export */ LogoImage: () => (/* reexport safe */ _src_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_63__.LogoImage),
|
|
1652
|
+
/* harmony export */ MatrixRow: () => (/* reexport safe */ _src_components_matrix_row__WEBPACK_IMPORTED_MODULE_76__.MatrixRow),
|
|
1653
|
+
/* harmony export */ NotifierComponent: () => (/* reexport safe */ _src_components_notifier__WEBPACK_IMPORTED_MODULE_79__.NotifierComponent),
|
|
1654
|
+
/* harmony export */ Popup: () => (/* reexport safe */ _src_components_popup_popup__WEBPACK_IMPORTED_MODULE_56__.Popup),
|
|
1655
|
+
/* harmony export */ PopupModal: () => (/* reexport safe */ _src_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_87__.PopupModal),
|
|
1656
|
+
/* harmony export */ PopupSurvey: () => (/* reexport safe */ _src_react_popup_survey__WEBPACK_IMPORTED_MODULE_47__.PopupSurvey),
|
|
1657
|
+
/* harmony export */ QuestionErrorComponent: () => (/* reexport safe */ _src_components_question_error__WEBPACK_IMPORTED_MODULE_75__.QuestionErrorComponent),
|
|
1658
1658
|
/* harmony export */ RatingDropdownItem: () => (/* reexport safe */ _src_components_rating_rating_dropdown_item__WEBPACK_IMPORTED_MODULE_16__.RatingDropdownItem),
|
|
1659
1659
|
/* harmony export */ RatingItem: () => (/* reexport safe */ _src_components_rating_rating_item__WEBPACK_IMPORTED_MODULE_13__.RatingItem),
|
|
1660
1660
|
/* harmony export */ RatingItemSmiley: () => (/* reexport safe */ _src_components_rating_rating_item_smiley__WEBPACK_IMPORTED_MODULE_15__.RatingItemSmiley),
|
|
1661
1661
|
/* harmony export */ RatingItemStar: () => (/* reexport safe */ _src_components_rating_rating_item_star__WEBPACK_IMPORTED_MODULE_14__.RatingItemStar),
|
|
1662
|
-
/* harmony export */ ReactElementFactory: () => (/* reexport safe */
|
|
1663
|
-
/* harmony export */ ReactQuestionFactory: () => (/* reexport safe */
|
|
1662
|
+
/* harmony export */ ReactElementFactory: () => (/* reexport safe */ _src_element_factory__WEBPACK_IMPORTED_MODULE_49__.ReactElementFactory),
|
|
1663
|
+
/* harmony export */ ReactQuestionFactory: () => (/* reexport safe */ _src_reactquestion_factory__WEBPACK_IMPORTED_MODULE_48__.ReactQuestionFactory),
|
|
1664
1664
|
/* harmony export */ ReactSurveyElement: () => (/* reexport safe */ _src_reactquestion_element__WEBPACK_IMPORTED_MODULE_9__.ReactSurveyElement),
|
|
1665
1665
|
/* harmony export */ ReactSurveyElementsWrapper: () => (/* reexport safe */ _src_reactsurveymodel__WEBPACK_IMPORTED_MODULE_1__.ReactSurveyElementsWrapper),
|
|
1666
|
-
/* harmony export */ Scroll: () => (/* reexport safe */
|
|
1667
|
-
/* harmony export */ Skeleton: () => (/* reexport safe */
|
|
1666
|
+
/* harmony export */ Scroll: () => (/* reexport safe */ _src_components_scroll__WEBPACK_IMPORTED_MODULE_78__.Scroll),
|
|
1667
|
+
/* harmony export */ Skeleton: () => (/* reexport safe */ _src_components_skeleton__WEBPACK_IMPORTED_MODULE_77__.Skeleton),
|
|
1668
1668
|
/* harmony export */ Survey: () => (/* reexport safe */ _src_reactSurvey__WEBPACK_IMPORTED_MODULE_0__.Survey),
|
|
1669
|
-
/* harmony export */ SurveyActionBar: () => (/* reexport safe */
|
|
1669
|
+
/* harmony export */ SurveyActionBar: () => (/* reexport safe */ _src_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_62__.SurveyActionBar),
|
|
1670
1670
|
/* harmony export */ SurveyElementBase: () => (/* reexport safe */ _src_reactquestion_element__WEBPACK_IMPORTED_MODULE_9__.SurveyElementBase),
|
|
1671
1671
|
/* harmony export */ SurveyElementErrors: () => (/* reexport safe */ _src_reactquestion__WEBPACK_IMPORTED_MODULE_8__.SurveyElementErrors),
|
|
1672
1672
|
/* harmony export */ SurveyFileChooseButton: () => (/* reexport safe */ _src_components_file_file_choose_button__WEBPACK_IMPORTED_MODULE_27__.SurveyFileChooseButton),
|
|
1673
1673
|
/* harmony export */ SurveyFilePreview: () => (/* reexport safe */ _src_components_file_file_preview__WEBPACK_IMPORTED_MODULE_28__.SurveyFilePreview),
|
|
1674
1674
|
/* harmony export */ SurveyFlowPanel: () => (/* reexport safe */ _src_flow_panel__WEBPACK_IMPORTED_MODULE_7__.SurveyFlowPanel),
|
|
1675
|
-
/* harmony export */ SurveyHeader: () => (/* reexport safe */
|
|
1676
|
-
/* harmony export */ SurveyLocStringEditor: () => (/* reexport safe */
|
|
1677
|
-
/* harmony export */ SurveyLocStringViewer: () => (/* reexport safe */
|
|
1675
|
+
/* harmony export */ SurveyHeader: () => (/* reexport safe */ _src_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_64__.SurveyHeader),
|
|
1676
|
+
/* harmony export */ SurveyLocStringEditor: () => (/* reexport safe */ _src_string_editor__WEBPACK_IMPORTED_MODULE_84__.SurveyLocStringEditor),
|
|
1677
|
+
/* harmony export */ SurveyLocStringViewer: () => (/* reexport safe */ _src_string_viewer__WEBPACK_IMPORTED_MODULE_83__.SurveyLocStringViewer),
|
|
1678
1678
|
/* harmony export */ SurveyNavigationBase: () => (/* reexport safe */ _src_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__.SurveyNavigationBase),
|
|
1679
|
-
/* harmony export */ SurveyNavigationButton: () => (/* reexport safe */
|
|
1679
|
+
/* harmony export */ SurveyNavigationButton: () => (/* reexport safe */ _src_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_74__.SurveyNavigationButton),
|
|
1680
1680
|
/* harmony export */ SurveyPage: () => (/* reexport safe */ _src_page__WEBPACK_IMPORTED_MODULE_4__.SurveyPage),
|
|
1681
1681
|
/* harmony export */ SurveyPanel: () => (/* reexport safe */ _src_panel__WEBPACK_IMPORTED_MODULE_6__.SurveyPanel),
|
|
1682
1682
|
/* harmony export */ SurveyProgress: () => (/* reexport safe */ _src_progress__WEBPACK_IMPORTED_MODULE_40__.SurveyProgress),
|
|
@@ -1687,43 +1687,43 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1687
1687
|
/* harmony export */ SurveyQuestionBoolean: () => (/* reexport safe */ _src_boolean__WEBPACK_IMPORTED_MODULE_32__.SurveyQuestionBoolean),
|
|
1688
1688
|
/* harmony export */ SurveyQuestionBooleanCheckbox: () => (/* reexport safe */ _src_boolean_checkbox__WEBPACK_IMPORTED_MODULE_33__.SurveyQuestionBooleanCheckbox),
|
|
1689
1689
|
/* harmony export */ SurveyQuestionBooleanRadio: () => (/* reexport safe */ _src_boolean_radio__WEBPACK_IMPORTED_MODULE_34__.SurveyQuestionBooleanRadio),
|
|
1690
|
-
/* harmony export */ SurveyQuestionButtonGroup: () => (/* reexport safe */
|
|
1691
|
-
/* harmony export */ SurveyQuestionButtonGroupDropdown: () => (/* reexport safe */
|
|
1690
|
+
/* harmony export */ SurveyQuestionButtonGroup: () => (/* reexport safe */ _src_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_53__.SurveyQuestionButtonGroup),
|
|
1691
|
+
/* harmony export */ SurveyQuestionButtonGroupDropdown: () => (/* reexport safe */ _src_buttongroup_dropdown__WEBPACK_IMPORTED_MODULE_54__.SurveyQuestionButtonGroupDropdown),
|
|
1692
1692
|
/* harmony export */ SurveyQuestionCheckbox: () => (/* reexport safe */ _src_reactquestion_checkbox__WEBPACK_IMPORTED_MODULE_11__.SurveyQuestionCheckbox),
|
|
1693
1693
|
/* harmony export */ SurveyQuestionCheckboxItem: () => (/* reexport safe */ _src_reactquestion_checkbox__WEBPACK_IMPORTED_MODULE_11__.SurveyQuestionCheckboxItem),
|
|
1694
1694
|
/* harmony export */ SurveyQuestionComment: () => (/* reexport safe */ _src_reactquestion_comment__WEBPACK_IMPORTED_MODULE_10__.SurveyQuestionComment),
|
|
1695
1695
|
/* harmony export */ SurveyQuestionCommentItem: () => (/* reexport safe */ _src_reactquestion_comment__WEBPACK_IMPORTED_MODULE_10__.SurveyQuestionCommentItem),
|
|
1696
|
-
/* harmony export */ SurveyQuestionComposite: () => (/* reexport safe */
|
|
1697
|
-
/* harmony export */ SurveyQuestionCustom: () => (/* reexport safe */
|
|
1696
|
+
/* harmony export */ SurveyQuestionComposite: () => (/* reexport safe */ _src_reactquestion_custom__WEBPACK_IMPORTED_MODULE_55__.SurveyQuestionComposite),
|
|
1697
|
+
/* harmony export */ SurveyQuestionCustom: () => (/* reexport safe */ _src_reactquestion_custom__WEBPACK_IMPORTED_MODULE_55__.SurveyQuestionCustom),
|
|
1698
1698
|
/* harmony export */ SurveyQuestionDropdown: () => (/* reexport safe */ _src_reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_20__.SurveyQuestionDropdown),
|
|
1699
1699
|
/* harmony export */ SurveyQuestionDropdownBase: () => (/* reexport safe */ _src_dropdown_base__WEBPACK_IMPORTED_MODULE_19__.SurveyQuestionDropdownBase),
|
|
1700
1700
|
/* harmony export */ SurveyQuestionDropdownSelect: () => (/* reexport safe */ _src_dropdown_select__WEBPACK_IMPORTED_MODULE_23__.SurveyQuestionDropdownSelect),
|
|
1701
1701
|
/* harmony export */ SurveyQuestionElementBase: () => (/* reexport safe */ _src_reactquestion_element__WEBPACK_IMPORTED_MODULE_9__.SurveyQuestionElementBase),
|
|
1702
1702
|
/* harmony export */ SurveyQuestionEmpty: () => (/* reexport safe */ _src_reactquestion_empty__WEBPACK_IMPORTED_MODULE_35__.SurveyQuestionEmpty),
|
|
1703
|
-
/* harmony export */ SurveyQuestionExpression: () => (/* reexport safe */
|
|
1703
|
+
/* harmony export */ SurveyQuestionExpression: () => (/* reexport safe */ _src_reactquestion_expression__WEBPACK_IMPORTED_MODULE_46__.SurveyQuestionExpression),
|
|
1704
1704
|
/* harmony export */ SurveyQuestionFile: () => (/* reexport safe */ _src_reactquestion_file__WEBPACK_IMPORTED_MODULE_26__.SurveyQuestionFile),
|
|
1705
1705
|
/* harmony export */ SurveyQuestionHtml: () => (/* reexport safe */ _src_reactquestion_html__WEBPACK_IMPORTED_MODULE_25__.SurveyQuestionHtml),
|
|
1706
|
-
/* harmony export */ SurveyQuestionImage: () => (/* reexport safe */
|
|
1707
|
-
/* harmony export */ SurveyQuestionImagePicker: () => (/* reexport safe */
|
|
1706
|
+
/* harmony export */ SurveyQuestionImage: () => (/* reexport safe */ _src_image__WEBPACK_IMPORTED_MODULE_51__.SurveyQuestionImage),
|
|
1707
|
+
/* harmony export */ SurveyQuestionImagePicker: () => (/* reexport safe */ _src_imagepicker__WEBPACK_IMPORTED_MODULE_50__.SurveyQuestionImagePicker),
|
|
1708
1708
|
/* harmony export */ SurveyQuestionMatrix: () => (/* reexport safe */ _src_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_24__.SurveyQuestionMatrix),
|
|
1709
1709
|
/* harmony export */ SurveyQuestionMatrixCell: () => (/* reexport safe */ _src_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_24__.SurveyQuestionMatrixCell),
|
|
1710
|
-
/* harmony export */ SurveyQuestionMatrixDetailButton: () => (/* reexport safe */
|
|
1710
|
+
/* harmony export */ SurveyQuestionMatrixDetailButton: () => (/* reexport safe */ _src_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_67__.SurveyQuestionMatrixDetailButton),
|
|
1711
1711
|
/* harmony export */ SurveyQuestionMatrixDropdown: () => (/* reexport safe */ _src_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_37__.SurveyQuestionMatrixDropdown),
|
|
1712
1712
|
/* harmony export */ SurveyQuestionMatrixDropdownBase: () => (/* reexport safe */ _src_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_36__.SurveyQuestionMatrixDropdownBase),
|
|
1713
1713
|
/* harmony export */ SurveyQuestionMatrixDropdownCell: () => (/* reexport safe */ _src_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_36__.SurveyQuestionMatrixDropdownCell),
|
|
1714
1714
|
/* harmony export */ SurveyQuestionMatrixDynamic: () => (/* reexport safe */ _src_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_38__.SurveyQuestionMatrixDynamic),
|
|
1715
1715
|
/* harmony export */ SurveyQuestionMatrixDynamicAddButton: () => (/* reexport safe */ _src_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_38__.SurveyQuestionMatrixDynamicAddButton),
|
|
1716
|
-
/* harmony export */ SurveyQuestionMatrixDynamicDragDropIcon: () => (/* reexport safe */
|
|
1717
|
-
/* harmony export */ SurveyQuestionMatrixDynamicRemoveButton: () => (/* reexport safe */
|
|
1716
|
+
/* harmony export */ SurveyQuestionMatrixDynamicDragDropIcon: () => (/* reexport safe */ _src_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_68__.SurveyQuestionMatrixDynamicDragDropIcon),
|
|
1717
|
+
/* harmony export */ SurveyQuestionMatrixDynamicRemoveButton: () => (/* reexport safe */ _src_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_66__.SurveyQuestionMatrixDynamicRemoveButton),
|
|
1718
1718
|
/* harmony export */ SurveyQuestionMatrixRow: () => (/* reexport safe */ _src_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_24__.SurveyQuestionMatrixRow),
|
|
1719
1719
|
/* harmony export */ SurveyQuestionMultipleText: () => (/* reexport safe */ _src_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_29__.SurveyQuestionMultipleText),
|
|
1720
1720
|
/* harmony export */ SurveyQuestionOptionItem: () => (/* reexport safe */ _src_dropdown_item__WEBPACK_IMPORTED_MODULE_18__.SurveyQuestionOptionItem),
|
|
1721
1721
|
/* harmony export */ SurveyQuestionPanelDynamic: () => (/* reexport safe */ _src_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_39__.SurveyQuestionPanelDynamic),
|
|
1722
|
-
/* harmony export */ SurveyQuestionPanelDynamicAddButton: () => (/* reexport safe */
|
|
1723
|
-
/* harmony export */ SurveyQuestionPanelDynamicNextButton: () => (/* reexport safe */
|
|
1724
|
-
/* harmony export */ SurveyQuestionPanelDynamicPrevButton: () => (/* reexport safe */
|
|
1725
|
-
/* harmony export */ SurveyQuestionPanelDynamicProgressText: () => (/* reexport safe */
|
|
1726
|
-
/* harmony export */ SurveyQuestionPanelDynamicRemoveButton: () => (/* reexport safe */
|
|
1722
|
+
/* harmony export */ SurveyQuestionPanelDynamicAddButton: () => (/* reexport safe */ _src_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_69__.SurveyQuestionPanelDynamicAddButton),
|
|
1723
|
+
/* harmony export */ SurveyQuestionPanelDynamicNextButton: () => (/* reexport safe */ _src_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_72__.SurveyQuestionPanelDynamicNextButton),
|
|
1724
|
+
/* harmony export */ SurveyQuestionPanelDynamicPrevButton: () => (/* reexport safe */ _src_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_71__.SurveyQuestionPanelDynamicPrevButton),
|
|
1725
|
+
/* harmony export */ SurveyQuestionPanelDynamicProgressText: () => (/* reexport safe */ _src_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_73__.SurveyQuestionPanelDynamicProgressText),
|
|
1726
|
+
/* harmony export */ SurveyQuestionPanelDynamicRemoveButton: () => (/* reexport safe */ _src_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_70__.SurveyQuestionPanelDynamicRemoveButton),
|
|
1727
1727
|
/* harmony export */ SurveyQuestionRadioItem: () => (/* reexport safe */ _src_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_30__.SurveyQuestionRadioItem),
|
|
1728
1728
|
/* harmony export */ SurveyQuestionRadiogroup: () => (/* reexport safe */ _src_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_30__.SurveyQuestionRadiogroup),
|
|
1729
1729
|
/* harmony export */ SurveyQuestionRanking: () => (/* reexport safe */ _src_reactquestion_ranking__WEBPACK_IMPORTED_MODULE_12__.SurveyQuestionRanking),
|
|
@@ -1731,18 +1731,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1731
1731
|
/* harmony export */ SurveyQuestionRankingItemContent: () => (/* reexport safe */ _src_reactquestion_ranking__WEBPACK_IMPORTED_MODULE_12__.SurveyQuestionRankingItemContent),
|
|
1732
1732
|
/* harmony export */ SurveyQuestionRating: () => (/* reexport safe */ _src_reactquestion_rating__WEBPACK_IMPORTED_MODULE_43__.SurveyQuestionRating),
|
|
1733
1733
|
/* harmony export */ SurveyQuestionRatingDropdown: () => (/* reexport safe */ _src_rating_dropdown__WEBPACK_IMPORTED_MODULE_44__.SurveyQuestionRatingDropdown),
|
|
1734
|
-
/* harmony export */ SurveyQuestionSignaturePad: () => (/* reexport safe */
|
|
1734
|
+
/* harmony export */ SurveyQuestionSignaturePad: () => (/* reexport safe */ _src_signaturepad__WEBPACK_IMPORTED_MODULE_52__.SurveyQuestionSignaturePad),
|
|
1735
|
+
/* harmony export */ SurveyQuestionSlider: () => (/* reexport safe */ _src_reactquestion_slider__WEBPACK_IMPORTED_MODULE_45__.SurveyQuestionSlider),
|
|
1735
1736
|
/* harmony export */ SurveyQuestionTagbox: () => (/* reexport safe */ _src_reactquestion_tagbox__WEBPACK_IMPORTED_MODULE_22__.SurveyQuestionTagbox),
|
|
1736
1737
|
/* harmony export */ SurveyQuestionTagboxItem: () => (/* reexport safe */ _src_tagbox_item__WEBPACK_IMPORTED_MODULE_21__.SurveyQuestionTagboxItem),
|
|
1737
1738
|
/* harmony export */ SurveyQuestionText: () => (/* reexport safe */ _src_reactquestion_text__WEBPACK_IMPORTED_MODULE_31__.SurveyQuestionText),
|
|
1738
1739
|
/* harmony export */ SurveyRow: () => (/* reexport safe */ _src_row__WEBPACK_IMPORTED_MODULE_5__.SurveyRow),
|
|
1739
1740
|
/* harmony export */ SurveyTimerPanel: () => (/* reexport safe */ _src_reacttimerpanel__WEBPACK_IMPORTED_MODULE_3__.SurveyTimerPanel),
|
|
1740
|
-
/* harmony export */ SurveyWindow: () => (/* reexport safe */
|
|
1741
|
-
/* harmony export */ SvgBundleComponent: () => (/* reexport safe */
|
|
1742
|
-
/* harmony export */ SvgIcon: () => (/* reexport safe */
|
|
1741
|
+
/* harmony export */ SurveyWindow: () => (/* reexport safe */ _src_react_popup_survey__WEBPACK_IMPORTED_MODULE_47__.SurveyWindow),
|
|
1742
|
+
/* harmony export */ SvgBundleComponent: () => (/* reexport safe */ _src_svgbundle__WEBPACK_IMPORTED_MODULE_86__.SvgBundleComponent),
|
|
1743
|
+
/* harmony export */ SvgIcon: () => (/* reexport safe */ _src_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_65__.SvgIcon),
|
|
1743
1744
|
/* harmony export */ TagboxFilterString: () => (/* reexport safe */ _src_tagbox_filter__WEBPACK_IMPORTED_MODULE_17__.TagboxFilterString),
|
|
1744
|
-
/* harmony export */ TitleActions: () => (/* reexport safe */
|
|
1745
|
-
/* harmony export */ TitleElement: () => (/* reexport safe */
|
|
1745
|
+
/* harmony export */ TitleActions: () => (/* reexport safe */ _src_components_title_title_actions__WEBPACK_IMPORTED_MODULE_60__.TitleActions),
|
|
1746
|
+
/* harmony export */ TitleElement: () => (/* reexport safe */ _src_components_title_title_element__WEBPACK_IMPORTED_MODULE_61__.TitleElement),
|
|
1746
1747
|
/* harmony export */ attachKey2click: () => (/* reexport safe */ _src_reactSurvey__WEBPACK_IMPORTED_MODULE_0__.attachKey2click)
|
|
1747
1748
|
/* harmony export */ });
|
|
1748
1749
|
/* harmony import */ var _src_reactSurvey__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/reactSurvey */ "../survey-react-ui/src/reactSurvey.tsx");
|
|
@@ -1790,48 +1791,49 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1790
1791
|
/* harmony import */ var _src_progressToc__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../src/progressToc */ "../survey-react-ui/src/progressToc.tsx");
|
|
1791
1792
|
/* harmony import */ var _src_reactquestion_rating__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../src/reactquestion_rating */ "../survey-react-ui/src/reactquestion_rating.tsx");
|
|
1792
1793
|
/* harmony import */ var _src_rating_dropdown__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../src/rating-dropdown */ "../survey-react-ui/src/rating-dropdown.tsx");
|
|
1793
|
-
/* harmony import */ var
|
|
1794
|
-
/* harmony import */ var
|
|
1795
|
-
/* harmony import */ var
|
|
1796
|
-
/* harmony import */ var
|
|
1797
|
-
/* harmony import */ var
|
|
1798
|
-
/* harmony import */ var
|
|
1799
|
-
/* harmony import */ var
|
|
1800
|
-
/* harmony import */ var
|
|
1801
|
-
/* harmony import */ var
|
|
1802
|
-
/* harmony import */ var
|
|
1803
|
-
/* harmony import */ var
|
|
1804
|
-
/* harmony import */ var
|
|
1805
|
-
/* harmony import */ var
|
|
1806
|
-
/* harmony import */ var
|
|
1807
|
-
/* harmony import */ var
|
|
1808
|
-
/* harmony import */ var
|
|
1809
|
-
/* harmony import */ var
|
|
1810
|
-
/* harmony import */ var
|
|
1811
|
-
/* harmony import */ var
|
|
1812
|
-
/* harmony import */ var
|
|
1813
|
-
/* harmony import */ var
|
|
1814
|
-
/* harmony import */ var
|
|
1815
|
-
/* harmony import */ var
|
|
1816
|
-
/* harmony import */ var
|
|
1817
|
-
/* harmony import */ var
|
|
1818
|
-
/* harmony import */ var
|
|
1819
|
-
/* harmony import */ var
|
|
1820
|
-
/* harmony import */ var
|
|
1821
|
-
/* harmony import */ var
|
|
1822
|
-
/* harmony import */ var
|
|
1823
|
-
/* harmony import */ var
|
|
1824
|
-
/* harmony import */ var
|
|
1825
|
-
/* harmony import */ var
|
|
1826
|
-
/* harmony import */ var
|
|
1827
|
-
/* harmony import */ var
|
|
1828
|
-
/* harmony import */ var
|
|
1829
|
-
/* harmony import */ var
|
|
1830
|
-
/* harmony import */ var
|
|
1831
|
-
/* harmony import */ var
|
|
1832
|
-
/* harmony import */ var
|
|
1833
|
-
/* harmony import */ var
|
|
1834
|
-
/* harmony import */ var
|
|
1794
|
+
/* harmony import */ var _src_reactquestion_slider__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../src/reactquestion_slider */ "../survey-react-ui/src/reactquestion_slider.tsx");
|
|
1795
|
+
/* harmony import */ var _src_reactquestion_expression__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../src/reactquestion_expression */ "../survey-react-ui/src/reactquestion_expression.tsx");
|
|
1796
|
+
/* harmony import */ var _src_react_popup_survey__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../src/react-popup-survey */ "../survey-react-ui/src/react-popup-survey.tsx");
|
|
1797
|
+
/* harmony import */ var _src_reactquestion_factory__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../src/reactquestion_factory */ "../survey-react-ui/src/reactquestion_factory.tsx");
|
|
1798
|
+
/* harmony import */ var _src_element_factory__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../src/element-factory */ "../survey-react-ui/src/element-factory.tsx");
|
|
1799
|
+
/* harmony import */ var _src_imagepicker__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../src/imagepicker */ "../survey-react-ui/src/imagepicker.tsx");
|
|
1800
|
+
/* harmony import */ var _src_image__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../src/image */ "../survey-react-ui/src/image.tsx");
|
|
1801
|
+
/* harmony import */ var _src_signaturepad__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../src/signaturepad */ "../survey-react-ui/src/signaturepad.tsx");
|
|
1802
|
+
/* harmony import */ var _src_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../src/reactquestion_buttongroup */ "../survey-react-ui/src/reactquestion_buttongroup.tsx");
|
|
1803
|
+
/* harmony import */ var _src_buttongroup_dropdown__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../src/buttongroup-dropdown */ "../survey-react-ui/src/buttongroup-dropdown.tsx");
|
|
1804
|
+
/* harmony import */ var _src_reactquestion_custom__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../src/reactquestion_custom */ "../survey-react-ui/src/reactquestion_custom.tsx");
|
|
1805
|
+
/* harmony import */ var _src_components_popup_popup__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../src/components/popup/popup */ "../survey-react-ui/src/components/popup/popup.tsx");
|
|
1806
|
+
/* harmony import */ var _src_components_list_list_item_content__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../src/components/list/list-item-content */ "../survey-react-ui/src/components/list/list-item-content.tsx");
|
|
1807
|
+
/* harmony import */ var _src_components_list_list_item_group__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../src/components/list/list-item-group */ "../survey-react-ui/src/components/list/list-item-group.tsx");
|
|
1808
|
+
/* harmony import */ var _src_components_list_list__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../src/components/list/list */ "../survey-react-ui/src/components/list/list.tsx");
|
|
1809
|
+
/* harmony import */ var _src_components_title_title_actions__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../src/components/title/title-actions */ "../survey-react-ui/src/components/title/title-actions.tsx");
|
|
1810
|
+
/* harmony import */ var _src_components_title_title_element__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../src/components/title/title-element */ "../survey-react-ui/src/components/title/title-element.tsx");
|
|
1811
|
+
/* harmony import */ var _src_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../src/components/action-bar/action-bar */ "../survey-react-ui/src/components/action-bar/action-bar.tsx");
|
|
1812
|
+
/* harmony import */ var _src_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../src/components/survey-header/logo-image */ "../survey-react-ui/src/components/survey-header/logo-image.tsx");
|
|
1813
|
+
/* harmony import */ var _src_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../src/components/survey-header/survey-header */ "../survey-react-ui/src/components/survey-header/survey-header.tsx");
|
|
1814
|
+
/* harmony import */ var _src_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../src/components/svg-icon/svg-icon */ "../survey-react-ui/src/components/svg-icon/svg-icon.tsx");
|
|
1815
|
+
/* harmony import */ var _src_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../src/components/matrix-actions/remove-button/remove-button */ "../survey-react-ui/src/components/matrix-actions/remove-button/remove-button.tsx");
|
|
1816
|
+
/* harmony import */ var _src_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../src/components/matrix-actions/detail-button/detail-button */ "../survey-react-ui/src/components/matrix-actions/detail-button/detail-button.tsx");
|
|
1817
|
+
/* harmony import */ var _src_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../src/components/matrix-actions/drag-drop-icon/drag-drop-icon */ "../survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx");
|
|
1818
|
+
/* harmony import */ var _src_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../src/components/paneldynamic-actions/paneldynamic-add-btn */ "../survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.tsx");
|
|
1819
|
+
/* harmony import */ var _src_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../src/components/paneldynamic-actions/paneldynamic-remove-btn */ "../survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.tsx");
|
|
1820
|
+
/* harmony import */ var _src_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../src/components/paneldynamic-actions/paneldynamic-prev-btn */ "../survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.tsx");
|
|
1821
|
+
/* harmony import */ var _src_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../src/components/paneldynamic-actions/paneldynamic-next-btn */ "../survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.tsx");
|
|
1822
|
+
/* harmony import */ var _src_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../src/components/paneldynamic-actions/paneldynamic-progress-text */ "../survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.tsx");
|
|
1823
|
+
/* harmony import */ var _src_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../src/components/survey-actions/survey-nav-button */ "../survey-react-ui/src/components/survey-actions/survey-nav-button.tsx");
|
|
1824
|
+
/* harmony import */ var _src_components_question_error__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../src/components/question-error */ "../survey-react-ui/src/components/question-error.tsx");
|
|
1825
|
+
/* harmony import */ var _src_components_matrix_row__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../src/components/matrix/row */ "../survey-react-ui/src/components/matrix/row.tsx");
|
|
1826
|
+
/* harmony import */ var _src_components_skeleton__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../src/components/skeleton */ "../survey-react-ui/src/components/skeleton.tsx");
|
|
1827
|
+
/* harmony import */ var _src_components_scroll__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../src/components/scroll */ "../survey-react-ui/src/components/scroll.tsx");
|
|
1828
|
+
/* harmony import */ var _src_components_notifier__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../src/components/notifier */ "../survey-react-ui/src/components/notifier.tsx");
|
|
1829
|
+
/* harmony import */ var _src_components_components_container__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../src/components/components-container */ "../survey-react-ui/src/components/components-container.tsx");
|
|
1830
|
+
/* harmony import */ var _src_components_character_counter__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../src/components/character-counter */ "../survey-react-ui/src/components/character-counter.tsx");
|
|
1831
|
+
/* harmony import */ var _src_components_header__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../src/components/header */ "../survey-react-ui/src/components/header.tsx");
|
|
1832
|
+
/* harmony import */ var _src_string_viewer__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../src/string-viewer */ "../survey-react-ui/src/string-viewer.tsx");
|
|
1833
|
+
/* harmony import */ var _src_string_editor__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../src/string-editor */ "../survey-react-ui/src/string-editor.tsx");
|
|
1834
|
+
/* harmony import */ var _src_components_loading_indicator__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../src/components/loading-indicator */ "../survey-react-ui/src/components/loading-indicator.tsx");
|
|
1835
|
+
/* harmony import */ var _src_svgbundle__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../src/svgbundle */ "../survey-react-ui/src/svgbundle.tsx");
|
|
1836
|
+
/* harmony import */ var _src_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../src/components/popup/popup-modal */ "../survey-react-ui/src/components/popup/popup-modal.tsx");
|
|
1835
1837
|
// react
|
|
1836
1838
|
|
|
1837
1839
|
|
|
@@ -1918,6 +1920,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1918
1920
|
|
|
1919
1921
|
|
|
1920
1922
|
|
|
1923
|
+
|
|
1921
1924
|
|
|
1922
1925
|
|
|
1923
1926
|
//Uncomment to include the "date" question type.
|
|
@@ -3648,7 +3651,7 @@ var List = /** @class */ (function (_super) {
|
|
|
3648
3651
|
return null;
|
|
3649
3652
|
var items = this.renderItems();
|
|
3650
3653
|
var ulStyle = { display: this.model.isEmpty ? "none" : null };
|
|
3651
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul", { className: this.model.getListClass(), style: ulStyle, role: this.model.listRole, "aria-label": this.model.
|
|
3654
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul", { className: this.model.getListClass(), style: ulStyle, role: this.model.listRole, "aria-label": this.model.a11ya11y_input_ariaLabel, id: this.model.elementId, onMouseDown: function (e) {
|
|
3652
3655
|
e.preventDefault();
|
|
3653
3656
|
}, onKeyDown: this.handleKeydown, onMouseMove: this.handleMouseMove }, items));
|
|
3654
3657
|
};
|
|
@@ -6012,17 +6015,17 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
|
6012
6015
|
};
|
|
6013
6016
|
SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
|
|
6014
6017
|
var _this = this;
|
|
6015
|
-
var _a, _b;
|
|
6016
6018
|
var selectElement = null;
|
|
6019
|
+
var dropdownListModel = this.question.dropdownListModel;
|
|
6017
6020
|
if (this.question.isReadOnly) {
|
|
6018
6021
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6019
6022
|
// @ts-ignore
|
|
6020
|
-
selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, "aria-label":
|
|
6023
|
+
selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, role: dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionRole, "aria-label": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionDescribedby, "aria-expanded": "false", "aria-readonly": "true", "aria-disabled": "true", tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } }, this.renderReadOnlyElement());
|
|
6021
6024
|
}
|
|
6022
6025
|
else {
|
|
6023
6026
|
selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
6024
|
-
this.renderInput(
|
|
6025
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup__WEBPACK_IMPORTED_MODULE_2__.Popup, { model:
|
|
6027
|
+
this.renderInput(dropdownListModel),
|
|
6028
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: dropdownListModel.popupModel }));
|
|
6026
6029
|
}
|
|
6027
6030
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.selectWrapper, onClick: this.click },
|
|
6028
6031
|
selectElement,
|
|
@@ -6049,7 +6052,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
|
6049
6052
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
|
|
6050
6053
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6051
6054
|
// @ts-ignore
|
|
6052
|
-
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role:
|
|
6055
|
+
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: dropdownListModel.ariaQuestionRole, "aria-required": dropdownListModel.ariaQuestionRequired, "aria-invalid": dropdownListModel.ariaQuestionInvalid, "aria-errormessage": dropdownListModel.ariaQuestionErrorMessage, "aria-expanded": dropdownListModel.ariaQuestionExpanded, "aria-label": dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel.ariaQuestionDescribedby, "aria-controls": dropdownListModel.ariaQuestionControls, "aria-activedescendant": dropdownListModel.ariaQuestionActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
|
|
6053
6056
|
dropdownListModel.showHintPrefix ?
|
|
6054
6057
|
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.hintPrefix },
|
|
6055
6058
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, dropdownListModel.hintStringPrefix))) : null,
|
|
@@ -6059,7 +6062,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
|
6059
6062
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, dropdownListModel.inputStringRendered),
|
|
6060
6063
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, dropdownListModel.hintStringSuffix))) : null,
|
|
6061
6064
|
valueElement,
|
|
6062
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.
|
|
6065
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.ariaInputRole, "aria-required": dropdownListModel.ariaInputRequired, "aria-invalid": dropdownListModel.ariaInputInvalid, "aria-errormessage": dropdownListModel.ariaInputErrorMessage, "aria-expanded": dropdownListModel.ariaInputExpanded, "aria-label": dropdownListModel.ariaInputLabel, "aria-labelledby": dropdownListModel.ariaInputLabelledby, "aria-describedby": dropdownListModel.ariaInputDescribedby, "aria-controls": dropdownListModel.ariaInputControls, "aria-activedescendant": dropdownListModel.ariaInputActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: dropdownListModel.filterReadOnly ? true : undefined, tabIndex: dropdownListModel.noTabIndex ? undefined : -1, disabled: this.question.isDisabledAttr, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
|
|
6063
6066
|
this.createClearButton()));
|
|
6064
6067
|
};
|
|
6065
6068
|
SurveyQuestionDropdownBase.prototype.createClearButton = function () {
|
|
@@ -6245,7 +6248,7 @@ var SurveyQuestionDropdownSelect = /** @class */ (function (_super) {
|
|
|
6245
6248
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6246
6249
|
// @ts-ignore
|
|
6247
6250
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), disabled: true }, this.question.readOnlyText)) :
|
|
6248
|
-
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("select", { id: this.question.inputId, className: this.question.getControlClass(), ref: function (select) { return (_this.setControl(select)); }, autoComplete: this.question.autocomplete, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onClick: click, onKeyUp: keyup, "aria-required": this.question.
|
|
6251
|
+
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("select", { id: this.question.inputId, className: this.question.getControlClass(), ref: function (select) { return (_this.setControl(select)); }, autoComplete: this.question.autocomplete, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onClick: click, onKeyUp: keyup, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage, required: this.question.isRequired },
|
|
6249
6252
|
this.question.allowClear ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("option", { value: "" }, this.question.placeholder)) : null,
|
|
6250
6253
|
this.question.visibleChoices.map(function (item, i) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_dropdown_item__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionOptionItem, { key: "item" + i, item: item }); })));
|
|
6251
6254
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.selectWrapper },
|
|
@@ -7302,7 +7305,7 @@ var SurveyPanel = /** @class */ (function (_super) {
|
|
|
7302
7305
|
};
|
|
7303
7306
|
SurveyPanel.prototype.renderContent = function (style, rows, className) {
|
|
7304
7307
|
var bottom = this.renderBottom();
|
|
7305
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: style, className: className, id: this.panel.contentId },
|
|
7308
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: style, className: className, id: this.panel.contentId, role: this.panel.ariaRole, "aria-labelledby": this.panel.ariaLabelledBy, "aria-label": this.panel.ariaLabel },
|
|
7306
7309
|
rows,
|
|
7307
7310
|
bottom));
|
|
7308
7311
|
};
|
|
@@ -8439,7 +8442,7 @@ var SurveyQuestion = /** @class */ (function (_super) {
|
|
|
8439
8442
|
var singleInput = singleSummary || (question.singleInputQuestion ? this.renderSingleInputQuestion(question, cssClasses) : undefined);
|
|
8440
8443
|
var questionContent = singleInput || this.wrapQuestionContent(this.renderQuestionContent());
|
|
8441
8444
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
8442
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded
|
|
8445
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, "data-name": question.name, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
|
|
8443
8446
|
singleBreadcrumbs,
|
|
8444
8447
|
errorsAboveQuestion,
|
|
8445
8448
|
headerTop,
|
|
@@ -9044,6 +9047,13 @@ var SurveyQuestionCheckboxItem = /** @class */ (function (_super) {
|
|
|
9044
9047
|
enumerable: false,
|
|
9045
9048
|
configurable: true
|
|
9046
9049
|
});
|
|
9050
|
+
Object.defineProperty(SurveyQuestionCheckboxItem.prototype, "ariaLabel", {
|
|
9051
|
+
get: function () {
|
|
9052
|
+
return this.props.ariaLabel || null;
|
|
9053
|
+
},
|
|
9054
|
+
enumerable: false,
|
|
9055
|
+
configurable: true
|
|
9056
|
+
});
|
|
9047
9057
|
SurveyQuestionCheckboxItem.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
9048
9058
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
9049
9059
|
if (prevProps.item !== this.props.item && !this.question.isDesignMode) {
|
|
@@ -9084,7 +9094,7 @@ var SurveyQuestionCheckboxItem = /** @class */ (function (_super) {
|
|
|
9084
9094
|
var itemLabel = !this.hideCaption ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.cssClasses.controlLabel }, this.renderLocString(this.item.locText, this.textStyle)) : null;
|
|
9085
9095
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: itemClass, role: "presentation", ref: this.rootRef },
|
|
9086
9096
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("label", { className: labelClass },
|
|
9087
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { className: this.cssClasses.itemControl, type: "checkbox", name: this.question.name + this.item.id, value: this.item.value, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, required: this.question.hasRequiredError() }),
|
|
9097
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { className: this.cssClasses.itemControl, type: "checkbox", name: this.question.name + this.item.id, value: this.item.value, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, required: this.question.hasRequiredError(), "aria-label": this.ariaLabel }),
|
|
9088
9098
|
this.cssClasses.materialDecorator ?
|
|
9089
9099
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
|
|
9090
9100
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: this.cssClasses.itemDecorator },
|
|
@@ -10863,11 +10873,14 @@ var SurveyQuestionMatrixDropdownCell = /** @class */ (function (_super) {
|
|
|
10863
10873
|
};
|
|
10864
10874
|
SurveyQuestionMatrixDropdownCell.prototype.renderCellCheckboxButton = function () {
|
|
10865
10875
|
var key = this.cell.question.id + "item" + this.cell.choiceIndex;
|
|
10866
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_checkbox__WEBPACK_IMPORTED_MODULE_3__.SurveyQuestionCheckboxItem, { key: key, question: this.cell.question, cssClasses: this.cell.question.cssClasses, isDisplayMode: this.cell.question.isInputReadOnly, item: this.cell.item, isFirst: this.cell.isFirstChoice, index: this.cell.choiceIndex.toString(), hideCaption: true }));
|
|
10876
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_checkbox__WEBPACK_IMPORTED_MODULE_3__.SurveyQuestionCheckboxItem, { key: key, question: this.cell.question, cssClasses: this.cell.question.cssClasses, isDisplayMode: this.cell.question.isInputReadOnly, item: this.cell.item, isFirst: this.cell.isFirstChoice, index: this.cell.choiceIndex.toString(), hideCaption: true, ariaLabel: this.getCellAriaLabel() }));
|
|
10867
10877
|
};
|
|
10868
10878
|
SurveyQuestionMatrixDropdownCell.prototype.renderCellRadiogroupButton = function () {
|
|
10869
10879
|
var key = this.cell.question.id + "item" + this.cell.choiceIndex;
|
|
10870
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionRadioItem, { key: key, question: this.cell.question, cssClasses: this.cell.question.cssClasses, isDisplayMode: this.cell.question.isInputReadOnly, item: this.cell.item, index: this.cell.choiceIndex.toString(), isChecked: this.cell.question.value === this.cell.item.value, isDisabled: this.cell.question.isReadOnly || !this.cell.item.isEnabled, hideCaption: true }));
|
|
10880
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionRadioItem, { key: key, question: this.cell.question, cssClasses: this.cell.question.cssClasses, isDisplayMode: this.cell.question.isInputReadOnly, item: this.cell.item, index: this.cell.choiceIndex.toString(), isChecked: this.cell.question.value === this.cell.item.value, isDisabled: this.cell.question.isReadOnly || !this.cell.item.isEnabled, hideCaption: true, ariaLabel: this.getCellAriaLabel() }));
|
|
10881
|
+
};
|
|
10882
|
+
SurveyQuestionMatrixDropdownCell.prototype.getCellAriaLabel = function () {
|
|
10883
|
+
return this.question.parentQuestion.getCellAriaLabel(this.cell.row.locText.renderedHtml, this.cell.column.locTitle.renderedHtml);
|
|
10871
10884
|
};
|
|
10872
10885
|
return SurveyQuestionMatrixDropdownCell;
|
|
10873
10886
|
}(_reactquestion__WEBPACK_IMPORTED_MODULE_2__.SurveyQuestionAndErrorsCell));
|
|
@@ -11570,6 +11583,13 @@ var SurveyQuestionRadioItem = /** @class */ (function (_super) {
|
|
|
11570
11583
|
enumerable: false,
|
|
11571
11584
|
configurable: true
|
|
11572
11585
|
});
|
|
11586
|
+
Object.defineProperty(SurveyQuestionRadioItem.prototype, "ariaLabel", {
|
|
11587
|
+
get: function () {
|
|
11588
|
+
return this.props.ariaLabel || null;
|
|
11589
|
+
},
|
|
11590
|
+
enumerable: false,
|
|
11591
|
+
configurable: true
|
|
11592
|
+
});
|
|
11573
11593
|
SurveyQuestionRadioItem.prototype.shouldComponentUpdate = function (nextProps, nextState) {
|
|
11574
11594
|
if (!_super.prototype.shouldComponentUpdate.call(this, nextProps, nextState))
|
|
11575
11595
|
return false;
|
|
@@ -11607,7 +11627,7 @@ var SurveyQuestionRadioItem = /** @class */ (function (_super) {
|
|
|
11607
11627
|
var itemLabel = !this.hideCaption ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: controlLabelClass }, this.renderLocString(this.item.locText, this.textStyle)) : null;
|
|
11608
11628
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: itemClass, role: "presentation", ref: this.rootRef },
|
|
11609
11629
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("label", { onMouseDown: this.handleOnMouseDown, className: labelClass },
|
|
11610
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { "aria-errormessage": this.question.ariaErrormessage, className: this.cssClasses.itemControl, id: this.question.getItemId(this.item), type: "radio", name: this.question.questionName, checked: this.isChecked, value: this.item.value, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange }),
|
|
11630
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { "aria-errormessage": this.question.ariaErrormessage, className: this.cssClasses.itemControl, id: this.question.getItemId(this.item), type: "radio", name: this.question.questionName, checked: this.isChecked, value: this.item.value, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-label": this.ariaLabel }),
|
|
11611
11631
|
this.cssClasses.materialDecorator ?
|
|
11612
11632
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
|
|
11613
11633
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: this.cssClasses.itemDecorator },
|
|
@@ -12077,6 +12097,140 @@ _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.regis
|
|
|
12077
12097
|
});
|
|
12078
12098
|
|
|
12079
12099
|
|
|
12100
|
+
/***/ }),
|
|
12101
|
+
|
|
12102
|
+
/***/ "../survey-react-ui/src/reactquestion_slider.tsx":
|
|
12103
|
+
/*!*******************************************************!*\
|
|
12104
|
+
!*** ../survey-react-ui/src/reactquestion_slider.tsx ***!
|
|
12105
|
+
\*******************************************************/
|
|
12106
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12107
|
+
|
|
12108
|
+
"use strict";
|
|
12109
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12110
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12111
|
+
/* harmony export */ SurveyQuestionSlider: () => (/* binding */ SurveyQuestionSlider)
|
|
12112
|
+
/* harmony export */ });
|
|
12113
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/preact/compat/dist/compat.module.js");
|
|
12114
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "../survey-react-ui/src/reactquestion_element.tsx");
|
|
12115
|
+
/* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactquestion_factory */ "../survey-react-ui/src/reactquestion_factory.tsx");
|
|
12116
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12117
|
+
var extendStatics = function (d, b) {
|
|
12118
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12119
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12120
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
12121
|
+
return extendStatics(d, b);
|
|
12122
|
+
};
|
|
12123
|
+
return function (d, b) {
|
|
12124
|
+
if (typeof b !== "function" && b !== null)
|
|
12125
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12126
|
+
extendStatics(d, b);
|
|
12127
|
+
function __() { this.constructor = d; }
|
|
12128
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12129
|
+
};
|
|
12130
|
+
})();
|
|
12131
|
+
|
|
12132
|
+
|
|
12133
|
+
|
|
12134
|
+
var SurveyQuestionSlider = /** @class */ (function (_super) {
|
|
12135
|
+
__extends(SurveyQuestionSlider, _super);
|
|
12136
|
+
function SurveyQuestionSlider(props) {
|
|
12137
|
+
var _this = _super.call(this, props) || this;
|
|
12138
|
+
_this.rangeInputRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
12139
|
+
return _this;
|
|
12140
|
+
}
|
|
12141
|
+
SurveyQuestionSlider.prototype.componentDidMount = function () {
|
|
12142
|
+
_super.prototype.componentDidMount.call(this);
|
|
12143
|
+
this.question.refreshInputRange(this.rangeInputRef.current);
|
|
12144
|
+
};
|
|
12145
|
+
Object.defineProperty(SurveyQuestionSlider.prototype, "question", {
|
|
12146
|
+
get: function () {
|
|
12147
|
+
return this.questionBase;
|
|
12148
|
+
},
|
|
12149
|
+
enumerable: false,
|
|
12150
|
+
configurable: true
|
|
12151
|
+
});
|
|
12152
|
+
SurveyQuestionSlider.prototype.getStateElement = function () {
|
|
12153
|
+
return this.question;
|
|
12154
|
+
};
|
|
12155
|
+
SurveyQuestionSlider.prototype.renderElement = function () {
|
|
12156
|
+
var _this = this;
|
|
12157
|
+
var _a = this.question, cssClasses = _a.cssClasses, showLabels = _a.showLabels, sliderType = _a.sliderType, getTrackPercentLeft = _a.getTrackPercentLeft, getTrackPercentRight = _a.getTrackPercentRight, allowDragRange = _a.allowDragRange, setValueByClickOnPath = _a.setValueByClickOnPath;
|
|
12158
|
+
var rangeInput = (sliderType === "single" && allowDragRange) ? null : this.getRangeInput();
|
|
12159
|
+
var thumbsAndInputs = this.getInputsAndThumbs();
|
|
12160
|
+
var labels = showLabels ? this.getLabels() : null;
|
|
12161
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.rootCss, ref: function (div) { return (_this.setControl(div)); } },
|
|
12162
|
+
rangeInput,
|
|
12163
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.visualContainer, onPointerUp: function (e) { setValueByClickOnPath(e.nativeEvent, _this.control); } },
|
|
12164
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.visualContainerSlider },
|
|
12165
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.inverseTrackLeft, style: { width: getTrackPercentLeft() + "%" } }),
|
|
12166
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.inverseTrackRight, style: { width: getTrackPercentRight() + "%" } }),
|
|
12167
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.rangeTrack, style: { left: getTrackPercentLeft() + "%", right: getTrackPercentRight() + "%" } }),
|
|
12168
|
+
thumbsAndInputs)),
|
|
12169
|
+
labels));
|
|
12170
|
+
};
|
|
12171
|
+
SurveyQuestionSlider.prototype.getInputsAndThumbs = function () {
|
|
12172
|
+
var inputsAndThumbs = [];
|
|
12173
|
+
var value = this.question.getRenderedValue();
|
|
12174
|
+
for (var i = 0; i < value.length; i++) {
|
|
12175
|
+
var thumbAndInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: i },
|
|
12176
|
+
this.getInput(i),
|
|
12177
|
+
this.getThumb(i));
|
|
12178
|
+
inputsAndThumbs.push(thumbAndInput);
|
|
12179
|
+
}
|
|
12180
|
+
return inputsAndThumbs;
|
|
12181
|
+
};
|
|
12182
|
+
SurveyQuestionSlider.prototype.getThumb = function (i) {
|
|
12183
|
+
var _a = this.question, cssClasses = _a.cssClasses, getThumbContainerCss = _a.getThumbContainerCss, tooltipVisibility = _a.tooltipVisibility, tooltipCss = _a.tooltipCss, getPercent = _a.getPercent, getRenderedValue = _a.getRenderedValue, getTooltipValue = _a.getTooltipValue;
|
|
12184
|
+
var value = getRenderedValue()[i];
|
|
12185
|
+
var tooltip = null;
|
|
12186
|
+
if (tooltipVisibility !== "never") {
|
|
12187
|
+
tooltip = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: tooltipCss },
|
|
12188
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.tooltipPanel },
|
|
12189
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.tooltipValue }, getTooltipValue(i))));
|
|
12190
|
+
}
|
|
12191
|
+
var thumb = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: getThumbContainerCss(i), style: { left: getPercent(value) + "%" } },
|
|
12192
|
+
tooltip,
|
|
12193
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.thumb },
|
|
12194
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.thumbDot })));
|
|
12195
|
+
return thumb;
|
|
12196
|
+
};
|
|
12197
|
+
SurveyQuestionSlider.prototype.getInput = function (i) {
|
|
12198
|
+
var _a = this.question, max = _a.renderedMax, min = _a.renderedMin, step = _a.step, cssClasses = _a.cssClasses, isDisabledAttr = _a.isDisabledAttr, getRenderedValue = _a.getRenderedValue, handleOnChange = _a.handleOnChange, handlePointerDown = _a.handlePointerDown, handlePointerUp = _a.handlePointerUp, handleKeyDown = _a.handleKeyDown, handleKeyUp = _a.handleKeyUp, handleOnFocus = _a.handleOnFocus, handleOnBlur = _a.handleOnBlur;
|
|
12199
|
+
var value = getRenderedValue()[i];
|
|
12200
|
+
var input = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { className: cssClasses.input, id: "sjs-slider-input-" + i, type: "range", min: min, max: max, step: step, value: value, onChange: function (e) { handleOnChange(e.nativeEvent, i); }, onPointerDown: function (e) { handlePointerDown(e.nativeEvent); }, onPointerUp: function (e) { e.stopPropagation(); handlePointerUp(e.nativeEvent); }, onKeyDown: function (e) { handleKeyDown(e.nativeEvent); }, onKeyUp: function (e) { handleKeyUp(e.nativeEvent); }, onFocus: function () { handleOnFocus(i); }, onBlur: function () { handleOnBlur(); }, disabled: isDisabledAttr, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage });
|
|
12201
|
+
return input;
|
|
12202
|
+
};
|
|
12203
|
+
SurveyQuestionSlider.prototype.getRangeInput = function () {
|
|
12204
|
+
var _this = this;
|
|
12205
|
+
var _a = this.question, max = _a.renderedMax, min = _a.renderedMin, step = _a.step, cssClasses = _a.cssClasses, handleRangeOnChange = _a.handleRangeOnChange, handleRangePointerDown = _a.handleRangePointerDown, handleRangePointerUp = _a.handleRangePointerUp;
|
|
12206
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { name: "range-input", ref: this.rangeInputRef, className: cssClasses.input, type: "range", "aria-hidden": "true", min: min, max: max, step: step, tabIndex: -1, onChange: function (e) { handleRangeOnChange(e.nativeEvent); }, onPointerDown: function (e) { e.persist(); handleRangePointerDown(e.nativeEvent, _this.control); }, onPointerUp: function (e) { handleRangePointerUp(e.nativeEvent, _this.control); } });
|
|
12207
|
+
};
|
|
12208
|
+
SurveyQuestionSlider.prototype.getLabels = function () {
|
|
12209
|
+
var labels = [];
|
|
12210
|
+
var _a = this.question, renderedLabels = _a.renderedLabels, cssClasses = _a.cssClasses, handleLabelPointerUp = _a.handleLabelPointerUp, getLabelCss = _a.getLabelCss;
|
|
12211
|
+
var _loop_1 = function (i) {
|
|
12212
|
+
var value = renderedLabels[i].value;
|
|
12213
|
+
var text = renderedLabels[i].locText;
|
|
12214
|
+
var label = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { key: i, className: getLabelCss(i), style: { left: value + "%" }, onPointerUp: function (e) { handleLabelPointerUp(e.nativeEvent, i); } },
|
|
12215
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelTick }),
|
|
12216
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelText }, this_1.renderLocString(text)));
|
|
12217
|
+
labels.push(label);
|
|
12218
|
+
};
|
|
12219
|
+
var this_1 = this;
|
|
12220
|
+
for (var i = 0; i < renderedLabels.length; i++) {
|
|
12221
|
+
_loop_1(i);
|
|
12222
|
+
}
|
|
12223
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelsContainer },
|
|
12224
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null, labels));
|
|
12225
|
+
};
|
|
12226
|
+
return SurveyQuestionSlider;
|
|
12227
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionElementBase));
|
|
12228
|
+
|
|
12229
|
+
_reactquestion_factory__WEBPACK_IMPORTED_MODULE_2__.ReactQuestionFactory.Instance.registerQuestion("slider", function (props) {
|
|
12230
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionSlider, props);
|
|
12231
|
+
});
|
|
12232
|
+
|
|
12233
|
+
|
|
12080
12234
|
/***/ }),
|
|
12081
12235
|
|
|
12082
12236
|
/***/ "../survey-react-ui/src/reactquestion_tagbox.tsx":
|
|
@@ -12131,7 +12285,7 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
|
|
|
12131
12285
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
|
|
12132
12286
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
12133
12287
|
// @ts-ignore
|
|
12134
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role:
|
|
12288
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: dropdownListModel.ariaQuestionRole, "aria-required": dropdownListModel.ariaQuestionRequired, "aria-invalid": dropdownListModel.ariaQuestionInvalid, "aria-errormessage": dropdownListModel.ariaQuestionErrorMessage, "aria-label": dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel.ariaQuestionDescribedby, "aria-expanded": dropdownListModel.ariaQuestionExpanded, "aria-controls": dropdownListModel.ariaQuestionControls, "aria-activedescendant": dropdownListModel.ariaQuestionActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
|
|
12135
12289
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.controlValue },
|
|
12136
12290
|
items,
|
|
12137
12291
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_tagbox_filter__WEBPACK_IMPORTED_MODULE_4__.TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
|
|
@@ -13020,7 +13174,7 @@ var TagboxFilterString = /** @class */ (function (_super) {
|
|
|
13020
13174
|
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.hintSuffix },
|
|
13021
13175
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.model.inputStringRendered),
|
|
13022
13176
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, this.model.hintStringSuffix))) : null,
|
|
13023
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.model.filterReadOnly ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.
|
|
13177
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.model.filterReadOnly ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.ariaInputRole, "aria-required": this.model.ariaInputRequired, "aria-invalid": this.model.ariaInputInvalid, "aria-errormessage": this.model.ariaInputErrorMessage, "aria-expanded": this.model.ariaInputExpanded, "aria-label": this.model.ariaInputLabel, "aria-labelledby": this.model.ariaInputLabelledby, "aria-describedby": this.model.ariaInputDescribedby, "aria-controls": this.model.ariaInputControls, "aria-activedescendant": this.model.ariaInputActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }))));
|
|
13024
13178
|
};
|
|
13025
13179
|
return TagboxFilterString;
|
|
13026
13180
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
@@ -13163,7 +13317,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13163
13317
|
/* harmony export */ });
|
|
13164
13318
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "./node_modules/preact/dist/preact.module.js");
|
|
13165
13319
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/hooks */ "./node_modules/preact/hooks/dist/hooks.module.js");
|
|
13166
|
-
function g(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function C(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({t:{__:e,u:t}}),u=r[0].t,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.u=t,x(u)&&o({t:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return x(u)&&o({t:u}),n(function(){x(u)&&o({t:u})})},[n]),e}function x(n){var t,e,r=n.u,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}function R(n){n()}function w(n){return n}function k(){return[!1,R]}var I=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function N(n,t){this.props=n,this.context=t}function M(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(N.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,N.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),T&&T(n)};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function D(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=A,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var L=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:L,forEach:L,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},F=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);F(n,t,e,r)};var U=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function V(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c.__e=!0,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,t,e)})),n}function W(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return W(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function P(){this.__u=0,this.o=null,this.__b=null}function j(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function z(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function B(){this.i=null,this.l=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=j(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=W(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},P.prototype.componentWillUnmount=function(){this.o=[]},P.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__u&=-33),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var H=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};function Z(n){return this.getChildContext=function(){return n.context},n.children}function Y(n){var e=this,r=n.h;if(e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),!e.v){for(var u=e.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;e.h=r,e.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:u.__m},contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),e.h.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.h.insertBefore(n,t)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.h.removeChild(n)}}}(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Z,{context:e.context},n.__v),e.v)}function $(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Y,{__v:n,h:e});return r.containerInfo=e,r}(B.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),H(t,n,r)):u()};e?e(o):o()}},B.prototype.render=function(n){this.i=null,this.l=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},B.prototype.componentDidUpdate=B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){H(n,e,t)})};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,J=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K=/[A-Z0-9]/g,Q="undefined"!=typeof document,X=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function nn(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function rn(){}function un(){return this.cancelBubble}function on(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return en&&(n=en(n)),n.persist=rn,n.isPropagationStopped=un,n.isDefaultPrevented=on,n.nativeEvent=n};var ln,cn={enumerable:!1,configurable:!0,get:function(){return this.class}},fn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var l=t[i];if(!("value"===i&&"defaultValue"in t&&null==l||Q&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var c=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===l?l="":"translate"===c&&"no"===l?l=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==e&&"textarea"!==e||X(t.type)?"onfocus"===c?i="onfocusin":"onblur"===c?i="onfocusout":J.test(i)&&(i=c):c=i="oninput":o&&G.test(i)?i=i.replace(K,"-$&").toLowerCase():null===l&&(l=void 0),"oninput"===c&&u[i=c]&&(i="oninputCapture"),u[i]=l}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",cn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=q,fn&&fn(n)};var an=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){an&&an(n),ln=n.__c};var sn=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){sn&&sn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),ln=null};var hn={ReactCurrentDispatcher:{current:{readContext:function(n){return ln.__n[n.__c].props.value},useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,useDeferredValue:w,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useInsertionEffect:I,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useSyncExternalStore:C,useTransition:k}}},vn="18.3.1";function dn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function mn(n){return!!n&&n.$$typeof===q}function pn(n){return mn(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function yn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function _n(n){return mn(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function bn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function Sn(n){return n&&(n.base||1===n.nodeType&&n)||null}var gn=function(n,t){return n(t)},En=function(n,t){return n(t)},Cn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,xn=mn,Rn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:I,useTransition:k,useDeferredValue:w,useSyncExternalStore:C,startTransition:R,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"18.3.1",Children:O,render:nn,hydrate:tn,unmountComponentAtNode:bn,createPortal:$,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:dn,cloneElement:_n,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:mn,isElement:xn,isFragment:pn,isMemo:yn,findDOMNode:Sn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:N,memo:M,forwardRef:D,flushSync:En,unstable_batchedUpdates:gn,StrictMode:Cn,Suspense:P,SuspenseList:B,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hn};
|
|
13320
|
+
function g(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function C(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({t:{__:e,u:t}}),u=r[0].t,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.u=t,x(u)&&o({t:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return x(u)&&o({t:u}),n(function(){x(u)&&o({t:u})})},[n]),e}function x(n){var t,e,r=n.u,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}function R(n){n()}function w(n){return n}function k(){return[!1,R]}var I=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function N(n,t){this.props=n,this.context=t}function M(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(N.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,N.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),T&&T(n)};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function D(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=A,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var L=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:L,forEach:L,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},F=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);F(n,t,e,r)};var U=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function V(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c.__e=!0,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,t,e)})),n}function W(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return W(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function P(){this.__u=0,this.o=null,this.__b=null}function j(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function z(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function B(){this.i=null,this.l=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=j(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=W(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},P.prototype.componentWillUnmount=function(){this.o=[]},P.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__u&=-33),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var H=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};function Z(n){return this.getChildContext=function(){return n.context},n.children}function Y(n){var e=this,r=n.h;if(e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),!e.v){for(var u=e.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;e.h=r,e.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:u.__m},contains:function(){return!0},insertBefore:function(n,t){this.childNodes.push(n),e.h.insertBefore(n,t)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.h.removeChild(n)}}}(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Z,{context:e.context},n.__v),e.v)}function $(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Y,{__v:n,h:e});return r.containerInfo=e,r}(B.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),H(t,n,r)):u()};e?e(o):o()}},B.prototype.render=function(n){this.i=null,this.l=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},B.prototype.componentDidUpdate=B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){H(n,e,t)})};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,J=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K=/[A-Z0-9]/g,Q="undefined"!=typeof document,X=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function nn(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function rn(){}function un(){return this.cancelBubble}function on(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return en&&(n=en(n)),n.persist=rn,n.isPropagationStopped=un,n.isDefaultPrevented=on,n.nativeEvent=n};var ln,cn={enumerable:!1,configurable:!0,get:function(){return this.class}},fn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var l=t[i];if(!("value"===i&&"defaultValue"in t&&null==l||Q&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var c=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===l?l="":"translate"===c&&"no"===l?l=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==e&&"textarea"!==e||X(t.type)?"onfocus"===c?i="onfocusin":"onblur"===c?i="onfocusout":J.test(i)&&(i=c):c=i="oninput":o&&G.test(i)?i=i.replace(K,"-$&").toLowerCase():null===l&&(l=void 0),"oninput"===c&&u[i=c]&&(i="oninputCapture"),u[i]=l}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",cn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=q,fn&&fn(n)};var an=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){an&&an(n),ln=n.__c};var sn=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){sn&&sn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),ln=null};var hn={ReactCurrentDispatcher:{current:{readContext:function(n){return ln.__n[n.__c].props.value},useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,useDeferredValue:w,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useInsertionEffect:I,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useSyncExternalStore:C,useTransition:k}}},vn="18.3.1";function dn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function mn(n){return!!n&&n.$$typeof===q}function pn(n){return mn(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function yn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function _n(n){return mn(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function bn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function Sn(n){return n&&(n.base||1===n.nodeType&&n)||null}var gn=function(n,t){return n(t)},En=function(n,t){return n(t)},Cn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,xn=mn,Rn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:I,useTransition:k,useDeferredValue:w,useSyncExternalStore:C,startTransition:R,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"18.3.1",Children:O,render:nn,hydrate:tn,unmountComponentAtNode:bn,createPortal:$,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:dn,cloneElement:_n,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:mn,isElement:xn,isFragment:pn,isMemo:yn,findDOMNode:Sn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:N,memo:M,forwardRef:D,flushSync:En,unstable_batchedUpdates:gn,StrictMode:Cn,Suspense:P,SuspenseList:B,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hn};
|
|
13167
13321
|
//# sourceMappingURL=compat.module.js.map
|
|
13168
13322
|
|
|
13169
13323
|
|
|
@@ -13191,7 +13345,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13191
13345
|
/* harmony export */ render: () => (/* binding */ E),
|
|
13192
13346
|
/* harmony export */ toChildArray: () => (/* binding */ H)
|
|
13193
13347
|
/* harmony export */ });
|
|
13194
|
-
var n,l,u,t,i,r,o,e,f,c,s,a,h,p={},y=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function g(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function _(l,u,t){var i,r,o,e={};for(o in u)"key"==o?i=u[o]:"ref"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)null==e[o]&&(e[o]=l.defaultProps[o]);return m(l,e,i,r,null)}function m(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(e),e}function b(){return{current:null}}function k(n){return n.children}function x(n,l){this.props=n,this.context=l}function S(n,l){if(null==l)return n.__?S(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?S(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!$.__r++||r!=l.debounceRendering)&&((r=l.debounceRendering)||o)($)}function $(){for(var n,u,t,r,o,f,c,s=1;i.length;)i.length>s&&i.sort(e),n=i.shift(),s=i.length,n.__d&&(t=void 0,o=(r=(u=n).__v).__e,f=[],c=[],u.__P&&((t=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(t),O(u.__P,t,r,u.__n,u.__P.namespaceURI,32&r.__u?[o]:null,f,null==o?S(r):o,!!(32&r.__u),c),t.__v=r.__v,t.__.__k[t.__i]=t,z(f,t,c),t.__e!=o&&C(t)));$.__r=0}function I(n,l,u,t,i,r,o,e,f,c,s){var a,h,v,w,d,g,_=t&&t.__k||y,m=l.length;for(f=P(u,l,_,f,m),a=0;a<m;a++)null!=(v=u.__k[a])&&(h=-1==v.__i?p:_[v.__i]||p,v.__i=a,g=O(n,v,h,i,r,o,e,f,c,s),w=v.__e,v.ref&&h.ref!=v.ref&&(h.ref&&q(h.ref,null,v),s.push(v.ref,v.__c||w,v)),null==d&&null!=w&&(d=w),4&v.__u||h.__k===v.__k?f=A(v,f,n):"function"==typeof v.type&&void 0!==g?f=g:w&&(f=w.nextSibling),v.__u&=-7);return u.__e=d,f}function P(n,l,u,t,i){var r,o,e,f,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?(f=r+h,(o=n.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m(null,o,null,null,null):w(o)?m(k,{children:o},null,null,null):null==o.constructor&&o.__b>0?m(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,e=null,-1!=(c=o.__i=L(o,u,f,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=S(e)),B(e,e));return t}function A(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=A(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=S(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(w(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i,r,o=n.key,e=n.type,f=l[u];if(null===f&&null==n.key||f&&o==f.key&&e==f.type&&0==(2&f.__u))return u;if(t>(null!=f&&0==(2&f.__u)?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;){if(i>=0){if((f=l[i])&&0==(2&f.__u)&&o==f.key&&e==f.type)return i;i--}if(r<l.length){if((f=l[r])&&0==(2&f.__u)&&o==f.key&&e==f.type)return r;r++}}return-1}function T(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v.test(l)?u:u+"px"}function j(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||T(n.style,l,u[l])}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f,"$1")),l=l.toLowerCase()in n||"onFocusOut"==l||"onFocusIn"==l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u.u=t.u:(u.u=c,n.addEventListener(l,r?a:s,r)):n.removeEventListener(l,r?a:s,r);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=c++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,r,o,e,f,c,s){var a,h,p,y,v,_,m,b,S,C,M,$,P,A,H,L,T,j=u.type;if(null!=u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof j)try{if(b=u.props,S="prototype"in j&&j.prototype.render,C=(a=j.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(S?u.__c=h=new j(b,M):(u.__c=h=new x(b,M),h.constructor=j,h.render=D),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),S&&null==h.__s&&(h.__s=h.state),S&&null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,j.getDerivedStateFromProps(b,h.__s))),y=h.props,v=h.state,h.__v=u,p)S&&null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),S&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(S&&null==j.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||u.__v==t.__v){for(u.__v!=t.__v&&(h.props=b,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),$=0;$<h._sb.length;$++)h.__h.push(h._sb[$]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),S&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,v,_)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,P=l.__r,A=0,S){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),S&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(y,v)),L=a,null!=a&&a.type===k&&null==a.key&&(L=N(a.props.children)),f=I(n,w(L)?L:[L],u,t,i,r,o,e,f,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f}else for(T=o.length;T--;)g(o[T]);else u.__e=t.__e,u.__k=t.__k;l.__e(n,u,t)}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=V(t.__e,u,t,i,r,o,e,c,s);return(a=l.diffed)&&a(u),128&u.__u?void 0:f}function z(n,u,t){for(var i=0;i<t.length;i++)q(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function N(n){return"object"!=typeof n||null==n||n.__b&&n.__b>0?n:w(n)?n.map(N):d({},n)}function V(u,t,i,r,o,e,f,c,s){var a,h,y,v,d,_,m,b=i.props,k=t.props,x=t.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((d=e[a])&&"setAttribute"in d==!!x&&(x?d.localName==x:3==d.nodeType)){u=d,e[a]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l.__m&&l.__m(t,e),c=!1),e=null}if(null==x)b===k||c&&u.data==k||(u.data=k);else{if(e=e&&n.call(u.childNodes),b=i.props||p,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(d=u.attributes[a]).name]=d.value;for(a in b)if(d=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)y=d;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;j(u,a,null,d,o)}for(a in k)d=k[a],"children"==a?v=d:"dangerouslySetInnerHTML"==a?h=d:"value"==a?_=d:"checked"==a?m=d:c&&"function"!=typeof d||b[a]===d||j(u,a,d,b[a],o);if(h)c||y&&(h.__html==y.__html||h.__html==u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(y&&(u.innerHTML=""),I("template"==t.type?u.content:u,w(v)?v:[v],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&S(i,0),c,s),null!=e)for(a=e.length;a--;)g(e[a]);c||(a="value","progress"==x&&null==_?u.removeAttribute("value"):null!=_&&(_!==u[a]||"progress"==x&&!_||"option"==x&&_!=b[a])&&j(u,a,_,b[a],o),a="checked",null!=m&&m!=u[a]&&j(u,a,m,b[a],o))}return u}function q(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function B(n,u,t){var i,r;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||q(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&B(i[r],u,t||"function"!=typeof n.type);t||g(n.__e),n.__c=n.__=n.__e=void 0}function D(n,l,u){return this.constructor(n,u)}function E(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l.__&&l.__(u,t),o=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],f=[],O(t,u=(!r&&i||t).__k=_(k,null,[u]),o||p,p,t.namespaceURI,!r&&i?[i]:o?null:t.firstChild?n.call(t.childNodes):null,e,!r&&i?i:o?o.__e:t.firstChild,r,f),z(e,u,f)}function G(n,l){E(n,l,G)}function J(l,u,t){var i,r,o,e,f=d({},l.props);for(o in l.type&&l.type.defaultProps&&(e=l.type.defaultProps),u)"key"==o?i=u[o]:"ref"==o?r=u[o]:f[o]=null==u[o]&&null!=e?e[o]:u[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),m(l.type,f,i||l.key,r||l.ref,null)}function K(n){function l(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&u.forEach(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n)}}),n.children}return l.__c="__cC"+h++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l}n=y.slice,l={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},x.prototype.render=k,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},$.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=F(!1),a=F(!0),h=0;
|
|
13348
|
+
var n,l,u,t,i,r,o,e,f,c,s,a,h,p={},y=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function g(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function _(l,u,t){var i,r,o,e={};for(o in u)"key"==o?i=u[o]:"ref"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)null==e[o]&&(e[o]=l.defaultProps[o]);return m(l,e,i,r,null)}function m(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(e),e}function b(){return{current:null}}function k(n){return n.children}function x(n,l){this.props=n,this.context=l}function S(n,l){if(null==l)return n.__?S(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?S(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!$.__r++||r!=l.debounceRendering)&&((r=l.debounceRendering)||o)($)}function $(){for(var n,u,t,r,o,f,c,s=1;i.length;)i.length>s&&i.sort(e),n=i.shift(),s=i.length,n.__d&&(t=void 0,o=(r=(u=n).__v).__e,f=[],c=[],u.__P&&((t=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(t),O(u.__P,t,r,u.__n,u.__P.namespaceURI,32&r.__u?[o]:null,f,null==o?S(r):o,!!(32&r.__u),c),t.__v=r.__v,t.__.__k[t.__i]=t,z(f,t,c),t.__e!=o&&C(t)));$.__r=0}function I(n,l,u,t,i,r,o,e,f,c,s){var a,h,v,w,d,g,_=t&&t.__k||y,m=l.length;for(f=P(u,l,_,f,m),a=0;a<m;a++)null!=(v=u.__k[a])&&(h=-1==v.__i?p:_[v.__i]||p,v.__i=a,g=O(n,v,h,i,r,o,e,f,c,s),w=v.__e,v.ref&&h.ref!=v.ref&&(h.ref&&q(h.ref,null,v),s.push(v.ref,v.__c||w,v)),null==d&&null!=w&&(d=w),4&v.__u||h.__k===v.__k?f=A(v,f,n):"function"==typeof v.type&&void 0!==g?f=g:w&&(f=w.nextSibling),v.__u&=-7);return u.__e=d,f}function P(n,l,u,t,i){var r,o,e,f,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?(f=r+h,(o=n.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m(null,o,null,null,null):w(o)?m(k,{children:o},null,null,null):null==o.constructor&&o.__b>0?m(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,e=null,-1!=(c=o.__i=L(o,u,f,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=S(e)),B(e,e));return t}function A(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=A(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=S(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(w(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i,r,o=n.key,e=n.type,f=l[u];if(null===f&&null==n.key||f&&o==f.key&&e==f.type&&0==(2&f.__u))return u;if(t>(null!=f&&0==(2&f.__u)?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;){if(i>=0){if((f=l[i])&&0==(2&f.__u)&&o==f.key&&e==f.type)return i;i--}if(r<l.length){if((f=l[r])&&0==(2&f.__u)&&o==f.key&&e==f.type)return r;r++}}return-1}function T(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v.test(l)?u:u+"px"}function j(n,l,u,t,i){var r,o;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||T(n.style,l,u[l])}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f,"$1")),o=l.toLowerCase(),l=o in n||"onFocusOut"==l||"onFocusIn"==l?o.slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u.u=t.u:(u.u=c,n.addEventListener(l,r?a:s,r)):n.removeEventListener(l,r?a:s,r);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=c++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,r,o,e,f,c,s){var a,h,p,y,v,_,m,b,S,C,M,$,P,A,H,L,T,j=u.type;if(null!=u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof j)try{if(b=u.props,S="prototype"in j&&j.prototype.render,C=(a=j.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(S?u.__c=h=new j(b,M):(u.__c=h=new x(b,M),h.constructor=j,h.render=D),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),S&&null==h.__s&&(h.__s=h.state),S&&null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,j.getDerivedStateFromProps(b,h.__s))),y=h.props,v=h.state,h.__v=u,p)S&&null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),S&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(S&&null==j.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||u.__v==t.__v){for(u.__v!=t.__v&&(h.props=b,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),$=0;$<h._sb.length;$++)h.__h.push(h._sb[$]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),S&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,v,_)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,P=l.__r,A=0,S){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),S&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(y,v)),L=a,null!=a&&a.type===k&&null==a.key&&(L=N(a.props.children)),f=I(n,w(L)?L:[L],u,t,i,r,o,e,f,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f}else for(T=o.length;T--;)g(o[T]);else u.__e=t.__e,u.__k=t.__k;l.__e(n,u,t)}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=V(t.__e,u,t,i,r,o,e,c,s);return(a=l.diffed)&&a(u),128&u.__u?void 0:f}function z(n,u,t){for(var i=0;i<t.length;i++)q(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function N(n){return"object"!=typeof n||null==n||n.__b&&n.__b>0?n:w(n)?n.map(N):d({},n)}function V(u,t,i,r,o,e,f,c,s){var a,h,y,v,d,_,m,b=i.props,k=t.props,x=t.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((d=e[a])&&"setAttribute"in d==!!x&&(x?d.localName==x:3==d.nodeType)){u=d,e[a]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l.__m&&l.__m(t,e),c=!1),e=null}if(null==x)b===k||c&&u.data==k||(u.data=k);else{if(e=e&&n.call(u.childNodes),b=i.props||p,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(d=u.attributes[a]).name]=d.value;for(a in b)if(d=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)y=d;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;j(u,a,null,d,o)}for(a in k)d=k[a],"children"==a?v=d:"dangerouslySetInnerHTML"==a?h=d:"value"==a?_=d:"checked"==a?m=d:c&&"function"!=typeof d||b[a]===d||j(u,a,d,b[a],o);if(h)c||y&&(h.__html==y.__html||h.__html==u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(y&&(u.innerHTML=""),I("template"==t.type?u.content:u,w(v)?v:[v],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&S(i,0),c,s),null!=e)for(a=e.length;a--;)g(e[a]);c||(a="value","progress"==x&&null==_?u.removeAttribute("value"):null!=_&&(_!==u[a]||"progress"==x&&!_||"option"==x&&_!=b[a])&&j(u,a,_,b[a],o),a="checked",null!=m&&m!=u[a]&&j(u,a,m,b[a],o))}return u}function q(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function B(n,u,t){var i,r;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||q(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&B(i[r],u,t||"function"!=typeof n.type);t||g(n.__e),n.__c=n.__=n.__e=void 0}function D(n,l,u){return this.constructor(n,u)}function E(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l.__&&l.__(u,t),o=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],f=[],O(t,u=(!r&&i||t).__k=_(k,null,[u]),o||p,p,t.namespaceURI,!r&&i?[i]:o?null:t.firstChild?n.call(t.childNodes):null,e,!r&&i?i:o?o.__e:t.firstChild,r,f),z(e,u,f)}function G(n,l){E(n,l,G)}function J(l,u,t){var i,r,o,e,f=d({},l.props);for(o in l.type&&l.type.defaultProps&&(e=l.type.defaultProps),u)"key"==o?i=u[o]:"ref"==o?r=u[o]:f[o]=null==u[o]&&null!=e?e[o]:u[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),m(l.type,f,i||l.key,r||l.ref,null)}function K(n){function l(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&u.forEach(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n)}}),n.children}return l.__c="__cC"+h++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l}n=y.slice,l={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},x.prototype.render=k,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},$.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=F(!1),a=F(!0),h=0;
|
|
13195
13349
|
//# sourceMappingURL=preact.module.js.map
|
|
13196
13350
|
|
|
13197
13351
|
|
|
@@ -13220,7 +13374,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13220
13374
|
/* harmony export */ useState: () => (/* binding */ d)
|
|
13221
13375
|
/* harmony export */ });
|
|
13222
13376
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "./node_modules/preact/dist/preact.module.js");
|
|
13223
|
-
var t,r,u,i,o=0,f=[],c=preact__WEBPACK_IMPORTED_MODULE_0__.options,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function p(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,h(D,n)}function h(n,u,i){var o=p(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return!!n.__c});if(u.every(function(n){return!n.__N}))return!c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),c&&c.call(this,n,t,r)||i};r.__f=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function y(n,u){var i=p(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i))}function _(n,u){var i=p(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(function(){if("function"==typeof n){var r=n(t());return function(){n(null),r&&"function"==typeof r&&r()}}if(n)return n.current=t(),function(){return n.current=null}},null==r?r:r.concat(n))}function T(n,r){var u=p(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=p(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=p(t++,10),i=d();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=p(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[]}catch(t){n.__H.__h=[],c.__e(t,n.__v)}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,
|
|
13377
|
+
var t,r,u,i,o=0,f=[],c=preact__WEBPACK_IMPORTED_MODULE_0__.options,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function p(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,h(D,n)}function h(n,u,i){var o=p(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return!!n.__c});if(u.every(function(n){return!n.__N}))return!c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),c&&c.call(this,n,t,r)||i};r.__f=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function y(n,u){var i=p(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i))}function _(n,u){var i=p(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(function(){if("function"==typeof n){var r=n(t());return function(){n(null),r&&"function"==typeof r&&r()}}if(n)return n.current=t(),function(){return n.current=null}},null==r?r:r.concat(n))}function T(n,r){var u=p(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=p(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=p(t++,10),i=d();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=p(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[]}catch(t){n.__H.__h=[],c.__e(t,n.__v)}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,35);k&&(t=requestAnimationFrame(r))}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function B(n){var t=r;n.__c=n.__(),r=t}function C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return"function"==typeof t?t(n):t}
|
|
13224
13378
|
//# sourceMappingURL=hooks.module.js.map
|
|
13225
13379
|
|
|
13226
13380
|
|
|
@@ -13427,6 +13581,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13427
13581
|
/* harmony export */ SurveyQuestionRating: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionRating),
|
|
13428
13582
|
/* harmony export */ SurveyQuestionRatingDropdown: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionRatingDropdown),
|
|
13429
13583
|
/* harmony export */ SurveyQuestionSignaturePad: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionSignaturePad),
|
|
13584
|
+
/* harmony export */ SurveyQuestionSlider: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionSlider),
|
|
13430
13585
|
/* harmony export */ SurveyQuestionTagbox: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionTagbox),
|
|
13431
13586
|
/* harmony export */ SurveyQuestionTagboxItem: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionTagboxItem),
|
|
13432
13587
|
/* harmony export */ SurveyQuestionText: () => (/* reexport safe */ _survey_react_ui_entries_react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyQuestionText),
|
|
@@ -13560,7 +13715,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
13560
13715
|
|
|
13561
13716
|
|
|
13562
13717
|
|
|
13563
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0
|
|
13718
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.1.0"), "survey-js-ui");
|
|
13564
13719
|
|
|
13565
13720
|
})();
|
|
13566
13721
|
|