survey-js-ui 2.0.5 → 2.0.6

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/survey-js-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.5
2
+ * surveyjs - Survey JavaScript library v2.0.6
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.5
26
+ * surveyjs - Survey JavaScript library v2.0.6
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
  */
@@ -66,9 +66,11 @@ var map = {
66
66
  "./close-24x24.svg": "./src/images-v1/close-24x24.svg",
67
67
  "./collapse-16x16.svg": "./src/images-v1/collapse-16x16.svg",
68
68
  "./collapsedetails-16x16.svg": "./src/images-v1/collapsedetails-16x16.svg",
69
+ "./delete-16x16.svg": "./src/images-v1/delete-16x16.svg",
69
70
  "./delete-24x24.svg": "./src/images-v1/delete-24x24.svg",
70
71
  "./drag-24x24.svg": "./src/images-v1/drag-24x24.svg",
71
72
  "./draghorizontal-24x16.svg": "./src/images-v1/draghorizontal-24x16.svg",
73
+ "./editsmall-16x16.svg": "./src/images-v1/editsmall-16x16.svg",
72
74
  "./expand-16x16.svg": "./src/images-v1/expand-16x16.svg",
73
75
  "./expanddetails-16x16.svg": "./src/images-v1/expanddetails-16x16.svg",
74
76
  "./file-72x72.svg": "./src/images-v1/file-72x72.svg",
@@ -365,6 +367,16 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
365
367
 
366
368
  /***/ }),
367
369
 
370
+ /***/ "./src/images-v1/delete-16x16.svg":
371
+ /*!****************************************!*\
372
+ !*** ./src/images-v1/delete-16x16.svg ***!
373
+ \****************************************/
374
+ /***/ ((module) => {
375
+
376
+ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15 2H14H11V1C11 0.4 10.6 0 10 0H7C6.4 0 6 0.4 6 1V2H3H2V4H3V14C3 15.1 3.9 16 5 16H12C13.1 16 14 15.1 14 14V4H15V2ZM7 1H10V2H7V1ZM12 14H5V4H12V14ZM7 13H6V5H7V13ZM9 13H8V5H9V13ZM11 13H10V5H11V13Z\"></path></svg>"
377
+
378
+ /***/ }),
379
+
368
380
  /***/ "./src/images-v1/delete-24x24.svg":
369
381
  /*!****************************************!*\
370
382
  !*** ./src/images-v1/delete-24x24.svg ***!
@@ -395,6 +407,16 @@ module.exports = "<svg viewBox=\"0 0 24 16\" xmlns=\"http://www.w3.org/2000/svg\
395
407
 
396
408
  /***/ }),
397
409
 
410
+ /***/ "./src/images-v1/editsmall-16x16.svg":
411
+ /*!*******************************************!*\
412
+ !*** ./src/images-v1/editsmall-16x16.svg ***!
413
+ \*******************************************/
414
+ /***/ ((module) => {
415
+
416
+ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M13.59 4.5884L11.42 2.4184C11.03 2.0284 10.52 1.8284 10.01 1.8284C9.5 1.8284 8.99 2.0284 8.6 2.4184L3.76 7.2384C2.63 8.3684 2 9.8884 2 11.4784V12.9884C2 13.5384 2.45 13.9884 3 13.9884H4.51C6.1 13.9884 7.63 13.3584 8.75 12.2284L13.58 7.3984C14.36 6.6184 14.36 5.3484 13.58 4.5684L13.59 4.5884ZM7.35 10.8284C6.59 11.5884 5.59 11.9984 4.52 11.9984H4.01V11.4884C4.01 10.4184 4.43 9.4184 5.18 8.6584L7.72 6.1184L9.89 8.2884L7.35 10.8284ZM11.3 6.8784L9.13 4.7084L10.01 3.8284L12.18 5.9984L11.3 6.8784Z\"></path></svg>"
417
+
418
+ /***/ }),
419
+
398
420
  /***/ "./src/images-v1/expand-16x16.svg":
399
421
  /*!****************************************!*\
400
422
  !*** ./src/images-v1/expand-16x16.svg ***!
@@ -721,7 +743,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
721
743
  /******/ var __webpack_module_cache__ = {};
722
744
  /******/
723
745
  /******/ // The require function
724
- /******/ function __nested_webpack_require_49952__(moduleId) {
746
+ /******/ function __nested_webpack_require_51423__(moduleId) {
725
747
  /******/ // Check if module is in cache
726
748
  /******/ var cachedModule = __webpack_module_cache__[moduleId];
727
749
  /******/ if (cachedModule !== undefined) {
@@ -735,7 +757,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
735
757
  /******/ };
736
758
  /******/
737
759
  /******/ // Execute the module function
738
- /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_49952__);
760
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_51423__);
739
761
  /******/
740
762
  /******/ // Return the exports of the module
741
763
  /******/ return module.exports;
@@ -745,9 +767,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
745
767
  /******/ /* webpack/runtime/define property getters */
