@feathery/react 2.39.3 → 2.39.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
- package/cjs/elements/components/QuikFormViewer/transforms/form.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.Do9Ujq9D.js → fthry_AssistantChat.YQCuhhst.js} +4 -4
- package/cjs/{fthry_FormControl.P35fCu0k.js → fthry_FormControl._40lAY3B.js} +1 -1
- package/cjs/{fthry_InlineTooltip.Bak-7e6n.js → fthry_InlineTooltip.BfrVpfYj.js} +2 -2
- package/cjs/{fthry_Overlay.DilDYonW.js → fthry_Overlay.C6scqGHc.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.C2hrFVnH.js → fthry_PaymentMethodField.FKIxWFGb.js} +4 -4
- package/cjs/{fthry_Placeholder.B3-G02Bh.js → fthry_Placeholder.BYp77nuH.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.cKtFl23S.js → fthry_ShowEyeIcon.C9PPQrMG.js} +1 -1
- package/cjs/{fthry_highlighted-body-TPN3WLV5.BUyd2LkM.js → fthry_highlighted-body-TPN3WLV5.DV7vusTB.js} +3 -3
- package/cjs/{fthry_index.DJLW1zLP.js → fthry_index.BKgdz8wA.js} +6 -6
- package/cjs/{fthry_index.Q01SxjQX.js → fthry_index.BMoZkdA6.js} +5 -5
- package/cjs/{fthry_index.B8dM90us.js → fthry_index.B_DcdLHz.js} +6 -6
- package/cjs/{fthry_index.CvYB4XZG.js → fthry_index.BeoZ7ahe.js} +6 -6
- package/cjs/{fthry_index.9q-J6H-U.js → fthry_index.Blb-S2FV.js} +1 -1
- package/cjs/{fthry_index.CS_Y7wr2.js → fthry_index.BqjGgn8c.js} +3 -3
- package/cjs/{fthry_index.ChndtckS.js → fthry_index.C6B_9YEq.js} +1 -1
- package/cjs/{fthry_index.CVmniSIU.js → fthry_index.CAyIvRN9.js} +1 -1
- package/cjs/{fthry_index.CurkjKk3.js → fthry_index.CDpXSBnO.js} +1 -1
- package/cjs/{fthry_index.DlD_KScI.js → fthry_index.CN5FWNGo.js} +5 -5
- package/cjs/{fthry_index.Vn_GxZy5.js → fthry_index.CSa2GNkT.js} +5 -5
- package/cjs/{fthry_index.DqGd-rC0.js → fthry_index.CXfcph5D.js} +1 -1
- package/cjs/{fthry_index.CcA1lyx4.js → fthry_index.D71_kAqf.js} +2 -2
- package/cjs/{fthry_index.CZXZNqLu.js → fthry_index.DcGjJE6I.js} +8 -8
- package/cjs/{fthry_index.BGwV0ujG.js → fthry_index.DcuaSdF3.js} +6 -6
- package/cjs/{fthry_index.t1eHdn42.js → fthry_index.DhA0OYaa.js} +1 -1
- package/cjs/{fthry_index.MX2rvPw4.js → fthry_index.DuFt4scb.js} +7 -15
- package/cjs/{fthry_index.5UEJU5L5.js → fthry_index.Dx_qH62x.js} +1 -1
- package/cjs/{fthry_index.BrLNinbH.js → fthry_index.ErupPDHm.js} +1 -1
- package/cjs/{fthry_index.CzgMz0Zx.js → fthry_index.F9ntcl8d.js} +2 -2
- package/cjs/{fthry_index.BW42pxTr.js → fthry_index.UL-HkR2L.js} +150 -101
- package/cjs/{fthry_index.B6DKRqF4.js → fthry_index.WGuV-KCz.js} +4 -4
- package/cjs/{fthry_index.CIwGx-kQ.js → fthry_index.WT4DAN_S.js} +3 -3
- package/cjs/{fthry_index.vXK1VN34.js → fthry_index.ZWVnlGH6.js} +4 -4
- package/cjs/{fthry_index.DSeQsNLX.js → fthry_index.sT-w-rf1.js} +1 -1
- package/cjs/{fthry_input.C5PNyr0t.js → fthry_input.DIy-Ecsj.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.ntyfADzr.js → fthry_mermaid-O7DHMXV3.Kmx4whY_.js} +3 -3
- package/cjs/{fthry_script.DROa80lC.js → fthry_script.4CA-i2YC.js} +1 -1
- package/cjs/{fthry_styles.CHUy-8cR.js → fthry_styles.2InnXe-4.js} +79 -10
- package/cjs/{fthry_useElementSize.PV91LYqP.js → fthry_useElementSize.BsJKStem.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.CNkXldKe.js → fthry_useSalesforceSync.xD4e3uQO.js} +1 -1
- package/cjs/{fthry_webfontloader.CgPBmgxa.js → fthry_webfontloader.DMtsPRTb.js} +1 -1
- package/cjs/index.js +1 -1
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
- package/dist/elements/components/QuikFormViewer/transforms/form.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.7IHFhmWu.js → fthry_AssistantChat.hnRlYNVg.js} +4 -4
- package/dist/{fthry_FormControl.DPSb7yUR.js → fthry_FormControl.8pSBTA31.js} +1 -1
- package/dist/{fthry_InlineTooltip.CvjSSGKM.js → fthry_InlineTooltip.Bq9500oG.js} +2 -2
- package/dist/{fthry_Overlay.BV_vE3K3.js → fthry_Overlay.DEggBAsa.js} +1 -1
- package/dist/{fthry_PaymentMethodField.BRFKNkQe.js → fthry_PaymentMethodField.BKglAUrx.js} +4 -4
- package/dist/{fthry_Placeholder.Do45acle.js → fthry_Placeholder.CVnQrsv8.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.DgeKOLlH.js → fthry_ShowEyeIcon.DqjkGj6h.js} +1 -1
- package/dist/{fthry_highlighted-body-TPN3WLV5.0WkAj9kk.js → fthry_highlighted-body-TPN3WLV5.BF-Qm433.js} +3 -3
- package/dist/{fthry_index.DH2CYFCC.js → fthry_index.7adkb-Yo.js} +8 -8
- package/dist/{fthry_index.CpPyr71U.js → fthry_index.B0dTcALC.js} +151 -101
- package/dist/{fthry_index.BmbcZtaY.js → fthry_index.B3z3FXtp.js} +1 -1
- package/dist/{fthry_index.DBzRf4Xn.js → fthry_index.BAJON1mr.js} +1 -1
- package/dist/{fthry_index.D_fIGqLO.js → fthry_index.BBA4M9Ym.js} +1 -1
- package/dist/{fthry_index.BWutFEHx.js → fthry_index.BMui71Q7.js} +1 -1
- package/dist/{fthry_index.D1OVjTFi.js → fthry_index.BWxZjCVE.js} +1 -1
- package/dist/{fthry_index.DjKiRDR5.js → fthry_index.BXJn-2VJ.js} +1 -1
- package/dist/{fthry_index.ChwXJfUv.js → fthry_index.Bd4KkVao.js} +1 -1
- package/dist/{fthry_index.CPJDFJws.js → fthry_index.BdnUxvNg.js} +1 -1
- package/dist/{fthry_index.yQ6xXxSy.js → fthry_index.CFwYUXZ8.js} +2 -2
- package/dist/{fthry_index.Cg_MIfff.js → fthry_index.CPcpxgDL.js} +5 -5
- package/dist/{fthry_index.Cq7pT83J.js → fthry_index.CS-REvYp.js} +6 -6
- package/dist/{fthry_index.BEPJGeYZ.js → fthry_index.CSxTJscJ.js} +5 -5
- package/dist/{fthry_index.DgtRP8YP.js → fthry_index.Cr_PhEG5.js} +3 -3
- package/dist/{fthry_index.DOENWZLY.js → fthry_index.CsB6qfcs.js} +1 -1
- package/dist/{fthry_index.BUpr7PPc.js → fthry_index.CwkH8CR1.js} +5 -5
- package/dist/{fthry_index.FI8-xIR_.js → fthry_index.CzxXXkNC.js} +6 -6
- package/dist/{fthry_index.BL77F8L5.js → fthry_index.D0WpbHv8.js} +7 -15
- package/dist/{fthry_index.DYZfE6Eb.js → fthry_index.D3ON8w4i.js} +2 -2
- package/dist/{fthry_index.BhXiGbN_.js → fthry_index.DmeA3gX-.js} +4 -4
- package/dist/{fthry_index.DIeH1Fha.js → fthry_index.Dvx8Ucl2.js} +5 -5
- package/dist/{fthry_index.DCca32vH.js → fthry_index.Iziq-Kbr.js} +3 -3
- package/dist/{fthry_index.CLkq8RJ5.js → fthry_index.LnYfWd3O.js} +4 -4
- package/dist/{fthry_index.DuFvbDvW.js → fthry_index.V-k8b4Uk.js} +6 -6
- package/dist/{fthry_input.DSLxO-Fg.js → fthry_input.C9_eZY4n.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.BAO4irKu.js → fthry_mermaid-O7DHMXV3.CMda8-_P.js} +3 -3
- package/dist/{fthry_script.Citmw5JL.js → fthry_script.BzA0wgMM.js} +1 -1
- package/dist/{fthry_styles.jykBHQWz.js → fthry_styles.CecGNp-8.js} +70 -1
- package/dist/{fthry_useElementSize.C2KEM4Ci.js → fthry_useElementSize.DlGauB6l.js} +1 -1
- package/dist/{fthry_useSalesforceSync.99Af5jox.js → fthry_useSalesforceSync.t_h78aUg.js} +1 -1
- package/dist/{fthry_webfontloader.0HWdUjSQ.js → fthry_webfontloader.B3Cs903r.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -8
- package/umd/{529.2bfdaee9e2bdc6d6c340.js → 529.63afee65c745ca950f81.js} +1 -1
- package/umd/94.e8ad20ab98c664d13197.js +2 -0
- package/umd/94.e8ad20ab98c664d13197.js.LICENSE.txt +5 -0
- package/umd/index.js +1 -1
- package/umd/94.825cd88111c75098af1f.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.UL-HkR2L.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
7
|
-
var Overlay = require('./fthry_Overlay.
|
|
8
|
-
var useElementSize = require('./fthry_useElementSize.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.BYp77nuH.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BfrVpfYj.js');
|
|
7
|
+
var Overlay = require('./fthry_Overlay.C6scqGHc.js');
|
|
8
|
+
var useElementSize = require('./fthry_useElementSize.BsJKStem.js');
|
|
9
9
|
require('react/jsx-runtime');
|
|
10
10
|
require('react-dom/client');
|
|
11
11
|
require('jszip');
|
|
@@ -1804,7 +1804,7 @@ function PhoneField(_a) {
|
|
|
1804
1804
|
// origins. The .woff2 is vendored from country-flag-emoji-polyfill and
|
|
1805
1805
|
// emitted as a sibling asset by webpack/rollup; `new URL(...,
|
|
1806
1806
|
// import.meta.url)` resolves it relative to wherever the bundle is served.
|
|
1807
|
-
var fontUrl = new URL('./TwemojiCountryFlags.woff2', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('fthry_index.
|
|
1807
|
+
var fontUrl = new URL('./TwemojiCountryFlags.woff2', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('fthry_index.DcuaSdF3.js', document.baseURI).href)))
|
|
1808
1808
|
.href;
|
|
1809
1809
|
f('Twemoji Country Flags', fontUrl);
|
|
1810
1810
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.UL-HkR2L.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
6
|
-
var Placeholder$2 = require('./fthry_Placeholder.
|
|
7
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
8
|
-
var Overlay = require('./fthry_Overlay.
|
|
5
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BfrVpfYj.js');
|
|
6
|
+
var Placeholder$2 = require('./fthry_Placeholder.BYp77nuH.js');
|
|
7
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.xD4e3uQO.js');
|
|
8
|
+
var Overlay = require('./fthry_Overlay.C6scqGHc.js');
|
|
9
9
|
var ReactDOM = require('react-dom');
|
|
10
10
|
require('react/jsx-runtime');
|
|
11
11
|
require('react-dom/client');
|
|
@@ -542,7 +542,7 @@ var weakMemoize = function weakMemoize(func) {
|
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
544
|
|
|
545
|
-
function memoize
|
|
545
|
+
function memoize(fn) {
|
|
546
546
|
var cache = Object.create(null);
|
|
547
547
|
return function (arg) {
|
|
548
548
|
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
@@ -997,7 +997,7 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
|
997
997
|
|
|
998
998
|
var isBrowser$4 = typeof document !== 'undefined';
|
|
999
999
|
var getServerStylisCache = isBrowser$4 ? undefined : weakMemoize(function () {
|
|
1000
|
-
return memoize
|
|
1000
|
+
return memoize(function () {
|
|
1001
1001
|
var cache = {};
|
|
1002
1002
|
return function (name) {
|
|
1003
1003
|
return cache[name];
|
|
@@ -1348,14 +1348,6 @@ var unitlessKeys = {
|
|
|
1348
1348
|
strokeWidth: 1
|
|
1349
1349
|
};
|
|
1350
1350
|
|
|
1351
|
-
function memoize(fn) {
|
|
1352
|
-
var cache = Object.create(null);
|
|
1353
|
-
return function (arg) {
|
|
1354
|
-
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
1355
|
-
return cache[arg];
|
|
1356
|
-
};
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
1351
|
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
|
1360
1352
|
var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
|
|
1361
1353
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.UL-HkR2L.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var styles = require('./fthry_styles.
|
|
5
|
+
var styles = require('./fthry_styles.2InnXe-4.js');
|
|
6
6
|
require('react/jsx-runtime');
|
|
7
7
|
require('react-dom/client');
|
|
8
8
|
require('jszip');
|
|
@@ -23245,39 +23245,57 @@ function requireClassnames () {
|
|
|
23245
23245
|
|
|
23246
23246
|
var hasOwn = {}.hasOwnProperty;
|
|
23247
23247
|
|
|
23248
|
-
function classNames() {
|
|
23249
|
-
var classes =
|
|
23248
|
+
function classNames () {
|
|
23249
|
+
var classes = '';
|
|
23250
23250
|
|
|
23251
23251
|
for (var i = 0; i < arguments.length; i++) {
|
|
23252
23252
|
var arg = arguments[i];
|
|
23253
|
-
if (
|
|
23254
|
-
|
|
23255
|
-
var argType = typeof arg;
|
|
23256
|
-
|
|
23257
|
-
if (argType === 'string' || argType === 'number') {
|
|
23258
|
-
classes.push(arg);
|
|
23259
|
-
} else if (Array.isArray(arg)) {
|
|
23260
|
-
if (arg.length) {
|
|
23261
|
-
var inner = classNames.apply(null, arg);
|
|
23262
|
-
if (inner) {
|
|
23263
|
-
classes.push(inner);
|
|
23264
|
-
}
|
|
23265
|
-
}
|
|
23266
|
-
} else if (argType === 'object') {
|
|
23267
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
23268
|
-
classes.push(arg.toString());
|
|
23269
|
-
continue;
|
|
23270
|
-
}
|
|
23271
|
-
|
|
23272
|
-
for (var key in arg) {
|
|
23273
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
23274
|
-
classes.push(key);
|
|
23275
|
-
}
|
|
23276
|
-
}
|
|
23253
|
+
if (arg) {
|
|
23254
|
+
classes = appendClass(classes, parseValue(arg));
|
|
23277
23255
|
}
|
|
23278
23256
|
}
|
|
23279
23257
|
|
|
23280
|
-
return classes
|
|
23258
|
+
return classes;
|
|
23259
|
+
}
|
|
23260
|
+
|
|
23261
|
+
function parseValue (arg) {
|
|
23262
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
23263
|
+
return arg;
|
|
23264
|
+
}
|
|
23265
|
+
|
|
23266
|
+
if (typeof arg !== 'object') {
|
|
23267
|
+
return '';
|
|
23268
|
+
}
|
|
23269
|
+
|
|
23270
|
+
if (Array.isArray(arg)) {
|
|
23271
|
+
return classNames.apply(null, arg);
|
|
23272
|
+
}
|
|
23273
|
+
|
|
23274
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
23275
|
+
return arg.toString();
|
|
23276
|
+
}
|
|
23277
|
+
|
|
23278
|
+
var classes = '';
|
|
23279
|
+
|
|
23280
|
+
for (var key in arg) {
|
|
23281
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
23282
|
+
classes = appendClass(classes, key);
|
|
23283
|
+
}
|
|
23284
|
+
}
|
|
23285
|
+
|
|
23286
|
+
return classes;
|
|
23287
|
+
}
|
|
23288
|
+
|
|
23289
|
+
function appendClass (value, newClass) {
|
|
23290
|
+
if (!newClass) {
|
|
23291
|
+
return value;
|
|
23292
|
+
}
|
|
23293
|
+
|
|
23294
|
+
if (value) {
|
|
23295
|
+
return value + ' ' + newClass;
|
|
23296
|
+
}
|
|
23297
|
+
|
|
23298
|
+
return value + newClass;
|
|
23281
23299
|
}
|
|
23282
23300
|
|
|
23283
23301
|
if (module.exports) {
|
|
@@ -23292,7 +23310,7 @@ function requireClassnames () {
|
|
|
23292
23310
|
}
|
|
23293
23311
|
|
|
23294
23312
|
var classnamesExports = requireClassnames();
|
|
23295
|
-
var
|
|
23313
|
+
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
23296
23314
|
|
|
23297
23315
|
var UserIdError = /** @class */ (function (_super) {
|
|
23298
23316
|
__extends(UserIdError, _super);
|
|
@@ -23427,9 +23445,9 @@ var StyledContainer = React.forwardRef(function (_a, ref) {
|
|
|
23427
23445
|
var elementType = (_e = (_d = node.servar) === null || _d === void 0 ? void 0 : _d.type) !== null && _e !== void 0 ? _e : node.type;
|
|
23428
23446
|
if (component) {
|
|
23429
23447
|
var Component = component;
|
|
23430
|
-
return (jsx$1(Component, exports.__assign({ ref: ref, node: _node, css: styles, className:
|
|
23448
|
+
return (jsx$1(Component, exports.__assign({ ref: ref, node: _node, css: styles, className: classNames('styled-container', type, className) }, props, { children: jsx$1("div", exports.__assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), node.id));
|
|
23431
23449
|
}
|
|
23432
|
-
return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", exports.__assign({ className:
|
|
23450
|
+
return (jsxs(Fragment, { children: [isFixed && (jsx$1("div", exports.__assign({ className: classNames('styled-container', type, className) }, props, { css: exports.__assign(exports.__assign({}, styles), { position: 'fixed', zIndex: FORM_Z_INDEX + 1 }), ref: fixedContainerRef, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", exports.__assign({ className: 'inner-container', css: innerStyles }, { children: children })) }), "".concat(node.id, "-fixed"))), jsx$1("div", exports.__assign({ ref: ref, css: isFixed ? exports.__assign(exports.__assign({}, styles), { visibility: 'hidden' }) : styles, className: classNames('styled-container', type, className) }, props, { "data-id": node.id, "data-feathery-id": node.key, "data-element": elementType }, { children: jsx$1("div", exports.__assign({ className: 'inner-container', css: innerStyles }, { children: isFixed ? null : children })) }), node.id)] }));
|
|
23433
23451
|
});
|
|
23434
23452
|
|
|
23435
23453
|
/**
|
|
@@ -23649,7 +23667,20 @@ function generateHeaderElement(doc, inline) {
|
|
|
23649
23667
|
return newHeader;
|
|
23650
23668
|
}
|
|
23651
23669
|
|
|
23652
|
-
var FORM_STYLES = "\n #QFVFormPage {\n display: flex;\n flex: 1;\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n #wrapper {\n position: static;\n background: #f6f7fa;\n overflow: auto;\n width: 100% !important;\n height: 100%;\n }\n #scroller {\n width: auto;\n position: static;\n max-width: 1000px;\n margin: 0 auto;\n background: none !important;\n }\n\n #QFVPageList {\n position: relative;\n border: none !important;\n }\n\n #QFVPageList li {\n position: relative;\n margin: 5% 15pt;\n border: none !important;\n box-shadow: 0px 1.05px 5.27px 0px #23254340;\n border-radius: 8px;\n overflow: hidden;\n }\n\n #QFVPageList li > div {\n
|
|
23670
|
+
var FORM_STYLES = "\n #QFVFormPage {\n display: flex;\n flex: 1;\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n #wrapper {\n position: static;\n background: #f6f7fa;\n overflow: auto;\n width: 100% !important;\n height: 100%;\n }\n #scroller {\n width: auto;\n position: static;\n max-width: 1000px;\n margin: 0 auto;\n background: none !important;\n }\n\n #QFVPageList {\n position: relative;\n border: none !important;\n }\n\n /*\n * Each <li> is the responsive \"card\". Its aspect-ratio (set inline per page\n * from the page's pt dimensions) reserves the correct height as the column\n * width changes, since the scaled page below does not contribute layout size.\n */\n #QFVPageList li {\n position: relative;\n margin: 5% 15pt;\n border: none !important;\n box-shadow: 0px 1.05px 5.27px 0px #23254340;\n border-radius: 8px;\n overflow: hidden;\n }\n\n /*\n * The page itself stays at its natural pt size and is scaled to fill the card\n * with a single uniform transform. Because the page image and every overlay\n * live in this one rigid coordinate space, they scale together and cannot\n * drift relative to each other at any width. --quik-page-scale is set per\n * page by the injected ResizeObserver (see PAGE_SCALE_SCRIPT).\n */\n #QFVPageList li > div {\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: top left;\n transform: scale(var(--quik-page-scale, 1));\n }\n\n #QFVPageList li > div > div {\n background: none !important;\n }\n\n #QFVPageList li > div > div > img {\n width: 100% !important;\n display: block !important;\n }\n\n /*\n * Overlay inputs are sized in pt that already account for their padding and\n * border (the source renders them border-box via its external CSS/JS, which\n * does not run inside this restructured iframe). Force border-box so the pt\n * width/height is the rendered box \u2014 otherwise content-box adds padding +\n * border on top and the boxes render too large, most visibly in height.\n */\n #QFVPageList input,\n #QFVPageList textarea,\n #QFVPageList select,\n #QFVPageList label {\n box-sizing: border-box !important;\n }\n\n .input-label {\n border: none !important;\n }\n\n #QFVPageList .input-label > span {\n width: 100% !important;\n aspect-ratio: 1 / 1;\n height: auto !important;\n background-size: contain;\n }\n";
|
|
23671
|
+
/**
|
|
23672
|
+
* Left inset (in pt) that every overlay's source 'left' carries relative to the
|
|
23673
|
+
* page-width basis. Subtracted from all elements so inputs align with the page
|
|
23674
|
+
* image the same way labels already did.
|
|
23675
|
+
*/
|
|
23676
|
+
var PAGE_LEFT_OFFSET_PT = 2;
|
|
23677
|
+
/**
|
|
23678
|
+
* Per-page top inset (in pt) baked into the source coordinate system: each page
|
|
23679
|
+
* contributes a 2px (= 1.5pt at 96dpi) top border, so page N's origin is
|
|
23680
|
+
* `1.5 + N * (pageHeight + 1.5)`. Confirmed empirically — before this offset the
|
|
23681
|
+
* residual vertical drift was exactly 1.5pt × (pageIndex + 1).
|
|
23682
|
+
*/
|
|
23683
|
+
var PAGE_TOP_GAP_PT = 1.5;
|
|
23653
23684
|
/**
|
|
23654
23685
|
* Parses a CSS style value (e.g., "123pt" or "calc(2*456pt)") and returns the numerical value in 'pt'.
|
|
23655
23686
|
* This function handles simple 'pt' values and 'calc()' expressions by using a safe evaluation.
|
|
@@ -23660,60 +23691,65 @@ function parsePtValue(styleValue) {
|
|
|
23660
23691
|
return styleValue ? parseFloat(styleValue.replace('pt', '')) : 0;
|
|
23661
23692
|
}
|
|
23662
23693
|
/**
|
|
23663
|
-
*
|
|
23664
|
-
*
|
|
23694
|
+
* Makes the Quik document responsive by localizing each overlay onto its page
|
|
23695
|
+
* (in native `pt`) and scaling each page as a single rigid unit to fill its
|
|
23696
|
+
* responsive container.
|
|
23665
23697
|
*
|
|
23666
|
-
*
|
|
23667
|
-
*
|
|
23668
|
-
*
|
|
23669
|
-
*
|
|
23670
|
-
*
|
|
23698
|
+
* The source HTML positions every overlay absolutely against one document-wide
|
|
23699
|
+
* container, so coordinates are cumulative across pages and page dimensions are
|
|
23700
|
+
* declared in `pt`. Rather than re-deriving per-axis percentages (which couples
|
|
23701
|
+
* alignment to containing-block and box-model behavior), this keeps the page's
|
|
23702
|
+
* exact coordinate space intact and applies a uniform CSS transform, so the
|
|
23703
|
+
* page image and its overlays can never drift relative to one another.
|
|
23671
23704
|
*
|
|
23672
23705
|
* @param doc The document object to manipulate.
|
|
23673
23706
|
*/
|
|
23674
23707
|
function repositionFormInputs(doc) {
|
|
23675
|
-
|
|
23708
|
+
// Overlays are absolutely positioned against a single document-wide container
|
|
23709
|
+
// (#scroller in the source), so their `top` values are cumulative across all
|
|
23710
|
+
// pages. Each page contributes its height plus a 2px (1.5pt) top border, so
|
|
23711
|
+
// the running origin starts at one border and grows by height + border.
|
|
23712
|
+
var pageOffsetPt = PAGE_TOP_GAP_PT;
|
|
23676
23713
|
var pages = doc.querySelectorAll('#QFVPageList > li > div');
|
|
23677
23714
|
pages.forEach(function (page) {
|
|
23678
|
-
// Dynamically get the page's dimensions from its style attribute.
|
|
23679
23715
|
var pageWidthPt = parsePtValue(page.style.width);
|
|
23680
23716
|
var pageHeightPt = parsePtValue(page.style.height);
|
|
23681
23717
|
if (pageWidthPt === 0 || pageHeightPt === 0) {
|
|
23682
23718
|
console.error('Could not determine page dimensions from style attribute:', page);
|
|
23683
|
-
|
|
23719
|
+
// Still advance the cumulative origin so later pages stay in sync.
|
|
23720
|
+
pageOffsetPt += pageHeightPt + PAGE_TOP_GAP_PT;
|
|
23721
|
+
return;
|
|
23684
23722
|
}
|
|
23685
|
-
//
|
|
23686
|
-
|
|
23687
|
-
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
|
|
23701
|
-
|
|
23702
|
-
|
|
23703
|
-
var newWidthPercent = (currentWidthPt / pageWidthPt) * 100;
|
|
23704
|
-
var newHeightPercent = (currentHeightPt / pageHeightPt) * 100;
|
|
23705
|
-
// Update the element's style with percentage values.
|
|
23706
|
-
style.top = "".concat(newTopPercent.toFixed(2), "%");
|
|
23707
|
-
style.left = "".concat(newLeftPercent.toFixed(2), "%");
|
|
23708
|
-
style.width = "".concat(newWidthPercent.toFixed(2), "%");
|
|
23709
|
-
style.height = "".concat(newHeightPercent.toFixed(2), "%");
|
|
23710
|
-
if (element.tagName === 'LABEL') {
|
|
23711
|
-
element.className = "input-label ".concat(element.className);
|
|
23712
|
-
}
|
|
23723
|
+
// Localize each overlay from the document-wide cumulative coordinate system
|
|
23724
|
+
// onto this page, keeping native pt units. The whole page is scaled as one
|
|
23725
|
+
// rigid unit (see below), so overlays cannot drift relative to the image.
|
|
23726
|
+
Array.from(page.children).forEach(function (element) {
|
|
23727
|
+
if (!(element instanceof HTMLElement))
|
|
23728
|
+
return;
|
|
23729
|
+
// The page image fills the page box; leave it at its natural size.
|
|
23730
|
+
if (element.tagName === 'IMG' || element.querySelector('img'))
|
|
23731
|
+
return;
|
|
23732
|
+
var localTopPt = parsePtValue(element.style.top) - pageOffsetPt;
|
|
23733
|
+
// The source 'left' carries a small (~2pt) inset relative to the page
|
|
23734
|
+
// image's left edge; remove it so overlays sit on the artwork.
|
|
23735
|
+
var localLeftPt = parsePtValue(element.style.left) - PAGE_LEFT_OFFSET_PT;
|
|
23736
|
+
element.style.top = "".concat(localTopPt, "pt");
|
|
23737
|
+
element.style.left = "".concat(localLeftPt, "pt");
|
|
23738
|
+
// width/height stay in their native pt units and scale with the page.
|
|
23739
|
+
if (element.tagName === 'LABEL') {
|
|
23740
|
+
element.className = "input-label ".concat(element.className);
|
|
23713
23741
|
}
|
|
23714
23742
|
});
|
|
23715
|
-
//
|
|
23716
|
-
|
|
23743
|
+
// Pin the page to its natural pt size; the injected ResizeObserver scales it
|
|
23744
|
+
// (via --quik-page-scale) to fill the responsive <li> card. The <li> gets
|
|
23745
|
+
// the matching aspect-ratio so it reserves the correct layout height.
|
|
23746
|
+
page.style.width = "".concat(pageWidthPt, "pt");
|
|
23747
|
+
page.style.height = "".concat(pageHeightPt, "pt");
|
|
23748
|
+
page.dataset.quikPageWidthPt = "".concat(pageWidthPt);
|
|
23749
|
+
var li = page.parentElement;
|
|
23750
|
+
if (li)
|
|
23751
|
+
li.style.aspectRatio = "".concat(pageWidthPt, " / ").concat(pageHeightPt);
|
|
23752
|
+
pageOffsetPt += pageHeightPt + PAGE_TOP_GAP_PT;
|
|
23717
23753
|
});
|
|
23718
23754
|
}
|
|
23719
23755
|
function generateFormElement(doc) {
|
|
@@ -23724,12 +23760,26 @@ function generateFormElement(doc) {
|
|
|
23724
23760
|
}
|
|
23725
23761
|
repositionFormInputs(doc);
|
|
23726
23762
|
injectFormStyles(doc);
|
|
23763
|
+
injectPageScaleScript(doc);
|
|
23727
23764
|
return form;
|
|
23728
23765
|
}
|
|
23729
23766
|
function injectFormStyles(doc) {
|
|
23730
23767
|
var customFormStyle = doc.createElement('style');
|
|
23731
23768
|
customFormStyle.innerHTML = FORM_STYLES;
|
|
23732
23769
|
doc.head.appendChild(customFormStyle);
|
|
23770
|
+
}
|
|
23771
|
+
/** Points-to-pixels factor at 96dpi (CSS reference pixel: 96px === 72pt). */
|
|
23772
|
+
var PT_TO_PX = 96 / 72;
|
|
23773
|
+
/**
|
|
23774
|
+
* Sets each page's --quik-page-scale so its natural pt width fills the
|
|
23775
|
+
* responsive <li> card, and keeps it updated on resize. Runs inside the form
|
|
23776
|
+
* iframe. Kept dependency-free and ES5-safe since it executes verbatim there.
|
|
23777
|
+
*/
|
|
23778
|
+
var PAGE_SCALE_SCRIPT = "\n(function () {\n var PT_TO_PX = ".concat(PT_TO_PX, ";\n function applyScale() {\n var pages = document.querySelectorAll(\n '#QFVPageList > li > div[data-quik-page-width-pt]'\n );\n for (var i = 0; i < pages.length; i++) {\n var page = pages[i];\n var li = page.parentElement;\n if (!li) continue;\n var widthPt = parseFloat(page.getAttribute('data-quik-page-width-pt'));\n if (!widthPt) continue;\n var naturalPx = widthPt * PT_TO_PX;\n var scale = li.clientWidth / naturalPx;\n if (scale > 0 && isFinite(scale)) {\n page.style.setProperty('--quik-page-scale', String(scale));\n }\n }\n }\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', applyScale);\n } else {\n applyScale();\n }\n window.addEventListener('resize', applyScale);\n if (typeof ResizeObserver !== 'undefined') {\n var list = document.querySelector('#QFVPageList');\n if (list) new ResizeObserver(applyScale).observe(list);\n }\n})();\n");
|
|
23779
|
+
function injectPageScaleScript(doc) {
|
|
23780
|
+
var script = doc.createElement('script');
|
|
23781
|
+
script.textContent = PAGE_SCALE_SCRIPT;
|
|
23782
|
+
doc.body.appendChild(script);
|
|
23733
23783
|
}
|
|
23734
23784
|
|
|
23735
23785
|
var SIDEBAR_WIDTH = '200px';
|
|
@@ -40894,7 +40944,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
40894
40944
|
}, [activeStep, stepKey, formName]);
|
|
40895
40945
|
}
|
|
40896
40946
|
|
|
40897
|
-
var LazyAssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
40947
|
+
var LazyAssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.YQCuhhst.js'); }).then(function (n) { return n.AssistantChat; }); });
|
|
40898
40948
|
var AssistantChat = function (props) { return (jsx$1(React.Suspense, exports.__assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, exports.__assign({}, props)) }))); };
|
|
40899
40949
|
|
|
40900
40950
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -47500,9 +47550,9 @@ function init(sdkKey, options) {
|
|
|
47500
47550
|
if (runningInClient()) {
|
|
47501
47551
|
// Dynamically load libraries that must be client side
|
|
47502
47552
|
global.scriptjsLoadPromise = Promise.resolve().then(function () { return require(
|
|
47503
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
47553
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.4CA-i2YC.js'); }).then(function (n) { return n.script; });
|
|
47504
47554
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
47505
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
47555
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DMtsPRTb.js'); }).then(function (n) { return n.webfontloader; });
|
|
47506
47556
|
// Client-side tracking logic
|
|
47507
47557
|
if (initState.userTracking === 'cookie') {
|
|
47508
47558
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47648,7 +47698,7 @@ function getFieldValues() {
|
|
|
47648
47698
|
return exports.__assign({}, exports.fieldValues);
|
|
47649
47699
|
}
|
|
47650
47700
|
function logFeatheryBadge() {
|
|
47651
|
-
console.log('%c Feathery %c v' + "2.39.
|
|
47701
|
+
console.log('%c Feathery %c v' + "2.39.5" + ' ', // replaced with real version during build
|
|
47652
47702
|
'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
|
|
47653
47703
|
}
|
|
47654
47704
|
|
|
@@ -49163,64 +49213,64 @@ breakpoint) {
|
|
|
49163
49213
|
|
|
49164
49214
|
var fieldLoaders = {
|
|
49165
49215
|
AddressLine1: function () {
|
|
49166
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49216
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.BMoZkdA6.js'); });
|
|
49167
49217
|
},
|
|
49168
49218
|
ButtonGroupField: function () {
|
|
49169
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49219
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.WGuV-KCz.js'); });
|
|
49170
49220
|
},
|
|
49171
49221
|
CheckboxField: function () {
|
|
49172
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49222
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.ErupPDHm.js'); });
|
|
49173
49223
|
},
|
|
49174
49224
|
CheckboxGroupField: function () {
|
|
49175
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49225
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.BeoZ7ahe.js'); });
|
|
49176
49226
|
},
|
|
49177
49227
|
ColorPickerField: function () {
|
|
49178
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49228
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CXfcph5D.js'); });
|
|
49179
49229
|
},
|
|
49180
49230
|
CustomField: function () {
|
|
49181
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49231
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.Dx_qH62x.js'); });
|
|
49182
49232
|
},
|
|
49183
49233
|
DateSelectorField: function () {
|
|
49184
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49234
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.B_DcdLHz.js'); });
|
|
49185
49235
|
},
|
|
49186
49236
|
DropdownField: function () {
|
|
49187
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49237
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.CSa2GNkT.js'); });
|
|
49188
49238
|
},
|
|
49189
49239
|
DropdownMultiField: function () {
|
|
49190
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49240
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DuFt4scb.js'); });
|
|
49191
49241
|
},
|
|
49192
49242
|
FileUploadField: function () {
|
|
49193
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49243
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.C6B_9YEq.js'); });
|
|
49194
49244
|
},
|
|
49195
49245
|
MatrixField: function () {
|
|
49196
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49246
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.BqjGgn8c.js'); });
|
|
49197
49247
|
},
|
|
49198
49248
|
PasswordField: function () {
|
|
49199
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49249
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.CN5FWNGo.js'); });
|
|
49200
49250
|
},
|
|
49201
49251
|
PaymentMethodField: function () {
|
|
49202
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49252
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.FKIxWFGb.js'); });
|
|
49203
49253
|
},
|
|
49204
|
-
PhoneField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49254
|
+
PhoneField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.DcuaSdF3.js'); }); },
|
|
49205
49255
|
PinInputField: function () {
|
|
49206
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49256
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.CAyIvRN9.js'); });
|
|
49207
49257
|
},
|
|
49208
|
-
QRScanner: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49258
|
+
QRScanner: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.D71_kAqf.js'); }); },
|
|
49209
49259
|
RadioButtonGroupField: function () {
|
|
49210
49260
|
return Promise.resolve().then(function () { return require(
|
|
49211
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49261
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.BKgdz8wA.js'); });
|
|
49212
49262
|
},
|
|
49213
49263
|
RatingField: function () {
|
|
49214
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49264
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.CDpXSBnO.js'); });
|
|
49215
49265
|
},
|
|
49216
49266
|
SignatureField: function () {
|
|
49217
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49267
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.WT4DAN_S.js'); });
|
|
49218
49268
|
},
|
|
49219
49269
|
SliderField: function () {
|
|
49220
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49270
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.F9ntcl8d.js'); });
|
|
49221
49271
|
},
|
|
49222
|
-
TextField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49223
|
-
TextArea: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49272
|
+
TextField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.DcGjJE6I.js'); }); },
|
|
49273
|
+
TextArea: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.ZWVnlGH6.js'); }); }
|
|
49224
49274
|
};
|
|
49225
49275
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49226
49276
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50124,9 +50174,9 @@ function isFieldTruthy(fieldKey) {
|
|
|
50124
50174
|
}
|
|
50125
50175
|
function isStepVisible(step) {
|
|
50126
50176
|
var cond = step.visibility_condition;
|
|
50127
|
-
if (!cond || !step.
|
|
50177
|
+
if (!cond || !step.visibility_field_key)
|
|
50128
50178
|
return true;
|
|
50129
|
-
var truthy = isFieldTruthy(step.
|
|
50179
|
+
var truthy = isFieldTruthy(step.visibility_field_key);
|
|
50130
50180
|
return cond === 'show' ? truthy : !truthy;
|
|
50131
50181
|
}
|
|
50132
50182
|
function StepperBar(_a) {
|
|
@@ -50414,7 +50464,7 @@ function ElementSkeleton(_a) {
|
|
|
50414
50464
|
}
|
|
50415
50465
|
var templateObject_1;
|
|
50416
50466
|
|
|
50417
|
-
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50467
|
+
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.sT-w-rf1.js'); }); });
|
|
50418
50468
|
var Basic = {
|
|
50419
50469
|
ImageElement: ImageElement,
|
|
50420
50470
|
VideoElement: VideoElement,
|
|
@@ -50743,7 +50793,6 @@ exports.__values = __values;
|
|
|
50743
50793
|
exports.alloc = alloc;
|
|
50744
50794
|
exports.authState = authState;
|
|
50745
50795
|
exports.charat = charat;
|
|
50746
|
-
exports.cls = cls;
|
|
50747
50796
|
exports.combine = combine;
|
|
50748
50797
|
exports.compile = compile;
|
|
50749
50798
|
exports.copy = copy;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.UL-HkR2L.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
6
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
5
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BfrVpfYj.js');
|
|
6
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.xD4e3uQO.js');
|
|
7
7
|
require('react/jsx-runtime');
|
|
8
8
|
require('react-dom/client');
|
|
9
9
|
require('jszip');
|
|
10
10
|
require('react-dom');
|
|
11
|
-
require('./fthry_Overlay.
|
|
11
|
+
require('./fthry_Overlay.C6scqGHc.js');
|
|
12
12
|
|
|
13
13
|
function ButtonGroupField(_a) {
|
|
14
14
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _b = _a.fieldVal, fieldVal = _b === void 0 ? null : _b, _c = _a.repeatIndex, repeatIndex = _c === void 0 ? null : _c, editMode = _a.editMode, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, children = _a.children;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.UL-HkR2L.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$1 = require('./fthry_index.
|
|
5
|
+
var index$1 = require('./fthry_index.Blb-S2FV.js');
|
|
6
6
|
require('react/jsx-runtime');
|
|
7
7
|
require('react-dom/client');
|
|
8
8
|
require('jszip');
|
|
@@ -1479,7 +1479,7 @@ function SignatureField(_a) {
|
|
|
1479
1479
|
React.useEffect(function () {
|
|
1480
1480
|
if (!global.webfontloaderPromise)
|
|
1481
1481
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
1482
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1482
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DMtsPRTb.js'); }).then(function (n) { return n.webfontloader; });
|
|
1483
1483
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1484
1484
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1485
1485
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.UL-HkR2L.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.BYp77nuH.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BfrVpfYj.js');
|
|
7
7
|
require('react/jsx-runtime');
|
|
8
8
|
require('react-dom/client');
|
|
9
9
|
require('jszip');
|
|
10
10
|
require('react-dom');
|
|
11
|
-
require('./fthry_Overlay.
|
|
11
|
+
require('./fthry_Overlay.C6scqGHc.js');
|
|
12
12
|
|
|
13
13
|
function TextArea(_a) {
|
|
14
14
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _b = _a.elementProps, elementProps = _b === void 0 ? {} : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, editMode = _a.editMode, _e = _a.onChange, onChange = _e === void 0 ? function () { } : _e, _f = _a.setRef, setRef = _f === void 0 ? function () { } : _f, _g = _a.rawValue, rawValue = _g === void 0 ? '' : _g, inlineError = _a.inlineError, _h = _a.repeatIndex, repeatIndex = _h === void 0 ? null : _h, children = _a.children;
|