survey-js-ui 1.12.14 → 1.12.16-patch.1
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/package.json +2 -2
- package/survey-js-ui.js +303 -306
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +4 -4
- package/typings/packages/survey-react-ui/src/boolean-checkbox.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/boolean-radio.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/boolean.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-item.d.ts +6 -6
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-separator.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/brand-info.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/character-counter.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/components-container.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/file/file-choose-button.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/file/file-item.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/components/file/file-page.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/file/file-preview.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/components/header.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/components/list/list-item-content.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/list/list-item-group.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/list/list-item.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/list/list.d.ts +6 -6
- package/typings/packages/survey-react-ui/src/components/loading-indicator.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/matrix/row.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/notifier.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/popup/popup-modal.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/popup/popup.d.ts +9 -9
- package/typings/packages/survey-react-ui/src/components/question-error.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/rating/rating-dropdown-item.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/components/rating/rating-item-smiley.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/rating/rating-item-star.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/rating/rating-item.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/skeleton.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/survey-actions/survey-nav-button.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/survey-header/logo-image.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/survey-header/survey-header.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/svg-icon/svg-icon.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/text-area.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/title/title-actions.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/components/title/title-content.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/components/title/title-element.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/custom-widget.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/dropdown-base.d.ts +8 -8
- package/typings/packages/survey-react-ui/src/dropdown-item.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/dropdown-select.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/element-factory.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/element-header.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/element.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/flow-panel.d.ts +7 -7
- package/typings/packages/survey-react-ui/src/image.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/imagepicker.d.ts +5 -5
- package/typings/packages/survey-react-ui/src/page.d.ts +4 -4
- package/typings/packages/survey-react-ui/src/panel-base.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/panel.d.ts +8 -8
- package/typings/packages/survey-react-ui/src/progress.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/progressButtons.d.ts +4 -4
- package/typings/packages/survey-react-ui/src/progressToc.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/rating-dropdown.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/react-popup-survey.d.ts +9 -9
- package/typings/packages/survey-react-ui/src/reactSurvey.d.ts +12 -12
- package/typings/packages/survey-react-ui/src/reactquestion.d.ts +20 -20
- package/typings/packages/survey-react-ui/src/reactquestion_buttongroup.d.ts +7 -7
- package/typings/packages/survey-react-ui/src/reactquestion_checkbox.d.ts +11 -11
- package/typings/packages/survey-react-ui/src/reactquestion_comment.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/reactquestion_custom.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/reactquestion_dropdown.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +7 -7
- package/typings/packages/survey-react-ui/src/reactquestion_empty.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/reactquestion_expression.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/reactquestion_factory.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/reactquestion_file.d.ts +8 -8
- package/typings/packages/survey-react-ui/src/reactquestion_html.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/reactquestion_matrix.d.ts +7 -7
- package/typings/packages/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +6 -6
- package/typings/packages/survey-react-ui/src/reactquestion_matrixdynamic.d.ts +7 -7
- package/typings/packages/survey-react-ui/src/reactquestion_multipletext.d.ts +6 -6
- package/typings/packages/survey-react-ui/src/reactquestion_paneldynamic.d.ts +11 -11
- package/typings/packages/survey-react-ui/src/reactquestion_radiogroup.d.ts +8 -8
- package/typings/packages/survey-react-ui/src/reactquestion_ranking.d.ts +6 -6
- package/typings/packages/survey-react-ui/src/reactquestion_rating.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/reactquestion_tagbox.d.ts +5 -5
- package/typings/packages/survey-react-ui/src/reactquestion_text.d.ts +3 -3
- package/typings/packages/survey-react-ui/src/reactsurveymodel.d.ts +5 -5
- package/typings/packages/survey-react-ui/src/reacttimerpanel.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/row.d.ts +4 -4
- package/typings/packages/survey-react-ui/src/signaturepad.d.ts +5 -5
- package/typings/packages/survey-react-ui/src/string-editor.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/string-viewer.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/svgbundle.d.ts +1 -1
- package/typings/packages/survey-react-ui/src/tagbox-filter.d.ts +2 -2
- package/typings/packages/survey-react-ui/src/tagbox-item.d.ts +2 -2
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.16-patch.1
|
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -110,7 +110,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
110
110
|
/***/ (function(module, exports, __webpack_require__) {
|
|
111
111
|
|
|
112
112
|
/*!
|
|
113
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
113
|
+
* surveyjs - Survey JavaScript library v1.12.16-patch.1
|
|
114
114
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
115
115
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
116
116
|
*/
|
|
@@ -1043,7 +1043,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1043
1043
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1044
1044
|
|
|
1045
1045
|
/*!
|
|
1046
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
1046
|
+
* surveyjs - Survey JavaScript library v1.12.16-patch.1
|
|
1047
1047
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1048
1048
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1049
1049
|
*/
|
|
@@ -1987,43 +1987,43 @@ __webpack_require__.d(__webpack_exports__, "useId", function() { return /* reexp
|
|
|
1987
1987
|
__webpack_require__.d(__webpack_exports__, "useReducer", function() { return /* reexport */ hooks_module_p; });
|
|
1988
1988
|
__webpack_require__.d(__webpack_exports__, "useEffect", function() { return /* reexport */ hooks_module_y; });
|
|
1989
1989
|
__webpack_require__.d(__webpack_exports__, "useLayoutEffect", function() { return /* reexport */ hooks_module_; });
|
|
1990
|
-
__webpack_require__.d(__webpack_exports__, "useInsertionEffect", function() { return /* reexport */
|
|
1991
|
-
__webpack_require__.d(__webpack_exports__, "useTransition", function() { return /* reexport */
|
|
1992
|
-
__webpack_require__.d(__webpack_exports__, "useDeferredValue", function() { return /* reexport */
|
|
1993
|
-
__webpack_require__.d(__webpack_exports__, "useSyncExternalStore", function() { return /* reexport */
|
|
1994
|
-
__webpack_require__.d(__webpack_exports__, "startTransition", function() { return /* reexport */
|
|
1990
|
+
__webpack_require__.d(__webpack_exports__, "useInsertionEffect", function() { return /* reexport */ compat_module_I; });
|
|
1991
|
+
__webpack_require__.d(__webpack_exports__, "useTransition", function() { return /* reexport */ compat_module_k; });
|
|
1992
|
+
__webpack_require__.d(__webpack_exports__, "useDeferredValue", function() { return /* reexport */ compat_module_w; });
|
|
1993
|
+
__webpack_require__.d(__webpack_exports__, "useSyncExternalStore", function() { return /* reexport */ compat_module_C; });
|
|
1994
|
+
__webpack_require__.d(__webpack_exports__, "startTransition", function() { return /* reexport */ R; });
|
|
1995
1995
|
__webpack_require__.d(__webpack_exports__, "useRef", function() { return /* reexport */ hooks_module_A; });
|
|
1996
1996
|
__webpack_require__.d(__webpack_exports__, "useImperativeHandle", function() { return /* reexport */ hooks_module_F; });
|
|
1997
1997
|
__webpack_require__.d(__webpack_exports__, "useMemo", function() { return /* reexport */ hooks_module_T; });
|
|
1998
1998
|
__webpack_require__.d(__webpack_exports__, "useCallback", function() { return /* reexport */ hooks_module_q; });
|
|
1999
1999
|
__webpack_require__.d(__webpack_exports__, "useContext", function() { return /* reexport */ hooks_module_x; });
|
|
2000
2000
|
__webpack_require__.d(__webpack_exports__, "useDebugValue", function() { return /* reexport */ hooks_module_P; });
|
|
2001
|
-
__webpack_require__.d(__webpack_exports__, "version", function() { return /* reexport */
|
|
2002
|
-
__webpack_require__.d(__webpack_exports__, "Children", function() { return /* reexport */
|
|
2003
|
-
__webpack_require__.d(__webpack_exports__, "render", function() { return /* reexport */
|
|
2004
|
-
__webpack_require__.d(__webpack_exports__, "hydrate", function() { return /* reexport */
|
|
2005
|
-
__webpack_require__.d(__webpack_exports__, "unmountComponentAtNode", function() { return /* reexport */
|
|
2006
|
-
__webpack_require__.d(__webpack_exports__, "createPortal", function() { return /* reexport */
|
|
2001
|
+
__webpack_require__.d(__webpack_exports__, "version", function() { return /* reexport */ vn; });
|
|
2002
|
+
__webpack_require__.d(__webpack_exports__, "Children", function() { return /* reexport */ compat_module_O; });
|
|
2003
|
+
__webpack_require__.d(__webpack_exports__, "render", function() { return /* reexport */ nn; });
|
|
2004
|
+
__webpack_require__.d(__webpack_exports__, "hydrate", function() { return /* reexport */ tn; });
|
|
2005
|
+
__webpack_require__.d(__webpack_exports__, "unmountComponentAtNode", function() { return /* reexport */ bn; });
|
|
2006
|
+
__webpack_require__.d(__webpack_exports__, "createPortal", function() { return /* reexport */ compat_module_$; });
|
|
2007
2007
|
__webpack_require__.d(__webpack_exports__, "createElement", function() { return /* reexport */ g; });
|
|
2008
2008
|
__webpack_require__.d(__webpack_exports__, "createContext", function() { return /* reexport */ J; });
|
|
2009
|
-
__webpack_require__.d(__webpack_exports__, "createFactory", function() { return /* reexport */
|
|
2010
|
-
__webpack_require__.d(__webpack_exports__, "cloneElement", function() { return /* reexport */
|
|
2009
|
+
__webpack_require__.d(__webpack_exports__, "createFactory", function() { return /* reexport */ dn; });
|
|
2010
|
+
__webpack_require__.d(__webpack_exports__, "cloneElement", function() { return /* reexport */ _n; });
|
|
2011
2011
|
__webpack_require__.d(__webpack_exports__, "createRef", function() { return /* reexport */ b; });
|
|
2012
2012
|
__webpack_require__.d(__webpack_exports__, "Fragment", function() { return /* reexport */ k; });
|
|
2013
|
-
__webpack_require__.d(__webpack_exports__, "isValidElement", function() { return /* reexport */
|
|
2014
|
-
__webpack_require__.d(__webpack_exports__, "isFragment", function() { return /* reexport */
|
|
2015
|
-
__webpack_require__.d(__webpack_exports__, "isMemo", function() { return /* reexport */
|
|
2016
|
-
__webpack_require__.d(__webpack_exports__, "findDOMNode", function() { return /* reexport */
|
|
2013
|
+
__webpack_require__.d(__webpack_exports__, "isValidElement", function() { return /* reexport */ pn; });
|
|
2014
|
+
__webpack_require__.d(__webpack_exports__, "isFragment", function() { return /* reexport */ mn; });
|
|
2015
|
+
__webpack_require__.d(__webpack_exports__, "isMemo", function() { return /* reexport */ yn; });
|
|
2016
|
+
__webpack_require__.d(__webpack_exports__, "findDOMNode", function() { return /* reexport */ Sn; });
|
|
2017
2017
|
__webpack_require__.d(__webpack_exports__, "Component", function() { return /* reexport */ x; });
|
|
2018
|
-
__webpack_require__.d(__webpack_exports__, "PureComponent", function() { return /* reexport */
|
|
2019
|
-
__webpack_require__.d(__webpack_exports__, "memo", function() { return /* reexport */
|
|
2020
|
-
__webpack_require__.d(__webpack_exports__, "forwardRef", function() { return /* reexport */
|
|
2021
|
-
__webpack_require__.d(__webpack_exports__, "flushSync", function() { return /* reexport */
|
|
2022
|
-
__webpack_require__.d(__webpack_exports__, "unstable_batchedUpdates", function() { return /* reexport */
|
|
2023
|
-
__webpack_require__.d(__webpack_exports__, "StrictMode", function() { return /* reexport */
|
|
2024
|
-
__webpack_require__.d(__webpack_exports__, "Suspense", function() { return /* reexport */
|
|
2025
|
-
__webpack_require__.d(__webpack_exports__, "SuspenseList", function() { return /* reexport */
|
|
2026
|
-
__webpack_require__.d(__webpack_exports__, "lazy", function() { return /* reexport */
|
|
2018
|
+
__webpack_require__.d(__webpack_exports__, "PureComponent", function() { return /* reexport */ compat_module_N; });
|
|
2019
|
+
__webpack_require__.d(__webpack_exports__, "memo", function() { return /* reexport */ compat_module_M; });
|
|
2020
|
+
__webpack_require__.d(__webpack_exports__, "forwardRef", function() { return /* reexport */ compat_module_D; });
|
|
2021
|
+
__webpack_require__.d(__webpack_exports__, "flushSync", function() { return /* reexport */ En; });
|
|
2022
|
+
__webpack_require__.d(__webpack_exports__, "unstable_batchedUpdates", function() { return /* reexport */ gn; });
|
|
2023
|
+
__webpack_require__.d(__webpack_exports__, "StrictMode", function() { return /* reexport */ Cn; });
|
|
2024
|
+
__webpack_require__.d(__webpack_exports__, "Suspense", function() { return /* reexport */ compat_module_P; });
|
|
2025
|
+
__webpack_require__.d(__webpack_exports__, "SuspenseList", function() { return /* reexport */ compat_module_B; });
|
|
2026
|
+
__webpack_require__.d(__webpack_exports__, "lazy", function() { return /* reexport */ compat_module_z; });
|
|
2027
2027
|
__webpack_require__.d(__webpack_exports__, "renderSurvey", function() { return /* binding */ renderSurvey; });
|
|
2028
2028
|
__webpack_require__.d(__webpack_exports__, "renderPopupSurvey", function() { return /* binding */ renderPopupSurvey; });
|
|
2029
2029
|
__webpack_require__.d(__webpack_exports__, "preact", function() { return /* binding */ preact; });
|
|
@@ -2157,46 +2157,46 @@ __webpack_require__.d(compat_module_namespaceObject, "useMemo", function() { ret
|
|
|
2157
2157
|
__webpack_require__.d(compat_module_namespaceObject, "useReducer", function() { return hooks_module_p; });
|
|
2158
2158
|
__webpack_require__.d(compat_module_namespaceObject, "useRef", function() { return hooks_module_A; });
|
|
2159
2159
|
__webpack_require__.d(compat_module_namespaceObject, "useState", function() { return hooks_module_h; });
|
|
2160
|
-
__webpack_require__.d(compat_module_namespaceObject, "Children", function() { return
|
|
2161
|
-
__webpack_require__.d(compat_module_namespaceObject, "PureComponent", function() { return
|
|
2162
|
-
__webpack_require__.d(compat_module_namespaceObject, "StrictMode", function() { return
|
|
2163
|
-
__webpack_require__.d(compat_module_namespaceObject, "Suspense", function() { return
|
|
2164
|
-
__webpack_require__.d(compat_module_namespaceObject, "SuspenseList", function() { return
|
|
2165
|
-
__webpack_require__.d(compat_module_namespaceObject, "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", function() { return
|
|
2166
|
-
__webpack_require__.d(compat_module_namespaceObject, "cloneElement", function() { return
|
|
2167
|
-
__webpack_require__.d(compat_module_namespaceObject, "createFactory", function() { return
|
|
2168
|
-
__webpack_require__.d(compat_module_namespaceObject, "createPortal", function() { return
|
|
2169
|
-
__webpack_require__.d(compat_module_namespaceObject, "default", function() { return
|
|
2170
|
-
__webpack_require__.d(compat_module_namespaceObject, "findDOMNode", function() { return
|
|
2171
|
-
__webpack_require__.d(compat_module_namespaceObject, "flushSync", function() { return
|
|
2172
|
-
__webpack_require__.d(compat_module_namespaceObject, "forwardRef", function() { return
|
|
2173
|
-
__webpack_require__.d(compat_module_namespaceObject, "hydrate", function() { return
|
|
2174
|
-
__webpack_require__.d(compat_module_namespaceObject, "isElement", function() { return
|
|
2175
|
-
__webpack_require__.d(compat_module_namespaceObject, "isFragment", function() { return
|
|
2176
|
-
__webpack_require__.d(compat_module_namespaceObject, "isMemo", function() { return
|
|
2177
|
-
__webpack_require__.d(compat_module_namespaceObject, "isValidElement", function() { return
|
|
2178
|
-
__webpack_require__.d(compat_module_namespaceObject, "lazy", function() { return
|
|
2179
|
-
__webpack_require__.d(compat_module_namespaceObject, "memo", function() { return
|
|
2180
|
-
__webpack_require__.d(compat_module_namespaceObject, "render", function() { return
|
|
2181
|
-
__webpack_require__.d(compat_module_namespaceObject, "startTransition", function() { return
|
|
2182
|
-
__webpack_require__.d(compat_module_namespaceObject, "unmountComponentAtNode", function() { return
|
|
2183
|
-
__webpack_require__.d(compat_module_namespaceObject, "unstable_batchedUpdates", function() { return
|
|
2184
|
-
__webpack_require__.d(compat_module_namespaceObject, "useDeferredValue", function() { return
|
|
2185
|
-
__webpack_require__.d(compat_module_namespaceObject, "useInsertionEffect", function() { return
|
|
2186
|
-
__webpack_require__.d(compat_module_namespaceObject, "useSyncExternalStore", function() { return
|
|
2187
|
-
__webpack_require__.d(compat_module_namespaceObject, "useTransition", function() { return
|
|
2188
|
-
__webpack_require__.d(compat_module_namespaceObject, "version", function() { return
|
|
2160
|
+
__webpack_require__.d(compat_module_namespaceObject, "Children", function() { return compat_module_O; });
|
|
2161
|
+
__webpack_require__.d(compat_module_namespaceObject, "PureComponent", function() { return compat_module_N; });
|
|
2162
|
+
__webpack_require__.d(compat_module_namespaceObject, "StrictMode", function() { return Cn; });
|
|
2163
|
+
__webpack_require__.d(compat_module_namespaceObject, "Suspense", function() { return compat_module_P; });
|
|
2164
|
+
__webpack_require__.d(compat_module_namespaceObject, "SuspenseList", function() { return compat_module_B; });
|
|
2165
|
+
__webpack_require__.d(compat_module_namespaceObject, "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", function() { return hn; });
|
|
2166
|
+
__webpack_require__.d(compat_module_namespaceObject, "cloneElement", function() { return _n; });
|
|
2167
|
+
__webpack_require__.d(compat_module_namespaceObject, "createFactory", function() { return dn; });
|
|
2168
|
+
__webpack_require__.d(compat_module_namespaceObject, "createPortal", function() { return compat_module_$; });
|
|
2169
|
+
__webpack_require__.d(compat_module_namespaceObject, "default", function() { return Rn; });
|
|
2170
|
+
__webpack_require__.d(compat_module_namespaceObject, "findDOMNode", function() { return Sn; });
|
|
2171
|
+
__webpack_require__.d(compat_module_namespaceObject, "flushSync", function() { return En; });
|
|
2172
|
+
__webpack_require__.d(compat_module_namespaceObject, "forwardRef", function() { return compat_module_D; });
|
|
2173
|
+
__webpack_require__.d(compat_module_namespaceObject, "hydrate", function() { return tn; });
|
|
2174
|
+
__webpack_require__.d(compat_module_namespaceObject, "isElement", function() { return xn; });
|
|
2175
|
+
__webpack_require__.d(compat_module_namespaceObject, "isFragment", function() { return mn; });
|
|
2176
|
+
__webpack_require__.d(compat_module_namespaceObject, "isMemo", function() { return yn; });
|
|
2177
|
+
__webpack_require__.d(compat_module_namespaceObject, "isValidElement", function() { return pn; });
|
|
2178
|
+
__webpack_require__.d(compat_module_namespaceObject, "lazy", function() { return compat_module_z; });
|
|
2179
|
+
__webpack_require__.d(compat_module_namespaceObject, "memo", function() { return compat_module_M; });
|
|
2180
|
+
__webpack_require__.d(compat_module_namespaceObject, "render", function() { return nn; });
|
|
2181
|
+
__webpack_require__.d(compat_module_namespaceObject, "startTransition", function() { return R; });
|
|
2182
|
+
__webpack_require__.d(compat_module_namespaceObject, "unmountComponentAtNode", function() { return bn; });
|
|
2183
|
+
__webpack_require__.d(compat_module_namespaceObject, "unstable_batchedUpdates", function() { return gn; });
|
|
2184
|
+
__webpack_require__.d(compat_module_namespaceObject, "useDeferredValue", function() { return compat_module_w; });
|
|
2185
|
+
__webpack_require__.d(compat_module_namespaceObject, "useInsertionEffect", function() { return compat_module_I; });
|
|
2186
|
+
__webpack_require__.d(compat_module_namespaceObject, "useSyncExternalStore", function() { return compat_module_C; });
|
|
2187
|
+
__webpack_require__.d(compat_module_namespaceObject, "useTransition", function() { return compat_module_k; });
|
|
2188
|
+
__webpack_require__.d(compat_module_namespaceObject, "version", function() { return vn; });
|
|
2189
2189
|
|
|
2190
2190
|
// CONCATENATED MODULE: ./node_modules/preact/dist/preact.module.js
|
|
2191
|
-
var preact_module_n,l,preact_module_u,preact_module_t,preact_module_i,preact_module_r,preact_module_o,preact_module_e,preact_module_f,preact_module_c,s,a,h,p={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function w(n,l){for(var u in l)n[u]=l[u];return n}function _(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function g(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?preact_module_n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===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?++preact_module_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 C(n,l){if(null==l)return n.__?C(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?C(n):null}function S(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 S(n)}}function M(n){(!n.__d&&(n.__d=!0)&&preact_module_i.push(n)&&!P.__r++||preact_module_r!==l.debounceRendering)&&((preact_module_r=l.debounceRendering)||preact_module_o)(P)}function P(){var n,u,t,r,o,f,c,s;for(preact_module_i.sort(preact_module_e);n=preact_module_i.shift();)n.__d&&(u=preact_module_i.length,r=void 0,f=(o=(t=n).__v).__e,c=[],s=[],t.__P&&((r=w({},o)).__v=o.__v+1,l.vnode&&l.vnode(r),j(t.__P,r,o,t.__n,t.__P.namespaceURI,32&o.__u?[f]:null,c,null==f?C(o):f,!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,z(c,r,s),r.__e!=f&&S(r)),preact_module_i.length>u&&preact_module_i.sort(preact_module_e));P.__r=0}function $(n,l,u,t,i,r,o,e,f,c,s){var a,h,y,d,w,_,g=t&&t.__k||v,m=l.length;for(f=I(u,l,g,f),a=0;a<m;a++)null!=(y=u.__k[a])&&(h=-1===y.__i?p:g[y.__i]||p,y.__i=a,_=j(n,y,h,i,r,o,e,f,c,s),d=y.__e,y.ref&&h.ref!=y.ref&&(h.ref&&V(h.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),4&y.__u||h.__k===y.__k?f=H(y,f,n):"function"==typeof y.type&&void 0!==_?f=_:d&&(f=d.nextSibling),y.__u&=-7);return u.__e=w,f}function I(n,l,u,t){var i,r,o,e,f,c=l.length,s=u.length,a=s,h=0;for(n.__k=[],i=0;i<c;i++)null!=(r=l[i])&&"boolean"!=typeof r&&"function"!=typeof r?(e=i+h,(r=n.__k[i]="string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?m(null,r,null,null,null):d(r)?m(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?m(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=n,r.__b=n.__b+1,o=null,-1!==(f=r.__i=T(r,u,e,a))&&(a--,(o=u[f])&&(o.__u|=2)),null==o||null===o.__v?(-1==f&&h--,"function"!=typeof r.type&&(r.__u|=4)):f!==e&&(f==e-1?h--:f==e+1?h++:(f>e?h--:h++,r.__u|=4))):r=n.__k[i]=null;if(a)for(i=0;i<s;i++)null!=(o=u[i])&&0==(2&o.__u)&&(o.__e==t&&(t=C(o)),q(o,o));return t}function H(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=H(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=C(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function L(n,l){return l=l||[],null==n||"boolean"==typeof n||(d(n)?n.some(function(n){L(n,l)}):l.push(n)),l}function T(n,l,u,t){var i=n.key,r=n.type,o=u-1,e=u+1,f=l[u];if(null===f||f&&i==f.key&&r===f.type&&0==(2&f.__u))return u;if(("function"!=typeof r||r===k||i)&&t>(null!=f&&0==(2&f.__u)?1:0))for(;o>=0||e<l.length;){if(o>=0){if((f=l[o])&&0==(2&f.__u)&&i==f.key&&r===f.type)return o;o--}if(e<l.length){if((f=l[e])&&0==(2&f.__u)&&i==f.key&&r===f.type)return e;e++}}return-1}function A(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||y.test(l)?u:u+"px"}function F(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||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(preact_module_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=preact_module_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 O(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=preact_module_c++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function j(n,u,t,i,r,o,e,f,c,s){var a,h,p,v,y,g,m,b,C,S,M,P,I,H,L,T,A,F=u.type;if(void 0!==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 F)try{if(b=u.props,C="prototype"in F&&F.prototype.render,S=(a=F.contextType)&&i[a.__c],M=a?S?S.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(C?u.__c=h=new F(b,M):(u.__c=h=new x(b,M),h.constructor=F,h.render=B),S&&S.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),C&&null==h.__s&&(h.__s=h.state),C&&null!=F.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=w({},h.__s)),w(h.__s,F.getDerivedStateFromProps(b,h.__s))),v=h.props,y=h.state,h.__v=u,p)C&&null==F.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),C&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(C&&null==F.getDerivedStateFromProps&&b!==v&&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)}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),C&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,g)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,I=l.__r,H=0,C){for(h.state=h.__s,h.__d=!1,I&&I(u),a=h.render(h.props,h.state,h.context),L=0;L<h._sb.length;L++)h.__h.push(h._sb[L]);h._sb=[]}else do{h.__d=!1,I&&I(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++H<25);h.state=h.__s,null!=h.getChildContext&&(i=w(w({},i),h.getChildContext())),C&&!p&&null!=h.getSnapshotBeforeUpdate&&(g=h.getSnapshotBeforeUpdate(v,y)),f=$(n,d(T=null!=a&&a.type===k&&null==a.key?a.props.children:a)?T:[T],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(A=o.length;A--;)_(o[A]);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=N(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++)V(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(u,t,i,r,o,e,f,c,s){var a,h,v,y,w,g,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((w=e[a])&&"setAttribute"in w==!!x&&(x?w.localName===x:3===w.nodeType)){u=w,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&&preact_module_n.call(u.childNodes),b=i.props||p,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(w=u.attributes[a]).name]=w.value;for(a in b)if(w=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)v=w;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;F(u,a,null,w,o)}for(a in k)w=k[a],"children"==a?y=w:"dangerouslySetInnerHTML"==a?h=w:"value"==a?g=w:"checked"==a?m=w:c&&"function"!=typeof w||b[a]===w||F(u,a,w,b[a],o);if(h)c||v&&(h.__html===v.__html||h.__html===u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(v&&(u.innerHTML=""),$(u,d(y)?y:[y],t,i,r,"foreignObject"===x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&C(i,0),c,s),null!=e)for(a=e.length;a--;)_(e[a]);c||(a="value","progress"===x&&null==g?u.removeAttribute("value"):void 0!==g&&(g!==u[a]||"progress"===x&&!g||"option"===x&&g!==b[a])&&F(u,a,g,b[a],o),a="checked",void 0!==m&&m!==u[a]&&F(u,a,m,b[a],o))}return u}function V(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 q(n,u,t){var i,r;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||V(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]&&q(i[r],u,t||"function"!=typeof n.type);t||_(n.__e),n.__c=n.__=n.__e=void 0}function B(n,l,u){return this.constructor(n,u)}function D(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=[],j(t,u=(!r&&i||t).__k=g(k,null,[u]),o||p,p,t.namespaceURI,!r&&i?[i]:o?null:t.firstChild?preact_module_n.call(t.childNodes):null,e,!r&&i?i:o?o.__e:t.firstChild,r,f),z(e,u,f)}function E(n,l){D(n,l,E)}function G(l,u,t){var i,r,o,e,f=w({},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]=void 0===u[o]&&void 0!==e?e[o]:u[o];return arguments.length>2&&(f.children=arguments.length>3?preact_module_n.call(arguments,2):t),m(l.type,f,i||l.key,r||l.ref,null)}function J(n,l){var u={__c:l="__cC"+h++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l]=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 u.Provider.__=u.Consumer.contextType=u}preact_module_n=v.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}},preact_module_u=0,preact_module_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=w({},this.state),"function"==typeof n&&(n=n(w({},u),this.props)),n&&w(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,preact_module_i=[],preact_module_o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,preact_module_e=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,preact_module_f=/(PointerCapture)$|Capture$/i,preact_module_c=0,s=O(!1),a=O(!0),h=0;
|
|
2191
|
+
var preact_module_n,preact_module_l,preact_module_u,preact_module_t,preact_module_i,preact_module_r,preact_module_o,preact_module_e,f,preact_module_c,s,a,h,p={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function w(n,l){for(var u in l)n[u]=l[u];return n}function _(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function g(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?preact_module_n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===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?++preact_module_u:o,__i:-1,__u:0};return null==o&&null!=preact_module_l.vnode&&preact_module_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 C(n,l){if(null==l)return n.__?C(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?C(n):null}function S(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 S(n)}}function M(n){(!n.__d&&(n.__d=!0)&&preact_module_i.push(n)&&!P.__r++||preact_module_r!==preact_module_l.debounceRendering)&&((preact_module_r=preact_module_l.debounceRendering)||preact_module_o)(P)}function P(){var n,u,t,r,o,f,c,s;for(preact_module_i.sort(preact_module_e);n=preact_module_i.shift();)n.__d&&(u=preact_module_i.length,r=void 0,f=(o=(t=n).__v).__e,c=[],s=[],t.__P&&((r=w({},o)).__v=o.__v+1,preact_module_l.vnode&&preact_module_l.vnode(r),j(t.__P,r,o,t.__n,t.__P.namespaceURI,32&o.__u?[f]:null,c,null==f?C(o):f,!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,z(c,r,s),r.__e!=f&&S(r)),preact_module_i.length>u&&preact_module_i.sort(preact_module_e));P.__r=0}function $(n,l,u,t,i,r,o,e,f,c,s){var a,h,y,d,w,_,g=t&&t.__k||v,m=l.length;for(f=I(u,l,g,f,m),a=0;a<m;a++)null!=(y=u.__k[a])&&(h=-1===y.__i?p:g[y.__i]||p,y.__i=a,_=j(n,y,h,i,r,o,e,f,c,s),d=y.__e,y.ref&&h.ref!=y.ref&&(h.ref&&V(h.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),4&y.__u||h.__k===y.__k?f=A(y,f,n):"function"==typeof y.type&&void 0!==_?f=_:d&&(f=d.nextSibling),y.__u&=-7);return u.__e=w,f}function I(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):d(o)?m(k,{children:o},null,null,null):void 0===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&&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=C(e)),q(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=C(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||(d(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||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||y.test(l)?u:u+"px"}function F(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=preact_module_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 O(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=preact_module_c++;else if(u.t<t.u)return;return t(preact_module_l.event?preact_module_l.event(u):u)}}}function j(n,u,t,i,r,o,e,f,c,s){var a,h,p,v,y,g,m,b,C,S,M,P,I,A,H,L,T,F=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(a=preact_module_l.__b)&&a(u);n:if("function"==typeof F)try{if(b=u.props,C="prototype"in F&&F.prototype.render,S=(a=F.contextType)&&i[a.__c],M=a?S?S.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(C?u.__c=h=new F(b,M):(u.__c=h=new x(b,M),h.constructor=F,h.render=B),S&&S.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),C&&null==h.__s&&(h.__s=h.state),C&&null!=F.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=w({},h.__s)),w(h.__s,F.getDerivedStateFromProps(b,h.__s))),v=h.props,y=h.state,h.__v=u,p)C&&null==F.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),C&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(C&&null==F.getDerivedStateFromProps&&b!==v&&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)}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),C&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,g)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,I=preact_module_l.__r,A=0,C){for(h.state=h.__s,h.__d=!1,I&&I(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,I&&I(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=w(w({},i),h.getChildContext())),C&&!p&&null!=h.getSnapshotBeforeUpdate&&(g=h.getSnapshotBeforeUpdate(v,y)),f=$(n,d(L=null!=a&&a.type===k&&null==a.key?a.props.children:a)?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--;)_(o[T]);else u.__e=t.__e,u.__k=t.__k;preact_module_l.__e(n,u,t)}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=N(t.__e,u,t,i,r,o,e,c,s);return(a=preact_module_l.diffed)&&a(u),128&u.__u?void 0:f}function z(n,u,t){for(var i=0;i<t.length;i++)V(t[i],t[++i],t[++i]);preact_module_l.__c&&preact_module_l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){preact_module_l.__e(n,u.__v)}})}function N(u,t,i,r,o,e,f,c,s){var a,h,v,y,w,g,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((w=e[a])&&"setAttribute"in w==!!x&&(x?w.localName==x:3==w.nodeType)){u=w,e[a]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(preact_module_l.__m&&preact_module_l.__m(t,e),c=!1),e=null}if(null===x)b===k||c&&u.data===k||(u.data=k);else{if(e=e&&preact_module_n.call(u.childNodes),b=i.props||p,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(w=u.attributes[a]).name]=w.value;for(a in b)if(w=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)v=w;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;F(u,a,null,w,o)}for(a in k)w=k[a],"children"==a?y=w:"dangerouslySetInnerHTML"==a?h=w:"value"==a?g=w:"checked"==a?m=w:c&&"function"!=typeof w||b[a]===w||F(u,a,w,b[a],o);if(h)c||v&&(h.__html===v.__html||h.__html===u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(v&&(u.innerHTML=""),$(u,d(y)?y:[y],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&C(i,0),c,s),null!=e)for(a=e.length;a--;)_(e[a]);c||(a="value","progress"==x&&null==g?u.removeAttribute("value"):void 0!==g&&(g!==u[a]||"progress"==x&&!g||"option"==x&&g!==b[a])&&F(u,a,g,b[a],o),a="checked",void 0!==m&&m!==u[a]&&F(u,a,m,b[a],o))}return u}function V(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){preact_module_l.__e(n,t)}}function q(n,u,t){var i,r;if(preact_module_l.unmount&&preact_module_l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||V(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){preact_module_l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&q(i[r],u,t||"function"!=typeof n.type);t||_(n.__e),n.__c=n.__=n.__e=void 0}function B(n,l,u){return this.constructor(n,u)}function D(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),preact_module_l.__&&preact_module_l.__(u,t),o=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],f=[],j(t,u=(!r&&i||t).__k=g(k,null,[u]),o||p,p,t.namespaceURI,!r&&i?[i]:o?null:t.firstChild?preact_module_n.call(t.childNodes):null,e,!r&&i?i:o?o.__e:t.firstChild,r,f),z(e,u,f)}function E(n,l){D(n,l,E)}function G(l,u,t){var i,r,o,e,f=w({},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]=void 0===u[o]&&void 0!==e?e[o]:u[o];return arguments.length>2&&(f.children=arguments.length>3?preact_module_n.call(arguments,2):t),m(l.type,f,i||l.key,r||l.ref,null)}function J(n,l){var u={__c:l="__cC"+h++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l]=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 u.Provider.__=u.Consumer.contextType=u}preact_module_n=v.slice,preact_module_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}},preact_module_u=0,preact_module_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=w({},this.state),"function"==typeof n&&(n=n(w({},u),this.props)),n&&w(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,preact_module_i=[],preact_module_o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,preact_module_e=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,f=/(PointerCapture)$|Capture$/i,preact_module_c=0,s=O(!1),a=O(!0),h=0;
|
|
2192
2192
|
//# sourceMappingURL=preact.module.js.map
|
|
2193
2193
|
|
|
2194
2194
|
// CONCATENATED MODULE: ./node_modules/preact/hooks/dist/hooks.module.js
|
|
2195
|
-
var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0,hooks_module_f=[],hooks_module_c=
|
|
2195
|
+
var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0,hooks_module_f=[],hooks_module_c=preact_module_l,hooks_module_e=hooks_module_c.__b,hooks_module_a=hooks_module_c.__r,hooks_module_v=hooks_module_c.diffed,hooks_module_l=hooks_module_c.__c,hooks_module_m=hooks_module_c.unmount,hooks_module_s=hooks_module_c.__;function hooks_module_d(n,t){hooks_module_c.__h&&hooks_module_c.__h(hooks_module_r,n,hooks_module_o||t),hooks_module_o=0;var u=hooks_module_r.__H||(hooks_module_r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function hooks_module_h(n){return hooks_module_o=1,hooks_module_p(hooks_module_D,n)}function hooks_module_p(n,u,i){var o=hooks_module_d(hooks_module_t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):hooks_module_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=hooks_module_r,!hooks_module_r.u)){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};hooks_module_r.u=!0;var c=hooks_module_r.shouldComponentUpdate,e=hooks_module_r.componentWillUpdate;hooks_module_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)},hooks_module_r.shouldComponentUpdate=f}return o.__N||o.__}function hooks_module_y(n,u){var i=hooks_module_d(hooks_module_t++,3);!hooks_module_c.__s&&hooks_module_C(i.__H,u)&&(i.__=n,i.i=u,hooks_module_r.__H.__h.push(i))}function hooks_module_(n,u){var i=hooks_module_d(hooks_module_t++,4);!hooks_module_c.__s&&hooks_module_C(i.__H,u)&&(i.__=n,i.i=u,hooks_module_r.__h.push(i))}function hooks_module_A(n){return hooks_module_o=5,hooks_module_T(function(){return{current:n}},[])}function hooks_module_F(n,t,r){hooks_module_o=6,hooks_module_(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))}function hooks_module_T(n,r){var u=hooks_module_d(hooks_module_t++,7);return hooks_module_C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function hooks_module_q(n,t){return hooks_module_o=8,hooks_module_T(function(){return n},t)}function hooks_module_x(n){var u=hooks_module_r.context[n.__c],i=hooks_module_d(hooks_module_t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(hooks_module_r)),u.props.value):n.__}function hooks_module_P(n,t){hooks_module_c.useDebugValue&&hooks_module_c.useDebugValue(t?t(n):n)}function hooks_module_b(n){var u=hooks_module_d(hooks_module_t++,10),i=hooks_module_h();return u.__=n,hooks_module_r.componentDidCatch||(hooks_module_r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function hooks_module_g(){var n=hooks_module_d(hooks_module_t++,11);if(!n.__){for(var u=hooks_module_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 hooks_module_j(){for(var n;n=hooks_module_f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(hooks_module_z),n.__H.__h.forEach(hooks_module_B),n.__H.__h=[]}catch(t){n.__H.__h=[],hooks_module_c.__e(t,n.__v)}}hooks_module_c.__b=function(n){hooks_module_r=null,hooks_module_e&&hooks_module_e(n)},hooks_module_c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),hooks_module_s&&hooks_module_s(n,t)},hooks_module_c.__r=function(n){hooks_module_a&&hooks_module_a(n),hooks_module_t=0;var i=(hooks_module_r=n.__c).__H;i&&(hooks_module_u===hooks_module_r?(i.__h=[],hooks_module_r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(i.__h.forEach(hooks_module_z),i.__h.forEach(hooks_module_B),i.__h=[],hooks_module_t=0)),hooks_module_u=hooks_module_r},hooks_module_c.diffed=function(n){hooks_module_v&&hooks_module_v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==hooks_module_f.push(t)&&hooks_module_i===hooks_module_c.requestAnimationFrame||((hooks_module_i=hooks_module_c.requestAnimationFrame)||hooks_module_w)(hooks_module_j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),hooks_module_u=hooks_module_r=null},hooks_module_c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(hooks_module_z),n.__h=n.__h.filter(function(n){return!n.__||hooks_module_B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],hooks_module_c.__e(r,n.__v)}}),hooks_module_l&&hooks_module_l(n,t)},hooks_module_c.unmount=function(n){hooks_module_m&&hooks_module_m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{hooks_module_z(n)}catch(n){t=n}}),r.__H=void 0,t&&hooks_module_c.__e(t,r.__v))};var hooks_module_k="function"==typeof requestAnimationFrame;function hooks_module_w(n){var t,r=function(){clearTimeout(u),hooks_module_k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);hooks_module_k&&(t=requestAnimationFrame(r))}function hooks_module_z(n){var t=hooks_module_r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),hooks_module_r=t}function hooks_module_B(n){var t=hooks_module_r;n.__c=n.__(),hooks_module_r=t}function hooks_module_C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function hooks_module_D(n,t){return"function"==typeof t?t(n):t}
|
|
2196
2196
|
//# sourceMappingURL=hooks.module.js.map
|
|
2197
2197
|
|
|
2198
2198
|
// CONCATENATED MODULE: ./node_modules/preact/compat/dist/compat.module.js
|
|
2199
|
-
function compat_module_g(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 compat_module_E(n,t){var e=t(),r=hooks_module_h({t:{__:e,u:t}}),u=r[0].t,o=r[1];return hooks_module_(function(){u.__=e,u.u=t,compat_module_C(u)&&o({t:u})},[n,e,t]),hooks_module_y(function(){return compat_module_C(u)&&o({t:u}),n(function(){compat_module_C(u)&&o({t:u})})},[n]),e}function compat_module_C(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 compat_module_x(n){n()}function R(n){return n}function compat_module_w(){return[!1,compat_module_x]}var compat_module_k=hooks_module_;function compat_module_I(n,t){this.props=n,this.context=t}function compat_module_N(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:compat_module_g(this.props,n)}function u(e){return this.shouldComponentUpdate=r,g(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(compat_module_I.prototype=new x).isPureReactComponent=!0,compat_module_I.prototype.shouldComponentUpdate=function(n,t){return compat_module_g(this.props,n)||compat_module_g(this.state,t)};var compat_module_M=l.__b;l.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),compat_module_M&&compat_module_M(n)};var compat_module_T="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function compat_module_A(n){function t(t){if(!("ref"in t))return n(t,null);var e=t.ref;delete t.ref;var r=n(t,e);return t.ref=e,r}return t.$$typeof=compat_module_T,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var compat_module_D=function(n,t){return null==n?null:L(L(n).map(t))},compat_module_L={map:compat_module_D,forEach:compat_module_D,count:function(n){return n?L(n).length:0},only:function(n){var t=L(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:L},compat_module_O=l.__e;l.__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);compat_module_O(n,t,e,r)};var compat_module_F=l.unmount;function U(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=function(n,t){for(var e in t)n[e]=t[e];return n}({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)})),n}function compat_module_V(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return compat_module_V(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 W(){this.__u=0,this.o=null,this.__b=null}function compat_module_P(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function compat_module_j(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 g(r,o)}return o.displayName="Lazy",o.__f=!0,o}function compat_module_z(){this.i=null,this.l=null}l.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),compat_module_F&&compat_module_F(n)},(W.prototype=new x).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=compat_module_P(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c())};e.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=compat_module_V(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)},W.prototype.componentWillUnmount=function(){this.o=[]},W.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]=U(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&g(k,null,n.fallback);return i&&(i.__u&=-33),[g(k,null,e.__a?null:n.children),i]};var compat_module_B=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 compat_module_H(n){return this.getChildContext=function(){return n.context},n.children}function Z(n){var e=this,r=n.h;e.componentWillUnmount=function(){D(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),e.v||(e.h=r,e.v={nodeType:1,parentNode:r,childNodes:[],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)}}),D(g(compat_module_H,{context:e.context},n.__v),e.v)}function Y(n,e){var r=g(Z,{__v:n,h:e});return r.containerInfo=e,r}(compat_module_z.prototype=new x).__a=function(n){var t=this,e=compat_module_P(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),compat_module_B(t,n,r)):u()};e?e(o):o()}},compat_module_z.prototype.render=function(n){this.i=null,this.l=new Map;var t=L(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},compat_module_z.prototype.componentDidUpdate=compat_module_z.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){compat_module_B(n,e,t)})};var compat_module_$="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,compat_module_q=/^(?: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]/,compat_module_G=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,compat_module_J=/[A-Z0-9]/g,K="undefined"!=typeof document,Q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function X(n,t,e){return null==t.__k&&(t.textContent=""),D(n,t),"function"==typeof e&&e(),n?n.__c:null}function nn(n,t,e){return E(n,t),"function"==typeof e&&e(),n?n.__c:null}x.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var tn=l.event;function en(){}function rn(){return this.cancelBubble}function un(){return this.defaultPrevented}l.event=function(n){return tn&&(n=tn(n)),n.persist=en,n.isPropagationStopped=rn,n.isDefaultPrevented=un,n.nativeEvent=n};var on,cn={enumerable:!1,configurable:!0,get:function(){return this.class}},fn=l.vnode;l.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 c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||K&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var f=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===f&&"no"===c?c=!1:"o"===f[0]&&"n"===f[1]?"ondoubleclick"===f?i="ondblclick":"onchange"!==f||"input"!==e&&"textarea"!==e||Q(t.type)?"onfocus"===f?i="onfocusin":"onblur"===f?i="onfocusout":compat_module_G.test(i)&&(i=f):f=i="oninput":o&&compat_module_q.test(i)?i=i.replace(compat_module_J,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===f&&u[i=f]&&(i="oninputCapture"),u[i]=c}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=L(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=L(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=compat_module_$,fn&&fn(n)};var ln=l.__r;l.__r=function(n){ln&&ln(n),on=n.__c};var an=l.diffed;l.diffed=function(n){an&&an(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),on=null};var sn={ReactCurrentDispatcher:{current:{readContext:function(n){return on.__n[n.__c].props.value},useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,useDeferredValue:R,useEffect:hooks_module_y,useId:hooks_module_g,useImperativeHandle:hooks_module_F,useInsertionEffect:compat_module_k,useLayoutEffect:hooks_module_,useMemo:hooks_module_T,useReducer:hooks_module_p,useRef:hooks_module_A,useState:hooks_module_h,useSyncExternalStore:compat_module_E,useTransition:compat_module_w}}},hn="18.3.1";function vn(n){return g.bind(null,n)}function dn(n){return!!n&&n.$$typeof===compat_module_$}function pn(n){return dn(n)&&n.type===k}function mn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function yn(n){return dn(n)?G.apply(null,arguments):n}function _n(n){return!!n.__k&&(D(null,n),!0)}function bn(n){return n&&(n.base||1===n.nodeType&&n)||null}var Sn=function(n,t){return n(t)},gn=function(n,t){return n(t)},En=k,Cn=dn,xn={useState:hooks_module_h,useId:hooks_module_g,useReducer:hooks_module_p,useEffect:hooks_module_y,useLayoutEffect:hooks_module_,useInsertionEffect:compat_module_k,useTransition:compat_module_w,useDeferredValue:R,useSyncExternalStore:compat_module_E,startTransition:compat_module_x,useRef:hooks_module_A,useImperativeHandle:hooks_module_F,useMemo:hooks_module_T,useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,version:"18.3.1",Children:compat_module_L,render:X,hydrate:nn,unmountComponentAtNode:_n,createPortal:Y,createElement:g,createContext:J,createFactory:vn,cloneElement:yn,createRef:b,Fragment:k,isValidElement:dn,isElement:Cn,isFragment:pn,isMemo:mn,findDOMNode:bn,Component:x,PureComponent:compat_module_I,memo:compat_module_N,forwardRef:compat_module_A,flushSync:gn,unstable_batchedUpdates:Sn,StrictMode:En,Suspense:W,SuspenseList:compat_module_z,lazy:compat_module_j,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:sn};
|
|
2199
|
+
function compat_module_g(n,t){for(var e in t)n[e]=t[e];return n}function compat_module_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 compat_module_C(n,t){var e=t(),r=hooks_module_h({t:{__:e,u:t}}),u=r[0].t,o=r[1];return hooks_module_(function(){u.__=e,u.u=t,compat_module_x(u)&&o({t:u})},[n,e,t]),hooks_module_y(function(){return compat_module_x(u)&&o({t:u}),n(function(){compat_module_x(u)&&o({t:u})})},[n]),e}function compat_module_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 compat_module_w(n){return n}function compat_module_k(){return[!1,R]}var compat_module_I=hooks_module_;function compat_module_N(n,t){this.props=n,this.context=t}function compat_module_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:compat_module_E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,g(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(compat_module_N.prototype=new x).isPureReactComponent=!0,compat_module_N.prototype.shouldComponentUpdate=function(n,t){return compat_module_E(this.props,n)||compat_module_E(this.state,t)};var compat_module_T=preact_module_l.__b;preact_module_l.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),compat_module_T&&compat_module_T(n)};var compat_module_A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function compat_module_D(n){function t(t){var e=compat_module_g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=compat_module_A,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var compat_module_L=function(n,t){return null==n?null:H(H(n).map(t))},compat_module_O={map:compat_module_L,forEach:compat_module_L,count:function(n){return n?H(n).length:0},only:function(n){var t=H(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:H},compat_module_F=preact_module_l.__e;preact_module_l.__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);compat_module_F(n,t,e,r)};var U=preact_module_l.unmount;function compat_module_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=compat_module_g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return compat_module_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 compat_module_P(){this.__u=0,this.o=null,this.__b=null}function compat_module_j(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function compat_module_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 g(r,o)}return o.displayName="Lazy",o.__f=!0,o}function compat_module_B(){this.i=null,this.l=null}preact_module_l.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(compat_module_P.prototype=new x).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=compat_module_j(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c())};e.__R=i;var c=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)},compat_module_P.prototype.componentWillUnmount=function(){this.o=[]},compat_module_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]=compat_module_V(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&g(k,null,n.fallback);return i&&(i.__u&=-33),[g(k,null,e.__a?null:n.children),i]};var compat_module_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;e.componentWillUnmount=function(){D(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),e.v||(e.h=r,e.v={nodeType:1,parentNode:r,childNodes:[],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)}}),D(g(Z,{context:e.context},n.__v),e.v)}function compat_module_$(n,e){var r=g(Y,{__v:n,h:e});return r.containerInfo=e,r}(compat_module_B.prototype=new x).__a=function(n){var t=this,e=compat_module_j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),compat_module_H(t,n,r)):u()};e?e(o):o()}},compat_module_B.prototype.render=function(n){this.i=null,this.l=new Map;var t=H(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},compat_module_B.prototype.componentDidUpdate=compat_module_B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){compat_module_H(n,e,t)})};var compat_module_q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,compat_module_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]/,compat_module_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=""),D(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return E(n,t),"function"==typeof e&&e(),n?n.__c:null}x.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x.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_module_l.event;function rn(){}function un(){return this.cancelBubble}function on(){return this.defaultPrevented}preact_module_l.event=function(n){return en&&(n=en(n)),n.persist=rn,n.isPropagationStopped=un,n.isDefaultPrevented=on,n.nativeEvent=n};var cn,ln={enumerable:!1,configurable:!0,get:function(){return this.class}},fn=preact_module_l.vnode;preact_module_l.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 c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||Q&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===l&&"no"===c?c=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||X(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":compat_module_J.test(i)&&(i=l):l=i="oninput":o&&compat_module_G.test(i)?i=i.replace(K,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===l&&u[i=l]&&(i="oninputCapture"),u[i]=c}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=H(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=H(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",ln)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=compat_module_q,fn&&fn(n)};var an=preact_module_l.__r;preact_module_l.__r=function(n){an&&an(n),cn=n.__c};var sn=preact_module_l.diffed;preact_module_l.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),cn=null};var hn={ReactCurrentDispatcher:{current:{readContext:function(n){return cn.__n[n.__c].props.value},useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,useDeferredValue:compat_module_w,useEffect:hooks_module_y,useId:hooks_module_g,useImperativeHandle:hooks_module_F,useInsertionEffect:compat_module_I,useLayoutEffect:hooks_module_,useMemo:hooks_module_T,useReducer:hooks_module_p,useRef:hooks_module_A,useState:hooks_module_h,useSyncExternalStore:compat_module_C,useTransition:compat_module_k}}},vn="18.3.1";function dn(n){return g.bind(null,n)}function pn(n){return!!n&&n.$$typeof===compat_module_q}function mn(n){return pn(n)&&n.type===k}function yn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function _n(n){return pn(n)?G.apply(null,arguments):n}function bn(n){return!!n.__k&&(D(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=k,xn=pn,Rn={useState:hooks_module_h,useId:hooks_module_g,useReducer:hooks_module_p,useEffect:hooks_module_y,useLayoutEffect:hooks_module_,useInsertionEffect:compat_module_I,useTransition:compat_module_k,useDeferredValue:compat_module_w,useSyncExternalStore:compat_module_C,startTransition:R,useRef:hooks_module_A,useImperativeHandle:hooks_module_F,useMemo:hooks_module_T,useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,version:"18.3.1",Children:compat_module_O,render:nn,hydrate:tn,unmountComponentAtNode:bn,createPortal:compat_module_$,createElement:g,createContext:J,createFactory:dn,cloneElement:_n,createRef:b,Fragment:k,isValidElement:pn,isElement:xn,isFragment:mn,isMemo:yn,findDOMNode:Sn,Component:x,PureComponent:compat_module_N,memo:compat_module_M,forwardRef:compat_module_D,flushSync:En,unstable_batchedUpdates:gn,StrictMode:Cn,Suspense:compat_module_P,SuspenseList:compat_module_B,lazy:compat_module_z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hn};
|
|
2200
2200
|
//# sourceMappingURL=compat.module.js.map
|
|
2201
2201
|
|
|
2202
2202
|
// EXTERNAL MODULE: external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"}
|
|
@@ -2777,7 +2777,7 @@ var element_SurveyRowElement = /** @class */ (function (_super) {
|
|
|
2777
2777
|
if (!this.row.isNeedRender) {
|
|
2778
2778
|
return ReactElementFactory.Instance.createElement(element.skeletonComponentName, { key: element.name + index, element: element, css: this.css, });
|
|
2779
2779
|
}
|
|
2780
|
-
var elementType = element.
|
|
2780
|
+
var elementType = element.getTemplate();
|
|
2781
2781
|
if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {
|
|
2782
2782
|
elementType = "question";
|
|
2783
2783
|
}
|
|
@@ -3067,7 +3067,7 @@ var svg_icon_SvgIcon = /** @class */ (function (_super) {
|
|
|
3067
3067
|
svg_icon_extends(SvgIcon, _super);
|
|
3068
3068
|
function SvgIcon(props) {
|
|
3069
3069
|
var _this = _super.call(this, props) || this;
|
|
3070
|
-
_this.svgIconRef =
|
|
3070
|
+
_this.svgIconRef = Rn.createRef();
|
|
3071
3071
|
return _this;
|
|
3072
3072
|
}
|
|
3073
3073
|
SvgIcon.prototype.updateSvg = function () {
|
|
@@ -3083,18 +3083,18 @@ var svg_icon_SvgIcon = /** @class */ (function (_super) {
|
|
|
3083
3083
|
className += " " + this.props.className;
|
|
3084
3084
|
}
|
|
3085
3085
|
return (this.props.iconName ?
|
|
3086
|
-
|
|
3087
|
-
|
|
3086
|
+
Rn.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "img" },
|
|
3087
|
+
Rn.createElement("use", null))
|
|
3088
3088
|
: null);
|
|
3089
3089
|
};
|
|
3090
3090
|
SvgIcon.prototype.componentDidMount = function () {
|
|
3091
3091
|
this.updateSvg();
|
|
3092
3092
|
};
|
|
3093
3093
|
return SvgIcon;
|
|
3094
|
-
}(
|
|
3094
|
+
}(Rn.Component));
|
|
3095
3095
|
|
|
3096
3096
|
ReactElementFactory.Instance.registerElement("sv-svg-icon", function (props) {
|
|
3097
|
-
return
|
|
3097
|
+
return Rn.createElement(svg_icon_SvgIcon, props);
|
|
3098
3098
|
});
|
|
3099
3099
|
|
|
3100
3100
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/action-bar/action-bar-separator.tsx
|
|
@@ -3122,13 +3122,13 @@ var action_bar_separator_SurveyActionBarSeparator = /** @class */ (function (_su
|
|
|
3122
3122
|
}
|
|
3123
3123
|
SurveyActionBarSeparator.prototype.render = function () {
|
|
3124
3124
|
var className = "sv-action-bar-separator " + this.props.cssClasses;
|
|
3125
|
-
return
|
|
3125
|
+
return Rn.createElement("div", { className: className });
|
|
3126
3126
|
};
|
|
3127
3127
|
return SurveyActionBarSeparator;
|
|
3128
|
-
}(
|
|
3128
|
+
}(Rn.Component));
|
|
3129
3129
|
|
|
3130
3130
|
ReactElementFactory.Instance.registerElement("sv-action-bar-separator", function (props) {
|
|
3131
|
-
return
|
|
3131
|
+
return Rn.createElement(action_bar_separator_SurveyActionBarSeparator, props);
|
|
3132
3132
|
});
|
|
3133
3133
|
|
|
3134
3134
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/action-bar/action-bar-item.tsx
|
|
@@ -3171,12 +3171,12 @@ var action_bar_item_SurveyAction = /** @class */ (function (_super) {
|
|
|
3171
3171
|
SurveyAction.prototype.renderElement = function () {
|
|
3172
3172
|
//refactor
|
|
3173
3173
|
var itemClass = this.item.getActionRootCss();
|
|
3174
|
-
var separator = this.item.needSeparator ? (
|
|
3174
|
+
var separator = this.item.needSeparator ? (Rn.createElement(action_bar_separator_SurveyActionBarSeparator, null)) : null;
|
|
3175
3175
|
var itemComponent = ReactElementFactory.Instance.createElement(this.item.component || "sv-action-bar-item", {
|
|
3176
3176
|
item: this.item,
|
|
3177
3177
|
});
|
|
3178
|
-
return (
|
|
3179
|
-
|
|
3178
|
+
return (Rn.createElement("div", { className: itemClass, id: this.item.id },
|
|
3179
|
+
Rn.createElement("div", { className: "sv-action__content" },
|
|
3180
3180
|
separator,
|
|
3181
3181
|
itemComponent)));
|
|
3182
3182
|
};
|
|
@@ -3199,18 +3199,18 @@ var action_bar_item_SurveyActionBarItem = /** @class */ (function (_super) {
|
|
|
3199
3199
|
return this.item;
|
|
3200
3200
|
};
|
|
3201
3201
|
SurveyActionBarItem.prototype.renderElement = function () {
|
|
3202
|
-
return
|
|
3202
|
+
return Rn.createElement(Rn.Fragment, null, this.renderInnerButton());
|
|
3203
3203
|
};
|
|
3204
3204
|
SurveyActionBarItem.prototype.renderText = function () {
|
|
3205
3205
|
if (!this.item.hasTitle)
|
|
3206
3206
|
return null;
|
|
3207
3207
|
var titleClass = this.item.getActionBarItemTitleCss();
|
|
3208
|
-
return
|
|
3208
|
+
return Rn.createElement("span", { className: titleClass }, this.item.title);
|
|
3209
3209
|
};
|
|
3210
3210
|
SurveyActionBarItem.prototype.renderButtonContent = function () {
|
|
3211
3211
|
var text = this.renderText();
|
|
3212
|
-
var svgIcon = !!this.item.iconName ? (
|
|
3213
|
-
return (
|
|
3212
|
+
var svgIcon = !!this.item.iconName ? (Rn.createElement(svg_icon_SvgIcon, { className: this.item.cssClasses.itemIcon, size: this.item.iconSize, iconName: this.item.iconName, title: this.item.tooltip || this.item.title })) : null;
|
|
3213
|
+
return (Rn.createElement(Rn.Fragment, null,
|
|
3214
3214
|
svgIcon,
|
|
3215
3215
|
text));
|
|
3216
3216
|
};
|
|
@@ -3220,14 +3220,14 @@ var action_bar_item_SurveyActionBarItem = /** @class */ (function (_super) {
|
|
|
3220
3220
|
var title = this.item.tooltip || this.item.title;
|
|
3221
3221
|
var buttonContent = this.renderButtonContent();
|
|
3222
3222
|
var tabIndex = this.item.disableTabStop ? -1 : undefined;
|
|
3223
|
-
var button = attachKey2click(
|
|
3223
|
+
var button = attachKey2click(Rn.createElement("button", { className: className, type: "button", disabled: this.item.disabled, onMouseDown: function (args) { return _this.item.doMouseDown(args); }, onFocus: function (args) { return _this.item.doFocus(args); }, onClick: function (args) { return _this.item.doAction(args); }, title: title, tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, role: this.item.ariaRole }, buttonContent), this.item, { processEsc: false });
|
|
3224
3224
|
return button;
|
|
3225
3225
|
};
|
|
3226
3226
|
return SurveyActionBarItem;
|
|
3227
3227
|
}(reactquestion_element_SurveyElementBase));
|
|
3228
3228
|
|
|
3229
3229
|
ReactElementFactory.Instance.registerElement("sv-action-bar-item", function (props) {
|
|
3230
|
-
return
|
|
3230
|
+
return Rn.createElement(action_bar_item_SurveyActionBarItem, props);
|
|
3231
3231
|
});
|
|
3232
3232
|
|
|
3233
3233
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/popup/popup.tsx
|
|
@@ -3255,7 +3255,7 @@ var popup_Popup = /** @class */ (function (_super) {
|
|
|
3255
3255
|
popup_extends(Popup, _super);
|
|
3256
3256
|
function Popup(props) {
|
|
3257
3257
|
var _this = _super.call(this, props) || this;
|
|
3258
|
-
_this.containerRef =
|
|
3258
|
+
_this.containerRef = Rn.createRef();
|
|
3259
3259
|
_this.createModel();
|
|
3260
3260
|
return _this;
|
|
3261
3261
|
}
|
|
@@ -3303,18 +3303,18 @@ var popup_Popup = /** @class */ (function (_super) {
|
|
|
3303
3303
|
this.popup.model = this.model;
|
|
3304
3304
|
var popupContainer;
|
|
3305
3305
|
if (this.model.isModal) {
|
|
3306
|
-
popupContainer =
|
|
3306
|
+
popupContainer = Rn.createElement(popup_PopupContainer, { model: this.popup });
|
|
3307
3307
|
}
|
|
3308
3308
|
else {
|
|
3309
|
-
popupContainer =
|
|
3309
|
+
popupContainer = Rn.createElement(popup_PopupDropdownContainer, { model: this.popup });
|
|
3310
3310
|
}
|
|
3311
|
-
return
|
|
3311
|
+
return Rn.createElement("div", { ref: this.containerRef }, popupContainer);
|
|
3312
3312
|
};
|
|
3313
3313
|
return Popup;
|
|
3314
3314
|
}(reactquestion_element_SurveyElementBase));
|
|
3315
3315
|
|
|
3316
3316
|
ReactElementFactory.Instance.registerElement("sv-popup", function (props) {
|
|
3317
|
-
return
|
|
3317
|
+
return Rn.createElement(popup_Popup, props);
|
|
3318
3318
|
});
|
|
3319
3319
|
var popup_PopupContainer = /** @class */ (function (_super) {
|
|
3320
3320
|
popup_extends(PopupContainer, _super);
|
|
@@ -3350,7 +3350,7 @@ var popup_PopupContainer = /** @class */ (function (_super) {
|
|
|
3350
3350
|
var headerContent = !!popupBaseViewModel.title ? this.renderHeaderContent() : null;
|
|
3351
3351
|
var content = this.renderContent();
|
|
3352
3352
|
var footerContent = popupBaseViewModel.showFooter ? this.renderFooter(this.model) : null;
|
|
3353
|
-
return (
|
|
3353
|
+
return (Rn.createElement("div", { className: "sv-popup__container", style: {
|
|
3354
3354
|
left: popupBaseViewModel.left,
|
|
3355
3355
|
top: popupBaseViewModel.top,
|
|
3356
3356
|
height: popupBaseViewModel.height,
|
|
@@ -3360,24 +3360,24 @@ var popup_PopupContainer = /** @class */ (function (_super) {
|
|
|
3360
3360
|
_this.clickInside(ev);
|
|
3361
3361
|
} },
|
|
3362
3362
|
headerPopup,
|
|
3363
|
-
|
|
3363
|
+
Rn.createElement("div", { className: "sv-popup__body-content" },
|
|
3364
3364
|
headerContent,
|
|
3365
|
-
|
|
3365
|
+
Rn.createElement("div", { className: "sv-popup__scrolling-content" }, content),
|
|
3366
3366
|
footerContent)));
|
|
3367
3367
|
};
|
|
3368
3368
|
PopupContainer.prototype.renderHeaderContent = function () {
|
|
3369
|
-
return
|
|
3369
|
+
return Rn.createElement("div", { className: "sv-popup__body-header" }, this.model.title);
|
|
3370
3370
|
};
|
|
3371
3371
|
PopupContainer.prototype.renderContent = function () {
|
|
3372
3372
|
var contentComponent = ReactElementFactory.Instance.createElement(this.model.contentComponentName, this.model.contentComponentData);
|
|
3373
|
-
return
|
|
3373
|
+
return Rn.createElement("div", { className: "sv-popup__content" }, contentComponent);
|
|
3374
3374
|
};
|
|
3375
3375
|
PopupContainer.prototype.renderHeaderPopup = function (popupModel) {
|
|
3376
3376
|
return null;
|
|
3377
3377
|
};
|
|
3378
3378
|
PopupContainer.prototype.renderFooter = function (popuModel) {
|
|
3379
|
-
return (
|
|
3380
|
-
|
|
3379
|
+
return (Rn.createElement("div", { className: "sv-popup__body-footer" },
|
|
3380
|
+
Rn.createElement(action_bar_SurveyActionBar, { model: popuModel.footerToolbar })));
|
|
3381
3381
|
};
|
|
3382
3382
|
PopupContainer.prototype.render = function () {
|
|
3383
3383
|
var _this = this;
|
|
@@ -3387,7 +3387,7 @@ var popup_PopupContainer = /** @class */ (function (_super) {
|
|
|
3387
3387
|
.append(this.model.styleClass)
|
|
3388
3388
|
.toString();
|
|
3389
3389
|
var style = { display: this.model.isVisible ? "" : "none", };
|
|
3390
|
-
return (
|
|
3390
|
+
return (Rn.createElement("div", { tabIndex: -1, className: className, style: style, onClick: function (e) {
|
|
3391
3391
|
_this.model.clickOutside(e);
|
|
3392
3392
|
}, onKeyDown: this.handleKeydown }, container));
|
|
3393
3393
|
};
|
|
@@ -3409,7 +3409,7 @@ var popup_PopupDropdownContainer = /** @class */ (function (_super) {
|
|
|
3409
3409
|
var popupDropdownModel = popupModel;
|
|
3410
3410
|
if (!popupDropdownModel)
|
|
3411
3411
|
return null;
|
|
3412
|
-
return (
|
|
3412
|
+
return (Rn.createElement("span", { style: {
|
|
3413
3413
|
left: popupDropdownModel.pointerTarget.left,
|
|
3414
3414
|
top: popupDropdownModel.pointerTarget.top,
|
|
3415
3415
|
}, className: "sv-popup__pointer" }));
|
|
@@ -3446,9 +3446,9 @@ var action_bar_item_dropdown_SurveyActionBarItemDropdown = /** @class */ (functi
|
|
|
3446
3446
|
}
|
|
3447
3447
|
SurveyActionBarItemDropdown.prototype.renderInnerButton = function () {
|
|
3448
3448
|
var button = _super.prototype.renderInnerButton.call(this);
|
|
3449
|
-
return (
|
|
3449
|
+
return (Rn.createElement(Rn.Fragment, null,
|
|
3450
3450
|
button,
|
|
3451
|
-
|
|
3451
|
+
Rn.createElement(popup_Popup, { model: this.item.popupModel })));
|
|
3452
3452
|
};
|
|
3453
3453
|
SurveyActionBarItemDropdown.prototype.componentDidMount = function () {
|
|
3454
3454
|
this.viewModel = new external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["ActionDropdownViewModel"](this.item);
|
|
@@ -3461,7 +3461,7 @@ var action_bar_item_dropdown_SurveyActionBarItemDropdown = /** @class */ (functi
|
|
|
3461
3461
|
}(action_bar_item_SurveyActionBarItem));
|
|
3462
3462
|
|
|
3463
3463
|
ReactElementFactory.Instance.registerElement("sv-action-bar-item-dropdown", function (props) {
|
|
3464
|
-
return
|
|
3464
|
+
return Rn.createElement(action_bar_item_dropdown_SurveyActionBarItemDropdown, props);
|
|
3465
3465
|
});
|
|
3466
3466
|
|
|
3467
3467
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/action-bar/action-bar.tsx
|
|
@@ -3490,7 +3490,7 @@ var action_bar_SurveyActionBar = /** @class */ (function (_super) {
|
|
|
3490
3490
|
action_bar_extends(SurveyActionBar, _super);
|
|
3491
3491
|
function SurveyActionBar(props) {
|
|
3492
3492
|
var _this = _super.call(this, props) || this;
|
|
3493
|
-
_this.rootRef =
|
|
3493
|
+
_this.rootRef = Rn.createRef();
|
|
3494
3494
|
return _this;
|
|
3495
3495
|
}
|
|
3496
3496
|
Object.defineProperty(SurveyActionBar.prototype, "handleClick", {
|
|
@@ -3513,7 +3513,7 @@ var action_bar_SurveyActionBar = /** @class */ (function (_super) {
|
|
|
3513
3513
|
return;
|
|
3514
3514
|
var container = this.rootRef.current;
|
|
3515
3515
|
if (!!container) {
|
|
3516
|
-
this.model.initResponsivityManager(container, function (callback) { setTimeout(callback); });
|
|
3516
|
+
this.model.initResponsivityManager(container, function (callback) { setTimeout(callback, 100); });
|
|
3517
3517
|
}
|
|
3518
3518
|
};
|
|
3519
3519
|
SurveyActionBar.prototype.componentWillUnmount = function () {
|
|
@@ -3528,7 +3528,7 @@ var action_bar_SurveyActionBar = /** @class */ (function (_super) {
|
|
|
3528
3528
|
if (!!this.model.hasActions) {
|
|
3529
3529
|
var container = this.rootRef.current;
|
|
3530
3530
|
if (!!container) {
|
|
3531
|
-
this.model.initResponsivityManager(container, function (callback) { setTimeout(callback); });
|
|
3531
|
+
this.model.initResponsivityManager(container, function (callback) { setTimeout(callback, 100); });
|
|
3532
3532
|
}
|
|
3533
3533
|
}
|
|
3534
3534
|
};
|
|
@@ -3539,20 +3539,20 @@ var action_bar_SurveyActionBar = /** @class */ (function (_super) {
|
|
|
3539
3539
|
if (!this.model.hasActions)
|
|
3540
3540
|
return null;
|
|
3541
3541
|
var items = this.renderItems();
|
|
3542
|
-
return (
|
|
3542
|
+
return (Rn.createElement("div", { ref: this.rootRef, className: this.model.getRootCss(), onClick: this.handleClick ? function (event) {
|
|
3543
3543
|
event.stopPropagation();
|
|
3544
3544
|
} : undefined }, items));
|
|
3545
3545
|
};
|
|
3546
3546
|
SurveyActionBar.prototype.renderItems = function () {
|
|
3547
3547
|
return this.model.renderedActions.map(function (item, itemIndex) {
|
|
3548
|
-
return (
|
|
3548
|
+
return (Rn.createElement(action_bar_item_SurveyAction, { item: item, key: "item" + itemIndex }));
|
|
3549
3549
|
});
|
|
3550
3550
|
};
|
|
3551
3551
|
return SurveyActionBar;
|
|
3552
3552
|
}(reactquestion_element_SurveyElementBase));
|
|
3553
3553
|
|
|
3554
3554
|
ReactElementFactory.Instance.registerElement("sv-action-bar", function (props) {
|
|
3555
|
-
return
|
|
3555
|
+
return Rn.createElement(action_bar_SurveyActionBar, props);
|
|
3556
3556
|
});
|
|
3557
3557
|
|
|
3558
3558
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/title/title-content.tsx
|
|
@@ -3596,11 +3596,11 @@ var title_content_TitleContent = /** @class */ (function (_super) {
|
|
|
3596
3596
|
if (this.element.isTitleRenderedAsString)
|
|
3597
3597
|
return reactquestion_element_SurveyElementBase.renderLocString(this.element.locTitle);
|
|
3598
3598
|
var spans = this.renderTitleSpans(this.element.getTitleOwner(), this.cssClasses);
|
|
3599
|
-
return
|
|
3599
|
+
return Rn.createElement(Rn.Fragment, null, spans);
|
|
3600
3600
|
};
|
|
3601
3601
|
TitleContent.prototype.renderTitleSpans = function (element, cssClasses) {
|
|
3602
3602
|
var getSpaceSpan = function (key) {
|
|
3603
|
-
return (
|
|
3603
|
+
return (Rn.createElement("span", { "data-key": key, key: key }, "\u00A0"));
|
|
3604
3604
|
};
|
|
3605
3605
|
var spans = [];
|
|
3606
3606
|
if (element.isRequireTextOnStart) {
|
|
@@ -3609,7 +3609,7 @@ var title_content_TitleContent = /** @class */ (function (_super) {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
var questionNumber = element.no;
|
|
3611
3611
|
if (questionNumber) {
|
|
3612
|
-
spans.push(
|
|
3612
|
+
spans.push(Rn.createElement("span", { "data-key": "q_num", key: "q_num", className: element.cssTitleNumber, style: { position: "static" }, "aria-hidden": true }, questionNumber));
|
|
3613
3613
|
spans.push(getSpaceSpan("num-sp"));
|
|
3614
3614
|
}
|
|
3615
3615
|
if (element.isRequireTextBeforeTitle) {
|
|
@@ -3624,10 +3624,10 @@ var title_content_TitleContent = /** @class */ (function (_super) {
|
|
|
3624
3624
|
return spans;
|
|
3625
3625
|
};
|
|
3626
3626
|
TitleContent.prototype.renderRequireText = function (element) {
|
|
3627
|
-
return (
|
|
3627
|
+
return (Rn.createElement("span", { "data-key": "req-text", key: "req-text", className: element.cssRequiredText, "aria-hidden": true }, element.requiredText));
|
|
3628
3628
|
};
|
|
3629
3629
|
return TitleContent;
|
|
3630
|
-
}(
|
|
3630
|
+
}(Rn.Component));
|
|
3631
3631
|
|
|
3632
3632
|
|
|
3633
3633
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/title/title-actions.tsx
|
|
@@ -3671,19 +3671,19 @@ var title_actions_TitleActions = /** @class */ (function (_super) {
|
|
|
3671
3671
|
configurable: true
|
|
3672
3672
|
});
|
|
3673
3673
|
TitleActions.prototype.render = function () {
|
|
3674
|
-
var titleContent =
|
|
3674
|
+
var titleContent = Rn.createElement(title_content_TitleContent, { element: this.element, cssClasses: this.cssClasses });
|
|
3675
3675
|
if (!this.element.hasTitleActions)
|
|
3676
3676
|
return titleContent;
|
|
3677
|
-
return (
|
|
3678
|
-
|
|
3679
|
-
|
|
3677
|
+
return (Rn.createElement("div", { className: "sv-title-actions" },
|
|
3678
|
+
Rn.createElement("span", { className: "sv-title-actions__title" }, titleContent),
|
|
3679
|
+
Rn.createElement(action_bar_SurveyActionBar, { model: this.element.getTitleToolbar() })));
|
|
3680
3680
|
};
|
|
3681
3681
|
return TitleActions;
|
|
3682
|
-
}(
|
|
3682
|
+
}(Rn.Component));
|
|
3683
3683
|
|
|
3684
3684
|
external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["RendererFactory"].Instance.registerRenderer("element", "title-actions", "sv-title-actions");
|
|
3685
3685
|
ReactElementFactory.Instance.registerElement("sv-title-actions", function (props) {
|
|
3686
|
-
return
|
|
3686
|
+
return Rn.createElement(title_actions_TitleActions, props);
|
|
3687
3687
|
});
|
|
3688
3688
|
|
|
3689
3689
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/title/title-element.tsx
|
|
@@ -3722,7 +3722,7 @@ var title_element_TitleElement = /** @class */ (function (_super) {
|
|
|
3722
3722
|
if (!this.element.getCssTitleExpandableSvg())
|
|
3723
3723
|
return null;
|
|
3724
3724
|
var iconName = this.element.isExpanded ? "icon-collapse-16x16" : "icon-expand-16x16";
|
|
3725
|
-
return
|
|
3725
|
+
return Rn.createElement(svg_icon_SvgIcon, { className: this.element.getCssTitleExpandableSvg(), iconName: iconName, size: "auto" });
|
|
3726
3726
|
};
|
|
3727
3727
|
TitleElement.prototype.render = function () {
|
|
3728
3728
|
var element = this.element;
|
|
@@ -3730,7 +3730,7 @@ var title_element_TitleElement = /** @class */ (function (_super) {
|
|
|
3730
3730
|
return null;
|
|
3731
3731
|
var ariaLabel = element.titleAriaLabel || undefined;
|
|
3732
3732
|
var titleExpandableSvg = this.renderTitleExpandableSvg();
|
|
3733
|
-
var titleContent = (
|
|
3733
|
+
var titleContent = (Rn.createElement(title_actions_TitleActions, { element: element, cssClasses: element.cssClasses }));
|
|
3734
3734
|
var onClick = undefined;
|
|
3735
3735
|
var onKeyUp = undefined;
|
|
3736
3736
|
if (element.hasTitleEvents) {
|
|
@@ -3739,12 +3739,12 @@ var title_element_TitleElement = /** @class */ (function (_super) {
|
|
|
3739
3739
|
};
|
|
3740
3740
|
}
|
|
3741
3741
|
var CustomTag = element.titleTagName;
|
|
3742
|
-
return (
|
|
3742
|
+
return (Rn.createElement(CustomTag, { className: element.cssTitle, id: element.ariaTitleId, "aria-label": ariaLabel, tabIndex: element.titleTabIndex, "aria-expanded": element.titleAriaExpanded, role: element.titleAriaRole, onClick: onClick, onKeyUp: onKeyUp },
|
|
3743
3743
|
titleExpandableSvg,
|
|
3744
3744
|
titleContent));
|
|
3745
3745
|
};
|
|
3746
3746
|
return TitleElement;
|
|
3747
|
-
}(
|
|
3747
|
+
}(Rn.Component));
|
|
3748
3748
|
|
|
3749
3749
|
|
|
3750
3750
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_factory.tsx
|
|
@@ -3801,13 +3801,13 @@ var character_counter_CharacterCounterComponent = /** @class */ (function (_supe
|
|
|
3801
3801
|
return this.props.counter;
|
|
3802
3802
|
};
|
|
3803
3803
|
CharacterCounterComponent.prototype.renderElement = function () {
|
|
3804
|
-
return (
|
|
3804
|
+
return (Rn.createElement("div", { className: this.props.remainingCharacterCounter }, this.props.counter.remainingCharacterCounter));
|
|
3805
3805
|
};
|
|
3806
3806
|
return CharacterCounterComponent;
|
|
3807
3807
|
}(reactquestion_element_SurveyElementBase));
|
|
3808
3808
|
|
|
3809
3809
|
ReactElementFactory.Instance.registerElement("sv-character-counter", function (props) {
|
|
3810
|
-
return
|
|
3810
|
+
return Rn.createElement(character_counter_CharacterCounterComponent, props);
|
|
3811
3811
|
});
|
|
3812
3812
|
|
|
3813
3813
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/text-area.tsx
|
|
@@ -3834,7 +3834,7 @@ var text_area_TextAreaComponent = /** @class */ (function (_super) {
|
|
|
3834
3834
|
function TextAreaComponent(props) {
|
|
3835
3835
|
var _this = _super.call(this, props) || this;
|
|
3836
3836
|
_this.initialValue = _this.viewModel.getTextValue() || "";
|
|
3837
|
-
_this.textareaRef =
|
|
3837
|
+
_this.textareaRef = Rn.createRef();
|
|
3838
3838
|
return _this;
|
|
3839
3839
|
}
|
|
3840
3840
|
Object.defineProperty(TextAreaComponent.prototype, "viewModel", {
|
|
@@ -3860,13 +3860,13 @@ var text_area_TextAreaComponent = /** @class */ (function (_super) {
|
|
|
3860
3860
|
};
|
|
3861
3861
|
TextAreaComponent.prototype.renderElement = function () {
|
|
3862
3862
|
var _this = this;
|
|
3863
|
-
return (
|
|
3863
|
+
return (Rn.createElement("textarea", { id: this.viewModel.id, className: this.viewModel.className, ref: this.textareaRef, disabled: this.viewModel.isDisabledAttr, readOnly: this.viewModel.isReadOnlyAttr, rows: this.viewModel.rows, cols: this.viewModel.cols, placeholder: this.viewModel.placeholder, maxLength: this.viewModel.maxLength, defaultValue: this.initialValue, onChange: function (event) { _this.viewModel.onTextAreaInput(event); }, onFocus: function (event) { _this.viewModel.onTextAreaFocus(event); }, onBlur: function (event) { _this.viewModel.onTextAreaBlur(event); }, onKeyDown: function (event) { _this.viewModel.onTextAreaKeyDown(event); }, "aria-required": this.viewModel.ariaRequired, "aria-label": this.viewModel.ariaLabel, "aria-labelledby": this.viewModel.ariaLabelledBy, "aria-describedby": this.viewModel.ariaDescribedBy, "aria-invalid": this.viewModel.ariaInvalid, "aria-errormessage": this.viewModel.ariaErrormessage, style: { resize: this.viewModel.question.resizeStyle } }));
|
|
3864
3864
|
};
|
|
3865
3865
|
return TextAreaComponent;
|
|
3866
3866
|
}(reactquestion_element_SurveyElementBase));
|
|
3867
3867
|
|
|
3868
3868
|
ReactElementFactory.Instance.registerElement("sv-text-area", function (props) {
|
|
3869
|
-
return
|
|
3869
|
+
return Rn.createElement(text_area_TextAreaComponent, props);
|
|
3870
3870
|
});
|
|
3871
3871
|
|
|
3872
3872
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_comment.tsx
|
|
@@ -4070,22 +4070,22 @@ var element_header_SurveyElementHeader = /** @class */ (function (_super) {
|
|
|
4070
4070
|
});
|
|
4071
4071
|
SurveyElementHeader.prototype.render = function () {
|
|
4072
4072
|
var element = this.element;
|
|
4073
|
-
var title = element.hasTitle ? (
|
|
4073
|
+
var title = element.hasTitle ? (Rn.createElement(title_element_TitleElement, { element: element })) : null;
|
|
4074
4074
|
var description = element.hasDescriptionUnderTitle
|
|
4075
4075
|
? reactquestion_element_SurveyElementBase.renderQuestionDescription(this.element)
|
|
4076
4076
|
: null;
|
|
4077
|
-
var additionalTitleToolbarElement = element.hasAdditionalTitleToolbar ?
|
|
4077
|
+
var additionalTitleToolbarElement = element.hasAdditionalTitleToolbar ? Rn.createElement(action_bar_SurveyActionBar, { model: element.additionalTitleToolbar }) : null;
|
|
4078
4078
|
var headerStyle = { width: undefined };
|
|
4079
4079
|
if (element instanceof external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["Question"]) {
|
|
4080
4080
|
headerStyle.width = element.titleWidth;
|
|
4081
4081
|
}
|
|
4082
|
-
return (
|
|
4082
|
+
return (Rn.createElement("div", { className: element.cssHeader, onClick: function (e) { return element.clickTitleFunction && element.clickTitleFunction(e.nativeEvent); }, style: headerStyle },
|
|
4083
4083
|
title,
|
|
4084
4084
|
description,
|
|
4085
4085
|
additionalTitleToolbarElement));
|
|
4086
4086
|
};
|
|
4087
4087
|
return SurveyElementHeader;
|
|
4088
|
-
}(
|
|
4088
|
+
}(Rn.Component));
|
|
4089
4089
|
|
|
4090
4090
|
|
|
4091
4091
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion.tsx
|
|
@@ -4574,7 +4574,7 @@ var survey_header_SurveyHeader = /** @class */ (function (_super) {
|
|
|
4574
4574
|
function SurveyHeader(props) {
|
|
4575
4575
|
var _this = _super.call(this, props) || this;
|
|
4576
4576
|
_this.state = { changed: 0 };
|
|
4577
|
-
_this.rootRef =
|
|
4577
|
+
_this.rootRef = Rn.createRef();
|
|
4578
4578
|
return _this;
|
|
4579
4579
|
}
|
|
4580
4580
|
Object.defineProperty(SurveyHeader.prototype, "survey", {
|
|
@@ -4605,9 +4605,9 @@ var survey_header_SurveyHeader = /** @class */ (function (_super) {
|
|
|
4605
4605
|
if (!this.survey.renderedHasTitle)
|
|
4606
4606
|
return null;
|
|
4607
4607
|
var description = reactquestion_element_SurveyElementBase.renderLocString(this.survey.locDescription);
|
|
4608
|
-
return (
|
|
4609
|
-
|
|
4610
|
-
this.survey.renderedHasDescription ?
|
|
4608
|
+
return (Rn.createElement("div", { className: this.css.headerText, style: { maxWidth: this.survey.titleMaxWidth } },
|
|
4609
|
+
Rn.createElement(title_element_TitleElement, { element: this.survey }),
|
|
4610
|
+
this.survey.renderedHasDescription ? Rn.createElement("div", { className: this.css.description }, description) : null));
|
|
4611
4611
|
};
|
|
4612
4612
|
SurveyHeader.prototype.renderLogoImage = function (isRender) {
|
|
4613
4613
|
if (!isRender)
|
|
@@ -4621,17 +4621,17 @@ var survey_header_SurveyHeader = /** @class */ (function (_super) {
|
|
|
4621
4621
|
SurveyHeader.prototype.render = function () {
|
|
4622
4622
|
if (!this.survey.renderedHasHeader)
|
|
4623
4623
|
return null;
|
|
4624
|
-
return (
|
|
4624
|
+
return (Rn.createElement("div", { className: this.css.header, ref: this.rootRef },
|
|
4625
4625
|
this.renderLogoImage(this.survey.isLogoBefore),
|
|
4626
4626
|
this.renderTitle(),
|
|
4627
4627
|
this.renderLogoImage(this.survey.isLogoAfter),
|
|
4628
|
-
|
|
4628
|
+
Rn.createElement("div", { className: this.css.headerClose })));
|
|
4629
4629
|
};
|
|
4630
4630
|
return SurveyHeader;
|
|
4631
|
-
}(
|
|
4631
|
+
}(Rn.Component));
|
|
4632
4632
|
|
|
4633
4633
|
ReactElementFactory.Instance.registerElement("survey-header", function (props) {
|
|
4634
|
-
return
|
|
4634
|
+
return Rn.createElement(survey_header_SurveyHeader, props);
|
|
4635
4635
|
});
|
|
4636
4636
|
|
|
4637
4637
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/brand-info.tsx
|
|
@@ -4657,17 +4657,17 @@ var brand_info_BrandInfo = /** @class */ (function (_super) {
|
|
|
4657
4657
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4658
4658
|
}
|
|
4659
4659
|
BrandInfo.prototype.render = function () {
|
|
4660
|
-
return (
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4660
|
+
return (Rn.createElement("div", { className: "sv-brand-info" },
|
|
4661
|
+
Rn.createElement("a", { className: "sv-brand-info__logo", href: "https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page" },
|
|
4662
|
+
Rn.createElement("img", { src: "https://surveyjs.io/Content/Images/poweredby.svg" })),
|
|
4663
|
+
Rn.createElement("div", { className: "sv-brand-info__text" },
|
|
4664
4664
|
"Try and see how easy it is to ",
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4665
|
+
Rn.createElement("a", { href: "https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey" }, "create a survey")),
|
|
4666
|
+
Rn.createElement("div", { className: "sv-brand-info__terms" },
|
|
4667
|
+
Rn.createElement("a", { href: "https://surveyjs.io/TermsOfUse" }, "Terms of Use & Privacy Statement"))));
|
|
4668
4668
|
};
|
|
4669
4669
|
return BrandInfo;
|
|
4670
|
-
}(
|
|
4670
|
+
}(Rn.Component));
|
|
4671
4671
|
|
|
4672
4672
|
|
|
4673
4673
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/notifier.tsx
|
|
@@ -4709,15 +4709,15 @@ var notifier_NotifierComponent = /** @class */ (function (_super) {
|
|
|
4709
4709
|
if (!this.notifier.isDisplayed)
|
|
4710
4710
|
return null;
|
|
4711
4711
|
var style = { visibility: this.notifier.active ? "visible" : "hidden" };
|
|
4712
|
-
return (
|
|
4713
|
-
|
|
4714
|
-
|
|
4712
|
+
return (Rn.createElement("div", { className: this.notifier.css, style: style, role: "alert", "aria-live": "polite" },
|
|
4713
|
+
Rn.createElement("span", null, this.notifier.message),
|
|
4714
|
+
Rn.createElement(action_bar_SurveyActionBar, { model: this.notifier.actionBar })));
|
|
4715
4715
|
};
|
|
4716
4716
|
return NotifierComponent;
|
|
4717
4717
|
}(reactquestion_element_SurveyElementBase));
|
|
4718
4718
|
|
|
4719
4719
|
ReactElementFactory.Instance.registerElement("sv-notifier", function (props) {
|
|
4720
|
-
return
|
|
4720
|
+
return Rn.createElement(notifier_NotifierComponent, props);
|
|
4721
4721
|
});
|
|
4722
4722
|
|
|
4723
4723
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/components-container.tsx
|
|
@@ -4751,19 +4751,19 @@ var components_container_ComponentsContainer = /** @class */ (function (_super)
|
|
|
4751
4751
|
return null;
|
|
4752
4752
|
}
|
|
4753
4753
|
if (!needRenderWrapper) {
|
|
4754
|
-
return
|
|
4754
|
+
return Rn.createElement(Rn.Fragment, null, components.map(function (component) {
|
|
4755
4755
|
return ReactElementFactory.Instance.createElement(component.component, { survey: _this.props.survey, model: component.data, container: _this.props.container, key: component.id });
|
|
4756
4756
|
}));
|
|
4757
4757
|
}
|
|
4758
|
-
return
|
|
4758
|
+
return Rn.createElement("div", { className: "sv-components-column" + " sv-components-container-" + this.props.container }, components.map(function (component) {
|
|
4759
4759
|
return ReactElementFactory.Instance.createElement(component.component, { survey: _this.props.survey, model: component.data, container: _this.props.container, key: component.id });
|
|
4760
4760
|
}));
|
|
4761
4761
|
};
|
|
4762
4762
|
return ComponentsContainer;
|
|
4763
|
-
}(
|
|
4763
|
+
}(Rn.Component));
|
|
4764
4764
|
|
|
4765
4765
|
ReactElementFactory.Instance.registerElement("sv-components-container", function (props) {
|
|
4766
|
-
return
|
|
4766
|
+
return Rn.createElement(components_container_ComponentsContainer, props);
|
|
4767
4767
|
});
|
|
4768
4768
|
|
|
4769
4769
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/svgbundle.tsx
|
|
@@ -4793,7 +4793,7 @@ var svgbundle_SvgBundleComponent = /** @class */ (function (_super) {
|
|
|
4793
4793
|
_this.containerRef.current.innerHTML = external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["SvgRegistry"].iconsRenderedHtml();
|
|
4794
4794
|
}
|
|
4795
4795
|
};
|
|
4796
|
-
_this.containerRef =
|
|
4796
|
+
_this.containerRef = Rn.createRef();
|
|
4797
4797
|
return _this;
|
|
4798
4798
|
}
|
|
4799
4799
|
SvgBundleComponent.prototype.componentDidMount = function () {
|
|
@@ -4807,10 +4807,10 @@ var svgbundle_SvgBundleComponent = /** @class */ (function (_super) {
|
|
|
4807
4807
|
var svgStyle = {
|
|
4808
4808
|
display: "none"
|
|
4809
4809
|
};
|
|
4810
|
-
return
|
|
4810
|
+
return Rn.createElement("svg", { style: svgStyle, id: "sv-icon-holder-global-container", ref: this.containerRef });
|
|
4811
4811
|
};
|
|
4812
4812
|
return SvgBundleComponent;
|
|
4813
|
-
}(
|
|
4813
|
+
}(Rn.Component));
|
|
4814
4814
|
|
|
4815
4815
|
|
|
4816
4816
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/popup/popup-modal.tsx
|
|
@@ -4882,7 +4882,7 @@ var popup_modal_PopupModal = /** @class */ (function (_super) {
|
|
|
4882
4882
|
PopupModal.prototype.renderElement = function () {
|
|
4883
4883
|
if (!this.model)
|
|
4884
4884
|
return null;
|
|
4885
|
-
return
|
|
4885
|
+
return compat_module_$(Rn.createElement(popup_PopupContainer, { model: this.model }), this.model.container);
|
|
4886
4886
|
};
|
|
4887
4887
|
PopupModal.prototype.showDialog = function (dialogOptions, rootElement) {
|
|
4888
4888
|
var _this = this;
|
|
@@ -5229,10 +5229,10 @@ ReactElementFactory.Instance.registerElement("survey", function (props) {
|
|
|
5229
5229
|
function attachKey2click(element, viewModel, options) {
|
|
5230
5230
|
if (options === void 0) { options = { processEsc: true, disableTabStop: false }; }
|
|
5231
5231
|
if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {
|
|
5232
|
-
return
|
|
5232
|
+
return _n(element, { tabIndex: -1 });
|
|
5233
5233
|
}
|
|
5234
5234
|
options = __assign({}, options);
|
|
5235
|
-
return
|
|
5235
|
+
return _n(element, {
|
|
5236
5236
|
tabIndex: 0,
|
|
5237
5237
|
onKeyUp: function (evt) {
|
|
5238
5238
|
evt.preventDefault();
|
|
@@ -6187,9 +6187,9 @@ var rating_item_RatingItem = /** @class */ (function (_super) {
|
|
|
6187
6187
|
}
|
|
6188
6188
|
RatingItem.prototype.render = function () {
|
|
6189
6189
|
var itemText = this.renderLocString(this.item.locText);
|
|
6190
|
-
return (
|
|
6191
|
-
|
|
6192
|
-
|
|
6190
|
+
return (Rn.createElement("label", { onMouseDown: this.handleOnMouseDown, className: this.question.getItemClassByText(this.item.itemValue, this.item.text) },
|
|
6191
|
+
Rn.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: function () { }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
|
|
6192
|
+
Rn.createElement("span", { className: this.question.cssClasses.itemText, "data-text": this.item.text }, itemText)));
|
|
6193
6193
|
};
|
|
6194
6194
|
RatingItem.prototype.componentDidMount = function () {
|
|
6195
6195
|
_super.prototype.componentDidMount.call(this);
|
|
@@ -6198,7 +6198,7 @@ var rating_item_RatingItem = /** @class */ (function (_super) {
|
|
|
6198
6198
|
}(RatingItemBase));
|
|
6199
6199
|
|
|
6200
6200
|
ReactElementFactory.Instance.registerElement("sv-rating-item", function (props) {
|
|
6201
|
-
return
|
|
6201
|
+
return Rn.createElement(rating_item_RatingItem, props);
|
|
6202
6202
|
});
|
|
6203
6203
|
|
|
6204
6204
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/rating/rating-item-star.tsx
|
|
@@ -6228,16 +6228,16 @@ var rating_item_star_RatingItemStar = /** @class */ (function (_super) {
|
|
|
6228
6228
|
}
|
|
6229
6229
|
RatingItemStar.prototype.render = function () {
|
|
6230
6230
|
var _this = this;
|
|
6231
|
-
return (
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6231
|
+
return (Rn.createElement("label", { onMouseDown: this.handleOnMouseDown, className: this.question.getItemClass(this.item.itemValue), onMouseOver: function (e) { return _this.question.onItemMouseIn(_this.item); }, onMouseOut: function (e) { return _this.question.onItemMouseOut(_this.item); } },
|
|
6232
|
+
Rn.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: function () { }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
|
|
6233
|
+
Rn.createElement(svg_icon_SvgIcon, { className: "sv-star", size: "auto", iconName: this.question.itemStarIcon, title: this.item.text }),
|
|
6234
|
+
Rn.createElement(svg_icon_SvgIcon, { className: "sv-star-2", size: "auto", iconName: this.question.itemStarIconAlt, title: this.item.text })));
|
|
6235
6235
|
};
|
|
6236
6236
|
return RatingItemStar;
|
|
6237
6237
|
}(RatingItemBase));
|
|
6238
6238
|
|
|
6239
6239
|
ReactElementFactory.Instance.registerElement("sv-rating-item-star", function (props) {
|
|
6240
|
-
return
|
|
6240
|
+
return Rn.createElement(rating_item_star_RatingItemStar, props);
|
|
6241
6241
|
});
|
|
6242
6242
|
|
|
6243
6243
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/rating/rating-item-smiley.tsx
|
|
@@ -6267,15 +6267,15 @@ var rating_item_smiley_RatingItemSmiley = /** @class */ (function (_super) {
|
|
|
6267
6267
|
}
|
|
6268
6268
|
RatingItemSmiley.prototype.render = function () {
|
|
6269
6269
|
var _this = this;
|
|
6270
|
-
return (
|
|
6271
|
-
|
|
6272
|
-
|
|
6270
|
+
return (Rn.createElement("label", { onMouseDown: this.handleOnMouseDown, style: this.question.getItemStyle(this.item.itemValue, this.item.highlight), className: this.question.getItemClass(this.item.itemValue), onMouseOver: function (e) { return _this.question.onItemMouseIn(_this.item); }, onMouseOut: function (e) { return _this.question.onItemMouseOut(_this.item); } },
|
|
6271
|
+
Rn.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.questionName, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: function () { }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
|
|
6272
|
+
Rn.createElement(svg_icon_SvgIcon, { size: "auto", iconName: this.question.getItemSmileyIconName(this.item.itemValue), title: this.item.text })));
|
|
6273
6273
|
};
|
|
6274
6274
|
return RatingItemSmiley;
|
|
6275
6275
|
}(RatingItemBase));
|
|
6276
6276
|
|
|
6277
6277
|
ReactElementFactory.Instance.registerElement("sv-rating-item-smiley", function (props) {
|
|
6278
|
-
return
|
|
6278
|
+
return Rn.createElement(rating_item_smiley_RatingItemSmiley, props);
|
|
6279
6279
|
});
|
|
6280
6280
|
|
|
6281
6281
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/rating/rating-dropdown-item.tsx
|
|
@@ -6317,20 +6317,20 @@ var rating_dropdown_item_RatingDropdownItem = /** @class */ (function (_super) {
|
|
|
6317
6317
|
return null;
|
|
6318
6318
|
var item = this.props.item;
|
|
6319
6319
|
var description = this.renderDescription(item);
|
|
6320
|
-
return (
|
|
6321
|
-
|
|
6320
|
+
return (Rn.createElement("div", { className: "sd-rating-dropdown-item" },
|
|
6321
|
+
Rn.createElement("span", { className: "sd-rating-dropdown-item_text" }, item.title),
|
|
6322
6322
|
description));
|
|
6323
6323
|
};
|
|
6324
6324
|
RatingDropdownItem.prototype.renderDescription = function (item) {
|
|
6325
6325
|
if (!item.description)
|
|
6326
6326
|
return null;
|
|
6327
|
-
return (
|
|
6327
|
+
return (Rn.createElement("div", { className: "sd-rating-dropdown-item_description" }, this.renderLocString(item.description, undefined, "locString")));
|
|
6328
6328
|
};
|
|
6329
6329
|
return RatingDropdownItem;
|
|
6330
6330
|
}(reactquestion_element_SurveyElementBase));
|
|
6331
6331
|
|
|
6332
6332
|
ReactElementFactory.Instance.registerElement("sv-rating-dropdown-item", function (props) {
|
|
6333
|
-
return
|
|
6333
|
+
return Rn.createElement(rating_dropdown_item_RatingDropdownItem, props);
|
|
6334
6334
|
});
|
|
6335
6335
|
|
|
6336
6336
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/tagbox-filter.tsx
|
|
@@ -7253,15 +7253,15 @@ var file_choose_button_SurveyFileChooseButton = /** @class */ (function (_super)
|
|
|
7253
7253
|
});
|
|
7254
7254
|
SurveyFileChooseButton.prototype.render = function () {
|
|
7255
7255
|
var _this = this;
|
|
7256
|
-
return attachKey2click(
|
|
7257
|
-
(!!this.question.cssClasses.chooseFileIconId) ?
|
|
7258
|
-
|
|
7256
|
+
return attachKey2click(Rn.createElement("label", { tabIndex: 0, className: this.question.getChooseFileCss(), htmlFor: this.question.inputId, "aria-label": this.question.chooseButtonText, onClick: function (e) { return _this.question.chooseFile(e.nativeEvent); } },
|
|
7257
|
+
(!!this.question.cssClasses.chooseFileIconId) ? Rn.createElement(svg_icon_SvgIcon, { title: this.question.chooseButtonText, iconName: this.question.cssClasses.chooseFileIconId, size: "auto" }) : null,
|
|
7258
|
+
Rn.createElement("span", null, this.question.chooseButtonText)));
|
|
7259
7259
|
};
|
|
7260
7260
|
return SurveyFileChooseButton;
|
|
7261
7261
|
}(ReactSurveyElement));
|
|
7262
7262
|
|
|
7263
7263
|
ReactElementFactory.Instance.registerElement("sv-file-choose-btn", function (props) {
|
|
7264
|
-
return
|
|
7264
|
+
return Rn.createElement(file_choose_button_SurveyFileChooseButton, props);
|
|
7265
7265
|
});
|
|
7266
7266
|
|
|
7267
7267
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_file.tsx
|
|
@@ -7417,22 +7417,22 @@ var file_item_SurveyFileItem = /** @class */ (function (_super) {
|
|
|
7417
7417
|
var _this = this;
|
|
7418
7418
|
if (!className || !val.name)
|
|
7419
7419
|
return null;
|
|
7420
|
-
return (
|
|
7421
|
-
|
|
7420
|
+
return (Rn.createElement("div", { className: className },
|
|
7421
|
+
Rn.createElement("a", { href: val.content, onClick: function (event) {
|
|
7422
7422
|
_this.question.doDownloadFile(event, val);
|
|
7423
7423
|
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
|
7424
7424
|
};
|
|
7425
7425
|
SurveyFileItem.prototype.renderElement = function () {
|
|
7426
7426
|
var _this = this;
|
|
7427
7427
|
var val = this.item;
|
|
7428
|
-
return (
|
|
7428
|
+
return (Rn.createElement("span", { className: this.question.cssClasses.previewItem, onClick: function (event) { return _this.question.doDownloadFileFromContainer(event); } },
|
|
7429
7429
|
this.renderFileSign(this.question.cssClasses.fileSign, val),
|
|
7430
|
-
|
|
7431
|
-
this.question.canPreviewImage(val) ? (
|
|
7432
|
-
val.name && !this.question.isReadOnly ? (
|
|
7433
|
-
|
|
7430
|
+
Rn.createElement("div", { className: this.question.getImageWrapperCss(val) },
|
|
7431
|
+
this.question.canPreviewImage(val) ? (Rn.createElement("img", { src: val.content, style: { height: this.question.imageHeight, width: this.question.imageWidth }, alt: "File preview" })) : (this.question.cssClasses.defaultImage ? (Rn.createElement(svg_icon_SvgIcon, { iconName: this.question.cssClasses.defaultImageIconId, size: "auto", className: this.question.cssClasses.defaultImage })) : null),
|
|
7432
|
+
val.name && !this.question.isReadOnly ? (Rn.createElement("div", { className: this.question.getRemoveButtonCss(), onClick: function (event) { return _this.question.doRemoveFile(val, event); } },
|
|
7433
|
+
Rn.createElement("span", { className: this.question.cssClasses.removeFile }, this.question.removeFileCaption),
|
|
7434
7434
|
(this.question.cssClasses.removeFileSvgIconId) ?
|
|
7435
|
-
(
|
|
7435
|
+
(Rn.createElement(svg_icon_SvgIcon, { title: this.question.removeFileCaption, iconName: this.question.cssClasses.removeFileSvgIconId, size: "auto", className: this.question.cssClasses.removeFileSvg })) : null)) : null),
|
|
7436
7436
|
this.renderFileSign(this.question.cssClasses.fileSignBottom, val)));
|
|
7437
7437
|
};
|
|
7438
7438
|
SurveyFileItem.prototype.canRender = function () {
|
|
@@ -7482,8 +7482,8 @@ var file_page_SurveyFilePage = /** @class */ (function (_super) {
|
|
|
7482
7482
|
});
|
|
7483
7483
|
SurveyFilePage.prototype.renderElement = function () {
|
|
7484
7484
|
var _this = this;
|
|
7485
|
-
var items = this.page.items.map(function (item, index) { return (
|
|
7486
|
-
return (
|
|
7485
|
+
var items = this.page.items.map(function (item, index) { return (Rn.createElement(file_item_SurveyFileItem, { item: item, question: _this.question, key: index })); });
|
|
7486
|
+
return (Rn.createElement("div", { className: this.page.css, id: this.page.id }, items));
|
|
7487
7487
|
};
|
|
7488
7488
|
return SurveyFilePage;
|
|
7489
7489
|
}(reactquestion_element_SurveyElementBase));
|
|
@@ -7526,16 +7526,16 @@ var file_preview_SurveyFilePreview = /** @class */ (function (_super) {
|
|
|
7526
7526
|
var _this = this;
|
|
7527
7527
|
if (!className || !val.name)
|
|
7528
7528
|
return null;
|
|
7529
|
-
return (
|
|
7530
|
-
|
|
7529
|
+
return (Rn.createElement("div", { className: className },
|
|
7530
|
+
Rn.createElement("a", { href: val.content, onClick: function (event) {
|
|
7531
7531
|
_this.question.doDownloadFile(event, val);
|
|
7532
7532
|
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
|
7533
7533
|
};
|
|
7534
7534
|
SurveyFilePreview.prototype.renderElement = function () {
|
|
7535
7535
|
var _this = this;
|
|
7536
|
-
var content = this.question.supportFileNavigator ? this.question.renderedPages.map(function (page, index) { return (
|
|
7537
|
-
: this.question.previewValue.map(function (item, index) { return (
|
|
7538
|
-
return
|
|
7536
|
+
var content = this.question.supportFileNavigator ? this.question.renderedPages.map(function (page, index) { return (Rn.createElement(file_page_SurveyFilePage, { page: page, question: _this.question, key: page.id })); })
|
|
7537
|
+
: this.question.previewValue.map(function (item, index) { return (Rn.createElement(file_item_SurveyFileItem, { item: item, question: _this.question, key: index })); });
|
|
7538
|
+
return Rn.createElement("div", { className: this.question.cssClasses.fileList || undefined }, content);
|
|
7539
7539
|
};
|
|
7540
7540
|
SurveyFilePreview.prototype.canRender = function () {
|
|
7541
7541
|
return this.question.showPreviewContainer;
|
|
@@ -7544,7 +7544,7 @@ var file_preview_SurveyFilePreview = /** @class */ (function (_super) {
|
|
|
7544
7544
|
}(reactquestion_element_SurveyElementBase));
|
|
7545
7545
|
|
|
7546
7546
|
ReactElementFactory.Instance.registerElement("sv-file-preview", function (props) {
|
|
7547
|
-
return
|
|
7547
|
+
return Rn.createElement(file_preview_SurveyFilePreview, props);
|
|
7548
7548
|
});
|
|
7549
7549
|
|
|
7550
7550
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_multipletext.tsx
|
|
@@ -8276,7 +8276,7 @@ var row_MatrixRow = /** @class */ (function (_super) {
|
|
|
8276
8276
|
matrix_row_extends(MatrixRow, _super);
|
|
8277
8277
|
function MatrixRow(props) {
|
|
8278
8278
|
var _this = _super.call(this, props) || this;
|
|
8279
|
-
_this.root =
|
|
8279
|
+
_this.root = Rn.createRef();
|
|
8280
8280
|
_this.onPointerDownHandler = function (event) {
|
|
8281
8281
|
_this.parentMatrix.onPointerDown(event.nativeEvent, _this.model.row);
|
|
8282
8282
|
};
|
|
@@ -8327,13 +8327,13 @@ var row_MatrixRow = /** @class */ (function (_super) {
|
|
|
8327
8327
|
var model = this.model;
|
|
8328
8328
|
if (!model.visible)
|
|
8329
8329
|
return null;
|
|
8330
|
-
return (
|
|
8330
|
+
return (Rn.createElement("tr", { ref: this.root, className: model.className, "data-sv-drop-target-matrix-row": model.row && model.row.id, onPointerDown: function (event) { return _this.onPointerDownHandler(event); } }, this.props.children));
|
|
8331
8331
|
};
|
|
8332
8332
|
return MatrixRow;
|
|
8333
8333
|
}(reactquestion_element_SurveyElementBase));
|
|
8334
8334
|
|
|
8335
8335
|
ReactElementFactory.Instance.registerElement("sv-matrix-row", function (props) {
|
|
8336
|
-
return
|
|
8336
|
+
return Rn.createElement(row_MatrixRow, props);
|
|
8337
8337
|
});
|
|
8338
8338
|
|
|
8339
8339
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx
|
|
@@ -8368,22 +8368,22 @@ var drag_drop_icon_SurveyQuestionMatrixDynamicDragDropIcon = /** @class */ (func
|
|
|
8368
8368
|
configurable: true
|
|
8369
8369
|
});
|
|
8370
8370
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderElement = function () {
|
|
8371
|
-
return
|
|
8371
|
+
return Rn.createElement("div", null, this.renderIcon());
|
|
8372
8372
|
};
|
|
8373
8373
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderIcon = function () {
|
|
8374
8374
|
if (this.question.iconDragElement) {
|
|
8375
|
-
return (
|
|
8376
|
-
|
|
8375
|
+
return (Rn.createElement("svg", { className: this.question.cssClasses.dragElementDecorator },
|
|
8376
|
+
Rn.createElement("use", { xlinkHref: this.question.iconDragElement })));
|
|
8377
8377
|
}
|
|
8378
8378
|
else {
|
|
8379
|
-
return (
|
|
8379
|
+
return (Rn.createElement("span", { className: this.question.cssClasses.iconDrag }));
|
|
8380
8380
|
}
|
|
8381
8381
|
};
|
|
8382
8382
|
return SurveyQuestionMatrixDynamicDragDropIcon;
|
|
8383
8383
|
}(ReactSurveyElement));
|
|
8384
8384
|
|
|
8385
8385
|
ReactElementFactory.Instance.registerElement("sv-matrix-drag-drop-icon", function (props) {
|
|
8386
|
-
return
|
|
8386
|
+
return Rn.createElement(drag_drop_icon_SurveyQuestionMatrixDynamicDragDropIcon, props);
|
|
8387
8387
|
});
|
|
8388
8388
|
|
|
8389
8389
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_matrixdropdownbase.tsx
|
|
@@ -9001,14 +9001,14 @@ var paneldynamic_add_btn_SurveyQuestionPanelDynamicAddButton = /** @class */ (fu
|
|
|
9001
9001
|
if (!this.question.canAddPanel)
|
|
9002
9002
|
return null;
|
|
9003
9003
|
var btnText = this.renderLocString(this.question.locPanelAddText);
|
|
9004
|
-
return (
|
|
9005
|
-
|
|
9004
|
+
return (Rn.createElement("button", { type: "button", id: this.question.addButtonId, className: this.question.getAddButtonCss(), onClick: this.handleClick },
|
|
9005
|
+
Rn.createElement("span", { className: this.question.cssClasses.buttonAddText }, btnText)));
|
|
9006
9006
|
};
|
|
9007
9007
|
return SurveyQuestionPanelDynamicAddButton;
|
|
9008
9008
|
}(SurveyQuestionPanelDynamicAction));
|
|
9009
9009
|
|
|
9010
9010
|
ReactElementFactory.Instance.registerElement("sv-paneldynamic-add-btn", function (props) {
|
|
9011
|
-
return
|
|
9011
|
+
return Rn.createElement(paneldynamic_add_btn_SurveyQuestionPanelDynamicAddButton, props);
|
|
9012
9012
|
});
|
|
9013
9013
|
|
|
9014
9014
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.tsx
|
|
@@ -9041,14 +9041,14 @@ var paneldynamic_next_btn_SurveyQuestionPanelDynamicNextButton = /** @class */ (
|
|
|
9041
9041
|
return _this;
|
|
9042
9042
|
}
|
|
9043
9043
|
SurveyQuestionPanelDynamicNextButton.prototype.renderElement = function () {
|
|
9044
|
-
return (
|
|
9045
|
-
|
|
9044
|
+
return (Rn.createElement("div", { title: this.question.panelNextText, onClick: this.handleClick, className: this.question.getNextButtonCss() },
|
|
9045
|
+
Rn.createElement(svg_icon_SvgIcon, { iconName: this.question.cssClasses.progressBtnIcon, size: "auto" })));
|
|
9046
9046
|
};
|
|
9047
9047
|
return SurveyQuestionPanelDynamicNextButton;
|
|
9048
9048
|
}(SurveyQuestionPanelDynamicAction));
|
|
9049
9049
|
|
|
9050
9050
|
ReactElementFactory.Instance.registerElement("sv-paneldynamic-next-btn", function (props) {
|
|
9051
|
-
return
|
|
9051
|
+
return Rn.createElement(paneldynamic_next_btn_SurveyQuestionPanelDynamicNextButton, props);
|
|
9052
9052
|
});
|
|
9053
9053
|
|
|
9054
9054
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.tsx
|
|
@@ -9081,14 +9081,14 @@ var paneldynamic_prev_btn_SurveyQuestionPanelDynamicPrevButton = /** @class */ (
|
|
|
9081
9081
|
return _this;
|
|
9082
9082
|
}
|
|
9083
9083
|
SurveyQuestionPanelDynamicPrevButton.prototype.renderElement = function () {
|
|
9084
|
-
return (
|
|
9085
|
-
|
|
9084
|
+
return (Rn.createElement("div", { title: this.question.panelPrevText, onClick: this.handleClick, className: this.question.getPrevButtonCss() },
|
|
9085
|
+
Rn.createElement(svg_icon_SvgIcon, { iconName: this.question.cssClasses.progressBtnIcon, size: "auto" })));
|
|
9086
9086
|
};
|
|
9087
9087
|
return SurveyQuestionPanelDynamicPrevButton;
|
|
9088
9088
|
}(SurveyQuestionPanelDynamicAction));
|
|
9089
9089
|
|
|
9090
9090
|
ReactElementFactory.Instance.registerElement("sv-paneldynamic-prev-btn", function (props) {
|
|
9091
|
-
return
|
|
9091
|
+
return Rn.createElement(paneldynamic_prev_btn_SurveyQuestionPanelDynamicPrevButton, props);
|
|
9092
9092
|
});
|
|
9093
9093
|
|
|
9094
9094
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.tsx
|
|
@@ -9116,13 +9116,13 @@ var paneldynamic_progress_text_SurveyQuestionPanelDynamicProgressText = /** @cla
|
|
|
9116
9116
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
9117
9117
|
}
|
|
9118
9118
|
SurveyQuestionPanelDynamicProgressText.prototype.renderElement = function () {
|
|
9119
|
-
return (
|
|
9119
|
+
return (Rn.createElement("div", { className: this.question.cssClasses.progressText }, this.question.progressText));
|
|
9120
9120
|
};
|
|
9121
9121
|
return SurveyQuestionPanelDynamicProgressText;
|
|
9122
9122
|
}(SurveyQuestionPanelDynamicAction));
|
|
9123
9123
|
|
|
9124
9124
|
ReactElementFactory.Instance.registerElement("sv-paneldynamic-progress-text", function (props) {
|
|
9125
|
-
return
|
|
9125
|
+
return Rn.createElement(paneldynamic_progress_text_SurveyQuestionPanelDynamicProgressText, props);
|
|
9126
9126
|
});
|
|
9127
9127
|
|
|
9128
9128
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_paneldynamic.tsx
|
|
@@ -9569,19 +9569,16 @@ var list_item_ListItem = /** @class */ (function (_super) {
|
|
|
9569
9569
|
var _this = this;
|
|
9570
9570
|
if (!this.item)
|
|
9571
9571
|
return null;
|
|
9572
|
-
var contentWrapStyle = {
|
|
9573
|
-
paddingInlineStart: this.model.getItemIndent(this.item)
|
|
9574
|
-
};
|
|
9575
9572
|
var className = this.model.getItemClass(this.item);
|
|
9576
9573
|
var itemContent = this.item.component || this.model.itemComponent;
|
|
9577
9574
|
var newElement = ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });
|
|
9578
|
-
var contentWrap =
|
|
9579
|
-
var separator = this.item.needSeparator ?
|
|
9575
|
+
var contentWrap = Rn.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.locTitle.calculatedText, onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
|
|
9576
|
+
var separator = this.item.needSeparator ? Rn.createElement("div", { className: this.model.cssClasses.itemSeparator }) : null;
|
|
9580
9577
|
var isVisible = this.model.isItemVisible(this.item);
|
|
9581
9578
|
var style = {
|
|
9582
9579
|
display: isVisible ? null : "none"
|
|
9583
9580
|
};
|
|
9584
|
-
return attachKey2click(
|
|
9581
|
+
return attachKey2click(Rn.createElement("li", { className: className, role: "option", style: style, id: this.item.elementId, "aria-selected": this.model.isItemSelected(this.item), onClick: function (event) {
|
|
9585
9582
|
_this.model.onItemClick(_this.item);
|
|
9586
9583
|
event.stopPropagation();
|
|
9587
9584
|
}, onPointerDown: function (event) { return _this.model.onPointerDown(event, _this.item); } },
|
|
@@ -9596,7 +9593,7 @@ var list_item_ListItem = /** @class */ (function (_super) {
|
|
|
9596
9593
|
}(reactquestion_element_SurveyElementBase));
|
|
9597
9594
|
|
|
9598
9595
|
ReactElementFactory.Instance.registerElement("sv-list-item", function (props) {
|
|
9599
|
-
return
|
|
9596
|
+
return Rn.createElement(list_item_ListItem, props);
|
|
9600
9597
|
});
|
|
9601
9598
|
|
|
9602
9599
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/list/list.tsx
|
|
@@ -9634,7 +9631,7 @@ var list_List = /** @class */ (function (_super) {
|
|
|
9634
9631
|
_this.state = {
|
|
9635
9632
|
filterString: _this.model.filterString || ""
|
|
9636
9633
|
};
|
|
9637
|
-
_this.listContainerRef =
|
|
9634
|
+
_this.listContainerRef = Rn.createRef();
|
|
9638
9635
|
return _this;
|
|
9639
9636
|
}
|
|
9640
9637
|
Object.defineProperty(List.prototype, "model", {
|
|
@@ -9672,7 +9669,7 @@ var list_List = /** @class */ (function (_super) {
|
|
|
9672
9669
|
}
|
|
9673
9670
|
};
|
|
9674
9671
|
List.prototype.renderElement = function () {
|
|
9675
|
-
return (
|
|
9672
|
+
return (Rn.createElement("div", { className: this.model.cssClasses.root, ref: this.listContainerRef },
|
|
9676
9673
|
this.searchElementContent(),
|
|
9677
9674
|
this.emptyContent(),
|
|
9678
9675
|
this.renderList()));
|
|
@@ -9682,7 +9679,7 @@ var list_List = /** @class */ (function (_super) {
|
|
|
9682
9679
|
return null;
|
|
9683
9680
|
var items = this.renderItems();
|
|
9684
9681
|
var ulStyle = { display: this.model.isEmpty ? "none" : null };
|
|
9685
|
-
return (
|
|
9682
|
+
return (Rn.createElement("ul", { className: this.model.getListClass(), style: ulStyle, role: "listbox", id: this.model.elementId, onMouseDown: function (e) {
|
|
9686
9683
|
e.preventDefault();
|
|
9687
9684
|
}, onKeyDown: this.handleKeydown, onMouseMove: this.handleMouseMove }, items));
|
|
9688
9685
|
};
|
|
@@ -9696,7 +9693,7 @@ var list_List = /** @class */ (function (_super) {
|
|
|
9696
9693
|
return null;
|
|
9697
9694
|
}
|
|
9698
9695
|
return items.map(function (item, itemIndex) {
|
|
9699
|
-
return (
|
|
9696
|
+
return (Rn.createElement(list_item_ListItem, { model: _this.model, item: item, key: "item" + itemIndex }));
|
|
9700
9697
|
});
|
|
9701
9698
|
};
|
|
9702
9699
|
List.prototype.searchElementContent = function () {
|
|
@@ -9714,25 +9711,25 @@ var list_List = /** @class */ (function (_super) {
|
|
|
9714
9711
|
_this.model.goToItems(e);
|
|
9715
9712
|
};
|
|
9716
9713
|
var clearButton = this.model.showSearchClearButton && !!this.model.filterString ?
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
return (
|
|
9720
|
-
|
|
9721
|
-
|
|
9722
|
-
|
|
9714
|
+
Rn.createElement("button", { className: this.model.cssClasses.searchClearButtonIcon, onClick: function (event) { _this.model.onClickSearchClearButton(event); } },
|
|
9715
|
+
Rn.createElement(svg_icon_SvgIcon, { iconName: "icon-searchclear", size: "auto" })) : null;
|
|
9716
|
+
return (Rn.createElement("div", { className: this.model.cssClasses.filter },
|
|
9717
|
+
Rn.createElement("div", { className: this.model.cssClasses.filterIcon },
|
|
9718
|
+
Rn.createElement(svg_icon_SvgIcon, { iconName: "icon-search", size: "auto" })),
|
|
9719
|
+
Rn.createElement("input", { type: "text", className: this.model.cssClasses.filterInput, "aria-label": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onKeyUp: onKeyUp, onChange: onChange }),
|
|
9723
9720
|
clearButton));
|
|
9724
9721
|
}
|
|
9725
9722
|
};
|
|
9726
9723
|
List.prototype.emptyContent = function () {
|
|
9727
9724
|
var style = { display: this.model.isEmpty ? null : "none" };
|
|
9728
|
-
return (
|
|
9729
|
-
|
|
9725
|
+
return (Rn.createElement("div", { className: this.model.cssClasses.emptyContainer, style: style },
|
|
9726
|
+
Rn.createElement("div", { className: this.model.cssClasses.emptyText, "aria-label": this.model.emptyMessage }, this.model.emptyMessage)));
|
|
9730
9727
|
};
|
|
9731
9728
|
return List;
|
|
9732
9729
|
}(reactquestion_element_SurveyElementBase));
|
|
9733
9730
|
|
|
9734
9731
|
ReactElementFactory.Instance.registerElement("sv-list", function (props) {
|
|
9735
|
-
return
|
|
9732
|
+
return Rn.createElement(list_List, props);
|
|
9736
9733
|
});
|
|
9737
9734
|
|
|
9738
9735
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/progressToc.tsx
|
|
@@ -10319,7 +10316,7 @@ var image_SurveyQuestionImage = /** @class */ (function (_super) {
|
|
|
10319
10316
|
}
|
|
10320
10317
|
var control = null;
|
|
10321
10318
|
if (this.question.renderedMode === "image") {
|
|
10322
|
-
control = (g("img", { className: cssClasses, src: this.question.locImageLink.renderedHtml, alt: this.question.altText || this.question.title, width: this.question.renderedWidth, height: this.question.renderedHeight,
|
|
10319
|
+
control = (g("img", { className: cssClasses, src: this.question.locImageLink.renderedHtml || null, alt: this.question.altText || this.question.title, width: this.question.renderedWidth, height: this.question.renderedHeight,
|
|
10323
10320
|
//alt={item.text || item.value}
|
|
10324
10321
|
style: style, onLoad: function (event) { _this.question.onLoadHandler(); }, onError: function (event) { _this.question.onErrorHandler(); } }));
|
|
10325
10322
|
}
|
|
@@ -10455,12 +10452,12 @@ var reactquestion_buttongroup_SurveyQuestionButtonGroup = /** @class */ (functio
|
|
|
10455
10452
|
};
|
|
10456
10453
|
SurveyQuestionButtonGroup.prototype.renderElement = function () {
|
|
10457
10454
|
var items = this.renderItems();
|
|
10458
|
-
return
|
|
10455
|
+
return Rn.createElement("div", { className: this.question.cssClasses.root }, items);
|
|
10459
10456
|
};
|
|
10460
10457
|
SurveyQuestionButtonGroup.prototype.renderItems = function () {
|
|
10461
10458
|
var _this = this;
|
|
10462
10459
|
return this.question.visibleChoices.map(function (item, index) {
|
|
10463
|
-
return (
|
|
10460
|
+
return (Rn.createElement(reactquestion_buttongroup_SurveyButtonGroupItem, { key: _this.question.inputId + "_" + index, item: item, question: _this.question, index: index }));
|
|
10464
10461
|
});
|
|
10465
10462
|
};
|
|
10466
10463
|
return SurveyQuestionButtonGroup;
|
|
@@ -10500,21 +10497,21 @@ var reactquestion_buttongroup_SurveyButtonGroupItem = /** @class */ (function (_
|
|
|
10500
10497
|
var icon = this.renderIcon();
|
|
10501
10498
|
var input = this.renderInput();
|
|
10502
10499
|
var caption = this.renderCaption();
|
|
10503
|
-
return (
|
|
10500
|
+
return (Rn.createElement("label", { role: "radio", className: this.model.css.label, title: this.model.caption.renderedHtml },
|
|
10504
10501
|
input,
|
|
10505
|
-
|
|
10502
|
+
Rn.createElement("div", { className: this.model.css.decorator },
|
|
10506
10503
|
icon,
|
|
10507
10504
|
caption)));
|
|
10508
10505
|
};
|
|
10509
10506
|
SurveyButtonGroupItem.prototype.renderIcon = function () {
|
|
10510
10507
|
if (!!this.model.iconName) {
|
|
10511
|
-
return (
|
|
10508
|
+
return (Rn.createElement(svg_icon_SvgIcon, { className: this.model.css.icon, iconName: this.model.iconName, size: this.model.iconSize || 24 }));
|
|
10512
10509
|
}
|
|
10513
10510
|
return null;
|
|
10514
10511
|
};
|
|
10515
10512
|
SurveyButtonGroupItem.prototype.renderInput = function () {
|
|
10516
10513
|
var _this = this;
|
|
10517
|
-
return (
|
|
10514
|
+
return (Rn.createElement("input", { className: this.model.css.control, id: this.model.id, type: "radio", name: this.model.name, checked: this.model.selected, value: this.model.value, disabled: this.model.readOnly, onChange: function () {
|
|
10518
10515
|
_this.model.onChange();
|
|
10519
10516
|
}, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy, role: "radio" }));
|
|
10520
10517
|
};
|
|
@@ -10522,7 +10519,7 @@ var reactquestion_buttongroup_SurveyButtonGroupItem = /** @class */ (function (_
|
|
|
10522
10519
|
if (!this.model.showCaption)
|
|
10523
10520
|
return null;
|
|
10524
10521
|
var caption = this.renderLocString(this.model.caption);
|
|
10525
|
-
return (
|
|
10522
|
+
return (Rn.createElement("span", { className: this.model.css.caption, title: this.model.caption.renderedHtml }, caption));
|
|
10526
10523
|
};
|
|
10527
10524
|
return SurveyButtonGroupItem;
|
|
10528
10525
|
}(reactquestion_element_SurveyElementBase));
|
|
@@ -10639,24 +10636,24 @@ var list_item_content_ListItemContent = /** @class */ (function (_super) {
|
|
|
10639
10636
|
var content = [];
|
|
10640
10637
|
var text = this.renderLocString(this.item.locTitle, undefined, "locString");
|
|
10641
10638
|
if (this.item.iconName) {
|
|
10642
|
-
var icon =
|
|
10639
|
+
var icon = Rn.createElement(svg_icon_SvgIcon, { key: "icon", className: this.model.cssClasses.itemIcon, iconName: this.item.iconName, size: this.item.iconSize, "aria-label": this.item.title });
|
|
10643
10640
|
content.push(icon);
|
|
10644
|
-
content.push(
|
|
10641
|
+
content.push(Rn.createElement("span", { key: "text" }, text));
|
|
10645
10642
|
}
|
|
10646
10643
|
else {
|
|
10647
10644
|
content.push(text);
|
|
10648
10645
|
}
|
|
10649
10646
|
if (this.item.markerIconName) {
|
|
10650
|
-
var icon =
|
|
10647
|
+
var icon = Rn.createElement(svg_icon_SvgIcon, { key: "marker", className: this.item.cssClasses.itemMarkerIcon, iconName: this.item.markerIconName, size: "auto" });
|
|
10651
10648
|
content.push(icon);
|
|
10652
10649
|
}
|
|
10653
|
-
return
|
|
10650
|
+
return Rn.createElement(Rn.Fragment, null, content);
|
|
10654
10651
|
};
|
|
10655
10652
|
return ListItemContent;
|
|
10656
10653
|
}(reactquestion_element_SurveyElementBase));
|
|
10657
10654
|
|
|
10658
10655
|
ReactElementFactory.Instance.registerElement("sv-list-item-content", function (props) {
|
|
10659
|
-
return
|
|
10656
|
+
return Rn.createElement(list_item_content_ListItemContent, props);
|
|
10660
10657
|
});
|
|
10661
10658
|
|
|
10662
10659
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/list/list-item-group.tsx
|
|
@@ -10706,15 +10703,15 @@ var list_item_group_ListItemGroup = /** @class */ (function (_super) {
|
|
|
10706
10703
|
if (!this.item)
|
|
10707
10704
|
return null;
|
|
10708
10705
|
var newElement = ReactElementFactory.Instance.createElement("sv-list-item-content", { item: this.item, key: "content" + this.item.id, model: this.model });
|
|
10709
|
-
return
|
|
10706
|
+
return Rn.createElement(Rn.Fragment, null,
|
|
10710
10707
|
newElement,
|
|
10711
|
-
|
|
10708
|
+
Rn.createElement(popup_Popup, { model: (_a = this.item) === null || _a === void 0 ? void 0 : _a.popupModel }));
|
|
10712
10709
|
};
|
|
10713
10710
|
return ListItemGroup;
|
|
10714
10711
|
}(reactquestion_element_SurveyElementBase));
|
|
10715
10712
|
|
|
10716
10713
|
ReactElementFactory.Instance.registerElement("sv-list-item-group", function (props) {
|
|
10717
|
-
return
|
|
10714
|
+
return Rn.createElement(list_item_group_ListItemGroup, props);
|
|
10718
10715
|
});
|
|
10719
10716
|
|
|
10720
10717
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/survey-header/logo-image.tsx
|
|
@@ -10749,15 +10746,15 @@ var logo_image_LogoImage = /** @class */ (function (_super) {
|
|
|
10749
10746
|
});
|
|
10750
10747
|
LogoImage.prototype.render = function () {
|
|
10751
10748
|
var content = [];
|
|
10752
|
-
content.push(
|
|
10753
|
-
|
|
10754
|
-
return
|
|
10749
|
+
content.push(Rn.createElement("div", { key: "logo-image", className: this.survey.logoClassNames },
|
|
10750
|
+
Rn.createElement("img", { className: this.survey.css.logoImage, src: this.survey.locLogo.renderedHtml || null, alt: this.survey.locTitle.renderedHtml, width: this.survey.renderedLogoWidth, height: this.survey.renderedLogoHeight, style: { objectFit: this.survey.logoFit, width: this.survey.renderedStyleLogoWidth, height: this.survey.renderedStyleLogoHeight } })));
|
|
10751
|
+
return Rn.createElement(Rn.Fragment, null, content);
|
|
10755
10752
|
};
|
|
10756
10753
|
return LogoImage;
|
|
10757
|
-
}(
|
|
10754
|
+
}(Rn.Component));
|
|
10758
10755
|
|
|
10759
10756
|
ReactElementFactory.Instance.registerElement("sv-logo-image", function (props) {
|
|
10760
|
-
return
|
|
10757
|
+
return Rn.createElement(logo_image_LogoImage, props);
|
|
10761
10758
|
});
|
|
10762
10759
|
|
|
10763
10760
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.tsx
|
|
@@ -10805,15 +10802,15 @@ var remove_button_SurveyQuestionMatrixDynamicRemoveButton = /** @class */ (funct
|
|
|
10805
10802
|
};
|
|
10806
10803
|
SurveyQuestionMatrixDynamicRemoveButton.prototype.renderElement = function () {
|
|
10807
10804
|
var removeRowText = this.renderLocString(this.question.locRemoveRowText);
|
|
10808
|
-
return (
|
|
10805
|
+
return (Rn.createElement("button", { className: this.question.getRemoveRowButtonCss(), type: "button", onClick: this.handleOnRowRemoveClick, disabled: this.question.isInputReadOnly },
|
|
10809
10806
|
removeRowText,
|
|
10810
|
-
|
|
10807
|
+
Rn.createElement("span", { className: this.question.cssClasses.iconRemove })));
|
|
10811
10808
|
};
|
|
10812
10809
|
return SurveyQuestionMatrixDynamicRemoveButton;
|
|
10813
10810
|
}(ReactSurveyElement));
|
|
10814
10811
|
|
|
10815
10812
|
ReactElementFactory.Instance.registerElement("sv-matrix-remove-button", function (props) {
|
|
10816
|
-
return
|
|
10813
|
+
return Rn.createElement(remove_button_SurveyQuestionMatrixDynamicRemoveButton, props);
|
|
10817
10814
|
});
|
|
10818
10815
|
|
|
10819
10816
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.tsx
|
|
@@ -10874,14 +10871,14 @@ var detail_button_SurveyQuestionMatrixDetailButton = /** @class */ (function (_s
|
|
|
10874
10871
|
var isExpanded = this.row.isDetailPanelShowing;
|
|
10875
10872
|
var ariaExpanded = isExpanded;
|
|
10876
10873
|
var ariaControls = isExpanded ? this.row.detailPanelId : undefined;
|
|
10877
|
-
return (
|
|
10878
|
-
|
|
10874
|
+
return (Rn.createElement("button", { type: "button", onClick: this.handleOnShowHideClick, className: this.question.getDetailPanelButtonCss(this.row), "aria-expanded": ariaExpanded, "aria-controls": ariaControls },
|
|
10875
|
+
Rn.createElement(svg_icon_SvgIcon, { className: this.question.getDetailPanelIconCss(this.row), iconName: this.question.getDetailPanelIconId(this.row), size: "auto" })));
|
|
10879
10876
|
};
|
|
10880
10877
|
return SurveyQuestionMatrixDetailButton;
|
|
10881
10878
|
}(ReactSurveyElement));
|
|
10882
10879
|
|
|
10883
10880
|
ReactElementFactory.Instance.registerElement("sv-matrix-detail-button", function (props) {
|
|
10884
|
-
return
|
|
10881
|
+
return Rn.createElement(detail_button_SurveyQuestionMatrixDetailButton, props);
|
|
10885
10882
|
});
|
|
10886
10883
|
|
|
10887
10884
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.tsx
|
|
@@ -10915,15 +10912,15 @@ var paneldynamic_remove_btn_SurveyQuestionPanelDynamicRemoveButton = /** @class
|
|
|
10915
10912
|
SurveyQuestionPanelDynamicRemoveButton.prototype.renderElement = function () {
|
|
10916
10913
|
var btnText = this.renderLocString(this.question.locPanelRemoveText);
|
|
10917
10914
|
var id = this.question.getPanelRemoveButtonId(this.data.panel);
|
|
10918
|
-
return (
|
|
10919
|
-
|
|
10920
|
-
|
|
10915
|
+
return (Rn.createElement("button", { id: id, className: this.question.getPanelRemoveButtonCss(), onClick: this.handleClick, type: "button" },
|
|
10916
|
+
Rn.createElement("span", { className: this.question.cssClasses.buttonRemoveText }, btnText),
|
|
10917
|
+
Rn.createElement("span", { className: this.question.cssClasses.iconRemove })));
|
|
10921
10918
|
};
|
|
10922
10919
|
return SurveyQuestionPanelDynamicRemoveButton;
|
|
10923
10920
|
}(SurveyQuestionPanelDynamicAction));
|
|
10924
10921
|
|
|
10925
10922
|
ReactElementFactory.Instance.registerElement("sv-paneldynamic-remove-btn", function (props) {
|
|
10926
|
-
return
|
|
10923
|
+
return Rn.createElement(paneldynamic_remove_btn_SurveyQuestionPanelDynamicRemoveButton, props);
|
|
10927
10924
|
});
|
|
10928
10925
|
|
|
10929
10926
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/survey-actions/survey-nav-button.tsx
|
|
@@ -10961,13 +10958,13 @@ var survey_nav_button_SurveyNavigationButton = /** @class */ (function (_super)
|
|
|
10961
10958
|
return this.item.isVisible;
|
|
10962
10959
|
};
|
|
10963
10960
|
SurveyNavigationButton.prototype.renderElement = function () {
|
|
10964
|
-
return (
|
|
10961
|
+
return (Rn.createElement("input", { className: this.item.innerCss, type: "button", disabled: this.item.disabled, onMouseDown: this.item.data && this.item.data.mouseDown, onClick: this.item.action, title: this.item.getTooltip(), value: this.item.title }));
|
|
10965
10962
|
};
|
|
10966
10963
|
return SurveyNavigationButton;
|
|
10967
10964
|
}(ReactSurveyElement));
|
|
10968
10965
|
|
|
10969
10966
|
ReactElementFactory.Instance.registerElement("sv-nav-btn", function (props) {
|
|
10970
|
-
return
|
|
10967
|
+
return Rn.createElement(survey_nav_button_SurveyNavigationButton, props);
|
|
10971
10968
|
});
|
|
10972
10969
|
|
|
10973
10970
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/string-viewer.tsx
|
|
@@ -10998,7 +10995,7 @@ var string_viewer_SurveyLocStringViewer = /** @class */ (function (_super) {
|
|
|
10998
10995
|
return;
|
|
10999
10996
|
_this.setState({ changed: !!_this.state && _this.state.changed ? _this.state.changed + 1 : 1 });
|
|
11000
10997
|
};
|
|
11001
|
-
_this.rootRef =
|
|
10998
|
+
_this.rootRef = Rn.createRef();
|
|
11002
10999
|
return _this;
|
|
11003
11000
|
}
|
|
11004
11001
|
Object.defineProperty(SurveyLocStringViewer.prototype, "locStr", {
|
|
@@ -11046,15 +11043,15 @@ var string_viewer_SurveyLocStringViewer = /** @class */ (function (_super) {
|
|
|
11046
11043
|
var className = this.locStr.allowLineBreaks ? "sv-string-viewer sv-string-viewer--multiline" : "sv-string-viewer";
|
|
11047
11044
|
if (this.locStr.hasHtml) {
|
|
11048
11045
|
var htmlValue = { __html: this.locStr.renderedHtml };
|
|
11049
|
-
return
|
|
11046
|
+
return Rn.createElement("span", { ref: this.rootRef, className: className, style: this.style, dangerouslySetInnerHTML: htmlValue });
|
|
11050
11047
|
}
|
|
11051
|
-
return
|
|
11048
|
+
return Rn.createElement("span", { ref: this.rootRef, className: className, style: this.style }, this.locStr.renderedHtml);
|
|
11052
11049
|
};
|
|
11053
11050
|
return SurveyLocStringViewer;
|
|
11054
|
-
}(
|
|
11051
|
+
}(Rn.Component));
|
|
11055
11052
|
|
|
11056
11053
|
ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["LocalizableString"].defaultRenderer, function (props) {
|
|
11057
|
-
return
|
|
11054
|
+
return Rn.createElement(string_viewer_SurveyLocStringViewer, props);
|
|
11058
11055
|
});
|
|
11059
11056
|
|
|
11060
11057
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/question-error.tsx
|
|
@@ -11082,16 +11079,16 @@ var question_error_QuestionErrorComponent = /** @class */ (function (_super) {
|
|
|
11082
11079
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
11083
11080
|
}
|
|
11084
11081
|
QuestionErrorComponent.prototype.render = function () {
|
|
11085
|
-
return (
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11082
|
+
return (Rn.createElement("div", null,
|
|
11083
|
+
Rn.createElement("span", { className: this.props.cssClasses.error.icon || undefined, "aria-hidden": "true" }),
|
|
11084
|
+
Rn.createElement("span", { className: this.props.cssClasses.error.item || undefined },
|
|
11085
|
+
Rn.createElement(string_viewer_SurveyLocStringViewer, { locStr: this.props.error.locText }))));
|
|
11089
11086
|
};
|
|
11090
11087
|
return QuestionErrorComponent;
|
|
11091
|
-
}(
|
|
11088
|
+
}(Rn.Component));
|
|
11092
11089
|
|
|
11093
11090
|
ReactElementFactory.Instance.registerElement("sv-question-error", function (props) {
|
|
11094
|
-
return
|
|
11091
|
+
return Rn.createElement(question_error_QuestionErrorComponent, props);
|
|
11095
11092
|
});
|
|
11096
11093
|
|
|
11097
11094
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/skeleton.tsx
|
|
@@ -11119,13 +11116,13 @@ var skeleton_Skeleton = /** @class */ (function (_super) {
|
|
|
11119
11116
|
}
|
|
11120
11117
|
Skeleton.prototype.render = function () {
|
|
11121
11118
|
var _a, _b;
|
|
11122
|
-
return (
|
|
11119
|
+
return (Rn.createElement("div", { className: "sv-skeleton-element", id: (_a = this.props.element) === null || _a === void 0 ? void 0 : _a.id, style: { height: (_b = this.props.element) === null || _b === void 0 ? void 0 : _b.skeletonHeight } }));
|
|
11123
11120
|
};
|
|
11124
11121
|
return Skeleton;
|
|
11125
|
-
}(
|
|
11122
|
+
}(Rn.Component));
|
|
11126
11123
|
|
|
11127
11124
|
ReactElementFactory.Instance.registerElement("sv-skeleton", function (props) {
|
|
11128
|
-
return
|
|
11125
|
+
return Rn.createElement(skeleton_Skeleton, props);
|
|
11129
11126
|
});
|
|
11130
11127
|
|
|
11131
11128
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/header.tsx
|
|
@@ -11168,15 +11165,15 @@ var header_HeaderMobile = /** @class */ (function (_super) {
|
|
|
11168
11165
|
});
|
|
11169
11166
|
};
|
|
11170
11167
|
HeaderMobile.prototype.render = function () {
|
|
11171
|
-
return (
|
|
11172
|
-
this.model.survey.hasLogo ? (
|
|
11173
|
-
this.model.survey.hasTitle ? (
|
|
11174
|
-
|
|
11175
|
-
this.model.survey.renderedHasDescription ? (
|
|
11176
|
-
|
|
11168
|
+
return (Rn.createElement("div", { className: "sv-header--mobile" },
|
|
11169
|
+
this.model.survey.hasLogo ? (Rn.createElement("div", { className: "sv-header__logo" }, this.renderLogoImage())) : null,
|
|
11170
|
+
this.model.survey.hasTitle ? (Rn.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
|
|
11171
|
+
Rn.createElement(title_element_TitleElement, { element: this.model.survey }))) : null,
|
|
11172
|
+
this.model.survey.renderedHasDescription ? (Rn.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
|
|
11173
|
+
Rn.createElement("div", { className: this.model.survey.css.description }, reactquestion_element_SurveyElementBase.renderLocString(this.model.survey.locDescription)))) : null));
|
|
11177
11174
|
};
|
|
11178
11175
|
return HeaderMobile;
|
|
11179
|
-
}(
|
|
11176
|
+
}(Rn.Component));
|
|
11180
11177
|
|
|
11181
11178
|
var header_HeaderCell = /** @class */ (function (_super) {
|
|
11182
11179
|
header_extends(HeaderCell, _super);
|
|
@@ -11198,16 +11195,16 @@ var header_HeaderCell = /** @class */ (function (_super) {
|
|
|
11198
11195
|
});
|
|
11199
11196
|
};
|
|
11200
11197
|
HeaderCell.prototype.render = function () {
|
|
11201
|
-
return (
|
|
11202
|
-
|
|
11203
|
-
this.model.showLogo ? (
|
|
11204
|
-
this.model.showTitle ? (
|
|
11205
|
-
|
|
11206
|
-
this.model.showDescription ? (
|
|
11207
|
-
|
|
11198
|
+
return (Rn.createElement("div", { className: this.model.css, style: this.model.style },
|
|
11199
|
+
Rn.createElement("div", { className: "sv-header__cell-content", style: this.model.contentStyle },
|
|
11200
|
+
this.model.showLogo ? (Rn.createElement("div", { className: "sv-header__logo" }, this.renderLogoImage())) : null,
|
|
11201
|
+
this.model.showTitle ? (Rn.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
|
|
11202
|
+
Rn.createElement(title_element_TitleElement, { element: this.model.survey }))) : null,
|
|
11203
|
+
this.model.showDescription ? (Rn.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
|
|
11204
|
+
Rn.createElement("div", { className: this.model.survey.css.description }, reactquestion_element_SurveyElementBase.renderLocString(this.model.survey.locDescription)))) : null)));
|
|
11208
11205
|
};
|
|
11209
11206
|
return HeaderCell;
|
|
11210
|
-
}(
|
|
11207
|
+
}(Rn.Component));
|
|
11211
11208
|
|
|
11212
11209
|
var header_Header = /** @class */ (function (_super) {
|
|
11213
11210
|
header_extends(Header, _super);
|
|
@@ -11231,20 +11228,20 @@ var header_Header = /** @class */ (function (_super) {
|
|
|
11231
11228
|
}
|
|
11232
11229
|
var headerContent = null;
|
|
11233
11230
|
if (this.props.survey.isMobile) {
|
|
11234
|
-
headerContent =
|
|
11231
|
+
headerContent = Rn.createElement(header_HeaderMobile, { model: this.model });
|
|
11235
11232
|
}
|
|
11236
11233
|
else {
|
|
11237
|
-
headerContent = (
|
|
11234
|
+
headerContent = (Rn.createElement("div", { className: this.model.contentClasses, style: { maxWidth: this.model.maxWidth } }, this.model.cells.map(function (cell, index) { return Rn.createElement(header_HeaderCell, { key: index, model: cell }); })));
|
|
11238
11235
|
}
|
|
11239
|
-
return (
|
|
11240
|
-
this.model.backgroundImage ?
|
|
11236
|
+
return (Rn.createElement("div", { className: this.model.headerClasses, style: { height: this.model.renderedHeight } },
|
|
11237
|
+
this.model.backgroundImage ? Rn.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
|
|
11241
11238
|
headerContent));
|
|
11242
11239
|
};
|
|
11243
11240
|
return Header;
|
|
11244
11241
|
}(reactquestion_element_SurveyElementBase));
|
|
11245
11242
|
|
|
11246
11243
|
ReactElementFactory.Instance.registerElement("sv-header", function (props) {
|
|
11247
|
-
return
|
|
11244
|
+
return Rn.createElement(header_Header, props);
|
|
11248
11245
|
});
|
|
11249
11246
|
|
|
11250
11247
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/string-editor.tsx
|
|
@@ -11313,15 +11310,15 @@ var string_editor_SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
11313
11310
|
}
|
|
11314
11311
|
if (this.locStr.hasHtml) {
|
|
11315
11312
|
var htmlValue = { __html: this.locStr.renderedHtml };
|
|
11316
|
-
return (
|
|
11313
|
+
return (Rn.createElement("span", { className: "sv-string-editor", contentEditable: "true", suppressContentEditableWarning: true, style: this.style, dangerouslySetInnerHTML: htmlValue, onBlur: this.onInput, onClick: this.onClick }));
|
|
11317
11314
|
}
|
|
11318
|
-
return (
|
|
11315
|
+
return (Rn.createElement("span", { className: "sv-string-editor", contentEditable: "true", suppressContentEditableWarning: true, style: this.style, onBlur: this.onInput, onClick: this.onClick }, this.locStr.renderedHtml));
|
|
11319
11316
|
};
|
|
11320
11317
|
return SurveyLocStringEditor;
|
|
11321
|
-
}(
|
|
11318
|
+
}(Rn.Component));
|
|
11322
11319
|
|
|
11323
11320
|
ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["LocalizableString"].editableRenderer, function (props) {
|
|
11324
|
-
return
|
|
11321
|
+
return Rn.createElement(string_editor_SurveyLocStringEditor, props);
|
|
11325
11322
|
});
|
|
11326
11323
|
|
|
11327
11324
|
// CONCATENATED MODULE: ./packages/survey-react-ui/entries/react-ui-model.ts
|
|
@@ -11440,12 +11437,12 @@ var js_ui_assign = (undefined && undefined.__assign) || function () {
|
|
|
11440
11437
|
function renderSurvey(model, element, props) {
|
|
11441
11438
|
if (props === void 0) { props = {}; }
|
|
11442
11439
|
var survey = g(reactSurvey_Survey, js_ui_assign({ model: model }, props));
|
|
11443
|
-
|
|
11440
|
+
nn(survey, element);
|
|
11444
11441
|
}
|
|
11445
11442
|
function renderPopupSurvey(model, element, props) {
|
|
11446
11443
|
if (props === void 0) { props = {}; }
|
|
11447
11444
|
var survey = g(react_popup_survey_PopupSurvey, js_ui_assign({ model: model }, props));
|
|
11448
|
-
|
|
11445
|
+
nn(survey, element);
|
|
11449
11446
|
}
|
|
11450
11447
|
function doPopupSurvey(props) {
|
|
11451
11448
|
return this.each(function () {
|
|
@@ -11493,7 +11490,7 @@ var preact = compat_module_namespaceObject;
|
|
|
11493
11490
|
|
|
11494
11491
|
|
|
11495
11492
|
|
|
11496
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.
|
|
11493
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.16-patch.1", "survey-js-ui");
|
|
11497
11494
|
|
|
11498
11495
|
|
|
11499
11496
|
/***/ }),
|