746
768
  /******/ (() => {
747
769
  /******/ // define getter functions for harmony exports
748
- /******/ __nested_webpack_require_49952__.d = (exports, definition) => {
770
+ /******/ __nested_webpack_require_51423__.d = (exports, definition) => {
749
771
  /******/ for(var key in definition) {
750
- /******/ if(__nested_webpack_require_49952__.o(definition, key) && !__nested_webpack_require_49952__.o(exports, key)) {
772
+ /******/ if(__nested_webpack_require_51423__.o(definition, key) && !__nested_webpack_require_51423__.o(exports, key)) {
751
773
  /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
752
774
  /******/ }
753
775
  /******/ }
@@ -756,13 +778,13 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
756
778
  /******/
757
779
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
758
780
  /******/ (() => {
759
- /******/ __nested_webpack_require_49952__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
781
+ /******/ __nested_webpack_require_51423__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
760
782
  /******/ })();
761
783
  /******/
762
784
  /******/ /* webpack/runtime/make namespace object */
763
785
  /******/ (() => {
764
786
  /******/ // define __esModule on exports
765
- /******/ __nested_webpack_require_49952__.r = (exports) => {
787
+ /******/ __nested_webpack_require_51423__.r = (exports) => {
766
788
  /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
767
789
  /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
768
790
  /******/ }
@@ -778,13 +800,13 @@ var __nested_webpack_exports__ = {};
778
800
  /*!************************!*\
779
801
  !*** ./src/iconsV1.ts ***!
780
802
  \************************/
781
- __nested_webpack_require_49952__.r(__nested_webpack_exports__);
782
- /* harmony export */ __nested_webpack_require_49952__.d(__nested_webpack_exports__, {
803
+ __nested_webpack_require_51423__.r(__nested_webpack_exports__);
804
+ /* harmony export */ __nested_webpack_require_51423__.d(__nested_webpack_exports__, {
783
805
  /* harmony export */ icons: () => (/* binding */ icons)
784
806
  /* harmony export */ });
785
807
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
786
808
  //@ts-ignore
787
- var path = __nested_webpack_require_49952__("./src/images-v1 sync recursive \\.svg$");
809
+ var path = __nested_webpack_require_51423__("./src/images-v1 sync recursive \\.svg$");
788
810
  var icons = {};
789
811
  path.keys().forEach(function (key) {
790
812
  icons[key.substring(2, key.length - 4).toLowerCase()] = path(key);
@@ -808,7 +830,7 @@ path.keys().forEach(function (key) {
808
830
  /***/ (function(module) {
809
831
 
810
832
  /*!
811
- * surveyjs - Survey JavaScript library v2.0.5
833
+ * surveyjs - Survey JavaScript library v2.0.6
812
834
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
813
835
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
814
836
  */
@@ -851,9 +873,11 @@ var map = {
851
873
  "./close-24x24.svg": "./src/images-v2/close-24x24.svg",
852
874
  "./collapse-16x16.svg": "./src/images-v2/collapse-16x16.svg",
853
875
  "./collapsedetails-16x16.svg": "./src/images-v2/collapsedetails-16x16.svg",
876
+ "./delete-16x16.svg": "./src/images-v2/delete-16x16.svg",
854
877
  "./delete-24x24.svg": "./src/images-v2/delete-24x24.svg",
855
878
  "./drag-24x24.svg": "./src/images-v2/drag-24x24.svg",
856
879
  "./draghorizontal-24x16.svg": "./src/images-v2/draghorizontal-24x16.svg",
880
+ "./editsmall-16x16.svg": "./src/images-v2/editsmall-16x16.svg",
857
881
  "./expand-16x16.svg": "./src/images-v2/expand-16x16.svg",
858
882
  "./expanddetails-16x16.svg": "./src/images-v2/expanddetails-16x16.svg",
859
883
  "./file-72x72.svg": "./src/images-v2/file-72x72.svg",
@@ -1150,6 +1174,16 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
1150
1174
 
1151
1175
  /***/ }),
1152
1176
 
1177
+ /***/ "./src/images-v2/delete-16x16.svg":
1178
+ /*!****************************************!*\
1179
+ !*** ./src/images-v2/delete-16x16.svg ***!
1180
+ \****************************************/
1181
+ /***/ ((module) => {
1182
+
1183
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path d=\"M13 3.25H10.75V3C10.75 2.04 9.96 1.25 9 1.25H7C6.04 1.25 5.25 2.04 5.25 3V3.25H3C2.59 3.25 2.25 3.59 2.25 4C2.25 4.41 2.59 4.75 3 4.75H3.25V13C3.25 13.96 4.04 14.75 5 14.75H11C11.96 14.75 12.75 13.96 12.75 13V4.75H13C13.41 4.75 13.75 4.41 13.75 4C13.75 3.59 13.41 3.25 13 3.25ZM6.75 3C6.75 2.86 6.86 2.75 7 2.75H9C9.14 2.75 9.25 2.86 9.25 3V3.25H6.75V3ZM11.25 13C11.25 13.14 11.14 13.25 11 13.25H5C4.86 13.25 4.75 13.14 4.75 13V4.75H11.25V13ZM9.25 6.25C9.66 6.25 10 6.59 10 7V11C10 11.41 9.66 11.75 9.25 11.75C8.84 11.75 8.5 11.41 8.5 11V7C8.5 6.59 8.84 6.25 9.25 6.25ZM7.5 7V11C7.5 11.41 7.16 11.75 6.75 11.75C6.34 11.75 6 11.41 6 11V7C6 6.59 6.34 6.25 6.75 6.25C7.16 6.25 7.5 6.59 7.5 7Z\"></path></svg>"
1184
+
1185
+ /***/ }),
1186
+
1153
1187
  /***/ "./src/images-v2/delete-24x24.svg":
1154
1188
  /*!****************************************!*\
1155
1189
  !*** ./src/images-v2/delete-24x24.svg ***!
@@ -1180,6 +1214,16 @@ module.exports = "<svg viewBox=\"0 0 24 16\" xmlns=\"http://www.w3.org/2000/svg\
1180
1214
 
1181
1215
  /***/ }),
1182
1216
 
1217
+ /***/ "./src/images-v2/editsmall-16x16.svg":
1218
+ /*!*******************************************!*\
1219
+ !*** ./src/images-v2/editsmall-16x16.svg ***!
1220
+ \*******************************************/
1221
+ /***/ ((module) => {
1222
+
1223
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path d=\"M13.1209 3.05249L12.9509 2.88249C11.8809 1.81249 10.1309 1.81249 9.06089 2.88249L3.47089 8.46249C3.37089 8.56249 3.31089 8.68249 3.27089 8.81249L2.27089 12.8125C2.21089 13.0625 2.28089 13.3425 2.47089 13.5225C2.61089 13.6625 2.80089 13.7425 3.00089 13.7425C3.06089 13.7425 3.12089 13.7425 3.18089 13.7225L7.18089 12.7225C7.31089 12.6925 7.43089 12.6225 7.53089 12.5225L13.1209 6.93249C14.1909 5.86249 14.1909 4.11249 13.1209 3.04249V3.05249ZM6.62089 11.3125L4.04089 11.9625L4.69089 9.38249L8.01089 6.06249L9.95089 8.00249L6.63089 11.3225L6.62089 11.3125ZM12.0609 5.87249L11.0009 6.93249L9.06089 4.99249L10.1209 3.93249C10.6109 3.44249 11.4009 3.44249 11.8909 3.93249L12.0609 4.10249C12.5509 4.59249 12.5509 5.38249 12.0609 5.87249Z\"></path></svg>"
1224
+
1225
+ /***/ }),
1226
+
1183
1227
  /***/ "./src/images-v2/expand-16x16.svg":
1184
1228
  /*!****************************************!*\
1185
1229
  !*** ./src/images-v2/expand-16x16.svg ***!
@@ -1506,7 +1550,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1506
1550
  /******/ var __webpack_module_cache__ = {};
1507
1551
  /******/
1508
1552
  /******/ // The require function
1509
- /******/ function __nested_webpack_require_62333__(moduleId) {
1553
+ /******/ function __nested_webpack_require_64535__(moduleId) {
1510
1554
  /******/ // Check if module is in cache
1511
1555
  /******/ var cachedModule = __webpack_module_cache__[moduleId];
1512
1556
  /******/ if (cachedModule !== undefined) {
@@ -1520,7 +1564,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1520
1564
  /******/ };
1521
1565
  /******/
1522
1566
  /******/ // Execute the module function
1523
- /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_62333__);
1567
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_64535__);
1524
1568
  /******/
1525
1569
  /******/ // Return the exports of the module
1526
1570
  /******/ return module.exports;
@@ -1530,9 +1574,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1530
1574
  /******/ /* webpack/runtime/define property getters */
1531
1575
  /******/ (() => {
1532
1576
  /******/ // define getter functions for harmony exports
1533
- /******/ __nested_webpack_require_62333__.d = (exports, definition) => {
1577
+ /******/ __nested_webpack_require_64535__.d = (exports, definition) => {
1534
1578
  /******/ for(var key in definition) {
1535
- /******/ if(__nested_webpack_require_62333__.o(definition, key) && !__nested_webpack_require_62333__.o(exports, key)) {
1579
+ /******/ if(__nested_webpack_require_64535__.o(definition, key) && !__nested_webpack_require_64535__.o(exports, key)) {
1536
1580
  /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1537
1581
  /******/ }
1538
1582
  /******/ }
@@ -1541,13 +1585,13 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1541
1585
  /******/
1542
1586
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
1543
1587
  /******/ (() => {
1544
- /******/ __nested_webpack_require_62333__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1588
+ /******/ __nested_webpack_require_64535__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1545
1589
  /******/ })();
1546
1590
  /******/
1547
1591
  /******/ /* webpack/runtime/make namespace object */
1548
1592
  /******/ (() => {
1549
1593
  /******/ // define __esModule on exports
1550
- /******/ __nested_webpack_require_62333__.r = (exports) => {
1594
+ /******/ __nested_webpack_require_64535__.r = (exports) => {
1551
1595
  /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1552
1596
  /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1553
1597
  /******/ }
@@ -1563,13 +1607,13 @@ var __nested_webpack_exports__ = {};
1563
1607
  /*!************************!*\
1564
1608
  !*** ./src/iconsV2.ts ***!
1565
1609
  \************************/
1566
- __nested_webpack_require_62333__.r(__nested_webpack_exports__);
1567
- /* harmony export */ __nested_webpack_require_62333__.d(__nested_webpack_exports__, {
1610
+ __nested_webpack_require_64535__.r(__nested_webpack_exports__);
1611
+ /* harmony export */ __nested_webpack_require_64535__.d(__nested_webpack_exports__, {
1568
1612
  /* harmony export */ icons: () => (/* binding */ icons)
1569
1613
  /* harmony export */ });
1570
1614
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1571
1615
  //@ts-ignore
1572
- var path = __nested_webpack_require_62333__("./src/images-v2 sync recursive \\.svg$");
1616
+ var path = __nested_webpack_require_64535__("./src/images-v2 sync recursive \\.svg$");
1573
1617
  var icons = {};
1574
1618
  path.keys().forEach(function (key) {
1575
1619
  icons[key.substring(2, key.length - 4).toLowerCase()] = path(key);
@@ -2567,6 +2611,91 @@ var BrandInfo = /** @class */ (function (_super) {
2567
2611
 
2568
2612
 
2569
2613
 
2614
+ /***/ }),
2615
+
2616
+ /***/ "../survey-react-ui/src/components/breadcrumbs/breadcrumbs.tsx":
2617
+ /*!*********************************************************************!*\
2618
+ !*** ../survey-react-ui/src/components/breadcrumbs/breadcrumbs.tsx ***!
2619
+ \*********************************************************************/
2620
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2621
+
2622
+ "use strict";
2623
+ __webpack_require__.r(__webpack_exports__);
2624
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2625
+ /* harmony export */ SurveyBreadcrumbs: () => (/* binding */ SurveyBreadcrumbs)
2626
+ /* harmony export */ });
2627
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/preact/compat/dist/compat.module.js");
2628
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../element-factory */ "../survey-react-ui/src/element-factory.tsx");
2629
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../reactquestion_element */ "../survey-react-ui/src/reactquestion_element.tsx");
2630
+ /* harmony import */ var _svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../svg-icon/svg-icon */ "../survey-react-ui/src/components/svg-icon/svg-icon.tsx");
2631
+ /* harmony import */ var _action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../action-bar/action-bar-item */ "../survey-react-ui/src/components/action-bar/action-bar-item.tsx");
2632
+ var __extends = (undefined && undefined.__extends) || (function () {
2633
+ var extendStatics = function (d, b) {
2634
+ extendStatics = Object.setPrototypeOf ||
2635
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2636
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
2637
+ return extendStatics(d, b);
2638
+ };
2639
+ return function (d, b) {
2640
+ if (typeof b !== "function" && b !== null)
2641
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2642
+ extendStatics(d, b);
2643
+ function __() { this.constructor = d; }
2644
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2645
+ };
2646
+ })();
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+ var SurveyBreadcrumbs = /** @class */ (function (_super) {
2653
+ __extends(SurveyBreadcrumbs, _super);
2654
+ function SurveyBreadcrumbs(props) {
2655
+ return _super.call(this, props) || this;
2656
+ }
2657
+ SurveyBreadcrumbs.prototype.getStateElement = function () {
2658
+ return this.props.model;
2659
+ };
2660
+ Object.defineProperty(SurveyBreadcrumbs.prototype, "items", {
2661
+ get: function () {
2662
+ return this.props.model.actions;
2663
+ },
2664
+ enumerable: false,
2665
+ configurable: true
2666
+ });
2667
+ Object.defineProperty(SurveyBreadcrumbs.prototype, "css", {
2668
+ get: function () {
2669
+ return this.props.css;
2670
+ },
2671
+ enumerable: false,
2672
+ configurable: true
2673
+ });
2674
+ SurveyBreadcrumbs.prototype.renderElement = function () {
2675
+ if (!this.items || !this.items.length)
2676
+ return null;
2677
+ var items = this.renderItems();
2678
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.breadcrumbsRoot }, items));
2679
+ };
2680
+ SurveyBreadcrumbs.prototype.renderItems = function () {
2681
+ var _this = this;
2682
+ var result = [];
2683
+ this.items.concat([]).forEach(function (item, itemIndex) {
2684
+ if (itemIndex) {
2685
+ result.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { key: item.renderedId + "_separator", className: _this.css.breadcrumbsSeparator, iconName: "arrowright-16x16", size: "auto" }));
2686
+ }
2687
+ result.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(_action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_4__.SurveyAction, { key: item.renderedId, item: item }));
2688
+ });
2689
+ return result;
2690
+ };
2691
+ return SurveyBreadcrumbs;
2692
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
2693
+
2694
+ _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-breadcrumbs", function (props) {
2695
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyBreadcrumbs, props);
2696
+ });
2697
+
2698
+
2570
2699
  /***/ }),
2571
2700
 
2572
2701
  /***/ "../survey-react-ui/src/components/character-counter.tsx":
@@ -4741,9 +4870,9 @@ var RatingItemSmiley = /** @class */ (function (_super) {
4741
4870
  }
4742
4871
  RatingItemSmiley.prototype.render = function () {
4743
4872
  var _this = this;
4744
- 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); } },
4873
+ 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); }, title: this.item.text },
4745
4874
  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 }),
4746
- 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 })));
4875
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: "auto", iconName: this.question.getItemSmileyIconName(this.item.itemValue) })));
4747
4876
  };
