survey-js-ui 2.0.0-rc.4 → 2.0.0-rc.5
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 +604 -609
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.d.ts +1 -1
- package/typings/survey-react-ui/src/components/action-bar/action-bar-item.d.ts +1 -1
- package/typings/survey-react-ui/src/components/action-bar/action-bar-separator.d.ts +1 -1
- package/typings/survey-react-ui/src/components/action-bar/action-bar.d.ts +1 -1
- package/typings/survey-react-ui/src/components/brand-info.d.ts +1 -1
- package/typings/survey-react-ui/src/components/character-counter.d.ts +1 -1
- package/typings/survey-react-ui/src/components/components-container.d.ts +1 -1
- package/typings/survey-react-ui/src/components/file/file-choose-button.d.ts +1 -1
- package/typings/survey-react-ui/src/components/file/file-item.d.ts +1 -1
- package/typings/survey-react-ui/src/components/file/file-page.d.ts +1 -1
- package/typings/survey-react-ui/src/components/file/file-preview.d.ts +1 -1
- package/typings/survey-react-ui/src/components/header.d.ts +1 -1
- package/typings/survey-react-ui/src/components/list/list-item-content.d.ts +1 -1
- package/typings/survey-react-ui/src/components/list/list-item-group.d.ts +1 -1
- package/typings/survey-react-ui/src/components/list/list-item.d.ts +1 -1
- package/typings/survey-react-ui/src/components/list/list.d.ts +1 -1
- package/typings/survey-react-ui/src/components/matrix/row.d.ts +1 -1
- package/typings/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.d.ts +1 -1
- package/typings/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +1 -1
- package/typings/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.d.ts +1 -1
- package/typings/survey-react-ui/src/components/notifier.d.ts +1 -1
- package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +1 -1
- package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +1 -1
- package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +1 -1
- package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +1 -1
- package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +1 -1
- package/typings/survey-react-ui/src/components/popup/popup-modal.d.ts +1 -1
- package/typings/survey-react-ui/src/components/popup/popup.d.ts +1 -1
- package/typings/survey-react-ui/src/components/question-error.d.ts +1 -1
- package/typings/survey-react-ui/src/components/rating/rating-dropdown-item.d.ts +1 -1
- package/typings/survey-react-ui/src/components/rating/rating-item-smiley.d.ts +1 -1
- package/typings/survey-react-ui/src/components/rating/rating-item-star.d.ts +1 -1
- package/typings/survey-react-ui/src/components/rating/rating-item.d.ts +1 -1
- package/typings/survey-react-ui/src/components/skeleton.d.ts +1 -1
- package/typings/survey-react-ui/src/components/survey-actions/survey-nav-button.d.ts +1 -1
- package/typings/survey-react-ui/src/components/survey-header/logo-image.d.ts +1 -1
- package/typings/survey-react-ui/src/components/survey-header/survey-header.d.ts +1 -1
- package/typings/survey-react-ui/src/components/svg-icon/svg-icon.d.ts +1 -1
- package/typings/survey-react-ui/src/components/text-area.d.ts +1 -1
- package/typings/survey-react-ui/src/components/title/title-actions.d.ts +1 -1
- package/typings/survey-react-ui/src/components/title/title-content.d.ts +1 -1
- package/typings/survey-react-ui/src/components/title/title-element.d.ts +1 -1
- package/typings/survey-react-ui/src/element-header.d.ts +1 -1
- package/typings/survey-react-ui/src/reactquestion_buttongroup.d.ts +1 -1
- package/typings/survey-react-ui/src/string-editor.d.ts +1 -1
- package/typings/survey-react-ui/src/string-viewer.d.ts +1 -1
- package/typings/survey-react-ui/src/svgbundle.d.ts +1 -1
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.0.0-rc.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.0.0-rc.5
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -23,7 +23,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
25
|
/*!
|
|
26
|
-
* surveyjs - Survey JavaScript library v2.0.0-rc.
|
|
26
|
+
* surveyjs - Survey JavaScript library v2.0.0-rc.5
|
|
27
27
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
28
28
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
29
29
|
*/
|
|
@@ -35,6 +35,96 @@ return /******/ (() => { // webpackBootstrap
|
|
|
35
35
|
return /******/ (() => { // webpackBootstrap
|
|
36
36
|
/******/ var __webpack_modules__ = ({
|
|
37
37
|
|
|
38
|
+
/***/ "./src/images-v1 sync recursive \\.svg$":
|
|
39
|
+
/*!************************************!*\
|
|
40
|
+
!*** ./src/images-v1/ sync \.svg$ ***!
|
|
41
|
+
\************************************/
|
|
42
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_874__) => {
|
|
43
|
+
|
|
44
|
+
var map = {
|
|
45
|
+
"./ModernBooleanCheckChecked.svg": "./src/images-v1/ModernBooleanCheckChecked.svg",
|
|
46
|
+
"./ModernBooleanCheckInd.svg": "./src/images-v1/ModernBooleanCheckInd.svg",
|
|
47
|
+
"./ModernBooleanCheckUnchecked.svg": "./src/images-v1/ModernBooleanCheckUnchecked.svg",
|
|
48
|
+
"./ModernCheck.svg": "./src/images-v1/ModernCheck.svg",
|
|
49
|
+
"./ModernRadio.svg": "./src/images-v1/ModernRadio.svg",
|
|
50
|
+
"./ProgressButton.svg": "./src/images-v1/ProgressButton.svg",
|
|
51
|
+
"./RemoveFile.svg": "./src/images-v1/RemoveFile.svg",
|
|
52
|
+
"./TimerCircle.svg": "./src/images-v1/TimerCircle.svg",
|
|
53
|
+
"./add-24x24.svg": "./src/images-v1/add-24x24.svg",
|
|
54
|
+
"./arrowleft-16x16.svg": "./src/images-v1/arrowleft-16x16.svg",
|
|
55
|
+
"./arrowright-16x16.svg": "./src/images-v1/arrowright-16x16.svg",
|
|
56
|
+
"./camera-24x24.svg": "./src/images-v1/camera-24x24.svg",
|
|
57
|
+
"./camera-32x32.svg": "./src/images-v1/camera-32x32.svg",
|
|
58
|
+
"./cancel-24x24.svg": "./src/images-v1/cancel-24x24.svg",
|
|
59
|
+
"./check-16x16.svg": "./src/images-v1/check-16x16.svg",
|
|
60
|
+
"./check-24x24.svg": "./src/images-v1/check-24x24.svg",
|
|
61
|
+
"./chevrondown-24x24.svg": "./src/images-v1/chevrondown-24x24.svg",
|
|
62
|
+
"./chevronright-16x16.svg": "./src/images-v1/chevronright-16x16.svg",
|
|
63
|
+
"./clear-16x16.svg": "./src/images-v1/clear-16x16.svg",
|
|
64
|
+
"./clear-24x24.svg": "./src/images-v1/clear-24x24.svg",
|
|
65
|
+
"./close-16x16.svg": "./src/images-v1/close-16x16.svg",
|
|
66
|
+
"./close-24x24.svg": "./src/images-v1/close-24x24.svg",
|
|
67
|
+
"./collapse-16x16.svg": "./src/images-v1/collapse-16x16.svg",
|
|
68
|
+
"./collapsedetails-16x16.svg": "./src/images-v1/collapsedetails-16x16.svg",
|
|
69
|
+
"./delete-24x24.svg": "./src/images-v1/delete-24x24.svg",
|
|
70
|
+
"./drag-24x24.svg": "./src/images-v1/drag-24x24.svg",
|
|
71
|
+
"./draghorizontal-24x16.svg": "./src/images-v1/draghorizontal-24x16.svg",
|
|
72
|
+
"./expand-16x16.svg": "./src/images-v1/expand-16x16.svg",
|
|
73
|
+
"./expanddetails-16x16.svg": "./src/images-v1/expanddetails-16x16.svg",
|
|
74
|
+
"./file-72x72.svg": "./src/images-v1/file-72x72.svg",
|
|
75
|
+
"./flip-24x24.svg": "./src/images-v1/flip-24x24.svg",
|
|
76
|
+
"./folder-24x24.svg": "./src/images-v1/folder-24x24.svg",
|
|
77
|
+
"./fullsize-16x16.svg": "./src/images-v1/fullsize-16x16.svg",
|
|
78
|
+
"./image-48x48.svg": "./src/images-v1/image-48x48.svg",
|
|
79
|
+
"./loading-48x48.svg": "./src/images-v1/loading-48x48.svg",
|
|
80
|
+
"./maximize-16x16.svg": "./src/images-v1/maximize-16x16.svg",
|
|
81
|
+
"./minimize-16x16.svg": "./src/images-v1/minimize-16x16.svg",
|
|
82
|
+
"./more-24x24.svg": "./src/images-v1/more-24x24.svg",
|
|
83
|
+
"./navmenu-24x24.svg": "./src/images-v1/navmenu-24x24.svg",
|
|
84
|
+
"./noimage-48x48.svg": "./src/images-v1/noimage-48x48.svg",
|
|
85
|
+
"./ranking-arrows.svg": "./src/images-v1/ranking-arrows.svg",
|
|
86
|
+
"./rankingundefined-16x16.svg": "./src/images-v1/rankingundefined-16x16.svg",
|
|
87
|
+
"./rating-star-2.svg": "./src/images-v1/rating-star-2.svg",
|
|
88
|
+
"./rating-star-small-2.svg": "./src/images-v1/rating-star-small-2.svg",
|
|
89
|
+
"./rating-star-small.svg": "./src/images-v1/rating-star-small.svg",
|
|
90
|
+
"./rating-star.svg": "./src/images-v1/rating-star.svg",
|
|
91
|
+
"./reorder-24x24.svg": "./src/images-v1/reorder-24x24.svg",
|
|
92
|
+
"./restoredown-16x16.svg": "./src/images-v1/restoredown-16x16.svg",
|
|
93
|
+
"./search-24x24.svg": "./src/images-v1/search-24x24.svg",
|
|
94
|
+
"./smiley-rate1-24x24.svg": "./src/images-v1/smiley-rate1-24x24.svg",
|
|
95
|
+
"./smiley-rate10-24x24.svg": "./src/images-v1/smiley-rate10-24x24.svg",
|
|
96
|
+
"./smiley-rate2-24x24.svg": "./src/images-v1/smiley-rate2-24x24.svg",
|
|
97
|
+
"./smiley-rate3-24x24.svg": "./src/images-v1/smiley-rate3-24x24.svg",
|
|
98
|
+
"./smiley-rate4-24x24.svg": "./src/images-v1/smiley-rate4-24x24.svg",
|
|
99
|
+
"./smiley-rate5-24x24.svg": "./src/images-v1/smiley-rate5-24x24.svg",
|
|
100
|
+
"./smiley-rate6-24x24.svg": "./src/images-v1/smiley-rate6-24x24.svg",
|
|
101
|
+
"./smiley-rate7-24x24.svg": "./src/images-v1/smiley-rate7-24x24.svg",
|
|
102
|
+
"./smiley-rate8-24x24.svg": "./src/images-v1/smiley-rate8-24x24.svg",
|
|
103
|
+
"./smiley-rate9-24x24.svg": "./src/images-v1/smiley-rate9-24x24.svg"
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
function webpackContext(req) {
|
|
108
|
+
var id = webpackContextResolve(req);
|
|
109
|
+
return __nested_webpack_require_874__(id);
|
|
110
|
+
}
|
|
111
|
+
function webpackContextResolve(req) {
|
|
112
|
+
if(!__nested_webpack_require_874__.o(map, req)) {
|
|
113
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
114
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
115
|
+
throw e;
|
|
116
|
+
}
|
|
117
|
+
return map[req];
|
|
118
|
+
}
|
|
119
|
+
webpackContext.keys = function webpackContextKeys() {
|
|
120
|
+
return Object.keys(map);
|
|
121
|
+
};
|
|
122
|
+
webpackContext.resolve = webpackContextResolve;
|
|
123
|
+
module.exports = webpackContext;
|
|
124
|
+
webpackContext.id = "./src/images-v1 sync recursive \\.svg$";
|
|
125
|
+
|
|
126
|
+
/***/ }),
|
|
127
|
+
|
|
38
128
|
/***/ "./src/images-v1/ModernBooleanCheckChecked.svg":
|
|
39
129
|
/*!*****************************************************!*\
|
|
40
130
|
!*** ./src/images-v1/ModernBooleanCheckChecked.svg ***!
|
|
@@ -623,96 +713,6 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
623
713
|
|
|
624
714
|
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z\"></path></svg>"
|
|
625
715
|
|
|
626
|
-
/***/ }),
|
|
627
|
-
|
|
628
|
-
/***/ "./src/images-v1 sync recursive \\.svg$":
|
|
629
|
-
/*!************************************!*\
|
|
630
|
-
!*** ./src/images-v1/ sync \.svg$ ***!
|
|
631
|
-
\************************************/
|
|
632
|
-
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_45353__) => {
|
|
633
|
-
|
|
634
|
-
var map = {
|
|
635
|
-
"./ModernBooleanCheckChecked.svg": "./src/images-v1/ModernBooleanCheckChecked.svg",
|
|
636
|
-
"./ModernBooleanCheckInd.svg": "./src/images-v1/ModernBooleanCheckInd.svg",
|
|
637
|
-
"./ModernBooleanCheckUnchecked.svg": "./src/images-v1/ModernBooleanCheckUnchecked.svg",
|
|
638
|
-
"./ModernCheck.svg": "./src/images-v1/ModernCheck.svg",
|
|
639
|
-
"./ModernRadio.svg": "./src/images-v1/ModernRadio.svg",
|
|
640
|
-
"./ProgressButton.svg": "./src/images-v1/ProgressButton.svg",
|
|
641
|
-
"./RemoveFile.svg": "./src/images-v1/RemoveFile.svg",
|
|
642
|
-
"./TimerCircle.svg": "./src/images-v1/TimerCircle.svg",
|
|
643
|
-
"./add-24x24.svg": "./src/images-v1/add-24x24.svg",
|
|
644
|
-
"./arrowleft-16x16.svg": "./src/images-v1/arrowleft-16x16.svg",
|
|
645
|
-
"./arrowright-16x16.svg": "./src/images-v1/arrowright-16x16.svg",
|
|
646
|
-
"./camera-24x24.svg": "./src/images-v1/camera-24x24.svg",
|
|
647
|
-
"./camera-32x32.svg": "./src/images-v1/camera-32x32.svg",
|
|
648
|
-
"./cancel-24x24.svg": "./src/images-v1/cancel-24x24.svg",
|
|
649
|
-
"./check-16x16.svg": "./src/images-v1/check-16x16.svg",
|
|
650
|
-
"./check-24x24.svg": "./src/images-v1/check-24x24.svg",
|
|
651
|
-
"./chevrondown-24x24.svg": "./src/images-v1/chevrondown-24x24.svg",
|
|
652
|
-
"./chevronright-16x16.svg": "./src/images-v1/chevronright-16x16.svg",
|
|
653
|
-
"./clear-16x16.svg": "./src/images-v1/clear-16x16.svg",
|
|
654
|
-
"./clear-24x24.svg": "./src/images-v1/clear-24x24.svg",
|
|
655
|
-
"./close-16x16.svg": "./src/images-v1/close-16x16.svg",
|
|
656
|
-
"./close-24x24.svg": "./src/images-v1/close-24x24.svg",
|
|
657
|
-
"./collapse-16x16.svg": "./src/images-v1/collapse-16x16.svg",
|
|
658
|
-
"./collapsedetails-16x16.svg": "./src/images-v1/collapsedetails-16x16.svg",
|
|
659
|
-
"./delete-24x24.svg": "./src/images-v1/delete-24x24.svg",
|
|
660
|
-
"./drag-24x24.svg": "./src/images-v1/drag-24x24.svg",
|
|
661
|
-
"./draghorizontal-24x16.svg": "./src/images-v1/draghorizontal-24x16.svg",
|
|
662
|
-
"./expand-16x16.svg": "./src/images-v1/expand-16x16.svg",
|
|
663
|
-
"./expanddetails-16x16.svg": "./src/images-v1/expanddetails-16x16.svg",
|
|
664
|
-
"./file-72x72.svg": "./src/images-v1/file-72x72.svg",
|
|
665
|
-
"./flip-24x24.svg": "./src/images-v1/flip-24x24.svg",
|
|
666
|
-
"./folder-24x24.svg": "./src/images-v1/folder-24x24.svg",
|
|
667
|
-
"./fullsize-16x16.svg": "./src/images-v1/fullsize-16x16.svg",
|
|
668
|
-
"./image-48x48.svg": "./src/images-v1/image-48x48.svg",
|
|
669
|
-
"./loading-48x48.svg": "./src/images-v1/loading-48x48.svg",
|
|
670
|
-
"./maximize-16x16.svg": "./src/images-v1/maximize-16x16.svg",
|
|
671
|
-
"./minimize-16x16.svg": "./src/images-v1/minimize-16x16.svg",
|
|
672
|
-
"./more-24x24.svg": "./src/images-v1/more-24x24.svg",
|
|
673
|
-
"./navmenu-24x24.svg": "./src/images-v1/navmenu-24x24.svg",
|
|
674
|
-
"./noimage-48x48.svg": "./src/images-v1/noimage-48x48.svg",
|
|
675
|
-
"./ranking-arrows.svg": "./src/images-v1/ranking-arrows.svg",
|
|
676
|
-
"./rankingundefined-16x16.svg": "./src/images-v1/rankingundefined-16x16.svg",
|
|
677
|
-
"./rating-star-2.svg": "./src/images-v1/rating-star-2.svg",
|
|
678
|
-
"./rating-star-small-2.svg": "./src/images-v1/rating-star-small-2.svg",
|
|
679
|
-
"./rating-star-small.svg": "./src/images-v1/rating-star-small.svg",
|
|
680
|
-
"./rating-star.svg": "./src/images-v1/rating-star.svg",
|
|
681
|
-
"./reorder-24x24.svg": "./src/images-v1/reorder-24x24.svg",
|
|
682
|
-
"./restoredown-16x16.svg": "./src/images-v1/restoredown-16x16.svg",
|
|
683
|
-
"./search-24x24.svg": "./src/images-v1/search-24x24.svg",
|
|
684
|
-
"./smiley-rate1-24x24.svg": "./src/images-v1/smiley-rate1-24x24.svg",
|
|
685
|
-
"./smiley-rate10-24x24.svg": "./src/images-v1/smiley-rate10-24x24.svg",
|
|
686
|
-
"./smiley-rate2-24x24.svg": "./src/images-v1/smiley-rate2-24x24.svg",
|
|
687
|
-
"./smiley-rate3-24x24.svg": "./src/images-v1/smiley-rate3-24x24.svg",
|
|
688
|
-
"./smiley-rate4-24x24.svg": "./src/images-v1/smiley-rate4-24x24.svg",
|
|
689
|
-
"./smiley-rate5-24x24.svg": "./src/images-v1/smiley-rate5-24x24.svg",
|
|
690
|
-
"./smiley-rate6-24x24.svg": "./src/images-v1/smiley-rate6-24x24.svg",
|
|
691
|
-
"./smiley-rate7-24x24.svg": "./src/images-v1/smiley-rate7-24x24.svg",
|
|
692
|
-
"./smiley-rate8-24x24.svg": "./src/images-v1/smiley-rate8-24x24.svg",
|
|
693
|
-
"./smiley-rate9-24x24.svg": "./src/images-v1/smiley-rate9-24x24.svg"
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
function webpackContext(req) {
|
|
698
|
-
var id = webpackContextResolve(req);
|
|
699
|
-
return __nested_webpack_require_45353__(id);
|
|
700
|
-
}
|
|
701
|
-
function webpackContextResolve(req) {
|
|
702
|
-
if(!__nested_webpack_require_45353__.o(map, req)) {
|
|
703
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
704
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
705
|
-
throw e;
|
|
706
|
-
}
|
|
707
|
-
return map[req];
|
|
708
|
-
}
|
|
709
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
710
|
-
return Object.keys(map);
|
|
711
|
-
};
|
|
712
|
-
webpackContext.resolve = webpackContextResolve;
|
|
713
|
-
module.exports = webpackContext;
|
|
714
|
-
webpackContext.id = "./src/images-v1 sync recursive \\.svg$";
|
|
715
|
-
|
|
716
716
|
/***/ })
|
|
717
717
|
|
|
718
718
|
/******/ });
|
|
@@ -808,7 +808,7 @@ path.keys().forEach(function (key) {
|
|
|
808
808
|
/***/ (function(module) {
|
|
809
809
|
|
|
810
810
|
/*!
|
|
811
|
-
* surveyjs - Survey JavaScript library v2.0.0-rc.
|
|
811
|
+
* surveyjs - Survey JavaScript library v2.0.0-rc.5
|
|
812
812
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
813
813
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
814
814
|
*/
|
|
@@ -820,6 +820,96 @@ path.keys().forEach(function (key) {
|
|
|
820
820
|
return /******/ (() => { // webpackBootstrap
|
|
821
821
|
/******/ var __webpack_modules__ = ({
|
|
822
822
|
|
|
823
|
+
/***/ "./src/images-v2 sync recursive \\.svg$":
|
|
824
|
+
/*!************************************!*\
|
|
825
|
+
!*** ./src/images-v2/ sync \.svg$ ***!
|
|
826
|
+
\************************************/
|
|
827
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_874__) => {
|
|
828
|
+
|
|
829
|
+
var map = {
|
|
830
|
+
"./ModernBooleanCheckChecked.svg": "./src/images-v2/ModernBooleanCheckChecked.svg",
|
|
831
|
+
"./ModernBooleanCheckInd.svg": "./src/images-v2/ModernBooleanCheckInd.svg",
|
|
832
|
+
"./ModernBooleanCheckUnchecked.svg": "./src/images-v2/ModernBooleanCheckUnchecked.svg",
|
|
833
|
+
"./ModernCheck.svg": "./src/images-v2/ModernCheck.svg",
|
|
834
|
+
"./ModernRadio.svg": "./src/images-v2/ModernRadio.svg",
|
|
835
|
+
"./ProgressButton.svg": "./src/images-v2/ProgressButton.svg",
|
|
836
|
+
"./RemoveFile.svg": "./src/images-v2/RemoveFile.svg",
|
|
837
|
+
"./TimerCircle.svg": "./src/images-v2/TimerCircle.svg",
|
|
838
|
+
"./add-24x24.svg": "./src/images-v2/add-24x24.svg",
|
|
839
|
+
"./arrowleft-16x16.svg": "./src/images-v2/arrowleft-16x16.svg",
|
|
840
|
+
"./arrowright-16x16.svg": "./src/images-v2/arrowright-16x16.svg",
|
|
841
|
+
"./camera-24x24.svg": "./src/images-v2/camera-24x24.svg",
|
|
842
|
+
"./camera-32x32.svg": "./src/images-v2/camera-32x32.svg",
|
|
843
|
+
"./cancel-24x24.svg": "./src/images-v2/cancel-24x24.svg",
|
|
844
|
+
"./check-16x16.svg": "./src/images-v2/check-16x16.svg",
|
|
845
|
+
"./check-24x24.svg": "./src/images-v2/check-24x24.svg",
|
|
846
|
+
"./chevrondown-24x24.svg": "./src/images-v2/chevrondown-24x24.svg",
|
|
847
|
+
"./chevronright-16x16.svg": "./src/images-v2/chevronright-16x16.svg",
|
|
848
|
+
"./clear-16x16.svg": "./src/images-v2/clear-16x16.svg",
|
|
849
|
+
"./clear-24x24.svg": "./src/images-v2/clear-24x24.svg",
|
|
850
|
+
"./close-16x16.svg": "./src/images-v2/close-16x16.svg",
|
|
851
|
+
"./close-24x24.svg": "./src/images-v2/close-24x24.svg",
|
|
852
|
+
"./collapse-16x16.svg": "./src/images-v2/collapse-16x16.svg",
|
|
853
|
+
"./collapsedetails-16x16.svg": "./src/images-v2/collapsedetails-16x16.svg",
|
|
854
|
+
"./delete-24x24.svg": "./src/images-v2/delete-24x24.svg",
|
|
855
|
+
"./drag-24x24.svg": "./src/images-v2/drag-24x24.svg",
|
|
856
|
+
"./draghorizontal-24x16.svg": "./src/images-v2/draghorizontal-24x16.svg",
|
|
857
|
+
"./expand-16x16.svg": "./src/images-v2/expand-16x16.svg",
|
|
858
|
+
"./expanddetails-16x16.svg": "./src/images-v2/expanddetails-16x16.svg",
|
|
859
|
+
"./file-72x72.svg": "./src/images-v2/file-72x72.svg",
|
|
860
|
+
"./flip-24x24.svg": "./src/images-v2/flip-24x24.svg",
|
|
861
|
+
"./folder-24x24.svg": "./src/images-v2/folder-24x24.svg",
|
|
862
|
+
"./fullsize-16x16.svg": "./src/images-v2/fullsize-16x16.svg",
|
|
863
|
+
"./image-48x48.svg": "./src/images-v2/image-48x48.svg",
|
|
864
|
+
"./loading-48x48.svg": "./src/images-v2/loading-48x48.svg",
|
|
865
|
+
"./maximize-16x16.svg": "./src/images-v2/maximize-16x16.svg",
|
|
866
|
+
"./minimize-16x16.svg": "./src/images-v2/minimize-16x16.svg",
|
|
867
|
+
"./more-24x24.svg": "./src/images-v2/more-24x24.svg",
|
|
868
|
+
"./navmenu-24x24.svg": "./src/images-v2/navmenu-24x24.svg",
|
|
869
|
+
"./noimage-48x48.svg": "./src/images-v2/noimage-48x48.svg",
|
|
870
|
+
"./ranking-arrows.svg": "./src/images-v2/ranking-arrows.svg",
|
|
871
|
+
"./rankingundefined-16x16.svg": "./src/images-v2/rankingundefined-16x16.svg",
|
|
872
|
+
"./rating-star-2.svg": "./src/images-v2/rating-star-2.svg",
|
|
873
|
+
"./rating-star-small-2.svg": "./src/images-v2/rating-star-small-2.svg",
|
|
874
|
+
"./rating-star-small.svg": "./src/images-v2/rating-star-small.svg",
|
|
875
|
+
"./rating-star.svg": "./src/images-v2/rating-star.svg",
|
|
876
|
+
"./reorder-24x24.svg": "./src/images-v2/reorder-24x24.svg",
|
|
877
|
+
"./restoredown-16x16.svg": "./src/images-v2/restoredown-16x16.svg",
|
|
878
|
+
"./search-24x24.svg": "./src/images-v2/search-24x24.svg",
|
|
879
|
+
"./smiley-rate1-24x24.svg": "./src/images-v2/smiley-rate1-24x24.svg",
|
|
880
|
+
"./smiley-rate10-24x24.svg": "./src/images-v2/smiley-rate10-24x24.svg",
|
|
881
|
+
"./smiley-rate2-24x24.svg": "./src/images-v2/smiley-rate2-24x24.svg",
|
|
882
|
+
"./smiley-rate3-24x24.svg": "./src/images-v2/smiley-rate3-24x24.svg",
|
|
883
|
+
"./smiley-rate4-24x24.svg": "./src/images-v2/smiley-rate4-24x24.svg",
|
|
884
|
+
"./smiley-rate5-24x24.svg": "./src/images-v2/smiley-rate5-24x24.svg",
|
|
885
|
+
"./smiley-rate6-24x24.svg": "./src/images-v2/smiley-rate6-24x24.svg",
|
|
886
|
+
"./smiley-rate7-24x24.svg": "./src/images-v2/smiley-rate7-24x24.svg",
|
|
887
|
+
"./smiley-rate8-24x24.svg": "./src/images-v2/smiley-rate8-24x24.svg",
|
|
888
|
+
"./smiley-rate9-24x24.svg": "./src/images-v2/smiley-rate9-24x24.svg"
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
function webpackContext(req) {
|
|
893
|
+
var id = webpackContextResolve(req);
|
|
894
|
+
return __nested_webpack_require_874__(id);
|
|
895
|
+
}
|
|
896
|
+
function webpackContextResolve(req) {
|
|
897
|
+
if(!__nested_webpack_require_874__.o(map, req)) {
|
|
898
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
899
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
900
|
+
throw e;
|
|
901
|
+
}
|
|
902
|
+
return map[req];
|
|
903
|
+
}
|
|
904
|
+
webpackContext.keys = function webpackContextKeys() {
|
|
905
|
+
return Object.keys(map);
|
|
906
|
+
};
|
|
907
|
+
webpackContext.resolve = webpackContextResolve;
|
|
908
|
+
module.exports = webpackContext;
|
|
909
|
+
webpackContext.id = "./src/images-v2 sync recursive \\.svg$";
|
|
910
|
+
|
|
911
|
+
/***/ }),
|
|
912
|
+
|
|
823
913
|
/***/ "./src/images-v2/ModernBooleanCheckChecked.svg":
|
|
824
914
|
/*!*****************************************************!*\
|
|
825
915
|
!*** ./src/images-v2/ModernBooleanCheckChecked.svg ***!
|
|
@@ -1408,96 +1498,6 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1408
1498
|
|
|
1409
1499
|
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z\"></path></svg>"
|
|
1410
1500
|
|
|
1411
|
-
/***/ }),
|
|
1412
|
-
|
|
1413
|
-
/***/ "./src/images-v2 sync recursive \\.svg$":
|
|
1414
|
-
/*!************************************!*\
|
|
1415
|
-
!*** ./src/images-v2/ sync \.svg$ ***!
|
|
1416
|
-
\************************************/
|
|
1417
|
-
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_57734__) => {
|
|
1418
|
-
|
|
1419
|
-
var map = {
|
|
1420
|
-
"./ModernBooleanCheckChecked.svg": "./src/images-v2/ModernBooleanCheckChecked.svg",
|
|
1421
|
-
"./ModernBooleanCheckInd.svg": "./src/images-v2/ModernBooleanCheckInd.svg",
|
|
1422
|
-
"./ModernBooleanCheckUnchecked.svg": "./src/images-v2/ModernBooleanCheckUnchecked.svg",
|
|
1423
|
-
"./ModernCheck.svg": "./src/images-v2/ModernCheck.svg",
|
|
1424
|
-
"./ModernRadio.svg": "./src/images-v2/ModernRadio.svg",
|
|
1425
|
-
"./ProgressButton.svg": "./src/images-v2/ProgressButton.svg",
|
|
1426
|
-
"./RemoveFile.svg": "./src/images-v2/RemoveFile.svg",
|
|
1427
|
-
"./TimerCircle.svg": "./src/images-v2/TimerCircle.svg",
|
|
1428
|
-
"./add-24x24.svg": "./src/images-v2/add-24x24.svg",
|
|
1429
|
-
"./arrowleft-16x16.svg": "./src/images-v2/arrowleft-16x16.svg",
|
|
1430
|
-
"./arrowright-16x16.svg": "./src/images-v2/arrowright-16x16.svg",
|
|
1431
|
-
"./camera-24x24.svg": "./src/images-v2/camera-24x24.svg",
|
|
1432
|
-
"./camera-32x32.svg": "./src/images-v2/camera-32x32.svg",
|
|
1433
|
-
"./cancel-24x24.svg": "./src/images-v2/cancel-24x24.svg",
|
|
1434
|
-
"./check-16x16.svg": "./src/images-v2/check-16x16.svg",
|
|
1435
|
-
"./check-24x24.svg": "./src/images-v2/check-24x24.svg",
|
|
1436
|
-
"./chevrondown-24x24.svg": "./src/images-v2/chevrondown-24x24.svg",
|
|
1437
|
-
"./chevronright-16x16.svg": "./src/images-v2/chevronright-16x16.svg",
|
|
1438
|
-
"./clear-16x16.svg": "./src/images-v2/clear-16x16.svg",
|
|
1439
|
-
"./clear-24x24.svg": "./src/images-v2/clear-24x24.svg",
|
|
1440
|
-
"./close-16x16.svg": "./src/images-v2/close-16x16.svg",
|
|
1441
|
-
"./close-24x24.svg": "./src/images-v2/close-24x24.svg",
|
|
1442
|
-
"./collapse-16x16.svg": "./src/images-v2/collapse-16x16.svg",
|
|
1443
|
-
"./collapsedetails-16x16.svg": "./src/images-v2/collapsedetails-16x16.svg",
|
|
1444
|
-
"./delete-24x24.svg": "./src/images-v2/delete-24x24.svg",
|
|
1445
|
-
"./drag-24x24.svg": "./src/images-v2/drag-24x24.svg",
|
|
1446
|
-
"./draghorizontal-24x16.svg": "./src/images-v2/draghorizontal-24x16.svg",
|
|
1447
|
-
"./expand-16x16.svg": "./src/images-v2/expand-16x16.svg",
|
|
1448
|
-
"./expanddetails-16x16.svg": "./src/images-v2/expanddetails-16x16.svg",
|
|
1449
|
-
"./file-72x72.svg": "./src/images-v2/file-72x72.svg",
|
|
1450
|
-
"./flip-24x24.svg": "./src/images-v2/flip-24x24.svg",
|
|
1451
|
-
"./folder-24x24.svg": "./src/images-v2/folder-24x24.svg",
|
|
1452
|
-
"./fullsize-16x16.svg": "./src/images-v2/fullsize-16x16.svg",
|
|
1453
|
-
"./image-48x48.svg": "./src/images-v2/image-48x48.svg",
|
|
1454
|
-
"./loading-48x48.svg": "./src/images-v2/loading-48x48.svg",
|
|
1455
|
-
"./maximize-16x16.svg": "./src/images-v2/maximize-16x16.svg",
|
|
1456
|
-
"./minimize-16x16.svg": "./src/images-v2/minimize-16x16.svg",
|
|
1457
|
-
"./more-24x24.svg": "./src/images-v2/more-24x24.svg",
|
|
1458
|
-
"./navmenu-24x24.svg": "./src/images-v2/navmenu-24x24.svg",
|
|
1459
|
-
"./noimage-48x48.svg": "./src/images-v2/noimage-48x48.svg",
|
|
1460
|
-
"./ranking-arrows.svg": "./src/images-v2/ranking-arrows.svg",
|
|
1461
|
-
"./rankingundefined-16x16.svg": "./src/images-v2/rankingundefined-16x16.svg",
|
|
1462
|
-
"./rating-star-2.svg": "./src/images-v2/rating-star-2.svg",
|
|
1463
|
-
"./rating-star-small-2.svg": "./src/images-v2/rating-star-small-2.svg",
|
|
1464
|
-
"./rating-star-small.svg": "./src/images-v2/rating-star-small.svg",
|
|
1465
|
-
"./rating-star.svg": "./src/images-v2/rating-star.svg",
|
|
1466
|
-
"./reorder-24x24.svg": "./src/images-v2/reorder-24x24.svg",
|
|
1467
|
-
"./restoredown-16x16.svg": "./src/images-v2/restoredown-16x16.svg",
|
|
1468
|
-
"./search-24x24.svg": "./src/images-v2/search-24x24.svg",
|
|
1469
|
-
"./smiley-rate1-24x24.svg": "./src/images-v2/smiley-rate1-24x24.svg",
|
|
1470
|
-
"./smiley-rate10-24x24.svg": "./src/images-v2/smiley-rate10-24x24.svg",
|
|
1471
|
-
"./smiley-rate2-24x24.svg": "./src/images-v2/smiley-rate2-24x24.svg",
|
|
1472
|
-
"./smiley-rate3-24x24.svg": "./src/images-v2/smiley-rate3-24x24.svg",
|
|
1473
|
-
"./smiley-rate4-24x24.svg": "./src/images-v2/smiley-rate4-24x24.svg",
|
|
1474
|
-
"./smiley-rate5-24x24.svg": "./src/images-v2/smiley-rate5-24x24.svg",
|
|
1475
|
-
"./smiley-rate6-24x24.svg": "./src/images-v2/smiley-rate6-24x24.svg",
|
|
1476
|
-
"./smiley-rate7-24x24.svg": "./src/images-v2/smiley-rate7-24x24.svg",
|
|
1477
|
-
"./smiley-rate8-24x24.svg": "./src/images-v2/smiley-rate8-24x24.svg",
|
|
1478
|
-
"./smiley-rate9-24x24.svg": "./src/images-v2/smiley-rate9-24x24.svg"
|
|
1479
|
-
};
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
function webpackContext(req) {
|
|
1483
|
-
var id = webpackContextResolve(req);
|
|
1484
|
-
return __nested_webpack_require_57734__(id);
|
|
1485
|
-
}
|
|
1486
|
-
function webpackContextResolve(req) {
|
|
1487
|
-
if(!__nested_webpack_require_57734__.o(map, req)) {
|
|
1488
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
1489
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
1490
|
-
throw e;
|
|
1491
|
-
}
|
|
1492
|
-
return map[req];
|
|
1493
|
-
}
|
|
1494
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
1495
|
-
return Object.keys(map);
|
|
1496
|
-
};
|
|
1497
|
-
webpackContext.resolve = webpackContextResolve;
|
|
1498
|
-
module.exports = webpackContext;
|
|
1499
|
-
webpackContext.id = "./src/images-v2 sync recursive \\.svg$";
|
|
1500
|
-
|
|
1501
1501
|
/***/ })
|
|
1502
1502
|
|
|
1503
1503
|
/******/ });
|
|
@@ -1525,185 +1525,64 @@ webpackContext.id = "./src/images-v2 sync recursive \\.svg$";
|
|
|
1525
1525
|
/******/ // Return the exports of the module
|
|
1526
1526
|
/******/ return module.exports;
|
|
1527
1527
|
/******/ }
|
|
1528
|
-
/******/
|
|
1529
|
-
/************************************************************************/
|
|
1530
|
-
/******/ /* webpack/runtime/define property getters */
|
|
1531
|
-
/******/ (() => {
|
|
1532
|
-
/******/ // define getter functions for harmony exports
|
|
1533
|
-
/******/ __nested_webpack_require_62338__.d = (exports, definition) => {
|
|
1534
|
-
/******/ for(var key in definition) {
|
|
1535
|
-
/******/ if(__nested_webpack_require_62338__.o(definition, key) && !__nested_webpack_require_62338__.o(exports, key)) {
|
|
1536
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1537
|
-
/******/ }
|
|
1538
|
-
/******/ }
|
|
1539
|
-
/******/ };
|
|
1540
|
-
/******/ })();
|
|
1541
|
-
/******/
|
|
1542
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1543
|
-
/******/ (() => {
|
|
1544
|
-
/******/ __nested_webpack_require_62338__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
1545
|
-
/******/ })();
|
|
1546
|
-
/******/
|
|
1547
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
1548
|
-
/******/ (() => {
|
|
1549
|
-
/******/ // define __esModule on exports
|
|
1550
|
-
/******/ __nested_webpack_require_62338__.r = (exports) => {
|
|
1551
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1552
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1553
|
-
/******/ }
|
|
1554
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1555
|
-
/******/ };
|
|
1556
|
-
/******/ })();
|
|
1557
|
-
/******/
|
|
1558
|
-
/************************************************************************/
|
|
1559
|
-
var __nested_webpack_exports__ = {};
|
|
1560
|
-
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
1561
|
-
(() => {
|
|
1562
|
-
"use strict";
|
|
1563
|
-
/*!************************!*\
|
|
1564
|
-
!*** ./src/iconsV2.ts ***!
|
|
1565
|
-
\************************/
|
|
1566
|
-
__nested_webpack_require_62338__.r(__nested_webpack_exports__);
|
|
1567
|
-
/* harmony export */ __nested_webpack_require_62338__.d(__nested_webpack_exports__, {
|
|
1568
|
-
/* harmony export */ icons: () => (/* binding */ icons)
|
|
1569
|
-
/* harmony export */ });
|
|
1570
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
1571
|
-
//@ts-ignore
|
|
1572
|
-
var path = __nested_webpack_require_62338__("./src/images-v2 sync recursive \\.svg$");
|
|
1573
|
-
var icons = {};
|
|
1574
|
-
path.keys().forEach(function (key) {
|
|
1575
|
-
icons[key.substring(2, key.length - 4).toLowerCase()] = path(key);
|
|
1576
|
-
});
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
})();
|
|
1580
|
-
|
|
1581
|
-
/******/ return __nested_webpack_exports__;
|
|
1582
|
-
/******/ })()
|
|
1583
|
-
;
|
|
1584
|
-
});
|
|
1585
|
-
//# sourceMappingURL=iconsV2.js.map
|
|
1586
|
-
|
|
1587
|
-
/***/ }),
|
|
1588
|
-
|
|
1589
|
-
/***/ "./node_modules/preact/compat/dist/compat.module.js":
|
|
1590
|
-
/*!**********************************************************!*\
|
|
1591
|
-
!*** ./node_modules/preact/compat/dist/compat.module.js ***!
|
|
1592
|
-
\**********************************************************/
|
|
1593
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1594
|
-
|
|
1595
|
-
"use strict";
|
|
1596
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1597
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1598
|
-
/* harmony export */ Children: () => (/* binding */ O),
|
|
1599
|
-
/* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
|
|
1600
|
-
/* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
1601
|
-
/* harmony export */ PureComponent: () => (/* binding */ N),
|
|
1602
|
-
/* harmony export */ StrictMode: () => (/* binding */ Cn),
|
|
1603
|
-
/* harmony export */ Suspense: () => (/* binding */ P),
|
|
1604
|
-
/* harmony export */ SuspenseList: () => (/* binding */ B),
|
|
1605
|
-
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ hn),
|
|
1606
|
-
/* harmony export */ cloneElement: () => (/* binding */ _n),
|
|
1607
|
-
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
1608
|
-
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
1609
|
-
/* harmony export */ createFactory: () => (/* binding */ dn),
|
|
1610
|
-
/* harmony export */ createPortal: () => (/* binding */ $),
|
|
1611
|
-
/* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
|
|
1612
|
-
/* harmony export */ "default": () => (/* binding */ Rn),
|
|
1613
|
-
/* harmony export */ findDOMNode: () => (/* binding */ Sn),
|
|
1614
|
-
/* harmony export */ flushSync: () => (/* binding */ En),
|
|
1615
|
-
/* harmony export */ forwardRef: () => (/* binding */ D),
|
|
1616
|
-
/* harmony export */ hydrate: () => (/* binding */ tn),
|
|
1617
|
-
/* harmony export */ isElement: () => (/* binding */ xn),
|
|
1618
|
-
/* harmony export */ isFragment: () => (/* binding */ mn),
|
|
1619
|
-
/* harmony export */ isMemo: () => (/* binding */ yn),
|
|
1620
|
-
/* harmony export */ isValidElement: () => (/* binding */ pn),
|
|
1621
|
-
/* harmony export */ lazy: () => (/* binding */ z),
|
|
1622
|
-
/* harmony export */ memo: () => (/* binding */ M),
|
|
1623
|
-
/* harmony export */ render: () => (/* binding */ nn),
|
|
1624
|
-
/* harmony export */ startTransition: () => (/* binding */ R),
|
|
1625
|
-
/* harmony export */ unmountComponentAtNode: () => (/* binding */ bn),
|
|
1626
|
-
/* harmony export */ unstable_batchedUpdates: () => (/* binding */ gn),
|
|
1627
|
-
/* harmony export */ useCallback: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback),
|
|
1628
|
-
/* harmony export */ useContext: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext),
|
|
1629
|
-
/* harmony export */ useDebugValue: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue),
|
|
1630
|
-
/* harmony export */ useDeferredValue: () => (/* binding */ w),
|
|
1631
|
-
/* harmony export */ useEffect: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect),
|
|
1632
|
-
/* harmony export */ useErrorBoundary: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useErrorBoundary),
|
|
1633
|
-
/* harmony export */ useId: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId),
|
|
1634
|
-
/* harmony export */ useImperativeHandle: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle),
|
|
1635
|
-
/* harmony export */ useInsertionEffect: () => (/* binding */ I),
|
|
1636
|
-
/* harmony export */ useLayoutEffect: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect),
|
|
1637
|
-
/* harmony export */ useMemo: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo),
|
|
1638
|
-
/* harmony export */ useReducer: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer),
|
|
1639
|
-
/* harmony export */ useRef: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef),
|
|
1640
|
-
/* harmony export */ useState: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState),
|
|
1641
|
-
/* harmony export */ useSyncExternalStore: () => (/* binding */ C),
|
|
1642
|
-
/* harmony export */ useTransition: () => (/* binding */ k),
|
|
1643
|
-
/* harmony export */ version: () => (/* binding */ vn)
|
|
1644
|
-
/* harmony export */ });
|
|
1645
|
-
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "./node_modules/preact/dist/preact.module.js");
|
|
1646
|
-
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/hooks */ "./node_modules/preact/hooks/dist/hooks.module.js");
|
|
1647
|
-
function g(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function C(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({t:{__:e,u:t}}),u=r[0].t,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.u=t,x(u)&&o({t:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return x(u)&&o({t:u}),n(function(){x(u)&&o({t:u})})},[n]),e}function x(n){var t,e,r=n.u,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}function R(n){n()}function w(n){return n}function k(){return[!1,R]}var I=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function N(n,t){this.props=n,this.context=t}function M(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(N.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,N.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),T&&T(n)};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function D(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=A,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var L=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:L,forEach:L,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},F=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);F(n,t,e,r)};var U=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function V(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,t,e)})),n}function W(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return W(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function P(){this.__u=0,this.o=null,this.__b=null}function j(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function z(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function B(){this.i=null,this.l=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=j(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(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)},P.prototype.componentWillUnmount=function(){this.o=[]},P.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__u&=-33),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var H=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};function Z(n){return this.getChildContext=function(){return n.context},n.children}function Y(n){var e=this,r=n.h;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),e.v||(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)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Z,{context:e.context},n.__v),e.v)}function $(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Y,{__v:n,h:e});return r.containerInfo=e,r}(B.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),H(t,n,r)):u()};e?e(o):o()}},B.prototype.render=function(n){this.i=null,this.l=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},B.prototype.componentDidUpdate=B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){H(n,e,t)})};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,J=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K=/[A-Z0-9]/g,Q="undefined"!=typeof document,X=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function nn(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function rn(){}function un(){return this.cancelBubble}function on(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return en&&(n=en(n)),n.persist=rn,n.isPropagationStopped=un,n.isDefaultPrevented=on,n.nativeEvent=n};var cn,ln={enumerable:!1,configurable:!0,get:function(){return this.class}},fn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var 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":J.test(i)&&(i=l):l=i="oninput":o&&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=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",ln)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=q,fn&&fn(n)};var an=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){an&&an(n),cn=n.__c};var sn=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){sn&&sn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),cn=null};var hn={ReactCurrentDispatcher:{current:{readContext:function(n){return cn.__n[n.__c].props.value},useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,useDeferredValue:w,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useInsertionEffect:I,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useSyncExternalStore:C,useTransition:k}}},vn="18.3.1";function dn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function pn(n){return!!n&&n.$$typeof===q}function mn(n){return pn(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function yn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function _n(n){return pn(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function bn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function Sn(n){return n&&(n.base||1===n.nodeType&&n)||null}var gn=function(n,t){return n(t)},En=function(n,t){return n(t)},Cn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,xn=pn,Rn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:I,useTransition:k,useDeferredValue:w,useSyncExternalStore:C,startTransition:R,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"18.3.1",Children:O,render:nn,hydrate:tn,unmountComponentAtNode:bn,createPortal:$,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:dn,cloneElement:_n,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:pn,isElement:xn,isFragment:mn,isMemo:yn,findDOMNode:Sn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:N,memo:M,forwardRef:D,flushSync:En,unstable_batchedUpdates:gn,StrictMode:Cn,Suspense:P,SuspenseList:B,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hn};
|
|
1648
|
-
//# sourceMappingURL=compat.module.js.map
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
/***/ }),
|
|
1652
|
-
|
|
1653
|
-
/***/ "./node_modules/preact/dist/preact.module.js":
|
|
1654
|
-
/*!***************************************************!*\
|
|
1655
|
-
!*** ./node_modules/preact/dist/preact.module.js ***!
|
|
1656
|
-
\***************************************************/
|
|
1657
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1658
|
-
|
|
1528
|
+
/******/
|
|
1529
|
+
/************************************************************************/
|
|
1530
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1531
|
+
/******/ (() => {
|
|
1532
|
+
/******/ // define getter functions for harmony exports
|
|
1533
|
+
/******/ __nested_webpack_require_62338__.d = (exports, definition) => {
|
|
1534
|
+
/******/ for(var key in definition) {
|
|
1535
|
+
/******/ if(__nested_webpack_require_62338__.o(definition, key) && !__nested_webpack_require_62338__.o(exports, key)) {
|
|
1536
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1537
|
+
/******/ }
|
|
1538
|
+
/******/ }
|
|
1539
|
+
/******/ };
|
|
1540
|
+
/******/ })();
|
|
1541
|
+
/******/
|
|
1542
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1543
|
+
/******/ (() => {
|
|
1544
|
+
/******/ __nested_webpack_require_62338__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
1545
|
+
/******/ })();
|
|
1546
|
+
/******/
|
|
1547
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1548
|
+
/******/ (() => {
|
|
1549
|
+
/******/ // define __esModule on exports
|
|
1550
|
+
/******/ __nested_webpack_require_62338__.r = (exports) => {
|
|
1551
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1552
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1553
|
+
/******/ }
|
|
1554
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1555
|
+
/******/ };
|
|
1556
|
+
/******/ })();
|
|
1557
|
+
/******/
|
|
1558
|
+
/************************************************************************/
|
|
1559
|
+
var __nested_webpack_exports__ = {};
|
|
1560
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
1561
|
+
(() => {
|
|
1659
1562
|
"use strict";
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
/* harmony export */
|
|
1665
|
-
/* harmony export */
|
|
1666
|
-
/* harmony export */ createElement: () => (/* binding */ g),
|
|
1667
|
-
/* harmony export */ createRef: () => (/* binding */ b),
|
|
1668
|
-
/* harmony export */ h: () => (/* binding */ g),
|
|
1669
|
-
/* harmony export */ hydrate: () => (/* binding */ E),
|
|
1670
|
-
/* harmony export */ isValidElement: () => (/* binding */ t),
|
|
1671
|
-
/* harmony export */ options: () => (/* binding */ l),
|
|
1672
|
-
/* harmony export */ render: () => (/* binding */ D),
|
|
1673
|
-
/* harmony export */ toChildArray: () => (/* binding */ H)
|
|
1563
|
+
/*!************************!*\
|
|
1564
|
+
!*** ./src/iconsV2.ts ***!
|
|
1565
|
+
\************************/
|
|
1566
|
+
__nested_webpack_require_62338__.r(__nested_webpack_exports__);
|
|
1567
|
+
/* harmony export */ __nested_webpack_require_62338__.d(__nested_webpack_exports__, {
|
|
1568
|
+
/* harmony export */ icons: () => (/* binding */ icons)
|
|
1674
1569
|
/* harmony export */ });
|
|
1675
|
-
var n,l,u,t,i,r,o,e,f,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?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?++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)&&i.push(n)&&!P.__r++||r!==l.debounceRendering)&&((r=l.debounceRendering)||o)(P)}function P(){var n,u,t,r,o,f,c,s;for(i.sort(e);n=i.shift();)n.__d&&(u=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)),i.length>u&&i.sort(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=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=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,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=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,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;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&&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?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?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}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}},u=0,t=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=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,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=O(!1),a=O(!0),h=0;
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1570
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
1571
|
+
//@ts-ignore
|
|
1572
|
+
var path = __nested_webpack_require_62338__("./src/images-v2 sync recursive \\.svg$");
|
|
1573
|
+
var icons = {};
|
|
1574
|
+
path.keys().forEach(function (key) {
|
|
1575
|
+
icons[key.substring(2, key.length - 4).toLowerCase()] = path(key);
|
|
1576
|
+
});
|
|
1680
1577
|
|
|
1681
|
-
/***/ "./node_modules/preact/hooks/dist/hooks.module.js":
|
|
1682
|
-
/*!********************************************************!*\
|
|
1683
|
-
!*** ./node_modules/preact/hooks/dist/hooks.module.js ***!
|
|
1684
|
-
\********************************************************/
|
|
1685
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1686
1578
|
|
|
1687
|
-
|
|
1688
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1689
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1690
|
-
/* harmony export */ useCallback: () => (/* binding */ q),
|
|
1691
|
-
/* harmony export */ useContext: () => (/* binding */ x),
|
|
1692
|
-
/* harmony export */ useDebugValue: () => (/* binding */ P),
|
|
1693
|
-
/* harmony export */ useEffect: () => (/* binding */ y),
|
|
1694
|
-
/* harmony export */ useErrorBoundary: () => (/* binding */ b),
|
|
1695
|
-
/* harmony export */ useId: () => (/* binding */ g),
|
|
1696
|
-
/* harmony export */ useImperativeHandle: () => (/* binding */ F),
|
|
1697
|
-
/* harmony export */ useLayoutEffect: () => (/* binding */ _),
|
|
1698
|
-
/* harmony export */ useMemo: () => (/* binding */ T),
|
|
1699
|
-
/* harmony export */ useReducer: () => (/* binding */ p),
|
|
1700
|
-
/* harmony export */ useRef: () => (/* binding */ A),
|
|
1701
|
-
/* harmony export */ useState: () => (/* binding */ h)
|
|
1702
|
-
/* harmony export */ });
|
|
1703
|
-
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "./node_modules/preact/dist/preact.module.js");
|
|
1704
|
-
var t,r,u,i,o=0,f=[],c=preact__WEBPACK_IMPORTED_MODULE_0__.options,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function d(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function h(n){return o=1,p(D,n)}function p(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.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};r.u=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function y(n,u){var i=d(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r.__H.__h.push(i))}function _(n,u){var i=d(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(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 T(n,r){var u=d(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=d(t++,10),i=h();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=d(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[]}catch(t){n.__H.__h=[],c.__e(t,n.__v)}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);k&&(t=requestAnimationFrame(r))}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function B(n){var t=r;n.__c=n.__(),r=t}function C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return"function"==typeof t?t(n):t}
|
|
1705
|
-
//# sourceMappingURL=hooks.module.js.map
|
|
1579
|
+
})();
|
|
1706
1580
|
|
|
1581
|
+
/******/ return __nested_webpack_exports__;
|
|
1582
|
+
/******/ })()
|
|
1583
|
+
;
|
|
1584
|
+
});
|
|
1585
|
+
//# sourceMappingURL=iconsV2.js.map
|
|
1707
1586
|
|
|
1708
1587
|
/***/ }),
|
|
1709
1588
|
|
|
@@ -2309,9 +2188,9 @@ var SurveyActionBarItemDropdown = /** @class */ (function (_super) {
|
|
|
2309
2188
|
}
|
|
2310
2189
|
SurveyActionBarItemDropdown.prototype.renderInnerButton = function () {
|
|
2311
2190
|
var button = _super.prototype.renderInnerButton.call(this);
|
|
2312
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2191
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
2313
2192
|
button,
|
|
2314
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2193
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_popup_popup__WEBPACK_IMPORTED_MODULE_3__.Popup, { model: this.item.popupModel })));
|
|
2315
2194
|
};
|
|
2316
2195
|
SurveyActionBarItemDropdown.prototype.componentDidMount = function () {
|
|
2317
2196
|
this.viewModel = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionDropdownViewModel(this.item);
|
|
@@ -2324,7 +2203,7 @@ var SurveyActionBarItemDropdown = /** @class */ (function (_super) {
|
|
|
2324
2203
|
}(_action_bar_item__WEBPACK_IMPORTED_MODULE_4__.SurveyActionBarItem));
|
|
2325
2204
|
|
|
2326
2205
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-action-bar-item-dropdown", function (props) {
|
|
2327
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2206
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyActionBarItemDropdown, props);
|
|
2328
2207
|
});
|
|
2329
2208
|
|
|
2330
2209
|
|
|
@@ -2374,7 +2253,7 @@ var SurveyAction = /** @class */ (function (_super) {
|
|
|
2374
2253
|
__extends(SurveyAction, _super);
|
|
2375
2254
|
function SurveyAction(props) {
|
|
2376
2255
|
var _this = _super.call(this, props) || this;
|
|
2377
|
-
_this.ref = react__WEBPACK_IMPORTED_MODULE_0__
|
|
2256
|
+
_this.ref = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
2378
2257
|
return _this;
|
|
2379
2258
|
}
|
|
2380
2259
|
Object.defineProperty(SurveyAction.prototype, "item", {
|
|
@@ -2393,12 +2272,12 @@ var SurveyAction = /** @class */ (function (_super) {
|
|
|
2393
2272
|
SurveyAction.prototype.renderElement = function () {
|
|
2394
2273
|
//refactor
|
|
2395
2274
|
var itemClass = this.item.getActionRootCss();
|
|
2396
|
-
var separator = this.item.needSeparator ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2275
|
+
var separator = this.item.needSeparator ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_action_bar_separator__WEBPACK_IMPORTED_MODULE_5__.SurveyActionBarSeparator, null)) : null;
|
|
2397
2276
|
var itemComponent = _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.createElement(this.item.component || "sv-action-bar-item", {
|
|
2398
2277
|
item: this.item,
|
|
2399
2278
|
});
|
|
2400
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2401
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2279
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: itemClass, id: this.item.id, ref: this.ref },
|
|
2280
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-action__content" },
|
|
2402
2281
|
separator,
|
|
2403
2282
|
itemComponent)));
|
|
2404
2283
|
};
|
|
@@ -2411,8 +2290,8 @@ var SurveyAction = /** @class */ (function (_super) {
|
|
|
2411
2290
|
_super.prototype.componentDidMount.call(this);
|
|
2412
2291
|
this.item.updateModeCallback = function (mode, callback) {
|
|
2413
2292
|
queueMicrotask(function () {
|
|
2414
|
-
if (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2415
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2293
|
+
if (react__WEBPACK_IMPORTED_MODULE_0__.flushSync) {
|
|
2294
|
+
react__WEBPACK_IMPORTED_MODULE_0__.flushSync(function () {
|
|
2416
2295
|
_this.item.mode = mode;
|
|
2417
2296
|
});
|
|
2418
2297
|
}
|
|
@@ -2445,18 +2324,18 @@ var SurveyActionBarItem = /** @class */ (function (_super) {
|
|
|
2445
2324
|
return this.item;
|
|
2446
2325
|
};
|
|
2447
2326
|
SurveyActionBarItem.prototype.renderElement = function () {
|
|
2448
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2327
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, this.renderInnerButton());
|
|
2449
2328
|
};
|
|
2450
2329
|
SurveyActionBarItem.prototype.renderText = function () {
|
|
2451
2330
|
if (!this.item.hasTitle)
|
|
2452
2331
|
return null;
|
|
2453
2332
|
var titleClass = this.item.getActionBarItemTitleCss();
|
|
2454
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2333
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: titleClass }, this.item.title);
|
|
2455
2334
|
};
|
|
2456
2335
|
SurveyActionBarItem.prototype.renderButtonContent = function () {
|
|
2457
2336
|
var text = this.renderText();
|
|
2458
|
-
var svgIcon = !!this.item.iconName ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2459
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2337
|
+
var svgIcon = !!this.item.iconName ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_4__.SvgIcon, { className: this.item.cssClasses.itemIcon, size: this.item.iconSize, iconName: this.item.iconName, title: this.item.tooltip || this.item.title })) : null;
|
|
2338
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
2460
2339
|
svgIcon,
|
|
2461
2340
|
text));
|
|
2462
2341
|
};
|
|
@@ -2466,14 +2345,14 @@ var SurveyActionBarItem = /** @class */ (function (_super) {
|
|
|
2466
2345
|
var title = this.item.tooltip || this.item.title;
|
|
2467
2346
|
var buttonContent = this.renderButtonContent();
|
|
2468
2347
|
var tabIndex = this.item.disableTabStop ? -1 : undefined;
|
|
2469
|
-
var button = (0,_reactSurvey__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_0__
|
|
2348
|
+
var button = (0,_reactSurvey__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_0__.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 });
|
|
2470
2349
|
return button;
|
|
2471
2350
|
};
|
|
2472
2351
|
return SurveyActionBarItem;
|
|
2473
2352
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
2474
2353
|
|
|
2475
2354
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-action-bar-item", function (props) {
|
|
2476
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2355
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyActionBarItem, props);
|
|
2477
2356
|
});
|
|
2478
2357
|
|
|
2479
2358
|
|
|
@@ -2516,13 +2395,13 @@ var SurveyActionBarSeparator = /** @class */ (function (_super) {
|
|
|
2516
2395
|
}
|
|
2517
2396
|
SurveyActionBarSeparator.prototype.render = function () {
|
|
2518
2397
|
var className = "sv-action-bar-separator ".concat(this.props.cssClasses);
|
|
2519
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2398
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: className });
|
|
2520
2399
|
};
|
|
2521
2400
|
return SurveyActionBarSeparator;
|
|
2522
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
2401
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
2523
2402
|
|
|
2524
2403
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-action-bar-separator", function (props) {
|
|
2525
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2404
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyActionBarSeparator, props);
|
|
2526
2405
|
});
|
|
2527
2406
|
|
|
2528
2407
|
|
|
@@ -2572,7 +2451,7 @@ var SurveyActionBar = /** @class */ (function (_super) {
|
|
|
2572
2451
|
__extends(SurveyActionBar, _super);
|
|
2573
2452
|
function SurveyActionBar(props) {
|
|
2574
2453
|
var _this = _super.call(this, props) || this;
|
|
2575
|
-
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
2454
|
+
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
2576
2455
|
return _this;
|
|
2577
2456
|
}
|
|
2578
2457
|
Object.defineProperty(SurveyActionBar.prototype, "handleClick", {
|
|
@@ -2621,20 +2500,20 @@ var SurveyActionBar = /** @class */ (function (_super) {
|
|
|
2621
2500
|
if (!this.model.hasActions)
|
|
2622
2501
|
return null;
|
|
2623
2502
|
var items = this.renderItems();
|
|
2624
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2503
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, className: this.model.getRootCss(), onClick: this.handleClick ? function (event) {
|
|
2625
2504
|
event.stopPropagation();
|
|
2626
2505
|
} : undefined }, items));
|
|
2627
2506
|
};
|
|
2628
2507
|
SurveyActionBar.prototype.renderItems = function () {
|
|
2629
2508
|
return this.model.renderedActions.concat([]).map(function (item, itemIndex) {
|
|
2630
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2509
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_action_bar_item__WEBPACK_IMPORTED_MODULE_3__.SurveyAction, { item: item, key: item.renderedId }));
|
|
2631
2510
|
});
|
|
2632
2511
|
};
|
|
2633
2512
|
return SurveyActionBar;
|
|
2634
2513
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
2635
2514
|
|
|
2636
2515
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-action-bar", function (props) {
|
|
2637
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2516
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyActionBar, props);
|
|
2638
2517
|
});
|
|
2639
2518
|
|
|
2640
2519
|
|
|
@@ -2674,17 +2553,17 @@ var BrandInfo = /** @class */ (function (_super) {
|
|
|
2674
2553
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2675
2554
|
}
|
|
2676
2555
|
BrandInfo.prototype.render = function () {
|
|
2677
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2678
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2679
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2680
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2556
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-brand-info" },
|
|
2557
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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" },
|
|
2558
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", { src: "https://surveyjs.io/Content/Images/poweredby.svg" })),
|
|
2559
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-brand-info__text" },
|
|
2681
2560
|
"Try and see how easy it is to ",
|
|
2682
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2683
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2684
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2561
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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")),
|
|
2562
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-brand-info__terms" },
|
|
2563
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", { href: "https://surveyjs.io/TermsOfUse" }, "Terms of Use & Privacy Statement"))));
|
|
2685
2564
|
};
|
|
2686
2565
|
return BrandInfo;
|
|
2687
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
2566
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
2688
2567
|
|
|
2689
2568
|
|
|
2690
2569
|
|
|
@@ -2731,13 +2610,13 @@ var CharacterCounterComponent = /** @class */ (function (_super) {
|
|
|
2731
2610
|
return this.props.counter;
|
|
2732
2611
|
};
|
|
2733
2612
|
CharacterCounterComponent.prototype.renderElement = function () {
|
|
2734
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2613
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.props.remainingCharacterCounter }, this.props.counter.remainingCharacterCounter));
|
|
2735
2614
|
};
|
|
2736
2615
|
return CharacterCounterComponent;
|
|
2737
2616
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
2738
2617
|
|
|
2739
2618
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-character-counter", function (props) {
|
|
2740
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2619
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(CharacterCounterComponent, props);
|
|
2741
2620
|
});
|
|
2742
2621
|
|
|
2743
2622
|
|
|
@@ -2786,19 +2665,19 @@ var ComponentsContainer = /** @class */ (function (_super) {
|
|
|
2786
2665
|
return null;
|
|
2787
2666
|
}
|
|
2788
2667
|
if (!needRenderWrapper) {
|
|
2789
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2668
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, components.map(function (component) {
|
|
2790
2669
|
return _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.createElement(component.component, { survey: _this.props.survey, model: component.data, container: _this.props.container, key: component.id });
|
|
2791
2670
|
}));
|
|
2792
2671
|
}
|
|
2793
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2672
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-components-column" + " sv-components-container-" + this.props.container }, components.map(function (component) {
|
|
2794
2673
|
return _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.createElement(component.component, { survey: _this.props.survey, model: component.data, container: _this.props.container, key: component.id });
|
|
2795
2674
|
}));
|
|
2796
2675
|
};
|
|
2797
2676
|
return ComponentsContainer;
|
|
2798
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
2677
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
2799
2678
|
|
|
2800
2679
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-components-container", function (props) {
|
|
2801
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2680
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ComponentsContainer, props);
|
|
2802
2681
|
});
|
|
2803
2682
|
|
|
2804
2683
|
|
|
@@ -2854,15 +2733,15 @@ var SurveyFileChooseButton = /** @class */ (function (_super) {
|
|
|
2854
2733
|
});
|
|
2855
2734
|
SurveyFileChooseButton.prototype.render = function () {
|
|
2856
2735
|
var _this = this;
|
|
2857
|
-
return (0,_reactSurvey__WEBPACK_IMPORTED_MODULE_1__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_0__
|
|
2858
|
-
(!!this.question.cssClasses.chooseFileIconId) ? react__WEBPACK_IMPORTED_MODULE_0__
|
|
2859
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2736
|
+
return (0,_reactSurvey__WEBPACK_IMPORTED_MODULE_1__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_0__.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); } },
|
|
2737
|
+
(!!this.question.cssClasses.chooseFileIconId) ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { title: this.question.chooseButtonText, iconName: this.question.cssClasses.chooseFileIconId, size: "auto" }) : null,
|
|
2738
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, this.question.chooseButtonText)));
|
|
2860
2739
|
};
|
|
2861
2740
|
return SurveyFileChooseButton;
|
|
2862
2741
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.ReactSurveyElement));
|
|
2863
2742
|
|
|
2864
2743
|
_element_factory__WEBPACK_IMPORTED_MODULE_4__.ReactElementFactory.Instance.registerElement("sv-file-choose-btn", function (props) {
|
|
2865
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2744
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyFileChooseButton, props);
|
|
2866
2745
|
});
|
|
2867
2746
|
|
|
2868
2747
|
|
|
@@ -2923,22 +2802,22 @@ var SurveyFileItem = /** @class */ (function (_super) {
|
|
|
2923
2802
|
var _this = this;
|
|
2924
2803
|
if (!className || !val.name)
|
|
2925
2804
|
return null;
|
|
2926
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2927
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2805
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: className },
|
|
2806
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", { href: val.content, onClick: function (event) {
|
|
2928
2807
|
_this.question.doDownloadFile(event, val);
|
|
2929
2808
|
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
|
2930
2809
|
};
|
|
2931
2810
|
SurveyFileItem.prototype.renderElement = function () {
|
|
2932
2811
|
var _this = this;
|
|
2933
2812
|
var val = this.item;
|
|
2934
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2813
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.previewItem, onClick: function (event) { return _this.question.doDownloadFileFromContainer(event); } },
|
|
2935
2814
|
this.renderFileSign(this.question.cssClasses.fileSign, val),
|
|
2936
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2937
|
-
this.question.canPreviewImage(val) ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2938
|
-
val.name && !this.question.isReadOnly ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2939
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2815
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.getImageWrapperCss(val) },
|
|
2816
|
+
this.question.canPreviewImage(val) ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", { src: val.content, style: { height: this.question.imageHeight, width: this.question.imageWidth }, alt: "File preview" })) : (this.question.cssClasses.defaultImage ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: this.question.cssClasses.defaultImageIconId, size: "auto", className: this.question.cssClasses.defaultImage })) : null),
|
|
2817
|
+
val.name && !this.question.isReadOnly ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.getRemoveButtonCss(), onClick: function (event) { return _this.question.doRemoveFile(val, event); } },
|
|
2818
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.removeFile }, this.question.removeFileCaption),
|
|
2940
2819
|
(this.question.cssClasses.removeFileSvgIconId) ?
|
|
2941
|
-
(react__WEBPACK_IMPORTED_MODULE_0__
|
|
2820
|
+
(react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { title: this.question.removeFileCaption, iconName: this.question.cssClasses.removeFileSvgIconId, size: "auto", className: this.question.cssClasses.removeFileSvg })) : null)) : null),
|
|
2942
2821
|
this.renderFileSign(this.question.cssClasses.fileSignBottom, val)));
|
|
2943
2822
|
};
|
|
2944
2823
|
SurveyFileItem.prototype.canRender = function () {
|
|
@@ -3004,8 +2883,8 @@ var SurveyFilePage = /** @class */ (function (_super) {
|
|
|
3004
2883
|
});
|
|
3005
2884
|
SurveyFilePage.prototype.renderElement = function () {
|
|
3006
2885
|
var _this = this;
|
|
3007
|
-
var items = this.page.items.map(function (item, index) { return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3008
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
2886
|
+
var items = this.page.items.map(function (item, index) { return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_file_item__WEBPACK_IMPORTED_MODULE_2__.SurveyFileItem, { item: item, question: _this.question, key: index })); });
|
|
2887
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.page.css, id: this.page.id }, items));
|
|
3009
2888
|
};
|
|
3010
2889
|
return SurveyFilePage;
|
|
3011
2890
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase));
|
|
@@ -3066,16 +2945,16 @@ var SurveyFilePreview = /** @class */ (function (_super) {
|
|
|
3066
2945
|
var _this = this;
|
|
3067
2946
|
if (!className || !val.name)
|
|
3068
2947
|
return null;
|
|
3069
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3070
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
2948
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: className },
|
|
2949
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", { href: val.content, onClick: function (event) {
|
|
3071
2950
|
_this.question.doDownloadFile(event, val);
|
|
3072
2951
|
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
|
3073
2952
|
};
|
|
3074
2953
|
SurveyFilePreview.prototype.renderElement = function () {
|
|
3075
2954
|
var _this = this;
|
|
3076
|
-
var content = this.question.supportFileNavigator ? this.question.renderedPages.map(function (page, index) { return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3077
|
-
: this.question.previewValue.map(function (item, index) { return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3078
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2955
|
+
var content = this.question.supportFileNavigator ? this.question.renderedPages.map(function (page, index) { return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_file_page__WEBPACK_IMPORTED_MODULE_4__.SurveyFilePage, { page: page, question: _this.question, key: page.id })); })
|
|
2956
|
+
: this.question.previewValue.map(function (item, index) { return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_file_item__WEBPACK_IMPORTED_MODULE_3__.SurveyFileItem, { item: item, question: _this.question, key: index })); });
|
|
2957
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.fileList || undefined }, content);
|
|
3079
2958
|
};
|
|
3080
2959
|
SurveyFilePreview.prototype.canRender = function () {
|
|
3081
2960
|
return this.question.showPreviewContainer;
|
|
@@ -3084,7 +2963,7 @@ var SurveyFilePreview = /** @class */ (function (_super) {
|
|
|
3084
2963
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase));
|
|
3085
2964
|
|
|
3086
2965
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-file-preview", function (props) {
|
|
3087
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
2966
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyFilePreview, props);
|
|
3088
2967
|
});
|
|
3089
2968
|
|
|
3090
2969
|
|
|
@@ -3146,15 +3025,15 @@ var HeaderMobile = /** @class */ (function (_super) {
|
|
|
3146
3025
|
});
|
|
3147
3026
|
};
|
|
3148
3027
|
HeaderMobile.prototype.render = function () {
|
|
3149
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3150
|
-
this.model.survey.hasLogo ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3151
|
-
this.model.survey.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3152
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3153
|
-
this.model.survey.renderedHasDescription ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3154
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3028
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header--mobile" },
|
|
3029
|
+
this.model.survey.hasLogo ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__logo" }, this.renderLogoImage())) : null,
|
|
3030
|
+
this.model.survey.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.renderedTextAreaWidth } },
|
|
3031
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__.TitleElement, { element: this.model.survey }))) : null,
|
|
3032
|
+
this.model.survey.renderedHasDescription ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.renderedTextAreaWidth } },
|
|
3033
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(this.model.survey.locDescription)))) : null));
|
|
3155
3034
|
};
|
|
3156
3035
|
return HeaderMobile;
|
|
3157
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
3036
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
3158
3037
|
|
|
3159
3038
|
var HeaderCell = /** @class */ (function (_super) {
|
|
3160
3039
|
__extends(HeaderCell, _super);
|
|
@@ -3176,16 +3055,16 @@ var HeaderCell = /** @class */ (function (_super) {
|
|
|
3176
3055
|
});
|
|
3177
3056
|
};
|
|
3178
3057
|
HeaderCell.prototype.render = function () {
|
|
3179
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3180
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3181
|
-
this.model.showLogo ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3182
|
-
this.model.showTitle ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3183
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3184
|
-
this.model.showDescription ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3185
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3058
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.css, style: this.model.style },
|
|
3059
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__cell-content", style: this.model.contentStyle },
|
|
3060
|
+
this.model.showLogo ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__logo" }, this.renderLogoImage())) : null,
|
|
3061
|
+
this.model.showTitle ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
|
|
3062
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__.TitleElement, { element: this.model.survey }))) : null,
|
|
3063
|
+
this.model.showDescription ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
|
|
3064
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(this.model.survey.locDescription)))) : null)));
|
|
3186
3065
|
};
|
|
3187
3066
|
return HeaderCell;
|
|
3188
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
3067
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
3189
3068
|
|
|
3190
3069
|
var Header = /** @class */ (function (_super) {
|
|
3191
3070
|
__extends(Header, _super);
|
|
@@ -3209,13 +3088,13 @@ var Header = /** @class */ (function (_super) {
|
|
|
3209
3088
|
}
|
|
3210
3089
|
var headerContent = null;
|
|
3211
3090
|
if (this.props.survey.isMobile) {
|
|
3212
|
-
headerContent = react__WEBPACK_IMPORTED_MODULE_0__
|
|
3091
|
+
headerContent = react__WEBPACK_IMPORTED_MODULE_0__.createElement(HeaderMobile, { model: this.model });
|
|
3213
3092
|
}
|
|
3214
3093
|
else {
|
|
3215
|
-
headerContent = (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3094
|
+
headerContent = (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.contentClasses, style: { maxWidth: this.model.maxWidth } }, this.model.cells.map(function (cell, index) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(HeaderCell, { key: index, model: cell }); })));
|
|
3216
3095
|
}
|
|
3217
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3218
|
-
this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0__
|
|
3096
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.headerClasses, style: { height: this.model.renderedHeight } },
|
|
3097
|
+
this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
|
|
3219
3098
|
headerContent));
|
|
3220
3099
|
};
|
|
3221
3100
|
Header.prototype.componentDidMount = function () {
|
|
@@ -3230,7 +3109,7 @@ var Header = /** @class */ (function (_super) {
|
|
|
3230
3109
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase));
|
|
3231
3110
|
|
|
3232
3111
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-header", function (props) {
|
|
3233
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3112
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Header, props);
|
|
3234
3113
|
});
|
|
3235
3114
|
|
|
3236
3115
|
|
|
@@ -3297,10 +3176,10 @@ var ListItemContent = /** @class */ (function (_super) {
|
|
|
3297
3176
|
return null;
|
|
3298
3177
|
var text = this.renderLocString(this.item.locTitle, undefined, "locString");
|
|
3299
3178
|
var icon = (this.item.iconName) ?
|
|
3300
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3179
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: this.model.cssClasses.itemIcon, iconName: this.item.iconName, size: this.item.iconSize, "aria-label": this.item.title }) : null;
|
|
3301
3180
|
var markerIcon = (this.item.markerIconName) ?
|
|
3302
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3303
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3181
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: this.item.cssClasses.itemMarkerIcon, iconName: this.item.markerIconName, size: "auto" }) : null;
|
|
3182
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
3304
3183
|
icon,
|
|
3305
3184
|
text,
|
|
3306
3185
|
markerIcon);
|
|
@@ -3309,7 +3188,7 @@ var ListItemContent = /** @class */ (function (_super) {
|
|
|
3309
3188
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3310
3189
|
|
|
3311
3190
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-list-item-content", function (props) {
|
|
3312
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3191
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ListItemContent, props);
|
|
3313
3192
|
});
|
|
3314
3193
|
|
|
3315
3194
|
|
|
@@ -3376,15 +3255,15 @@ var ListItemGroup = /** @class */ (function (_super) {
|
|
|
3376
3255
|
if (!this.item)
|
|
3377
3256
|
return null;
|
|
3378
3257
|
var newElement = _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.createElement("sv-list-item-content", { item: this.item, key: "content" + this.item.id, model: this.model });
|
|
3379
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3258
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
3380
3259
|
newElement,
|
|
3381
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3260
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_popup_popup__WEBPACK_IMPORTED_MODULE_3__.Popup, { model: (_a = this.item) === null || _a === void 0 ? void 0 : _a.popupModel }));
|
|
3382
3261
|
};
|
|
3383
3262
|
return ListItemGroup;
|
|
3384
3263
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3385
3264
|
|
|
3386
3265
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-list-item-group", function (props) {
|
|
3387
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3266
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ListItemGroup, props);
|
|
3388
3267
|
});
|
|
3389
3268
|
|
|
3390
3269
|
|
|
@@ -3457,13 +3336,13 @@ var ListItem = /** @class */ (function (_super) {
|
|
|
3457
3336
|
var className = this.model.getItemClass(this.item);
|
|
3458
3337
|
var itemContent = this.item.component || this.model.itemComponent;
|
|
3459
3338
|
var newElement = _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });
|
|
3460
|
-
var contentWrap = react__WEBPACK_IMPORTED_MODULE_0__
|
|
3461
|
-
var separator = this.item.needSeparator ? react__WEBPACK_IMPORTED_MODULE_0__
|
|
3339
|
+
var contentWrap = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.getTooltip(), onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
|
|
3340
|
+
var separator = this.item.needSeparator ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.itemSeparator }) : null;
|
|
3462
3341
|
var isVisible = this.model.isItemVisible(this.item);
|
|
3463
3342
|
var style = {
|
|
3464
3343
|
display: isVisible ? null : "none"
|
|
3465
3344
|
};
|
|
3466
|
-
return (0,_reactSurvey__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_0__
|
|
3345
|
+
return (0,_reactSurvey__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_0__.createElement("li", { className: className, role: "option", style: style, id: this.item.elementId, "aria-selected": this.model.isItemSelected(this.item), onClick: function (event) {
|
|
3467
3346
|
_this.model.onItemClick(_this.item);
|
|
3468
3347
|
event.stopPropagation();
|
|
3469
3348
|
}, onPointerDown: function (event) { return _this.model.onPointerDown(event, _this.item); } },
|
|
@@ -3478,7 +3357,7 @@ var ListItem = /** @class */ (function (_super) {
|
|
|
3478
3357
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3479
3358
|
|
|
3480
3359
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-list-item", function (props) {
|
|
3481
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3360
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(ListItem, props);
|
|
3482
3361
|
});
|
|
3483
3362
|
|
|
3484
3363
|
|
|
@@ -3536,7 +3415,7 @@ var List = /** @class */ (function (_super) {
|
|
|
3536
3415
|
_this.state = {
|
|
3537
3416
|
filterString: _this.model.filterString || ""
|
|
3538
3417
|
};
|
|
3539
|
-
_this.listContainerRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
3418
|
+
_this.listContainerRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
3540
3419
|
return _this;
|
|
3541
3420
|
}
|
|
3542
3421
|
Object.defineProperty(List.prototype, "model", {
|
|
@@ -3574,7 +3453,7 @@ var List = /** @class */ (function (_super) {
|
|
|
3574
3453
|
}
|
|
3575
3454
|
};
|
|
3576
3455
|
List.prototype.renderElement = function () {
|
|
3577
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3456
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.root, ref: this.listContainerRef },
|
|
3578
3457
|
this.searchElementContent(),
|
|
3579
3458
|
this.emptyContent(),
|
|
3580
3459
|
this.renderList()));
|
|
@@ -3584,7 +3463,7 @@ var List = /** @class */ (function (_super) {
|
|
|
3584
3463
|
return null;
|
|
3585
3464
|
var items = this.renderItems();
|
|
3586
3465
|
var ulStyle = { display: this.model.isEmpty ? "none" : null };
|
|
3587
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3466
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul", { className: this.model.getListClass(), style: ulStyle, role: "listbox", id: this.model.elementId, onMouseDown: function (e) {
|
|
3588
3467
|
e.preventDefault();
|
|
3589
3468
|
}, onKeyDown: this.handleKeydown, onMouseMove: this.handleMouseMove }, items));
|
|
3590
3469
|
};
|
|
@@ -3598,7 +3477,7 @@ var List = /** @class */ (function (_super) {
|
|
|
3598
3477
|
return null;
|
|
3599
3478
|
}
|
|
3600
3479
|
return items.map(function (item, itemIndex) {
|
|
3601
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3480
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_list_item__WEBPACK_IMPORTED_MODULE_5__.ListItem, { model: _this.model, item: item, key: "item" + itemIndex }));
|
|
3602
3481
|
});
|
|
3603
3482
|
};
|
|
3604
3483
|
List.prototype.searchElementContent = function () {
|
|
@@ -3616,25 +3495,25 @@ var List = /** @class */ (function (_super) {
|
|
|
3616
3495
|
_this.model.goToItems(e);
|
|
3617
3496
|
};
|
|
3618
3497
|
var clearButton = this.model.showSearchClearButton && !!this.model.filterString ?
|
|
3619
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3620
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3621
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3622
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3623
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3624
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3498
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { className: this.model.cssClasses.searchClearButtonIcon, onClick: function (event) { _this.model.onClickSearchClearButton(event); } },
|
|
3499
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_4__.SvgIcon, { iconName: "icon-searchclear", size: "auto" })) : null;
|
|
3500
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.filter },
|
|
3501
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.filterIcon },
|
|
3502
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_4__.SvgIcon, { iconName: "icon-search", size: "auto" })),
|
|
3503
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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 }),
|
|
3625
3504
|
clearButton));
|
|
3626
3505
|
}
|
|
3627
3506
|
};
|
|
3628
3507
|
List.prototype.emptyContent = function () {
|
|
3629
3508
|
var style = { display: this.model.isEmpty ? null : "none" };
|
|
3630
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3631
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3509
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.emptyContainer, style: style },
|
|
3510
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.emptyText, "aria-label": this.model.emptyMessage }, this.model.emptyMessage)));
|
|
3632
3511
|
};
|
|
3633
3512
|
return List;
|
|
3634
3513
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
3635
3514
|
|
|
3636
3515
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-list", function (props) {
|
|
3637
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3516
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(List, props);
|
|
3638
3517
|
});
|
|
3639
3518
|
|
|
3640
3519
|
|
|
@@ -3758,14 +3637,14 @@ var SurveyQuestionMatrixDetailButton = /** @class */ (function (_super) {
|
|
|
3758
3637
|
var isExpanded = this.row.isDetailPanelShowing;
|
|
3759
3638
|
var ariaExpanded = isExpanded;
|
|
3760
3639
|
var ariaControls = isExpanded ? this.row.detailPanelId : undefined;
|
|
3761
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3762
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3640
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { type: "button", onClick: this.handleOnShowHideClick, className: this.question.getDetailPanelButtonCss(this.row), "aria-expanded": ariaExpanded, "aria-controls": ariaControls },
|
|
3641
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: this.question.getDetailPanelIconCss(this.row), iconName: this.question.getDetailPanelIconId(this.row), size: "auto" })));
|
|
3763
3642
|
};
|
|
3764
3643
|
return SurveyQuestionMatrixDetailButton;
|
|
3765
3644
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.ReactSurveyElement));
|
|
3766
3645
|
|
|
3767
3646
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-matrix-detail-button", function (props) {
|
|
3768
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3647
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixDetailButton, props);
|
|
3769
3648
|
});
|
|
3770
3649
|
|
|
3771
3650
|
|
|
@@ -3816,22 +3695,22 @@ var SurveyQuestionMatrixDynamicDragDropIcon = /** @class */ (function (_super) {
|
|
|
3816
3695
|
configurable: true
|
|
3817
3696
|
});
|
|
3818
3697
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderElement = function () {
|
|
3819
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3698
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null, this.renderIcon());
|
|
3820
3699
|
};
|
|
3821
3700
|
SurveyQuestionMatrixDynamicDragDropIcon.prototype.renderIcon = function () {
|
|
3822
3701
|
if (this.question.iconDragElement) {
|
|
3823
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3824
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3702
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: this.question.cssClasses.dragElementDecorator },
|
|
3703
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("use", { xlinkHref: this.question.iconDragElement })));
|
|
3825
3704
|
}
|
|
3826
3705
|
else {
|
|
3827
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3706
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.iconDrag }));
|
|
3828
3707
|
}
|
|
3829
3708
|
};
|
|
3830
3709
|
return SurveyQuestionMatrixDynamicDragDropIcon;
|
|
3831
3710
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.ReactSurveyElement));
|
|
3832
3711
|
|
|
3833
3712
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-matrix-drag-drop-icon", function (props) {
|
|
3834
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3713
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixDynamicDragDropIcon, props);
|
|
3835
3714
|
});
|
|
3836
3715
|
|
|
3837
3716
|
|
|
@@ -3895,15 +3774,15 @@ var SurveyQuestionMatrixDynamicRemoveButton = /** @class */ (function (_super) {
|
|
|
3895
3774
|
};
|
|
3896
3775
|
SurveyQuestionMatrixDynamicRemoveButton.prototype.renderElement = function () {
|
|
3897
3776
|
var removeRowText = this.renderLocString(this.question.locRemoveRowText);
|
|
3898
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3777
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { className: this.question.getRemoveRowButtonCss(), type: "button", onClick: this.handleOnRowRemoveClick, disabled: this.question.isInputReadOnly },
|
|
3899
3778
|
removeRowText,
|
|
3900
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3779
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.iconRemove })));
|
|
3901
3780
|
};
|
|
3902
3781
|
return SurveyQuestionMatrixDynamicRemoveButton;
|
|
3903
3782
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.ReactSurveyElement));
|
|
3904
3783
|
|
|
3905
3784
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-matrix-remove-button", function (props) {
|
|
3906
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3785
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixDynamicRemoveButton, props);
|
|
3907
3786
|
});
|
|
3908
3787
|
|
|
3909
3788
|
|
|
@@ -3945,7 +3824,7 @@ var MatrixRow = /** @class */ (function (_super) {
|
|
|
3945
3824
|
__extends(MatrixRow, _super);
|
|
3946
3825
|
function MatrixRow(props) {
|
|
3947
3826
|
var _this = _super.call(this, props) || this;
|
|
3948
|
-
_this.root = react__WEBPACK_IMPORTED_MODULE_0__
|
|
3827
|
+
_this.root = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
3949
3828
|
_this.onPointerDownHandler = function (event) {
|
|
3950
3829
|
_this.parentMatrix.onPointerDown(event.nativeEvent, _this.model.row);
|
|
3951
3830
|
};
|
|
@@ -3996,13 +3875,13 @@ var MatrixRow = /** @class */ (function (_super) {
|
|
|
3996
3875
|
var model = this.model;
|
|
3997
3876
|
if (!model.visible)
|
|
3998
3877
|
return null;
|
|
3999
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
3878
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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));
|
|
4000
3879
|
};
|
|
4001
3880
|
return MatrixRow;
|
|
4002
3881
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
4003
3882
|
|
|
4004
3883
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-matrix-row", function (props) {
|
|
4005
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3884
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(MatrixRow, props);
|
|
4006
3885
|
});
|
|
4007
3886
|
|
|
4008
3887
|
|
|
@@ -4061,15 +3940,15 @@ var NotifierComponent = /** @class */ (function (_super) {
|
|
|
4061
3940
|
if (!this.notifier.isDisplayed)
|
|
4062
3941
|
return null;
|
|
4063
3942
|
var style = { visibility: this.notifier.active ? "visible" : "hidden" };
|
|
4064
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4065
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4066
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
3943
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.notifier.css, style: style, role: "alert", "aria-live": "polite" },
|
|
3944
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, this.notifier.message),
|
|
3945
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_3__.SurveyActionBar, { model: this.notifier.actionBar })));
|
|
4067
3946
|
};
|
|
4068
3947
|
return NotifierComponent;
|
|
4069
3948
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase));
|
|
4070
3949
|
|
|
4071
3950
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-notifier", function (props) {
|
|
4072
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
3951
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(NotifierComponent, props);
|
|
4073
3952
|
});
|
|
4074
3953
|
|
|
4075
3954
|
|
|
@@ -4143,14 +4022,14 @@ var SurveyQuestionPanelDynamicAddButton = /** @class */ (function (_super) {
|
|
|
4143
4022
|
if (!this.question.canAddPanel)
|
|
4144
4023
|
return null;
|
|
4145
4024
|
var btnText = this.renderLocString(this.question.locAddPanelText);
|
|
4146
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4147
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4025
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { type: "button", id: this.question.addButtonId, className: this.question.getAddButtonCss(), onClick: this.handleClick },
|
|
4026
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.buttonAddText }, btnText)));
|
|
4148
4027
|
};
|
|
4149
4028
|
return SurveyQuestionPanelDynamicAddButton;
|
|
4150
4029
|
}(SurveyQuestionPanelDynamicAction));
|
|
4151
4030
|
|
|
4152
4031
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-paneldynamic-add-btn", function (props) {
|
|
4153
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4032
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicAddButton, props);
|
|
4154
4033
|
});
|
|
4155
4034
|
|
|
4156
4035
|
|
|
@@ -4200,14 +4079,14 @@ var SurveyQuestionPanelDynamicNextButton = /** @class */ (function (_super) {
|
|
|
4200
4079
|
return _this;
|
|
4201
4080
|
}
|
|
4202
4081
|
SurveyQuestionPanelDynamicNextButton.prototype.renderElement = function () {
|
|
4203
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4204
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4082
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { title: this.question.panelNextText, onClick: this.handleClick, className: this.question.getNextButtonCss() },
|
|
4083
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: this.question.cssClasses.progressBtnIcon, size: "auto" })));
|
|
4205
4084
|
};
|
|
4206
4085
|
return SurveyQuestionPanelDynamicNextButton;
|
|
4207
4086
|
}(_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_3__.SurveyQuestionPanelDynamicAction));
|
|
4208
4087
|
|
|
4209
4088
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-paneldynamic-next-btn", function (props) {
|
|
4210
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4089
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicNextButton, props);
|
|
4211
4090
|
});
|
|
4212
4091
|
|
|
4213
4092
|
|
|
@@ -4257,14 +4136,14 @@ var SurveyQuestionPanelDynamicPrevButton = /** @class */ (function (_super) {
|
|
|
4257
4136
|
return _this;
|
|
4258
4137
|
}
|
|
4259
4138
|
SurveyQuestionPanelDynamicPrevButton.prototype.renderElement = function () {
|
|
4260
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4261
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4139
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { title: this.question.panelPrevText, onClick: this.handleClick, className: this.question.getPrevButtonCss() },
|
|
4140
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: this.question.cssClasses.progressBtnIcon, size: "auto" })));
|
|
4262
4141
|
};
|
|
4263
4142
|
return SurveyQuestionPanelDynamicPrevButton;
|
|
4264
4143
|
}(_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_3__.SurveyQuestionPanelDynamicAction));
|
|
4265
4144
|
|
|
4266
4145
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-paneldynamic-prev-btn", function (props) {
|
|
4267
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4146
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicPrevButton, props);
|
|
4268
4147
|
});
|
|
4269
4148
|
|
|
4270
4149
|
|
|
@@ -4308,13 +4187,13 @@ var SurveyQuestionPanelDynamicProgressText = /** @class */ (function (_super) {
|
|
|
4308
4187
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4309
4188
|
}
|
|
4310
4189
|
SurveyQuestionPanelDynamicProgressText.prototype.renderElement = function () {
|
|
4311
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4190
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.progressText }, this.question.progressText));
|
|
4312
4191
|
};
|
|
4313
4192
|
return SurveyQuestionPanelDynamicProgressText;
|
|
4314
4193
|
}(_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_2__.SurveyQuestionPanelDynamicAction));
|
|
4315
4194
|
|
|
4316
4195
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-paneldynamic-progress-text", function (props) {
|
|
4317
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4196
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicProgressText, props);
|
|
4318
4197
|
});
|
|
4319
4198
|
|
|
4320
4199
|
|
|
@@ -4364,15 +4243,15 @@ var SurveyQuestionPanelDynamicRemoveButton = /** @class */ (function (_super) {
|
|
|
4364
4243
|
SurveyQuestionPanelDynamicRemoveButton.prototype.renderElement = function () {
|
|
4365
4244
|
var btnText = this.renderLocString(this.question.locRemovePanelText);
|
|
4366
4245
|
var id = this.question.getPanelRemoveButtonId(this.data.panel);
|
|
4367
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4368
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4369
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4246
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { id: id, className: this.question.getPanelRemoveButtonCss(), onClick: this.handleClick, type: "button" },
|
|
4247
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.buttonRemoveText }, btnText),
|
|
4248
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.iconRemove })));
|
|
4370
4249
|
};
|
|
4371
4250
|
return SurveyQuestionPanelDynamicRemoveButton;
|
|
4372
4251
|
}(_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_2__.SurveyQuestionPanelDynamicAction));
|
|
4373
4252
|
|
|
4374
4253
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-paneldynamic-remove-btn", function (props) {
|
|
4375
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4254
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicRemoveButton, props);
|
|
4376
4255
|
});
|
|
4377
4256
|
|
|
4378
4257
|
|
|
@@ -4456,7 +4335,7 @@ var PopupModal = /** @class */ (function (_super) {
|
|
|
4456
4335
|
PopupModal.prototype.renderElement = function () {
|
|
4457
4336
|
if (!this.model)
|
|
4458
4337
|
return null;
|
|
4459
|
-
return (0,react_dom__WEBPACK_IMPORTED_MODULE_0__.createPortal)(react_dom__WEBPACK_IMPORTED_MODULE_0__
|
|
4338
|
+
return (0,react_dom__WEBPACK_IMPORTED_MODULE_0__.createPortal)(react_dom__WEBPACK_IMPORTED_MODULE_0__.createElement(_popup__WEBPACK_IMPORTED_MODULE_1__.PopupContainer, { model: this.model }), this.model.container);
|
|
4460
4339
|
};
|
|
4461
4340
|
PopupModal.prototype.showDialog = function (dialogOptions, rootElement) {
|
|
4462
4341
|
var _this = this;
|
|
@@ -4534,7 +4413,7 @@ var Popup = /** @class */ (function (_super) {
|
|
|
4534
4413
|
__extends(Popup, _super);
|
|
4535
4414
|
function Popup(props) {
|
|
4536
4415
|
var _this = _super.call(this, props) || this;
|
|
4537
|
-
_this.containerRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
4416
|
+
_this.containerRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
4538
4417
|
_this.createModel();
|
|
4539
4418
|
return _this;
|
|
4540
4419
|
}
|
|
@@ -4582,18 +4461,18 @@ var Popup = /** @class */ (function (_super) {
|
|
|
4582
4461
|
this.popup.model = this.model;
|
|
4583
4462
|
var popupContainer;
|
|
4584
4463
|
if (this.model.isModal) {
|
|
4585
|
-
popupContainer = react__WEBPACK_IMPORTED_MODULE_0__
|
|
4464
|
+
popupContainer = react__WEBPACK_IMPORTED_MODULE_0__.createElement(PopupContainer, { model: this.popup });
|
|
4586
4465
|
}
|
|
4587
4466
|
else {
|
|
4588
|
-
popupContainer = react__WEBPACK_IMPORTED_MODULE_0__
|
|
4467
|
+
popupContainer = react__WEBPACK_IMPORTED_MODULE_0__.createElement(PopupDropdownContainer, { model: this.popup });
|
|
4589
4468
|
}
|
|
4590
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4469
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.containerRef }, popupContainer);
|
|
4591
4470
|
};
|
|
4592
4471
|
return Popup;
|
|
4593
4472
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
4594
4473
|
|
|
4595
4474
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-popup", function (props) {
|
|
4596
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4475
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Popup, props);
|
|
4597
4476
|
});
|
|
4598
4477
|
var PopupContainer = /** @class */ (function (_super) {
|
|
4599
4478
|
__extends(PopupContainer, _super);
|
|
@@ -4629,7 +4508,7 @@ var PopupContainer = /** @class */ (function (_super) {
|
|
|
4629
4508
|
var headerContent = !!popupBaseViewModel.title ? this.renderHeaderContent() : null;
|
|
4630
4509
|
var content = this.renderContent();
|
|
4631
4510
|
var footerContent = popupBaseViewModel.showFooter ? this.renderFooter(this.model) : null;
|
|
4632
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4511
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-popup__container", style: {
|
|
4633
4512
|
left: popupBaseViewModel.left,
|
|
4634
4513
|
top: popupBaseViewModel.top,
|
|
4635
4514
|
height: popupBaseViewModel.height,
|
|
@@ -4639,24 +4518,24 @@ var PopupContainer = /** @class */ (function (_super) {
|
|
|
4639
4518
|
_this.clickInside(ev);
|
|
4640
4519
|
} },
|
|
4641
4520
|
headerPopup,
|
|
4642
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4521
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-popup__body-content" },
|
|
4643
4522
|
headerContent,
|
|
4644
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4523
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-popup__scrolling-content" }, content),
|
|
4645
4524
|
footerContent)));
|
|
4646
4525
|
};
|
|
4647
4526
|
PopupContainer.prototype.renderHeaderContent = function () {
|
|
4648
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4527
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-popup__body-header" }, this.model.title);
|
|
4649
4528
|
};
|
|
4650
4529
|
PopupContainer.prototype.renderContent = function () {
|
|
4651
4530
|
var contentComponent = _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(this.model.contentComponentName, this.model.contentComponentData);
|
|
4652
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4531
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-popup__content" }, contentComponent);
|
|
4653
4532
|
};
|
|
4654
4533
|
PopupContainer.prototype.renderHeaderPopup = function (popupModel) {
|
|
4655
4534
|
return null;
|
|
4656
4535
|
};
|
|
4657
4536
|
PopupContainer.prototype.renderFooter = function (popuModel) {
|
|
4658
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4659
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4537
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-popup__body-footer" },
|
|
4538
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_4__.SurveyActionBar, { model: popuModel.footerToolbar })));
|
|
4660
4539
|
};
|
|
4661
4540
|
PopupContainer.prototype.render = function () {
|
|
4662
4541
|
var _this = this;
|
|
@@ -4666,7 +4545,7 @@ var PopupContainer = /** @class */ (function (_super) {
|
|
|
4666
4545
|
.append(this.model.styleClass)
|
|
4667
4546
|
.toString();
|
|
4668
4547
|
var style = { display: this.model.isVisible ? "" : "none", };
|
|
4669
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4548
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { tabIndex: -1, className: className, style: style, onClick: function (e) {
|
|
4670
4549
|
_this.model.clickOutside(e);
|
|
4671
4550
|
}, onKeyDown: this.handleKeydown }, container));
|
|
4672
4551
|
};
|
|
@@ -4688,7 +4567,7 @@ var PopupDropdownContainer = /** @class */ (function (_super) {
|
|
|
4688
4567
|
var popupDropdownModel = popupModel;
|
|
4689
4568
|
if (!popupDropdownModel)
|
|
4690
4569
|
return null;
|
|
4691
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4570
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: {
|
|
4692
4571
|
left: popupDropdownModel.pointerTarget.left,
|
|
4693
4572
|
top: popupDropdownModel.pointerTarget.top,
|
|
4694
4573
|
}, className: "sv-popup__pointer" }));
|
|
@@ -4738,16 +4617,16 @@ var QuestionErrorComponent = /** @class */ (function (_super) {
|
|
|
4738
4617
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4739
4618
|
}
|
|
4740
4619
|
QuestionErrorComponent.prototype.render = function () {
|
|
4741
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4742
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4743
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4744
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4620
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null,
|
|
4621
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.error.icon || undefined, "aria-hidden": "true" }),
|
|
4622
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.error.item || undefined },
|
|
4623
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_string_viewer__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr: this.props.error.locText }))));
|
|
4745
4624
|
};
|
|
4746
4625
|
return QuestionErrorComponent;
|
|
4747
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
4626
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
4748
4627
|
|
|
4749
4628
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-question-error", function (props) {
|
|
4750
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4629
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(QuestionErrorComponent, props);
|
|
4751
4630
|
});
|
|
4752
4631
|
|
|
4753
4632
|
|
|
@@ -4805,20 +4684,20 @@ var RatingDropdownItem = /** @class */ (function (_super) {
|
|
|
4805
4684
|
return null;
|
|
4806
4685
|
var item = this.props.item;
|
|
4807
4686
|
var description = this.renderDescription(item);
|
|
4808
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4809
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4687
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sd-rating-dropdown-item" },
|
|
4688
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: "sd-rating-dropdown-item_text" }, item.title),
|
|
4810
4689
|
description));
|
|
4811
4690
|
};
|
|
4812
4691
|
RatingDropdownItem.prototype.renderDescription = function (item) {
|
|
4813
4692
|
if (!item.description)
|
|
4814
4693
|
return null;
|
|
4815
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4694
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sd-rating-dropdown-item_description" }, this.renderLocString(item.description, undefined, "locString")));
|
|
4816
4695
|
};
|
|
4817
4696
|
return RatingDropdownItem;
|
|
4818
4697
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
4819
4698
|
|
|
4820
4699
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-rating-dropdown-item", function (props) {
|
|
4821
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4700
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(RatingDropdownItem, props);
|
|
4822
4701
|
});
|
|
4823
4702
|
|
|
4824
4703
|
|
|
@@ -4865,15 +4744,15 @@ var RatingItemSmiley = /** @class */ (function (_super) {
|
|
|
4865
4744
|
}
|
|
4866
4745
|
RatingItemSmiley.prototype.render = function () {
|
|
4867
4746
|
var _this = this;
|
|
4868
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4869
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4870
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4747
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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); } },
|
|
4748
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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 }),
|
|
4749
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: "auto", iconName: this.question.getItemSmileyIconName(this.item.itemValue), title: this.item.text })));
|
|
4871
4750
|
};
|
|
4872
4751
|
return RatingItemSmiley;
|
|
4873
4752
|
}(_rating_item__WEBPACK_IMPORTED_MODULE_3__.RatingItemBase));
|
|
4874
4753
|
|
|
4875
4754
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-rating-item-smiley", function (props) {
|
|
4876
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4755
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(RatingItemSmiley, props);
|
|
4877
4756
|
});
|
|
4878
4757
|
|
|
4879
4758
|
|
|
@@ -4920,16 +4799,16 @@ var RatingItemStar = /** @class */ (function (_super) {
|
|
|
4920
4799
|
}
|
|
4921
4800
|
RatingItemStar.prototype.render = function () {
|
|
4922
4801
|
var _this = this;
|
|
4923
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4924
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4925
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4926
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4802
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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); } },
|
|
4803
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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 }),
|
|
4804
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "sv-star", size: "auto", iconName: this.question.itemStarIcon, title: this.item.text }),
|
|
4805
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "sv-star-2", size: "auto", iconName: this.question.itemStarIconAlt, title: this.item.text })));
|
|
4927
4806
|
};
|
|
4928
4807
|
return RatingItemStar;
|
|
4929
4808
|
}(_rating_item__WEBPACK_IMPORTED_MODULE_3__.RatingItemBase));
|
|
4930
4809
|
|
|
4931
4810
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-rating-item-star", function (props) {
|
|
4932
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4811
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(RatingItemStar, props);
|
|
4933
4812
|
});
|
|
4934
4813
|
|
|
4935
4814
|
|
|
@@ -5012,9 +4891,9 @@ var RatingItem = /** @class */ (function (_super) {
|
|
|
5012
4891
|
}
|
|
5013
4892
|
RatingItem.prototype.render = function () {
|
|
5014
4893
|
var itemText = this.renderLocString(this.item.locText);
|
|
5015
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5016
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5017
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
4894
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("label", { onMouseDown: this.handleOnMouseDown, className: this.question.getItemClassByText(this.item.itemValue, this.item.text) },
|
|
4895
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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 }),
|
|
4896
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.itemText, "data-text": this.item.text }, itemText)));
|
|
5018
4897
|
};
|
|
5019
4898
|
RatingItem.prototype.componentDidMount = function () {
|
|
5020
4899
|
_super.prototype.componentDidMount.call(this);
|
|
@@ -5023,7 +4902,7 @@ var RatingItem = /** @class */ (function (_super) {
|
|
|
5023
4902
|
}(RatingItemBase));
|
|
5024
4903
|
|
|
5025
4904
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-rating-item", function (props) {
|
|
5026
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4905
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(RatingItem, props);
|
|
5027
4906
|
});
|
|
5028
4907
|
|
|
5029
4908
|
|
|
@@ -5066,13 +4945,13 @@ var Skeleton = /** @class */ (function (_super) {
|
|
|
5066
4945
|
}
|
|
5067
4946
|
Skeleton.prototype.render = function () {
|
|
5068
4947
|
var _a, _b;
|
|
5069
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
4948
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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 } }));
|
|
5070
4949
|
};
|
|
5071
4950
|
return Skeleton;
|
|
5072
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
4951
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5073
4952
|
|
|
5074
4953
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-skeleton", function (props) {
|
|
5075
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
4954
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Skeleton, props);
|
|
5076
4955
|
});
|
|
5077
4956
|
|
|
5078
4957
|
|
|
@@ -5126,13 +5005,13 @@ var SurveyNavigationButton = /** @class */ (function (_super) {
|
|
|
5126
5005
|
return this.item.isVisible;
|
|
5127
5006
|
};
|
|
5128
5007
|
SurveyNavigationButton.prototype.renderElement = function () {
|
|
5129
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5008
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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 }));
|
|
5130
5009
|
};
|
|
5131
5010
|
return SurveyNavigationButton;
|
|
5132
5011
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.ReactSurveyElement));
|
|
5133
5012
|
|
|
5134
5013
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-nav-btn", function (props) {
|
|
5135
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5014
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyNavigationButton, props);
|
|
5136
5015
|
});
|
|
5137
5016
|
|
|
5138
5017
|
|
|
@@ -5182,15 +5061,15 @@ var LogoImage = /** @class */ (function (_super) {
|
|
|
5182
5061
|
});
|
|
5183
5062
|
LogoImage.prototype.render = function () {
|
|
5184
5063
|
var content = [];
|
|
5185
|
-
content.push(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5186
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5187
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5064
|
+
content.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { key: "logo-image", className: this.survey.logoClassNames },
|
|
5065
|
+
react__WEBPACK_IMPORTED_MODULE_0__.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 } })));
|
|
5066
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, content);
|
|
5188
5067
|
};
|
|
5189
5068
|
return LogoImage;
|
|
5190
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5069
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5191
5070
|
|
|
5192
5071
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-logo-image", function (props) {
|
|
5193
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5072
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(LogoImage, props);
|
|
5194
5073
|
});
|
|
5195
5074
|
|
|
5196
5075
|
|
|
@@ -5235,7 +5114,7 @@ var SurveyHeader = /** @class */ (function (_super) {
|
|
|
5235
5114
|
function SurveyHeader(props) {
|
|
5236
5115
|
var _this = _super.call(this, props) || this;
|
|
5237
5116
|
_this.state = { changed: 0 };
|
|
5238
|
-
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
5117
|
+
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
5239
5118
|
return _this;
|
|
5240
5119
|
}
|
|
5241
5120
|
Object.defineProperty(SurveyHeader.prototype, "survey", {
|
|
@@ -5266,9 +5145,9 @@ var SurveyHeader = /** @class */ (function (_super) {
|
|
|
5266
5145
|
if (!this.survey.renderedHasTitle)
|
|
5267
5146
|
return null;
|
|
5268
5147
|
var description = _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(this.survey.locDescription);
|
|
5269
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5270
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5271
|
-
this.survey.renderedHasDescription ? react__WEBPACK_IMPORTED_MODULE_0__
|
|
5148
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.headerText, style: { maxWidth: this.survey.titleMaxWidth } },
|
|
5149
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__.TitleElement, { element: this.survey }),
|
|
5150
|
+
this.survey.renderedHasDescription ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.description }, description) : null));
|
|
5272
5151
|
};
|
|
5273
5152
|
SurveyHeader.prototype.renderLogoImage = function (isRender) {
|
|
5274
5153
|
if (!isRender)
|
|
@@ -5282,17 +5161,17 @@ var SurveyHeader = /** @class */ (function (_super) {
|
|
|
5282
5161
|
SurveyHeader.prototype.render = function () {
|
|
5283
5162
|
if (!this.survey.renderedHasHeader)
|
|
5284
5163
|
return null;
|
|
5285
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5164
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.header, ref: this.rootRef },
|
|
5286
5165
|
this.renderLogoImage(this.survey.isLogoBefore),
|
|
5287
5166
|
this.renderTitle(),
|
|
5288
5167
|
this.renderLogoImage(this.survey.isLogoAfter),
|
|
5289
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5168
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.headerClose })));
|
|
5290
5169
|
};
|
|
5291
5170
|
return SurveyHeader;
|
|
5292
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5171
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5293
5172
|
|
|
5294
5173
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("survey-header", function (props) {
|
|
5295
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5174
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyHeader, props);
|
|
5296
5175
|
});
|
|
5297
5176
|
|
|
5298
5177
|
|
|
@@ -5335,7 +5214,7 @@ var SvgIcon = /** @class */ (function (_super) {
|
|
|
5335
5214
|
__extends(SvgIcon, _super);
|
|
5336
5215
|
function SvgIcon(props) {
|
|
5337
5216
|
var _this = _super.call(this, props) || this;
|
|
5338
|
-
_this.svgIconRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
5217
|
+
_this.svgIconRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
5339
5218
|
return _this;
|
|
5340
5219
|
}
|
|
5341
5220
|
SvgIcon.prototype.updateSvg = function () {
|
|
@@ -5351,18 +5230,18 @@ var SvgIcon = /** @class */ (function (_super) {
|
|
|
5351
5230
|
className += " " + this.props.className;
|
|
5352
5231
|
}
|
|
5353
5232
|
return (this.props.iconName ?
|
|
5354
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5355
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5233
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { className: className, style: this.props.style, onClick: this.props.onClick, ref: this.svgIconRef, role: "img" },
|
|
5234
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("use", null))
|
|
5356
5235
|
: null);
|
|
5357
5236
|
};
|
|
5358
5237
|
SvgIcon.prototype.componentDidMount = function () {
|
|
5359
5238
|
this.updateSvg();
|
|
5360
5239
|
};
|
|
5361
5240
|
return SvgIcon;
|
|
5362
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5241
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5363
5242
|
|
|
5364
5243
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-svg-icon", function (props) {
|
|
5365
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5244
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SvgIcon, props);
|
|
5366
5245
|
});
|
|
5367
5246
|
|
|
5368
5247
|
|
|
@@ -5405,7 +5284,7 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
5405
5284
|
function TextAreaComponent(props) {
|
|
5406
5285
|
var _this = _super.call(this, props) || this;
|
|
5407
5286
|
_this.initialValue = _this.viewModel.getTextValue() || "";
|
|
5408
|
-
_this.textareaRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
5287
|
+
_this.textareaRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
5409
5288
|
return _this;
|
|
5410
5289
|
}
|
|
5411
5290
|
Object.defineProperty(TextAreaComponent.prototype, "viewModel", {
|
|
@@ -5431,13 +5310,13 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
5431
5310
|
};
|
|
5432
5311
|
TextAreaComponent.prototype.renderElement = function () {
|
|
5433
5312
|
var _this = this;
|
|
5434
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5313
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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 } }));
|
|
5435
5314
|
};
|
|
5436
5315
|
return TextAreaComponent;
|
|
5437
5316
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
5438
5317
|
|
|
5439
5318
|
_element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-text-area", function (props) {
|
|
5440
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5319
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(TextAreaComponent, props);
|
|
5441
5320
|
});
|
|
5442
5321
|
|
|
5443
5322
|
|
|
@@ -5500,19 +5379,19 @@ var TitleActions = /** @class */ (function (_super) {
|
|
|
5500
5379
|
configurable: true
|
|
5501
5380
|
});
|
|
5502
5381
|
TitleActions.prototype.render = function () {
|
|
5503
|
-
var titleContent = react__WEBPACK_IMPORTED_MODULE_0__
|
|
5382
|
+
var titleContent = react__WEBPACK_IMPORTED_MODULE_0__.createElement(_title_content__WEBPACK_IMPORTED_MODULE_4__.TitleContent, { element: this.element, cssClasses: this.cssClasses });
|
|
5504
5383
|
if (!this.element.hasTitleActions)
|
|
5505
5384
|
return titleContent;
|
|
5506
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5507
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5508
|
-
react__WEBPACK_IMPORTED_MODULE_0__
|
|
5385
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-title-actions" },
|
|
5386
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: "sv-title-actions__title" }, titleContent),
|
|
5387
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_3__.SurveyActionBar, { model: this.element.getTitleToolbar() })));
|
|
5509
5388
|
};
|
|
5510
5389
|
return TitleActions;
|
|
5511
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5390
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5512
5391
|
|
|
5513
5392
|
survey_core__WEBPACK_IMPORTED_MODULE_1__.RendererFactory.Instance.registerRenderer("element", "title-actions", "sv-title-actions");
|
|
5514
5393
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-title-actions", function (props) {
|
|
5515
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5394
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(TitleActions, props);
|
|
5516
5395
|
});
|
|
5517
5396
|
|
|
5518
5397
|
|
|
@@ -5571,11 +5450,11 @@ var TitleContent = /** @class */ (function (_super) {
|
|
|
5571
5450
|
if (this.element.isTitleRenderedAsString)
|
|
5572
5451
|
return _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(this.element.locTitle);
|
|
5573
5452
|
var spans = this.renderTitleSpans(this.element.getTitleOwner(), this.cssClasses);
|
|
5574
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5453
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, spans);
|
|
5575
5454
|
};
|
|
5576
5455
|
TitleContent.prototype.renderTitleSpans = function (element, cssClasses) {
|
|
5577
5456
|
var getSpaceSpan = function (key) {
|
|
5578
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5457
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { "data-key": key, key: key }, "\u00A0"));
|
|
5579
5458
|
};
|
|
5580
5459
|
var spans = [];
|
|
5581
5460
|
if (element.isRequireTextOnStart) {
|
|
@@ -5584,7 +5463,7 @@ var TitleContent = /** @class */ (function (_super) {
|
|
|
5584
5463
|
}
|
|
5585
5464
|
var questionNumber = element.no;
|
|
5586
5465
|
if (questionNumber) {
|
|
5587
|
-
spans.push(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5466
|
+
spans.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { "data-key": "q_num", key: "q_num", className: element.cssTitleNumber, style: { position: "static" }, "aria-hidden": true }, questionNumber));
|
|
5588
5467
|
spans.push(getSpaceSpan("num-sp"));
|
|
5589
5468
|
}
|
|
5590
5469
|
if (element.isRequireTextBeforeTitle) {
|
|
@@ -5599,10 +5478,10 @@ var TitleContent = /** @class */ (function (_super) {
|
|
|
5599
5478
|
return spans;
|
|
5600
5479
|
};
|
|
5601
5480
|
TitleContent.prototype.renderRequireText = function (element) {
|
|
5602
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5481
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { "data-key": "req-text", key: "req-text", className: element.cssRequiredMark, "aria-hidden": true }, element.requiredMark));
|
|
5603
5482
|
};
|
|
5604
5483
|
return TitleContent;
|
|
5605
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5484
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5606
5485
|
|
|
5607
5486
|
|
|
5608
5487
|
|
|
@@ -5659,7 +5538,7 @@ var TitleElement = /** @class */ (function (_super) {
|
|
|
5659
5538
|
if (!this.element.getCssTitleExpandableSvg())
|
|
5660
5539
|
return null;
|
|
5661
5540
|
var iconName = this.element.isExpanded ? "icon-collapse-16x16" : "icon-expand-16x16";
|
|
5662
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
5541
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: this.element.getCssTitleExpandableSvg(), iconName: iconName, size: "auto" });
|
|
5663
5542
|
};
|
|
5664
5543
|
TitleElement.prototype.render = function () {
|
|
5665
5544
|
var element = this.element;
|
|
@@ -5667,7 +5546,7 @@ var TitleElement = /** @class */ (function (_super) {
|
|
|
5667
5546
|
return null;
|
|
5668
5547
|
var ariaLabel = element.titleAriaLabel || undefined;
|
|
5669
5548
|
var titleExpandableSvg = this.renderTitleExpandableSvg();
|
|
5670
|
-
var titleContent = (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5549
|
+
var titleContent = (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_title_actions__WEBPACK_IMPORTED_MODULE_2__.TitleActions, { element: element, cssClasses: element.cssClasses }));
|
|
5671
5550
|
var onClick = undefined;
|
|
5672
5551
|
var onKeyUp = undefined;
|
|
5673
5552
|
if (element.hasTitleEvents) {
|
|
@@ -5676,12 +5555,12 @@ var TitleElement = /** @class */ (function (_super) {
|
|
|
5676
5555
|
};
|
|
5677
5556
|
}
|
|
5678
5557
|
var CustomTag = element.titleTagName;
|
|
5679
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
5558
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.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 },
|
|
5680
5559
|
titleExpandableSvg,
|
|
5681
5560
|
titleContent));
|
|
5682
5561
|
};
|
|
5683
5562
|
return TitleElement;
|
|
5684
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
5563
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
5685
5564
|
|
|
5686
5565
|
|
|
5687
5566
|
|
|
@@ -6217,16 +6096,16 @@ var SurveyElementHeader = /** @class */ (function (_super) {
|
|
|
6217
6096
|
};
|
|
6218
6097
|
SurveyElementHeader.prototype.renderElement = function () {
|
|
6219
6098
|
var element = this.element;
|
|
6220
|
-
var title = element.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0__
|
|
6099
|
+
var title = element.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_title_title_element__WEBPACK_IMPORTED_MODULE_3__.TitleElement, { element: element })) : null;
|
|
6221
6100
|
var description = element.hasDescriptionUnderTitle
|
|
6222
6101
|
? _reactquestion_element__WEBPACK_IMPORTED_MODULE_4__.SurveyElementBase.renderQuestionDescription(this.element)
|
|
6223
6102
|
: null;
|
|
6224
|
-
var additionalTitleToolbarElement = element.hasAdditionalTitleToolbar ? react__WEBPACK_IMPORTED_MODULE_0__
|
|
6103
|
+
var additionalTitleToolbarElement = element.hasAdditionalTitleToolbar ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: element.additionalTitleToolbar }) : null;
|
|
6225
6104
|
var headerStyle = { width: undefined };
|
|
6226
6105
|
if (element instanceof survey_core__WEBPACK_IMPORTED_MODULE_1__.Question) {
|
|
6227
6106
|
headerStyle.width = element.titleWidth;
|
|
6228
6107
|
}
|
|
6229
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
6108
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: element.cssHeader, onClick: function (e) { return element.clickTitleFunction && element.clickTitleFunction(e.nativeEvent); }, style: headerStyle },
|
|
6230
6109
|
title,
|
|
6231
6110
|
description,
|
|
6232
6111
|
additionalTitleToolbarElement));
|
|
@@ -6357,19 +6236,17 @@ var SurveyRowElement = /** @class */ (function (_super) {
|
|
|
6357
6236
|
el.focusIn();
|
|
6358
6237
|
}
|
|
6359
6238
|
};
|
|
6360
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: css.questionWrapper, style: element.rootStyle, "data-key":
|
|
6239
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: css.questionWrapper, style: element.rootStyle, "data-key": element.name + this.index, onFocus: focusIn, ref: this.rootRef }, innerElement));
|
|
6361
6240
|
};
|
|
6362
6241
|
SurveyRowElement.prototype.createElement = function (element, elementIndex) {
|
|
6363
|
-
var index = elementIndex ? "-" + elementIndex : 0;
|
|
6364
6242
|
if (!this.row.isNeedRender) {
|
|
6365
|
-
return _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(element.skeletonComponentName, {
|
|
6243
|
+
return _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(element.skeletonComponentName, { element: element, css: this.css, });
|
|
6366
6244
|
}
|
|
6367
6245
|
var elementType = element.getTemplate();
|
|
6368
6246
|
if (!_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.isElementRegistered(elementType)) {
|
|
6369
6247
|
elementType = "question";
|
|
6370
6248
|
}
|
|
6371
6249
|
return _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(elementType, {
|
|
6372
|
-
key: element.name + index,
|
|
6373
6250
|
element: element,
|
|
6374
6251
|
creator: this.creator,
|
|
6375
6252
|
survey: this.survey,
|
|
@@ -6835,7 +6712,7 @@ var SurveyQuestionImagePickerItem = /** @class */ (function (_super) {
|
|
|
6835
6712
|
}
|
|
6836
6713
|
var renderedItem = (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: itemClass },
|
|
6837
6714
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("label", { className: cssClasses.label },
|
|
6838
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label":
|
|
6715
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, "aria-required": this.question.ariaRequired, "aria-label": item.locText.renderedHtml, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
|
|
6839
6716
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.itemDecorator },
|
|
6840
6717
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.imageContainer },
|
|
6841
6718
|
!!this.question.cssClasses.checkedItemDecorator ?
|
|
@@ -7784,7 +7661,7 @@ var __assign = (undefined && undefined.__assign) || function () {
|
|
|
7784
7661
|
|
|
7785
7662
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.addIconsToThemeSet)("v1", survey_core_icons_iconsV1__WEBPACK_IMPORTED_MODULE_12__.icons);
|
|
7786
7663
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.addIconsToThemeSet)("v2", survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_13__.icons);
|
|
7787
|
-
survey_core__WEBPACK_IMPORTED_MODULE_1__.SvgRegistry.registerIcons(
|
|
7664
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__.SvgRegistry.registerIcons(survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_13__.icons);
|
|
7788
7665
|
var Survey = /** @class */ (function (_super) {
|
|
7789
7666
|
__extends(Survey, _super);
|
|
7790
7667
|
function Survey(props) {
|
|
@@ -8240,7 +8117,6 @@ var SurveyQuestion = /** @class */ (function (_super) {
|
|
|
8240
8117
|
var el = this.rootRef.current;
|
|
8241
8118
|
if (el && el.getAttribute("data-rendered") !== "r") {
|
|
8242
8119
|
el.setAttribute("data-rendered", "r");
|
|
8243
|
-
el.setAttribute("data-name", this.question.name);
|
|
8244
8120
|
if (this.question.afterRender) {
|
|
8245
8121
|
this.question.afterRender(el);
|
|
8246
8122
|
}
|
|
@@ -8291,7 +8167,7 @@ var SurveyQuestion = /** @class */ (function (_super) {
|
|
|
8291
8167
|
var rootStyle = question.getRootStyle();
|
|
8292
8168
|
var questionContent = this.wrapQuestionContent(this.renderQuestionContent());
|
|
8293
8169
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
8294
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
|
|
8170
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded, "data-name": question.name },
|
|
8295
8171
|
errorsAboveQuestion,
|
|
8296
8172
|
headerTop,
|
|
8297
8173
|
questionContent,
|
|
@@ -8606,12 +8482,12 @@ var SurveyQuestionButtonGroup = /** @class */ (function (_super) {
|
|
|
8606
8482
|
};
|
|
8607
8483
|
SurveyQuestionButtonGroup.prototype.renderElement = function () {
|
|
8608
8484
|
var items = this.renderItems();
|
|
8609
|
-
return react__WEBPACK_IMPORTED_MODULE_1__
|
|
8485
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.question.cssClasses.root }, items);
|
|
8610
8486
|
};
|
|
8611
8487
|
SurveyQuestionButtonGroup.prototype.renderItems = function () {
|
|
8612
8488
|
var _this = this;
|
|
8613
8489
|
return this.question.visibleChoices.map(function (item, index) {
|
|
8614
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__
|
|
8490
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(SurveyButtonGroupItem, { key: _this.question.inputId + "_" + index, item: item, question: _this.question, index: index }));
|
|
8615
8491
|
});
|
|
8616
8492
|
};
|
|
8617
8493
|
return SurveyQuestionButtonGroup;
|
|
@@ -8651,21 +8527,21 @@ var SurveyButtonGroupItem = /** @class */ (function (_super) {
|
|
|
8651
8527
|
var icon = this.renderIcon();
|
|
8652
8528
|
var input = this.renderInput();
|
|
8653
8529
|
var caption = this.renderCaption();
|
|
8654
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__
|
|
8530
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("label", { role: "radio", className: this.model.css.label, title: this.model.caption.renderedHtml },
|
|
8655
8531
|
input,
|
|
8656
|
-
react__WEBPACK_IMPORTED_MODULE_1__
|
|
8532
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.model.css.decorator },
|
|
8657
8533
|
icon,
|
|
8658
8534
|
caption)));
|
|
8659
8535
|
};
|
|
8660
8536
|
SurveyButtonGroupItem.prototype.renderIcon = function () {
|
|
8661
8537
|
if (!!this.model.iconName) {
|
|
8662
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__
|
|
8538
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: this.model.css.icon, iconName: this.model.iconName, size: this.model.iconSize || 24 }));
|
|
8663
8539
|
}
|
|
8664
8540
|
return null;
|
|
8665
8541
|
};
|
|
8666
8542
|
SurveyButtonGroupItem.prototype.renderInput = function () {
|
|
8667
8543
|
var _this = this;
|
|
8668
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__
|
|
8544
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.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 () {
|
|
8669
8545
|
_this.model.onChange();
|
|
8670
8546
|
}, "aria-required": this.model.isRequired, "aria-label": this.model.caption.renderedHtml, "aria-invalid": this.model.hasErrors, "aria-errormessage": this.model.describedBy, role: "radio" }));
|
|
8671
8547
|
};
|
|
@@ -8673,7 +8549,7 @@ var SurveyButtonGroupItem = /** @class */ (function (_super) {
|
|
|
8673
8549
|
if (!this.model.showCaption)
|
|
8674
8550
|
return null;
|
|
8675
8551
|
var caption = this.renderLocString(this.model.caption);
|
|
8676
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__
|
|
8552
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: this.model.css.caption, title: this.model.caption.renderedHtml }, caption));
|
|
8677
8553
|
};
|
|
8678
8554
|
return SurveyButtonGroupItem;
|
|
8679
8555
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_0__.SurveyElementBase));
|
|
@@ -12268,9 +12144,7 @@ var SurveyRow = /** @class */ (function (_super) {
|
|
|
12268
12144
|
SurveyRow.prototype.renderElementContent = function () {
|
|
12269
12145
|
var _this = this;
|
|
12270
12146
|
var elements = this.row.visibleElements.map(function (element, elementIndex) {
|
|
12271
|
-
|
|
12272
|
-
var key = element.name + index;
|
|
12273
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_element__WEBPACK_IMPORTED_MODULE_2__.SurveyRowElement, { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: key }));
|
|
12147
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_element__WEBPACK_IMPORTED_MODULE_2__.SurveyRowElement, { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: element.id }));
|
|
12274
12148
|
});
|
|
12275
12149
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, className: this.row.getRowCss() }, elements));
|
|
12276
12150
|
};
|
|
@@ -12506,15 +12380,15 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
12506
12380
|
}
|
|
12507
12381
|
if (this.locStr.hasHtml) {
|
|
12508
12382
|
var htmlValue = { __html: this.locStr.renderedHtml };
|
|
12509
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
12383
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: "sv-string-editor", contentEditable: "true", suppressContentEditableWarning: true, style: this.style, dangerouslySetInnerHTML: htmlValue, onBlur: this.onInput, onClick: this.onClick }));
|
|
12510
12384
|
}
|
|
12511
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__
|
|
12385
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: "sv-string-editor", contentEditable: "true", suppressContentEditableWarning: true, style: this.style, onBlur: this.onInput, onClick: this.onClick }, this.locStr.renderedHtml));
|
|
12512
12386
|
};
|
|
12513
12387
|
return SurveyLocStringEditor;
|
|
12514
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
12388
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
12515
12389
|
|
|
12516
12390
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement(survey_core__WEBPACK_IMPORTED_MODULE_1__.LocalizableString.editableRenderer, function (props) {
|
|
12517
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
12391
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyLocStringEditor, props);
|
|
12518
12392
|
});
|
|
12519
12393
|
|
|
12520
12394
|
|
|
@@ -12562,7 +12436,7 @@ var SurveyLocStringViewer = /** @class */ (function (_super) {
|
|
|
12562
12436
|
return;
|
|
12563
12437
|
_this.setState({ changed: !!_this.state && _this.state.changed ? _this.state.changed + 1 : 1 });
|
|
12564
12438
|
};
|
|
12565
|
-
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
12439
|
+
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
12566
12440
|
return _this;
|
|
12567
12441
|
}
|
|
12568
12442
|
Object.defineProperty(SurveyLocStringViewer.prototype, "locStr", {
|
|
@@ -12610,15 +12484,15 @@ var SurveyLocStringViewer = /** @class */ (function (_super) {
|
|
|
12610
12484
|
var className = this.locStr.allowLineBreaks ? "sv-string-viewer sv-string-viewer--multiline" : "sv-string-viewer";
|
|
12611
12485
|
if (this.locStr.hasHtml) {
|
|
12612
12486
|
var htmlValue = { __html: this.locStr.renderedHtml };
|
|
12613
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
12487
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { ref: this.rootRef, className: className, style: this.style, dangerouslySetInnerHTML: htmlValue });
|
|
12614
12488
|
}
|
|
12615
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
12489
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { ref: this.rootRef, className: className, style: this.style }, this.locStr.renderedHtml);
|
|
12616
12490
|
};
|
|
12617
12491
|
return SurveyLocStringViewer;
|
|
12618
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
12492
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
12619
12493
|
|
|
12620
12494
|
_element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement(survey_core__WEBPACK_IMPORTED_MODULE_1__.LocalizableString.defaultRenderer, function (props) {
|
|
12621
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
12495
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyLocStringViewer, props);
|
|
12622
12496
|
});
|
|
12623
12497
|
|
|
12624
12498
|
|
|
@@ -12664,7 +12538,7 @@ var SvgBundleComponent = /** @class */ (function (_super) {
|
|
|
12664
12538
|
_this.containerRef.current.innerHTML = survey_core__WEBPACK_IMPORTED_MODULE_1__.SvgRegistry.iconsRenderedHtml();
|
|
12665
12539
|
}
|
|
12666
12540
|
};
|
|
12667
|
-
_this.containerRef = react__WEBPACK_IMPORTED_MODULE_0__
|
|
12541
|
+
_this.containerRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
|
|
12668
12542
|
return _this;
|
|
12669
12543
|
}
|
|
12670
12544
|
SvgBundleComponent.prototype.componentDidMount = function () {
|
|
@@ -12678,10 +12552,10 @@ var SvgBundleComponent = /** @class */ (function (_super) {
|
|
|
12678
12552
|
var svgStyle = {
|
|
12679
12553
|
display: "none"
|
|
12680
12554
|
};
|
|
12681
|
-
return react__WEBPACK_IMPORTED_MODULE_0__
|
|
12555
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", { style: svgStyle, id: "sv-icon-holder-global-container", ref: this.containerRef });
|
|
12682
12556
|
};
|
|
12683
12557
|
return SvgBundleComponent;
|
|
12684
|
-
}(react__WEBPACK_IMPORTED_MODULE_0__
|
|
12558
|
+
}(react__WEBPACK_IMPORTED_MODULE_0__.Component));
|
|
12685
12559
|
|
|
12686
12560
|
|
|
12687
12561
|
|
|
@@ -12872,14 +12746,124 @@ var SurveyQuestionTagboxItem = /** @class */ (function (_super) {
|
|
|
12872
12746
|
|
|
12873
12747
|
/***/ }),
|
|
12874
12748
|
|
|
12875
|
-
/***/ "
|
|
12876
|
-
|
|
12877
|
-
!***
|
|
12878
|
-
|
|
12879
|
-
/***/ ((
|
|
12749
|
+
/***/ "./node_modules/preact/compat/dist/compat.module.js":
|
|
12750
|
+
/*!**********************************************************!*\
|
|
12751
|
+
!*** ./node_modules/preact/compat/dist/compat.module.js ***!
|
|
12752
|
+
\**********************************************************/
|
|
12753
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12880
12754
|
|
|
12881
12755
|
"use strict";
|
|
12882
|
-
|
|
12756
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12757
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12758
|
+
/* harmony export */ Children: () => (/* binding */ O),
|
|
12759
|
+
/* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
|
|
12760
|
+
/* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
12761
|
+
/* harmony export */ PureComponent: () => (/* binding */ N),
|
|
12762
|
+
/* harmony export */ StrictMode: () => (/* binding */ Cn),
|
|
12763
|
+
/* harmony export */ Suspense: () => (/* binding */ P),
|
|
12764
|
+
/* harmony export */ SuspenseList: () => (/* binding */ B),
|
|
12765
|
+
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ hn),
|
|
12766
|
+
/* harmony export */ cloneElement: () => (/* binding */ _n),
|
|
12767
|
+
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
12768
|
+
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
12769
|
+
/* harmony export */ createFactory: () => (/* binding */ dn),
|
|
12770
|
+
/* harmony export */ createPortal: () => (/* binding */ $),
|
|
12771
|
+
/* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
|
|
12772
|
+
/* harmony export */ "default": () => (/* binding */ Rn),
|
|
12773
|
+
/* harmony export */ findDOMNode: () => (/* binding */ Sn),
|
|
12774
|
+
/* harmony export */ flushSync: () => (/* binding */ En),
|
|
12775
|
+
/* harmony export */ forwardRef: () => (/* binding */ D),
|
|
12776
|
+
/* harmony export */ hydrate: () => (/* binding */ tn),
|
|
12777
|
+
/* harmony export */ isElement: () => (/* binding */ xn),
|
|
12778
|
+
/* harmony export */ isFragment: () => (/* binding */ mn),
|
|
12779
|
+
/* harmony export */ isMemo: () => (/* binding */ yn),
|
|
12780
|
+
/* harmony export */ isValidElement: () => (/* binding */ pn),
|
|
12781
|
+
/* harmony export */ lazy: () => (/* binding */ z),
|
|
12782
|
+
/* harmony export */ memo: () => (/* binding */ M),
|
|
12783
|
+
/* harmony export */ render: () => (/* binding */ nn),
|
|
12784
|
+
/* harmony export */ startTransition: () => (/* binding */ R),
|
|
12785
|
+
/* harmony export */ unmountComponentAtNode: () => (/* binding */ bn),
|
|
12786
|
+
/* harmony export */ unstable_batchedUpdates: () => (/* binding */ gn),
|
|
12787
|
+
/* harmony export */ useCallback: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback),
|
|
12788
|
+
/* harmony export */ useContext: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext),
|
|
12789
|
+
/* harmony export */ useDebugValue: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue),
|
|
12790
|
+
/* harmony export */ useDeferredValue: () => (/* binding */ w),
|
|
12791
|
+
/* harmony export */ useEffect: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect),
|
|
12792
|
+
/* harmony export */ useErrorBoundary: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useErrorBoundary),
|
|
12793
|
+
/* harmony export */ useId: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId),
|
|
12794
|
+
/* harmony export */ useImperativeHandle: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle),
|
|
12795
|
+
/* harmony export */ useInsertionEffect: () => (/* binding */ I),
|
|
12796
|
+
/* harmony export */ useLayoutEffect: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect),
|
|
12797
|
+
/* harmony export */ useMemo: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo),
|
|
12798
|
+
/* harmony export */ useReducer: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer),
|
|
12799
|
+
/* harmony export */ useRef: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef),
|
|
12800
|
+
/* harmony export */ useState: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState),
|
|
12801
|
+
/* harmony export */ useSyncExternalStore: () => (/* binding */ C),
|
|
12802
|
+
/* harmony export */ useTransition: () => (/* binding */ k),
|
|
12803
|
+
/* harmony export */ version: () => (/* binding */ vn)
|
|
12804
|
+
/* harmony export */ });
|
|
12805
|
+
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "./node_modules/preact/dist/preact.module.js");
|
|
12806
|
+
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/hooks */ "./node_modules/preact/hooks/dist/hooks.module.js");
|
|
12807
|
+
function g(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function C(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({t:{__:e,u:t}}),u=r[0].t,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.u=t,x(u)&&o({t:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return x(u)&&o({t:u}),n(function(){x(u)&&o({t:u})})},[n]),e}function x(n){var t,e,r=n.u,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}function R(n){n()}function w(n){return n}function k(){return[!1,R]}var I=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function N(n,t){this.props=n,this.context=t}function M(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(N.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,N.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),T&&T(n)};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function D(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=A,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var L=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:L,forEach:L,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},F=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);F(n,t,e,r)};var U=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function V(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,t,e)})),n}function W(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return W(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function P(){this.__u=0,this.o=null,this.__b=null}function j(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function z(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function B(){this.i=null,this.l=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),U&&U(n)},(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(e);var u=j(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(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)},P.prototype.componentWillUnmount=function(){this.o=[]},P.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__u&=-33),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var H=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};function Z(n){return this.getChildContext=function(){return n.context},n.children}function Y(n){var e=this,r=n.h;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==r&&e.componentWillUnmount(),e.v||(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)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Z,{context:e.context},n.__v),e.v)}function $(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(Y,{__v:n,h:e});return r.containerInfo=e,r}(B.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=j(t.__v),r=t.l.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),H(t,n,r)):u()};e?e(o):o()}},B.prototype.render=function(n){this.i=null,this.l=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},B.prototype.componentDidUpdate=B.prototype.componentDidMount=function(){var n=this;this.l.forEach(function(t,e){H(n,e,t)})};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,J=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K=/[A-Z0-9]/g,Q="undefined"!=typeof document,X=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function nn(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function tn(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function rn(){}function un(){return this.cancelBubble}function on(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return en&&(n=en(n)),n.persist=rn,n.isPropagationStopped=un,n.isDefaultPrevented=on,n.nativeEvent=n};var cn,ln={enumerable:!1,configurable:!0,get:function(){return this.class}},fn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var 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":J.test(i)&&(i=l):l=i="oninput":o&&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=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",ln)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=q,fn&&fn(n)};var an=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){an&&an(n),cn=n.__c};var sn=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){sn&&sn(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),cn=null};var hn={ReactCurrentDispatcher:{current:{readContext:function(n){return cn.__n[n.__c].props.value},useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,useDeferredValue:w,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useInsertionEffect:I,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useSyncExternalStore:C,useTransition:k}}},vn="18.3.1";function dn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function pn(n){return!!n&&n.$$typeof===q}function mn(n){return pn(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function yn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function _n(n){return pn(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function bn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function Sn(n){return n&&(n.base||1===n.nodeType&&n)||null}var gn=function(n,t){return n(t)},En=function(n,t){return n(t)},Cn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,xn=pn,Rn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:I,useTransition:k,useDeferredValue:w,useSyncExternalStore:C,startTransition:R,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"18.3.1",Children:O,render:nn,hydrate:tn,unmountComponentAtNode:bn,createPortal:$,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:dn,cloneElement:_n,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:pn,isElement:xn,isFragment:mn,isMemo:yn,findDOMNode:Sn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:N,memo:M,forwardRef:D,flushSync:En,unstable_batchedUpdates:gn,StrictMode:Cn,Suspense:P,SuspenseList:B,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:hn};
|
|
12808
|
+
//# sourceMappingURL=compat.module.js.map
|
|
12809
|
+
|
|
12810
|
+
|
|
12811
|
+
/***/ }),
|
|
12812
|
+
|
|
12813
|
+
/***/ "./node_modules/preact/dist/preact.module.js":
|
|
12814
|
+
/*!***************************************************!*\
|
|
12815
|
+
!*** ./node_modules/preact/dist/preact.module.js ***!
|
|
12816
|
+
\***************************************************/
|
|
12817
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12818
|
+
|
|
12819
|
+
"use strict";
|
|
12820
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12821
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12822
|
+
/* harmony export */ Component: () => (/* binding */ x),
|
|
12823
|
+
/* harmony export */ Fragment: () => (/* binding */ k),
|
|
12824
|
+
/* harmony export */ cloneElement: () => (/* binding */ G),
|
|
12825
|
+
/* harmony export */ createContext: () => (/* binding */ J),
|
|
12826
|
+
/* harmony export */ createElement: () => (/* binding */ g),
|
|
12827
|
+
/* harmony export */ createRef: () => (/* binding */ b),
|
|
12828
|
+
/* harmony export */ h: () => (/* binding */ g),
|
|
12829
|
+
/* harmony export */ hydrate: () => (/* binding */ E),
|
|
12830
|
+
/* harmony export */ isValidElement: () => (/* binding */ t),
|
|
12831
|
+
/* harmony export */ options: () => (/* binding */ l),
|
|
12832
|
+
/* harmony export */ render: () => (/* binding */ D),
|
|
12833
|
+
/* harmony export */ toChildArray: () => (/* binding */ H)
|
|
12834
|
+
/* harmony export */ });
|
|
12835
|
+
var n,l,u,t,i,r,o,e,f,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?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?++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)&&i.push(n)&&!P.__r++||r!==l.debounceRendering)&&((r=l.debounceRendering)||o)(P)}function P(){var n,u,t,r,o,f,c,s;for(i.sort(e);n=i.shift();)n.__d&&(u=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)),i.length>u&&i.sort(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=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=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,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=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,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;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&&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?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?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}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}},u=0,t=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=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,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=O(!1),a=O(!0),h=0;
|
|
12836
|
+
//# sourceMappingURL=preact.module.js.map
|
|
12837
|
+
|
|
12838
|
+
|
|
12839
|
+
/***/ }),
|
|
12840
|
+
|
|
12841
|
+
/***/ "./node_modules/preact/hooks/dist/hooks.module.js":
|
|
12842
|
+
/*!********************************************************!*\
|
|
12843
|
+
!*** ./node_modules/preact/hooks/dist/hooks.module.js ***!
|
|
12844
|
+
\********************************************************/
|
|
12845
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12846
|
+
|
|
12847
|
+
"use strict";
|
|
12848
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12849
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12850
|
+
/* harmony export */ useCallback: () => (/* binding */ q),
|
|
12851
|
+
/* harmony export */ useContext: () => (/* binding */ x),
|
|
12852
|
+
/* harmony export */ useDebugValue: () => (/* binding */ P),
|
|
12853
|
+
/* harmony export */ useEffect: () => (/* binding */ y),
|
|
12854
|
+
/* harmony export */ useErrorBoundary: () => (/* binding */ b),
|
|
12855
|
+
/* harmony export */ useId: () => (/* binding */ g),
|
|
12856
|
+
/* harmony export */ useImperativeHandle: () => (/* binding */ F),
|
|
12857
|
+
/* harmony export */ useLayoutEffect: () => (/* binding */ _),
|
|
12858
|
+
/* harmony export */ useMemo: () => (/* binding */ T),
|
|
12859
|
+
/* harmony export */ useReducer: () => (/* binding */ p),
|
|
12860
|
+
/* harmony export */ useRef: () => (/* binding */ A),
|
|
12861
|
+
/* harmony export */ useState: () => (/* binding */ h)
|
|
12862
|
+
/* harmony export */ });
|
|
12863
|
+
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "./node_modules/preact/dist/preact.module.js");
|
|
12864
|
+
var t,r,u,i,o=0,f=[],c=preact__WEBPACK_IMPORTED_MODULE_0__.options,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function d(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function h(n){return o=1,p(D,n)}function p(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.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};r.u=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function y(n,u){var i=d(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r.__H.__h.push(i))}function _(n,u){var i=d(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(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 T(n,r){var u=d(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=d(t++,10),i=h();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=d(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[]}catch(t){n.__H.__h=[],c.__e(t,n.__v)}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);k&&(t=requestAnimationFrame(r))}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function B(n){var t=r;n.__c=n.__(),r=t}function C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return"function"==typeof t?t(n):t}
|
|
12865
|
+
//# sourceMappingURL=hooks.module.js.map
|
|
12866
|
+
|
|
12883
12867
|
|
|
12884
12868
|
/***/ }),
|
|
12885
12869
|
|
|
@@ -12894,6 +12878,17 @@ if(typeof __WEBPACK_EXTERNAL_MODULE_jquery__ === 'undefined') { var e = new Erro
|
|
|
12894
12878
|
|
|
12895
12879
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
|
12896
12880
|
|
|
12881
|
+
/***/ }),
|
|
12882
|
+
|
|
12883
|
+
/***/ "survey-core":
|
|
12884
|
+
/*!*********************************************************************************************************!*\
|
|
12885
|
+
!*** external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"} ***!
|
|
12886
|
+
\*********************************************************************************************************/
|
|
12887
|
+
/***/ ((module) => {
|
|
12888
|
+
|
|
12889
|
+
"use strict";
|
|
12890
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;
|
|
12891
|
+
|
|
12897
12892
|
/***/ })
|
|
12898
12893
|
|
|
12899
12894
|
/******/ });
|
|
@@ -13204,7 +13199,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
13204
13199
|
|
|
13205
13200
|
|
|
13206
13201
|
|
|
13207
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.0-rc.
|
|
13202
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.0-rc.5"), "survey-js-ui");
|
|
13208
13203
|
|
|
13209
13204
|
})();
|
|
13210
13205
|
|