survey-creator-js 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm/survey-creator-js.mjs +28 -18
- package/fesm/survey-creator-js.mjs.map +1 -1
- package/package.json +4 -4
- package/survey-creator-js.js +34 -30
- package/survey-creator-js.js.map +1 -1
- package/survey-creator-js.min.js +1 -1
- package/survey-creator-js.min.js.LICENSE.txt +1 -1
- package/typings/survey-creator-react/src/TabbedMenu.d.ts +1 -1
- package/typings/survey-creator-react/src/toolbox/AdaptiveToolbox.d.ts +1 -1
package/survey-creator-js.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-creator-js.js","mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;;;;;;ACVA,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACe;AACsD;AACpG;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,wDAAe;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,WAAW,oBAAoB;AACrE;AACA,gBAAgB,gDAAmB,CAAC,2CAAc,QAAQ,sDAAe,CAAC,gDAAmB,WAAW;AACxG;AACA;AACA;AACA;AACA,aAAa,2BAA2B;AACxC;AACA;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,WAAW,oBAAoB;AACrE,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,6CAA6C;AAC5F;AACA,gBAAgB,gDAAmB,CAAC,2CAAc,QAAQ,sDAAe,CAAC,gDAAmB,WAAW;AACxG;AACA;AACA;AACA;AACA,aAAa,2BAA2B;AACxC,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A;AACA;AACA,CAAC,CAAC,8DAAmB;AACS;AAC9B,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;AChGD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkC;AACe;AAC3B;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,2EAA0B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,gDAAmB,UAAU,iDAAiD,EAAE,sDAAe,CAAC,gDAAmB,WAAW,uGAAuG,wDAAwD;AACpT,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,qCAAqC;AACpF;AACA,gBAAgB,gDAAmB,UAAU,iGAAiG,4EAA4E,6BAA6B,2DAA2D,8BAA8B,6DAA6D;AAC7Y,YAAY,gDAAmB,UAAU,wFAAwF;AACjI;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACiB;AACtC,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;AClED,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACmD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,kBAAkB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAiB;AACY;;;;;;;;;;;;;;;;;ACjD/B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACwE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,0BAA0B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,gEAAmB,kEAAkE,8DAA8D;AAClK;AACA;AACA,CAAC,CAAC,8DAAiB;AACS;;;;;;;;;;;;;;;;;;;;;;;AC1F5B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACoC;AAC6B;AACL;AAC9B;AACsB;AACrD;AACA;AACA;AACA;AACA,6BAA6B,sDAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,uEAAsB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,0DAAmB,UAAU,kEAAkE,iDAAiD;AAChK,YAAY,0DAAmB;AAC/B,gBAAgB,gEAAe,CAAC,0DAAmB,UAAU,6DAA6D,0CAA0C,yCAAyC;AAC7M,oBAA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F,wBAAwB,gDAAmB,SAAS,4CAA4C;AAChG,wBAAwB,gDAAmB,SAAS,4CAA4C;AAChG,gBAAgB,gDAAmB;AACnC;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC,sBAAsB,gDAAmB,uBAAuB,0BAA0B;AAC1F;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACI;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,CAAC,2CAAc;AAClD,YAAY,sDAAe,CAAC,gDAAmB,SAAS,uBAAuB,8BAA8B;AAC7G,gBAAgB,gDAAmB,SAAS,iBAAiB,kCAAkC,sCAAsC;AACrI,uCAAuC,gDAAmB,WAAW,SAAS,6BAA6B,6GAA6G;AACxN,wBAAwB,gDAAmB,CAAC,0CAAO,IAAI,yCAAyC;AAChG,wCAAwC,gDAAmB,CAAC,wDAAqB,IAAI,oCAAoC,IAAI,gDAAmB;AAChJ,gBAAgB,gDAAmB,SAAS,+FAA+F;AAC3I;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACS;;;;;;;;;;;;;;;;;;;;AC5G9B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkD;AACW;AACvC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,6EAA6E;AAC1G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB,kCAAkC,4CAAe;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,0EAAyB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC;AACA,uBAAuB,gDAAmB,WAAW;AACrD,0BAA0B;AAC1B,+KAA+K;AAC/K;AACA;AACA,uBAAuB,gDAAmB,WAAW;AACrD,0BAA0B;AAC1B,mUAAmU;AACnU;AACA,6DAA6D,gDAAmB,CAAC,4DAAyB,IAAI,8GAA8G;AAC5N,gBAAgB,gDAAmB,WAAW,2BAA2B;AACzE,YAAY,gDAAmB,WAAW,yCAAyC;AACnF,gBAAgB,gDAAmB,UAAU,6FAA6F;AAC1I,gBAAgB,gDAAmB,UAAU,6FAA6F;AAC1I,gBAAgB,gDAAmB,WAAW,uCAAuC;AACrF;AACA,oBAAoB,gDAAmB,UAAU,8DAA8D;AAC/G;AACA,6BAA6B,gDAAmB,WAAW,uCAAuC;AAClG;AACA;AACA,CAAC,CAAC,8DAAmB;AACY;AACjC,sDAAmB,0BAA0B,2EAA0B;AACvE,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;AC7M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e,IAAI,8BAA8B;AACrG;AACA;AACA;AACA,gBAAgB,gDAAmB,CAAC,oDAAiB,IAAI,4BAA4B;AACrF;AACA;AACA;AACA,wBAAwB,yBAAyB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,sDAAmB;AACjC;AACA;AACA;AACA,aAAa;AACb;AACA,gBAAgB,gDAAmB,UAAU,wHAAwH;AACrK;AACA;AACA;AACA,mBAAmB,sDAAmB,0CAA0C,6BAA6B;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACe;AAClC;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,uDAAoB;AACnC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gBAAgB,gDAAmB,UAAU,UAAU;AACvD,YAAY,gDAAmB,WAAW,yDAAyD;AACnG,YAAY,gDAAmB,WAAW,kCAAkC;AAC5E,gBAAgB,gDAAmB,CAAC,wDAAqB,IAAI,uBAAuB;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,mEAAkB;AACK;AACzB,sDAAmB;AACnB,WAAW,gDAAmB,CAAC,yCAAM;AACrC,CAAC;;;;;;;;;;;;;;;;;;AC9KD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AAC2D;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,gDAAmB,WAAW,kCAAkC;AACzG,qBAAqB,sDAAe,CAAC,gDAAmB,aAAa,qHAAqH,sEAAsE,4HAA4H;AAC5X,YAAY,gDAAmB,UAAU,2CAA2C;AACpF,gBAAgB,gDAAmB,UAAU,uCAAuC;AACpF,iCAAiC,mBAAmB;AACpD;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACU;AAC7B,iEAAe,iBAAiB,EAAC;AACjC,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;AChDD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACO;AACY;AACiD;AACnG;AACA;AACA;AACA;AACA,wBAAwB,4CAAe;AACvC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,qEAAqE,OAAO,gDAAmB,0BAA0B,kCAAkC,IAAI;AAC/J,gBAAgB,gDAAmB,UAAU,kEAAkE;AAC/G;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,4DAAmB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACY;AAC/B;AACA;AACA;AACA;AACA,oBAAoB,4CAAe;AACnC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,sDAAmB,yEAAyE,iBAAiB;AACrI,gBAAgB,gDAAmB,WAAW,kDAAkD;AAChG,YAAY,gDAAmB,UAAU,iCAAiC;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4CAAqB;AACzC,oBAAoB,4CAAqB;AACzC;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,gBAAgB,gDAAmB,UAAU,kCAAkC;AAC/E;AACA;AACA,CAAC,CAAC,+DAAwB;AACgB;AAC1C,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;AC1CD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACkD;AACpB;AACuB;AACA;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,6DAAY;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,uEAAuE;AACpH,YAAY,gDAAmB,UAAU,mEAAmE;AAC5G,YAAY,gDAAmB,UAAU,sEAAsE;AAC/G;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACC;AACtB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;ACvDD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACQ;AAC4D;AACnG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iDAAQ;AAC/B;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,yBAAyB;AACtE,YAAY,gDAAmB,UAAU,sCAAsC;AAC/E,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,uCAAuC;AACtF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ACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AAC0B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACyB;;;;;;;;;;;;;;ACpG1B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACgD;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,CAAC,uCAAI,IAAI,wBAAwB;AACpE;AACA;AACA,CAAC,CAAC,oDAAiB;AACnB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;ACzCD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkD;AAC1B;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KA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UAAU,sCAAsC;AACvF,wBAAwB,gDAAmB,kBAAkB,oCAAoC;AACjG,YAAY,gDAAmB,UAAU,iDAAiD;AAC1F,gBAAgB,gDAAmB,UAAU,sCAAsC;AACnF,oBAAoB,gDAAmB,kBAAkB,uCAAuC;AAChG;AACA;AACA,CAAC,CAAC,oDAAiB;AACnB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,gDAAmB,CAAC,2CAAc,kEAAkE,OAAO,gDAAmB,CAAC,0DAAkB,IAAI,sCAAsC,IAAI;AAC9M;AACA;AACA,CAAC,CAAC,oDAAiB;;;;;;;;;;;;;;;;;;;AC9DnB,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACD,gBAAgB,SAAI,IAAI,SAAI;AAC5B;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC+B;AACiF;AACzD;AACe;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,4JAA4J;AACzM;AACA;AACA,8BAA8B;AAC9B,gBAAgB,gDAAmB,CAAC,2CAAc,IAAI,UAAU;AAChE,YAAY,gDAAmB,UAAU,4EAA4E;AACrH;AACA;AACA,eAA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eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACqC;AACP;AACO;AACqB;AACqB;AAC1B;AACtD;AACA;AACA;AACA;AACA,wBAAwB,4CAAe;AACvC;AACA;AACA;AACA,yBAAyB,qEAAoB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,sDAAmB;AAC/C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB,gDAAmB,UAAU,sDAAsD;AACnG,gFAAgF,gDAAmB,UAAU,8CAA8C;AAC3J,YAAY,gDAAmB,UAAU;AACzC;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4CAAqB;AACzC,oBAAoB,4CAAqB;AACzC;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACe;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,gDAAmB,WAAW;AAC1C;AACA;AACA,mBAAmB;AACnB,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,2GAA2G;AAC1J,gBAAgB,gDAAmB;AACnC;AACA;AACA,mBAAmB,sDAAe,CAAC,gDAAmB,UAAU;AAChE;AACA;AACA,eAAe;AACf,YAAY,gD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A;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AAC0C;AAChB;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,uCAAuC;AACpF;AACA;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,CAAC,kEAAwB,IAAI,yGAAyG;AAC5K,SAAS;AACT;AACA;AACA,CAAC,CAAC,oDAAiB;AACI;AACvB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;AC1DD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACD,gBAAgB,SAAI,IAAI,SAAI;AAC5B;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACsC;AACtC;AAC2H;AACpH;AACP,4BAA4B;AAC5B;AACA;AACA;AACA;AACA,iBAAiB,gDAAM,eAAe,2FAAsB,aAAa,kBAAkB;AAC3F,IAAI,gDAAM;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,kFAAkB;AACK;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT;AACA;;;;;;;;;;;AC5DA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACNgE;AACnC","sources":["webpack://SurveyCreator/webpack/universalModuleDefinition","webpack://SurveyCreator/../survey-creator-react/src/ActionButton.tsx","webpack://SurveyCreator/../survey-creator-react/src/AddQuestionButton.tsx","webpack://SurveyCreator/../survey-creator-react/src/ImageItemValueWrapper.tsx","webpack://SurveyCreator/../survey-creator-react/src/ItemValueWrapper.tsx","webpack://SurveyCreator/../survey-creator-react/src/LogoImage.tsx","webpack://SurveyCreator/../survey-creator-react/src/MatrixCellWrapper.tsx","webpack://SurveyCreator/../survey-creator-react/src/ModelElement.tsx","webpack://SurveyCreator/../survey-creator-react/src/Navigation.tsx","webpack://SurveyCreator/../survey-creator-react/src/PageNavigator.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionEditorContent.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionEmbeddedSurvey.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionError.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionLinkValue.tsx","webpack://SurveyCreator/../survey-creator-react/src/Results.tsx","webpack://SurveyCreator/../survey-creator-react/src/StringEditor.tsx","webpack://SurveyCreator/../survey-creator-react/src/SurveyCreator.tsx","webpack://SurveyCreator/../survey-creator-react/src/Switcher.tsx","webpack://SurveyCreator/../survey-creator-react/src/TabbedMenu.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/CellQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/CellQuestionDropdown.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Page.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Panel.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Question.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionBanner.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionDropdown.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionFooter.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionImage.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionRating.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionWidget.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Row.tsx","webpack://SurveyCreator/../survey-creator-react/src/components/Search.tsx","webpack://SurveyCreator/../survey-creator-react/src/components/SurfacePlaceholder.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/BooleanSwitch.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/ColorItem.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/ColorQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/FileEditQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/SpinEditor.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/TextWithResetQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/entries/index-wc.ts","webpack://SurveyCreator/../survey-creator-react/src/entries/index.ts","webpack://SurveyCreator/../survey-creator-react/src/events.ts","webpack://SurveyCreator/../survey-creator-react/src/side-bar/ObjectSelector.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/PropertyGrid.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/PropertyGridPlaceholder.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBar.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBarDefaultHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBarHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBarPropertyGridHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/TabButton.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/TabControl.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Designer.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/JsonEditorAce.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/JsonEditorTextarea.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/JsonErrorItem.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Logic.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Preview.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/SurveySimulator.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Theme.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/logic-operator.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/translation/TranslateFromAction.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/translation/Translation.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/translation/TranslationLineSkeleton.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/AdaptiveToolbox.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxCategory.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxItem.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxItemGroup.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxList.tsx","webpack://SurveyCreator/./src/index.ts","webpack://SurveyCreator/external umd {\"root\":\"Survey\",\"commonjs2\":\"survey-core\",\"commonjs\":\"survey-core\",\"amd\":\"survey-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyCreatorCore\",\"commonjs2\":\"survey-creator-core\",\"commonjs\":\"survey-creator-core\",\"amd\":\"survey-creator-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyUI\",\"commonjs2\":\"survey-js-ui\",\"commonjs\":\"survey-js-ui\",\"amd\":\"survey-js-ui\"}","webpack://SurveyCreator/webpack/bootstrap","webpack://SurveyCreator/webpack/runtime/compat get default export","webpack://SurveyCreator/webpack/runtime/define property getters","webpack://SurveyCreator/webpack/runtime/hasOwnProperty shorthand","webpack://SurveyCreator/webpack/runtime/make namespace object","webpack://SurveyCreator/./entries/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"survey-core\"), require(\"survey-creator-core\"), require(\"survey-js-ui\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"survey-creator-js\", [\"survey-core\", \"survey-creator-core\", \"survey-js-ui\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"survey-creator-js\"] = factory(require(\"survey-core\"), require(\"survey-creator-core\"), require(\"survey-js-ui\"));\n\telse\n\t\troot[\"SurveyCreator\"] = factory(root[\"Survey\"], root[\"SurveyCreatorCore\"], root[\"SurveyUI\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE_survey_core__, __WEBPACK_EXTERNAL_MODULE_survey_creator_core__, __WEBPACK_EXTERNAL_MODULE_survey_js_ui__) => {\nreturn ","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { CssClassBuilder } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon, } from \"survey-react-ui\";\nvar ActionButton = /** @class */ (function (_super) {\n __extends(ActionButton, _super);\n function ActionButton() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ActionButton.prototype.renderElement = function () {\n var classes = new CssClassBuilder()\n .append(this.props.classes)\n .append(\"svc-action-button\")\n .append(\"svc-action-button--selected\", !!this.props.selected)\n .append(\"svc-action-button--disabled\", !!this.props.disabled)\n .toString();\n if (this.props.iconName) {\n return this.renderIcon(classes);\n }\n return this.renderButtonText(classes);\n };\n ActionButton.prototype.renderButtonText = function (classes) {\n var _this = this;\n if (this.props.disabled) {\n return React.createElement(\"span\", { className: classes }, this.props.text);\n }\n return (React.createElement(React.Fragment, null, attachKey2click(React.createElement(\"span\", { role: \"button\", className: classes, onClick: function (e) {\n if (!_this.props.allowBubble) {\n e.stopPropagation();\n }\n _this.props.click();\n }, title: this.props.title }, this.props.text))));\n };\n ActionButton.prototype.renderIcon = function (classes) {\n var _this = this;\n classes += \" svc-action-button--icon\";\n if (this.props.disabled) {\n return React.createElement(\"span\", { className: classes },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.props.iconName }));\n }\n return (React.createElement(React.Fragment, null, attachKey2click(React.createElement(\"span\", { className: classes, onClick: function (e) {\n if (!_this.props.allowBubble) {\n e.stopPropagation();\n }\n _this.props.click();\n }, title: this.props.title },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.props.iconName })))));\n };\n return ActionButton;\n}(SurveyElementBase));\nexport { ActionButton };\nReactElementFactory.Instance.registerElement(\"svc-action-button\", function (props) { return React.createElement(ActionButton, props); });\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, Popup, ReactElementFactory, SvgIcon, SurveyElementBase } from \"survey-react-ui\";\nimport { ReactMouseEvent } from \"./events\";\nvar AddQuestionButtonComponent = /** @class */ (function (_super) {\n __extends(AddQuestionButtonComponent, _super);\n function AddQuestionButtonComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(AddQuestionButtonComponent.prototype, \"model\", {\n get: function () {\n return this.props.item.data;\n },\n enumerable: false,\n configurable: true\n });\n AddQuestionButtonComponent.prototype.renderTypeSelector = function () {\n var questionTypeSelectorModel = this.model.questionTypeSelectorModel;\n return attachKey2click(React.createElement(\"button\", { type: \"button\", onClick: function (e) {\n e.stopPropagation();\n questionTypeSelectorModel.action();\n }, className: \"svc-element__question-type-selector\", title: this.model.addNewQuestionText, role: \"button\" },\n React.createElement(\"span\", { className: \"svc-element__question-type-selector-icon\" },\n React.createElement(SvgIcon, { iconName: questionTypeSelectorModel.iconName, size: \"auto\", title: this.model.addNewQuestionText })),\n this.props.renderPopup === undefined || this.props.renderPopup ?\n React.createElement(Popup, { model: questionTypeSelectorModel.popupModel })\n : null));\n };\n AddQuestionButtonComponent.prototype.renderElement = function () {\n var _this = this;\n var addButtonClass = this.props.buttonClass || \"svc-btn\";\n return React.createElement(React.Fragment, null,\n attachKey2click(React.createElement(\"div\", { className: \"svc-element__add-new-question \" + addButtonClass, onClick: function (e) {\n e.stopPropagation();\n _this.model.addNewQuestion(_this.model, new ReactMouseEvent(e));\n }, onMouseOver: function (e) { return _this.model.hoverStopper && _this.model.hoverStopper(e.nativeEvent, e.currentTarget); } },\n React.createElement(SvgIcon, { className: \"svc-panel__add-new-question-icon\", iconName: \"icon-add_24x24\", size: \"auto\" }),\n React.createElement(\"span\", { className: \"svc-add-new-item-button__text\" }, this.model.addNewQuestionText),\n this.props.renderPopup !== false ? this.renderTypeSelector() : null)),\n this.props.renderPopup === false ? this.renderTypeSelector() : null);\n };\n return AddQuestionButtonComponent;\n}(SurveyElementBase));\nexport { AddQuestionButtonComponent };\nReactElementFactory.Instance.registerElement(\"svc-add-new-question-btn\", function (props) {\n return React.createElement(AddQuestionButtonComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ImageItemValueWrapperViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { LoadingIndicatorComponent, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { attachKey2click, } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar ImageItemValueAdornerComponent = /** @class */ (function (_super) {\n __extends(ImageItemValueAdornerComponent, _super);\n function ImageItemValueAdornerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.preventDragHandler = function (e) {\n e.preventDefault();\n };\n _this.rootRef = React.createRef();\n return _this;\n }\n ImageItemValueAdornerComponent.prototype.createModel = function (props) {\n this.model = new ImageItemValueWrapperViewModel(props.componentData.creator, props.question, props.item, null, null);\n };\n ImageItemValueAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"item\"];\n };\n ImageItemValueAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(ImageItemValueAdornerComponent.prototype, \"question\", {\n get: function () {\n return this.props.question;\n },\n enumerable: false,\n configurable: true\n });\n ImageItemValueAdornerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.itemsRoot = this.rootRef.current;\n };\n ImageItemValueAdornerComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.model.itemsRoot = this.rootRef.current;\n };\n ImageItemValueAdornerComponent.prototype.renderLoadingIndicator = function () {\n return React.createElement(\"div\", { className: \"svc-image-item-value__loading\" },\n React.createElement(LoadingIndicatorComponent, null));\n };\n ImageItemValueAdornerComponent.prototype.renderNewItemControls = function () {\n var _this = this;\n var addButton = attachKey2click(React.createElement(\"span\", { className: this.model.addButtonCss, onClick: function () { return _this.model.chooseNewFile(_this.model); } }, this.model.showChooseButtonAsIcon ?\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-add-lg\", title: this.model.addFileTitle }) :\n React.createElement(\"span\", null, this.model.chooseImageText)));\n var placeholder = this.model.showPlaceholder ? React.createElement(\"span\", { className: \"svc-image-item-value__placeholder\" }, this.model.placeholderText) : null;\n return React.createElement(React.Fragment, null,\n placeholder,\n addButton);\n };\n ImageItemValueAdornerComponent.prototype.render = function () {\n var _this = this;\n this.model.item = this.props.item;\n var isNew = !this.props.question.isItemInList(this.props.item);\n this.model.isNew = isNew;\n var imageStyle = !this.model.getIsNewItemSingle() ? { width: this.question.renderedImageWidth, height: this.question.renderedImageHeight } : null;\n var content = null;\n if (isNew || this.model.isUploading) {\n content = (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-image-item-value__item\" },\n React.createElement(\"div\", { className: \"sd-imagepicker__item sd-imagepicker__item--inline\" },\n React.createElement(\"label\", { className: \"sd-imagepicker__label\" },\n React.createElement(\"div\", { style: imageStyle, className: \"sd-imagepicker__image\" }, this.model.isUploading ? this.renderLoadingIndicator() : null)))),\n this.model.allowAdd && !this.model.isUploading ?\n React.createElement(\"div\", { className: \"svc-image-item-value-controls\" }, this.renderNewItemControls())\n : null));\n }\n else {\n content = (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-image-item-value__item\" }, this.props.element),\n this.model.isDraggable && this.model.canRenderControls ?\n React.createElement(\"span\", { className: \"svc-context-button svc-image-item-value-controls__drag-area-indicator\", onPointerDown: function (event) { return _this.model.onPointerDown(event); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-drag-24x24\" }))\n : null,\n this.model.canRenderControls ?\n React.createElement(\"div\", { className: \"svc-context-container svc-image-item-value-controls\" },\n this.model.allowRemove && !this.model.isUploading ? attachKey2click(React.createElement(\"span\", { className: \"svc-context-button\", onClick: function () { return _this.model.chooseFile(_this.model); } },\n React.createElement(SvgIcon, { role: \"button\", size: \"auto\", iconName: \"icon-choosefile\", title: this.model.selectFileTitle }))) : null,\n this.model.allowRemove && !this.model.isUploading ? attachKey2click(React.createElement(\"span\", { className: \"svc-context-button svc-context-button--danger\", onClick: function () { return _this.model.remove(_this.model); } },\n React.createElement(SvgIcon, { role: \"button\", size: \"auto\", iconName: \"icon-delete\", title: this.model.removeFileTitle }))) : null)\n : null));\n }\n return (React.createElement(\"div\", { ref: this.rootRef, className: this.model.getRootCss(), key: this.props.element.key, \"data-sv-drop-target-item-value\": this.model.isDraggable ? this.model.item.value : undefined, onPointerDown: function (event) { return _this.model.onPointerDown(event); }, onDragStart: this.preventDragHandler, onDrop: this.model.onDrop, onDragEnter: this.model.onDragEnter, onDragOver: this.model.onDragOver, onDragLeave: this.model.onDragLeave },\n React.createElement(\"div\", { className: \"svc-image-item-value-wrapper__ghost\", style: imageStyle }),\n React.createElement(\"div\", { className: \"svc-image-item-value-wrapper__content\" },\n React.createElement(\"input\", { type: \"file\", \"aria-hidden\": \"true\", tabIndex: -1, accept: this.model.acceptedTypes, className: \"svc-choose-file-input\", style: {\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n } }),\n content)));\n };\n return ImageItemValueAdornerComponent;\n}(CreatorModelElement));\nexport { ImageItemValueAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-image-item-value\", function (props) {\n return React.createElement(ImageItemValueAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ItemValueWrapperViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar ItemValueAdornerComponent = /** @class */ (function (_super) {\n __extends(ItemValueAdornerComponent, _super);\n function ItemValueAdornerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.onBlur = function (event) {\n _this.model.onFocusOut(event.nativeEvent);\n };\n _this.rootRef = React.createRef();\n return _this;\n }\n ItemValueAdornerComponent.prototype.createModel = function (props) {\n this.model = new ItemValueWrapperViewModel(props.componentData.creator, props.question, props.item);\n };\n ItemValueAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"item\"];\n };\n ItemValueAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n ItemValueAdornerComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.props.item.setRootElement(this.rootRef.current);\n if (prevProps.item !== this.props.item && prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n };\n ItemValueAdornerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.props.item.setRootElement(this.rootRef.current);\n };\n ItemValueAdornerComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.props.item.setRootElement(undefined);\n };\n ItemValueAdornerComponent.prototype.render = function () {\n var _this = this;\n this.model.item = this.props.item;\n var button = this.model.allowAdd ? (attachKey2click(React.createElement(\"span\", { role: \"button\", className: \"svc-item-value-controls__button svc-item-value-controls__add\", \"aria-label\": this.model.tooltip, onClick: function () {\n _this.model.add(_this.model);\n _this.model.isNew = false;\n } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-add_16x16\", title: this.model.tooltip })))) : (React.createElement(React.Fragment, null,\n \" \",\n this.model.isDraggable ? (React.createElement(\"span\", { className: \"svc-item-value-controls__button svc-item-value-controls__drag\" },\n React.createElement(SvgIcon, { className: \"svc-item-value-controls__drag-icon\", size: \"auto\", iconName: \"icon-drag-24x24\", title: this.model.dragTooltip }))) : null,\n this.model.allowRemove ? attachKey2click(React.createElement(\"span\", { role: \"button\", className: \"svc-item-value-controls__button svc-item-value-controls__remove\", \"aria-label\": this.model.tooltip, onClick: function () { return _this.model.remove(_this.model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-remove_16x16\", title: this.model.tooltip }))) : null));\n var itemkey = this.props.element.key + (this.model.allowAdd ? \"_new\" : \"\");\n return (React.createElement(\"div\", { ref: this.rootRef, className: \"svc-item-value-wrapper\" +\n (this.model.allowAdd ? \" svc-item-value--new\" : \"\") +\n (this.model.isDragging ? \" svc-item-value--dragging\" : \"\") +\n (this.model.isDragDropGhost ? \" svc-item-value--ghost\" : \"\") +\n (this.model.isDragDropMoveDown ? \" svc-item-value--movedown\" : \"\") +\n (this.model.isDragDropMoveUp ? \" svc-item-value--moveup\" : \"\"), key: itemkey, \"data-sv-drop-target-item-value\": this.model.isDraggable ? this.model.item.value : undefined, onPointerDown: function (event) { return _this.model.onPointerDown(event); } },\n React.createElement(\"div\", { className: \"svc-item-value__ghost\" }),\n React.createElement(\"div\", { className: \"svc-item-value-controls\", onBlur: this.onBlur }, button),\n React.createElement(\"div\", { className: \"svc-item-value__item\", onClick: function (event) { return _this.model.select(_this.model, event.nativeEvent); } }, this.props.element)));\n };\n return ItemValueAdornerComponent;\n}(CreatorModelElement));\nexport { ItemValueAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-item-value\", function (props) {\n return React.createElement(ItemValueAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, LogoImage, SvgIcon, attachKey2click, LoadingIndicatorComponent } from \"survey-react-ui\";\nimport { LogoImageViewModel } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar LogoImageComponent = /** @class */ (function (_super) {\n __extends(LogoImageComponent, _super);\n function LogoImageComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n LogoImageComponent.prototype.createModel = function (props) {\n var prevRoot = null;\n if (!!this.model) {\n prevRoot = this.model.root;\n }\n this.model = new LogoImageViewModel(props.data, prevRoot);\n };\n LogoImageComponent.prototype.getUpdatedModelProps = function () {\n return [\"data\"];\n };\n LogoImageComponent.prototype.getStateElement = function () {\n return this.model;\n };\n LogoImageComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.root = this.rootRef.current;\n };\n LogoImageComponent.prototype.renderChooseButton = function () {\n var _this = this;\n return attachKey2click(React.createElement(\"span\", { className: \"svc-context-button\", onClick: function () { return _this.model.chooseFile(_this.model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-choosefile\" })));\n };\n LogoImageComponent.prototype.renderClearButton = function () {\n var _this = this;\n return attachKey2click(React.createElement(\"span\", { className: \"svc-context-button svc-context-button--danger\", onClick: function () { return _this.model.remove(_this.model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-clear\" })));\n };\n LogoImageComponent.prototype.renderButtons = function () {\n return (React.createElement(\"div\", { className: \"svc-context-container svc-logo-image-controls\" },\n this.renderChooseButton(),\n this.renderClearButton()));\n };\n LogoImageComponent.prototype.renderImage = function () {\n return React.createElement(\"div\", { className: this.model.containerCss },\n this.renderButtons(),\n React.createElement(LogoImage, { data: this.props.data.survey }));\n };\n LogoImageComponent.prototype.renderPlaceHolder = function () {\n var _this = this;\n return this.model.allowEdit && !this.model.isUploading ? attachKey2click(React.createElement(\"div\", { className: \"svc-logo-image-placeholder\", onClick: function () { return _this.model.chooseFile(_this.model); } },\n React.createElement(\"svg\", null,\n React.createElement(\"use\", { xlinkHref: \"#icon-image-48x48\" })))) : null;\n };\n LogoImageComponent.prototype.renderInput = function () {\n return React.createElement(\"input\", { \"aria-hidden\": \"true\", type: \"file\", tabIndex: -1, accept: this.model.acceptedTypes, className: \"svc-choose-file-input\" });\n };\n LogoImageComponent.prototype.renderLoadingIndicator = function () {\n return React.createElement(\"div\", { className: \"svc-logo-image__loading\" },\n React.createElement(LoadingIndicatorComponent, null));\n };\n LogoImageComponent.prototype.render = function () {\n var content = null;\n if (this.model.survey.locLogo.renderedHtml && !this.model.isUploading) {\n content = this.renderImage();\n }\n else if (this.model.isUploading) {\n content = this.renderLoadingIndicator();\n }\n else {\n content = this.renderPlaceHolder();\n }\n return (React.createElement(\"div\", { ref: this.rootRef, className: \"svc-logo-image\" },\n this.renderInput(),\n content));\n };\n return LogoImageComponent;\n}(CreatorModelElement));\nexport { LogoImageComponent };\nReactElementFactory.Instance.registerElement(\"svc-logo-image\", function (props) {\n return React.createElement(LogoImageComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { MatrixCellWrapperViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar MatrixCellAdornerComponent = /** @class */ (function (_super) {\n __extends(MatrixCellAdornerComponent, _super);\n function MatrixCellAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MatrixCellAdornerComponent.prototype.createModel = function (props) {\n var _a;\n var data = props.componentData;\n var prevIsSelected = false;\n if (!!this.model) {\n prevIsSelected = this.model.isSelected;\n }\n this.model = new MatrixCellWrapperViewModel(data.creator, data.element, data.question, data.row, data.column || ((_a = data.element.cell) === null || _a === void 0 ? void 0 : _a.column));\n this.model.isSelected = prevIsSelected;\n };\n MatrixCellAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"componentData\"];\n };\n MatrixCellAdornerComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n var _a, _b;\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n var data = this.props.componentData;\n this.model.templateData = data.element;\n this.model.row = data.row;\n this.model.column = data.column || ((_b = (_a = data.element) === null || _a === void 0 ? void 0 : _a.cell) === null || _b === void 0 ? void 0 : _b.column);\n this.model.question = data.question;\n };\n MatrixCellAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n MatrixCellAdornerComponent.prototype.render = function () {\n var _this = this;\n var controls = null;\n if (!!this.model.isSupportCellEditor) {\n controls = React.createElement(\"div\", { className: \"svc-matrix-cell__question-controls\" }, attachKey2click(React.createElement(\"span\", { className: \"svc-matrix-cell__question-controls-button svc-context-button\", onClick: function (event) { return _this.model.editQuestion(_this.model, event); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-edit\" }))));\n }\n return (React.createElement(\"div\", { className: \"svc-matrix-cell\", tabIndex: -1, key: this.props.element.key, onClick: function (e) { return !_this.props.question && _this.model.selectContext(_this.model, e); }, onMouseOut: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); } },\n React.createElement(\"div\", { className: \"svc-matrix-cell--selected\" + (this.model.isSelected ? \" svc-visible\" : \"\") }),\n this.props.element,\n controls));\n };\n return MatrixCellAdornerComponent;\n}(CreatorModelElement));\nexport { MatrixCellAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-matrix-cell\", function (props) {\n return React.createElement(MatrixCellAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { SurveyElementBase } from \"survey-react-ui\";\nvar CreatorModelElement = /** @class */ (function (_super) {\n __extends(CreatorModelElement, _super);\n function CreatorModelElement(props) {\n var _this = _super.call(this, props) || this;\n _this.createModel(props);\n return _this;\n }\n CreatorModelElement.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n var result = _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState);\n if (result) {\n if (this.needUpdateModel(nextProps)) {\n this.createModel(nextProps);\n }\n }\n return result;\n };\n CreatorModelElement.prototype.createModel = function (props) { };\n CreatorModelElement.prototype.needUpdateModel = function (nextProps) {\n var names = this.getUpdatedModelProps();\n if (!Array.isArray(names))\n return true;\n for (var i = 0; i < names.length; i++) {\n var key = names[i];\n if (this.props[key] !== nextProps[key])\n return true;\n }\n return false;\n };\n CreatorModelElement.prototype.getUpdatedModelProps = function () {\n return undefined;\n };\n return CreatorModelElement;\n}(SurveyElementBase));\nexport { CreatorModelElement };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nvar SurveyNavigation = /** @class */ (function (_super) {\n __extends(SurveyNavigation, _super);\n function SurveyNavigation() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.onPropChangedHandler = function (sender, options) {\n if (_this.isRendering)\n return;\n var reactiveProps = [\n \"showProgressBar\",\n \"progressBarType\",\n \"currentPageValue\"\n ];\n if (reactiveProps.indexOf(options.name) < 0)\n return;\n var val = {};\n for (var i = 0; i < reactiveProps.length; i++) {\n var propName = reactiveProps[i];\n val[propName] = _this.survey[propName];\n }\n _this.setState(val);\n };\n return _this;\n }\n SurveyNavigation.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.setHandler();\n };\n SurveyNavigation.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.setHandler();\n };\n SurveyNavigation.prototype.setHandler = function () {\n if (!this.survey ||\n this.survey.onPropertyChanged.hasFunc(this.onPropChangedHandler))\n return;\n this.survey.onPropertyChanged.add(this.onPropChangedHandler);\n };\n SurveyNavigation.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n if (this.survey) {\n this.survey.onPropertyChanged.remove(this.onPropChangedHandler);\n }\n };\n Object.defineProperty(SurveyNavigation.prototype, \"survey\", {\n get: function () {\n return this.props.survey;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyNavigation.prototype, \"location\", {\n get: function () {\n return this.props.location;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyNavigation.prototype, \"isTop\", {\n get: function () {\n return this.location == \"top\";\n },\n enumerable: false,\n configurable: true\n });\n SurveyNavigation.prototype.canRender = function () {\n return this.isTop\n ? this.survey.isShowProgressBarOnTop\n : this.survey.isShowProgressBarOnBottom;\n };\n SurveyNavigation.prototype.renderElement = function () {\n return ReactElementFactory.Instance.createElement(this.survey.getProgressTypeComponent(), { survey: this.survey, css: this.survey.css, isTop: this.isTop });\n };\n return SurveyNavigation;\n}(SurveyElementBase));\nexport { SurveyNavigation };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { unwrap } from \"survey-core\";\nimport { SvgIcon, Popup, attachKey2click } from \"survey-react-ui\";\nimport { PageNavigatorViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar SurveyPageNavigator = /** @class */ (function (_super) {\n __extends(SurveyPageNavigator, _super);\n function SurveyPageNavigator(props) {\n var _this = _super.call(this, props) || this;\n _this.containerRef = React.createRef();\n return _this;\n }\n SurveyPageNavigator.prototype.createModel = function (props) {\n if (this.model) {\n this.model.dispose();\n }\n this.model = new PageNavigatorViewModel(props.pagesController, props.pageEditMode);\n };\n SurveyPageNavigator.prototype.getUpdatedModelProps = function () {\n return [\"pagesController\", \"pageEditMode\"];\n };\n SurveyPageNavigator.prototype.getStateElement = function () {\n return this.model;\n };\n SurveyPageNavigator.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n if (this.props.pageEditMode !== \"bypage\") {\n var el = this.containerRef.current;\n this.model.attachToUI(el);\n }\n };\n SurveyPageNavigator.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.stopItemsContainerHeightObserver();\n this.model.setScrollableContainer(undefined);\n };\n SurveyPageNavigator.prototype.renderElement = function () {\n var _this = this;\n var className = \"svc-page-navigator__selector svc-page-navigator__button\";\n if (this.model.isPopupOpened)\n className += \" svc-page-navigator__button--pressed\";\n return (React.createElement(\"div\", { className: \"svc-page-navigator\", ref: this.containerRef, style: { display: this.model.visible ? \"flex\" : \"none\" } },\n React.createElement(\"div\", null,\n attachKey2click(React.createElement(\"div\", { role: \"button\", className: className, onClick: function () { return _this.model.togglePageSelector(); }, title: this.model.pageSelectorCaption },\n React.createElement(SvgIcon, { className: \"svc-page-navigator__button-icon\", iconName: this.model.icon, size: \"auto\", title: this.model.pageSelectorCaption }))),\n React.createElement(Popup, { model: this.model.popupModel })),\n React.createElement(\"div\", null, this.model.visibleItems.map(function (item) { return (React.createElement(SurveyPageNavigatorItem, { key: item.id, item: item })); }))));\n };\n return SurveyPageNavigator;\n}(CreatorModelElement));\nexport { SurveyPageNavigator };\nvar SurveyPageNavigatorItem = /** @class */ (function (_super) {\n __extends(SurveyPageNavigatorItem, _super);\n function SurveyPageNavigatorItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyPageNavigatorItem.prototype.getStateElement = function () {\n return this.props.item;\n };\n SurveyPageNavigatorItem.prototype.renderElement = function () {\n var item = this.props.item;\n var className = \"svc-page-navigator-item-content\";\n if (unwrap(item.active)) {\n className += \" svc-page-navigator-item--selected\";\n }\n if (unwrap(item.disabled)) {\n className += \" svc-page-navigator-item--disabled\";\n }\n return (React.createElement(\"div\", { className: \"svc-page-navigator-item\" }, attachKey2click(React.createElement(\"div\", { role: \"button\", className: className, onClick: function (e) {\n item.action(item);\n e.stopPropagation();\n } },\n React.createElement(\"div\", { className: \"svc-page-navigator-item__dot\", title: item.title },\n React.createElement(\"div\", { className: \"svc-page-navigator-item__dot-content\" })),\n React.createElement(\"div\", { className: \"svc-page-navigator-item__banner\" },\n React.createElement(\"span\", { className: \"svc-page-navigator-item__text\" }, item.title),\n React.createElement(\"span\", { className: \"svc-page-navigator-item__dot\" },\n React.createElement(\"span\", { className: \"svc-page-navigator-item__dot-content\" })))))));\n };\n return SurveyPageNavigatorItem;\n}(CreatorModelElement));\nexport { SurveyPageNavigatorItem };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ReactElementFactory, ReactQuestionFactory, SurveyQuestion } from \"survey-react-ui\";\nimport * as React from \"react\";\nvar QuestionEditorContentComponent = /** @class */ (function (_super) {\n __extends(QuestionEditorContentComponent, _super);\n function QuestionEditorContentComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(QuestionEditorContentComponent.prototype, \"survey\", {\n get: function () {\n return this.props.survey;\n },\n enumerable: false,\n configurable: true\n });\n QuestionEditorContentComponent.prototype.createQuestionElement = function (question) {\n return ReactQuestionFactory.Instance.createQuestion(!question.isDefaultRendering || question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(), {\n question: question,\n isDisplayMode: question.isInputReadOnly,\n creator: this,\n });\n };\n QuestionEditorContentComponent.prototype.questionTitleLocation = function () {\n return this.survey.questionTitleLocation;\n };\n QuestionEditorContentComponent.prototype.questionErrorLocation = function () {\n return this.survey.questionErrorLocation;\n };\n QuestionEditorContentComponent.prototype.renderError = function (key, error, cssClasses) {\n return null;\n };\n QuestionEditorContentComponent.prototype.render = function () {\n var question = this.survey.getAllQuestions()[0];\n return (React.createElement(\"div\", { style: this.props.style },\n React.createElement(SurveyQuestion, { creator: this, element: question })));\n };\n return QuestionEditorContentComponent;\n}(React.Component));\nexport { QuestionEditorContentComponent };\nReactElementFactory.Instance.registerElement(\"svc-question-editor-content\", function (props) {\n return React.createElement(QuestionEditorContentComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyPage, SurveyQuestionElementBase } from \"survey-react-ui\";\nvar SurveyElementEmbeddedSurvey = /** @class */ (function (_super) {\n __extends(SurveyElementEmbeddedSurvey, _super);\n function SurveyElementEmbeddedSurvey() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyElementEmbeddedSurvey.prototype, \"embeddedSurvey\", {\n get: function () {\n return (this.props.element || this.props.question);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyElementEmbeddedSurvey.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n SurveyElementEmbeddedSurvey.prototype.render = function () {\n if (!this.embeddedSurvey)\n return null;\n var survey = this.embeddedSurvey.embeddedSurvey;\n if (!survey || !survey.currentPage)\n return null;\n return React.createElement(SurveyPage, { survey: survey, page: survey.currentPage, css: survey.css, creator: this.creator });\n };\n return SurveyElementEmbeddedSurvey;\n}(SurveyQuestionElementBase));\nexport { SurveyElementEmbeddedSurvey };\nReactQuestionFactory.Instance.registerQuestion(\"embeddedsurvey\", function (props) {\n return React.createElement(SurveyElementEmbeddedSurvey, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { SurveyLocStringViewer } from \"survey-react-ui\";\nvar QuestionErrorComponent = /** @class */ (function (_super) {\n __extends(QuestionErrorComponent, _super);\n function QuestionErrorComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionErrorComponent.prototype.render = function () {\n return (React.createElement(\"div\", null,\n React.createElement(SvgIcon, { \"aria-hidden\": \"true\", iconName: \"icon-alert_24x24\", size: \"24\", className: this.props.cssClasses.error.icon }),\n React.createElement(\"span\", { className: this.props.cssClasses.error.item || undefined },\n React.createElement(SurveyLocStringViewer, { locStr: this.props.error.locText }))));\n };\n return QuestionErrorComponent;\n}(React.Component));\nexport { QuestionErrorComponent };\nReactElementFactory.Instance.registerElement(\"svc-question-error\", function (props) {\n return React.createElement(QuestionErrorComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionElementBase } from \"survey-react-ui\";\nimport { editorLocalization } from \"survey-creator-core\";\nimport { ActionButton } from \"./ActionButton\";\nvar SurveyQuestionLinkValue = /** @class */ (function (_super) {\n __extends(SurveyQuestionLinkValue, _super);\n function SurveyQuestionLinkValue() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyQuestionLinkValue.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionLinkValue.prototype.renderClear = function () {\n var _this = this;\n var showClear = this.questionBase.showClear;\n if (!this.questionBase.isReadOnly && showClear) {\n return (React.createElement(ActionButton, { classes: this.question.linkClearButtonCssClasses, click: function () { return _this.question.doClearClick(); }, text: editorLocalization.getString(\"pe.clear\") }));\n }\n else {\n return null;\n }\n };\n SurveyQuestionLinkValue.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(ActionButton, { classes: this.question.linkSetButtonCssClasses, click: function () { return _this.question.doLinkClick(); }, selected: this.question.isSelected, disabled: !this.question.isClickable, text: this.question.linkValueText, title: this.question.tooltip, iconName: this.question.iconName }),\n this.renderClear()));\n };\n return SurveyQuestionLinkValue;\n}(SurveyQuestionElementBase));\nexport { SurveyQuestionLinkValue };\nReactQuestionFactory.Instance.registerQuestion(\"linkvalue\", function (props) {\n return React.createElement(SurveyQuestionLinkValue, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyResultsModel } from \"survey-creator-core\";\nimport { attachKey2click, SurveyLocStringViewer, SvgIcon } from \"survey-react-ui\";\nimport { ActionButton } from \"./ActionButton\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar SurveyResults = /** @class */ (function (_super) {\n __extends(SurveyResults, _super);\n function SurveyResults() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyResults.prototype.createModel = function (props) {\n if (this.props.survey) {\n this.model = new SurveyResultsModel(props.survey);\n }\n };\n SurveyResults.prototype.getUpdatedModelProps = function () {\n return [\"survey\"];\n };\n SurveyResults.prototype.getStateElement = function () {\n return this.model;\n };\n SurveyResults.prototype.render = function () {\n var _this = this;\n if (!this.model) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svd-test-results\" },\n React.createElement(\"div\", { className: \"svd-test-results__content\" },\n React.createElement(\"div\", { className: \"svd-test-results__header\" },\n React.createElement(\"div\", { className: \"svd-test-results__header-text\" }, this.model.surveyResultsText),\n React.createElement(\"div\", { className: \"svd-test-results__header-types\" },\n React.createElement(ActionButton, { click: function () { return _this.model.selectTableClick(); }, text: this.model.surveyResultsTableText, selected: this.model.isTableSelected, disabled: false }),\n React.createElement(ActionButton, { click: function () { return _this.model.selectJsonClick(); }, text: this.model.surveyResultsJsonText, selected: this.model.isJsonSelected, disabled: false }))),\n this.renderResultAsText(),\n this.renderResultAsTable())));\n };\n SurveyResults.prototype.renderResultAsText = function () {\n if (this.model.resultViewType !== \"text\") {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svd-test-results__text svd-light-bg-color\" },\n React.createElement(\"div\", null, this.model.resultText)));\n };\n SurveyResults.prototype.renderResultAsTable = function () {\n if (this.model.resultViewType !== \"table\") {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svd-test-results__table svd-light-bg-color\" },\n React.createElement(\"table\", null,\n React.createElement(\"thead\", null,\n React.createElement(\"tr\", { className: \"svd-light-background-color\" },\n React.createElement(\"th\", { key: 1, className: \"svd-dark-border-color\" }, this.model.resultsTitle),\n React.createElement(\"th\", { key: 2, className: \"svd-dark-border-color\" }, this.model.resultsDisplayValue))),\n React.createElement(\"tbody\", null, SurveyResults.renderRows(this.model.resultData)))));\n };\n SurveyResults.renderRows = function (data) {\n var rows = [];\n for (var i = 0; i < data.length; i++) {\n rows.push(React.createElement(SurveyResultsByRow, { key: i + 1, row: data[i] }));\n }\n return rows;\n };\n return SurveyResults;\n}(CreatorModelElement));\nexport { SurveyResults };\nvar SurveyResultsByRow = /** @class */ (function (_super) {\n __extends(SurveyResultsByRow, _super);\n function SurveyResultsByRow() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyResultsByRow.prototype, \"row\", {\n get: function () {\n return this.props.row;\n },\n enumerable: false,\n configurable: true\n });\n SurveyResultsByRow.prototype.getStateElement = function () {\n return this.row;\n };\n SurveyResultsByRow.prototype.render = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n attachKey2click(React.createElement(\"tr\", { onClick: function () { return _this.row.toggle(); } },\n React.createElement(\"td\", { key: 1, style: { paddingLeft: this.row.textMargin }, className: \"svd-dark-border-color\" },\n this.row.isNode ? (React.createElement(\"span\", { style: { left: this.row.markerMargin }, className: \"svd-test-results__marker \" + (this.row.collapsed ? \"\" : \"svd-test-results__marker--expanded\") },\n React.createElement(SvgIcon, { iconName: \"icon-expand_16x16\", size: 16 }))) : null,\n this.row.question ? React.createElement(SurveyLocStringViewer, { locStr: this.row.question.locTitle }) : React.createElement(\"span\", null, this.row.title)),\n React.createElement(\"td\", { key: 2, className: this.row.isNode ? \"svd-test-results__node-value\" : \"svd-dark-border-color\" }, this.row.getString(this.row.displayValue)))),\n this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null));\n };\n return SurveyResultsByRow;\n}(CreatorModelElement));\nexport { SurveyResultsByRow };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { CharacterCounterComponent, ReactElementFactory } from \"survey-react-ui\";\nimport { StringEditorViewModelBase, editableStringRendererName } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar SurveyLocStringEditor = /** @class */ (function (_super) {\n __extends(SurveyLocStringEditor, _super);\n function SurveyLocStringEditor(props) {\n var _a;\n var _this = _super.call(this, props) || this;\n _this.onChangedHandler = function (sender, options) {\n _this.setState({ changed: !!_this.state && _this.state.changed ? _this.state.changed + 1 : 1 });\n };\n _this.onBlur = function (event) {\n if (_this.svStringEditorRef.current) {\n _this.svStringEditorRef.current.spellcheck = false;\n }\n _this.locString[\"__isEditing\"] = false;\n _this.justFocused = false;\n _this.baseModel.onBlur(event.nativeEvent);\n return _this.baseModel.errorText;\n };\n _this.onCompositionStart = function (event) {\n _this.baseModel.onCompositionStart(event.nativeEvent);\n };\n _this.onCompositionEnd = function (event) {\n _this.baseModel.onCompositionEnd(event.nativeEvent);\n };\n _this.onInput = function (event) {\n _this.baseModel.onInput(event.nativeEvent);\n };\n _this.onPaste = function (event) {\n _this.baseModel.onPaste(event.nativeEvent);\n };\n _this.justFocused = false;\n _this.onFocus = function (event) {\n _this.baseModel.onFocus(event.nativeEvent);\n _this.justFocused = true;\n };\n _this.onKeyDown = function (event) {\n return _this.baseModel.onKeyDown(event.nativeEvent);\n };\n _this.onKeyUp = function (event) {\n return _this.baseModel.onKeyUp(event.nativeEvent);\n };\n _this.onMouseUp = function (event) {\n return _this.baseModel.onMouseUp(event.nativeEvent);\n };\n _this.done = function (event) {\n _this.baseModel.done(event);\n _this.locString[\"__isEditing\"] = false;\n };\n _this.edit = function (event) {\n _this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n _this.locString[\"__isEditing\"] = true;\n _this.baseModel.onClick(event);\n };\n _this.htmlValue = {\n __html: (_a = _this.locString) === null || _a === void 0 ? void 0 : _a.renderedHtml\n };\n _this.state = { changed: 0 };\n _this.svStringEditorRef = React.createRef();\n return _this;\n }\n SurveyLocStringEditor.prototype.createModel = function (props) {\n if (this.baseModel) {\n this.baseModel.dispose();\n }\n this.baseModel = new StringEditorViewModelBase(this.locString, this.creator);\n };\n SurveyLocStringEditor.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"locString\"];\n };\n Object.defineProperty(SurveyLocStringEditor.prototype, \"locString\", {\n get: function () {\n return this.props.locStr.locStr;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"creator\", {\n get: function () {\n return this.props.locStr.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"style\", {\n get: function () {\n return this.props.style;\n },\n enumerable: false,\n configurable: true\n });\n SurveyLocStringEditor.prototype.getStateElement = function () {\n return this.baseModel;\n };\n Object.defineProperty(SurveyLocStringEditor.prototype, \"errorText\", {\n get: function () {\n return this.baseModel.errorText;\n },\n enumerable: false,\n configurable: true\n });\n SurveyLocStringEditor.prototype.componentDidMount = function () {\n var _this = this;\n _super.prototype.componentDidMount.call(this);\n if (!this.locString)\n return;\n this.baseModel.setLocString(this.locString);\n this.baseModel.getEditorElement = function () { return _this.svStringEditorRef.current; };\n this.baseModel.blurEditor = function () {\n _this.svStringEditorRef.current.blur();\n _this.svStringEditorRef.current.spellcheck = false;\n };\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n if (this.locString[\"__isEditing\"]) {\n this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n }\n };\n SurveyLocStringEditor.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.baseModel.setLocString(this.locString);\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n };\n SurveyLocStringEditor.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.baseModel.detachFromUI();\n if (!this.locString)\n return;\n this.locString.onStringChanged.remove(this.onChangedHandler);\n };\n Object.defineProperty(SurveyLocStringEditor.prototype, \"placeholder\", {\n get: function () {\n return this.baseModel.placeholder;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"contentEditable\", {\n get: function () {\n return this.baseModel.contentEditable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"className\", {\n get: function () {\n return this.baseModel.className(this.locString.renderedHtml);\n },\n enumerable: false,\n configurable: true\n });\n SurveyLocStringEditor.prototype.render = function () {\n if (!this.locString) {\n return null;\n }\n var control = null;\n if (this.locString.hasHtml) {\n if (this.htmlValue.__html !== this.locString.renderedHtml) {\n this.htmlValue = { __html: this.locString.renderedHtml };\n }\n control = (React.createElement(\"span\", { role: \"textbox\", ref: this.svStringEditorRef, className: \"sv-string-editor sv-string-editor--html\", contentEditable: this.contentEditable, spellCheck: false, \"aria-placeholder\": this.placeholder, \"aria-label\": this.placeholder || \"content editable\", suppressContentEditableWarning: true, \n // style={this.style}\n dangerouslySetInnerHTML: this.htmlValue, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onMouseUp: this.onMouseUp, onClick: this.edit }));\n }\n else {\n control = (React.createElement(\"span\", { role: \"textbox\", ref: this.svStringEditorRef, className: \"sv-string-editor\", contentEditable: this.contentEditable, spellCheck: false, \"aria-placeholder\": this.placeholder, \"aria-label\": this.placeholder || \"content editable\", suppressContentEditableWarning: true, \n // style={this.style}\n key: this.locString.renderedHtml, onBlur: this.onBlur, onInput: this.onInput, onPaste: this.onPaste, onCompositionStart: this.onCompositionStart, onCompositionEnd: this.onCompositionEnd, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onKeyUp: this.onKeyUp, onMouseUp: this.onMouseUp, onClick: this.edit }, this.locString.renderedHtml));\n }\n var counter = this.baseModel.showCharacterCounter ? (React.createElement(CharacterCounterComponent, { counter: this.baseModel.characterCounter, remainingCharacterCounter: this.baseModel.getCharacterCounterClass })) : null;\n return (React.createElement(\"span\", { className: this.className },\n React.createElement(\"span\", { className: \"svc-string-editor__content\" },\n React.createElement(\"div\", { className: \"svc-string-editor__border svc-string-editor__border--hover\", onClick: this.edit }),\n React.createElement(\"div\", { className: \"svc-string-editor__border svc-string-editor__border--focus\", onClick: this.edit }),\n React.createElement(\"span\", { className: \"svc-string-editor__input\" },\n control,\n React.createElement(\"div\", { className: \"svc-string-editor__controls\", onClick: this.edit }),\n counter)),\n this.errorText ? React.createElement(\"span\", { className: \"svc-string-editor__error\" }, this.errorText) : \"\"));\n };\n return SurveyLocStringEditor;\n}(CreatorModelElement));\nexport { SurveyLocStringEditor };\nReactElementFactory.Instance.registerElement(editableStringRendererName, function (props) {\n return React.createElement(SurveyLocStringEditor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { NotifierComponent, SurveyActionBar, ReactElementFactory, ReactQuestionFactory, SurveyElementBase, SurveyLocStringViewer, Survey, SvgBundleComponent, PopupModal } from \"survey-react-ui\";\nimport { SurveyCreatorModel, assign } from \"survey-creator-core\";\nimport { TabbedMenuComponent } from \"./TabbedMenu\";\nvar SurveyCreatorComponent = /** @class */ (function (_super) {\n __extends(SurveyCreatorComponent, _super);\n function SurveyCreatorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootNode = React.createRef();\n return _this;\n }\n Object.defineProperty(SurveyCreatorComponent.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorComponent.prototype.getStateElement = function () {\n return this.creator;\n };\n Object.defineProperty(SurveyCreatorComponent.prototype, \"style\", {\n get: function () {\n return this.props.style;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n if (this.creator !== prevProps.creator) {\n if (prevProps.creator) {\n prevProps.creator.unsubscribeRootElement();\n }\n if (this.creator && this.rootNode.current) {\n this.creator.setRootElement(this.rootNode.current);\n }\n }\n };\n SurveyCreatorComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.creator.setRootElement(this.rootNode.current);\n };\n SurveyCreatorComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.creator.unsubscribeRootElement();\n };\n SurveyCreatorComponent.prototype.renderElement = function () {\n var creator = this.props.creator;\n if (creator.isCreatorDisposed)\n return null;\n var areaClassName = \"svc-full-container svc-creator__area svc-flex-column\" + (this.props.creator.haveCommercialLicense ? \"\" : \" svc-creator__area--with-banner\");\n var contentWrapperClassName = \"svc-creator__content-wrapper svc-flex-row\" + (this.props.creator.isMobileView ? \" svc-creator__content-wrapper--footer-toolbar\" : \"\");\n var fullContainerClassName = \"svc-flex-row svc-full-container\" + (\" svc-creator__side-bar--\" + this.creator.sidebarLocation);\n var creatorStyles = {};\n assign(creatorStyles, this.style, this.props.creator.themeVariables);\n var licenseBanner = null;\n if (!this.props.creator.haveCommercialLicense) {\n var htmlValue = { __html: this.props.creator.licenseText };\n licenseBanner = (React.createElement(\"div\", { className: \"svc-creator__banner\" },\n React.createElement(\"span\", { className: \"svc-creator__non-commercial-text\", dangerouslySetInnerHTML: htmlValue })));\n }\n //AM: width unrecognized by react\n return (React.createElement(\"div\", { className: this.creator.getRootCss(), ref: this.rootNode, style: creatorStyles },\n React.createElement(SvgBundleComponent, null),\n React.createElement(PopupModal, null),\n React.createElement(\"div\", { className: areaClassName },\n React.createElement(\"div\", { className: fullContainerClassName },\n React.createElement(\"div\", { className: \"svc-flex-column svc-flex-row__element svc-flex-row__element--growing\" },\n React.createElement(\"div\", { className: \"svc-top-bar\" },\n (creator.showTabs ?\n React.createElement(\"div\", { className: \"svc-tabbed-menu-wrapper\" },\n React.createElement(TabbedMenuComponent, { model: creator.tabbedMenu })) : null),\n (creator.showToolbar ?\n React.createElement(\"div\", { className: \"svc-toolbar-wrapper\" },\n React.createElement(SurveyActionBar, { model: creator.toolbar }))\n : null)),\n React.createElement(\"div\", { className: contentWrapperClassName },\n React.createElement(\"div\", { className: \"svc-creator__content-holder svc-flex-column\" }, this.renderActiveTab())),\n React.createElement(\"div\", { className: \"svc-footer-bar\" }, (creator.isMobileView ?\n React.createElement(\"div\", { className: \"svc-toolbar-wrapper\" },\n React.createElement(SurveyActionBar, { model: creator.footerToolbar }))\n : null))),\n this.renderSidebar()),\n licenseBanner,\n React.createElement(NotifierComponent, { notifier: creator.notifier }))));\n };\n SurveyCreatorComponent.prototype.renderActiveTab = function () {\n var creator = this.props.creator;\n for (var i = 0; i < creator.tabs.length; i++) {\n if (creator.tabs[i].id === creator.activeTab) {\n return this.renderCreatorTab(creator.tabs[i]);\n }\n }\n return null;\n };\n SurveyCreatorComponent.prototype.renderCreatorTab = function (tab) {\n if (tab.visible === false) {\n return null;\n }\n var creator = this.props.creator;\n var component = !!tab.renderTab\n ? tab.renderTab()\n : ReactElementFactory.Instance.createElement(tab.componentContent, {\n creator: creator,\n survey: creator.survey,\n data: tab.data.model\n });\n var className = \"svc-creator-tab\" + (creator.toolboxLocation == \"right\" ? \" svc-creator__toolbox--right\" : \"\");\n return (React.createElement(\"div\", { role: \"tabpanel\", key: tab.id, id: \"scrollableDiv-\" + tab.id, \"aria-labelledby\": \"tab-\" + tab.id, className: className }, component));\n };\n SurveyCreatorComponent.prototype.renderSidebar = function () {\n if (!!this.creator.sidebar) {\n return ReactElementFactory.Instance.createElement(\"svc-side-bar\", { model: this.creator.sidebar });\n }\n else {\n return null;\n }\n };\n return SurveyCreatorComponent;\n}(SurveyElementBase));\nexport { SurveyCreatorComponent };\nvar SurveyCreator = /** @class */ (function (_super) {\n __extends(SurveyCreator, _super);\n function SurveyCreator(options, options2) {\n if (options === void 0) { options = {}; }\n return _super.call(this, options, options2) || this;\n }\n SurveyCreator.prototype.render = function (target) {\n // eslint-disable-next-line no-console\n console.error(\"The render method is deprecated. Use SurveyCreatorComponent instead.\");\n };\n //ISurveyCreator\n SurveyCreator.prototype.createQuestionElement = function (question) {\n return ReactQuestionFactory.Instance.createQuestion(question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(), {\n question: question,\n isDisplayMode: question.isReadOnly,\n creator: this\n });\n };\n SurveyCreator.prototype.renderError = function (key, error, cssClasses) {\n return (React.createElement(\"div\", { key: key },\n React.createElement(\"span\", { className: cssClasses.error.icon, \"aria-hidden\": \"true\" }),\n React.createElement(\"span\", { className: cssClasses.error.item },\n React.createElement(SurveyLocStringViewer, { locStr: error.locText }))));\n };\n SurveyCreator.prototype.questionTitleLocation = function () {\n return this.survey.questionTitleLocation;\n };\n SurveyCreator.prototype.questionErrorLocation = function () {\n return this.survey.questionErrorLocation;\n };\n return SurveyCreator;\n}(SurveyCreatorModel));\nexport { SurveyCreator };\nReactElementFactory.Instance.registerElement(\"survey-widget\", function (props) {\n return React.createElement(Survey, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, attachKey2click, SurveyElementBase } from \"survey-react-ui\";\nvar SwitcherComponent = /** @class */ (function (_super) {\n __extends(SwitcherComponent, _super);\n function SwitcherComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SwitcherComponent.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n SwitcherComponent.prototype.getStateElement = function () {\n return this.item;\n };\n SwitcherComponent.prototype.renderElement = function () {\n var _this = this;\n var tooltip = this.item.tooltip || this.item.title;\n var title = this.item.hasTitle ? React.createElement(\"span\", { className: \"svc-switcher__title\" }, this.item.title) : null;\n var button = attachKey2click(React.createElement(\"button\", { className: this.item.getActionBarItemCss(), type: \"button\", disabled: this.item.disabled, onClick: function (args) { return _this.item.action(_this.item, _this.item.getIsTrusted(args)); }, title: tooltip, \"aria-checked\": this.item.ariaChecked, \"aria-expanded\": this.item.ariaExpanded, role: this.item.ariaRole },\n React.createElement(\"div\", { className: this.item.getSwitcherIconCss() },\n React.createElement(\"div\", { className: \"svc-switcher__icon-thumb\" })),\n title), this.item, { processEsc: false });\n return button;\n };\n return SwitcherComponent;\n}(SurveyElementBase));\nexport { SwitcherComponent };\nexport default SwitcherComponent;\nReactElementFactory.Instance.registerElement(\"svc-switcher\", function (props) {\n return React.createElement(SwitcherComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { ResponsivityManager } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nvar TabbedMenuComponent = /** @class */ (function (_super) {\n __extends(TabbedMenuComponent, _super);\n function TabbedMenuComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n Object.defineProperty(TabbedMenuComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n TabbedMenuComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabbedMenuComponent.prototype.renderElement = function () {\n var items = this.model.renderedActions.map(function (item) { return React.createElement(TabbedMenuItemWrapper, { item: item, key: item.renderedId }); });\n return (React.createElement(\"div\", { ref: this.rootRef, className: \"svc-tabbed-menu\", role: \"tablist\" }, items));\n };\n TabbedMenuComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n var container = this.rootRef.current;\n if (!container)\n return;\n this.manager = new ResponsivityManager(container, this.model);\n };\n TabbedMenuComponent.prototype.componentWillUnmount = function () {\n this.manager && (this.manager.dispose());\n _super.prototype.componentWillUnmount.call(this);\n };\n return TabbedMenuComponent;\n}(SurveyElementBase));\nexport { TabbedMenuComponent };\nvar TabbedMenuItemWrapper = /** @class */ (function (_super) {\n __extends(TabbedMenuItemWrapper, _super);\n function TabbedMenuItemWrapper(props) {\n var _this = _super.call(this, props) || this;\n _this.ref = React.createRef();\n return _this;\n }\n Object.defineProperty(TabbedMenuItemWrapper.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n TabbedMenuItemWrapper.prototype.getStateElement = function () {\n return this.item;\n };\n TabbedMenuItemWrapper.prototype.renderElement = function () {\n var css = \"svc-tabbed-menu-item-container\";\n if (this.item.css) {\n css += \" \" + this.item.css;\n }\n css += (!this.item.isVisible ? \" sv-action--hidden\" : \"\");\n var component = ReactElementFactory.Instance.createElement(this.item.component || \"svc-tabbed-menu-item\", { item: this.item });\n return (React.createElement(\"span\", { key: this.item.id, className: css, ref: this.ref },\n React.createElement(\"div\", { className: \"sv-action__content\" }, component)));\n };\n TabbedMenuItemWrapper.prototype.componentDidMount = function () {\n var _this = this;\n _super.prototype.componentDidMount.call(this);\n this.item.updateModeCallback = function (mode, callback) {\n queueMicrotask(function () {\n if (ReactDOM[\"flushSync\"]) {\n ReactDOM[\"flushSync\"](function () {\n _this.item.mode = mode;\n });\n }\n else {\n _this.item.mode = mode;\n }\n queueMicrotask(function () {\n callback(mode, _this.ref.current);\n });\n });\n };\n this.item.afterRender();\n };\n TabbedMenuItemWrapper.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.item.updateModeCallback = undefined;\n };\n return TabbedMenuItemWrapper;\n}(SurveyElementBase));\nvar TabbedMenuItemComponent = /** @class */ (function (_super) {\n __extends(TabbedMenuItemComponent, _super);\n function TabbedMenuItemComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabbedMenuItemComponent.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n TabbedMenuItemComponent.prototype.getStateElement = function () {\n return this.item;\n };\n TabbedMenuItemComponent.prototype.render = function () {\n var item = this.item;\n return (attachKey2click(React.createElement(\"div\", { role: \"tab\", id: \"tab-\" + item.id, \"aria-selected\": item.active, \"aria-controls\": \"scrollableDiv-\" + item.id, className: item.getRootCss(), onClick: function () { return item.action(item); } },\n item.hasTitle ? React.createElement(\"span\", { className: item.getTitleCss() }, item.title) : null,\n item.hasIcon ? React.createElement(SvgIcon, { iconName: item.iconName, className: item.getIconCss(), size: \"auto\", title: item.tooltip || item.title }) : null)));\n };\n return TabbedMenuItemComponent;\n}(SurveyElementBase));\nexport { TabbedMenuItemComponent };\nReactElementFactory.Instance.registerElement(\"svc-tabbed-menu-item\", function (props) {\n return React.createElement(TabbedMenuItemComponent, props);\n});\nexport default TabbedMenuComponent;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nvar CellQuestionAdornerComponent = /** @class */ (function (_super) {\n __extends(CellQuestionAdornerComponent, _super);\n function CellQuestionAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellQuestionAdornerComponent.prototype.createModel = function (props) {\n this.model = new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n CellQuestionAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n CellQuestionAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n CellQuestionAdornerComponent.prototype.render = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { \"data-sv-drop-target-survey-element\": this.model.element.name, className: \"svc-question__adorner\" },\n React.createElement(\"div\", { className: \" svc-question__content--in-popup svc-question__content\" }, this.props.element))));\n };\n return CellQuestionAdornerComponent;\n}(CreatorModelElement));\nexport { CellQuestionAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-cell-question\", function (props) {\n return React.createElement(CellQuestionAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar CellQuestionDropdownAdornerComponent = /** @class */ (function (_super) {\n __extends(CellQuestionDropdownAdornerComponent, _super);\n function CellQuestionDropdownAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellQuestionDropdownAdornerComponent.prototype.createModel = function (props) {\n this.model = new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n CellQuestionDropdownAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n CellQuestionDropdownAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n CellQuestionDropdownAdornerComponent.prototype.render = function () {\n var question = this.props.question;\n var textStyle = this.props.question.textStyle;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { \"data-sv-drop-target-survey-element\": this.model.element.name, className: \"svc-question__adorner\" },\n React.createElement(\"div\", { className: \" svc-question__content--in-popup svc-question__content\" },\n this.props.element,\n React.createElement(\"div\", { className: \"svc-question__dropdown-choices\" }, question.visibleChoices.map(function (item, index) { return (React.createElement(\"div\", { className: \"svc-question__dropdown-choice\", key: \"editable_choice_\".concat(index) }, ReactSurveyElementsWrapper.wrapItemValue(question.survey, ReactElementFactory.Instance.createElement(\"survey-radiogroup-item\", {\n question: question,\n cssClasses: question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: question.value === item.value\n }), question, item))); }))))));\n };\n return CellQuestionDropdownAdornerComponent;\n}(CreatorModelElement));\nexport { CellQuestionDropdownAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-cell-dropdown-question\", function (props) {\n return React.createElement(CellQuestionDropdownAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, SurveyActionBar, ReactElementFactory, SurveyPage, SvgIcon, LoadingIndicatorComponent } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { PageAdorner } from \"survey-creator-core\";\nimport { ReactMouseEvent } from \"../events\";\nvar PageElementContent = React.memo(function (_a) {\n var page = _a.page, survey = _a.survey, creator = _a.creator;\n return React.createElement(SurveyPage, { page: page, survey: survey, creator: creator });\n});\nPageElementContent.displayName = \"PageElementContent\";\nvar CreatorSurveyPageComponent = /** @class */ (function (_super) {\n __extends(CreatorSurveyPageComponent, _super);\n function CreatorSurveyPageComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n CreatorSurveyPageComponent.prototype.createModel = function (props) {\n if (this.model) {\n this.model.attachToUI(props.page, this.rootRef.current);\n }\n this.model = this.createPageAdorner(props.creator, props.page);\n this.model.isGhost = this.props.isGhost;\n };\n CreatorSurveyPageComponent.prototype.createPageAdorner = function (creator, page) {\n return new PageAdorner(creator, page);\n };\n CreatorSurveyPageComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n var res = _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState);\n if (this.model) {\n this.model.isGhost = this.props.isGhost;\n }\n return res;\n };\n CreatorSurveyPageComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n };\n CreatorSurveyPageComponent.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"page\"];\n };\n CreatorSurveyPageComponent.prototype.getStateElement = function () {\n return this.model;\n };\n CreatorSurveyPageComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.attachToUI(this.props.page, this.rootRef.current);\n this.model.isGhost = this.props.isGhost;\n };\n CreatorSurveyPageComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.detachFromUI();\n };\n CreatorSurveyPageComponent.prototype.canRender = function () {\n return _super.prototype.canRender.call(this);\n };\n CreatorSurveyPageComponent.prototype.renderElement = function () {\n var _this = this;\n if (!this.props.page)\n return null;\n return (attachKey2click(React.createElement(\"div\", { ref: this.rootRef, id: this.props.page.id, \"data-sv-drop-target-survey-page\": this.model.dropTargetName, className: \"svc-page__content \" + this.model.css, onClick: function (e) {\n return _this.model.select(_this.model, new ReactMouseEvent(e));\n }, onDoubleClick: function (e) { return _this.model.dblclick(e.nativeEvent); }, onMouseLeave: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); } },\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--top\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--bottom\" }),\n this.renderContent(),\n this.renderPlaceholder(),\n this.renderHeader(),\n this.renderFooter())));\n };\n CreatorSurveyPageComponent.prototype.renderPlaceholder = function () {\n if (!this.model.showPlaceholder)\n return null;\n return (React.createElement(\"div\", { className: \"svc-page__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder\" }, this.model.placeholderText))));\n };\n CreatorSurveyPageComponent.prototype.renderContent = function () {\n if (!this.model.needRenderContent) {\n return React.createElement(\"div\", { className: \"svc-page__loading-content\" },\n React.createElement(LoadingIndicatorComponent, null));\n }\n return (React.createElement(PageElementContent, { page: this.props.page, survey: this.props.survey, creator: this.props.creator }));\n };\n CreatorSurveyPageComponent.prototype.renderHeader = function () {\n var _this = this;\n var actions = (React.createElement(\"div\", { className: \"svc-page__content-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.actionContainer }),\n (this.model.topActionContainer.hasActions ? React.createElement(SurveyActionBar, { model: this.model.topActionContainer }) : null)));\n if (this.model.isGhost || !this.model.allowDragging) {\n return actions;\n }\n return (React.createElement(\"div\", { className: \"svc-question__drag-area\", onPointerDown: function (event) { return _this.model.onPointerDown(event); } },\n React.createElement(SvgIcon, { className: \"svc-question__drag-element\", size: \"auto\", iconName: \"icon-drag-area-indicator_24x16\" }),\n actions));\n };\n CreatorSurveyPageComponent.prototype.renderFooter = function () {\n return React.createElement(SurveyActionBar, { model: this.model.footerActionsBar });\n };\n return CreatorSurveyPageComponent;\n}(CreatorModelElement));\nexport { CreatorSurveyPageComponent };\nReactElementFactory.Instance.registerElement(\"svc-page\", function (props) {\n return React.createElement(CreatorSurveyPageComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, attachKey2click, SvgIcon, Popup } from \"survey-react-ui\";\nimport { QuestionAdornerComponent } from \"./Question\";\nimport { AddQuestionButtonComponent } from \"../AddQuestionButton\";\nvar PanelAdornerComponent = /** @class */ (function (_super) {\n __extends(PanelAdornerComponent, _super);\n function PanelAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelAdornerComponent.prototype.renderElementPlaceholder = function () {\n var _this = this;\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svc-panel__placeholder_frame-wrapper\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder\" }, this.model.placeholderText),\n this.model.showAddQuestionButton ? attachKey2click(React.createElement(\"div\", { className: \"svc-panel__add-new-question svc-action-button\", onClick: function (e) {\n e.stopPropagation();\n _this.model.addNewQuestion();\n } },\n React.createElement(SvgIcon, { className: \"svc-panel__add-new-question-icon\", iconName: \"icon-add_24x24\", size: \"auto\" }),\n React.createElement(\"span\", { className: \"svc-add-new-item-button__text\" }, this.model.addNewQuestionText))) : null)));\n };\n PanelAdornerComponent.prototype.disableTabStop = function () {\n return true;\n };\n PanelAdornerComponent.prototype.renderFooter = function () {\n return (React.createElement(React.Fragment, null,\n !this.model.isEmptyElement && this.model.element.isPanel && this.model.showAddQuestionButton ? (React.createElement(\"div\", { className: \"svc-panel__add-new-question-container\" },\n React.createElement(\"div\", { className: \"svc-panel__question-type-selector-popup\" },\n React.createElement(Popup, { model: this.model.questionTypeSelectorModel.popupModel })),\n React.createElement(\"div\", { className: \"svc-panel__add-new-question-wrapper\" },\n React.createElement(AddQuestionButtonComponent, { item: { data: this.model }, buttonClass: \"svc-action-button\", renderPopup: false })))) : null,\n _super.prototype.renderFooter.call(this)));\n };\n return PanelAdornerComponent;\n}(QuestionAdornerComponent));\nexport { PanelAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-panel\", function (props) {\n return React.createElement(PanelAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactMouseEvent } from \"../events\";\nimport { ReactElementFactory, attachKey2click, TitleElement } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nfunction QuestionElementContentFunc(props) {\n return props.element;\n}\nvar QuestionElementContent = React.memo(QuestionElementContentFunc);\nQuestionElementContent.displayName = \"QuestionElementContent\";\nvar QuestionAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionAdornerComponent, _super);\n function QuestionAdornerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n QuestionAdornerComponent.prototype.createModel = function (props) {\n if (this.model) {\n this.model.attachToUI(props.question, this.rootRef.current);\n }\n else {\n this.modelValue = this.createQuestionViewModel(props);\n }\n };\n QuestionAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n QuestionAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n Object.defineProperty(QuestionAdornerComponent.prototype, \"model\", {\n get: function () {\n return this.modelValue;\n },\n enumerable: false,\n configurable: true\n });\n QuestionAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n QuestionAdornerComponent.prototype.renderElement = function () {\n var _this = this;\n var allowInteractions = this.model.element\n .isInteractiveDesignElement;\n var titleForCollapsedState = this.renderQuestionTitle();\n var content = this.renderContent(allowInteractions);\n return (React.createElement(\"div\", { ref: this.rootRef, \"data-sv-drop-target-survey-element\": this.model.element.name || null, className: this.model.rootCss(), onDoubleClick: function (e) { allowInteractions && _this.model.dblclick(e.nativeEvent); e.stopPropagation(); }, onMouseLeave: function (e) { return allowInteractions && _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return allowInteractions && _this.model.hover(e.nativeEvent, e.currentTarget); } },\n titleForCollapsedState,\n content));\n };\n QuestionAdornerComponent.prototype.disableTabStop = function () {\n return true;\n };\n QuestionAdornerComponent.prototype.renderContent = function (allowInteractions) {\n var _this = this;\n var content = this.model.needToRenderContent ? this.renderElementContent() : null;\n //if (!allowInteractions) return <>{content}{this.renderFooter()}</>;\n return attachKey2click(React.createElement(\"div\", { className: this.model.css(), onClick: function (e) { return _this.model.select(_this.model, new ReactMouseEvent(e)); } },\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--left\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--right\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--top\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--bottom\" }),\n allowInteractions ? this.renderHeader() : null,\n content,\n this.model.needToRenderContent ? this.renderFooter() : null), undefined, { disableTabStop: this.disableTabStop() });\n };\n QuestionAdornerComponent.prototype.renderHeader = function () {\n return ReactElementFactory.Instance.createElement(\"svc-question-header\", { model: this.model });\n };\n QuestionAdornerComponent.prototype.renderFooter = function () {\n var allowInteractions = this.model.element\n .isInteractiveDesignElement;\n return allowInteractions ? ReactElementFactory.Instance.createElement(\"svc-question-footer\", { className: \"svc-question__content-actions\", model: this.model }) : null;\n };\n QuestionAdornerComponent.prototype.renderCarryForwardBanner = function () {\n if (!this.model.isBannerShowing)\n return null;\n return ReactElementFactory.Instance.createElement(\"svc-question-banner\", this.model.createBannerParams());\n };\n QuestionAdornerComponent.prototype.renderQuestionTitle = function () {\n var _this = this;\n if (!this.model.showHiddenTitle)\n return null;\n var element = this.model.element;\n return (React.createElement(\"div\", { ref: function (node) { return node && (!_this.model.renderedCollapsed ?\n node.setAttribute(\"inert\", \"\") : node.removeAttribute(\"inert\")); }, className: this.model.cssCollapsedHiddenHeader }, (element.hasTitle ?\n React.createElement(TitleElement, { element: element }) :\n React.createElement(\"div\", { className: this.model.cssCollapsedHiddenTitle },\n React.createElement(\"span\", { className: \"svc-fake-title\" }, element.name)))));\n };\n QuestionAdornerComponent.prototype.renderElementContent = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(QuestionElementContent, { element: this.props.element }),\n this.renderElementPlaceholder(),\n this.renderCarryForwardBanner()));\n };\n QuestionAdornerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.attachToUI(this.props.question, this.rootRef.current);\n };\n QuestionAdornerComponent.prototype.renderElementPlaceholder = function () {\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svc-panel__placeholder_frame-wrapper\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder\" }, this.model.placeholderText))));\n };\n QuestionAdornerComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.detachFromUI();\n };\n return QuestionAdornerComponent;\n}(CreatorModelElement));\nexport { QuestionAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-question\", function (props) {\n return React.createElement(QuestionAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { ActionButton } from \"../ActionButton\";\nvar QuestionBanner = /** @class */ (function (_super) {\n __extends(QuestionBanner, _super);\n function QuestionBanner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionBanner.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: \"svc-carry-forward-panel-wrapper\" },\n React.createElement(\"div\", { className: \"svc-carry-forward-panel\" },\n React.createElement(\"span\", null,\n this.props.text,\n \" \"),\n React.createElement(\"span\", { className: \"svc-carry-forward-panel__link\" },\n React.createElement(ActionButton, { click: function () { return _this.props.onClick(); }, text: this.props.actionText })))));\n };\n return QuestionBanner;\n}(React.Component));\nexport { QuestionBanner };\nReactElementFactory.Instance.registerElement(\"svc-question-banner\", function (props) {\n return React.createElement(QuestionBanner, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { QuestionDropdownAdornerViewModel } from \"survey-creator-core\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport { QuestionAdornerComponent } from \"./Question\";\nimport { ActionButton } from \"../ActionButton\";\nvar QuestionDropdownAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionDropdownAdornerComponent, _super);\n function QuestionDropdownAdornerComponent(props) {\n return _super.call(this, props) || this;\n }\n QuestionDropdownAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionDropdownAdornerViewModel(props.componentData, props.question, null);\n };\n Object.defineProperty(QuestionDropdownAdornerComponent.prototype, \"dropdownModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(QuestionDropdownAdornerComponent.prototype, \"question\", {\n get: function () {\n return this.dropdownModel.question;\n },\n enumerable: false,\n configurable: true\n });\n QuestionDropdownAdornerComponent.prototype.renderElementPlaceholder = function () {\n var _this = this;\n var textStyle = this.question.textStyle;\n return (React.createElement(\"div\", { className: \"svc-question__dropdown-choices--wrapper\" },\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"svc-question__dropdown-choices\" }, (this.dropdownModel.getRenderedItems() || []).map(function (item, index) { return (React.createElement(\"div\", { className: _this.dropdownModel.getChoiceCss(), key: \"editable_choice_\".concat(index) }, ReactSurveyElementsWrapper.wrapItemValue(_this.question.survey, ReactElementFactory.Instance.createElement(_this.dropdownModel.itemComponent, {\n key: item.value,\n question: _this.question,\n cssClasses: _this.question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: _this.question.value === item.value\n }), _this.question, item))); })),\n this.dropdownModel.needToCollapse ?\n React.createElement(ActionButton, { click: this.dropdownModel.switchCollapse, text: this.dropdownModel.getButtonText(), allowBubble: true }) :\n null)));\n };\n return QuestionDropdownAdornerComponent;\n}(QuestionAdornerComponent));\nexport { QuestionDropdownAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-dropdown-question\", function (props) {\n return React.createElement(QuestionDropdownAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactMouseEvent } from \"../events\";\nimport { SurveyActionBar, ReactElementFactory, } from \"survey-react-ui\";\nvar QuestionWrapperFooter = /** @class */ (function (_super) {\n __extends(QuestionWrapperFooter, _super);\n function QuestionWrapperFooter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionWrapperFooter.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.props.className, onFocus: function (e) { return _this.props.model.select(_this.props.model, new ReactMouseEvent(e)); } },\n React.createElement(SurveyActionBar, { model: this.props.model.actionContainer, handleClick: false })));\n };\n return QuestionWrapperFooter;\n}(React.Component));\nexport { QuestionWrapperFooter };\nReactElementFactory.Instance.registerElement(\"svc-question-footer\", function (props) {\n return React.createElement(QuestionWrapperFooter, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyActionBar, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nvar QuestionWrapperHeader = /** @class */ (function (_super) {\n __extends(QuestionWrapperHeader, _super);\n function QuestionWrapperHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionWrapperHeader.prototype.render = function () {\n var _this = this;\n if (!this.props.model.allowDragging)\n return null;\n return (React.createElement(\"div\", { className: \"svc-question__drag-area\", onPointerDown: function (event) {\n return _this.props.model.onPointerDown(event);\n } },\n React.createElement(SvgIcon, { className: \"svc-question__drag-element\", size: \"auto\", iconName: \"icon-drag-area-indicator_24x16\" }),\n React.createElement(\"div\", { className: \"svc-question__top-actions\" },\n React.createElement(SurveyActionBar, { model: this.props.model.topActionContainer, handleClick: false }))));\n };\n return QuestionWrapperHeader;\n}(React.Component));\nexport { QuestionWrapperHeader };\nReactElementFactory.Instance.registerElement(\"svc-question-header\", function (props) {\n return React.createElement(QuestionWrapperHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionImageAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { attachKey2click, LoadingIndicatorComponent, ReactElementFactory, ReactQuestionFactory, SvgIcon } from \"survey-react-ui\";\nimport { QuestionAdornerComponent } from \"./Question\";\nvar QuestionImageAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionImageAdornerComponent, _super);\n function QuestionImageAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionImageAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionImageAdornerViewModel(props.componentData, props.question, null);\n };\n Object.defineProperty(QuestionImageAdornerComponent.prototype, \"imageModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n QuestionImageAdornerComponent.prototype.renderHeader = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { type: \"file\", \"aria-hidden\": \"true\", tabIndex: -1, accept: this.imageModel.acceptedTypes, className: \"svc-choose-file-input\", style: {\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n } }),\n _super.prototype.renderHeader.call(this)));\n };\n QuestionImageAdornerComponent.prototype.renderLoadingPlaceholder = function () {\n return (React.createElement(\"div\", { className: \"svc-image-question__loading-placeholder\" },\n React.createElement(\"div\", { className: \"svc-image-question__loading\" },\n React.createElement(LoadingIndicatorComponent, null))));\n };\n QuestionImageAdornerComponent.prototype.renderChooseButton = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: \"svc-image-question-controls\" }, this.model.allowEdit ? attachKey2click(React.createElement(\"span\", { className: \"svc-context-button\", onClick: function () { return _this.imageModel.chooseFile(_this.imageModel); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-choosefile\" }))) : null));\n };\n QuestionImageAdornerComponent.prototype.renderElementPlaceholder = function () {\n return this.imageModel.isUploading ? this.renderLoadingPlaceholder() : this.renderChooseButton();\n };\n QuestionImageAdornerComponent.prototype.getStateElements = function () {\n return [this.model, this.imageModel.filePresentationModel];\n };\n QuestionImageAdornerComponent.prototype.renderElementContent = function () {\n if (this.imageModel.isEmptyImageLink) {\n var fileQuestion = ReactQuestionFactory.Instance.createQuestion(\"file\", {\n creator: this.imageModel.question.survey,\n isDisplayMode: false,\n question: this.imageModel.filePresentationModel\n });\n return (React.createElement(React.Fragment, null, fileQuestion));\n }\n else {\n return (React.createElement(React.Fragment, null,\n this.props.element,\n this.renderElementPlaceholder()));\n }\n };\n return QuestionImageAdornerComponent;\n}(QuestionAdornerComponent));\nexport { QuestionImageAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-image-question\", function (props) {\n return React.createElement(QuestionImageAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { QuestionRatingAdornerViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar QuestionRatingAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionRatingAdornerComponent, _super);\n function QuestionRatingAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionRatingAdornerComponent.prototype.createModel = function (props) {\n this.modelValue = this.createQuestionViewModel(props);\n };\n QuestionRatingAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionRatingAdornerViewModel(props.componentData, props.question, null);\n };\n QuestionRatingAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n Object.defineProperty(QuestionRatingAdornerComponent.prototype, \"ratingModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(QuestionRatingAdornerComponent.prototype, \"model\", {\n get: function () {\n return this.modelValue;\n },\n enumerable: false,\n configurable: true\n });\n QuestionRatingAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n QuestionRatingAdornerComponent.prototype.renderElement = function () {\n var model = this.ratingModel;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-rating-question-content\" },\n React.createElement(\"div\", { className: model.controlsClassNames },\n model.allowRemove ? attachKey2click(React.createElement(\"span\", { role: \"button\", className: model.removeClassNames, \"aria-label\": model.removeTooltip, onClick: function () { return model.removeItem(model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-remove_16x16\", title: model.removeTooltip }))) : null,\n model.allowAdd ? attachKey2click(React.createElement(\"span\", { role: \"button\", className: model.addClassNames, \"aria-label\": model.addTooltip, onClick: function () { return model.addItem(model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-add_16x16\", title: model.addTooltip }))) : null),\n this.props.element)));\n };\n return QuestionRatingAdornerComponent;\n}(CreatorModelElement));\nexport { QuestionRatingAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-rating-question\", function (props) {\n return React.createElement(QuestionRatingAdornerComponent, props);\n});\nReactElementFactory.Instance.registerElement(\"svc-rating-question-content\", function (props) {\n return React.createElement(QuestionRatingAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { QuestionAdornerComponent } from \"./Question\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar QuestionWidgetAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionWidgetAdornerComponent, _super);\n function QuestionWidgetAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionWidgetAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n Object.defineProperty(QuestionWidgetAdornerComponent.prototype, \"widgetModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n QuestionWidgetAdornerComponent.prototype.renderElementContent = function () {\n return (React.createElement(\"div\", { className: \"svc-widget__content\" }, this.props.element));\n };\n return QuestionWidgetAdornerComponent;\n}(QuestionAdornerComponent));\nexport { QuestionWidgetAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-widget-question\", function (props) {\n return React.createElement(QuestionWidgetAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { RowViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar RowWrapper = /** @class */ (function (_super) {\n __extends(RowWrapper, _super);\n function RowWrapper(props) {\n return _super.call(this, props) || this;\n }\n RowWrapper.prototype.createModel = function (props) {\n if (!!this.model) {\n this.model.dispose();\n }\n this.model = new RowViewModel(props.componentData.creator, props.row, null);\n };\n RowWrapper.prototype.getUpdatedModelProps = function () {\n return [\"row\", \"componentData\"];\n };\n RowWrapper.prototype.getStateElement = function () {\n return this.model;\n };\n RowWrapper.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.subscribeElementChanges();\n };\n RowWrapper.prototype.componentWillUnmount = function () {\n this.model.unsubscribeElementChanges();\n _super.prototype.componentWillUnmount.call(this);\n };\n RowWrapper.prototype.render = function () {\n return (React.createElement(\"div\", { key: \"svc-row-\" + this.props.row.id, className: this.model.cssClasses },\n React.createElement(\"div\", { className: \"svc-row__drop-indicator svc-row__drop-indicator--top\" }),\n React.createElement(\"div\", { className: \"svc-row__drop-indicator svc-row__drop-indicator--bottom\" }),\n this.props.element));\n };\n return RowWrapper;\n}(CreatorModelElement));\nexport { RowWrapper };\nReactElementFactory.Instance.registerElement(\"svc-row\", function (props) {\n return React.createElement(RowWrapper, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { settings } from \"survey-core\";\nimport { ReactElementFactory, SurveyActionBar, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nvar SearchComponent = /** @class */ (function (_super) {\n __extends(SearchComponent, _super);\n function SearchComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n filterString: _this.model.filterString || \"\"\n };\n return _this;\n }\n Object.defineProperty(SearchComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SearchComponent.prototype.getStateElement = function () {\n return this.model;\n };\n SearchComponent.prototype.renderElement = function () {\n var _this = this;\n if (!this.model.isVisible)\n return null;\n var onChange = function (e) {\n var root = settings.environment.root;\n if (e.target === root.activeElement) {\n _this.model.filterString = e.target.value;\n }\n };\n return (React.createElement(\"div\", { className: \"svc-search\" },\n React.createElement(\"div\", { className: \"svc-search__search-icon\" },\n React.createElement(SvgIcon, { iconName: \"icon-search\", size: \"auto\" })),\n React.createElement(\"input\", { type: \"text\", className: \"svc-search__input\", \"aria-label\": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onChange: onChange }),\n React.createElement(\"div\", { className: \"svc-search__toolbar\" },\n React.createElement(\"div\", { className: \"svc-search__toolbar-counter\" }, this.model.matchCounterText),\n React.createElement(SurveyActionBar, { model: this.model.searchActionBar }))));\n };\n return SearchComponent;\n}(SurveyElementBase));\nexport { SearchComponent };\nReactElementFactory.Instance.registerElement(\"svc-search\", function (props) {\n return React.createElement(SearchComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar SurfacePlaceholder = /** @class */ (function (_super) {\n __extends(SurfacePlaceholder, _super);\n function SurfacePlaceholder(props) {\n return _super.call(this, props) || this;\n }\n SurfacePlaceholder.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"svc-surface-placeholder\" },\n React.createElement(\"div\", { className: \"svc-surface-placeholder__image svc-surface-placeholder__image--\" + this.props.name }),\n React.createElement(\"div\", { className: \"svc-surface-placeholder__text\" },\n React.createElement(\"div\", { className: \"svc-surface-placeholder__title\" }, this.props.placeholderTitleText),\n React.createElement(\"div\", { className: \"svc-surface-placeholder__description\" }, this.props.placeholderDescriptionText))));\n };\n return SurfacePlaceholder;\n}(React.Component));\nexport { SurfacePlaceholder };\nReactElementFactory.Instance.registerElement(\"svc-surface-placeholder\", function (props) {\n return React.createElement(SurfacePlaceholder, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { attachKey2click, ReactQuestionFactory, SurveyElementBase, SurveyQuestionElementBase } from \"survey-react-ui\";\nvar SurveyQuestionBooleanSwitch = /** @class */ (function (_super) {\n __extends(SurveyQuestionBooleanSwitch, _super);\n function SurveyQuestionBooleanSwitch() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyQuestionBooleanSwitch.prototype.renderElement = function () {\n var _this = this;\n var button = attachKey2click(React.createElement(\"div\", { className: \"spg-boolean-switch__button\" + (this.questionBase.value ? \" spg-boolean-switch__button--checked\" : \"\"), tabIndex: 0, role: \"checkbox\", \"aria-checked\": this.questionBase.booleanValue || false, \"aria-required\": this.questionBase.a11y_input_ariaRequired, \"aria-label\": this.questionBase.a11y_input_ariaLabel, \"aria-labelledby\": this.questionBase.a11y_input_ariaLabelledBy, \"aria-invalid\": this.questionBase.a11y_input_ariaInvalid, \"aria-errormessage\": this.questionBase.a11y_input_ariaErrormessage },\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb\" },\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left\" })),\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb\" },\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right\" }))), this.questionBase, { processEsc: false });\n return (React.createElement(\"div\", { className: \"spg-boolean-switch\", onClick: function () { return _this.questionBase.value = !_this.questionBase.value; } },\n button,\n React.createElement(\"div\", { className: \"spg-boolean-switch__caption\" },\n React.createElement(\"div\", { className: \"spg-boolean-switch__title\", id: this.questionBase.labelRenderedAriaID }, SurveyElementBase.renderLocString(this.questionBase.locTitle)))));\n };\n return SurveyQuestionBooleanSwitch;\n}(SurveyQuestionElementBase));\nexport { SurveyQuestionBooleanSwitch };\nReactQuestionFactory.Instance.registerQuestion(\"sv-boolean-switch\", function (props) {\n return React.createElement(SurveyQuestionBooleanSwitch, props);\n});\nRendererFactory.Instance.registerRenderer(\"boolean\", \"switch\", \"sv-boolean-switch\");\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nvar ItemTemplateComponent = /** @class */ (function (_super) {\n __extends(ItemTemplateComponent, _super);\n function ItemTemplateComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemTemplateComponent.prototype.render = function () {\n var item = this.props.item;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: \"spg-color-editor__color-swatch\", style: { backgroundColor: item.value } }),\n React.createElement(\"span\", { key: 2 }, this.renderLocString(item.locTitle, undefined, \"locString\"))));\n };\n return ItemTemplateComponent;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"color-item\", function (props) {\n return React.createElement(ItemTemplateComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, ReactQuestionFactory, SurveyQuestionText, SvgIcon, Popup } from \"survey-react-ui\";\nvar SurveyQuestionColor = /** @class */ (function (_super) {\n __extends(SurveyQuestionColor, _super);\n function SurveyQuestionColor(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(SurveyQuestionColor.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionColor.prototype.renderInput = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { id: this.question.inputId, disabled: this.isDisplayMode, className: this.question.cssClasses.control, ref: function (input) { return (_this.setControl(input)); }, placeholder: this.question.renderedPlaceholder, autoComplete: \"off\", onKeyUp: function (event) { return _this.question.onKeyUp(event.nativeEvent); }, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onChange: this.question.onChange, onBeforeInput: function (event) { return _this.question.onBeforeInput(event.nativeEvent); }, \"aria-required\": this.question.a11y_input_ariaRequired, \"aria-labelledby\": this.question.a11y_input_ariaLabelledBy, \"aria-label\": this.question.a11y_input_ariaLabel, \"aria-invalid\": this.question.a11y_input_ariaInvalid, \"aria-describedby\": this.question.a11y_input_ariaDescribedBy })));\n };\n SurveyQuestionColor.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.question.cssClasses.root, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },\n this.renderColorSwatch(),\n this.renderInput(),\n this.question.showDropdownAction ? this.renderDropdownAction() : null));\n };\n SurveyQuestionColor.prototype.getValueCore = function () {\n return this.question.renderedValue;\n };\n SurveyQuestionColor.prototype.renderColorSwatch = function () {\n var _this = this;\n return React.createElement(\"label\", { className: this.question.getSwatchCss(), style: this.question.getSwatchStyle() },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.swatchIcon, size: \"auto\" }),\n React.createElement(\"input\", { type: \"color\", disabled: this.isDisplayMode, value: this.question.renderedColorValue, className: this.question.cssClasses.colorInput, onChange: function (event) { return _this.question.onColorInputChange(event.nativeEvent); }, tabIndex: -1, \"aria-required\": this.question.a11y_input_ariaRequired, \"aria-labelledby\": this.question.a11y_input_ariaLabelledBy, \"aria-label\": this.question.a11y_input_ariaLabel, \"aria-invalid\": this.question.a11y_input_ariaInvalid, \"aria-describedby\": this.question.a11y_input_ariaDescribedBy }));\n };\n SurveyQuestionColor.prototype.renderDropdownAction = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { \"aria-hidden\": \"true\", className: this.question.cssClasses.choicesButtonWrapper }, ReactElementFactory.Instance.createElement(\"sv-action-bar-item\", { item: this.question.dropdownAction })),\n this.renderPopup()));\n };\n SurveyQuestionColor.prototype.renderPopup = function () {\n return React.createElement(Popup, { model: this.question.dropdownAction.popupModel });\n };\n return SurveyQuestionColor;\n}(SurveyQuestionText));\nexport { SurveyQuestionColor };\nReactQuestionFactory.Instance.registerQuestion(\"color\", function (props) {\n return React.createElement(SurveyQuestionColor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon, attachKey2click } from \"survey-react-ui\";\nvar SurveyQuestionFileEditor = /** @class */ (function (_super) {\n __extends(SurveyQuestionFileEditor, _super);\n function SurveyQuestionFileEditor(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(SurveyQuestionFileEditor.prototype, \"questionFile\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionFileEditor.prototype.getValueCore = function () {\n return this.question.renderedValue;\n };\n SurveyQuestionFileEditor.prototype.renderInput = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { disabled: this.question.isTextInputReadOnly, className: this.questionFile.cssClasses.control, placeholder: this.questionFile.renderedPlaceholder, ref: function (input) { return (_this.setControl(input)); }, autoComplete: \"off\", type: \"text\", onBlur: function (event) { return _this.questionFile.onInputBlur(event.nativeEvent); }, onChange: function (event) { return _this.questionFile.onInputChange(event.nativeEvent); } })));\n };\n SurveyQuestionFileEditor.prototype.renderFileInput = function () {\n var _this = this;\n return (React.createElement(\"input\", { type: \"file\", disabled: this.isDisplayMode, className: this.questionFile.cssClasses.fileInput, id: this.questionFile.inputId, \"aria-required\": this.questionFile.ariaRequired, \"aria-label\": this.questionFile.ariaLabel, \"aria-invalid\": this.questionFile.ariaInvalid, \"aria-describedby\": this.questionFile.ariaDescribedBy, multiple: false, title: this.questionFile.inputTitle, accept: this.questionFile.acceptedTypes, tabIndex: -1, onChange: function (event) { return _this.questionFile.onFileInputChange(event.nativeEvent); } }));\n };\n SurveyQuestionFileEditor.prototype.renderButtons = function () {\n return (React.createElement(\"div\", { className: this.questionFile.cssClasses.buttonsContainer },\n this.renderClearButton(),\n this.renderChooseButton()));\n };\n SurveyQuestionFileEditor.prototype.renderClearButton = function () {\n return attachKey2click((React.createElement(\"button\", { className: this.questionFile.cssClasses.clearButton, title: this.questionFile.clearButtonCaption, disabled: this.questionFile.getIsClearButtonDisabled(), onClick: this.questionFile.doClean },\n React.createElement(SvgIcon, { iconName: this.questionFile.cssClasses.clearButtonIcon, size: \"auto\" }))));\n };\n SurveyQuestionFileEditor.prototype.renderChooseButton = function () {\n var _this = this;\n return (attachKey2click(React.createElement(\"label\", { onClick: function (event) { return _this.questionFile.chooseFiles(event.nativeEvent); }, className: this.questionFile.getChooseButtonCss(), htmlFor: this.questionFile.inputId, \"aria-label\": this.questionFile.chooseButtonCaption },\n React.createElement(SvgIcon, { iconName: this.questionFile.cssClasses.chooseButtonIcon, size: \"auto\", title: this.questionFile.chooseButtonCaption }))));\n };\n SurveyQuestionFileEditor.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.questionFile.cssClasses.root, ref: function (el) { return _this.setContent(el); }, onDragEnter: this.questionFile.onDragEnter, onDragOver: this.questionFile.onDragOver, onDrop: this.questionFile.onDrop, onDragLeave: this.questionFile.onDragLeave, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },\n this.renderInput(),\n this.renderFileInput(),\n this.renderButtons()));\n };\n return SurveyQuestionFileEditor;\n}(SurveyQuestionText));\nexport { SurveyQuestionFileEditor };\nReactQuestionFactory.Instance.registerQuestion(\"fileedit\", function (props) {\n return React.createElement(SurveyQuestionFileEditor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon } from \"survey-react-ui\";\nvar SurveyQuestionSpinEditor = /** @class */ (function (_super) {\n __extends(SurveyQuestionSpinEditor, _super);\n function SurveyQuestionSpinEditor(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(SurveyQuestionSpinEditor.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionSpinEditor.prototype.renderInput = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { role: \"spinbutton\", id: this.question.inputId, disabled: this.isDisplayMode, className: this.question.cssClasses.control, ref: function (input) { return (_this.setControl(input)); }, placeholder: this.question.renderedPlaceholder, autoComplete: \"off\", onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onFocus: function (event) { return _this.question.onFocus(event.nativeEvent); }, onChange: this.question.onChange, onBeforeInput: function (event) { return _this.question.onBeforeInput(event.nativeEvent); }, onKeyUp: function (event) { return _this.question.onKeyUp(event.nativeEvent); }, onKeyDown: function (event) { return _this.question.onInputKeyDown(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 })));\n };\n SurveyQuestionSpinEditor.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.question.cssClasses.root, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },\n this.renderInput(),\n this.renderButtons()));\n };\n SurveyQuestionSpinEditor.prototype.getValueCore = function () {\n return this.question.renderedValue;\n };\n SurveyQuestionSpinEditor.prototype.renderButtons = function () {\n var _this = this;\n return (React.createElement(\"span\", { className: this.question.cssClasses.buttonsContainer },\n React.createElement(\"button\", { tabIndex: -1, \"aria-hidden\": \"true\", className: this.question.cssClasses.arrowButton, disabled: this.isDisplayMode, onClick: this.question.onDownButtonClick, onMouseDown: this.question.onDownButtonMouseDown, onMouseUp: this.question.onButtonMouseUp, onMouseLeave: this.question.onButtonMouseLeave, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onFocus: function (event) { return _this.question.onFocus(event.nativeEvent); } },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.decreaseButtonIcon, size: \"auto\" })),\n React.createElement(\"button\", { tabIndex: -1, \"aria-hidden\": \"true\", className: this.question.cssClasses.arrowButton, disabled: this.isDisplayMode, onClick: this.question.onUpButtonClick, onMouseDown: this.question.onUpButtonMouseDown, onMouseUp: this.question.onButtonMouseUp, onMouseLeave: this.question.onButtonMouseLeave, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onFocus: function (event) { return _this.question.onFocus(event.nativeEvent); } },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.increaseButtonIcon, size: \"auto\" }))));\n };\n return SurveyQuestionSpinEditor;\n}(SurveyQuestionText));\nexport { SurveyQuestionSpinEditor };\nReactQuestionFactory.Instance.registerQuestion(\"spinedit\", function (props) {\n return React.createElement(SurveyQuestionSpinEditor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionElementBase, SvgIcon } from \"survey-react-ui\";\nvar SurveyQuestionTextWithReset = /** @class */ (function (_super) {\n __extends(SurveyQuestionTextWithReset, _super);\n function SurveyQuestionTextWithReset() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyQuestionTextWithReset.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionTextWithReset.prototype.renderElement = function () {\n var textElement = this.renderInput();\n var resetButton = this.renderResetButton();\n return (React.createElement(\"div\", { className: this.question.getRootClass() },\n textElement,\n resetButton));\n };\n SurveyQuestionTextWithReset.prototype.renderInput = function () {\n return ReactQuestionFactory.Instance.createQuestion(this.question.wrappedQuestionTemplate, {\n question: this.question,\n isDisplayMode: this.question.isInputReadOnly,\n creator: this,\n });\n };\n SurveyQuestionTextWithReset.prototype.renderResetButton = function () {\n var _this = this;\n return (React.createElement(\"button\", { className: this.question.cssClasses.resetButton, disabled: this.question.resetValueAdorner.isDisabled, title: this.question.resetValueAdorner.caption, onClick: function () { return _this.question.resetValueAdorner.resetValue(); } },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.resetButtonIcon, size: \"auto\" })));\n };\n return SurveyQuestionTextWithReset;\n}(SurveyQuestionElementBase));\nexport { SurveyQuestionTextWithReset };\nReactQuestionFactory.Instance.registerQuestion(\"textwithreset\", function (props) {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});\nReactQuestionFactory.Instance.registerQuestion(\"commentwithreset\", function (props) {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});\n","export var Version;\nVersion = \"\".concat(process.env.VERSION);\n// import \"@survey/creator/survey-creator-core.css\";\nexport { SurveyCreatorComponent } from \"../SurveyCreator\";\nexport * from \"../adorners/Row\";\nexport * from \"../adorners/Question\";\nexport * from \"../adorners/QuestionHeader\";\nexport * from \"../adorners/QuestionFooter\";\nexport * from \"../adorners/QuestionBanner\";\nexport * from \"../adorners/QuestionDropdown\";\nexport * from \"../adorners/QuestionImage\";\nexport * from \"../adorners/QuestionRating\";\nexport * from \"../adorners/QuestionWidget\";\nexport * from \"../adorners/CellQuestion\";\nexport * from \"../adorners/CellQuestionDropdown\";\nexport * from \"../adorners/Page\";\nexport * from \"../adorners/Panel\";\nexport * from \"../LogoImage\";\nexport * from \"../QuestionLinkValue\";\nexport * from \"../QuestionEmbeddedSurvey\";\nexport * from \"../QuestionEditorContent\";\nexport * from \"../ItemValueWrapper\";\nexport * from \"../ImageItemValueWrapper\";\nexport * from \"../MatrixCellWrapper\";\nexport * from \"../Results\";\nexport * from \"../toolbox/ToolboxItem\";\nexport * from \"../toolbox/ToolboxItemGroup\";\nexport * from \"../toolbox/ToolboxCategory\";\nexport * from \"../toolbox/ToolboxList\";\nexport * from \"../toolbox/AdaptiveToolbox\";\nexport * from \"../TabbedMenu\";\nexport * from \"../Navigation\";\nexport * from \"../side-bar/TabControl\";\nexport * from \"../side-bar/TabButton\";\nexport * from \"../side-bar/SideBarDefaultHeader\";\nexport * from \"../side-bar/SideBarPropertyGridHeader\";\nexport * from \"../side-bar/SideBarHeader\";\nexport * from \"../side-bar/SideBar\";\nexport * from \"../tabs/translation/TranslationLineSkeleton\";\nexport * from \"../tabs/translation/TranslateFromAction\";\nexport * from \"../ActionButton\";\nexport * from \"../StringEditor\";\nexport * from \"../QuestionError\";\nexport * from \"../tabs/logic-operator\";\nexport * from \"../tabs/Designer\";\nexport * from \"../tabs/JsonEditorAce\";\nexport * from \"../tabs/JsonEditorTextarea\";\nexport * from \"../tabs/Logic\";\nexport * from \"../tabs/Preview\";\nexport * from \"../side-bar/PropertyGridPlaceholder\";\nexport * from \"../tabs/Theme\";\nexport * from \"../tabs/translation/Translation\";\nexport * from \"../tabs/SurveySimulator\";\nexport * from \"../events\";\nexport * from \"../side-bar/ObjectSelector\";\nexport * from \"../side-bar/PropertyGrid\";\nexport * from \"../components/Search\";\nexport * from \"../Switcher\";\nexport * from \"../tabs/JsonErrorItem\";\n//custom questions\nexport * from \"../custom-questions/SpinEditor\";\nexport * from \"../custom-questions/ColorItem\";\nexport * from \"../custom-questions/ColorQuestion\";\nexport * from \"../custom-questions/FileEditQuestion\";\nexport * from \"../custom-questions/TextWithResetQuestion\";\nexport * from \"../custom-questions/BooleanSwitch\";\nexport { editorLocalization, localization } from \"survey-creator-core\";\nexport { settings } from \"survey-creator-core\";\nexport { svgBundle } from \"survey-creator-core\";\nexport { SurveyLogic, SurveyLogicUI } from \"survey-creator-core\";\nexport { SurveyQuestionEditorDefinition } from \"survey-creator-core\";\nexport { ToolboxToolViewModel, PropertyGridEditorCollection } from \"survey-creator-core\";\nimport { checkLibraryVersion } from \"survey-core\";\ncheckLibraryVersion(\"\".concat(process.env.VERSION), \"survey-creator-react\");\n","export * from \"./index-wc\";\nexport { SurveyCreator } from \"../SurveyCreator\";\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar ReactMouseEvent = /** @class */ (function () {\n function ReactMouseEvent(event) {\n this.event = event;\n }\n ReactMouseEvent.prototype.stopPropagation = function () {\n this.event.stopPropagation();\n //this.event.nativeEvent.stopPropagation();\n //this.event.nativeEvent.stopImmediatePropagation();\n };\n ReactMouseEvent.prototype.preventDefault = function () {\n this.event.preventDefault();\n //this.event.nativeEvent.preventDefault();\n };\n Object.defineProperty(ReactMouseEvent.prototype, \"cancelBubble\", {\n get: function () {\n //return this.event.cancelBubble;\n return false;\n },\n set: function (value) {\n //this.event.cancelBubble = value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"target\", {\n get: function () {\n return this.event.target;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"currentTarget\", {\n get: function () {\n return this.event.currentTarget;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"clientX\", {\n get: function () {\n return this.event.clientX;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"clientY\", {\n get: function () {\n return this.event.clientY;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"offsetX\", {\n get: function () {\n return this.event.nativeEvent.offsetX;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"offsetY\", {\n get: function () {\n return this.event.nativeEvent.offsetY;\n },\n enumerable: false,\n configurable: true\n });\n return ReactMouseEvent;\n}());\nexport { ReactMouseEvent };\nvar ReactDragEvent = /** @class */ (function (_super) {\n __extends(ReactDragEvent, _super);\n function ReactDragEvent(event) {\n var _this = _super.call(this, event) || this;\n _this.event = event;\n return _this;\n }\n Object.defineProperty(ReactDragEvent.prototype, \"dataTransfer\", {\n get: function () {\n return this.event.dataTransfer;\n },\n enumerable: false,\n configurable: true\n });\n return ReactDragEvent;\n}(ReactMouseEvent));\nexport { ReactDragEvent };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\nvar ObjectSelectorComponent = /** @class */ (function (_super) {\n __extends(ObjectSelectorComponent, _super);\n function ObjectSelectorComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ObjectSelectorComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n ObjectSelectorComponent.prototype.getStateElement = function () {\n return this.model;\n };\n ObjectSelectorComponent.prototype.renderElement = function () {\n if (!this.model.isVisible)\n return null;\n return (React.createElement(List, { model: this.model.list }));\n };\n return ObjectSelectorComponent;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-object-selector\", function (props) {\n return React.createElement(ObjectSelectorComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { Survey, SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\nimport { SearchComponent } from \"../components/Search\";\nvar PropertyGridComponent = /** @class */ (function (_super) {\n __extends(PropertyGridComponent, _super);\n function PropertyGridComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(PropertyGridComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n PropertyGridComponent.prototype.getStateElement = function () {\n return this.model;\n };\n PropertyGridComponent.prototype.canRender = function () {\n if (!this.model)\n return false;\n return _super.prototype.canRender.call(this);\n };\n PropertyGridComponent.prototype.renderElement = function () {\n return (React.createElement(\"div\", { className: this.model.rootCss },\n React.createElement(SearchComponent, { model: this.model.searchManager }),\n React.createElement(Survey, { model: this.model.survey })));\n };\n return PropertyGridComponent;\n}(SurveyElementBase));\nexport { PropertyGridComponent };\nexport default PropertyGridComponent;\nReactElementFactory.Instance.registerElement(\"svc-property-grid\", function (props) {\n return React.createElement(PropertyGridComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { editorLocalization } from \"survey-creator-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar PropertyGridPlaceholderComponent = /** @class */ (function (_super) {\n __extends(PropertyGridPlaceholderComponent, _super);\n function PropertyGridPlaceholderComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PropertyGridPlaceholderComponent.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"svc-property-grid-placeholder\" },\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__header\" },\n React.createElement(\"span\", { className: \"svc-property-grid-placeholder__title\" }, editorLocalization.getString(\"ed.propertyGridPlaceholderTitle\")),\n React.createElement(\"span\", { className: \"svc-property-grid-placeholder__description\" }, editorLocalization.getString(\"ed.propertyGridPlaceholderDescription\"))),\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__content\" },\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__gap\" }),\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__image\" }))));\n };\n return PropertyGridPlaceholderComponent;\n}(React.Component));\nexport { PropertyGridPlaceholderComponent };\nReactElementFactory.Instance.registerElement(\"svc-property-grid-placeholder\", function (props) {\n return React.createElement(PropertyGridPlaceholderComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactQuestionFactory, ReactElementFactory } from \"survey-react-ui\";\nvar SidebarComponent = /** @class */ (function (_super) {\n __extends(SidebarComponent, _super);\n function SidebarComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.containerRef = React.createRef();\n return _this;\n }\n Object.defineProperty(SidebarComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SidebarComponent.prototype.getStateElement = function () {\n return this.model;\n };\n SidebarComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.initResizeManager(this.containerRef.current);\n };\n SidebarComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.resetResizeManager();\n };\n SidebarComponent.prototype.canRender = function () {\n if (!this.model)\n return false;\n return _super.prototype.canRender.call(this);\n };\n SidebarComponent.prototype.renderElement = function () {\n var _this = this;\n var style = { display: this.model.renderRoot ? \"\" : \"none\" };\n var containerStyle = { display: this.model.renderContainer ? \"\" : \"none\" };\n var items = this.model.pages.map(function (page) { return React.createElement(SidebarPage, { page: page, key: page.id }); });\n var headerArea = ReactElementFactory.Instance.createElement(this.model.header.component, { model: this.model.header.componentModel });\n var sideArea = null;\n if (this.model.sideAreaComponentName) {\n sideArea = ReactElementFactory.Instance.createElement(this.model.sideAreaComponentName, { model: this.model.sideAreaComponentData });\n }\n return (React.createElement(\"div\", { className: this.model.rootCss, style: style },\n React.createElement(\"div\", { className: \"svc-side-bar__shadow\", onClick: function () { return _this.model.collapseSidebar(); }, style: containerStyle }),\n React.createElement(\"div\", { className: \"svc-flex-row svc-side-bar__wrapper\" },\n React.createElement(\"div\", { className: \"svc-side-bar__container-wrapper\", style: containerStyle },\n React.createElement(\"div\", { ref: this.containerRef, className: \"svc-side-bar__container\" },\n headerArea,\n React.createElement(\"div\", { className: \"svc-side-bar__container-content\" }, items))),\n sideArea)));\n };\n return SidebarComponent;\n}(SurveyElementBase));\nexport { SidebarComponent };\nvar SidebarPage = /** @class */ (function (_super) {\n __extends(SidebarPage, _super);\n function SidebarPage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SidebarPage.prototype, \"page\", {\n get: function () {\n return this.props.page;\n },\n enumerable: false,\n configurable: true\n });\n SidebarPage.prototype.getStateElement = function () {\n return this.page;\n };\n SidebarPage.prototype.renderElement = function () {\n if (!this.page.visible)\n return null;\n var component = ReactElementFactory.Instance.createElement(this.page.componentName, { model: this.page.componentData });\n return component;\n };\n return SidebarPage;\n}(SurveyElementBase));\nReactQuestionFactory.Instance.registerQuestion(\"svc-side-bar-page\", function (props) {\n return React.createElement(SidebarPage, props);\n});\nexport default SidebarComponent;\nReactElementFactory.Instance.registerElement(\"svc-side-bar\", function (props) {\n return React.createElement(SidebarComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory, SurveyActionBar } from \"survey-react-ui\";\nvar SideBarDefaultHeader = /** @class */ (function (_super) {\n __extends(SideBarDefaultHeader, _super);\n function SideBarDefaultHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SideBarDefaultHeader.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SideBarDefaultHeader.prototype.getStateElement = function () {\n return this.model;\n };\n SideBarDefaultHeader.prototype.renderElement = function () {\n var title = !!this.model.title ? (React.createElement(\"div\", { className: \"svc-side-bar__container-title\" }, this.model.title)) : null;\n return (React.createElement(\"div\", { className: \"svc-side-bar__container-header\" },\n React.createElement(\"div\", { className: \"svc-side-bar__container-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.toolbar })),\n title));\n };\n return SideBarDefaultHeader;\n}(SurveyElementBase));\nexport { SideBarDefaultHeader };\nReactElementFactory.Instance.registerElement(\"svc-side-bar-default-header\", function (props) {\n return React.createElement(SideBarDefaultHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\nvar SideBarHeader = /** @class */ (function (_super) {\n __extends(SideBarHeader, _super);\n function SideBarHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SideBarHeader.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SideBarHeader.prototype.getStateElement = function () {\n return this.model;\n };\n SideBarHeader.prototype.renderElement = function () {\n return (React.createElement(\"div\", { className: \"svc-side-bar__container-header svc-sidebar__header-container\" }, (this.model.subTitle) ?\n React.createElement(\"div\", { className: \"svc-sidebar__header-caption\" },\n React.createElement(\"span\", { className: \"svc-sidebar__header-title\" }, this.model.title),\n React.createElement(\"span\", { className: \"svc-sidebar__header-subtitle\" }, this.model.subTitle))\n : React.createElement(\"div\", { className: \"svc-side-bar__container-title\" }, this.model.title)));\n };\n return SideBarHeader;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-side-bar-header\", function (props) {\n return React.createElement(SideBarHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory, Popup, attachKey2click } from \"survey-react-ui\";\nvar SideBarPropertyGridHeader = /** @class */ (function (_super) {\n __extends(SideBarPropertyGridHeader, _super);\n function SideBarPropertyGridHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SideBarPropertyGridHeader.prototype, \"objectSelectionAction\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SideBarPropertyGridHeader.prototype.getStateElement = function () {\n return this.objectSelectionAction;\n };\n SideBarPropertyGridHeader.prototype.renderElement = function () {\n var _this = this;\n var button = attachKey2click(React.createElement(\"div\", { className: this.objectSelectionAction.buttonClassName, onClick: function () { return _this.objectSelectionAction.action(); } },\n React.createElement(\"div\", { className: \"svc-sidebar__header-caption\" },\n React.createElement(\"span\", { className: \"svc-sidebar__header-title\" }, this.objectSelectionAction.title),\n React.createElement(\"span\", { className: \"svc-sidebar__header-subtitle\" }, this.objectSelectionAction.tooltip))), this.props.model);\n return (React.createElement(\"div\", { className: \"svc-sidebar__header svc-sidebar__header--tabbed\" },\n React.createElement(\"div\", { className: \"svc-sidebar__header-container svc-sidebar__header-container--with-subtitle\" },\n React.createElement(\"div\", { className: \"svc-sidebar__header-content\" },\n button,\n React.createElement(Popup, { model: this.objectSelectionAction.popupModel })))));\n };\n return SideBarPropertyGridHeader;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-side-bar-property-grid-header\", function (props) {\n return React.createElement(SideBarPropertyGridHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nvar TabButtonComponent = /** @class */ (function (_super) {\n __extends(TabButtonComponent, _super);\n function TabButtonComponent(props) {\n return _super.call(this, props) || this;\n }\n TabButtonComponent.prototype.getStateElement = function () {\n return this.props.model;\n };\n TabButtonComponent.prototype.renderElement = function () {\n var model = this.props.model;\n if (!model.visible)\n return null;\n var button = attachKey2click(React.createElement(\"div\", { className: model.buttonClassName, title: model.tooltip, onClick: function () { model.action(); } },\n React.createElement(\"div\", { className: \"svc-menu-action__icon\" },\n React.createElement(\"div\", { className: \"svc-menu-action__icon-container\" },\n React.createElement(SvgIcon, { iconName: model.iconName, size: \"auto\" })))), model);\n return (React.createElement(\"div\", { className: \"svc-menu-action\" }, button));\n };\n return TabButtonComponent;\n}(SurveyElementBase));\nexport { TabButtonComponent };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory, Scroll } from \"survey-react-ui\";\nimport { TabButtonComponent } from \"./TabButton\";\nvar TabControl = /** @class */ (function (_super) {\n __extends(TabControl, _super);\n function TabControl(props) {\n return _super.call(this, props) || this;\n }\n TabControl.prototype.getStateElement = function () {\n return this.props.model;\n };\n TabControl.prototype.canRender = function () {\n if (!this.props.model)\n return false;\n return _super.prototype.canRender.call(this);\n };\n TabControl.prototype.renderElement = function () {\n return (React.createElement(\"div\", { className: this.props.model.sideBarClassName },\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__top-container\" },\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__collapse-button\" },\n React.createElement(TabButtonComponent, { model: this.props.model.expandCollapseAction })),\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__separator\" },\n React.createElement(\"div\", null)),\n React.createElement(Scroll, null,\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__items\" },\n React.createElement(TabsComponent, { model: this.props.model.topToolbar })))),\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__bottom-container\" },\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__items\" },\n React.createElement(TabsComponent, { model: this.props.model.bottomToolbar })))));\n };\n return TabControl;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-tab-control\", function (props) {\n return React.createElement(TabControl, props);\n});\nvar TabsComponent = /** @class */ (function (_super) {\n __extends(TabsComponent, _super);\n function TabsComponent(props) {\n return _super.call(this, props) || this;\n }\n TabsComponent.prototype.getStateElement = function () {\n return this.props.model;\n };\n TabsComponent.prototype.renderElement = function () {\n return React.createElement(React.Fragment, null, this.props.model.actions.map(function (item, itemIndex) { return React.createElement(TabButtonComponent, { model: item, key: \"item\" + itemIndex }); }));\n };\n return TabsComponent;\n}(SurveyElementBase));\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from \"react\";\nimport { ReactElementFactory, Scroll, SurveyActionBar, SurveyElementBase, SurveyHeader } from \"survey-react-ui\";\nimport { SurveyPageNavigator } from \"../PageNavigator\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabDesignerComponent = /** @class */ (function (_super) {\n __extends(TabDesignerComponent, _super);\n function TabDesignerComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.denyUpdate = function () {\n _this.denyComponentUpdate();\n };\n _this.allowUpdate = function () {\n _this.allowComponentUpdate();\n };\n _this.addDragDropEvents = function () {\n _this.creator.onDragStart.add(_this.denyUpdate);\n _this.creator.onDragClear.add(_this.allowUpdate);\n };\n _this.clearDragDropEvents = function () {\n _this.creator.onDragStart.remove(_this.denyUpdate);\n _this.creator.onDragClear.remove(_this.allowUpdate);\n };\n return _this;\n }\n Object.defineProperty(TabDesignerComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(TabDesignerComponent.prototype, \"creator\", {\n get: function () {\n return this.model.creator;\n },\n enumerable: false,\n configurable: true\n });\n TabDesignerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.addDragDropEvents();\n };\n TabDesignerComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.clearDragDropEvents();\n _super.prototype.componentWillUnmount.call(this);\n };\n TabDesignerComponent.prototype.getStateElements = function () {\n return [this.model, this.model.survey, this.model.pagesController];\n };\n TabDesignerComponent.prototype.getRenderedPages = function () {\n var _this = this;\n var renderedPages = [];\n if (this.creator.pageEditMode !== \"bypage\") {\n var pages = this.model.pages;\n pages.forEach(function (page) {\n renderedPages.push(_this.createRenderedPage(page, page == _this.model.newPage));\n });\n }\n else {\n var page2Display = this.model.pagesController.page2Display;\n if (!!page2Display) {\n renderedPages.push(this.createRenderedPage(page2Display, this.model.newPage === page2Display));\n }\n }\n return renderedPages;\n };\n TabDesignerComponent.prototype.createRenderedPage = function (page, isGhostPage) {\n return (React.createElement(\"div\", { className: \"svc-page\", \"data-sv-drop-target-page\": page.name, \"data-sv-drop-target-survey-element\": isGhostPage ? \"newGhostPage\" : page.name, key: page.id }, this.renderPage(page, isGhostPage)));\n };\n TabDesignerComponent.prototype.renderNewPage = function (className, key) {\n if (key === void 0) { key = \"\"; }\n return (React.createElement(React.Fragment, { key: key },\n React.createElement(\"div\", { className: className, \"data-sv-drop-target-survey-element\": \"newGhostPage\" }, !!this.model.newPage ? this.renderPage(this.model.newPage, true) : null)));\n };\n TabDesignerComponent.prototype.renderPage = function (pageV, isGhost) {\n return ReactElementFactory.Instance.createElement(\"svc-page\", { survey: this.creator.survey, page: pageV, creator: this.creator, isGhost: isGhost });\n };\n TabDesignerComponent.prototype.renderElement = function () {\n var _this = this;\n var designerTabClassName = \"svc-tab-designer \" + this.model.getRootCss();\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-flex-column\" }, this.model.isToolboxVisible ? ReactElementFactory.Instance.createElement(\"svc-toolbox\", { model: this.creator }) : null),\n React.createElement(\"div\", { className: designerTabClassName, onClick: function () { return _this.model.clickDesigner(); } },\n React.createElement(Scroll, null,\n React.createElement(\"div\", { className: \"svc-tab-designer_content\" }, this.model.showPlaceholder ? this.renderPlaceHolder() : this.renderTabContent())))));\n };\n TabDesignerComponent.prototype.renderHeader = function (condition) {\n if (!condition)\n return null;\n var survey = this.creator.survey;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-designer-header\" },\n React.createElement(SurveyHeader, { survey: survey }))));\n };\n TabDesignerComponent.prototype.renderPlaceHolder = function () {\n var surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle && this.creator.showHeaderInEmptySurvey);\n return (React.createElement(React.Fragment, null,\n surveyHeader,\n React.createElement(\"div\", { className: \"svc-designer__placeholder-container\", \"data-sv-drop-target-survey-element\": \"newGhostPage\" },\n this.renderPlaceHolderContent(),\n this.renderNewPage(\"svc-designer-placeholder-page\"))));\n };\n TabDesignerComponent.prototype.renderPlaceHolderContent = function () {\n return React.createElement(SurfacePlaceholder, { name: \"designer\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n };\n TabDesignerComponent.prototype.renderTabContent = function () {\n var survey = this.creator.survey;\n var surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle);\n var style = __assign({}, this.model.surfaceCssVariables);\n style.maxWidth = survey.renderedWidth;\n var tabTools = this.renderTabTools();\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: this.model.designerCss, style: style },\n surveyHeader,\n this.getRenderedPages()),\n tabTools));\n };\n TabDesignerComponent.prototype.renderTabTools = function () {\n if (!this.model.showSurfaceTools)\n return null;\n var pageNavigator = this.creator.showPageNavigator ?\n React.createElement(\"div\", { className: \"svc-tab-designer__page-navigator\" },\n React.createElement(SurveyPageNavigator, { pagesController: this.model.pagesController, pageEditMode: this.model.creator.pageEditMode }))\n : null;\n var surfaceToolbar = this.model.showSurfaceToolbar ?\n React.createElement(SurveyActionBar, { model: this.model.surfaceToolbar, handleClick: false })\n : null;\n return React.createElement(\"div\", { className: \"svc-tab-designer__tools\" },\n pageNavigator,\n surfaceToolbar);\n };\n return TabDesignerComponent;\n}(SurveyElementBase));\nexport { TabDesignerComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-designer\", function (props) {\n return React.createElement(TabDesignerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { TabJsonEditorErrorsComponent } from \"./JsonEditorTextarea\";\nvar TabJsonEditorAceComponent = /** @class */ (function (_super) {\n __extends(TabJsonEditorAceComponent, _super);\n function TabJsonEditorAceComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.aceEditorrRef = React.createRef();\n return _this;\n }\n TabJsonEditorAceComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(TabJsonEditorAceComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabJsonEditorAceComponent.prototype.componentDidMount = function () {\n this.model.init(ace.edit(this.aceEditorrRef.current));\n };\n TabJsonEditorAceComponent.prototype.renderElement = function () {\n var errors = React.createElement(TabJsonEditorErrorsComponent, { data: this.model });\n return (React.createElement(\"div\", { className: \"svc-creator-tab__content\" },\n React.createElement(\"div\", { className: \"svc-json-editor-tab__content\" },\n React.createElement(\"div\", { className: \"svc-json-editor-tab__ace-editor\", ref: this.aceEditorrRef }),\n errors)));\n };\n return TabJsonEditorAceComponent;\n}(SurveyElementBase));\nexport { TabJsonEditorAceComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-json-editor-ace\", function (props) {\n return React.createElement(TabJsonEditorAceComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\nvar TabJsonEditorErrorsComponent = /** @class */ (function (_super) {\n __extends(TabJsonEditorErrorsComponent, _super);\n function TabJsonEditorErrorsComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TabJsonEditorErrorsComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(TabJsonEditorErrorsComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabJsonEditorErrorsComponent.prototype.renderElement = function () {\n return React.createElement(\"div\", { className: \"svc-json-editor-tab__errros_list\", style: { display: this.model.hasErrors ? \"block\" : \"none\" } },\n React.createElement(List, { model: this.model.errorList }));\n };\n return TabJsonEditorErrorsComponent;\n}(SurveyElementBase));\nexport { TabJsonEditorErrorsComponent };\nvar TabJsonEditorTextareaComponent = /** @class */ (function (_super) {\n __extends(TabJsonEditorTextareaComponent, _super);\n function TabJsonEditorTextareaComponent(props) {\n return _super.call(this, props) || this;\n }\n TabJsonEditorTextareaComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(TabJsonEditorTextareaComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabJsonEditorTextareaComponent.prototype.renderElement = function () {\n var _this = this;\n var setControl = function (el) {\n _this.model.textElement = el;\n };\n var errors = React.createElement(TabJsonEditorErrorsComponent, { data: this.model });\n return (React.createElement(\"div\", { className: \"svc-creator-tab__content\" },\n React.createElement(\"div\", { className: \"svc-json-editor-tab__content\" },\n React.createElement(\"textarea\", { ref: function (input) { return (setControl(input)); }, className: \"svc-json-editor-tab__content-area\", value: this.model.text, onChange: function (e) {\n return (_this.model.text = e.target.value);\n }, onKeyDown: function (e) { return _this.model.checkKey(e, e); }, disabled: this.model.readOnly, \"aria-label\": this.model.ariaLabel }),\n errors)));\n };\n return TabJsonEditorTextareaComponent;\n}(SurveyElementBase));\nexport { TabJsonEditorTextareaComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-json-editor-textarea\", function (props) {\n return React.createElement(TabJsonEditorTextareaComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, SvgIcon, attachKey2click } from \"survey-react-ui\";\nvar ItemTemplateComponent = /** @class */ (function (_super) {\n __extends(ItemTemplateComponent, _super);\n function ItemTemplateComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemTemplateComponent.prototype.render = function () {\n var item = this.props.item;\n return (React.createElement(React.Fragment, null,\n React.createElement(SvgIcon, { iconName: item.iconName, size: item.iconSize, className: \"svc-json-error__icon\" }),\n React.createElement(\"div\", { className: \"svc-json-error__container\" },\n React.createElement(\"div\", { className: \"svc-json-error__title\" },\n React.createElement(\"span\", { key: 2 }, this.renderLocString(item.locTitle, undefined, \"locString\"))),\n this.renderFixButton())));\n };\n ItemTemplateComponent.prototype.renderFixButton = function () {\n if (!this.props.item.data.showFixButton)\n return null;\n var item = this.props.item;\n return (attachKey2click(React.createElement(\"button\", { type: \"button\", onClick: function (event) { event.stopPropagation(); item.data.fixError(); }, title: item.data.fixButtonTitle, className: \"svc-json-error__fix-button\" },\n React.createElement(SvgIcon, { iconName: item.data.fixButtonIcon, size: \"auto\" }))));\n };\n return ItemTemplateComponent;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"json-error-item\", function (props) {\n return React.createElement(ItemTemplateComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { Fragment } from \"react\";\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, Survey, attachKey2click } from \"survey-react-ui\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabLogicAddButtonComponent = /** @class */ (function (_super) {\n __extends(TabLogicAddButtonComponent, _super);\n function TabLogicAddButtonComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabLogicAddButtonComponent.prototype, \"model\", {\n get: function () {\n return this.props.button;\n },\n enumerable: false,\n configurable: true\n });\n TabLogicAddButtonComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabLogicAddButtonComponent.prototype.renderElement = function () {\n var _this = this;\n var buttonClassName = \"svc-logic-tab__content-action svc-btn\" + ((this.model.enabled !== undefined && !this.model.enabled) ? \" svc-logic-tab__content-action--disabled\" : \"\");\n return attachKey2click(React.createElement(\"div\", { role: \"button\", onClick: function (e) {\n e.stopPropagation();\n _this.model.action();\n }, className: buttonClassName, title: this.model.title },\n React.createElement(\"span\", { className: \"svc-btn__text\" }, this.model.title)));\n };\n return TabLogicAddButtonComponent;\n}(SurveyElementBase));\nexport { TabLogicAddButtonComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-logic-add-button\", function (props) {\n return React.createElement(TabLogicAddButtonComponent, props);\n});\nvar TabLogicComponent = /** @class */ (function (_super) {\n __extends(TabLogicComponent, _super);\n function TabLogicComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabLogicComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabLogicComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabLogicComponent.prototype.renderElement = function () {\n var logic = this.model;\n var rootClass = \"svc-creator-tab__content svc-logic-tab\";\n var content = this.renderViewContent();\n return React.createElement(\"div\", { className: rootClass }, content);\n };\n TabLogicComponent.prototype.renderViewContent = function () {\n var logicTabClassName = \"svc-plugin-tab__content svc-logic-tab svc-logic-tab__content \" + (this.model.hasItems ? \"\" : \"svc-logic-tab--empty\");\n var addLogic = !this.model.readOnly ? React.createElement(TabLogicAddButtonComponent, { button: this.model.addNewButton }) : undefined;\n return (React.createElement(Fragment, null,\n React.createElement(\"div\", { className: logicTabClassName }, this.model.hasItems ?\n (React.createElement(React.Fragment, null,\n React.createElement(Survey, { model: this.model.itemsSurvey }),\n addLogic))\n : (React.createElement(\"div\", { className: \"svc-logic-tab__content-empty\" },\n React.createElement(SurfacePlaceholder, { name: \"logic\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText }),\n addLogic)))));\n };\n return TabLogicComponent;\n}(SurveyElementBase));\nexport { TabLogicComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-logic\", function (props) {\n return React.createElement(TabLogicComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyActionBar, ReactElementFactory, SurveyElementBase, attachKey2click } from \"survey-react-ui\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabPreviewTestSurveyAgainComponent = /** @class */ (function (_super) {\n __extends(TabPreviewTestSurveyAgainComponent, _super);\n function TabPreviewTestSurveyAgainComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabPreviewTestSurveyAgainComponent.prototype, \"model\", {\n get: function () {\n return this.props.model.testAgainAction;\n },\n enumerable: false,\n configurable: true\n });\n TabPreviewTestSurveyAgainComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabPreviewTestSurveyAgainComponent.prototype.renderElement = function () {\n var _this = this;\n var buttonClassName = \"svc-preview__test-again svc-btn\";\n return attachKey2click(React.createElement(\"div\", { role: \"button\", onClick: function (e) {\n e.stopPropagation();\n _this.model.action();\n }, className: buttonClassName, title: this.model.title },\n React.createElement(\"span\", { className: \"svc-btn__text\" }, this.model.title)));\n };\n return TabPreviewTestSurveyAgainComponent;\n}(SurveyElementBase));\nexport { TabPreviewTestSurveyAgainComponent };\nReactElementFactory.Instance.registerElement(\"svc-complete-page\", function (props) {\n return React.createElement(TabPreviewTestSurveyAgainComponent, props);\n});\nvar TabPreviewSurveyComponent = /** @class */ (function (_super) {\n __extends(TabPreviewSurveyComponent, _super);\n function TabPreviewSurveyComponent(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(TabPreviewSurveyComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabPreviewSurveyComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabPreviewSurveyComponent.prototype.renderPlaceholder = function () {\n return React.createElement(SurfacePlaceholder, { name: \"preview\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n };\n TabPreviewSurveyComponent.prototype.renderSimulator = function () {\n return (React.createElement(\"div\", { className: \"svc-plugin-tab__content\" },\n React.createElement(SurveySimulator, { model: this.model.simulator }),\n this.model.showResults ? React.createElement(SurveyResults, { survey: this.model.simulator.survey }) : null));\n };\n TabPreviewSurveyComponent.prototype.renderElement = function () {\n var tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (React.createElement(\"div\", { className: tabContentClassName },\n this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator(),\n this.getBottomToolbar()));\n };\n TabPreviewSurveyComponent.prototype.getBottomToolbar = function () {\n if (this.model.isPageToolbarVisible) {\n return (React.createElement(\"div\", { className: \"svc-test-tab__content-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.pages })));\n }\n else {\n return null;\n }\n };\n return TabPreviewSurveyComponent;\n}(SurveyElementBase));\nexport { TabPreviewSurveyComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-preview\", function (props) {\n return React.createElement(TabPreviewSurveyComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { Survey, SurveyElementBase } from \"survey-react-ui\";\nimport * as React from \"react\";\nvar SurveySimulator = /** @class */ (function (_super) {\n __extends(SurveySimulator, _super);\n function SurveySimulator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveySimulator.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SurveySimulator.prototype.getStateElement = function () {\n return this.model;\n };\n SurveySimulator.prototype.renderElement = function () {\n var _this = this;\n var mainSimulatorClass = this.model.getRootCss();\n if (!this.model.survey) {\n return React.createElement(\"div\", { className: mainSimulatorClass });\n }\n if (this.model.hasFrame) {\n return (React.createElement(\"div\", { className: mainSimulatorClass, onKeyDown: function (e) { return _this.model.tryToZoom(e, e); }, onMouseEnter: this.model.device === \"desktop\" ? null : this.model.activateZoom, onMouseLeave: this.model.device === \"desktop\" ? null : this.model.deactivateZoom },\n React.createElement(\"div\", { className: \"svd-simulator-wrapper\", id: \"svd-simulator-wrapper\", style: {\n width: this.model.simulatorFrame.frameWidth + \"px\",\n height: this.model.simulatorFrame.frameHeight + \"px\"\n } },\n React.createElement(\"div\", { className: \"svd-simulator\", style: {\n width: this.model.simulatorFrame.deviceWidth + \"px\",\n height: this.model.simulatorFrame.deviceHeight + \"px\",\n transform: \"scale(\" +\n this.model.simulatorFrame.scale +\n \") translate(-50%, -50%)\"\n } },\n React.createElement(\"div\", { className: \"svd-simulator-content\" },\n React.createElement(Survey, { model: this.model.survey }))))));\n }\n else {\n return (React.createElement(\"div\", { className: mainSimulatorClass },\n React.createElement(\"div\", { className: \"svd-simulator-content\" },\n React.createElement(Survey, { model: this.model.survey }))));\n }\n };\n return SurveySimulator;\n}(SurveyElementBase));\nexport { SurveySimulator };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyActionBar, ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabThemeSurveyComponent = /** @class */ (function (_super) {\n __extends(TabThemeSurveyComponent, _super);\n function TabThemeSurveyComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabThemeSurveyComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabThemeSurveyComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabThemeSurveyComponent.prototype.renderPlaceholder = function () {\n return React.createElement(SurfacePlaceholder, { name: \"theme\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n };\n TabThemeSurveyComponent.prototype.renderSimulator = function () {\n return (React.createElement(\"div\", { className: \"svc-plugin-tab__content\" },\n React.createElement(SurveySimulator, { model: this.model.simulator }),\n this.model.showResults ? React.createElement(SurveyResults, { survey: this.model.simulator.survey }) : null));\n };\n TabThemeSurveyComponent.prototype.renderElement = function () {\n var tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (React.createElement(\"div\", { className: tabContentClassName },\n this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator(),\n this.getBottomToolbar()));\n };\n TabThemeSurveyComponent.prototype.getBottomToolbar = function () {\n if (this.model.isPageToolbarVisible) {\n return (React.createElement(\"div\", { className: \"svc-test-tab__content-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.pages })));\n }\n else {\n return null;\n }\n };\n return TabThemeSurveyComponent;\n}(SurveyElementBase));\nexport { TabThemeSurveyComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-theme\", function (props) {\n return React.createElement(TabThemeSurveyComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { initLogicOperator } from \"survey-creator-core\";\nimport { SurveyQuestionDropdown, ReactQuestionFactory } from \"survey-react-ui\";\nvar SurveyLogicOpertor = /** @class */ (function (_super) {\n __extends(SurveyLogicOpertor, _super);\n function SurveyLogicOpertor(props) {\n return _super.call(this, props) || this;\n }\n SurveyLogicOpertor.prototype.renderInput = function () {\n var q = this.question;\n initLogicOperator(q);\n var text = (q.locReadOnlyText) ? this.renderLocString(q.locReadOnlyText) : \"\";\n var dropdownListModel = this.question.dropdownListModel;\n return (React.createElement(\"div\", { id: this.question.inputId, className: q.getControlClass(), tabIndex: this.question.isInputReadOnly ? undefined : 0, \n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n disabled: this.question.isInputReadOnly, required: this.question.isRequired, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onKeyUp: this.keyhandler, role: dropdownListModel.ariaQuestionRole, \"aria-required\": dropdownListModel.ariaQuestionRequired, \"aria-invalid\": dropdownListModel.ariaQuestionInvalid, \"aria-errormessage\": dropdownListModel.ariaQuestionErrorMessage, \"aria-expanded\": dropdownListModel.ariaQuestionExpanded, \"aria-label\": dropdownListModel.ariaQuestionLabel, \"aria-labelledby\": dropdownListModel.ariaQuestionLabelledby, \"aria-controls\": dropdownListModel.ariaQuestionControls },\n React.createElement(\"div\", { className: this.question.cssClasses.controlValue }, text)));\n };\n SurveyLogicOpertor.prototype.renderEditorButtons = function () {\n return null;\n };\n return SurveyLogicOpertor;\n}(SurveyQuestionDropdown));\nexport { SurveyLogicOpertor };\nReactQuestionFactory.Instance.registerQuestion(\"sv-logic-operator\", function (props) {\n return React.createElement(SurveyLogicOpertor, props);\n});\nRendererFactory.Instance.registerRenderer(\"dropdown\", \"logicoperator\", \"sv-logic-operator\");\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\nvar TranslateFromAction = /** @class */ (function (_super) {\n __extends(TranslateFromAction, _super);\n function TranslateFromAction() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TranslateFromAction.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n TranslateFromAction.prototype.getStateElement = function () {\n return this.item;\n };\n TranslateFromAction.prototype.renderElement = function () {\n var item = this.item;\n return (React.createElement(\"div\", { className: item.data.containerCss },\n React.createElement(\"span\", { className: item.data.additionalTitleCss }, item.data.additionalTitle),\n ReactElementFactory.Instance.createElement(\"sv-action-bar-item-dropdown\", { item: this.item })));\n };\n return TranslateFromAction;\n}(SurveyElementBase));\nexport { TranslateFromAction };\nReactElementFactory.Instance.registerElement(\"svc-translate-from-action\", function (props) {\n return React.createElement(TranslateFromAction, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, Survey } from \"survey-react-ui\";\nimport { SurfacePlaceholder } from \"../../components/SurfacePlaceholder\";\nvar TabTranslationComponent = /** @class */ (function (_super) {\n __extends(TabTranslationComponent, _super);\n function TabTranslationComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabTranslationComponent.prototype, \"model\", {\n get: function () {\n return this.props.data || this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n TabTranslationComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabTranslationComponent.prototype.renderElement = function () {\n if (!this.model)\n return null;\n return (React.createElement(\"div\", { className: \"svc-creator-tab__content svc-translation-tab\" + (this.model.isEmpty ? \" svc-translation-tab--empty\" : \"\") }, this.renderElementContent()));\n };\n TabTranslationComponent.prototype.renderElementContent = function () {\n if (this.model.isEmpty) {\n return React.createElement(SurfacePlaceholder, { name: \"translation\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n }\n else {\n return (React.createElement(\"div\", { className: \"st-content\" },\n React.createElement(\"div\", { className: \"svc-flex-column st-strings-wrapper\" },\n React.createElement(\"div\", { className: \"svc-flex-row st-strings-header\" },\n React.createElement(Survey, { model: this.model.stringsHeaderSurvey })),\n React.createElement(\"div\", { className: \"svc-flex-row svc-plugin-tab__content st-strings\" },\n React.createElement(Survey, { model: this.model.stringsSurvey })))));\n }\n };\n return TabTranslationComponent;\n}(SurveyElementBase));\nexport { TabTranslationComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-translation\", function (props) {\n return React.createElement(TabTranslationComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar TranslationLineSkeleton = /** @class */ (function (_super) {\n __extends(TranslationLineSkeleton, _super);\n function TranslationLineSkeleton() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TranslationLineSkeleton.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"sd-translation-line-skeleton\" }));\n };\n return TranslationLineSkeleton;\n}(React.Component));\nexport { TranslationLineSkeleton };\nReactElementFactory.Instance.registerElement(\"sd-translation-line-skeleton\", function (props) {\n return React.createElement(TranslationLineSkeleton, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { VerticalResponsivityManager } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, Scroll } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nimport { SearchComponent } from \"../components/Search\";\nimport { SurveyCreatorToolboxCategory } from \"./ToolboxCategory\";\nvar AdaptiveToolbox = /** @class */ (function (_super) {\n __extends(AdaptiveToolbox, _super);\n function AdaptiveToolbox(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n AdaptiveToolbox.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n var container = this.rootRef.current;\n this.toolbox.setRootElement(container);\n if (!container)\n return;\n this.manager = new VerticalResponsivityManager(this.toolbox.containerElement, this.toolbox);\n };\n AdaptiveToolbox.prototype.componentWillUnmount = function () {\n this.manager && (this.manager.dispose());\n this.toolbox.setRootElement(undefined);\n _super.prototype.componentWillUnmount.call(this);\n };\n Object.defineProperty(AdaptiveToolbox.prototype, \"creator\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(AdaptiveToolbox.prototype, \"toolbox\", {\n get: function () {\n return this.creator.toolbox;\n },\n enumerable: false,\n configurable: true\n });\n AdaptiveToolbox.prototype.getStateElement = function () {\n return this.toolbox;\n };\n AdaptiveToolbox.prototype.renderItems = function (items, isCompact) {\n var _this = this;\n if (isCompact === void 0) { isCompact = false; }\n return items.map(function (item, itemIndex) {\n return React.createElement(SurveyCreatorToolboxTool, { item: item, creator: _this.creator, parentModel: _this.toolbox, isCompact: isCompact, key: item.renderedId });\n });\n };\n AdaptiveToolbox.prototype.renderCategories = function () {\n var _this = this;\n return this.toolbox.categories.map(function (category, index) {\n return React.createElement(SurveyCreatorToolboxCategory, { category: category, toolbox: _this.toolbox, key: \"category\" + index });\n });\n };\n AdaptiveToolbox.prototype.renderSearch = function () {\n var searchButton = this.toolbox.isCompactRendered ?\n React.createElement(React.Fragment, null,\n React.createElement(SurveyCreatorToolboxTool, { item: this.toolbox.searchItem, creator: this.creator, parentModel: this.toolbox, isCompact: this.toolbox.isCompactRendered, key: \"searchitem\" })) :\n null;\n return (React.createElement(\"div\", { className: \"svc-toolbox__search-container\" },\n searchButton,\n React.createElement(SearchComponent, { model: this.toolbox.searchManager }),\n React.createElement(\"div\", { className: \"svc-toolbox__category-separator svc-toolbox__category-separator--search\" })));\n };\n AdaptiveToolbox.prototype.render = function () {\n var _this = this;\n if (!this.toolbox.hasActions)\n return null;\n var search = this.toolbox.showSearch ? this.renderSearch() : null;\n var placeholder = this.toolbox.showPlaceholder ? React.createElement(\"div\", { className: \"svc-toolbox__placeholder\" }, this.toolbox.toolboxNoResultsFound) : null;\n return (React.createElement(\"div\", { ref: this.rootRef, className: this.toolbox.classNames },\n React.createElement(\"div\", { onBlur: function (e) { return _this.toolbox.focusOut(e); }, className: \"svc-toolbox__panel\" },\n search,\n placeholder,\n React.createElement(Scroll, null, (this.toolbox.showInSingleCategory) ?\n (React.createElement(\"div\", { className: \"svc-toolbox__category\" }, this.renderItems(this.toolbox.renderedActions, this.toolbox.isCompactRendered)))\n : this.renderCategories()))));\n };\n return AdaptiveToolbox;\n}(SurveyElementBase));\nexport { AdaptiveToolbox };\nReactElementFactory.Instance.registerElement(\"svc-toolbox\", function (props) {\n return React.createElement(AdaptiveToolbox, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nvar SurveyCreatorToolboxCategory = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxCategory, _super);\n function SurveyCreatorToolboxCategory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyCreatorToolboxCategory.prototype, \"category\", {\n get: function () {\n return this.props.category;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxCategory.prototype, \"toolbox\", {\n get: function () {\n return this.props.toolbox;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxCategory.prototype, \"class\", {\n get: function () {\n return \"svc-toolbox__category\" +\n (this.category.collapsed ? \" svc-toolbox__category--collapsed\" : \"\") +\n (this.category.empty ? \" svc-toolbox__category--empty\" : \"\");\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxCategory.prototype.getStateElement = function () {\n return this.category;\n };\n SurveyCreatorToolboxCategory.prototype.render = function () {\n var header = this.renderCategoryHeader();\n var items = this.renderCategoryContent();\n return (React.createElement(\"div\", { className: this.class, key: this.category.name },\n React.createElement(\"div\", { className: \"svc-toolbox__category-header-wrapper\" }, header),\n items));\n };\n SurveyCreatorToolboxCategory.prototype.renderCategoryHeader = function () {\n var _this = this;\n var className = \"svc-toolbox__category-header\";\n if (this.toolbox.canCollapseCategories) {\n className += \" svc-toolbox__category-header--collapsed\";\n }\n return attachKey2click(React.createElement(\"div\", { className: className, onClick: function (e) { return _this.category.toggleState(); } },\n React.createElement(\"span\", { className: \"svc-toolbox__category-title\" }, this.category.title),\n this.renderButton()));\n };\n SurveyCreatorToolboxCategory.prototype.renderButton = function () {\n if (!this.toolbox.canCollapseCategories)\n return null;\n var iconName = this.category.iconName;\n return (React.createElement(\"div\", { className: \"svc-toolbox__category-header__controls\" },\n React.createElement(SvgIcon, { className: this.category.iconClassName, iconName: iconName, size: \"auto\" })));\n };\n SurveyCreatorToolboxCategory.prototype.renderCategoryContent = function () {\n return this.renderItems(this.category.items);\n };\n SurveyCreatorToolboxCategory.prototype.renderItems = function (items, isCompact) {\n var _this = this;\n if (isCompact === void 0) { isCompact = false; }\n return items.map(function (item, itemIndex) {\n return React.createElement(SurveyCreatorToolboxTool, { item: item, creator: _this.toolbox.creator, parentModel: _this.toolbox, isCompact: isCompact, key: \"item\" + itemIndex });\n });\n };\n return SurveyCreatorToolboxCategory;\n}(SurveyElementBase));\nexport { SurveyCreatorToolboxCategory };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-category\", function (props) {\n return React.createElement(SurveyCreatorToolboxCategory, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { createElement } from \"react\";\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { ToolboxToolViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar SurveyCreatorToolboxTool = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxTool, _super);\n function SurveyCreatorToolboxTool(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n SurveyCreatorToolboxTool.prototype.createModel = function (props) {\n this.model = new ToolboxToolViewModel(props.item, props.creator, props.parentModel);\n };\n SurveyCreatorToolboxTool.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"item\"];\n };\n Object.defineProperty(SurveyCreatorToolboxTool.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxTool.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxTool.prototype, \"isCompact\", {\n get: function () {\n return this.props.isCompact;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxTool.prototype.getStateElement = function () {\n return this.item;\n };\n SurveyCreatorToolboxTool.prototype.render = function () {\n var _this = this;\n var item = this.item;\n var itemComponent = ReactElementFactory.Instance.createElement(this.model.itemComponent, {\n item: item,\n creator: this.creator,\n parentModel: this.creator.toolbox,\n model: this.model,\n isCompact: this.isCompact\n });\n return (React.createElement(\"div\", { className: item.css, key: item.id, ref: this.rootRef },\n (item.needSeparator && !this.creator.toolbox.showCategoryTitles) ? (React.createElement(\"div\", { className: \"svc-toolbox__category-separator\" })) : null,\n React.createElement(\"div\", { className: \"svc-toolbox__tool-content sv-action__content\", onPointerDown: function (event) {\n event.persist();\n _this.model.onPointerDown(event);\n } }, itemComponent)));\n };\n SurveyCreatorToolboxTool.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.item.updateModeCallback = undefined;\n };\n SurveyCreatorToolboxTool.prototype.componentDidMount = function () {\n var _this = this;\n _super.prototype.componentDidMount.call(this);\n this.item.updateModeCallback = function (mode, callback) {\n queueMicrotask(function () {\n if (ReactDOM[\"flushSync\"]) {\n ReactDOM[\"flushSync\"](function () {\n _this.item.mode = mode;\n });\n }\n else {\n _this.item.mode = mode;\n }\n queueMicrotask(function () {\n callback(mode, _this.rootRef.current);\n });\n });\n };\n this.item.afterRender();\n };\n return SurveyCreatorToolboxTool;\n}(CreatorModelElement));\nexport { SurveyCreatorToolboxTool };\nvar SurveyCreatorToolboxItem = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxItem, _super);\n function SurveyCreatorToolboxItem(props) {\n return _super.call(this, props) || this;\n }\n SurveyCreatorToolboxItem.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"item\"];\n };\n Object.defineProperty(SurveyCreatorToolboxItem.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItem.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItem.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxItem.prototype.getStateElement = function () {\n return this.model;\n };\n SurveyCreatorToolboxItem.prototype.render = function () {\n var _this = this;\n var banner = (this.props.isCompact ?\n React.createElement(\"span\", { className: \"svc-toolbox__item-banner\", onClick: function (event) {\n event.persist();\n _this.model.click(event);\n } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.item.iconName, className: \"svc-toolbox__item-icon\", title: this.item.tooltip }),\n React.createElement(\"span\", null, this.item.title))\n :\n null);\n var item = attachKey2click(React.createElement(\"div\", { className: this.item.renderedCss, tabIndex: 0, role: \"button\", \"aria-label\": this.item.tooltip, onClick: function (event) {\n event.persist();\n _this.model.click(event);\n } },\n React.createElement(\"span\", { className: \"svc-toolbox__item-container\" }, !!this.item.iconName ? React.createElement(SvgIcon, { size: \"auto\", iconName: this.item.iconName, className: \"svc-toolbox__item-icon\" }) : null),\n (this.props.isCompact ?\n null\n :\n React.createElement(\"span\", { className: \"svc-toolbox__item-title\" }, this.item.title))));\n return (React.createElement(React.Fragment, null,\n item,\n banner));\n };\n return SurveyCreatorToolboxItem;\n}(CreatorModelElement));\nexport { SurveyCreatorToolboxItem };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item\", function (props) {\n return createElement(SurveyCreatorToolboxItem, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { Popup, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { SurveyCreatorToolboxItem } from \"./ToolboxItem\";\nvar SurveyCreatorToolboxItemGroup = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxItemGroup, _super);\n function SurveyCreatorToolboxItemGroup(props) {\n return _super.call(this, props) || this;\n }\n SurveyCreatorToolboxItemGroup.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"item\"];\n };\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"isCompact\", {\n get: function () {\n return this.props.isCompact;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"parentModel\", {\n get: function () {\n return this.props.parentModel;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxItemGroup.prototype.getStateElement = function () {\n return this.item;\n };\n SurveyCreatorToolboxItemGroup.prototype.render = function () {\n var _this = this;\n return React.createElement(React.Fragment, null,\n React.createElement(SurveyCreatorToolboxItem, { item: this.item, creator: this.creator, model: this.model, parentModel: this.parentModel, isCompact: this.isCompact }),\n React.createElement(\"div\", { className: \"svc-toolbox__item-submenu-button\", onMouseOver: function (event) { return _this.model.onMouseOver(_this.item, event); }, onMouseLeave: function (event) { return _this.model.onMouseLeave(_this.item, event); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.item.subitemsButtonIcon }),\n React.createElement(Popup, { model: this.item.popupModel })));\n };\n return SurveyCreatorToolboxItemGroup;\n}(CreatorModelElement));\nexport { SurveyCreatorToolboxItemGroup };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item-group\", function (props) {\n return React.createElement(SurveyCreatorToolboxItemGroup, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nvar ToolboxList = /** @class */ (function (_super) {\n __extends(ToolboxList, _super);\n function ToolboxList(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(ToolboxList.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ToolboxList.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n ToolboxList.prototype.getStateElement = function () {\n return this.model;\n };\n ToolboxList.prototype.render = function () {\n if (!this.model || !this.model.renderElements)\n return null;\n var items = this.renderItems();\n return (React.createElement(\"div\", { className: this.model.cssClasses.root }, items));\n };\n ToolboxList.prototype.renderItems = function () {\n var _this = this;\n var items = this.model.renderedActions;\n return items.map(function (item, itemIndex) {\n return React.createElement(SurveyCreatorToolboxTool, { item: item, creator: _this.creator, parentModel: _this.model, isCompact: false, key: \"item\" + itemIndex });\n });\n };\n return ToolboxList;\n}(SurveyElementBase));\nexport { ToolboxList };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-list\", function (props) {\n return React.createElement(ToolboxList, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport { preact } from \"survey-js-ui\";\n// eslint-disable-next-line surveyjs/no-imports-from-entries\nimport { SurveyCreatorComponent, SurveyCreator as SurveyCreatorReact } from \"../../survey-creator-react/src/entries/index\";\nexport function renderSurveyCreator(creator, element, props) {\n if (props === void 0) { props = {}; }\n var node = element;\n if (typeof element === \"string\") {\n node = document.getElementById(element);\n }\n var survey = preact.createElement(SurveyCreatorComponent, __assign({ creator: creator }, props));\n preact.render(survey, node);\n}\nvar SurveyCreator = /** @class */ (function (_super) {\n __extends(SurveyCreator, _super);\n function SurveyCreator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyCreator.prototype.render = function (target) {\n renderSurveyCreator(this, target);\n };\n return SurveyCreator;\n}(SurveyCreatorReact));\nexport { SurveyCreator };\nif (typeof window !== \"undefined\") {\n var jQuery_1 = window[\"jQuery\"] || window[\"$\"];\n if (!!jQuery_1) {\n jQuery_1[\"fn\"].extend({\n SurveyCreator: function (props) {\n return this.each(function () {\n renderSurveyCreator(props.model, this, props);\n });\n },\n });\n }\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_creator_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_js_ui__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"../../survey-creator-react/src/entries/index-wc\";\nexport * from \"../src/index\";\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"survey-creator-js.js","mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;;;;;;ACVA,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACe;AACsD;AACpG;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,wDAAe;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,WAAW,oBAAoB;AACrE;AACA,gBAAgB,gDAAmB,CAAC,2CAAc,QAAQ,sDAAe,CAAC,gDAAmB,WAAW;AACxG;AACA;AACA;AACA;AACA,aAAa,2BAA2B;AACxC;AACA;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,WAAW,oBAAoB;AACrE,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,6CAA6C;AAC5F;AACA,gBAAgB,gDAAmB,CAAC,2CAAc,QAAQ,sDAAe,CAAC,gDAAmB,WAAW;AACxG;AACA;AACA;AACA;AACA,aAAa,2BAA2B;AACxC,YAAY,gDAAmB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AAC,CAAC,8DAAmB;AACS;AAC9B,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;AChGD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkC;AACe;AAC3B;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,2EAA0B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,gDAAmB,UAAU,iDAAiD,EAAE,sDAAe,CAAC,gDAAmB,WAAW,uGAAuG,wDAAwD;AACpT,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,qCAAqC;AACpF;AACA,gBAAgB,gDAAmB,UAAU,iGAAiG,4EAA4E,6BAA6B,2DAA2D,8BAA8B,6DAA6D;AAC7Y,YAAY,gDAAmB,UAAU,wFAAwF;AACjI;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACiB;AACtC,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;AClED,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACmD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,kBAAkB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAiB;AACY;;;;;;;;;;;;;;;;;ACjD/B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACwE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,0BAA0B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,gEAAmB,kEAAkE,8DAA8D;AAClK;AACA;AACA,CAAC,CAAC,8DAAiB;AACS;;;;;;;;;;;;;;;;;;;;;;;AC1F5B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACoC;AAC6B;AACL;AAC9B;AACsB;AACrD;AACA;AACA;AACA;AACA,6BAA6B,sDAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,uEAAsB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,0DAAmB,UAAU,kEAAkE,iDAAiD;AAChK,YAAY,0DAAmB;AAC/B,gBAAgB,gEAAe,CAAC,0DAAmB,UAAU,6DAA6D,0CAA0C,yCAAyC;AAC7M,oBAAoB,0DAAmB,C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AAmB,SAAS,4CAA4C;AAChG,wBAAwB,gDAAmB,SAAS,4CAA4C;AAChG,gBAAgB,gDAAmB;AACnC;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC,sBAAsB,gDAAmB,uBAAuB,0BAA0B;AAC1F;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACI;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,CAAC,2CAAc;AAClD,YAAY,sDAAe,CAAC,gDAAmB,SAAS,uBAAuB,8BAA8B;AAC7G,gBAAgB,gDAAmB,SAAS,iBAAiB,kCAAkC,sCAAsC;AACrI,uCAAuC,gDAAmB,WAAW,SAAS,6BAA6B,6GAA6G;AACxN,wBAAwB,gDAAmB,CAAC,0CAAO,IAAI,yCAAyC;AAChG,wCAAwC,gDAAmB,CAAC,wDAAqB,IAAI,oCAAoC,IAAI,gDAAmB;AAChJ,gBAAgB,gDAAmB,SAAS,+FAA+F;AAC3I;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACS;;;;;;;;;;;;;;;;;;;;AC5G9B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkD;AACW;AACvC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,6EAA6E;AAC1G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB,kCAAkC,4CAAe;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,0EAAyB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC;AACA,uBAAuB,gDAAmB,WAAW;AACrD,0BAA0B;AAC1B,+KAA+K;AAC/K;AACA;AACA,uBAAuB,gDAAmB,WAAW;AACrD,0BAA0B;AAC1B,mUAAmU;AACnU;AACA,6DAA6D,gDAAmB,CAAC,4DAAyB,IAAI,8GAA8G;AAC5N,gBAAgB,gDAAmB,WAAW,2BAA2B;AACzE,YAAY,gDAAmB,WAAW,yCAAyC;AACnF,gBAAgB,gDAAmB,UAAU,6FAA6F;AAC1I,gBAAgB,gDAAmB,UAAU,6FAA6F;AAC1I,gBAAgB,gDAAmB,WAAW,uCAAuC;AACrF;AACA,oBAAoB,gDAAmB,UAAU,8DAA8D;AAC/G;AACA,6BAA6B,gDAAmB,WAAW,uCAAuC;AAClG;AACA;AACA,CAAC,CAAC,8DAAmB;AACY;AACjC,sDAAmB,0BAA0B,2EAA0B;AACvE,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;AC7MD,iBAAiB,SA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8B;AACrG;AACA;AACA;AACA,gBAAgB,gDAAmB,CAAC,oDAAiB,IAAI,4BAA4B;AACrF;AACA;AACA;AACA,wBAAwB,yBAAyB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,sDAAmB;AACjC;AACA;AACA;AACA,aAAa;AACb;AACA,gBAAgB,gDAAmB,UAAU,wHAAwH;AACrK;AACA;AACA;AACA,mBAAmB,sDAAmB,0CAA0C,6BAA6B;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACe;AAClC;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,uDAAoB;AACnC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gBAAgB,gDAAmB,UAAU,UAAU;AACvD,YAAY,gDAAmB,WAAW,yDAAyD;AACnG,YAAY,gDAAmB,WAAW,kCAAkC;AAC5E,gBAAgB,gDAAmB,CAAC,wDAAqB,IAAI,uBAAuB;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,mEAAkB;AACK;AACzB,sDAAmB;AACnB,WAAW,gDAAmB,CAAC,yCAAM;AACrC,CAAC;;;;;;;;;;;;;;;;;;AC9KD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AAC2D;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,gDAAmB,WAAW,kCAAkC;AACzG,qBAAqB,sDAAe,CAAC,gDAAmB,aAAa,qHAAqH,sEAAsE,4HAA4H;AAC5X,YAAY,gDAAmB,UAAU,2CAA2C;AACpF,gBAAgB,gDAAmB,UAAU,uCAAuC;AACpF,iCAAiC,mBAAmB;AACpD;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACU;AAC7B,iEAAe,iBAAiB,EAAC;AACjC,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;AChDD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACO;AAC6D;AACnG;AACA;AACA;AACA;AACA,wBAAwB,4CAAe;AACvC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,qEAAqE,OAAO,gDAAmB,0BAA0B,kCAAkC,IAAI;AAC/J,gBAAgB,gDAAmB,UAAU,oGAAoG;AACjJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACY;AAC/B;AACA;AACA;AACA;AACA,oBAAoB,4CAAe;AACnC;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,sDAAmB,yEAAyE,iBAAiB;AACrI,gBAAgB,gDAAmB,WAAW,kDAAkD;AAChG,YAAY,gDAAmB,UAAU,iCAAiC;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4CAAqB;AACzC,oBAAoB,4CAAqB;AACzC;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,oDAAiB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SA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AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,gBAAgB,gDAAmB,UAAU,kCAAkC;AAC/E;AACA;AACA,CAAC,CAAC,+DAAwB;AACgB;AAC1C,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;AC1CD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACkD;AACpB;AACuB;AACA;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,6DAAY;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,uEAAuE;AACpH,YAAY,gDAAmB,UAAU,mEAAmE;AAC5G,YAAY,gDAAmB,UAAU,sEAAsE;AAC/G;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACC;AACtB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;ACvDD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACQ;AAC4D;AACnG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iDAAQ;AAC/B;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,yBAAyB;AACtE,YAAY,gDAAmB,UAAU,sCAAsC;AAC/E,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,uCAAuC;AACtF,YAA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AAC0B;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA,CAAC;AACyB;;;;;;;;;;;;;;ACpG1B,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACgD;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,CAAC,uCAAI,IAAI,wBAAwB;AACpE;AACA;AACA,CAAC,CAAC,oDAAiB;AACnB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;ACzCD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkD;AAC1B;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;A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,sCAAsC;AACvF,wBAAwB,gDAAmB,kBAAkB,oCAAoC;AACjG,YAAY,gDAAmB,UAAU,iDAAiD;AAC1F,gBAAgB,gDAAmB,UAAU,sCAAsC;AACnF,oBAAoB,gDAAmB,kBAAkB,uCAAuC;AAChG;AACA;AACA,CAAC,CAAC,oDAAiB;AACnB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,gDAAmB,CAAC,2CAAc,kEAAkE,OAAO,gDAAmB,CAAC,0DAAkB,IAAI,sCAAsC,IAAI;AAC9M;AACA;AACA,CAAC,CAAC,oDAAiB;;;;;;;;;;;;;;;;;;;AC9DnB,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACD,gBAAgB,SAAI,IAAI,SAAI;AAC5B;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC+B;AACiF;AACzD;AACe;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,4JAA4J;AACzM;AACA;AACA,8BAA8B;AAC9B,gBAAgB,gDAAmB,CAAC,2CAAc,IAAI,UAAU;AAChE,YAAY,gDAAmB,UAAU,4EAA4E;AACrH;AACA;AACA,eAAe,sD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kB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACuB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,2CAA2C;AACxF;AACA;AACA,CAAC,CAAC,4CAAe;AACkB;AACnC,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;;AC9BD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AAC8B;AACkD;AACxB;AACF;AACU;AACjE;AACA;AACA;AACA;AACA,wBAAwB,4CAAe;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA,mBAAmB,gDAAmB,CAAC,kEAAwB,IAAI,4GAA4G;AAC/K,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,CAAC,0EAA4B,IAAI,qEAAqE;AAC5I,SAAS;AACT;AACA;AACA;AACA,YAAY,gDAAmB,CAAC,2CAAc;AAC9C,gBAAgB,gDAAmB,CAAC,kEAAwB,IAAI,+IAA+I;AAC/M;AACA,gBAAgB,gDAAmB,UAAU,4CAA4C;AACzF;AACA,YAAY,gDAAmB,CAAC,+DAAe,IAAI,mCAAmC;AACtF,YAAY,gDAAmB,UAAU,sFAAsF;AAC/H;AACA;AACA;AACA;AACA,yDAAyD,gDAAmB,UAAU,uCAAuC;AAC7H,gBAAgB,gDAAmB,UAAU,2FAA2F;AACxI,YAAY,gDAAm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AsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACqC;AACP;AACO;AACqB;AACqB;AAC1B;AACtD;AACA;AACA;AACA;AACA,wBAAwB,4CAAe;AACvC;AACA;AACA;AACA,yBAAyB,qEAAoB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,sDAAmB;AAC/C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB,gDAAmB,UAAU,sDAAsD;AACnG,gFAAgF,gDAAmB,UAAU,8CAA8C;AAC3J,YAAY,gDAAmB,UAAU;AACzC;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4CAAqB;AACzC,oBAAoB,4CAAqB;AACzC;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA;AACA,CAAC,CAAC,8DAAmB;AACe;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,gDAAmB,WAAW;AAC1C;AACA;AACA,mBAAmB;AACnB,gBAAgB,gDAAmB,CAAC,0CAAO,IAAI,2GAA2G;AAC1J,gBAAgB,gDAAmB;AACnC;AACA;AACA,mBAAmB,sDAAe,CAAC,gDAAmB,UAAU;AAChE;AACA;AACA,eAAe;AACf,YAAY,gDAAmB,WAAW,0CAA0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xB;AACA;AACA,CAAC;AAC8B;AAC0C;AAChB;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gDAAmB,UAAU,uCAAuC;AACpF;AACA;AACA;AACA;AACA;AACA,mBAAmB,gDAAmB,CAAC,kEAAwB,IAAI,yGAAyG;AAC5K,SAAS;AACT;AACA;AACA,CAAC,CAAC,oDAAiB;AACI;AACvB,sDAAmB;AACnB,WAAW,gDAAmB;AAC9B,CAAC;;;;;;;;;;;;;;;;;;;AC1DD,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA;AACA,eAAe,gBAAgB,sCAAsC,kBAAkB;AACvF,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,CAAC;AACD,gBAAgB,SAAI,IAAI,SAAI;AAC5B;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACsC;AACtC;AAC2H;AACpH;AACP,4BAA4B;AAC5B;AACA;AACA;AACA;AACA,iBAAiB,gDAAM,eAAe,2FAAsB,aAAa,kBAAkB;AAC3F,IAAI,gDAAM;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,kFAAkB;AACK;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT;AACA;;;;;;;;;;;AC5DA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACNgE;AACnC","sources":["webpack://SurveyCreator/webpack/universalModuleDefinition","webpack://SurveyCreator/../survey-creator-react/src/ActionButton.tsx","webpack://SurveyCreator/../survey-creator-react/src/AddQuestionButton.tsx","webpack://SurveyCreator/../survey-creator-react/src/ImageItemValueWrapper.tsx","webpack://SurveyCreator/../survey-creator-react/src/ItemValueWrapper.tsx","webpack://SurveyCreator/../survey-creator-react/src/LogoImage.tsx","webpack://SurveyCreator/../survey-creator-react/src/MatrixCellWrapper.tsx","webpack://SurveyCreator/../survey-creator-react/src/ModelElement.tsx","webpack://SurveyCreator/../survey-creator-react/src/Navigation.tsx","webpack://SurveyCreator/../survey-creator-react/src/PageNavigator.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionEditorContent.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionEmbeddedSurvey.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionError.tsx","webpack://SurveyCreator/../survey-creator-react/src/QuestionLinkValue.tsx","webpack://SurveyCreator/../survey-creator-react/src/Results.tsx","webpack://SurveyCreator/../survey-creator-react/src/StringEditor.tsx","webpack://SurveyCreator/../survey-creator-react/src/SurveyCreator.tsx","webpack://SurveyCreator/../survey-creator-react/src/Switcher.tsx","webpack://SurveyCreator/../survey-creator-react/src/TabbedMenu.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/CellQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/CellQuestionDropdown.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Page.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Panel.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Question.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionBanner.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionDropdown.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionFooter.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionImage.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionRating.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/QuestionWidget.tsx","webpack://SurveyCreator/../survey-creator-react/src/adorners/Row.tsx","webpack://SurveyCreator/../survey-creator-react/src/components/Search.tsx","webpack://SurveyCreator/../survey-creator-react/src/components/SurfacePlaceholder.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/BooleanSwitch.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/ColorItem.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/ColorQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/FileEditQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/SpinEditor.tsx","webpack://SurveyCreator/../survey-creator-react/src/custom-questions/TextWithResetQuestion.tsx","webpack://SurveyCreator/../survey-creator-react/src/entries/index-wc.ts","webpack://SurveyCreator/../survey-creator-react/src/entries/index.ts","webpack://SurveyCreator/../survey-creator-react/src/events.ts","webpack://SurveyCreator/../survey-creator-react/src/side-bar/ObjectSelector.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/PropertyGrid.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/PropertyGridPlaceholder.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBar.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBarDefaultHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBarHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/SideBarPropertyGridHeader.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/TabButton.tsx","webpack://SurveyCreator/../survey-creator-react/src/side-bar/TabControl.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Designer.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/JsonEditorAce.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/JsonEditorTextarea.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/JsonErrorItem.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Logic.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Preview.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/SurveySimulator.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/Theme.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/logic-operator.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/translation/TranslateFromAction.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/translation/Translation.tsx","webpack://SurveyCreator/../survey-creator-react/src/tabs/translation/TranslationLineSkeleton.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/AdaptiveToolbox.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxCategory.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxItem.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxItemGroup.tsx","webpack://SurveyCreator/../survey-creator-react/src/toolbox/ToolboxList.tsx","webpack://SurveyCreator/./src/index.ts","webpack://SurveyCreator/external umd {\"root\":\"Survey\",\"commonjs2\":\"survey-core\",\"commonjs\":\"survey-core\",\"amd\":\"survey-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyCreatorCore\",\"commonjs2\":\"survey-creator-core\",\"commonjs\":\"survey-creator-core\",\"amd\":\"survey-creator-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyUI\",\"commonjs2\":\"survey-js-ui\",\"commonjs\":\"survey-js-ui\",\"amd\":\"survey-js-ui\"}","webpack://SurveyCreator/webpack/bootstrap","webpack://SurveyCreator/webpack/runtime/compat get default export","webpack://SurveyCreator/webpack/runtime/define property getters","webpack://SurveyCreator/webpack/runtime/hasOwnProperty shorthand","webpack://SurveyCreator/webpack/runtime/make namespace object","webpack://SurveyCreator/./entries/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"survey-core\"), require(\"survey-creator-core\"), require(\"survey-js-ui\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"survey-creator-js\", [\"survey-core\", \"survey-creator-core\", \"survey-js-ui\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"survey-creator-js\"] = factory(require(\"survey-core\"), require(\"survey-creator-core\"), require(\"survey-js-ui\"));\n\telse\n\t\troot[\"SurveyCreator\"] = factory(root[\"Survey\"], root[\"SurveyCreatorCore\"], root[\"SurveyUI\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE_survey_core__, __WEBPACK_EXTERNAL_MODULE_survey_creator_core__, __WEBPACK_EXTERNAL_MODULE_survey_js_ui__) => {\nreturn ","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { CssClassBuilder } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon, } from \"survey-react-ui\";\nvar ActionButton = /** @class */ (function (_super) {\n __extends(ActionButton, _super);\n function ActionButton() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ActionButton.prototype.renderElement = function () {\n var classes = new CssClassBuilder()\n .append(this.props.classes)\n .append(\"svc-action-button\")\n .append(\"svc-action-button--selected\", !!this.props.selected)\n .append(\"svc-action-button--disabled\", !!this.props.disabled)\n .toString();\n if (this.props.iconName) {\n return this.renderIcon(classes);\n }\n return this.renderButtonText(classes);\n };\n ActionButton.prototype.renderButtonText = function (classes) {\n var _this = this;\n if (this.props.disabled) {\n return React.createElement(\"span\", { className: classes }, this.props.text);\n }\n return (React.createElement(React.Fragment, null, attachKey2click(React.createElement(\"span\", { role: \"button\", className: classes, onClick: function (e) {\n if (!_this.props.allowBubble) {\n e.stopPropagation();\n }\n _this.props.click();\n }, title: this.props.title }, this.props.text))));\n };\n ActionButton.prototype.renderIcon = function (classes) {\n var _this = this;\n classes += \" svc-action-button--icon\";\n if (this.props.disabled) {\n return React.createElement(\"span\", { className: classes },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.props.iconName }));\n }\n return (React.createElement(React.Fragment, null, attachKey2click(React.createElement(\"span\", { className: classes, onClick: function (e) {\n if (!_this.props.allowBubble) {\n e.stopPropagation();\n }\n _this.props.click();\n }, title: this.props.title },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.props.iconName })))));\n };\n return ActionButton;\n}(SurveyElementBase));\nexport { ActionButton };\nReactElementFactory.Instance.registerElement(\"svc-action-button\", function (props) { return React.createElement(ActionButton, props); });\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, Popup, ReactElementFactory, SvgIcon, SurveyElementBase } from \"survey-react-ui\";\nimport { ReactMouseEvent } from \"./events\";\nvar AddQuestionButtonComponent = /** @class */ (function (_super) {\n __extends(AddQuestionButtonComponent, _super);\n function AddQuestionButtonComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(AddQuestionButtonComponent.prototype, \"model\", {\n get: function () {\n return this.props.item.data;\n },\n enumerable: false,\n configurable: true\n });\n AddQuestionButtonComponent.prototype.renderTypeSelector = function () {\n var questionTypeSelectorModel = this.model.questionTypeSelectorModel;\n return attachKey2click(React.createElement(\"button\", { type: \"button\", onClick: function (e) {\n e.stopPropagation();\n questionTypeSelectorModel.action();\n }, className: \"svc-element__question-type-selector\", title: this.model.addNewQuestionText, role: \"button\" },\n React.createElement(\"span\", { className: \"svc-element__question-type-selector-icon\" },\n React.createElement(SvgIcon, { iconName: questionTypeSelectorModel.iconName, size: \"auto\", title: this.model.addNewQuestionText })),\n this.props.renderPopup === undefined || this.props.renderPopup ?\n React.createElement(Popup, { model: questionTypeSelectorModel.popupModel })\n : null));\n };\n AddQuestionButtonComponent.prototype.renderElement = function () {\n var _this = this;\n var addButtonClass = this.props.buttonClass || \"svc-btn\";\n return React.createElement(React.Fragment, null,\n attachKey2click(React.createElement(\"div\", { className: \"svc-element__add-new-question \" + addButtonClass, onClick: function (e) {\n e.stopPropagation();\n _this.model.addNewQuestion(_this.model, new ReactMouseEvent(e));\n }, onMouseOver: function (e) { return _this.model.hoverStopper && _this.model.hoverStopper(e.nativeEvent, e.currentTarget); } },\n React.createElement(SvgIcon, { className: \"svc-panel__add-new-question-icon\", iconName: \"icon-add_24x24\", size: \"auto\" }),\n React.createElement(\"span\", { className: \"svc-add-new-item-button__text\" }, this.model.addNewQuestionText),\n this.props.renderPopup !== false ? this.renderTypeSelector() : null)),\n this.props.renderPopup === false ? this.renderTypeSelector() : null);\n };\n return AddQuestionButtonComponent;\n}(SurveyElementBase));\nexport { AddQuestionButtonComponent };\nReactElementFactory.Instance.registerElement(\"svc-add-new-question-btn\", function (props) {\n return React.createElement(AddQuestionButtonComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ImageItemValueWrapperViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { LoadingIndicatorComponent, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { attachKey2click, } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar ImageItemValueAdornerComponent = /** @class */ (function (_super) {\n __extends(ImageItemValueAdornerComponent, _super);\n function ImageItemValueAdornerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.preventDragHandler = function (e) {\n e.preventDefault();\n };\n _this.rootRef = React.createRef();\n return _this;\n }\n ImageItemValueAdornerComponent.prototype.createModel = function (props) {\n this.model = new ImageItemValueWrapperViewModel(props.componentData.creator, props.question, props.item, null, null);\n };\n ImageItemValueAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"item\"];\n };\n ImageItemValueAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(ImageItemValueAdornerComponent.prototype, \"question\", {\n get: function () {\n return this.props.question;\n },\n enumerable: false,\n configurable: true\n });\n ImageItemValueAdornerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.itemsRoot = this.rootRef.current;\n };\n ImageItemValueAdornerComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.model.itemsRoot = this.rootRef.current;\n };\n ImageItemValueAdornerComponent.prototype.renderLoadingIndicator = function () {\n return React.createElement(\"div\", { className: \"svc-image-item-value__loading\" },\n React.createElement(LoadingIndicatorComponent, null));\n };\n ImageItemValueAdornerComponent.prototype.renderNewItemControls = function () {\n var _this = this;\n var addButton = attachKey2click(React.createElement(\"span\", { className: this.model.addButtonCss, onClick: function () { return _this.model.chooseNewFile(_this.model); } }, this.model.showChooseButtonAsIcon ?\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-add-lg\", title: this.model.addFileTitle }) :\n React.createElement(\"span\", null, this.model.chooseImageText)));\n var placeholder = this.model.showPlaceholder ? React.createElement(\"span\", { className: \"svc-image-item-value__placeholder\" }, this.model.placeholderText) : null;\n return React.createElement(React.Fragment, null,\n placeholder,\n addButton);\n };\n ImageItemValueAdornerComponent.prototype.render = function () {\n var _this = this;\n this.model.item = this.props.item;\n var isNew = !this.props.question.isItemInList(this.props.item);\n this.model.isNew = isNew;\n var imageStyle = !this.model.getIsNewItemSingle() ? { width: this.question.renderedImageWidth, height: this.question.renderedImageHeight } : null;\n var content = null;\n if (isNew || this.model.isUploading) {\n content = (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-image-item-value__item\" },\n React.createElement(\"div\", { className: \"sd-imagepicker__item sd-imagepicker__item--inline\" },\n React.createElement(\"label\", { className: \"sd-imagepicker__label\" },\n React.createElement(\"div\", { style: imageStyle, className: \"sd-imagepicker__image\" }, this.model.isUploading ? this.renderLoadingIndicator() : null)))),\n this.model.allowAdd && !this.model.isUploading ?\n React.createElement(\"div\", { className: \"svc-image-item-value-controls\" }, this.renderNewItemControls())\n : null));\n }\n else {\n content = (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-image-item-value__item\" }, this.props.element),\n this.model.isDraggable && this.model.canRenderControls ?\n React.createElement(\"span\", { className: \"svc-context-button svc-image-item-value-controls__drag-area-indicator\", onPointerDown: function (event) { return _this.model.onPointerDown(event); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-drag-24x24\" }))\n : null,\n this.model.canRenderControls ?\n React.createElement(\"div\", { className: \"svc-context-container svc-image-item-value-controls\" },\n this.model.allowRemove && !this.model.isUploading ? attachKey2click(React.createElement(\"span\", { className: \"svc-context-button\", onClick: function () { return _this.model.chooseFile(_this.model); } },\n React.createElement(SvgIcon, { role: \"button\", size: \"auto\", iconName: \"icon-choosefile\", title: this.model.selectFileTitle }))) : null,\n this.model.allowRemove && !this.model.isUploading ? attachKey2click(React.createElement(\"span\", { className: \"svc-context-button svc-context-button--danger\", onClick: function () { return _this.model.remove(_this.model); } },\n React.createElement(SvgIcon, { role: \"button\", size: \"auto\", iconName: \"icon-delete\", title: this.model.removeFileTitle }))) : null)\n : null));\n }\n return (React.createElement(\"div\", { ref: this.rootRef, className: this.model.getRootCss(), key: this.props.element.key, \"data-sv-drop-target-item-value\": this.model.isDraggable ? this.model.item.value : undefined, onPointerDown: function (event) { return _this.model.onPointerDown(event); }, onDragStart: this.preventDragHandler, onDrop: this.model.onDrop, onDragEnter: this.model.onDragEnter, onDragOver: this.model.onDragOver, onDragLeave: this.model.onDragLeave },\n React.createElement(\"div\", { className: \"svc-image-item-value-wrapper__ghost\", style: imageStyle }),\n React.createElement(\"div\", { className: \"svc-image-item-value-wrapper__content\" },\n React.createElement(\"input\", { type: \"file\", \"aria-hidden\": \"true\", tabIndex: -1, accept: this.model.acceptedTypes, className: \"svc-choose-file-input\", style: {\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n } }),\n content)));\n };\n return ImageItemValueAdornerComponent;\n}(CreatorModelElement));\nexport { ImageItemValueAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-image-item-value\", function (props) {\n return React.createElement(ImageItemValueAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ItemValueWrapperViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar ItemValueAdornerComponent = /** @class */ (function (_super) {\n __extends(ItemValueAdornerComponent, _super);\n function ItemValueAdornerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.onBlur = function (event) {\n _this.model.onFocusOut(event.nativeEvent);\n };\n _this.rootRef = React.createRef();\n return _this;\n }\n ItemValueAdornerComponent.prototype.createModel = function (props) {\n this.model = new ItemValueWrapperViewModel(props.componentData.creator, props.question, props.item);\n };\n ItemValueAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"item\"];\n };\n ItemValueAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n ItemValueAdornerComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.props.item.setRootElement(this.rootRef.current);\n if (prevProps.item !== this.props.item && prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n };\n ItemValueAdornerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.props.item.setRootElement(this.rootRef.current);\n };\n ItemValueAdornerComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.props.item.setRootElement(undefined);\n };\n ItemValueAdornerComponent.prototype.render = function () {\n var _this = this;\n this.model.item = this.props.item;\n var button = this.model.allowAdd ? (attachKey2click(React.createElement(\"span\", { role: \"button\", className: \"svc-item-value-controls__button svc-item-value-controls__add\", \"aria-label\": this.model.tooltip, onClick: function () {\n _this.model.add(_this.model);\n _this.model.isNew = false;\n } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-add_16x16\", title: this.model.tooltip })))) : (React.createElement(React.Fragment, null,\n \" \",\n this.model.isDraggable ? (React.createElement(\"span\", { className: \"svc-item-value-controls__button svc-item-value-controls__drag\" },\n React.createElement(SvgIcon, { className: \"svc-item-value-controls__drag-icon\", size: \"auto\", iconName: \"icon-drag-24x24\", title: this.model.dragTooltip }))) : null,\n this.model.allowRemove ? attachKey2click(React.createElement(\"span\", { role: \"button\", className: \"svc-item-value-controls__button svc-item-value-controls__remove\", \"aria-label\": this.model.tooltip, onClick: function () { return _this.model.remove(_this.model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-remove_16x16\", title: this.model.tooltip }))) : null));\n var itemkey = this.props.element.key + (this.model.allowAdd ? \"_new\" : \"\");\n return (React.createElement(\"div\", { ref: this.rootRef, className: \"svc-item-value-wrapper\" +\n (this.model.allowAdd ? \" svc-item-value--new\" : \"\") +\n (this.model.isDragging ? \" svc-item-value--dragging\" : \"\") +\n (this.model.isDragDropGhost ? \" svc-item-value--ghost\" : \"\") +\n (this.model.isDragDropMoveDown ? \" svc-item-value--movedown\" : \"\") +\n (this.model.isDragDropMoveUp ? \" svc-item-value--moveup\" : \"\"), key: itemkey, \"data-sv-drop-target-item-value\": this.model.isDraggable ? this.model.item.value : undefined, onPointerDown: function (event) { return _this.model.onPointerDown(event); } },\n React.createElement(\"div\", { className: \"svc-item-value__ghost\" }),\n React.createElement(\"div\", { className: \"svc-item-value-controls\", onBlur: this.onBlur }, button),\n React.createElement(\"div\", { className: \"svc-item-value__item\", onClick: function (event) { return _this.model.select(_this.model, event.nativeEvent); } }, this.props.element)));\n };\n return ItemValueAdornerComponent;\n}(CreatorModelElement));\nexport { ItemValueAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-item-value\", function (props) {\n return React.createElement(ItemValueAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, LogoImage, SvgIcon, attachKey2click, LoadingIndicatorComponent } from \"survey-react-ui\";\nimport { LogoImageViewModel } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar LogoImageComponent = /** @class */ (function (_super) {\n __extends(LogoImageComponent, _super);\n function LogoImageComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n LogoImageComponent.prototype.createModel = function (props) {\n var prevRoot = null;\n if (!!this.model) {\n prevRoot = this.model.root;\n }\n this.model = new LogoImageViewModel(props.data, prevRoot);\n };\n LogoImageComponent.prototype.getUpdatedModelProps = function () {\n return [\"data\"];\n };\n LogoImageComponent.prototype.getStateElement = function () {\n return this.model;\n };\n LogoImageComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.root = this.rootRef.current;\n };\n LogoImageComponent.prototype.renderChooseButton = function () {\n var _this = this;\n return attachKey2click(React.createElement(\"span\", { className: \"svc-context-button\", onClick: function () { return _this.model.chooseFile(_this.model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-choosefile\" })));\n };\n LogoImageComponent.prototype.renderClearButton = function () {\n var _this = this;\n return attachKey2click(React.createElement(\"span\", { className: \"svc-context-button svc-context-button--danger\", onClick: function () { return _this.model.remove(_this.model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-clear\" })));\n };\n LogoImageComponent.prototype.renderButtons = function () {\n return (React.createElement(\"div\", { className: \"svc-context-container svc-logo-image-controls\" },\n this.renderChooseButton(),\n this.renderClearButton()));\n };\n LogoImageComponent.prototype.renderImage = function () {\n return React.createElement(\"div\", { className: this.model.containerCss },\n this.renderButtons(),\n React.createElement(LogoImage, { data: this.props.data.survey }));\n };\n LogoImageComponent.prototype.renderPlaceHolder = function () {\n var _this = this;\n return this.model.allowEdit && !this.model.isUploading ? attachKey2click(React.createElement(\"div\", { className: \"svc-logo-image-placeholder\", onClick: function () { return _this.model.chooseFile(_this.model); } },\n React.createElement(\"svg\", null,\n React.createElement(\"use\", { xlinkHref: \"#icon-image-48x48\" })))) : null;\n };\n LogoImageComponent.prototype.renderInput = function () {\n return React.createElement(\"input\", { \"aria-hidden\": \"true\", type: \"file\", tabIndex: -1, accept: this.model.acceptedTypes, className: \"svc-choose-file-input\" });\n };\n LogoImageComponent.prototype.renderLoadingIndicator = function () {\n return React.createElement(\"div\", { className: \"svc-logo-image__loading\" },\n React.createElement(LoadingIndicatorComponent, null));\n };\n LogoImageComponent.prototype.render = function () {\n var content = null;\n if (this.model.survey.locLogo.renderedHtml && !this.model.isUploading) {\n content = this.renderImage();\n }\n else if (this.model.isUploading) {\n content = this.renderLoadingIndicator();\n }\n else {\n content = this.renderPlaceHolder();\n }\n return (React.createElement(\"div\", { ref: this.rootRef, className: \"svc-logo-image\" },\n this.renderInput(),\n content));\n };\n return LogoImageComponent;\n}(CreatorModelElement));\nexport { LogoImageComponent };\nReactElementFactory.Instance.registerElement(\"svc-logo-image\", function (props) {\n return React.createElement(LogoImageComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { MatrixCellWrapperViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar MatrixCellAdornerComponent = /** @class */ (function (_super) {\n __extends(MatrixCellAdornerComponent, _super);\n function MatrixCellAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MatrixCellAdornerComponent.prototype.createModel = function (props) {\n var _a;\n var data = props.componentData;\n var prevIsSelected = false;\n if (!!this.model) {\n prevIsSelected = this.model.isSelected;\n }\n this.model = new MatrixCellWrapperViewModel(data.creator, data.element, data.question, data.row, data.column || ((_a = data.element.cell) === null || _a === void 0 ? void 0 : _a.column));\n this.model.isSelected = prevIsSelected;\n };\n MatrixCellAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"componentData\"];\n };\n MatrixCellAdornerComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n var _a, _b;\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n var data = this.props.componentData;\n this.model.templateData = data.element;\n this.model.row = data.row;\n this.model.column = data.column || ((_b = (_a = data.element) === null || _a === void 0 ? void 0 : _a.cell) === null || _b === void 0 ? void 0 : _b.column);\n this.model.question = data.question;\n };\n MatrixCellAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n MatrixCellAdornerComponent.prototype.render = function () {\n var _this = this;\n var controls = null;\n if (!!this.model.isSupportCellEditor) {\n controls = React.createElement(\"div\", { className: \"svc-matrix-cell__question-controls\" }, attachKey2click(React.createElement(\"span\", { className: \"svc-matrix-cell__question-controls-button svc-context-button\", onClick: function (event) { return _this.model.editQuestion(_this.model, event); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-edit\" }))));\n }\n return (React.createElement(\"div\", { className: \"svc-matrix-cell\", tabIndex: -1, key: this.props.element.key, onClick: function (e) { return !_this.props.question && _this.model.selectContext(_this.model, e); }, onMouseOut: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); } },\n React.createElement(\"div\", { className: \"svc-matrix-cell--selected\" + (this.model.isSelected ? \" svc-visible\" : \"\") }),\n this.props.element,\n controls));\n };\n return MatrixCellAdornerComponent;\n}(CreatorModelElement));\nexport { MatrixCellAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-matrix-cell\", function (props) {\n return React.createElement(MatrixCellAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { SurveyElementBase } from \"survey-react-ui\";\nvar CreatorModelElement = /** @class */ (function (_super) {\n __extends(CreatorModelElement, _super);\n function CreatorModelElement(props) {\n var _this = _super.call(this, props) || this;\n _this.createModel(props);\n return _this;\n }\n CreatorModelElement.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n var result = _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState);\n if (result) {\n if (this.needUpdateModel(nextProps)) {\n this.createModel(nextProps);\n }\n }\n return result;\n };\n CreatorModelElement.prototype.createModel = function (props) { };\n CreatorModelElement.prototype.needUpdateModel = function (nextProps) {\n var names = this.getUpdatedModelProps();\n if (!Array.isArray(names))\n return true;\n for (var i = 0; i < names.length; i++) {\n var key = names[i];\n if (this.props[key] !== nextProps[key])\n return true;\n }\n return false;\n };\n CreatorModelElement.prototype.getUpdatedModelProps = function () {\n return undefined;\n };\n return CreatorModelElement;\n}(SurveyElementBase));\nexport { CreatorModelElement };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nvar SurveyNavigation = /** @class */ (function (_super) {\n __extends(SurveyNavigation, _super);\n function SurveyNavigation() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.onPropChangedHandler = function (sender, options) {\n if (_this.isRendering)\n return;\n var reactiveProps = [\n \"showProgressBar\",\n \"progressBarType\",\n \"currentPageValue\"\n ];\n if (reactiveProps.indexOf(options.name) < 0)\n return;\n var val = {};\n for (var i = 0; i < reactiveProps.length; i++) {\n var propName = reactiveProps[i];\n val[propName] = _this.survey[propName];\n }\n _this.setState(val);\n };\n return _this;\n }\n SurveyNavigation.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.setHandler();\n };\n SurveyNavigation.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.setHandler();\n };\n SurveyNavigation.prototype.setHandler = function () {\n if (!this.survey ||\n this.survey.onPropertyChanged.hasFunc(this.onPropChangedHandler))\n return;\n this.survey.onPropertyChanged.add(this.onPropChangedHandler);\n };\n SurveyNavigation.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n if (this.survey) {\n this.survey.onPropertyChanged.remove(this.onPropChangedHandler);\n }\n };\n Object.defineProperty(SurveyNavigation.prototype, \"survey\", {\n get: function () {\n return this.props.survey;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyNavigation.prototype, \"location\", {\n get: function () {\n return this.props.location;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyNavigation.prototype, \"isTop\", {\n get: function () {\n return this.location == \"top\";\n },\n enumerable: false,\n configurable: true\n });\n SurveyNavigation.prototype.canRender = function () {\n return this.isTop\n ? this.survey.isShowProgressBarOnTop\n : this.survey.isShowProgressBarOnBottom;\n };\n SurveyNavigation.prototype.renderElement = function () {\n return ReactElementFactory.Instance.createElement(this.survey.getProgressTypeComponent(), { survey: this.survey, css: this.survey.css, isTop: this.isTop });\n };\n return SurveyNavigation;\n}(SurveyElementBase));\nexport { SurveyNavigation };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { unwrap } from \"survey-core\";\nimport { SvgIcon, Popup, attachKey2click } from \"survey-react-ui\";\nimport { PageNavigatorViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar SurveyPageNavigator = /** @class */ (function (_super) {\n __extends(SurveyPageNavigator, _super);\n function SurveyPageNavigator(props) {\n var _this = _super.call(this, props) || this;\n _this.containerRef = React.createRef();\n return _this;\n }\n SurveyPageNavigator.prototype.createModel = function (props) {\n if (this.model) {\n this.model.dispose();\n }\n this.model = new PageNavigatorViewModel(props.pagesController, props.pageEditMode);\n };\n SurveyPageNavigator.prototype.getUpdatedModelProps = function () {\n return [\"pagesController\", \"pageEditMode\"];\n };\n SurveyPageNavigator.prototype.getStateElement = function () {\n return this.model;\n };\n SurveyPageNavigator.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n if (this.props.pageEditMode !== \"bypage\") {\n var el = this.containerRef.current;\n this.model.attachToUI(el);\n }\n };\n SurveyPageNavigator.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.stopItemsContainerHeightObserver();\n this.model.setScrollableContainer(undefined);\n };\n SurveyPageNavigator.prototype.renderElement = function () {\n var _this = this;\n var className = \"svc-page-navigator__selector svc-page-navigator__button\";\n if (this.model.isPopupOpened)\n className += \" svc-page-navigator__button--pressed\";\n return (React.createElement(\"div\", { className: \"svc-page-navigator\", ref: this.containerRef, style: { display: this.model.visible ? \"flex\" : \"none\" } },\n React.createElement(\"div\", null,\n attachKey2click(React.createElement(\"div\", { role: \"button\", className: className, onClick: function () { return _this.model.togglePageSelector(); }, title: this.model.pageSelectorCaption },\n React.createElement(SvgIcon, { className: \"svc-page-navigator__button-icon\", iconName: this.model.icon, size: \"auto\", title: this.model.pageSelectorCaption }))),\n React.createElement(Popup, { model: this.model.popupModel })),\n React.createElement(\"div\", null, this.model.visibleItems.map(function (item) { return (React.createElement(SurveyPageNavigatorItem, { key: item.id, item: item })); }))));\n };\n return SurveyPageNavigator;\n}(CreatorModelElement));\nexport { SurveyPageNavigator };\nvar SurveyPageNavigatorItem = /** @class */ (function (_super) {\n __extends(SurveyPageNavigatorItem, _super);\n function SurveyPageNavigatorItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyPageNavigatorItem.prototype.getStateElement = function () {\n return this.props.item;\n };\n SurveyPageNavigatorItem.prototype.renderElement = function () {\n var item = this.props.item;\n var className = \"svc-page-navigator-item-content\";\n if (unwrap(item.active)) {\n className += \" svc-page-navigator-item--selected\";\n }\n if (unwrap(item.disabled)) {\n className += \" svc-page-navigator-item--disabled\";\n }\n return (React.createElement(\"div\", { className: \"svc-page-navigator-item\" }, attachKey2click(React.createElement(\"div\", { role: \"button\", className: className, onClick: function (e) {\n item.action(item);\n e.stopPropagation();\n } },\n React.createElement(\"div\", { className: \"svc-page-navigator-item__dot\", title: item.title },\n React.createElement(\"div\", { className: \"svc-page-navigator-item__dot-content\" })),\n React.createElement(\"div\", { className: \"svc-page-navigator-item__banner\" },\n React.createElement(\"span\", { className: \"svc-page-navigator-item__text\" }, item.title),\n React.createElement(\"span\", { className: \"svc-page-navigator-item__dot\" },\n React.createElement(\"span\", { className: \"svc-page-navigator-item__dot-content\" })))))));\n };\n return SurveyPageNavigatorItem;\n}(CreatorModelElement));\nexport { SurveyPageNavigatorItem };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ReactElementFactory, ReactQuestionFactory, SurveyQuestion } from \"survey-react-ui\";\nimport * as React from \"react\";\nvar QuestionEditorContentComponent = /** @class */ (function (_super) {\n __extends(QuestionEditorContentComponent, _super);\n function QuestionEditorContentComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(QuestionEditorContentComponent.prototype, \"survey\", {\n get: function () {\n return this.props.survey;\n },\n enumerable: false,\n configurable: true\n });\n QuestionEditorContentComponent.prototype.createQuestionElement = function (question) {\n return ReactQuestionFactory.Instance.createQuestion(!question.isDefaultRendering || question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(), {\n question: question,\n isDisplayMode: question.isInputReadOnly,\n creator: this,\n });\n };\n QuestionEditorContentComponent.prototype.questionTitleLocation = function () {\n return this.survey.questionTitleLocation;\n };\n QuestionEditorContentComponent.prototype.questionErrorLocation = function () {\n return this.survey.questionErrorLocation;\n };\n QuestionEditorContentComponent.prototype.renderError = function (key, error, cssClasses) {\n return null;\n };\n QuestionEditorContentComponent.prototype.render = function () {\n var question = this.survey.getAllQuestions()[0];\n return (React.createElement(\"div\", { style: this.props.style },\n React.createElement(SurveyQuestion, { creator: this, element: question })));\n };\n return QuestionEditorContentComponent;\n}(React.Component));\nexport { QuestionEditorContentComponent };\nReactElementFactory.Instance.registerElement(\"svc-question-editor-content\", function (props) {\n return React.createElement(QuestionEditorContentComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyPage, SurveyQuestionElementBase } from \"survey-react-ui\";\nvar SurveyElementEmbeddedSurvey = /** @class */ (function (_super) {\n __extends(SurveyElementEmbeddedSurvey, _super);\n function SurveyElementEmbeddedSurvey() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyElementEmbeddedSurvey.prototype, \"embeddedSurvey\", {\n get: function () {\n return (this.props.element || this.props.question);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyElementEmbeddedSurvey.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n SurveyElementEmbeddedSurvey.prototype.render = function () {\n if (!this.embeddedSurvey)\n return null;\n var survey = this.embeddedSurvey.embeddedSurvey;\n if (!survey || !survey.currentPage)\n return null;\n return React.createElement(SurveyPage, { survey: survey, page: survey.currentPage, css: survey.css, creator: this.creator });\n };\n return SurveyElementEmbeddedSurvey;\n}(SurveyQuestionElementBase));\nexport { SurveyElementEmbeddedSurvey };\nReactQuestionFactory.Instance.registerQuestion(\"embeddedsurvey\", function (props) {\n return React.createElement(SurveyElementEmbeddedSurvey, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { SurveyLocStringViewer } from \"survey-react-ui\";\nvar QuestionErrorComponent = /** @class */ (function (_super) {\n __extends(QuestionErrorComponent, _super);\n function QuestionErrorComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionErrorComponent.prototype.render = function () {\n return (React.createElement(\"div\", null,\n React.createElement(SvgIcon, { \"aria-hidden\": \"true\", iconName: \"icon-alert_24x24\", size: \"24\", className: this.props.cssClasses.error.icon }),\n React.createElement(\"span\", { className: this.props.cssClasses.error.item || undefined },\n React.createElement(SurveyLocStringViewer, { locStr: this.props.error.locText }))));\n };\n return QuestionErrorComponent;\n}(React.Component));\nexport { QuestionErrorComponent };\nReactElementFactory.Instance.registerElement(\"svc-question-error\", function (props) {\n return React.createElement(QuestionErrorComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionElementBase } from \"survey-react-ui\";\nimport { editorLocalization } from \"survey-creator-core\";\nimport { ActionButton } from \"./ActionButton\";\nvar SurveyQuestionLinkValue = /** @class */ (function (_super) {\n __extends(SurveyQuestionLinkValue, _super);\n function SurveyQuestionLinkValue() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyQuestionLinkValue.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionLinkValue.prototype.renderClear = function () {\n var _this = this;\n var showClear = this.questionBase.showClear;\n if (!this.questionBase.isReadOnly && showClear) {\n return (React.createElement(ActionButton, { classes: this.question.linkClearButtonCssClasses, click: function () { return _this.question.doClearClick(); }, text: editorLocalization.getString(\"pe.clear\") }));\n }\n else {\n return null;\n }\n };\n SurveyQuestionLinkValue.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(ActionButton, { classes: this.question.linkSetButtonCssClasses, click: function () { return _this.question.doLinkClick(); }, selected: this.question.isSelected, disabled: !this.question.isClickable, text: this.question.linkValueText, title: this.question.tooltip, iconName: this.question.iconName }),\n this.renderClear()));\n };\n return SurveyQuestionLinkValue;\n}(SurveyQuestionElementBase));\nexport { SurveyQuestionLinkValue };\nReactQuestionFactory.Instance.registerQuestion(\"linkvalue\", function (props) {\n return React.createElement(SurveyQuestionLinkValue, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyResultsModel } from \"survey-creator-core\";\nimport { attachKey2click, SurveyLocStringViewer, SvgIcon } from \"survey-react-ui\";\nimport { ActionButton } from \"./ActionButton\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar SurveyResults = /** @class */ (function (_super) {\n __extends(SurveyResults, _super);\n function SurveyResults() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyResults.prototype.createModel = function (props) {\n if (this.props.survey) {\n this.model = new SurveyResultsModel(props.survey);\n }\n };\n SurveyResults.prototype.getUpdatedModelProps = function () {\n return [\"survey\"];\n };\n SurveyResults.prototype.getStateElement = function () {\n return this.model;\n };\n SurveyResults.prototype.render = function () {\n var _this = this;\n if (!this.model) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svd-test-results\" },\n React.createElement(\"div\", { className: \"svd-test-results__content\" },\n React.createElement(\"div\", { className: \"svd-test-results__header\" },\n React.createElement(\"div\", { className: \"svd-test-results__header-text\" }, this.model.surveyResultsText),\n React.createElement(\"div\", { className: \"svd-test-results__header-types\" },\n React.createElement(ActionButton, { click: function () { return _this.model.selectTableClick(); }, text: this.model.surveyResultsTableText, selected: this.model.isTableSelected, disabled: false }),\n React.createElement(ActionButton, { click: function () { return _this.model.selectJsonClick(); }, text: this.model.surveyResultsJsonText, selected: this.model.isJsonSelected, disabled: false }))),\n this.renderResultAsText(),\n this.renderResultAsTable())));\n };\n SurveyResults.prototype.renderResultAsText = function () {\n if (this.model.resultViewType !== \"text\") {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svd-test-results__text svd-light-bg-color\" },\n React.createElement(\"div\", null, this.model.resultText)));\n };\n SurveyResults.prototype.renderResultAsTable = function () {\n if (this.model.resultViewType !== \"table\") {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svd-test-results__table svd-light-bg-color\" },\n React.createElement(\"table\", null,\n React.createElement(\"thead\", null,\n React.createElement(\"tr\", { className: \"svd-light-background-color\" },\n React.createElement(\"th\", { key: 1, className: \"svd-dark-border-color\" }, this.model.resultsTitle),\n React.createElement(\"th\", { key: 2, className: \"svd-dark-border-color\" }, this.model.resultsDisplayValue))),\n React.createElement(\"tbody\", null, SurveyResults.renderRows(this.model.resultData)))));\n };\n SurveyResults.renderRows = function (data) {\n var rows = [];\n for (var i = 0; i < data.length; i++) {\n rows.push(React.createElement(SurveyResultsByRow, { key: i + 1, row: data[i] }));\n }\n return rows;\n };\n return SurveyResults;\n}(CreatorModelElement));\nexport { SurveyResults };\nvar SurveyResultsByRow = /** @class */ (function (_super) {\n __extends(SurveyResultsByRow, _super);\n function SurveyResultsByRow() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyResultsByRow.prototype, \"row\", {\n get: function () {\n return this.props.row;\n },\n enumerable: false,\n configurable: true\n });\n SurveyResultsByRow.prototype.getStateElement = function () {\n return this.row;\n };\n SurveyResultsByRow.prototype.render = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n attachKey2click(React.createElement(\"tr\", { onClick: function () { return _this.row.toggle(); } },\n React.createElement(\"td\", { key: 1, style: { paddingLeft: this.row.textMargin }, className: \"svd-dark-border-color\" },\n this.row.isNode ? (React.createElement(\"span\", { style: { left: this.row.markerMargin }, className: \"svd-test-results__marker \" + (this.row.collapsed ? \"\" : \"svd-test-results__marker--expanded\") },\n React.createElement(SvgIcon, { iconName: \"icon-expand_16x16\", size: 16 }))) : null,\n this.row.question ? React.createElement(SurveyLocStringViewer, { locStr: this.row.question.locTitle }) : React.createElement(\"span\", null, this.row.title)),\n React.createElement(\"td\", { key: 2, className: this.row.isNode ? \"svd-test-results__node-value\" : \"svd-dark-border-color\" }, this.row.getString(this.row.displayValue)))),\n this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null));\n };\n return SurveyResultsByRow;\n}(CreatorModelElement));\nexport { SurveyResultsByRow };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { CharacterCounterComponent, ReactElementFactory } from \"survey-react-ui\";\nimport { StringEditorViewModelBase, editableStringRendererName } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\nvar SurveyLocStringEditor = /** @class */ (function (_super) {\n __extends(SurveyLocStringEditor, _super);\n function SurveyLocStringEditor(props) {\n var _a;\n var _this = _super.call(this, props) || this;\n _this.onChangedHandler = function (sender, options) {\n _this.setState({ changed: !!_this.state && _this.state.changed ? _this.state.changed + 1 : 1 });\n };\n _this.onBlur = function (event) {\n if (_this.svStringEditorRef.current) {\n _this.svStringEditorRef.current.spellcheck = false;\n }\n _this.locString[\"__isEditing\"] = false;\n _this.justFocused = false;\n _this.baseModel.onBlur(event.nativeEvent);\n return _this.baseModel.errorText;\n };\n _this.onCompositionStart = function (event) {\n _this.baseModel.onCompositionStart(event.nativeEvent);\n };\n _this.onCompositionEnd = function (event) {\n _this.baseModel.onCompositionEnd(event.nativeEvent);\n };\n _this.onInput = function (event) {\n _this.baseModel.onInput(event.nativeEvent);\n };\n _this.onPaste = function (event) {\n _this.baseModel.onPaste(event.nativeEvent);\n };\n _this.justFocused = false;\n _this.onFocus = function (event) {\n _this.baseModel.onFocus(event.nativeEvent);\n _this.justFocused = true;\n };\n _this.onKeyDown = function (event) {\n return _this.baseModel.onKeyDown(event.nativeEvent);\n };\n _this.onKeyUp = function (event) {\n return _this.baseModel.onKeyUp(event.nativeEvent);\n };\n _this.onMouseUp = function (event) {\n return _this.baseModel.onMouseUp(event.nativeEvent);\n };\n _this.done = function (event) {\n _this.baseModel.done(event);\n _this.locString[\"__isEditing\"] = false;\n };\n _this.edit = function (event) {\n _this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n _this.locString[\"__isEditing\"] = true;\n _this.baseModel.onClick(event);\n };\n _this.htmlValue = {\n __html: (_a = _this.locString) === null || _a === void 0 ? void 0 : _a.renderedHtml\n };\n _this.state = { changed: 0 };\n _this.svStringEditorRef = React.createRef();\n return _this;\n }\n SurveyLocStringEditor.prototype.createModel = function (props) {\n if (this.baseModel) {\n this.baseModel.dispose();\n }\n this.baseModel = new StringEditorViewModelBase(this.locString, this.creator);\n };\n SurveyLocStringEditor.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"locString\"];\n };\n Object.defineProperty(SurveyLocStringEditor.prototype, \"locString\", {\n get: function () {\n return this.props.locStr.locStr;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"creator\", {\n get: function () {\n return this.props.locStr.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"style\", {\n get: function () {\n return this.props.style;\n },\n enumerable: false,\n configurable: true\n });\n SurveyLocStringEditor.prototype.getStateElement = function () {\n return this.baseModel;\n };\n Object.defineProperty(SurveyLocStringEditor.prototype, \"errorText\", {\n get: function () {\n return this.baseModel.errorText;\n },\n enumerable: false,\n configurable: true\n });\n SurveyLocStringEditor.prototype.componentDidMount = function () {\n var _this = this;\n _super.prototype.componentDidMount.call(this);\n if (!this.locString)\n return;\n this.baseModel.setLocString(this.locString);\n this.baseModel.getEditorElement = function () { return _this.svStringEditorRef.current; };\n this.baseModel.blurEditor = function () {\n _this.svStringEditorRef.current.blur();\n _this.svStringEditorRef.current.spellcheck = false;\n };\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n if (this.locString[\"__isEditing\"]) {\n this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n }\n };\n SurveyLocStringEditor.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n this.baseModel.setLocString(this.locString);\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n };\n SurveyLocStringEditor.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.baseModel.detachFromUI();\n if (!this.locString)\n return;\n this.locString.onStringChanged.remove(this.onChangedHandler);\n };\n Object.defineProperty(SurveyLocStringEditor.prototype, \"placeholder\", {\n get: function () {\n return this.baseModel.placeholder;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"contentEditable\", {\n get: function () {\n return this.baseModel.contentEditable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyLocStringEditor.prototype, \"className\", {\n get: function () {\n return this.baseModel.className(this.locString.renderedHtml);\n },\n enumerable: false,\n configurable: true\n });\n SurveyLocStringEditor.prototype.render = function () {\n if (!this.locString) {\n return null;\n }\n var control = null;\n if (this.locString.hasHtml) {\n if (this.htmlValue.__html !== this.locString.renderedHtml) {\n this.htmlValue = { __html: this.locString.renderedHtml };\n }\n control = (React.createElement(\"span\", { role: \"textbox\", ref: this.svStringEditorRef, className: \"sv-string-editor sv-string-editor--html\", contentEditable: this.contentEditable, spellCheck: false, \"aria-placeholder\": this.placeholder, \"aria-label\": this.placeholder || \"content editable\", suppressContentEditableWarning: true, tabIndex: this.baseModel.tabIndex, \n // style={this.style}\n dangerouslySetInnerHTML: this.htmlValue, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onMouseUp: this.onMouseUp, onClick: this.edit }));\n }\n else {\n control = (React.createElement(\"span\", { role: \"textbox\", ref: this.svStringEditorRef, className: \"sv-string-editor\", contentEditable: this.contentEditable, tabIndex: this.baseModel.tabIndex, spellCheck: false, \"aria-placeholder\": this.placeholder, \"aria-label\": this.placeholder || \"content editable\", suppressContentEditableWarning: true, \n // style={this.style}\n key: this.locString.renderedHtml, onBlur: this.onBlur, onInput: this.onInput, onPaste: this.onPaste, onCompositionStart: this.onCompositionStart, onCompositionEnd: this.onCompositionEnd, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onKeyUp: this.onKeyUp, onMouseUp: this.onMouseUp, onClick: this.edit }, this.locString.renderedHtml));\n }\n var counter = this.baseModel.showCharacterCounter ? (React.createElement(CharacterCounterComponent, { counter: this.baseModel.characterCounter, remainingCharacterCounter: this.baseModel.getCharacterCounterClass })) : null;\n return (React.createElement(\"span\", { className: this.className },\n React.createElement(\"span\", { className: \"svc-string-editor__content\" },\n React.createElement(\"div\", { className: \"svc-string-editor__border svc-string-editor__border--hover\", onClick: this.edit }),\n React.createElement(\"div\", { className: \"svc-string-editor__border svc-string-editor__border--focus\", onClick: this.edit }),\n React.createElement(\"span\", { className: \"svc-string-editor__input\" },\n control,\n React.createElement(\"div\", { className: \"svc-string-editor__controls\", onClick: this.edit }),\n counter)),\n this.errorText ? React.createElement(\"span\", { className: \"svc-string-editor__error\" }, this.errorText) : \"\"));\n };\n return SurveyLocStringEditor;\n}(CreatorModelElement));\nexport { SurveyLocStringEditor };\nReactElementFactory.Instance.registerElement(editableStringRendererName, function (props) {\n return React.createElement(SurveyLocStringEditor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { NotifierComponent, SurveyActionBar, ReactElementFactory, ReactQuestionFactory, SurveyElementBase, SurveyLocStringViewer, Survey, SvgBundleComponent, PopupModal } from \"survey-react-ui\";\nimport { SurveyCreatorModel, assign } from \"survey-creator-core\";\nimport { TabbedMenuComponent } from \"./TabbedMenu\";\nvar SurveyCreatorComponent = /** @class */ (function (_super) {\n __extends(SurveyCreatorComponent, _super);\n function SurveyCreatorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootNode = React.createRef();\n return _this;\n }\n Object.defineProperty(SurveyCreatorComponent.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorComponent.prototype.getStateElement = function () {\n return this.creator;\n };\n Object.defineProperty(SurveyCreatorComponent.prototype, \"style\", {\n get: function () {\n return this.props.style;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n if (this.creator !== prevProps.creator) {\n if (prevProps.creator) {\n prevProps.creator.unsubscribeRootElement();\n }\n if (this.creator && this.rootNode.current) {\n this.creator.setRootElement(this.rootNode.current);\n }\n }\n };\n SurveyCreatorComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.creator.setRootElement(this.rootNode.current);\n };\n SurveyCreatorComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.creator.unsubscribeRootElement();\n };\n SurveyCreatorComponent.prototype.renderElement = function () {\n var creator = this.props.creator;\n if (creator.isCreatorDisposed)\n return null;\n var areaClassName = \"svc-full-container svc-creator__area svc-flex-column\" + (this.props.creator.haveCommercialLicense ? \"\" : \" svc-creator__area--with-banner\");\n var contentWrapperClassName = \"svc-creator__content-wrapper svc-flex-row\" + (this.props.creator.isMobileView ? \" svc-creator__content-wrapper--footer-toolbar\" : \"\");\n var fullContainerClassName = \"svc-flex-row svc-full-container\" + (\" svc-creator__side-bar--\" + this.creator.sidebarLocation);\n var creatorStyles = {};\n assign(creatorStyles, this.style, this.props.creator.themeVariables);\n var licenseBanner = null;\n if (!this.props.creator.haveCommercialLicense) {\n var htmlValue = { __html: this.props.creator.licenseText };\n licenseBanner = (React.createElement(\"div\", { className: \"svc-creator__banner\" },\n React.createElement(\"span\", { className: \"svc-creator__non-commercial-text\", dangerouslySetInnerHTML: htmlValue })));\n }\n //AM: width unrecognized by react\n return (React.createElement(\"div\", { className: this.creator.getRootCss(), ref: this.rootNode, style: creatorStyles },\n React.createElement(SvgBundleComponent, null),\n React.createElement(PopupModal, null),\n React.createElement(\"div\", { className: areaClassName },\n React.createElement(\"div\", { className: fullContainerClassName },\n React.createElement(\"div\", { className: \"svc-flex-column svc-flex-row__element svc-flex-row__element--growing\" },\n React.createElement(\"div\", { className: \"svc-top-bar\" },\n (creator.showTabs ?\n React.createElement(\"div\", { className: \"svc-tabbed-menu-wrapper\" },\n React.createElement(TabbedMenuComponent, { model: creator.tabbedMenu })) : null),\n (creator.showToolbar ?\n React.createElement(\"div\", { className: \"svc-toolbar-wrapper\" },\n React.createElement(SurveyActionBar, { model: creator.toolbar }))\n : null)),\n React.createElement(\"div\", { className: contentWrapperClassName },\n React.createElement(\"div\", { className: \"svc-creator__content-holder svc-flex-column\" }, this.renderActiveTab())),\n React.createElement(\"div\", { className: \"svc-footer-bar\" }, (creator.isMobileView ?\n React.createElement(\"div\", { className: \"svc-toolbar-wrapper\" },\n React.createElement(SurveyActionBar, { model: creator.footerToolbar }))\n : null))),\n this.renderSidebar()),\n licenseBanner,\n React.createElement(NotifierComponent, { notifier: creator.notifier }))));\n };\n SurveyCreatorComponent.prototype.renderActiveTab = function () {\n var creator = this.props.creator;\n for (var i = 0; i < creator.tabs.length; i++) {\n if (creator.tabs[i].id === creator.activeTab) {\n return this.renderCreatorTab(creator.tabs[i]);\n }\n }\n return null;\n };\n SurveyCreatorComponent.prototype.renderCreatorTab = function (tab) {\n if (tab.visible === false) {\n return null;\n }\n var creator = this.props.creator;\n var component = !!tab.renderTab\n ? tab.renderTab()\n : ReactElementFactory.Instance.createElement(tab.componentContent, {\n creator: creator,\n survey: creator.survey,\n data: tab.data.model\n });\n var className = \"svc-creator-tab\" + (creator.toolboxLocation == \"right\" ? \" svc-creator__toolbox--right\" : \"\");\n return (React.createElement(\"div\", { role: \"tabpanel\", key: tab.id, id: \"scrollableDiv-\" + tab.id, \"aria-labelledby\": \"tab-\" + tab.id, className: className }, component));\n };\n SurveyCreatorComponent.prototype.renderSidebar = function () {\n if (!!this.creator.sidebar) {\n return ReactElementFactory.Instance.createElement(\"svc-side-bar\", { model: this.creator.sidebar });\n }\n else {\n return null;\n }\n };\n return SurveyCreatorComponent;\n}(SurveyElementBase));\nexport { SurveyCreatorComponent };\nvar SurveyCreator = /** @class */ (function (_super) {\n __extends(SurveyCreator, _super);\n function SurveyCreator(options, options2) {\n if (options === void 0) { options = {}; }\n return _super.call(this, options, options2) || this;\n }\n SurveyCreator.prototype.render = function (target) {\n // eslint-disable-next-line no-console\n console.error(\"The render method is deprecated. Use SurveyCreatorComponent instead.\");\n };\n //ISurveyCreator\n SurveyCreator.prototype.createQuestionElement = function (question) {\n return ReactQuestionFactory.Instance.createQuestion(question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(), {\n question: question,\n isDisplayMode: question.isReadOnly,\n creator: this\n });\n };\n SurveyCreator.prototype.renderError = function (key, error, cssClasses) {\n return (React.createElement(\"div\", { key: key },\n React.createElement(\"span\", { className: cssClasses.error.icon, \"aria-hidden\": \"true\" }),\n React.createElement(\"span\", { className: cssClasses.error.item },\n React.createElement(SurveyLocStringViewer, { locStr: error.locText }))));\n };\n SurveyCreator.prototype.questionTitleLocation = function () {\n return this.survey.questionTitleLocation;\n };\n SurveyCreator.prototype.questionErrorLocation = function () {\n return this.survey.questionErrorLocation;\n };\n return SurveyCreator;\n}(SurveyCreatorModel));\nexport { SurveyCreator };\nReactElementFactory.Instance.registerElement(\"survey-widget\", function (props) {\n return React.createElement(Survey, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, attachKey2click, SurveyElementBase } from \"survey-react-ui\";\nvar SwitcherComponent = /** @class */ (function (_super) {\n __extends(SwitcherComponent, _super);\n function SwitcherComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SwitcherComponent.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n SwitcherComponent.prototype.getStateElement = function () {\n return this.item;\n };\n SwitcherComponent.prototype.renderElement = function () {\n var _this = this;\n var tooltip = this.item.tooltip || this.item.title;\n var title = this.item.hasTitle ? React.createElement(\"span\", { className: \"svc-switcher__title\" }, this.item.title) : null;\n var button = attachKey2click(React.createElement(\"button\", { className: this.item.getActionBarItemCss(), type: \"button\", disabled: this.item.disabled, onClick: function (args) { return _this.item.action(_this.item, _this.item.getIsTrusted(args)); }, title: tooltip, \"aria-checked\": this.item.ariaChecked, \"aria-expanded\": this.item.ariaExpanded, role: this.item.ariaRole },\n React.createElement(\"div\", { className: this.item.getSwitcherIconCss() },\n React.createElement(\"div\", { className: \"svc-switcher__icon-thumb\" })),\n title), this.item, { processEsc: false });\n return button;\n };\n return SwitcherComponent;\n}(SurveyElementBase));\nexport { SwitcherComponent };\nexport default SwitcherComponent;\nReactElementFactory.Instance.registerElement(\"svc-switcher\", function (props) {\n return React.createElement(SwitcherComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nvar TabbedMenuComponent = /** @class */ (function (_super) {\n __extends(TabbedMenuComponent, _super);\n function TabbedMenuComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n Object.defineProperty(TabbedMenuComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n TabbedMenuComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabbedMenuComponent.prototype.renderElement = function () {\n var items = this.model.renderedActions.map(function (item) { return React.createElement(TabbedMenuItemWrapper, { item: item, key: item.renderedId }); });\n return (React.createElement(\"div\", { ref: this.rootRef, className: \"svc-tabbed-menu\", role: \"tablist\", style: this.model.getRootStyle() }, items));\n };\n TabbedMenuComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n var container = this.rootRef.current;\n if (!container)\n return;\n this.model.initResponsivityManager(container);\n };\n TabbedMenuComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n var container = this.rootRef.current;\n if (!container)\n return;\n this.model.initResponsivityManager(container);\n };\n TabbedMenuComponent.prototype.componentWillUnmount = function () {\n this.model.resetResponsivityManager();\n _super.prototype.componentWillUnmount.call(this);\n };\n return TabbedMenuComponent;\n}(SurveyElementBase));\nexport { TabbedMenuComponent };\nvar TabbedMenuItemWrapper = /** @class */ (function (_super) {\n __extends(TabbedMenuItemWrapper, _super);\n function TabbedMenuItemWrapper(props) {\n var _this = _super.call(this, props) || this;\n _this.ref = React.createRef();\n return _this;\n }\n Object.defineProperty(TabbedMenuItemWrapper.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n TabbedMenuItemWrapper.prototype.getStateElement = function () {\n return this.item;\n };\n TabbedMenuItemWrapper.prototype.renderElement = function () {\n var css = \"svc-tabbed-menu-item-container\";\n if (this.item.css) {\n css += \" \" + this.item.css;\n }\n css += (!this.item.isVisible ? \" sv-action--hidden\" : \"\");\n var component = ReactElementFactory.Instance.createElement(this.item.component || \"svc-tabbed-menu-item\", { item: this.item });\n return (React.createElement(\"span\", { key: this.item.id, className: css, ref: this.ref },\n React.createElement(\"div\", { className: \"sv-action__content\" }, component)));\n };\n TabbedMenuItemWrapper.prototype.componentDidMount = function () {\n var _this = this;\n _super.prototype.componentDidMount.call(this);\n this.item.updateModeCallback = function (mode, callback) {\n queueMicrotask(function () {\n if (ReactDOM[\"flushSync\"]) {\n ReactDOM[\"flushSync\"](function () {\n _this.item.mode = mode;\n });\n }\n else {\n _this.item.mode = mode;\n }\n queueMicrotask(function () {\n callback(mode, _this.ref.current);\n });\n });\n };\n this.item.afterRender();\n };\n TabbedMenuItemWrapper.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.item.updateModeCallback = undefined;\n };\n return TabbedMenuItemWrapper;\n}(SurveyElementBase));\nvar TabbedMenuItemComponent = /** @class */ (function (_super) {\n __extends(TabbedMenuItemComponent, _super);\n function TabbedMenuItemComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabbedMenuItemComponent.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n TabbedMenuItemComponent.prototype.getStateElement = function () {\n return this.item;\n };\n TabbedMenuItemComponent.prototype.render = function () {\n var item = this.item;\n return (attachKey2click(React.createElement(\"div\", { role: \"tab\", id: \"tab-\" + item.id, \"aria-selected\": item.active, \"aria-controls\": \"scrollableDiv-\" + item.id, className: item.getRootCss(), onClick: function () { return item.action(item); } },\n item.hasTitle ? React.createElement(\"span\", { className: item.getTitleCss() }, item.title) : null,\n item.hasIcon ? React.createElement(SvgIcon, { iconName: item.iconName, className: item.getIconCss(), size: \"auto\", title: item.tooltip || item.title }) : null)));\n };\n return TabbedMenuItemComponent;\n}(SurveyElementBase));\nexport { TabbedMenuItemComponent };\nReactElementFactory.Instance.registerElement(\"svc-tabbed-menu-item\", function (props) {\n return React.createElement(TabbedMenuItemComponent, props);\n});\nexport default TabbedMenuComponent;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nvar CellQuestionAdornerComponent = /** @class */ (function (_super) {\n __extends(CellQuestionAdornerComponent, _super);\n function CellQuestionAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellQuestionAdornerComponent.prototype.createModel = function (props) {\n this.model = new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n CellQuestionAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n CellQuestionAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n CellQuestionAdornerComponent.prototype.render = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { \"data-sv-drop-target-survey-element\": this.model.element.name, className: \"svc-question__adorner\" },\n React.createElement(\"div\", { className: \" svc-question__content--in-popup svc-question__content\" }, this.props.element))));\n };\n return CellQuestionAdornerComponent;\n}(CreatorModelElement));\nexport { CellQuestionAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-cell-question\", function (props) {\n return React.createElement(CellQuestionAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar CellQuestionDropdownAdornerComponent = /** @class */ (function (_super) {\n __extends(CellQuestionDropdownAdornerComponent, _super);\n function CellQuestionDropdownAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellQuestionDropdownAdornerComponent.prototype.createModel = function (props) {\n this.model = new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n CellQuestionDropdownAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n CellQuestionDropdownAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n CellQuestionDropdownAdornerComponent.prototype.render = function () {\n var question = this.props.question;\n var textStyle = this.props.question.textStyle;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { \"data-sv-drop-target-survey-element\": this.model.element.name, className: \"svc-question__adorner\" },\n React.createElement(\"div\", { className: \" svc-question__content--in-popup svc-question__content\" },\n this.props.element,\n React.createElement(\"div\", { className: \"svc-question__dropdown-choices\" }, question.visibleChoices.map(function (item, index) { return (React.createElement(\"div\", { className: \"svc-question__dropdown-choice\", key: \"editable_choice_\".concat(index) }, ReactSurveyElementsWrapper.wrapItemValue(question.survey, ReactElementFactory.Instance.createElement(\"survey-radiogroup-item\", {\n question: question,\n cssClasses: question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: question.value === item.value\n }), question, item))); }))))));\n };\n return CellQuestionDropdownAdornerComponent;\n}(CreatorModelElement));\nexport { CellQuestionDropdownAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-cell-dropdown-question\", function (props) {\n return React.createElement(CellQuestionDropdownAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, SurveyActionBar, ReactElementFactory, SurveyPage, SvgIcon, LoadingIndicatorComponent } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { PageAdorner } from \"survey-creator-core\";\nimport { ReactMouseEvent } from \"../events\";\nvar PageElementContent = React.memo(function (_a) {\n var page = _a.page, survey = _a.survey, creator = _a.creator;\n return React.createElement(SurveyPage, { page: page, survey: survey, creator: creator });\n});\nPageElementContent.displayName = \"PageElementContent\";\nvar CreatorSurveyPageComponent = /** @class */ (function (_super) {\n __extends(CreatorSurveyPageComponent, _super);\n function CreatorSurveyPageComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n CreatorSurveyPageComponent.prototype.createModel = function (props) {\n if (this.model) {\n this.model.attachToUI(props.page, this.rootRef.current);\n }\n this.model = this.createPageAdorner(props.creator, props.page);\n this.model.isGhost = this.props.isGhost;\n };\n CreatorSurveyPageComponent.prototype.createPageAdorner = function (creator, page) {\n return new PageAdorner(creator, page);\n };\n CreatorSurveyPageComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n var res = _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState);\n if (this.model) {\n this.model.isGhost = this.props.isGhost;\n }\n return res;\n };\n CreatorSurveyPageComponent.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n };\n CreatorSurveyPageComponent.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"page\"];\n };\n CreatorSurveyPageComponent.prototype.getStateElement = function () {\n return this.model;\n };\n CreatorSurveyPageComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.attachToUI(this.props.page, this.rootRef.current);\n this.model.isGhost = this.props.isGhost;\n };\n CreatorSurveyPageComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.detachFromUI();\n };\n CreatorSurveyPageComponent.prototype.canRender = function () {\n return _super.prototype.canRender.call(this);\n };\n CreatorSurveyPageComponent.prototype.renderElement = function () {\n var _this = this;\n if (!this.props.page)\n return null;\n return (attachKey2click(React.createElement(\"div\", { ref: this.rootRef, id: this.props.page.id, \"data-sv-drop-target-survey-page\": this.model.dropTargetName, className: \"svc-page__content \" + this.model.css, onClick: function (e) {\n return _this.model.select(_this.model, new ReactMouseEvent(e));\n }, onDoubleClick: function (e) { return _this.model.dblclick(e.nativeEvent); }, onMouseLeave: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); } },\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--top\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--bottom\" }),\n this.renderContent(),\n this.renderPlaceholder(),\n this.renderHeader(),\n this.renderFooter())));\n };\n CreatorSurveyPageComponent.prototype.renderPlaceholder = function () {\n if (!this.model.showPlaceholder)\n return null;\n return (React.createElement(\"div\", { className: \"svc-page__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder\" }, this.model.placeholderText))));\n };\n CreatorSurveyPageComponent.prototype.renderContent = function () {\n if (!this.model.needRenderContent) {\n return React.createElement(\"div\", { className: \"svc-page__loading-content\" },\n React.createElement(LoadingIndicatorComponent, null));\n }\n return (React.createElement(PageElementContent, { page: this.props.page, survey: this.props.survey, creator: this.props.creator }));\n };\n CreatorSurveyPageComponent.prototype.renderHeader = function () {\n var _this = this;\n var actions = (React.createElement(\"div\", { className: \"svc-page__content-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.actionContainer }),\n (this.model.topActionContainer.hasActions ? React.createElement(SurveyActionBar, { model: this.model.topActionContainer }) : null)));\n if (this.model.isGhost || !this.model.allowDragging) {\n return actions;\n }\n return (React.createElement(\"div\", { className: \"svc-question__drag-area\", onPointerDown: function (event) { return _this.model.onPointerDown(event); } },\n React.createElement(SvgIcon, { className: \"svc-question__drag-element\", size: \"auto\", iconName: \"icon-drag-area-indicator_24x16\" }),\n actions));\n };\n CreatorSurveyPageComponent.prototype.renderFooter = function () {\n return React.createElement(SurveyActionBar, { model: this.model.footerActionsBar });\n };\n return CreatorSurveyPageComponent;\n}(CreatorModelElement));\nexport { CreatorSurveyPageComponent };\nReactElementFactory.Instance.registerElement(\"svc-page\", function (props) {\n return React.createElement(CreatorSurveyPageComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, attachKey2click, SvgIcon, Popup } from \"survey-react-ui\";\nimport { QuestionAdornerComponent } from \"./Question\";\nimport { AddQuestionButtonComponent } from \"../AddQuestionButton\";\nvar PanelAdornerComponent = /** @class */ (function (_super) {\n __extends(PanelAdornerComponent, _super);\n function PanelAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelAdornerComponent.prototype.renderElementPlaceholder = function () {\n var _this = this;\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svc-panel__placeholder_frame-wrapper\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder\" }, this.model.placeholderText),\n this.model.showAddQuestionButton ? attachKey2click(React.createElement(\"div\", { className: \"svc-panel__add-new-question svc-action-button\", onClick: function (e) {\n e.stopPropagation();\n _this.model.addNewQuestion();\n } },\n React.createElement(SvgIcon, { className: \"svc-panel__add-new-question-icon\", iconName: \"icon-add_24x24\", size: \"auto\" }),\n React.createElement(\"span\", { className: \"svc-add-new-item-button__text\" }, this.model.addNewQuestionText))) : null)));\n };\n PanelAdornerComponent.prototype.disableTabStop = function () {\n return true;\n };\n PanelAdornerComponent.prototype.renderFooter = function () {\n return (React.createElement(React.Fragment, null,\n !this.model.isEmptyElement && this.model.element.isPanel && this.model.showAddQuestionButton ? (React.createElement(\"div\", { className: \"svc-panel__add-new-question-container\" },\n React.createElement(\"div\", { className: \"svc-panel__question-type-selector-popup\" },\n React.createElement(Popup, { model: this.model.questionTypeSelectorModel.popupModel })),\n React.createElement(\"div\", { className: \"svc-panel__add-new-question-wrapper\" },\n React.createElement(AddQuestionButtonComponent, { item: { data: this.model }, buttonClass: \"svc-action-button\", renderPopup: false })))) : null,\n _super.prototype.renderFooter.call(this)));\n };\n return PanelAdornerComponent;\n}(QuestionAdornerComponent));\nexport { PanelAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-panel\", function (props) {\n return React.createElement(PanelAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactMouseEvent } from \"../events\";\nimport { ReactElementFactory, attachKey2click, TitleElement } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nfunction QuestionElementContentFunc(props) {\n return props.element;\n}\nvar QuestionElementContent = React.memo(QuestionElementContentFunc);\nQuestionElementContent.displayName = \"QuestionElementContent\";\nvar QuestionAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionAdornerComponent, _super);\n function QuestionAdornerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n QuestionAdornerComponent.prototype.createModel = function (props) {\n if (this.model) {\n this.model.attachToUI(props.question, this.rootRef.current);\n }\n else {\n this.modelValue = this.createQuestionViewModel(props);\n }\n };\n QuestionAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n QuestionAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n Object.defineProperty(QuestionAdornerComponent.prototype, \"model\", {\n get: function () {\n return this.modelValue;\n },\n enumerable: false,\n configurable: true\n });\n QuestionAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n QuestionAdornerComponent.prototype.renderElement = function () {\n var _this = this;\n var allowInteractions = this.model.element\n .isInteractiveDesignElement;\n var titleForCollapsedState = this.renderQuestionTitle();\n var content = this.renderContent(allowInteractions);\n return (React.createElement(\"div\", { ref: this.rootRef, \"data-sv-drop-target-survey-element\": this.model.element.name || null, className: this.model.rootCss(), onDoubleClick: function (e) { allowInteractions && _this.model.dblclick(e.nativeEvent); e.stopPropagation(); }, onMouseLeave: function (e) { return allowInteractions && _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return allowInteractions && _this.model.hover(e.nativeEvent, e.currentTarget); } },\n titleForCollapsedState,\n content));\n };\n QuestionAdornerComponent.prototype.disableTabStop = function () {\n return true;\n };\n QuestionAdornerComponent.prototype.renderContent = function (allowInteractions) {\n var _this = this;\n var content = this.model.needToRenderContent ? this.renderElementContent() : null;\n //if (!allowInteractions) return <>{content}{this.renderFooter()}</>;\n return attachKey2click(React.createElement(\"div\", { className: this.model.css(), onClick: function (e) { return _this.model.select(_this.model, new ReactMouseEvent(e)); } },\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--left\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--right\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--top\" }),\n React.createElement(\"div\", { className: \"svc-question__drop-indicator svc-question__drop-indicator--bottom\" }),\n allowInteractions ? this.renderHeader() : null,\n content,\n this.model.needToRenderContent ? this.renderFooter() : null), undefined, { disableTabStop: this.disableTabStop() });\n };\n QuestionAdornerComponent.prototype.renderHeader = function () {\n return ReactElementFactory.Instance.createElement(\"svc-question-header\", { model: this.model });\n };\n QuestionAdornerComponent.prototype.renderFooter = function () {\n var allowInteractions = this.model.element\n .isInteractiveDesignElement;\n return allowInteractions ? ReactElementFactory.Instance.createElement(\"svc-question-footer\", { className: \"svc-question__content-actions\", model: this.model }) : null;\n };\n QuestionAdornerComponent.prototype.renderCarryForwardBanner = function () {\n if (!this.model.isBannerShowing)\n return null;\n return ReactElementFactory.Instance.createElement(\"svc-question-banner\", this.model.createBannerParams());\n };\n QuestionAdornerComponent.prototype.renderQuestionTitle = function () {\n var _this = this;\n if (!this.model.showHiddenTitle)\n return null;\n var element = this.model.element;\n return (React.createElement(\"div\", { ref: function (node) { return node && (!_this.model.renderedCollapsed ?\n node.setAttribute(\"inert\", \"\") : node.removeAttribute(\"inert\")); }, className: this.model.cssCollapsedHiddenHeader }, (element.hasTitle ?\n React.createElement(TitleElement, { element: element }) :\n React.createElement(\"div\", { className: this.model.cssCollapsedHiddenTitle },\n React.createElement(\"span\", { className: \"svc-fake-title\" }, element.name)))));\n };\n QuestionAdornerComponent.prototype.renderElementContent = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(QuestionElementContent, { element: this.props.element }),\n this.renderElementPlaceholder(),\n this.renderCarryForwardBanner()));\n };\n QuestionAdornerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.attachToUI(this.props.question, this.rootRef.current);\n };\n QuestionAdornerComponent.prototype.renderElementPlaceholder = function () {\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"svc-panel__placeholder_frame-wrapper\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder_frame\" },\n React.createElement(\"div\", { className: \"svc-panel__placeholder\" }, this.model.placeholderText))));\n };\n QuestionAdornerComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.detachFromUI();\n };\n return QuestionAdornerComponent;\n}(CreatorModelElement));\nexport { QuestionAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-question\", function (props) {\n return React.createElement(QuestionAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { ActionButton } from \"../ActionButton\";\nvar QuestionBanner = /** @class */ (function (_super) {\n __extends(QuestionBanner, _super);\n function QuestionBanner() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionBanner.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: \"svc-carry-forward-panel-wrapper\" },\n React.createElement(\"div\", { className: \"svc-carry-forward-panel\" },\n React.createElement(\"span\", null,\n this.props.text,\n \" \"),\n React.createElement(\"span\", { className: \"svc-carry-forward-panel__link\" },\n React.createElement(ActionButton, { click: function () { return _this.props.onClick(); }, text: this.props.actionText })))));\n };\n return QuestionBanner;\n}(React.Component));\nexport { QuestionBanner };\nReactElementFactory.Instance.registerElement(\"svc-question-banner\", function (props) {\n return React.createElement(QuestionBanner, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { QuestionDropdownAdornerViewModel } from \"survey-creator-core\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport { QuestionAdornerComponent } from \"./Question\";\nimport { ActionButton } from \"../ActionButton\";\nvar QuestionDropdownAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionDropdownAdornerComponent, _super);\n function QuestionDropdownAdornerComponent(props) {\n return _super.call(this, props) || this;\n }\n QuestionDropdownAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionDropdownAdornerViewModel(props.componentData, props.question, null);\n };\n Object.defineProperty(QuestionDropdownAdornerComponent.prototype, \"dropdownModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(QuestionDropdownAdornerComponent.prototype, \"question\", {\n get: function () {\n return this.dropdownModel.question;\n },\n enumerable: false,\n configurable: true\n });\n QuestionDropdownAdornerComponent.prototype.renderElementPlaceholder = function () {\n var _this = this;\n var textStyle = this.question.textStyle;\n return (React.createElement(\"div\", { className: \"svc-question__dropdown-choices--wrapper\" },\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"svc-question__dropdown-choices\" }, (this.dropdownModel.getRenderedItems() || []).map(function (item, index) { return (React.createElement(\"div\", { className: _this.dropdownModel.getChoiceCss(), key: \"editable_choice_\".concat(index) }, ReactSurveyElementsWrapper.wrapItemValue(_this.question.survey, ReactElementFactory.Instance.createElement(_this.dropdownModel.itemComponent, {\n key: item.value,\n question: _this.question,\n cssClasses: _this.question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: _this.question.value === item.value\n }), _this.question, item))); })),\n this.dropdownModel.needToCollapse ?\n React.createElement(ActionButton, { click: this.dropdownModel.switchCollapse, text: this.dropdownModel.getButtonText(), allowBubble: true }) :\n null)));\n };\n return QuestionDropdownAdornerComponent;\n}(QuestionAdornerComponent));\nexport { QuestionDropdownAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-dropdown-question\", function (props) {\n return React.createElement(QuestionDropdownAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactMouseEvent } from \"../events\";\nimport { SurveyActionBar, ReactElementFactory, } from \"survey-react-ui\";\nvar QuestionWrapperFooter = /** @class */ (function (_super) {\n __extends(QuestionWrapperFooter, _super);\n function QuestionWrapperFooter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionWrapperFooter.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.props.className, onFocus: function (e) { return _this.props.model.select(_this.props.model, new ReactMouseEvent(e)); } },\n React.createElement(SurveyActionBar, { model: this.props.model.actionContainer, handleClick: false })));\n };\n return QuestionWrapperFooter;\n}(React.Component));\nexport { QuestionWrapperFooter };\nReactElementFactory.Instance.registerElement(\"svc-question-footer\", function (props) {\n return React.createElement(QuestionWrapperFooter, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyActionBar, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nvar QuestionWrapperHeader = /** @class */ (function (_super) {\n __extends(QuestionWrapperHeader, _super);\n function QuestionWrapperHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionWrapperHeader.prototype.render = function () {\n var _this = this;\n if (!this.props.model.allowDragging)\n return null;\n return (React.createElement(\"div\", { className: \"svc-question__drag-area\", onPointerDown: function (event) {\n return _this.props.model.onPointerDown(event);\n } },\n React.createElement(SvgIcon, { className: \"svc-question__drag-element\", size: \"auto\", iconName: \"icon-drag-area-indicator_24x16\" }),\n React.createElement(\"div\", { className: \"svc-question__top-actions\" },\n React.createElement(SurveyActionBar, { model: this.props.model.topActionContainer, handleClick: false }))));\n };\n return QuestionWrapperHeader;\n}(React.Component));\nexport { QuestionWrapperHeader };\nReactElementFactory.Instance.registerElement(\"svc-question-header\", function (props) {\n return React.createElement(QuestionWrapperHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionImageAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { attachKey2click, LoadingIndicatorComponent, ReactElementFactory, ReactQuestionFactory, SvgIcon } from \"survey-react-ui\";\nimport { QuestionAdornerComponent } from \"./Question\";\nvar QuestionImageAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionImageAdornerComponent, _super);\n function QuestionImageAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionImageAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionImageAdornerViewModel(props.componentData, props.question, null);\n };\n Object.defineProperty(QuestionImageAdornerComponent.prototype, \"imageModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n QuestionImageAdornerComponent.prototype.renderHeader = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { type: \"file\", \"aria-hidden\": \"true\", tabIndex: -1, accept: this.imageModel.acceptedTypes, className: \"svc-choose-file-input\", style: {\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n } }),\n _super.prototype.renderHeader.call(this)));\n };\n QuestionImageAdornerComponent.prototype.renderLoadingPlaceholder = function () {\n return (React.createElement(\"div\", { className: \"svc-image-question__loading-placeholder\" },\n React.createElement(\"div\", { className: \"svc-image-question__loading\" },\n React.createElement(LoadingIndicatorComponent, null))));\n };\n QuestionImageAdornerComponent.prototype.renderChooseButton = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: \"svc-image-question-controls\" }, this.model.allowEdit ? attachKey2click(React.createElement(\"span\", { className: \"svc-context-button\", onClick: function () { return _this.imageModel.chooseFile(_this.imageModel); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-choosefile\" }))) : null));\n };\n QuestionImageAdornerComponent.prototype.renderElementPlaceholder = function () {\n return this.imageModel.isUploading ? this.renderLoadingPlaceholder() : this.renderChooseButton();\n };\n QuestionImageAdornerComponent.prototype.getStateElements = function () {\n return [this.model, this.imageModel.filePresentationModel];\n };\n QuestionImageAdornerComponent.prototype.renderElementContent = function () {\n if (this.imageModel.isEmptyImageLink) {\n var fileQuestion = ReactQuestionFactory.Instance.createQuestion(\"file\", {\n creator: this.imageModel.question.survey,\n isDisplayMode: false,\n question: this.imageModel.filePresentationModel\n });\n return (React.createElement(React.Fragment, null, fileQuestion));\n }\n else {\n return (React.createElement(React.Fragment, null,\n this.props.element,\n this.renderElementPlaceholder()));\n }\n };\n return QuestionImageAdornerComponent;\n}(QuestionAdornerComponent));\nexport { QuestionImageAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-image-question\", function (props) {\n return React.createElement(QuestionImageAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { QuestionRatingAdornerViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar QuestionRatingAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionRatingAdornerComponent, _super);\n function QuestionRatingAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionRatingAdornerComponent.prototype.createModel = function (props) {\n this.modelValue = this.createQuestionViewModel(props);\n };\n QuestionRatingAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionRatingAdornerViewModel(props.componentData, props.question, null);\n };\n QuestionRatingAdornerComponent.prototype.getUpdatedModelProps = function () {\n return [\"question\", \"componentData\"];\n };\n Object.defineProperty(QuestionRatingAdornerComponent.prototype, \"ratingModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(QuestionRatingAdornerComponent.prototype, \"model\", {\n get: function () {\n return this.modelValue;\n },\n enumerable: false,\n configurable: true\n });\n QuestionRatingAdornerComponent.prototype.getStateElement = function () {\n return this.model;\n };\n QuestionRatingAdornerComponent.prototype.renderElement = function () {\n var model = this.ratingModel;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-rating-question-content\" },\n React.createElement(\"div\", { className: model.controlsClassNames },\n model.allowRemove ? attachKey2click(React.createElement(\"span\", { role: \"button\", className: model.removeClassNames, \"aria-label\": model.removeTooltip, onClick: function () { return model.removeItem(model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-remove_16x16\", title: model.removeTooltip }))) : null,\n model.allowAdd ? attachKey2click(React.createElement(\"span\", { role: \"button\", className: model.addClassNames, \"aria-label\": model.addTooltip, onClick: function () { return model.addItem(model); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: \"icon-add_16x16\", title: model.addTooltip }))) : null),\n this.props.element)));\n };\n return QuestionRatingAdornerComponent;\n}(CreatorModelElement));\nexport { QuestionRatingAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-rating-question\", function (props) {\n return React.createElement(QuestionRatingAdornerComponent, props);\n});\nReactElementFactory.Instance.registerElement(\"svc-rating-question-content\", function (props) {\n return React.createElement(QuestionRatingAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { QuestionAdornerViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { QuestionAdornerComponent } from \"./Question\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar QuestionWidgetAdornerComponent = /** @class */ (function (_super) {\n __extends(QuestionWidgetAdornerComponent, _super);\n function QuestionWidgetAdornerComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n QuestionWidgetAdornerComponent.prototype.createQuestionViewModel = function (props) {\n return new QuestionAdornerViewModel(props.componentData, props.question, null);\n };\n Object.defineProperty(QuestionWidgetAdornerComponent.prototype, \"widgetModel\", {\n get: function () {\n return this.model;\n },\n enumerable: false,\n configurable: true\n });\n QuestionWidgetAdornerComponent.prototype.renderElementContent = function () {\n return (React.createElement(\"div\", { className: \"svc-widget__content\" }, this.props.element));\n };\n return QuestionWidgetAdornerComponent;\n}(QuestionAdornerComponent));\nexport { QuestionWidgetAdornerComponent };\nReactElementFactory.Instance.registerElement(\"svc-widget-question\", function (props) {\n return React.createElement(QuestionWidgetAdornerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { RowViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar RowWrapper = /** @class */ (function (_super) {\n __extends(RowWrapper, _super);\n function RowWrapper(props) {\n return _super.call(this, props) || this;\n }\n RowWrapper.prototype.createModel = function (props) {\n if (!!this.model) {\n this.model.dispose();\n }\n this.model = new RowViewModel(props.componentData.creator, props.row, null);\n };\n RowWrapper.prototype.getUpdatedModelProps = function () {\n return [\"row\", \"componentData\"];\n };\n RowWrapper.prototype.getStateElement = function () {\n return this.model;\n };\n RowWrapper.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.subscribeElementChanges();\n };\n RowWrapper.prototype.componentWillUnmount = function () {\n this.model.unsubscribeElementChanges();\n _super.prototype.componentWillUnmount.call(this);\n };\n RowWrapper.prototype.render = function () {\n return (React.createElement(\"div\", { key: \"svc-row-\" + this.props.row.id, className: this.model.cssClasses },\n React.createElement(\"div\", { className: \"svc-row__drop-indicator svc-row__drop-indicator--top\" }),\n React.createElement(\"div\", { className: \"svc-row__drop-indicator svc-row__drop-indicator--bottom\" }),\n this.props.element));\n };\n return RowWrapper;\n}(CreatorModelElement));\nexport { RowWrapper };\nReactElementFactory.Instance.registerElement(\"svc-row\", function (props) {\n return React.createElement(RowWrapper, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { settings } from \"survey-core\";\nimport { ReactElementFactory, SurveyActionBar, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nvar SearchComponent = /** @class */ (function (_super) {\n __extends(SearchComponent, _super);\n function SearchComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.state = {\n filterString: _this.model.filterString || \"\"\n };\n return _this;\n }\n Object.defineProperty(SearchComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SearchComponent.prototype.getStateElement = function () {\n return this.model;\n };\n SearchComponent.prototype.renderElement = function () {\n var _this = this;\n if (!this.model.isVisible)\n return null;\n var onChange = function (e) {\n var root = settings.environment.root;\n if (e.target === root.activeElement) {\n _this.model.filterString = e.target.value;\n }\n };\n return (React.createElement(\"div\", { className: \"svc-search\" },\n React.createElement(\"div\", { className: \"svc-search__search-icon\" },\n React.createElement(SvgIcon, { iconName: \"icon-search\", size: \"auto\" })),\n React.createElement(\"input\", { type: \"text\", className: \"svc-search__input\", \"aria-label\": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onChange: onChange }),\n React.createElement(\"div\", { className: \"svc-search__toolbar\" },\n React.createElement(\"div\", { className: \"svc-search__toolbar-counter\" }, this.model.matchCounterText),\n React.createElement(SurveyActionBar, { model: this.model.searchActionBar }))));\n };\n return SearchComponent;\n}(SurveyElementBase));\nexport { SearchComponent };\nReactElementFactory.Instance.registerElement(\"svc-search\", function (props) {\n return React.createElement(SearchComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar SurfacePlaceholder = /** @class */ (function (_super) {\n __extends(SurfacePlaceholder, _super);\n function SurfacePlaceholder(props) {\n return _super.call(this, props) || this;\n }\n SurfacePlaceholder.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"svc-surface-placeholder\" },\n React.createElement(\"div\", { className: \"svc-surface-placeholder__image svc-surface-placeholder__image--\" + this.props.name }),\n React.createElement(\"div\", { className: \"svc-surface-placeholder__text\" },\n React.createElement(\"div\", { className: \"svc-surface-placeholder__title\" }, this.props.placeholderTitleText),\n React.createElement(\"div\", { className: \"svc-surface-placeholder__description\" }, this.props.placeholderDescriptionText))));\n };\n return SurfacePlaceholder;\n}(React.Component));\nexport { SurfacePlaceholder };\nReactElementFactory.Instance.registerElement(\"svc-surface-placeholder\", function (props) {\n return React.createElement(SurfacePlaceholder, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { attachKey2click, ReactQuestionFactory, SurveyElementBase, SurveyQuestionElementBase } from \"survey-react-ui\";\nvar SurveyQuestionBooleanSwitch = /** @class */ (function (_super) {\n __extends(SurveyQuestionBooleanSwitch, _super);\n function SurveyQuestionBooleanSwitch() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyQuestionBooleanSwitch.prototype.renderElement = function () {\n var _this = this;\n var button = attachKey2click(React.createElement(\"div\", { className: \"spg-boolean-switch__button\" + (this.questionBase.value ? \" spg-boolean-switch__button--checked\" : \"\"), tabIndex: 0, role: \"checkbox\", \"aria-checked\": this.questionBase.booleanValue || false, \"aria-required\": this.questionBase.a11y_input_ariaRequired, \"aria-label\": this.questionBase.a11y_input_ariaLabel, \"aria-labelledby\": this.questionBase.a11y_input_ariaLabelledBy, \"aria-invalid\": this.questionBase.a11y_input_ariaInvalid, \"aria-errormessage\": this.questionBase.a11y_input_ariaErrormessage },\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb\" },\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left\" })),\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb\" },\n React.createElement(\"div\", { className: \"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right\" }))), this.questionBase, { processEsc: false });\n return (React.createElement(\"div\", { className: \"spg-boolean-switch\", onClick: function () { return _this.questionBase.value = !_this.questionBase.value; } },\n button,\n React.createElement(\"div\", { className: \"spg-boolean-switch__caption\" },\n React.createElement(\"div\", { className: \"spg-boolean-switch__title\", id: this.questionBase.labelRenderedAriaID }, SurveyElementBase.renderLocString(this.questionBase.locTitle)))));\n };\n return SurveyQuestionBooleanSwitch;\n}(SurveyQuestionElementBase));\nexport { SurveyQuestionBooleanSwitch };\nReactQuestionFactory.Instance.registerQuestion(\"sv-boolean-switch\", function (props) {\n return React.createElement(SurveyQuestionBooleanSwitch, props);\n});\nRendererFactory.Instance.registerRenderer(\"boolean\", \"switch\", \"sv-boolean-switch\");\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nvar ItemTemplateComponent = /** @class */ (function (_super) {\n __extends(ItemTemplateComponent, _super);\n function ItemTemplateComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemTemplateComponent.prototype.render = function () {\n var item = this.props.item;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"span\", { className: \"spg-color-editor__color-swatch\", style: { backgroundColor: item.value } }),\n React.createElement(\"span\", { key: 2 }, this.renderLocString(item.locTitle, undefined, \"locString\"))));\n };\n return ItemTemplateComponent;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"color-item\", function (props) {\n return React.createElement(ItemTemplateComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, ReactQuestionFactory, SurveyQuestionText, SvgIcon, Popup } from \"survey-react-ui\";\nvar SurveyQuestionColor = /** @class */ (function (_super) {\n __extends(SurveyQuestionColor, _super);\n function SurveyQuestionColor(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(SurveyQuestionColor.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionColor.prototype.renderInput = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { id: this.question.inputId, disabled: this.isDisplayMode, className: this.question.cssClasses.control, ref: function (input) { return (_this.setControl(input)); }, placeholder: this.question.renderedPlaceholder, autoComplete: \"off\", onKeyUp: function (event) { return _this.question.onKeyUp(event.nativeEvent); }, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onChange: this.question.onChange, onBeforeInput: function (event) { return _this.question.onBeforeInput(event.nativeEvent); }, \"aria-required\": this.question.a11y_input_ariaRequired, \"aria-labelledby\": this.question.a11y_input_ariaLabelledBy, \"aria-label\": this.question.a11y_input_ariaLabel, \"aria-invalid\": this.question.a11y_input_ariaInvalid, \"aria-describedby\": this.question.a11y_input_ariaDescribedBy })));\n };\n SurveyQuestionColor.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.question.cssClasses.root, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },\n this.renderColorSwatch(),\n this.renderInput(),\n this.question.showDropdownAction ? this.renderDropdownAction() : null));\n };\n SurveyQuestionColor.prototype.getValueCore = function () {\n return this.question.renderedValue;\n };\n SurveyQuestionColor.prototype.renderColorSwatch = function () {\n var _this = this;\n return React.createElement(\"label\", { className: this.question.getSwatchCss(), style: this.question.getSwatchStyle() },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.swatchIcon, size: \"auto\" }),\n React.createElement(\"input\", { type: \"color\", disabled: this.isDisplayMode, value: this.question.renderedColorValue, className: this.question.cssClasses.colorInput, onChange: function (event) { return _this.question.onColorInputChange(event.nativeEvent); }, tabIndex: -1, \"aria-required\": this.question.a11y_input_ariaRequired, \"aria-labelledby\": this.question.a11y_input_ariaLabelledBy, \"aria-label\": this.question.a11y_input_ariaLabel, \"aria-invalid\": this.question.a11y_input_ariaInvalid, \"aria-describedby\": this.question.a11y_input_ariaDescribedBy }));\n };\n SurveyQuestionColor.prototype.renderDropdownAction = function () {\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { \"aria-hidden\": \"true\", className: this.question.cssClasses.choicesButtonWrapper }, ReactElementFactory.Instance.createElement(\"sv-action-bar-item\", { item: this.question.dropdownAction })),\n this.renderPopup()));\n };\n SurveyQuestionColor.prototype.renderPopup = function () {\n return React.createElement(Popup, { model: this.question.dropdownAction.popupModel });\n };\n return SurveyQuestionColor;\n}(SurveyQuestionText));\nexport { SurveyQuestionColor };\nReactQuestionFactory.Instance.registerQuestion(\"color\", function (props) {\n return React.createElement(SurveyQuestionColor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon, attachKey2click } from \"survey-react-ui\";\nvar SurveyQuestionFileEditor = /** @class */ (function (_super) {\n __extends(SurveyQuestionFileEditor, _super);\n function SurveyQuestionFileEditor(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(SurveyQuestionFileEditor.prototype, \"questionFile\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionFileEditor.prototype.getValueCore = function () {\n return this.question.renderedValue;\n };\n SurveyQuestionFileEditor.prototype.renderInput = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { disabled: this.question.isTextInputReadOnly, className: this.questionFile.cssClasses.control, placeholder: this.questionFile.renderedPlaceholder, ref: function (input) { return (_this.setControl(input)); }, autoComplete: \"off\", type: \"text\", onBlur: function (event) { return _this.questionFile.onInputBlur(event.nativeEvent); }, onChange: function (event) { return _this.questionFile.onInputChange(event.nativeEvent); } })));\n };\n SurveyQuestionFileEditor.prototype.renderFileInput = function () {\n var _this = this;\n return (React.createElement(\"input\", { type: \"file\", disabled: this.isDisplayMode, className: this.questionFile.cssClasses.fileInput, id: this.questionFile.inputId, \"aria-required\": this.questionFile.ariaRequired, \"aria-label\": this.questionFile.ariaLabel, \"aria-invalid\": this.questionFile.ariaInvalid, \"aria-describedby\": this.questionFile.ariaDescribedBy, multiple: false, title: this.questionFile.inputTitle, accept: this.questionFile.acceptedTypes, tabIndex: -1, onChange: function (event) { return _this.questionFile.onFileInputChange(event.nativeEvent); } }));\n };\n SurveyQuestionFileEditor.prototype.renderButtons = function () {\n return (React.createElement(\"div\", { className: this.questionFile.cssClasses.buttonsContainer },\n this.renderClearButton(),\n this.renderChooseButton()));\n };\n SurveyQuestionFileEditor.prototype.renderClearButton = function () {\n return attachKey2click((React.createElement(\"button\", { className: this.questionFile.cssClasses.clearButton, title: this.questionFile.clearButtonCaption, disabled: this.questionFile.getIsClearButtonDisabled(), onClick: this.questionFile.doClean },\n React.createElement(SvgIcon, { iconName: this.questionFile.cssClasses.clearButtonIcon, size: \"auto\" }))));\n };\n SurveyQuestionFileEditor.prototype.renderChooseButton = function () {\n var _this = this;\n return (attachKey2click(React.createElement(\"label\", { onClick: function (event) { return _this.questionFile.chooseFiles(event.nativeEvent); }, className: this.questionFile.getChooseButtonCss(), htmlFor: this.questionFile.inputId, \"aria-label\": this.questionFile.chooseButtonCaption },\n React.createElement(SvgIcon, { iconName: this.questionFile.cssClasses.chooseButtonIcon, size: \"auto\", title: this.questionFile.chooseButtonCaption }))));\n };\n SurveyQuestionFileEditor.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.questionFile.cssClasses.root, ref: function (el) { return _this.setContent(el); }, onDragEnter: this.questionFile.onDragEnter, onDragOver: this.questionFile.onDragOver, onDrop: this.questionFile.onDrop, onDragLeave: this.questionFile.onDragLeave, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },\n this.renderInput(),\n this.renderFileInput(),\n this.renderButtons()));\n };\n return SurveyQuestionFileEditor;\n}(SurveyQuestionText));\nexport { SurveyQuestionFileEditor };\nReactQuestionFactory.Instance.registerQuestion(\"fileedit\", function (props) {\n return React.createElement(SurveyQuestionFileEditor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon } from \"survey-react-ui\";\nvar SurveyQuestionSpinEditor = /** @class */ (function (_super) {\n __extends(SurveyQuestionSpinEditor, _super);\n function SurveyQuestionSpinEditor(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(SurveyQuestionSpinEditor.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionSpinEditor.prototype.renderInput = function () {\n var _this = this;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"input\", { role: \"spinbutton\", id: this.question.inputId, disabled: this.isDisplayMode, className: this.question.cssClasses.control, ref: function (input) { return (_this.setControl(input)); }, placeholder: this.question.renderedPlaceholder, autoComplete: \"off\", onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onFocus: function (event) { return _this.question.onFocus(event.nativeEvent); }, onChange: this.question.onChange, onBeforeInput: function (event) { return _this.question.onBeforeInput(event.nativeEvent); }, onKeyUp: function (event) { return _this.question.onKeyUp(event.nativeEvent); }, onKeyDown: function (event) { return _this.question.onInputKeyDown(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 })));\n };\n SurveyQuestionSpinEditor.prototype.renderElement = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.question.cssClasses.root, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },\n this.renderInput(),\n this.renderButtons()));\n };\n SurveyQuestionSpinEditor.prototype.getValueCore = function () {\n return this.question.renderedValue;\n };\n SurveyQuestionSpinEditor.prototype.renderButtons = function () {\n var _this = this;\n return (React.createElement(\"span\", { className: this.question.cssClasses.buttonsContainer },\n React.createElement(\"button\", { tabIndex: -1, \"aria-hidden\": \"true\", className: this.question.cssClasses.arrowButton, disabled: this.isDisplayMode, onClick: this.question.onDownButtonClick, onMouseDown: this.question.onDownButtonMouseDown, onMouseUp: this.question.onButtonMouseUp, onMouseLeave: this.question.onButtonMouseLeave, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onFocus: function (event) { return _this.question.onFocus(event.nativeEvent); } },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.decreaseButtonIcon, size: \"auto\" })),\n React.createElement(\"button\", { tabIndex: -1, \"aria-hidden\": \"true\", className: this.question.cssClasses.arrowButton, disabled: this.isDisplayMode, onClick: this.question.onUpButtonClick, onMouseDown: this.question.onUpButtonMouseDown, onMouseUp: this.question.onButtonMouseUp, onMouseLeave: this.question.onButtonMouseLeave, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onFocus: function (event) { return _this.question.onFocus(event.nativeEvent); } },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.increaseButtonIcon, size: \"auto\" }))));\n };\n return SurveyQuestionSpinEditor;\n}(SurveyQuestionText));\nexport { SurveyQuestionSpinEditor };\nReactQuestionFactory.Instance.registerQuestion(\"spinedit\", function (props) {\n return React.createElement(SurveyQuestionSpinEditor, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactQuestionFactory, SurveyQuestionElementBase, SvgIcon } from \"survey-react-ui\";\nvar SurveyQuestionTextWithReset = /** @class */ (function (_super) {\n __extends(SurveyQuestionTextWithReset, _super);\n function SurveyQuestionTextWithReset() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyQuestionTextWithReset.prototype, \"question\", {\n get: function () {\n return this.questionBase;\n },\n enumerable: false,\n configurable: true\n });\n SurveyQuestionTextWithReset.prototype.renderElement = function () {\n var textElement = this.renderInput();\n var resetButton = this.renderResetButton();\n return (React.createElement(\"div\", { className: this.question.getRootClass() },\n textElement,\n resetButton));\n };\n SurveyQuestionTextWithReset.prototype.renderInput = function () {\n return ReactQuestionFactory.Instance.createQuestion(this.question.wrappedQuestionTemplate, {\n question: this.question,\n isDisplayMode: this.question.isInputReadOnly,\n creator: this,\n });\n };\n SurveyQuestionTextWithReset.prototype.renderResetButton = function () {\n var _this = this;\n return (React.createElement(\"button\", { className: this.question.cssClasses.resetButton, disabled: this.question.resetValueAdorner.isDisabled, title: this.question.resetValueAdorner.caption, onClick: function () { return _this.question.resetValueAdorner.resetValue(); } },\n React.createElement(SvgIcon, { iconName: this.question.cssClasses.resetButtonIcon, size: \"auto\" })));\n };\n return SurveyQuestionTextWithReset;\n}(SurveyQuestionElementBase));\nexport { SurveyQuestionTextWithReset };\nReactQuestionFactory.Instance.registerQuestion(\"textwithreset\", function (props) {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});\nReactQuestionFactory.Instance.registerQuestion(\"commentwithreset\", function (props) {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});\n","export var Version;\nVersion = \"\".concat(process.env.VERSION);\n// import \"@survey/creator/survey-creator-core.css\";\nexport { SurveyCreatorComponent } from \"../SurveyCreator\";\nexport * from \"../adorners/Row\";\nexport * from \"../adorners/Question\";\nexport * from \"../adorners/QuestionHeader\";\nexport * from \"../adorners/QuestionFooter\";\nexport * from \"../adorners/QuestionBanner\";\nexport * from \"../adorners/QuestionDropdown\";\nexport * from \"../adorners/QuestionImage\";\nexport * from \"../adorners/QuestionRating\";\nexport * from \"../adorners/QuestionWidget\";\nexport * from \"../adorners/CellQuestion\";\nexport * from \"../adorners/CellQuestionDropdown\";\nexport * from \"../adorners/Page\";\nexport * from \"../adorners/Panel\";\nexport * from \"../LogoImage\";\nexport * from \"../QuestionLinkValue\";\nexport * from \"../QuestionEmbeddedSurvey\";\nexport * from \"../QuestionEditorContent\";\nexport * from \"../ItemValueWrapper\";\nexport * from \"../ImageItemValueWrapper\";\nexport * from \"../MatrixCellWrapper\";\nexport * from \"../Results\";\nexport * from \"../toolbox/ToolboxItem\";\nexport * from \"../toolbox/ToolboxItemGroup\";\nexport * from \"../toolbox/ToolboxCategory\";\nexport * from \"../toolbox/ToolboxList\";\nexport * from \"../toolbox/AdaptiveToolbox\";\nexport * from \"../TabbedMenu\";\nexport * from \"../Navigation\";\nexport * from \"../side-bar/TabControl\";\nexport * from \"../side-bar/TabButton\";\nexport * from \"../side-bar/SideBarDefaultHeader\";\nexport * from \"../side-bar/SideBarPropertyGridHeader\";\nexport * from \"../side-bar/SideBarHeader\";\nexport * from \"../side-bar/SideBar\";\nexport * from \"../tabs/translation/TranslationLineSkeleton\";\nexport * from \"../tabs/translation/TranslateFromAction\";\nexport * from \"../ActionButton\";\nexport * from \"../StringEditor\";\nexport * from \"../QuestionError\";\nexport * from \"../tabs/logic-operator\";\nexport * from \"../tabs/Designer\";\nexport * from \"../tabs/JsonEditorAce\";\nexport * from \"../tabs/JsonEditorTextarea\";\nexport * from \"../tabs/Logic\";\nexport * from \"../tabs/Preview\";\nexport * from \"../side-bar/PropertyGridPlaceholder\";\nexport * from \"../tabs/Theme\";\nexport * from \"../tabs/translation/Translation\";\nexport * from \"../tabs/SurveySimulator\";\nexport * from \"../events\";\nexport * from \"../side-bar/ObjectSelector\";\nexport * from \"../side-bar/PropertyGrid\";\nexport * from \"../components/Search\";\nexport * from \"../Switcher\";\nexport * from \"../tabs/JsonErrorItem\";\n//custom questions\nexport * from \"../custom-questions/SpinEditor\";\nexport * from \"../custom-questions/ColorItem\";\nexport * from \"../custom-questions/ColorQuestion\";\nexport * from \"../custom-questions/FileEditQuestion\";\nexport * from \"../custom-questions/TextWithResetQuestion\";\nexport * from \"../custom-questions/BooleanSwitch\";\nexport { editorLocalization, localization } from \"survey-creator-core\";\nexport { settings } from \"survey-creator-core\";\nexport { svgBundle } from \"survey-creator-core\";\nexport { SurveyLogic, SurveyLogicUI } from \"survey-creator-core\";\nexport { SurveyQuestionEditorDefinition } from \"survey-creator-core\";\nexport { ToolboxToolViewModel, PropertyGridEditorCollection } from \"survey-creator-core\";\nimport { checkLibraryVersion } from \"survey-core\";\ncheckLibraryVersion(\"\".concat(process.env.VERSION), \"survey-creator-react\");\n","export * from \"./index-wc\";\nexport { SurveyCreator } from \"../SurveyCreator\";\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar ReactMouseEvent = /** @class */ (function () {\n function ReactMouseEvent(event) {\n this.event = event;\n }\n ReactMouseEvent.prototype.stopPropagation = function () {\n this.event.stopPropagation();\n //this.event.nativeEvent.stopPropagation();\n //this.event.nativeEvent.stopImmediatePropagation();\n };\n ReactMouseEvent.prototype.preventDefault = function () {\n this.event.preventDefault();\n //this.event.nativeEvent.preventDefault();\n };\n Object.defineProperty(ReactMouseEvent.prototype, \"cancelBubble\", {\n get: function () {\n //return this.event.cancelBubble;\n return false;\n },\n set: function (value) {\n //this.event.cancelBubble = value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"target\", {\n get: function () {\n return this.event.target;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"currentTarget\", {\n get: function () {\n return this.event.currentTarget;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"clientX\", {\n get: function () {\n return this.event.clientX;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"clientY\", {\n get: function () {\n return this.event.clientY;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"offsetX\", {\n get: function () {\n return this.event.nativeEvent.offsetX;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ReactMouseEvent.prototype, \"offsetY\", {\n get: function () {\n return this.event.nativeEvent.offsetY;\n },\n enumerable: false,\n configurable: true\n });\n return ReactMouseEvent;\n}());\nexport { ReactMouseEvent };\nvar ReactDragEvent = /** @class */ (function (_super) {\n __extends(ReactDragEvent, _super);\n function ReactDragEvent(event) {\n var _this = _super.call(this, event) || this;\n _this.event = event;\n return _this;\n }\n Object.defineProperty(ReactDragEvent.prototype, \"dataTransfer\", {\n get: function () {\n return this.event.dataTransfer;\n },\n enumerable: false,\n configurable: true\n });\n return ReactDragEvent;\n}(ReactMouseEvent));\nexport { ReactDragEvent };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\nvar ObjectSelectorComponent = /** @class */ (function (_super) {\n __extends(ObjectSelectorComponent, _super);\n function ObjectSelectorComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(ObjectSelectorComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n ObjectSelectorComponent.prototype.getStateElement = function () {\n return this.model;\n };\n ObjectSelectorComponent.prototype.renderElement = function () {\n if (!this.model.isVisible)\n return null;\n return (React.createElement(List, { model: this.model.list }));\n };\n return ObjectSelectorComponent;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-object-selector\", function (props) {\n return React.createElement(ObjectSelectorComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { Survey, SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\nimport { SearchComponent } from \"../components/Search\";\nvar PropertyGridComponent = /** @class */ (function (_super) {\n __extends(PropertyGridComponent, _super);\n function PropertyGridComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(PropertyGridComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n PropertyGridComponent.prototype.getStateElement = function () {\n return this.model;\n };\n PropertyGridComponent.prototype.canRender = function () {\n if (!this.model)\n return false;\n return _super.prototype.canRender.call(this);\n };\n PropertyGridComponent.prototype.renderElement = function () {\n return (React.createElement(\"div\", { className: this.model.rootCss },\n React.createElement(SearchComponent, { model: this.model.searchManager }),\n React.createElement(Survey, { model: this.model.survey })));\n };\n return PropertyGridComponent;\n}(SurveyElementBase));\nexport { PropertyGridComponent };\nexport default PropertyGridComponent;\nReactElementFactory.Instance.registerElement(\"svc-property-grid\", function (props) {\n return React.createElement(PropertyGridComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { editorLocalization } from \"survey-creator-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar PropertyGridPlaceholderComponent = /** @class */ (function (_super) {\n __extends(PropertyGridPlaceholderComponent, _super);\n function PropertyGridPlaceholderComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PropertyGridPlaceholderComponent.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"svc-property-grid-placeholder\" },\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__header\" },\n React.createElement(\"span\", { className: \"svc-property-grid-placeholder__title\" }, editorLocalization.getString(\"ed.propertyGridPlaceholderTitle\")),\n React.createElement(\"span\", { className: \"svc-property-grid-placeholder__description\" }, editorLocalization.getString(\"ed.propertyGridPlaceholderDescription\"))),\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__content\" },\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__gap\" }),\n React.createElement(\"div\", { className: \"svc-property-grid-placeholder__image\" }))));\n };\n return PropertyGridPlaceholderComponent;\n}(React.Component));\nexport { PropertyGridPlaceholderComponent };\nReactElementFactory.Instance.registerElement(\"svc-property-grid-placeholder\", function (props) {\n return React.createElement(PropertyGridPlaceholderComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactQuestionFactory, ReactElementFactory } from \"survey-react-ui\";\nvar SidebarComponent = /** @class */ (function (_super) {\n __extends(SidebarComponent, _super);\n function SidebarComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.containerRef = React.createRef();\n return _this;\n }\n Object.defineProperty(SidebarComponent.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SidebarComponent.prototype.getStateElement = function () {\n return this.model;\n };\n SidebarComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.model.initResizeManager(this.containerRef.current);\n };\n SidebarComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.model.resetResizeManager();\n };\n SidebarComponent.prototype.canRender = function () {\n if (!this.model)\n return false;\n return _super.prototype.canRender.call(this);\n };\n SidebarComponent.prototype.renderElement = function () {\n var _this = this;\n var style = { display: this.model.renderRoot ? \"\" : \"none\" };\n var containerStyle = { display: this.model.renderContainer ? \"\" : \"none\" };\n var items = this.model.pages.map(function (page) { return React.createElement(SidebarPage, { page: page, key: page.id }); });\n var headerArea = ReactElementFactory.Instance.createElement(this.model.header.component, { model: this.model.header.componentModel });\n var sideArea = null;\n if (this.model.sideAreaComponentName) {\n sideArea = ReactElementFactory.Instance.createElement(this.model.sideAreaComponentName, { model: this.model.sideAreaComponentData });\n }\n return (React.createElement(\"div\", { className: this.model.rootCss, style: style },\n React.createElement(\"div\", { className: \"svc-side-bar__shadow\", onClick: function () { return _this.model.collapseSidebar(); }, style: containerStyle }),\n React.createElement(\"div\", { className: \"svc-flex-row svc-side-bar__wrapper\" },\n React.createElement(\"div\", { className: \"svc-side-bar__container-wrapper\", style: containerStyle },\n React.createElement(\"div\", { ref: this.containerRef, className: \"svc-side-bar__container\" },\n headerArea,\n React.createElement(\"div\", { className: \"svc-side-bar__container-content\" }, items))),\n sideArea)));\n };\n return SidebarComponent;\n}(SurveyElementBase));\nexport { SidebarComponent };\nvar SidebarPage = /** @class */ (function (_super) {\n __extends(SidebarPage, _super);\n function SidebarPage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SidebarPage.prototype, \"page\", {\n get: function () {\n return this.props.page;\n },\n enumerable: false,\n configurable: true\n });\n SidebarPage.prototype.getStateElement = function () {\n return this.page;\n };\n SidebarPage.prototype.renderElement = function () {\n if (!this.page.visible)\n return null;\n var component = ReactElementFactory.Instance.createElement(this.page.componentName, { model: this.page.componentData });\n return component;\n };\n return SidebarPage;\n}(SurveyElementBase));\nReactQuestionFactory.Instance.registerQuestion(\"svc-side-bar-page\", function (props) {\n return React.createElement(SidebarPage, props);\n});\nexport default SidebarComponent;\nReactElementFactory.Instance.registerElement(\"svc-side-bar\", function (props) {\n return React.createElement(SidebarComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory, SurveyActionBar } from \"survey-react-ui\";\nvar SideBarDefaultHeader = /** @class */ (function (_super) {\n __extends(SideBarDefaultHeader, _super);\n function SideBarDefaultHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SideBarDefaultHeader.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SideBarDefaultHeader.prototype.getStateElement = function () {\n return this.model;\n };\n SideBarDefaultHeader.prototype.renderElement = function () {\n var title = !!this.model.title ? (React.createElement(\"div\", { className: \"svc-side-bar__container-title\" }, this.model.title)) : null;\n return (React.createElement(\"div\", { className: \"svc-side-bar__container-header\" },\n React.createElement(\"div\", { className: \"svc-side-bar__container-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.toolbar })),\n title));\n };\n return SideBarDefaultHeader;\n}(SurveyElementBase));\nexport { SideBarDefaultHeader };\nReactElementFactory.Instance.registerElement(\"svc-side-bar-default-header\", function (props) {\n return React.createElement(SideBarDefaultHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\nvar SideBarHeader = /** @class */ (function (_super) {\n __extends(SideBarHeader, _super);\n function SideBarHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SideBarHeader.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SideBarHeader.prototype.getStateElement = function () {\n return this.model;\n };\n SideBarHeader.prototype.renderElement = function () {\n return (React.createElement(\"div\", { className: \"svc-side-bar__container-header svc-sidebar__header-container\" }, (this.model.subTitle) ?\n React.createElement(\"div\", { className: \"svc-sidebar__header-caption\" },\n React.createElement(\"span\", { className: \"svc-sidebar__header-title\" }, this.model.title),\n React.createElement(\"span\", { className: \"svc-sidebar__header-subtitle\" }, this.model.subTitle))\n : React.createElement(\"div\", { className: \"svc-side-bar__container-title\" }, this.model.title)));\n };\n return SideBarHeader;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-side-bar-header\", function (props) {\n return React.createElement(SideBarHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory, Popup, attachKey2click } from \"survey-react-ui\";\nvar SideBarPropertyGridHeader = /** @class */ (function (_super) {\n __extends(SideBarPropertyGridHeader, _super);\n function SideBarPropertyGridHeader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SideBarPropertyGridHeader.prototype, \"objectSelectionAction\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SideBarPropertyGridHeader.prototype.getStateElement = function () {\n return this.objectSelectionAction;\n };\n SideBarPropertyGridHeader.prototype.renderElement = function () {\n var _this = this;\n var button = attachKey2click(React.createElement(\"div\", { className: this.objectSelectionAction.buttonClassName, onClick: function () { return _this.objectSelectionAction.action(); } },\n React.createElement(\"div\", { className: \"svc-sidebar__header-caption\" },\n React.createElement(\"span\", { className: \"svc-sidebar__header-title\" }, this.objectSelectionAction.title),\n React.createElement(\"span\", { className: \"svc-sidebar__header-subtitle\" }, this.objectSelectionAction.tooltip))), this.props.model);\n return (React.createElement(\"div\", { className: \"svc-sidebar__header svc-sidebar__header--tabbed\" },\n React.createElement(\"div\", { className: \"svc-sidebar__header-container svc-sidebar__header-container--with-subtitle\" },\n React.createElement(\"div\", { className: \"svc-sidebar__header-content\" },\n button,\n React.createElement(Popup, { model: this.objectSelectionAction.popupModel })))));\n };\n return SideBarPropertyGridHeader;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-side-bar-property-grid-header\", function (props) {\n return React.createElement(SideBarPropertyGridHeader, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nvar TabButtonComponent = /** @class */ (function (_super) {\n __extends(TabButtonComponent, _super);\n function TabButtonComponent(props) {\n return _super.call(this, props) || this;\n }\n TabButtonComponent.prototype.getStateElement = function () {\n return this.props.model;\n };\n TabButtonComponent.prototype.renderElement = function () {\n var model = this.props.model;\n if (!model.visible)\n return null;\n var button = attachKey2click(React.createElement(\"div\", { className: model.buttonClassName, title: model.tooltip, onClick: function () { model.action(); } },\n React.createElement(\"div\", { className: \"svc-menu-action__icon\" },\n React.createElement(\"div\", { className: \"svc-menu-action__icon-container\" },\n React.createElement(SvgIcon, { iconName: model.iconName, size: \"auto\" })))), model);\n return (React.createElement(\"div\", { className: \"svc-menu-action\" }, button));\n };\n return TabButtonComponent;\n}(SurveyElementBase));\nexport { TabButtonComponent };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory, Scroll } from \"survey-react-ui\";\nimport { TabButtonComponent } from \"./TabButton\";\nvar TabControl = /** @class */ (function (_super) {\n __extends(TabControl, _super);\n function TabControl(props) {\n return _super.call(this, props) || this;\n }\n TabControl.prototype.getStateElement = function () {\n return this.props.model;\n };\n TabControl.prototype.canRender = function () {\n if (!this.props.model)\n return false;\n return _super.prototype.canRender.call(this);\n };\n TabControl.prototype.renderElement = function () {\n return (React.createElement(\"div\", { className: this.props.model.sideBarClassName },\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__top-container\" },\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__collapse-button\" },\n React.createElement(TabButtonComponent, { model: this.props.model.expandCollapseAction })),\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__separator\" },\n React.createElement(\"div\", null)),\n React.createElement(Scroll, null,\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__items\" },\n React.createElement(TabsComponent, { model: this.props.model.topToolbar })))),\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__bottom-container\" },\n React.createElement(\"div\", { className: \"svc-sidebar-tabs__items\" },\n React.createElement(TabsComponent, { model: this.props.model.bottomToolbar })))));\n };\n return TabControl;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"svc-tab-control\", function (props) {\n return React.createElement(TabControl, props);\n});\nvar TabsComponent = /** @class */ (function (_super) {\n __extends(TabsComponent, _super);\n function TabsComponent(props) {\n return _super.call(this, props) || this;\n }\n TabsComponent.prototype.getStateElement = function () {\n return this.props.model;\n };\n TabsComponent.prototype.renderElement = function () {\n return React.createElement(React.Fragment, null, this.props.model.actions.map(function (item, itemIndex) { return React.createElement(TabButtonComponent, { model: item, key: \"item\" + itemIndex }); }));\n };\n return TabsComponent;\n}(SurveyElementBase));\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from \"react\";\nimport { ReactElementFactory, Scroll, SurveyActionBar, SurveyElementBase, SurveyHeader } from \"survey-react-ui\";\nimport { SurveyPageNavigator } from \"../PageNavigator\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabDesignerComponent = /** @class */ (function (_super) {\n __extends(TabDesignerComponent, _super);\n function TabDesignerComponent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.denyUpdate = function () {\n _this.denyComponentUpdate();\n };\n _this.allowUpdate = function () {\n _this.allowComponentUpdate();\n };\n _this.addDragDropEvents = function () {\n _this.creator.onDragStart.add(_this.denyUpdate);\n _this.creator.onDragClear.add(_this.allowUpdate);\n };\n _this.clearDragDropEvents = function () {\n _this.creator.onDragStart.remove(_this.denyUpdate);\n _this.creator.onDragClear.remove(_this.allowUpdate);\n };\n return _this;\n }\n Object.defineProperty(TabDesignerComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(TabDesignerComponent.prototype, \"creator\", {\n get: function () {\n return this.model.creator;\n },\n enumerable: false,\n configurable: true\n });\n TabDesignerComponent.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n this.addDragDropEvents();\n };\n TabDesignerComponent.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.clearDragDropEvents();\n _super.prototype.componentWillUnmount.call(this);\n };\n TabDesignerComponent.prototype.getStateElements = function () {\n return [this.model, this.model.survey, this.model.pagesController];\n };\n TabDesignerComponent.prototype.getRenderedPages = function () {\n var _this = this;\n var renderedPages = [];\n if (this.creator.pageEditMode !== \"bypage\") {\n var pages = this.model.pages;\n pages.forEach(function (page) {\n renderedPages.push(_this.createRenderedPage(page, page == _this.model.newPage));\n });\n }\n else {\n var page2Display = this.model.pagesController.page2Display;\n if (!!page2Display) {\n renderedPages.push(this.createRenderedPage(page2Display, this.model.newPage === page2Display));\n }\n }\n return renderedPages;\n };\n TabDesignerComponent.prototype.createRenderedPage = function (page, isGhostPage) {\n return (React.createElement(\"div\", { className: \"svc-page\", \"data-sv-drop-target-page\": page.name, \"data-sv-drop-target-survey-element\": isGhostPage ? \"newGhostPage\" : page.name, key: page.id }, this.renderPage(page, isGhostPage)));\n };\n TabDesignerComponent.prototype.renderNewPage = function (className, key) {\n if (key === void 0) { key = \"\"; }\n return (React.createElement(React.Fragment, { key: key },\n React.createElement(\"div\", { className: className, \"data-sv-drop-target-survey-element\": \"newGhostPage\" }, !!this.model.newPage ? this.renderPage(this.model.newPage, true) : null)));\n };\n TabDesignerComponent.prototype.renderPage = function (pageV, isGhost) {\n return ReactElementFactory.Instance.createElement(\"svc-page\", { survey: this.creator.survey, page: pageV, creator: this.creator, isGhost: isGhost });\n };\n TabDesignerComponent.prototype.renderElement = function () {\n var _this = this;\n var designerTabClassName = \"svc-tab-designer \" + this.model.getRootCss();\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-flex-column\" }, this.model.isToolboxVisible ? ReactElementFactory.Instance.createElement(\"svc-toolbox\", { model: this.creator }) : null),\n React.createElement(\"div\", { className: designerTabClassName, onClick: function () { return _this.model.clickDesigner(); } },\n React.createElement(Scroll, null,\n React.createElement(\"div\", { className: \"svc-tab-designer_content\" }, this.model.showPlaceholder ? this.renderPlaceHolder() : this.renderTabContent())))));\n };\n TabDesignerComponent.prototype.renderHeader = function (condition) {\n if (!condition)\n return null;\n var survey = this.creator.survey;\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"svc-designer-header\" },\n React.createElement(SurveyHeader, { survey: survey }))));\n };\n TabDesignerComponent.prototype.renderPlaceHolder = function () {\n var surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle && this.creator.showHeaderInEmptySurvey);\n return (React.createElement(React.Fragment, null,\n surveyHeader,\n React.createElement(\"div\", { className: \"svc-designer__placeholder-container\", \"data-sv-drop-target-survey-element\": \"newGhostPage\" },\n this.renderPlaceHolderContent(),\n this.renderNewPage(\"svc-designer-placeholder-page\"))));\n };\n TabDesignerComponent.prototype.renderPlaceHolderContent = function () {\n return React.createElement(SurfacePlaceholder, { name: \"designer\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n };\n TabDesignerComponent.prototype.renderTabContent = function () {\n var survey = this.creator.survey;\n var surveyHeader = this.renderHeader(this.creator.allowEditSurveyTitle);\n var style = __assign({}, this.model.surfaceCssVariables);\n style.maxWidth = survey.renderedWidth;\n var tabTools = this.renderTabTools();\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: this.model.designerCss, style: style },\n surveyHeader,\n this.getRenderedPages()),\n tabTools));\n };\n TabDesignerComponent.prototype.renderTabTools = function () {\n if (!this.model.showSurfaceTools)\n return null;\n var pageNavigator = this.creator.showPageNavigator ?\n React.createElement(\"div\", { className: \"svc-tab-designer__page-navigator\" },\n React.createElement(SurveyPageNavigator, { pagesController: this.model.pagesController, pageEditMode: this.model.creator.pageEditMode }))\n : null;\n var surfaceToolbar = this.model.showSurfaceToolbar ?\n React.createElement(SurveyActionBar, { model: this.model.surfaceToolbar, handleClick: false })\n : null;\n return React.createElement(\"div\", { className: \"svc-tab-designer__tools\" },\n pageNavigator,\n surfaceToolbar);\n };\n return TabDesignerComponent;\n}(SurveyElementBase));\nexport { TabDesignerComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-designer\", function (props) {\n return React.createElement(TabDesignerComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { TabJsonEditorErrorsComponent } from \"./JsonEditorTextarea\";\nvar TabJsonEditorAceComponent = /** @class */ (function (_super) {\n __extends(TabJsonEditorAceComponent, _super);\n function TabJsonEditorAceComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.aceEditorrRef = React.createRef();\n return _this;\n }\n TabJsonEditorAceComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(TabJsonEditorAceComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabJsonEditorAceComponent.prototype.componentDidMount = function () {\n this.model.init(ace.edit(this.aceEditorrRef.current));\n };\n TabJsonEditorAceComponent.prototype.renderElement = function () {\n var errors = React.createElement(TabJsonEditorErrorsComponent, { data: this.model });\n return (React.createElement(\"div\", { className: \"svc-creator-tab__content\" },\n React.createElement(\"div\", { className: \"svc-json-editor-tab__content\" },\n React.createElement(\"div\", { className: \"svc-json-editor-tab__ace-editor\", ref: this.aceEditorrRef }),\n errors)));\n };\n return TabJsonEditorAceComponent;\n}(SurveyElementBase));\nexport { TabJsonEditorAceComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-json-editor-ace\", function (props) {\n return React.createElement(TabJsonEditorAceComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\nvar TabJsonEditorErrorsComponent = /** @class */ (function (_super) {\n __extends(TabJsonEditorErrorsComponent, _super);\n function TabJsonEditorErrorsComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TabJsonEditorErrorsComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(TabJsonEditorErrorsComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabJsonEditorErrorsComponent.prototype.renderElement = function () {\n return React.createElement(\"div\", { className: \"svc-json-editor-tab__errros_list\", style: { display: this.model.hasErrors ? \"block\" : \"none\" } },\n React.createElement(List, { model: this.model.errorList }));\n };\n return TabJsonEditorErrorsComponent;\n}(SurveyElementBase));\nexport { TabJsonEditorErrorsComponent };\nvar TabJsonEditorTextareaComponent = /** @class */ (function (_super) {\n __extends(TabJsonEditorTextareaComponent, _super);\n function TabJsonEditorTextareaComponent(props) {\n return _super.call(this, props) || this;\n }\n TabJsonEditorTextareaComponent.prototype.getStateElement = function () {\n return this.model;\n };\n Object.defineProperty(TabJsonEditorTextareaComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabJsonEditorTextareaComponent.prototype.renderElement = function () {\n var _this = this;\n var setControl = function (el) {\n _this.model.textElement = el;\n };\n var errors = React.createElement(TabJsonEditorErrorsComponent, { data: this.model });\n return (React.createElement(\"div\", { className: \"svc-creator-tab__content\" },\n React.createElement(\"div\", { className: \"svc-json-editor-tab__content\" },\n React.createElement(\"textarea\", { ref: function (input) { return (setControl(input)); }, className: \"svc-json-editor-tab__content-area\", value: this.model.text, onChange: function (e) {\n return (_this.model.text = e.target.value);\n }, onKeyDown: function (e) { return _this.model.checkKey(e, e); }, disabled: this.model.readOnly, \"aria-label\": this.model.ariaLabel }),\n errors)));\n };\n return TabJsonEditorTextareaComponent;\n}(SurveyElementBase));\nexport { TabJsonEditorTextareaComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-json-editor-textarea\", function (props) {\n return React.createElement(TabJsonEditorTextareaComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, SvgIcon, attachKey2click } from \"survey-react-ui\";\nvar ItemTemplateComponent = /** @class */ (function (_super) {\n __extends(ItemTemplateComponent, _super);\n function ItemTemplateComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemTemplateComponent.prototype.render = function () {\n var item = this.props.item;\n return (React.createElement(React.Fragment, null,\n React.createElement(SvgIcon, { iconName: item.iconName, size: item.iconSize, className: \"svc-json-error__icon\" }),\n React.createElement(\"div\", { className: \"svc-json-error__container\" },\n React.createElement(\"div\", { className: \"svc-json-error__title\" },\n React.createElement(\"span\", { key: 2 }, this.renderLocString(item.locTitle, undefined, \"locString\"))),\n this.renderFixButton())));\n };\n ItemTemplateComponent.prototype.renderFixButton = function () {\n if (!this.props.item.data.showFixButton)\n return null;\n var item = this.props.item;\n return (attachKey2click(React.createElement(\"button\", { type: \"button\", onClick: function (event) { event.stopPropagation(); item.data.fixError(); }, title: item.data.fixButtonTitle, className: \"svc-json-error__fix-button\" },\n React.createElement(SvgIcon, { iconName: item.data.fixButtonIcon, size: \"auto\" }))));\n };\n return ItemTemplateComponent;\n}(SurveyElementBase));\nReactElementFactory.Instance.registerElement(\"json-error-item\", function (props) {\n return React.createElement(ItemTemplateComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { Fragment } from \"react\";\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, Survey, attachKey2click } from \"survey-react-ui\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabLogicAddButtonComponent = /** @class */ (function (_super) {\n __extends(TabLogicAddButtonComponent, _super);\n function TabLogicAddButtonComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabLogicAddButtonComponent.prototype, \"model\", {\n get: function () {\n return this.props.button;\n },\n enumerable: false,\n configurable: true\n });\n TabLogicAddButtonComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabLogicAddButtonComponent.prototype.renderElement = function () {\n var _this = this;\n var buttonClassName = \"svc-logic-tab__content-action svc-btn\" + ((this.model.enabled !== undefined && !this.model.enabled) ? \" svc-logic-tab__content-action--disabled\" : \"\");\n return attachKey2click(React.createElement(\"div\", { role: \"button\", onClick: function (e) {\n e.stopPropagation();\n _this.model.action();\n }, className: buttonClassName, title: this.model.title },\n React.createElement(\"span\", { className: \"svc-btn__text\" }, this.model.title)));\n };\n return TabLogicAddButtonComponent;\n}(SurveyElementBase));\nexport { TabLogicAddButtonComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-logic-add-button\", function (props) {\n return React.createElement(TabLogicAddButtonComponent, props);\n});\nvar TabLogicComponent = /** @class */ (function (_super) {\n __extends(TabLogicComponent, _super);\n function TabLogicComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabLogicComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabLogicComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabLogicComponent.prototype.renderElement = function () {\n var logic = this.model;\n var rootClass = \"svc-creator-tab__content svc-logic-tab\";\n var content = this.renderViewContent();\n return React.createElement(\"div\", { className: rootClass }, content);\n };\n TabLogicComponent.prototype.renderViewContent = function () {\n var logicTabClassName = \"svc-plugin-tab__content svc-logic-tab svc-logic-tab__content \" + (this.model.hasItems ? \"\" : \"svc-logic-tab--empty\");\n var addLogic = !this.model.readOnly ? React.createElement(TabLogicAddButtonComponent, { button: this.model.addNewButton }) : undefined;\n return (React.createElement(Fragment, null,\n React.createElement(\"div\", { className: logicTabClassName }, this.model.hasItems ?\n (React.createElement(React.Fragment, null,\n React.createElement(Survey, { model: this.model.itemsSurvey }),\n addLogic))\n : (React.createElement(\"div\", { className: \"svc-logic-tab__content-empty\" },\n React.createElement(SurfacePlaceholder, { name: \"logic\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText }),\n addLogic)))));\n };\n return TabLogicComponent;\n}(SurveyElementBase));\nexport { TabLogicComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-logic\", function (props) {\n return React.createElement(TabLogicComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyActionBar, ReactElementFactory, SurveyElementBase, attachKey2click } from \"survey-react-ui\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabPreviewTestSurveyAgainComponent = /** @class */ (function (_super) {\n __extends(TabPreviewTestSurveyAgainComponent, _super);\n function TabPreviewTestSurveyAgainComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabPreviewTestSurveyAgainComponent.prototype, \"model\", {\n get: function () {\n return this.props.model.testAgainAction;\n },\n enumerable: false,\n configurable: true\n });\n TabPreviewTestSurveyAgainComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabPreviewTestSurveyAgainComponent.prototype.renderElement = function () {\n var _this = this;\n var buttonClassName = \"svc-preview__test-again svc-btn\";\n return attachKey2click(React.createElement(\"div\", { role: \"button\", onClick: function (e) {\n e.stopPropagation();\n _this.model.action();\n }, className: buttonClassName, title: this.model.title },\n React.createElement(\"span\", { className: \"svc-btn__text\" }, this.model.title)));\n };\n return TabPreviewTestSurveyAgainComponent;\n}(SurveyElementBase));\nexport { TabPreviewTestSurveyAgainComponent };\nReactElementFactory.Instance.registerElement(\"svc-complete-page\", function (props) {\n return React.createElement(TabPreviewTestSurveyAgainComponent, props);\n});\nvar TabPreviewSurveyComponent = /** @class */ (function (_super) {\n __extends(TabPreviewSurveyComponent, _super);\n function TabPreviewSurveyComponent(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(TabPreviewSurveyComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabPreviewSurveyComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabPreviewSurveyComponent.prototype.renderPlaceholder = function () {\n return React.createElement(SurfacePlaceholder, { name: \"preview\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n };\n TabPreviewSurveyComponent.prototype.renderSimulator = function () {\n return (React.createElement(\"div\", { className: \"svc-plugin-tab__content\" },\n React.createElement(SurveySimulator, { model: this.model.simulator }),\n this.model.showResults ? React.createElement(SurveyResults, { survey: this.model.simulator.survey }) : null));\n };\n TabPreviewSurveyComponent.prototype.renderElement = function () {\n var tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (React.createElement(\"div\", { className: tabContentClassName },\n this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator(),\n this.getBottomToolbar()));\n };\n TabPreviewSurveyComponent.prototype.getBottomToolbar = function () {\n if (this.model.isPageToolbarVisible) {\n return (React.createElement(\"div\", { className: \"svc-test-tab__content-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.pages })));\n }\n else {\n return null;\n }\n };\n return TabPreviewSurveyComponent;\n}(SurveyElementBase));\nexport { TabPreviewSurveyComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-preview\", function (props) {\n return React.createElement(TabPreviewSurveyComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { Survey, SurveyElementBase } from \"survey-react-ui\";\nimport * as React from \"react\";\nvar SurveySimulator = /** @class */ (function (_super) {\n __extends(SurveySimulator, _super);\n function SurveySimulator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveySimulator.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SurveySimulator.prototype.getStateElement = function () {\n return this.model;\n };\n SurveySimulator.prototype.renderElement = function () {\n var _this = this;\n var mainSimulatorClass = this.model.getRootCss();\n if (!this.model.survey) {\n return React.createElement(\"div\", { className: mainSimulatorClass });\n }\n if (this.model.hasFrame) {\n return (React.createElement(\"div\", { className: mainSimulatorClass, onKeyDown: function (e) { return _this.model.tryToZoom(e, e); }, onMouseEnter: this.model.device === \"desktop\" ? null : this.model.activateZoom, onMouseLeave: this.model.device === \"desktop\" ? null : this.model.deactivateZoom },\n React.createElement(\"div\", { className: \"svd-simulator-wrapper\", id: \"svd-simulator-wrapper\", style: {\n width: this.model.simulatorFrame.frameWidth + \"px\",\n height: this.model.simulatorFrame.frameHeight + \"px\"\n } },\n React.createElement(\"div\", { className: \"svd-simulator\", style: {\n width: this.model.simulatorFrame.deviceWidth + \"px\",\n height: this.model.simulatorFrame.deviceHeight + \"px\",\n transform: \"scale(\" +\n this.model.simulatorFrame.scale +\n \") translate(-50%, -50%)\"\n } },\n React.createElement(\"div\", { className: \"svd-simulator-content\" },\n React.createElement(Survey, { model: this.model.survey }))))));\n }\n else {\n return (React.createElement(\"div\", { className: mainSimulatorClass },\n React.createElement(\"div\", { className: \"svd-simulator-content\" },\n React.createElement(Survey, { model: this.model.survey }))));\n }\n };\n return SurveySimulator;\n}(SurveyElementBase));\nexport { SurveySimulator };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyActionBar, ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\nvar TabThemeSurveyComponent = /** @class */ (function (_super) {\n __extends(TabThemeSurveyComponent, _super);\n function TabThemeSurveyComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabThemeSurveyComponent.prototype, \"model\", {\n get: function () {\n return this.props.data;\n },\n enumerable: false,\n configurable: true\n });\n TabThemeSurveyComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabThemeSurveyComponent.prototype.renderPlaceholder = function () {\n return React.createElement(SurfacePlaceholder, { name: \"theme\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n };\n TabThemeSurveyComponent.prototype.renderSimulator = function () {\n return (React.createElement(\"div\", { className: \"svc-plugin-tab__content\" },\n React.createElement(SurveySimulator, { model: this.model.simulator }),\n this.model.showResults ? React.createElement(SurveyResults, { survey: this.model.simulator.survey }) : null));\n };\n TabThemeSurveyComponent.prototype.renderElement = function () {\n var tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (React.createElement(\"div\", { className: tabContentClassName },\n this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator(),\n this.getBottomToolbar()));\n };\n TabThemeSurveyComponent.prototype.getBottomToolbar = function () {\n if (this.model.isPageToolbarVisible) {\n return (React.createElement(\"div\", { className: \"svc-test-tab__content-actions\" },\n React.createElement(SurveyActionBar, { model: this.model.pages })));\n }\n else {\n return null;\n }\n };\n return TabThemeSurveyComponent;\n}(SurveyElementBase));\nexport { TabThemeSurveyComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-theme\", function (props) {\n return React.createElement(TabThemeSurveyComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { initLogicOperator } from \"survey-creator-core\";\nimport { SurveyQuestionDropdown, ReactQuestionFactory } from \"survey-react-ui\";\nvar SurveyLogicOpertor = /** @class */ (function (_super) {\n __extends(SurveyLogicOpertor, _super);\n function SurveyLogicOpertor(props) {\n return _super.call(this, props) || this;\n }\n SurveyLogicOpertor.prototype.renderInput = function () {\n var q = this.question;\n initLogicOperator(q);\n var text = (q.locReadOnlyText) ? this.renderLocString(q.locReadOnlyText) : \"\";\n var dropdownListModel = this.question.dropdownListModel;\n return (React.createElement(\"div\", { id: this.question.inputId, className: q.getControlClass(), tabIndex: this.question.isInputReadOnly ? undefined : 0, \n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n disabled: this.question.isInputReadOnly, required: this.question.isRequired, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onKeyUp: this.keyhandler, role: dropdownListModel.ariaQuestionRole, \"aria-required\": dropdownListModel.ariaQuestionRequired, \"aria-invalid\": dropdownListModel.ariaQuestionInvalid, \"aria-errormessage\": dropdownListModel.ariaQuestionErrorMessage, \"aria-expanded\": dropdownListModel.ariaQuestionExpanded, \"aria-label\": dropdownListModel.ariaQuestionLabel, \"aria-labelledby\": dropdownListModel.ariaQuestionLabelledby, \"aria-controls\": dropdownListModel.ariaQuestionControls },\n React.createElement(\"div\", { className: this.question.cssClasses.controlValue }, text)));\n };\n SurveyLogicOpertor.prototype.renderEditorButtons = function () {\n return null;\n };\n return SurveyLogicOpertor;\n}(SurveyQuestionDropdown));\nexport { SurveyLogicOpertor };\nReactQuestionFactory.Instance.registerQuestion(\"sv-logic-operator\", function (props) {\n return React.createElement(SurveyLogicOpertor, props);\n});\nRendererFactory.Instance.registerRenderer(\"dropdown\", \"logicoperator\", \"sv-logic-operator\");\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\nvar TranslateFromAction = /** @class */ (function (_super) {\n __extends(TranslateFromAction, _super);\n function TranslateFromAction() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TranslateFromAction.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n TranslateFromAction.prototype.getStateElement = function () {\n return this.item;\n };\n TranslateFromAction.prototype.renderElement = function () {\n var item = this.item;\n return (React.createElement(\"div\", { className: item.data.containerCss },\n React.createElement(\"span\", { className: item.data.additionalTitleCss }, item.data.additionalTitle),\n ReactElementFactory.Instance.createElement(\"sv-action-bar-item-dropdown\", { item: this.item })));\n };\n return TranslateFromAction;\n}(SurveyElementBase));\nexport { TranslateFromAction };\nReactElementFactory.Instance.registerElement(\"svc-translate-from-action\", function (props) {\n return React.createElement(TranslateFromAction, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, Survey } from \"survey-react-ui\";\nimport { SurfacePlaceholder } from \"../../components/SurfacePlaceholder\";\nvar TabTranslationComponent = /** @class */ (function (_super) {\n __extends(TabTranslationComponent, _super);\n function TabTranslationComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(TabTranslationComponent.prototype, \"model\", {\n get: function () {\n return this.props.data || this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n TabTranslationComponent.prototype.getStateElement = function () {\n return this.model;\n };\n TabTranslationComponent.prototype.renderElement = function () {\n if (!this.model)\n return null;\n return (React.createElement(\"div\", { className: \"svc-creator-tab__content svc-translation-tab\" + (this.model.isEmpty ? \" svc-translation-tab--empty\" : \"\") }, this.renderElementContent()));\n };\n TabTranslationComponent.prototype.renderElementContent = function () {\n if (this.model.isEmpty) {\n return React.createElement(SurfacePlaceholder, { name: \"translation\", placeholderTitleText: this.model.placeholderTitleText, placeholderDescriptionText: this.model.placeholderDescriptionText });\n }\n else {\n return (React.createElement(\"div\", { className: \"st-content\" },\n React.createElement(\"div\", { className: \"svc-flex-column st-strings-wrapper\" },\n React.createElement(\"div\", { className: \"svc-flex-row st-strings-header\" },\n React.createElement(Survey, { model: this.model.stringsHeaderSurvey })),\n React.createElement(\"div\", { className: \"svc-flex-row svc-plugin-tab__content st-strings\" },\n React.createElement(Survey, { model: this.model.stringsSurvey })))));\n }\n };\n return TabTranslationComponent;\n}(SurveyElementBase));\nexport { TabTranslationComponent };\nReactElementFactory.Instance.registerElement(\"svc-tab-translation\", function (props) {\n return React.createElement(TabTranslationComponent, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nvar TranslationLineSkeleton = /** @class */ (function (_super) {\n __extends(TranslationLineSkeleton, _super);\n function TranslationLineSkeleton() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TranslationLineSkeleton.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"sd-translation-line-skeleton\" }));\n };\n return TranslationLineSkeleton;\n}(React.Component));\nexport { TranslationLineSkeleton };\nReactElementFactory.Instance.registerElement(\"sd-translation-line-skeleton\", function (props) {\n return React.createElement(TranslationLineSkeleton, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase, Scroll } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nimport { SearchComponent } from \"../components/Search\";\nimport { SurveyCreatorToolboxCategory } from \"./ToolboxCategory\";\nvar AdaptiveToolbox = /** @class */ (function (_super) {\n __extends(AdaptiveToolbox, _super);\n function AdaptiveToolbox(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n AdaptiveToolbox.prototype.componentDidUpdate = function (prevProps, prevState) {\n _super.prototype.componentDidUpdate.call(this, prevProps, prevState);\n var container = this.rootRef.current;\n if (container) {\n this.toolbox.afterRender(container);\n }\n };\n AdaptiveToolbox.prototype.componentDidMount = function () {\n _super.prototype.componentDidMount.call(this);\n var container = this.rootRef.current;\n if (container) {\n this.toolbox.afterRender(container);\n }\n };\n AdaptiveToolbox.prototype.componentWillUnmount = function () {\n this.toolbox.beforeDestroy();\n _super.prototype.componentWillUnmount.call(this);\n };\n Object.defineProperty(AdaptiveToolbox.prototype, \"creator\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(AdaptiveToolbox.prototype, \"toolbox\", {\n get: function () {\n return this.creator.toolbox;\n },\n enumerable: false,\n configurable: true\n });\n AdaptiveToolbox.prototype.getStateElement = function () {\n return this.toolbox;\n };\n AdaptiveToolbox.prototype.renderItems = function (items, isCompact) {\n var _this = this;\n if (isCompact === void 0) { isCompact = false; }\n return items.map(function (item, itemIndex) {\n return React.createElement(SurveyCreatorToolboxTool, { item: item, creator: _this.creator, parentModel: _this.toolbox, isCompact: isCompact, key: item.renderedId });\n });\n };\n AdaptiveToolbox.prototype.renderCategories = function () {\n var _this = this;\n return this.toolbox.categories.map(function (category, index) {\n return React.createElement(SurveyCreatorToolboxCategory, { category: category, toolbox: _this.toolbox, key: \"category\" + index });\n });\n };\n AdaptiveToolbox.prototype.renderSearch = function () {\n var searchButton = this.toolbox.isCompactRendered ?\n React.createElement(React.Fragment, null,\n React.createElement(SurveyCreatorToolboxTool, { item: this.toolbox.searchItem, creator: this.creator, parentModel: this.toolbox, isCompact: this.toolbox.isCompactRendered, key: \"searchitem\" })) :\n null;\n return (React.createElement(\"div\", { className: \"svc-toolbox__search-container\" },\n searchButton,\n React.createElement(SearchComponent, { model: this.toolbox.searchManager }),\n React.createElement(\"div\", { className: \"svc-toolbox__category-separator svc-toolbox__category-separator--search\" })));\n };\n AdaptiveToolbox.prototype.render = function () {\n var _this = this;\n var search = this.toolbox.showSearch ? this.renderSearch() : null;\n var placeholder = this.toolbox.showPlaceholder ? React.createElement(\"div\", { className: \"svc-toolbox__placeholder\" }, this.toolbox.toolboxNoResultsFound) : null;\n return (React.createElement(\"div\", { ref: this.rootRef, className: this.toolbox.classNames, style: this.toolbox.getRootStyle() },\n React.createElement(\"div\", { onBlur: function (e) { return _this.toolbox.focusOut(e); }, className: \"svc-toolbox__panel\" },\n search,\n placeholder,\n React.createElement(Scroll, null, (this.toolbox.showInSingleCategory) ?\n (React.createElement(\"div\", { className: \"svc-toolbox__category\" }, this.renderItems(this.toolbox.renderedActions, this.toolbox.isCompactRendered)))\n : this.renderCategories()))));\n };\n return AdaptiveToolbox;\n}(SurveyElementBase));\nexport { AdaptiveToolbox };\nReactElementFactory.Instance.registerElement(\"svc-toolbox\", function (props) {\n return React.createElement(AdaptiveToolbox, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nvar SurveyCreatorToolboxCategory = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxCategory, _super);\n function SurveyCreatorToolboxCategory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(SurveyCreatorToolboxCategory.prototype, \"category\", {\n get: function () {\n return this.props.category;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxCategory.prototype, \"toolbox\", {\n get: function () {\n return this.props.toolbox;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxCategory.prototype, \"class\", {\n get: function () {\n return \"svc-toolbox__category\" +\n (this.category.collapsed ? \" svc-toolbox__category--collapsed\" : \"\") +\n (this.category.empty ? \" svc-toolbox__category--empty\" : \"\");\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxCategory.prototype.getStateElement = function () {\n return this.category;\n };\n SurveyCreatorToolboxCategory.prototype.render = function () {\n var header = this.renderCategoryHeader();\n var items = this.renderCategoryContent();\n return (React.createElement(\"div\", { className: this.class, key: this.category.name },\n React.createElement(\"div\", { className: \"svc-toolbox__category-header-wrapper\" }, header),\n items));\n };\n SurveyCreatorToolboxCategory.prototype.renderCategoryHeader = function () {\n var _this = this;\n var className = \"svc-toolbox__category-header\";\n if (this.toolbox.canCollapseCategories) {\n className += \" svc-toolbox__category-header--collapsed\";\n }\n return attachKey2click(React.createElement(\"div\", { className: className, onClick: function (e) { return _this.category.toggleState(); } },\n React.createElement(\"span\", { className: \"svc-toolbox__category-title\" }, this.category.title),\n this.renderButton()));\n };\n SurveyCreatorToolboxCategory.prototype.renderButton = function () {\n if (!this.toolbox.canCollapseCategories)\n return null;\n var iconName = this.category.iconName;\n return (React.createElement(\"div\", { className: \"svc-toolbox__category-header__controls\" },\n React.createElement(SvgIcon, { className: this.category.iconClassName, iconName: iconName, size: \"auto\" })));\n };\n SurveyCreatorToolboxCategory.prototype.renderCategoryContent = function () {\n return this.renderItems(this.category.items);\n };\n SurveyCreatorToolboxCategory.prototype.renderItems = function (items, isCompact) {\n var _this = this;\n if (isCompact === void 0) { isCompact = false; }\n return items.map(function (item, itemIndex) {\n return React.createElement(SurveyCreatorToolboxTool, { item: item, creator: _this.toolbox.creator, parentModel: _this.toolbox, isCompact: isCompact, key: \"item\" + itemIndex });\n });\n };\n return SurveyCreatorToolboxCategory;\n}(SurveyElementBase));\nexport { SurveyCreatorToolboxCategory };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-category\", function (props) {\n return React.createElement(SurveyCreatorToolboxCategory, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { createElement } from \"react\";\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { ToolboxToolViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nvar SurveyCreatorToolboxTool = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxTool, _super);\n function SurveyCreatorToolboxTool(props) {\n var _this = _super.call(this, props) || this;\n _this.rootRef = React.createRef();\n return _this;\n }\n SurveyCreatorToolboxTool.prototype.createModel = function (props) {\n this.model = new ToolboxToolViewModel(props.item, props.creator, props.parentModel);\n };\n SurveyCreatorToolboxTool.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"item\"];\n };\n Object.defineProperty(SurveyCreatorToolboxTool.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxTool.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxTool.prototype, \"isCompact\", {\n get: function () {\n return this.props.isCompact;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxTool.prototype.getStateElement = function () {\n return this.item;\n };\n SurveyCreatorToolboxTool.prototype.render = function () {\n var _this = this;\n var item = this.item;\n var itemComponent = ReactElementFactory.Instance.createElement(this.model.itemComponent, {\n item: item,\n creator: this.creator,\n parentModel: this.creator.toolbox,\n model: this.model,\n isCompact: this.isCompact\n });\n return (React.createElement(\"div\", { className: item.css, key: item.id, ref: this.rootRef },\n (item.needSeparator && !this.creator.toolbox.showCategoryTitles) ? (React.createElement(\"div\", { className: \"svc-toolbox__category-separator\" })) : null,\n React.createElement(\"div\", { className: \"svc-toolbox__tool-content sv-action__content\", onPointerDown: function (event) {\n event.persist();\n _this.model.onPointerDown(event);\n } }, itemComponent)));\n };\n SurveyCreatorToolboxTool.prototype.componentWillUnmount = function () {\n _super.prototype.componentWillUnmount.call(this);\n this.item.updateModeCallback = undefined;\n };\n SurveyCreatorToolboxTool.prototype.componentDidMount = function () {\n var _this = this;\n _super.prototype.componentDidMount.call(this);\n this.item.updateModeCallback = function (mode, callback) {\n queueMicrotask(function () {\n if (ReactDOM[\"flushSync\"]) {\n ReactDOM[\"flushSync\"](function () {\n _this.item.mode = mode;\n });\n }\n else {\n _this.item.mode = mode;\n }\n queueMicrotask(function () {\n callback(mode, _this.rootRef.current);\n });\n });\n };\n this.item.afterRender();\n };\n return SurveyCreatorToolboxTool;\n}(CreatorModelElement));\nexport { SurveyCreatorToolboxTool };\nvar SurveyCreatorToolboxItem = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxItem, _super);\n function SurveyCreatorToolboxItem(props) {\n return _super.call(this, props) || this;\n }\n SurveyCreatorToolboxItem.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"item\"];\n };\n Object.defineProperty(SurveyCreatorToolboxItem.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItem.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItem.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxItem.prototype.getStateElement = function () {\n return this.model;\n };\n SurveyCreatorToolboxItem.prototype.render = function () {\n var _this = this;\n var banner = (this.props.isCompact ?\n React.createElement(\"span\", { className: \"svc-toolbox__item-banner\", onClick: function (event) {\n event.persist();\n _this.model.click(event);\n } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.item.iconName, className: \"svc-toolbox__item-icon\", title: this.item.tooltip }),\n React.createElement(\"span\", null, this.item.title))\n :\n null);\n var item = attachKey2click(React.createElement(\"div\", { className: this.item.renderedCss, tabIndex: 0, role: \"button\", \"aria-label\": this.item.tooltip, onClick: function (event) {\n event.persist();\n _this.model.click(event);\n } },\n React.createElement(\"span\", { className: \"svc-toolbox__item-container\" }, !!this.item.iconName ? React.createElement(SvgIcon, { size: \"auto\", iconName: this.item.iconName, className: \"svc-toolbox__item-icon\" }) : null),\n (this.props.isCompact ?\n null\n :\n React.createElement(\"span\", { className: \"svc-toolbox__item-title\" }, this.item.title))));\n return (React.createElement(React.Fragment, null,\n item,\n banner));\n };\n return SurveyCreatorToolboxItem;\n}(CreatorModelElement));\nexport { SurveyCreatorToolboxItem };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item\", function (props) {\n return createElement(SurveyCreatorToolboxItem, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { Popup, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { SurveyCreatorToolboxItem } from \"./ToolboxItem\";\nvar SurveyCreatorToolboxItemGroup = /** @class */ (function (_super) {\n __extends(SurveyCreatorToolboxItemGroup, _super);\n function SurveyCreatorToolboxItemGroup(props) {\n return _super.call(this, props) || this;\n }\n SurveyCreatorToolboxItemGroup.prototype.getUpdatedModelProps = function () {\n return [\"creator\", \"item\"];\n };\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"item\", {\n get: function () {\n return this.props.item;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"isCompact\", {\n get: function () {\n return this.props.isCompact;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SurveyCreatorToolboxItemGroup.prototype, \"parentModel\", {\n get: function () {\n return this.props.parentModel;\n },\n enumerable: false,\n configurable: true\n });\n SurveyCreatorToolboxItemGroup.prototype.getStateElement = function () {\n return this.item;\n };\n SurveyCreatorToolboxItemGroup.prototype.render = function () {\n var _this = this;\n return React.createElement(React.Fragment, null,\n React.createElement(SurveyCreatorToolboxItem, { item: this.item, creator: this.creator, model: this.model, parentModel: this.parentModel, isCompact: this.isCompact }),\n React.createElement(\"div\", { className: \"svc-toolbox__item-submenu-button\", onMouseOver: function (event) { return _this.model.onMouseOver(_this.item, event); }, onMouseLeave: function (event) { return _this.model.onMouseLeave(_this.item, event); } },\n React.createElement(SvgIcon, { size: \"auto\", iconName: this.item.subitemsButtonIcon }),\n React.createElement(Popup, { model: this.item.popupModel })));\n };\n return SurveyCreatorToolboxItemGroup;\n}(CreatorModelElement));\nexport { SurveyCreatorToolboxItemGroup };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item-group\", function (props) {\n return React.createElement(SurveyCreatorToolboxItemGroup, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from \"react\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nvar ToolboxList = /** @class */ (function (_super) {\n __extends(ToolboxList, _super);\n function ToolboxList(props) {\n return _super.call(this, props) || this;\n }\n Object.defineProperty(ToolboxList.prototype, \"model\", {\n get: function () {\n return this.props.model;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ToolboxList.prototype, \"creator\", {\n get: function () {\n return this.props.creator;\n },\n enumerable: false,\n configurable: true\n });\n ToolboxList.prototype.getStateElement = function () {\n return this.model;\n };\n ToolboxList.prototype.render = function () {\n if (!this.model || !this.model.renderElements)\n return null;\n var items = this.renderItems();\n return (React.createElement(\"div\", { className: this.model.cssClasses.root }, items));\n };\n ToolboxList.prototype.renderItems = function () {\n var _this = this;\n var items = this.model.renderedActions;\n return items.map(function (item, itemIndex) {\n return React.createElement(SurveyCreatorToolboxTool, { item: item, creator: _this.creator, parentModel: _this.model, isCompact: false, key: \"item\" + itemIndex });\n });\n };\n return ToolboxList;\n}(SurveyElementBase));\nexport { ToolboxList };\nReactElementFactory.Instance.registerElement(\"svc-toolbox-list\", function (props) {\n return React.createElement(ToolboxList, props);\n});\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport { preact } from \"survey-js-ui\";\n// eslint-disable-next-line surveyjs/no-imports-from-entries\nimport { SurveyCreatorComponent, SurveyCreator as SurveyCreatorReact } from \"../../survey-creator-react/src/entries/index\";\nexport function renderSurveyCreator(creator, element, props) {\n if (props === void 0) { props = {}; }\n var node = element;\n if (typeof element === \"string\") {\n node = document.getElementById(element);\n }\n var survey = preact.createElement(SurveyCreatorComponent, __assign({ creator: creator }, props));\n preact.render(survey, node);\n}\nvar SurveyCreator = /** @class */ (function (_super) {\n __extends(SurveyCreator, _super);\n function SurveyCreator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SurveyCreator.prototype.render = function (target) {\n renderSurveyCreator(this, target);\n };\n return SurveyCreator;\n}(SurveyCreatorReact));\nexport { SurveyCreator };\nif (typeof window !== \"undefined\") {\n var jQuery_1 = window[\"jQuery\"] || window[\"$\"];\n if (!!jQuery_1) {\n jQuery_1[\"fn\"].extend({\n SurveyCreator: function (props) {\n return this.each(function () {\n renderSurveyCreator(props.model, this, props);\n });\n },\n });\n }\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_creator_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_js_ui__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"../../survey-creator-react/src/entries/index-wc\";\nexport * from \"../src/index\";\n"],"names":[],"sourceRoot":""}
|