4748
4877
  return RatingItemSmiley;
4749
4878
  }(_rating_item__WEBPACK_IMPORTED_MODULE_3__.RatingItemBase));
@@ -4796,10 +4925,10 @@ var RatingItemStar = /** @class */ (function (_super) {
4796
4925
  }
4797
4926
  RatingItemStar.prototype.render = function () {
4798
4927
  var _this = this;
4799
- 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); } },
4928
+ 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); }, title: this.item.text },
4800
4929
  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 }),
4801
- 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 }),
4802
- 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 })));
4930
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "sv-star", size: "auto", iconName: this.question.itemStarIcon }),
4931
+ 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 })));
4803
4932
  };
4804
4933
  return RatingItemStar;
4805
4934
  }(_rating_item__WEBPACK_IMPORTED_MODULE_3__.RatingItemBase));
@@ -5516,7 +5645,7 @@ var TitleContent = /** @class */ (function (_super) {
5516
5645
  });
5517
5646
  TitleContent.prototype.render = function () {
5518
5647
  if (this.element.isTitleRenderedAsString)
5519
- return _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(this.element.locTitle);
5648
+ return _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(this.element.locRenderedTitle);
5520
5649
  var spans = this.renderTitleSpans(this.element.getTitleOwner(), this.cssClasses);
5521
5650
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, spans);
5522
5651
  };
