survey-react-ui 1.9.89 → 1.9.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-react-ui.js +8 -515
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-react-ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.91",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"typings": "survey-react-ui.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"survey-core": "1.9.
|
|
24
|
+
"survey-core": "1.9.91",
|
|
25
25
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
26
26
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
|
|
27
27
|
}
|
package/survey-react-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.91
|
|
3
3
|
* Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -101,505 +101,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
101
101
|
/************************************************************************/
|
|
102
102
|
/******/ ({
|
|
103
103
|
|
|
104
|
-
/***/ "./node_modules/process/browser.js":
|
|
105
|
-
/*!*****************************************!*\
|
|
106
|
-
!*** ./node_modules/process/browser.js ***!
|
|
107
|
-
\*****************************************/
|
|
108
|
-
/*! no static exports found */
|
|
109
|
-
/***/ (function(module, exports) {
|
|
110
|
-
|
|
111
|
-
// shim for using process in browser
|
|
112
|
-
var process = module.exports = {};
|
|
113
|
-
|
|
114
|
-
// cached from whatever global is present so that test runners that stub it
|
|
115
|
-
// don't break things. But we need to wrap it in a try catch in case it is
|
|
116
|
-
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
|
117
|
-
// function because try/catches deoptimize in certain engines.
|
|
118
|
-
|
|
119
|
-
var cachedSetTimeout;
|
|
120
|
-
var cachedClearTimeout;
|
|
121
|
-
|
|
122
|
-
function defaultSetTimout() {
|
|
123
|
-
throw new Error('setTimeout has not been defined');
|
|
124
|
-
}
|
|
125
|
-
function defaultClearTimeout () {
|
|
126
|
-
throw new Error('clearTimeout has not been defined');
|
|
127
|
-
}
|
|
128
|
-
(function () {
|
|
129
|
-
try {
|
|
130
|
-
if (typeof setTimeout === 'function') {
|
|
131
|
-
cachedSetTimeout = setTimeout;
|
|
132
|
-
} else {
|
|
133
|
-
cachedSetTimeout = defaultSetTimout;
|
|
134
|
-
}
|
|
135
|
-
} catch (e) {
|
|
136
|
-
cachedSetTimeout = defaultSetTimout;
|
|
137
|
-
}
|
|
138
|
-
try {
|
|
139
|
-
if (typeof clearTimeout === 'function') {
|
|
140
|
-
cachedClearTimeout = clearTimeout;
|
|
141
|
-
} else {
|
|
142
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
143
|
-
}
|
|
144
|
-
} catch (e) {
|
|
145
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
146
|
-
}
|
|
147
|
-
} ())
|
|
148
|
-
function runTimeout(fun) {
|
|
149
|
-
if (cachedSetTimeout === setTimeout) {
|
|
150
|
-
//normal enviroments in sane situations
|
|
151
|
-
return setTimeout(fun, 0);
|
|
152
|
-
}
|
|
153
|
-
// if setTimeout wasn't available but was latter defined
|
|
154
|
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
155
|
-
cachedSetTimeout = setTimeout;
|
|
156
|
-
return setTimeout(fun, 0);
|
|
157
|
-
}
|
|
158
|
-
try {
|
|
159
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
160
|
-
return cachedSetTimeout(fun, 0);
|
|
161
|
-
} catch(e){
|
|
162
|
-
try {
|
|
163
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
164
|
-
return cachedSetTimeout.call(null, fun, 0);
|
|
165
|
-
} catch(e){
|
|
166
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
167
|
-
return cachedSetTimeout.call(this, fun, 0);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
function runClearTimeout(marker) {
|
|
174
|
-
if (cachedClearTimeout === clearTimeout) {
|
|
175
|
-
//normal enviroments in sane situations
|
|
176
|
-
return clearTimeout(marker);
|
|
177
|
-
}
|
|
178
|
-
// if clearTimeout wasn't available but was latter defined
|
|
179
|
-
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
180
|
-
cachedClearTimeout = clearTimeout;
|
|
181
|
-
return clearTimeout(marker);
|
|
182
|
-
}
|
|
183
|
-
try {
|
|
184
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
185
|
-
return cachedClearTimeout(marker);
|
|
186
|
-
} catch (e){
|
|
187
|
-
try {
|
|
188
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
189
|
-
return cachedClearTimeout.call(null, marker);
|
|
190
|
-
} catch (e){
|
|
191
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
192
|
-
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
193
|
-
return cachedClearTimeout.call(this, marker);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
var queue = [];
|
|
201
|
-
var draining = false;
|
|
202
|
-
var currentQueue;
|
|
203
|
-
var queueIndex = -1;
|
|
204
|
-
|
|
205
|
-
function cleanUpNextTick() {
|
|
206
|
-
if (!draining || !currentQueue) {
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
draining = false;
|
|
210
|
-
if (currentQueue.length) {
|
|
211
|
-
queue = currentQueue.concat(queue);
|
|
212
|
-
} else {
|
|
213
|
-
queueIndex = -1;
|
|
214
|
-
}
|
|
215
|
-
if (queue.length) {
|
|
216
|
-
drainQueue();
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
function drainQueue() {
|
|
221
|
-
if (draining) {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
var timeout = runTimeout(cleanUpNextTick);
|
|
225
|
-
draining = true;
|
|
226
|
-
|
|
227
|
-
var len = queue.length;
|
|
228
|
-
while(len) {
|
|
229
|
-
currentQueue = queue;
|
|
230
|
-
queue = [];
|
|
231
|
-
while (++queueIndex < len) {
|
|
232
|
-
if (currentQueue) {
|
|
233
|
-
currentQueue[queueIndex].run();
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
queueIndex = -1;
|
|
237
|
-
len = queue.length;
|
|
238
|
-
}
|
|
239
|
-
currentQueue = null;
|
|
240
|
-
draining = false;
|
|
241
|
-
runClearTimeout(timeout);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
process.nextTick = function (fun) {
|
|
245
|
-
var args = new Array(arguments.length - 1);
|
|
246
|
-
if (arguments.length > 1) {
|
|
247
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
248
|
-
args[i - 1] = arguments[i];
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
queue.push(new Item(fun, args));
|
|
252
|
-
if (queue.length === 1 && !draining) {
|
|
253
|
-
runTimeout(drainQueue);
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
// v8 likes predictible objects
|
|
258
|
-
function Item(fun, array) {
|
|
259
|
-
this.fun = fun;
|
|
260
|
-
this.array = array;
|
|
261
|
-
}
|
|
262
|
-
Item.prototype.run = function () {
|
|
263
|
-
this.fun.apply(null, this.array);
|
|
264
|
-
};
|
|
265
|
-
process.title = 'browser';
|
|
266
|
-
process.browser = true;
|
|
267
|
-
process.env = {};
|
|
268
|
-
process.argv = [];
|
|
269
|
-
process.version = ''; // empty string to avoid regexp issues
|
|
270
|
-
process.versions = {};
|
|
271
|
-
|
|
272
|
-
function noop() {}
|
|
273
|
-
|
|
274
|
-
process.on = noop;
|
|
275
|
-
process.addListener = noop;
|
|
276
|
-
process.once = noop;
|
|
277
|
-
process.off = noop;
|
|
278
|
-
process.removeListener = noop;
|
|
279
|
-
process.removeAllListeners = noop;
|
|
280
|
-
process.emit = noop;
|
|
281
|
-
process.prependListener = noop;
|
|
282
|
-
process.prependOnceListener = noop;
|
|
283
|
-
|
|
284
|
-
process.listeners = function (name) { return [] }
|
|
285
|
-
|
|
286
|
-
process.binding = function (name) {
|
|
287
|
-
throw new Error('process.binding is not supported');
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
process.cwd = function () { return '/' };
|
|
291
|
-
process.chdir = function (dir) {
|
|
292
|
-
throw new Error('process.chdir is not supported');
|
|
293
|
-
};
|
|
294
|
-
process.umask = function() { return 0; };
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
/***/ }),
|
|
298
|
-
|
|
299
|
-
/***/ "./node_modules/setimmediate/setImmediate.js":
|
|
300
|
-
/*!***************************************************!*\
|
|
301
|
-
!*** ./node_modules/setimmediate/setImmediate.js ***!
|
|
302
|
-
\***************************************************/
|
|
303
|
-
/*! no static exports found */
|
|
304
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
305
|
-
|
|
306
|
-
/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {
|
|
307
|
-
"use strict";
|
|
308
|
-
|
|
309
|
-
if (global.setImmediate) {
|
|
310
|
-
return;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
var nextHandle = 1; // Spec says greater than zero
|
|
314
|
-
var tasksByHandle = {};
|
|
315
|
-
var currentlyRunningATask = false;
|
|
316
|
-
var doc = global.document;
|
|
317
|
-
var registerImmediate;
|
|
318
|
-
|
|
319
|
-
function setImmediate(callback) {
|
|
320
|
-
// Callback can either be a function or a string
|
|
321
|
-
if (typeof callback !== "function") {
|
|
322
|
-
callback = new Function("" + callback);
|
|
323
|
-
}
|
|
324
|
-
// Copy function arguments
|
|
325
|
-
var args = new Array(arguments.length - 1);
|
|
326
|
-
for (var i = 0; i < args.length; i++) {
|
|
327
|
-
args[i] = arguments[i + 1];
|
|
328
|
-
}
|
|
329
|
-
// Store and register the task
|
|
330
|
-
var task = { callback: callback, args: args };
|
|
331
|
-
tasksByHandle[nextHandle] = task;
|
|
332
|
-
registerImmediate(nextHandle);
|
|
333
|
-
return nextHandle++;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
function clearImmediate(handle) {
|
|
337
|
-
delete tasksByHandle[handle];
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
function run(task) {
|
|
341
|
-
var callback = task.callback;
|
|
342
|
-
var args = task.args;
|
|
343
|
-
switch (args.length) {
|
|
344
|
-
case 0:
|
|
345
|
-
callback();
|
|
346
|
-
break;
|
|
347
|
-
case 1:
|
|
348
|
-
callback(args[0]);
|
|
349
|
-
break;
|
|
350
|
-
case 2:
|
|
351
|
-
callback(args[0], args[1]);
|
|
352
|
-
break;
|
|
353
|
-
case 3:
|
|
354
|
-
callback(args[0], args[1], args[2]);
|
|
355
|
-
break;
|
|
356
|
-
default:
|
|
357
|
-
callback.apply(undefined, args);
|
|
358
|
-
break;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
function runIfPresent(handle) {
|
|
363
|
-
// From the spec: "Wait until any invocations of this algorithm started before this one have completed."
|
|
364
|
-
// So if we're currently running a task, we'll need to delay this invocation.
|
|
365
|
-
if (currentlyRunningATask) {
|
|
366
|
-
// Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a
|
|
367
|
-
// "too much recursion" error.
|
|
368
|
-
setTimeout(runIfPresent, 0, handle);
|
|
369
|
-
} else {
|
|
370
|
-
var task = tasksByHandle[handle];
|
|
371
|
-
if (task) {
|
|
372
|
-
currentlyRunningATask = true;
|
|
373
|
-
try {
|
|
374
|
-
run(task);
|
|
375
|
-
} finally {
|
|
376
|
-
clearImmediate(handle);
|
|
377
|
-
currentlyRunningATask = false;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
function installNextTickImplementation() {
|
|
384
|
-
registerImmediate = function(handle) {
|
|
385
|
-
process.nextTick(function () { runIfPresent(handle); });
|
|
386
|
-
};
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
function canUsePostMessage() {
|
|
390
|
-
// The test against `importScripts` prevents this implementation from being installed inside a web worker,
|
|
391
|
-
// where `global.postMessage` means something completely different and can't be used for this purpose.
|
|
392
|
-
if (global.postMessage && !global.importScripts) {
|
|
393
|
-
var postMessageIsAsynchronous = true;
|
|
394
|
-
var oldOnMessage = global.onmessage;
|
|
395
|
-
global.onmessage = function() {
|
|
396
|
-
postMessageIsAsynchronous = false;
|
|
397
|
-
};
|
|
398
|
-
global.postMessage("", "*");
|
|
399
|
-
global.onmessage = oldOnMessage;
|
|
400
|
-
return postMessageIsAsynchronous;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
function installPostMessageImplementation() {
|
|
405
|
-
// Installs an event handler on `global` for the `message` event: see
|
|
406
|
-
// * https://developer.mozilla.org/en/DOM/window.postMessage
|
|
407
|
-
// * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages
|
|
408
|
-
|
|
409
|
-
var messagePrefix = "setImmediate$" + Math.random() + "$";
|
|
410
|
-
var onGlobalMessage = function(event) {
|
|
411
|
-
if (event.source === global &&
|
|
412
|
-
typeof event.data === "string" &&
|
|
413
|
-
event.data.indexOf(messagePrefix) === 0) {
|
|
414
|
-
runIfPresent(+event.data.slice(messagePrefix.length));
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
if (global.addEventListener) {
|
|
419
|
-
global.addEventListener("message", onGlobalMessage, false);
|
|
420
|
-
} else {
|
|
421
|
-
global.attachEvent("onmessage", onGlobalMessage);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
registerImmediate = function(handle) {
|
|
425
|
-
global.postMessage(messagePrefix + handle, "*");
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
function installMessageChannelImplementation() {
|
|
430
|
-
var channel = new MessageChannel();
|
|
431
|
-
channel.port1.onmessage = function(event) {
|
|
432
|
-
var handle = event.data;
|
|
433
|
-
runIfPresent(handle);
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
registerImmediate = function(handle) {
|
|
437
|
-
channel.port2.postMessage(handle);
|
|
438
|
-
};
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
function installReadyStateChangeImplementation() {
|
|
442
|
-
var html = doc.documentElement;
|
|
443
|
-
registerImmediate = function(handle) {
|
|
444
|
-
// Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted
|
|
445
|
-
// into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.
|
|
446
|
-
var script = doc.createElement("script");
|
|
447
|
-
script.onreadystatechange = function () {
|
|
448
|
-
runIfPresent(handle);
|
|
449
|
-
script.onreadystatechange = null;
|
|
450
|
-
html.removeChild(script);
|
|
451
|
-
script = null;
|
|
452
|
-
};
|
|
453
|
-
html.appendChild(script);
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
function installSetTimeoutImplementation() {
|
|
458
|
-
registerImmediate = function(handle) {
|
|
459
|
-
setTimeout(runIfPresent, 0, handle);
|
|
460
|
-
};
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
// If supported, we should attach to the prototype of global, since that is where setTimeout et al. live.
|
|
464
|
-
var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);
|
|
465
|
-
attachTo = attachTo && attachTo.setTimeout ? attachTo : global;
|
|
466
|
-
|
|
467
|
-
// Don't get fooled by e.g. browserify environments.
|
|
468
|
-
if ({}.toString.call(global.process) === "[object process]") {
|
|
469
|
-
// For Node.js before 0.9
|
|
470
|
-
installNextTickImplementation();
|
|
471
|
-
|
|
472
|
-
} else if (canUsePostMessage()) {
|
|
473
|
-
// For non-IE10 modern browsers
|
|
474
|
-
installPostMessageImplementation();
|
|
475
|
-
|
|
476
|
-
} else if (global.MessageChannel) {
|
|
477
|
-
// For web workers, where supported
|
|
478
|
-
installMessageChannelImplementation();
|
|
479
|
-
|
|
480
|
-
} else if (doc && "onreadystatechange" in doc.createElement("script")) {
|
|
481
|
-
// For IE 6–8
|
|
482
|
-
installReadyStateChangeImplementation();
|
|
483
|
-
|
|
484
|
-
} else {
|
|
485
|
-
// For older browsers
|
|
486
|
-
installSetTimeoutImplementation();
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
attachTo.setImmediate = setImmediate;
|
|
490
|
-
attachTo.clearImmediate = clearImmediate;
|
|
491
|
-
}(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self));
|
|
492
|
-
|
|
493
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../process/browser.js */ "./node_modules/process/browser.js")))
|
|
494
|
-
|
|
495
|
-
/***/ }),
|
|
496
|
-
|
|
497
|
-
/***/ "./node_modules/timers-browserify/main.js":
|
|
498
|
-
/*!************************************************!*\
|
|
499
|
-
!*** ./node_modules/timers-browserify/main.js ***!
|
|
500
|
-
\************************************************/
|
|
501
|
-
/*! no static exports found */
|
|
502
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
503
|
-
|
|
504
|
-
/* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== "undefined" && global) ||
|
|
505
|
-
(typeof self !== "undefined" && self) ||
|
|
506
|
-
window;
|
|
507
|
-
var apply = Function.prototype.apply;
|
|
508
|
-
|
|
509
|
-
// DOM APIs, for completeness
|
|
510
|
-
|
|
511
|
-
exports.setTimeout = function() {
|
|
512
|
-
return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);
|
|
513
|
-
};
|
|
514
|
-
exports.setInterval = function() {
|
|
515
|
-
return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);
|
|
516
|
-
};
|
|
517
|
-
exports.clearTimeout =
|
|
518
|
-
exports.clearInterval = function(timeout) {
|
|
519
|
-
if (timeout) {
|
|
520
|
-
timeout.close();
|
|
521
|
-
}
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
function Timeout(id, clearFn) {
|
|
525
|
-
this._id = id;
|
|
526
|
-
this._clearFn = clearFn;
|
|
527
|
-
}
|
|
528
|
-
Timeout.prototype.unref = Timeout.prototype.ref = function() {};
|
|
529
|
-
Timeout.prototype.close = function() {
|
|
530
|
-
this._clearFn.call(scope, this._id);
|
|
531
|
-
};
|
|
532
|
-
|
|
533
|
-
// Does not start the time, just sets up the members needed.
|
|
534
|
-
exports.enroll = function(item, msecs) {
|
|
535
|
-
clearTimeout(item._idleTimeoutId);
|
|
536
|
-
item._idleTimeout = msecs;
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
exports.unenroll = function(item) {
|
|
540
|
-
clearTimeout(item._idleTimeoutId);
|
|
541
|
-
item._idleTimeout = -1;
|
|
542
|
-
};
|
|
543
|
-
|
|
544
|
-
exports._unrefActive = exports.active = function(item) {
|
|
545
|
-
clearTimeout(item._idleTimeoutId);
|
|
546
|
-
|
|
547
|
-
var msecs = item._idleTimeout;
|
|
548
|
-
if (msecs >= 0) {
|
|
549
|
-
item._idleTimeoutId = setTimeout(function onTimeout() {
|
|
550
|
-
if (item._onTimeout)
|
|
551
|
-
item._onTimeout();
|
|
552
|
-
}, msecs);
|
|
553
|
-
}
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
// setimmediate attaches itself to the global object
|
|
557
|
-
__webpack_require__(/*! setimmediate */ "./node_modules/setimmediate/setImmediate.js");
|
|
558
|
-
// On some exotic environments, it's not clear which object `setimmediate` was
|
|
559
|
-
// able to install onto. Search each possibility in the same order as the
|
|
560
|
-
// `setimmediate` library.
|
|
561
|
-
exports.setImmediate = (typeof self !== "undefined" && self.setImmediate) ||
|
|
562
|
-
(typeof global !== "undefined" && global.setImmediate) ||
|
|
563
|
-
(this && this.setImmediate);
|
|
564
|
-
exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
565
|
-
(typeof global !== "undefined" && global.clearImmediate) ||
|
|
566
|
-
(this && this.clearImmediate);
|
|
567
|
-
|
|
568
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
|
|
569
|
-
|
|
570
|
-
/***/ }),
|
|
571
|
-
|
|
572
|
-
/***/ "./node_modules/webpack/buildin/global.js":
|
|
573
|
-
/*!***********************************!*\
|
|
574
|
-
!*** (webpack)/buildin/global.js ***!
|
|
575
|
-
\***********************************/
|
|
576
|
-
/*! no static exports found */
|
|
577
|
-
/***/ (function(module, exports) {
|
|
578
|
-
|
|
579
|
-
var g;
|
|
580
|
-
|
|
581
|
-
// This works in non-strict mode
|
|
582
|
-
g = (function() {
|
|
583
|
-
return this;
|
|
584
|
-
})();
|
|
585
|
-
|
|
586
|
-
try {
|
|
587
|
-
// This works if eval is allowed (see CSP)
|
|
588
|
-
g = g || new Function("return this")();
|
|
589
|
-
} catch (e) {
|
|
590
|
-
// This works if the window reference is available
|
|
591
|
-
if (typeof window === "object") g = window;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
// g can still be undefined, but nothing to do about it...
|
|
595
|
-
// We return undefined, instead of nothing here, so it's
|
|
596
|
-
// easier to handle this case. if(!global) { ...}
|
|
597
|
-
|
|
598
|
-
module.exports = g;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
/***/ }),
|
|
602
|
-
|
|
603
104
|
/***/ "./src/entries/core-export.ts":
|
|
604
105
|
/*!************************************!*\
|
|
605
106
|
!*** ./src/entries/core-export.ts ***!
|
|
@@ -1189,7 +690,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1189
690
|
|
|
1190
691
|
|
|
1191
692
|
|
|
1192
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.
|
|
693
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.91", "survey-react-ui");
|
|
1193
694
|
|
|
1194
695
|
|
|
1195
696
|
/***/ }),
|
|
@@ -5578,14 +5079,10 @@ var Survey = /** @class */ (function (_super) {
|
|
|
5578
5079
|
}
|
|
5579
5080
|
var rootCss = this.survey.getRootCss();
|
|
5580
5081
|
var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
|
|
5581
|
-
var rootStyle = {
|
|
5582
|
-
backgroundImage: this.survey.renderBackgroundImage,
|
|
5583
|
-
backgroundSize: this.survey.backgroundImageFit
|
|
5584
|
-
};
|
|
5585
5082
|
var formStyle = {
|
|
5586
5083
|
backgroundColor: this.survey.renderBackgroundOpacity
|
|
5587
5084
|
};
|
|
5588
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style:
|
|
5085
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables },
|
|
5589
5086
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("form", { onSubmit: onSubmit, style: formStyle },
|
|
5590
5087
|
customHeader,
|
|
5591
5088
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.container },
|
|
@@ -10479,8 +9976,8 @@ var SurveyQuestionTagboxItem = /** @class */ (function (_super) {
|
|
|
10479
9976
|
|
|
10480
9977
|
"use strict";
|
|
10481
9978
|
__webpack_require__.r(__webpack_exports__);
|
|
10482
|
-
/*
|
|
10483
|
-
var document =
|
|
9979
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
|
|
9980
|
+
var document = globalThis.document;
|
|
10484
9981
|
var defaultEnvironment = (!!document ? {
|
|
10485
9982
|
root: document,
|
|
10486
9983
|
_rootElement: document.body,
|
|
@@ -10984,7 +10481,6 @@ var settings = {
|
|
|
10984
10481
|
}
|
|
10985
10482
|
};
|
|
10986
10483
|
|
|
10987
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
|
|
10988
10484
|
|
|
10989
10485
|
/***/ }),
|
|
10990
10486
|
|
|
@@ -10999,9 +10495,7 @@ var settings = {
|
|
|
10999
10495
|
__webpack_require__.r(__webpack_exports__);
|
|
11000
10496
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResponsivityManager", function() { return ResponsivityManager; });
|
|
11001
10497
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerticalResponsivityManager", function() { return VerticalResponsivityManager; });
|
|
11002
|
-
/* harmony import */ var
|
|
11003
|
-
/* harmony import */ var timers__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(timers__WEBPACK_IMPORTED_MODULE_0__);
|
|
11004
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/utils/utils.ts");
|
|
10498
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils */ "./src/utils/utils.ts");
|
|
11005
10499
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
11006
10500
|
var extendStatics = function (d, b) {
|
|
11007
10501
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -11018,7 +10512,6 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
11018
10512
|
};
|
|
11019
10513
|
})();
|
|
11020
10514
|
|
|
11021
|
-
|
|
11022
10515
|
var ResponsivityManager = /** @class */ (function () {
|
|
11023
10516
|
function ResponsivityManager(container, model, itemsSelector, dotsItemSize) {
|
|
11024
10517
|
var _this = this;
|
|
@@ -11040,7 +10533,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
|
11040
10533
|
if (isResetInitialized)
|
|
11041
10534
|
_this.isInitialized = false;
|
|
11042
10535
|
else
|
|
11043
|
-
|
|
10536
|
+
setTimeout(function () { _this.process(); }, 1);
|
|
11044
10537
|
};
|
|
11045
10538
|
if (typeof ResizeObserver !== "undefined") {
|
|
11046
10539
|
this.resizeObserver = new ResizeObserver(function (_) { return _this.process(); });
|
|
@@ -11090,7 +10583,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
|
11090
10583
|
};
|
|
11091
10584
|
Object.defineProperty(ResponsivityManager.prototype, "isContainerVisible", {
|
|
11092
10585
|
get: function () {
|
|
11093
|
-
return Object(
|
|
10586
|
+
return Object(_utils__WEBPACK_IMPORTED_MODULE_0__["isContainerVisible"])(this.container);
|
|
11094
10587
|
},
|
|
11095
10588
|
enumerable: false,
|
|
11096
10589
|
configurable: true
|