@@ -5538,7 +5667,7 @@ var TitleContent = /** @class */ (function (_super) {
5538
5667
  spans.push(this.renderRequireText(element));
5539
5668
  spans.push(getSpaceSpan("req-sp"));
5540
5669
  }
5541
- spans.push(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(element.locTitle, null, "q_title"));
5670
+ spans.push(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase.renderLocString(element.locRenderedTitle, null, "q_title"));
5542
5671
  if (element.isRequireTextAfterTitle) {
5543
5672
  spans.push(getSpaceSpan("req-sp"));
5544
5673
  spans.push(this.renderRequireText(element));
@@ -8103,6 +8232,8 @@ __webpack_require__.r(__webpack_exports__);
8103
8232
  /* harmony import */ var _reactquestion_comment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion_comment */ "../survey-react-ui/src/reactquestion_comment.tsx");
8104
8233
  /* harmony import */ var _custom_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./custom-widget */ "../survey-react-ui/src/custom-widget.tsx");
8105
8234
  /* harmony import */ var _element_header__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./element-header */ "../survey-react-ui/src/element-header.tsx");
8235
+ /* harmony import */ var _reactquestion_singleinputsummary__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./reactquestion_singleinputsummary */ "../survey-react-ui/src/reactquestion_singleinputsummary.tsx");
8236
+ /* harmony import */ var _components_breadcrumbs_breadcrumbs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/breadcrumbs/breadcrumbs */ "../survey-react-ui/src/components/breadcrumbs/breadcrumbs.tsx");
8106
8237
  var __extends = (undefined && undefined.__extends) || (function () {
8107
8238
  var extendStatics = function (d, b) {
8108
8239
  extendStatics = Object.setPrototypeOf ||
@@ -8125,6 +8256,8 @@ var __extends = (undefined && undefined.__extends) || (function () {
8125
8256
 
8126
8257
 
8127
8258
 
8259
+
8260
+
8128
8261
  var SurveyQuestion = /** @class */ (function (_super) {
8129
8262
  __extends(SurveyQuestion, _super);
8130
8263
  function SurveyQuestion(props) {
@@ -8230,15 +8363,30 @@ var SurveyQuestion = /** @class */ (function (_super) {
8230
8363
  ? this.renderErrors(cssClasses, "")
8231
8364
  : null;
8232
8365
  var rootStyle = question.getRootStyle();
8233
- var questionContent = this.wrapQuestionContent(this.renderQuestionContent());
8366
+ var singleBreadcrumbs = question.singleInputHasActions ? this.renderSingleInputBreadcrumbs(question, cssClasses) : undefined;
8367
+ var singleSummary = question.singleInputSummary ? this.renderSingleInputSummary(question, cssClasses) : undefined;
8368
+ var singleInput = singleSummary || (question.singleInputQuestion ? this.renderSingleInputQuestion(question, cssClasses) : undefined);
8369
+ var questionContent = singleInput || this.wrapQuestionContent(this.renderQuestionContent());
8234
8370
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
8235
8371
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded, "data-name": question.name },
8372
+ singleBreadcrumbs,
8236
8373
  errorsAboveQuestion,
8237
8374
  headerTop,
8238
8375
  questionContent,
8239
8376
  headerBottom,
8240
8377
  errorsBelowQuestion)));
8241
8378
  };
8379
+ SurveyQuestion.prototype.renderSingleInputQuestion = function (question, cssClasses) {
8380
+ var singleQuestion = question.singleInputQuestion;
8381
+ var key = singleQuestion.id;
8382
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestion, { key: key, element: singleQuestion, creator: this.creator, css: cssClasses });
8383
+ };
8384
+ SurveyQuestion.prototype.renderSingleInputBreadcrumbs = function (question, cssClasses) {
8385
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_breadcrumbs_breadcrumbs__WEBPACK_IMPORTED_MODULE_8__.SurveyBreadcrumbs, { model: question.singleInputActions, css: cssClasses });
8386
+ };
8387
+ SurveyQuestion.prototype.renderSingleInputSummary = function (question, cssClasses) {
8388
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_singleinputsummary__WEBPACK_IMPORTED_MODULE_7__.SurveyQuestionSigleInputSummary, { summary: question.singleInputSummary, creator: this.creator, css: cssClasses });
8389
+ };
8242
8390
  SurveyQuestion.prototype.wrapElement = function (element) {
8243
8391
  var survey = this.question.survey;
8244
8392
  var wrapper = null;
@@ -8268,6 +8416,8 @@ var SurveyQuestion = /** @class */ (function (_super) {
8268
8416
  react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_comment__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionCommentItem, { question: this.question, cssClasses: cssClasses, otherCss: cssClasses.other, isDisplayMode: this.question.isInputReadOnly })));
8269
8417
  };
8270
8418
  SurveyQuestion.prototype.renderHeader = function (question) {
8419
+ if (question.singleInputHideHeader)
8420
+ return null;
8271
8421
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_element_header__WEBPACK_IMPORTED_MODULE_6__.SurveyElementHeader, { element: question });
8272
8422
  };
8273
8423
  SurveyQuestion.prototype.renderErrors = function (cssClasses, location) {
@@ -9779,12 +9929,9 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
9779
9929
  };
9780
9930
  SurveyQuestionFile.prototype.renderFileDecorator = function () {
9781
9931
  var actionsContainer = this.question.actionsContainerVisible ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__.SurveyActionBar, { model: this.question.actionsContainer }) : null;
9782
- var noFileChosen = this.question.isEmpty() ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption)) : null;
9783
9932
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.getFileDecoratorCss() },
9784
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)),
9785
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.wrapper },
9786
- actionsContainer,
9787
- noFileChosen)));
9933
+ this.question.showDragAreaPlaceholder ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)) : false,
9934
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.wrapper }, actionsContainer)));
9788
9935
  };
9789
9936
  SurveyQuestionFile.prototype.renderPreview = function () {
9790
9937
  return _element_factory__WEBPACK_IMPORTED_MODULE_6__.ReactElementFactory.Instance.createElement("sv-file-preview", { question: this.question });
@@ -10663,7 +10810,8 @@ var SurveyQuestionMatrixDropdownCell = /** @class */ (function (_super) {
10663
10810
  __webpack_require__.r(__webpack_exports__);
10664
10811
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10665
10812
  /* harmony export */ SurveyQuestionMatrixDynamic: () => (/* binding */ SurveyQuestionMatrixDynamic),
10666
- /* harmony export */ SurveyQuestionMatrixDynamicAddButton: () => (/* binding */ SurveyQuestionMatrixDynamicAddButton)
10813
+ /* harmony export */ SurveyQuestionMatrixDynamicAddButton: () => (/* binding */ SurveyQuestionMatrixDynamicAddButton),
10814
+ /* harmony export */ SurveyQuestionMatrixDynamicPlaceholder: () => (/* binding */ SurveyQuestionMatrixDynamicPlaceholder)
10667
10815
  /* harmony export */ });
10668
10816
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/preact/compat/dist/compat.module.js");
10669
10817
  /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_factory */ "../survey-react-ui/src/reactquestion_factory.tsx");
@@ -10729,12 +10877,7 @@ var SurveyQuestionMatrixDynamic = /** @class */ (function (_super) {
10729
10877
  return this.renderAddRowButton(cssClasses);
10730
10878
  };
10731
10879
  SurveyQuestionMatrixDynamic.prototype.renderNoRowsContent = function (cssClasses) {
10732
- var text = this.renderLocString(this.matrix.locNoRowsText);
10733
- var textDiv = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.noRowsText }, text);
10734
- var btn = this.matrix.renderedTable.showAddRow ? this.renderAddRowButton(cssClasses, true) : undefined;
10735
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.noRowsSection },
10736
- textDiv,
10737
- btn));
10880
+ return _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.createElement("sv-placeholder-matrixdynamic", { cssClasses: cssClasses, question: this.matrix });
10738
10881
  };
10739
10882
  SurveyQuestionMatrixDynamic.prototype.renderAddRowButton = function (cssClasses, isEmptySection) {
10740
10883
  if (isEmptySection === void 0) { isEmptySection = false; }
@@ -10777,9 +10920,32 @@ var SurveyQuestionMatrixDynamicAddButton = /** @class */ (function (_super) {
10777
10920
  return SurveyQuestionMatrixDynamicAddButton;
10778
10921
  }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_4__.ReactSurveyElement));
10779
10922
 
10780
- _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("sv-matrixdynamic-add-btn", function (props) {
10781
- return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixDynamicAddButton, props);
10782
- });
10923
+ var SurveyQuestionMatrixDynamicPlaceholder = /** @class */ (function (_super) {
10924
+ __extends(SurveyQuestionMatrixDynamicPlaceholder, _super);
10925
+ function SurveyQuestionMatrixDynamicPlaceholder(props) {
10926
+ return _super.call(this, props) || this;
10927
+ }
10928
+ SurveyQuestionMatrixDynamicPlaceholder.prototype.renderElement = function () {
10929
+ var cssClasses = this.props.cssClasses;
10930
+ var matrix = this.props.question;
10931
+ var showAddButton = matrix.renderedTable.showAddRow;
10932
+ var text = this.renderLocString(matrix.locNoRowsText);
10933
+ var textDiv = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.noRowsText }, text);
10934
+ var btn = showAddButton ? this.renderAddRowButton(cssClasses, matrix) : undefined;
10935
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.noRowsSection },
10936
+ textDiv,
10937
+ btn));
10938
+ };
10939
+ SurveyQuestionMatrixDynamicPlaceholder.prototype.renderAddRowButton = function (cssClasses, question) {
10940
+ return _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.createElement("sv-matrixdynamic-add-btn", {
10941
+ question: question, cssClasses: cssClasses, isEmptySection: true
10942
+ });
10943
+ };
10944
+ return SurveyQuestionMatrixDynamicPlaceholder;
10945
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_4__.ReactSurveyElement));
10946
+
10947
+ _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("sv-matrixdynamic-add-btn", function (props) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixDynamicAddButton, props); });
10948
+ _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("sv-placeholder-matrixdynamic", function (props) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionMatrixDynamicPlaceholder, props); });
10783
10949
 
10784
10950
 
10785
10951
  /***/ }),
@@ -10943,7 +11109,8 @@ _reactquestion_factory__WEBPACK_IMPORTED_MODULE_3__.ReactQuestionFactory.Instanc
10943
11109
  __webpack_require__.r(__webpack_exports__);
10944
11110
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10945
11111
  /* harmony export */ SurveyQuestionPanelDynamic: () => (/* binding */ SurveyQuestionPanelDynamic),
10946
- /* harmony export */ SurveyQuestionPanelDynamicItem: () => (/* binding */ SurveyQuestionPanelDynamicItem)
11112
+ /* harmony export */ SurveyQuestionPanelDynamicItem: () => (/* binding */ SurveyQuestionPanelDynamicItem),
11113
+ /* harmony export */ SurveyQuestionPanelDynamicPlaceholder: () => (/* binding */ SurveyQuestionPanelDynamicPlaceholder)
10947
11114
  /* harmony export */ });
10948
11115
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/preact/compat/dist/compat.module.js");
10949
11116
  /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "../survey-react-ui/src/reactquestion_element.tsx");
@@ -10972,6 +11139,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
10972
11139
 
10973
11140
 
10974
11141
 
11142
+
10975
11143
  var SurveyQuestionPanelDynamic = /** @class */ (function (_super) {
10976
11144
  __extends(SurveyQuestionPanelDynamic, _super);
10977
11145
  function SurveyQuestionPanelDynamic(props) {
@@ -11012,15 +11180,16 @@ var SurveyQuestionPanelDynamic = /** @class */ (function (_super) {
11012
11180
  SurveyQuestionPanelDynamic.prototype.renderElement = function () {
11013
11181
  var _this = this;
11014
11182
  var panels = [];
11183
+ var cssClasses = this.question.cssClasses;
11015
11184
  this.question.renderedPanels.forEach(function (panel, index) {
11016
- panels.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicItem, { key: panel.id, element: panel, question: _this.question, index: index, cssClasses: _this.question.cssClasses, isDisplayMode: _this.isDisplayMode, creator: _this.creator }));
11185
+ panels.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicItem, { key: panel.id, element: panel, question: _this.question, index: index, cssClasses: cssClasses, isDisplayMode: _this.isDisplayMode, creator: _this.creator }));
11017
11186
  });
11018
11187
  var rangeTop = this.question.isRangeShowing && this.question.isProgressTopShowing
11019
11188
  ? this.renderRange()
11020
11189
  : null;
11021
11190
  var navV2 = this.renderNavigatorV2();
11022
- var noEntriesPlaceholder = this.renderPlaceholder();
11023
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.root },
11191
+ var noEntriesPlaceholder = this.renderPlaceholder(cssClasses);
11192
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.root },
11024
11193
  this.question.hasTabbedMenu ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.getTabsContainerCss() },
11025
11194
  react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_4__.SurveyActionBar, { model: this.question.tabbedMenu })) : null,
11026
11195
  noEntriesPlaceholder,
@@ -11047,12 +11216,9 @@ var SurveyQuestionPanelDynamic = /** @class */ (function (_super) {
11047
11216
  this.question.footerToolbar.visibleActions.length ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.footerButtonsContainer },
11048
11217
  react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_4__.SurveyActionBar, { model: this.question.footerToolbar }))) : null));
11049
11218
  };
11050
- SurveyQuestionPanelDynamic.prototype.renderPlaceholder = function () {
11051
- if (this.question.getShowNoEntriesPlaceholder()) {
11052
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.noEntriesPlaceholder },
11053
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, this.renderLocString(this.question.locNoEntriesText)),
11054
- this.renderAddRowButton()));
11055
- }
11219
+ SurveyQuestionPanelDynamic.prototype.renderPlaceholder = function (cssClasses) {
11220
+ if (this.question.getShowNoEntriesPlaceholder())
11221
+ return _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.createElement("sv-placeholder-paneldynamic", { cssClasses: cssClasses, question: this.question });
11056
11222
  return null;
11057
11223
  };
11058
11224
  return SurveyQuestionPanelDynamic;
@@ -11108,6 +11274,27 @@ var SurveyQuestionPanelDynamicItem = /** @class */ (function (_super) {
11108
11274
  _reactquestion_factory__WEBPACK_IMPORTED_MODULE_3__.ReactQuestionFactory.Instance.registerQuestion("paneldynamic", function (props) {
11109
11275
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamic, props);
11110
11276
  });
11277
+ var SurveyQuestionPanelDynamicPlaceholder = /** @class */ (function (_super) {
11278
+ __extends(SurveyQuestionPanelDynamicPlaceholder, _super);
11279
+ function SurveyQuestionPanelDynamicPlaceholder(props) {
11280
+ return _super.call(this, props) || this;
11281
+ }
11282
+ SurveyQuestionPanelDynamicPlaceholder.prototype.renderElement = function () {
11283
+ var cssClasses = this.props.cssClasses;
11284
+ var question = this.props.question;
11285
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.noEntriesPlaceholder },
11286
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, this.renderLocString(question.locNoEntriesText)),
11287
+ this.renderAddRowButton(question)));
11288
+ };
11289
+ SurveyQuestionPanelDynamicPlaceholder.prototype.renderAddRowButton = function (question) {
11290
+ return _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.createElement("sv-paneldynamic-add-btn", {
11291
+ data: { question: question }
11292
+ });
11293
+ };
11294
+ return SurveyQuestionPanelDynamicPlaceholder;
11295
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.ReactSurveyElement));
11296
+
11297
+ _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.registerElement("sv-placeholder-paneldynamic", function (props) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionPanelDynamicPlaceholder, props); });
11111
11298
 
11112
11299
 
11113
11300
  /***/ }),
@@ -11587,7 +11774,7 @@ var SurveyQuestionRankingItem = /** @class */ (function (_super) {
11587
11774
  };
11588
11775
  SurveyQuestionRankingItem.prototype.renderElement = function () {
11589
11776
  var itemContent = _element_factory__WEBPACK_IMPORTED_MODULE_4__.ReactElementFactory.Instance.createElement(this.question.itemComponent, { item: this.item, cssClasses: this.cssClasses });
11590
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, "data-sv-drop-target-ranking-item": this.index },
11777
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.getItemId(this.item), tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, "data-sv-drop-target-ranking-item": this.index },
11591
11778
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { tabIndex: -1, style: { outline: "none" } },
11592
11779
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.cssClasses.itemGhostNode }),
11593
11780
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.cssClasses.itemContent },
@@ -11724,6 +11911,96 @@ _reactquestion_factory__WEBPACK_IMPORTED_MODULE_2__.ReactQuestionFactory.Instanc
11724
11911
  });
11725
11912
 
11726
11913
 
11914
+ /***/ }),
11915
+
11916
+ /***/ "../survey-react-ui/src/reactquestion_singleinputsummary.tsx":
11917
+ /*!*******************************************************************!*\
11918
+ !*** ../survey-react-ui/src/reactquestion_singleinputsummary.tsx ***!
11919
+ \*******************************************************************/
11920
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
11921
+
11922
+ "use strict";
11923
+ __webpack_require__.r(__webpack_exports__);
11924
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11925
+ /* harmony export */ SurveyQuestionSigleInputSummary: () => (/* binding */ SurveyQuestionSigleInputSummary)
11926
+ /* harmony export */ });
11927
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/preact/compat/dist/compat.module.js");
11928
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "../survey-react-ui/src/reactquestion_element.tsx");
11929
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element-factory */ "../survey-react-ui/src/element-factory.tsx");
11930
+ /* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "../survey-react-ui/src/components/svg-icon/svg-icon.tsx");
11931
+ var __extends = (undefined && undefined.__extends) || (function () {
11932
+ var extendStatics = function (d, b) {
11933
+ extendStatics = Object.setPrototypeOf ||
11934
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11935
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
11936
+ return extendStatics(d, b);
11937
+ };
11938
+ return function (d, b) {
11939
+ if (typeof b !== "function" && b !== null)
11940
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11941
+ extendStatics(d, b);
11942
+ function __() { this.constructor = d; }
11943
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
11944
+ };
11945
+ })();
11946
+
11947
+
11948
+
11949
+
11950
+ var SurveyQuestionSigleInputSummary = /** @class */ (function (_super) {
11951
+ __extends(SurveyQuestionSigleInputSummary, _super);
11952
+ function SurveyQuestionSigleInputSummary(props) {
11953
+ return _super.call(this, props) || this;
11954
+ }
11955
+ Object.defineProperty(SurveyQuestionSigleInputSummary.prototype, "css", {
11956
+ get: function () {
11957
+ return this.props.css;
11958
+ },
11959
+ enumerable: false,
11960
+ configurable: true
11961
+ });
11962
+ Object.defineProperty(SurveyQuestionSigleInputSummary.prototype, "summary", {
11963
+ get: function () {
11964
+ return this.props.summary;
11965
+ },
11966
+ enumerable: false,
11967
+ configurable: true
11968
+ });
11969
+ SurveyQuestionSigleInputSummary.prototype.renderElement = function () {
11970
+ if (!this.summary)
11971
+ return null;
11972
+ return this.summary.isEmpty() ? this.renderNoItems() : this.renderItems();
11973
+ };
11974
+ SurveyQuestionSigleInputSummary.prototype.renderItems = function () {
11975
+ var _this = this;
11976
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.summary }, this.summary.items.map(function (item, index) { return _this.renderItem(item, index); })));
11977
+ };
11978
+ SurveyQuestionSigleInputSummary.prototype.renderNoItems = function () {
11979
+ var q = this.summary.question;
11980
+ var placeholder = _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement("sv-placeholder-" + q.getTemplate(), { cssClasses: this.css, question: q });
11981
+ return placeholder || react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null, this.renderLocString(this.summary.noEntry));
11982
+ };
11983
+ SurveyQuestionSigleInputSummary.prototype.renderItem = function (item, index) {
11984
+ var btnEdit = item.btnEdit ?
11985
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { className: this.css.summaryRowActionEdit, onClick: function () { return item.btnEdit.action(); }, title: item.btnEdit.title },
11986
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: "icon-editsmall-16x16", iconSize: "auto" })) : null;
11987
+ var btnDelete = item.showRemove && item.btnRemove ?
11988
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { className: this.css.summaryRowActionDelete, onClick: function () { return item.btnRemove.action(); }, title: item.btnRemove.title },
11989
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: "icon-delete-16x16", iconSize: "auto" })) : null;
11990
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.summaryRow, key: index },
11991
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.summaryRowContent }, this.renderLocString(item.locText)),
11992
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.summaryRowActions },
11993
+ btnEdit,
11994
+ btnDelete));
11995
+ };
11996
+ return SurveyQuestionSigleInputSummary;
11997
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.ReactSurveyElement));
11998
+
11999
+ _element_factory__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("sv-singleinput-summary", function (props) {
12000
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyQuestionSigleInputSummary, props);
12001
+ });
12002
+
12003
+
11727
12004
  /***/ }),
11728
12005
 
11729
12006
  /***/ "../survey-react-ui/src/reactquestion_tagbox.tsx":
@@ -11864,7 +12141,7 @@ var SurveyQuestionText = /** @class */ (function (_super) {
11864
12141
  // disabled={this.isDisplayMode}
11865
12142
  disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: inputClass, type: this.question.inputType,
11866
12143
  //ref={this.controlRef}
11867
- ref: function (input) { return (_this.setControl(input)); }, style: this.question.inputStyle, maxLength: this.question.getMaxLength(), min: this.question.renderedMin, max: this.question.renderedMax, step: this.question.renderedStep, size: this.question.inputSize, placeholder: placeholder, list: this.question.dataListId, autoComplete: this.question.autocomplete, onBlur: function (event) { _this.question.onBlur(event); }, onFocus: function (event) { _this.question.onFocus(event); }, onChange: this.question.onChange, onKeyUp: this.question.onKeyUp, onKeyDown: this.question.onKeyDown, onCompositionUpdate: function (event) { return _this.question.onCompositionUpdate(event.nativeEvent); }, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage }),
12144
+ ref: function (input) { return (_this.setControl(input)); }, style: this.question.inputStyle, maxLength: this.question.getMaxLength(), min: this.question.renderedMin, max: this.question.renderedMax, step: this.question.renderedStep, size: this.question.inputSize, placeholder: placeholder, list: this.question.dataListId, autoComplete: this.question.autocomplete, onBlur: function (event) { _this.question.onBlur(event); }, onFocus: function (event) { _this.question.onFocus(event); }, onChange: this.question.onChange, onClick: this.question.readOnlyBlocker, onPointerDown: this.question.readOnlyBlocker, onKeyUp: this.question.onKeyUp, onKeyDown: this.question.onKeyDown, onCompositionUpdate: function (event) { return _this.question.onCompositionUpdate(event.nativeEvent); }, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage }),
11868
12145
  counter));
11869
12146
  };
11870
12147
  SurveyQuestionText.prototype.renderElement = function () {
@@ -12280,7 +12557,7 @@ var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
12280
12557
  SurveyQuestionSignaturePad.prototype.renderBackgroundImage = function () {
12281
12558
  if (!this.question.backgroundImage)
12282
12559
  return null;
12283
- return react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage, style: { width: this.question.renderedCanvasWidth } });
12560
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage, style: { width: this.question.renderedCanvasWidth }, role: "presentation" });
12284
12561
  };
12285
12562
  SurveyQuestionSignaturePad.prototype.renderLoadingIndicator = function () {
12286
12563
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.loadingIndicator },
@@ -13204,7 +13481,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
13204
13481
 
13205
13482
 
13206
13483
 
13207
- (0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.5"), "survey-js-ui");
13484
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.6"), "survey-js-ui");
13208
13485
 
13209
13486
  })();
13210
13487