@feathery/react 2.10.4 → 2.11.0

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.
Files changed (86) hide show
  1. package/dist/cjs/elements/fields/DateSelectorField/index.d.ts.map +1 -1
  2. package/dist/cjs/elements/fields/DateSelectorField/tests/test-utils.d.ts +17 -1
  3. package/dist/cjs/elements/fields/DateSelectorField/tests/test-utils.d.ts.map +1 -1
  4. package/dist/cjs/{fthry_FormControl.D054LpX5.js → fthry_FormControl.BlJZjs35.js} +1 -1
  5. package/dist/cjs/{fthry_InlineTooltip.BmRAwfTr.js → fthry_InlineTooltip.BkttK4lB.js} +2 -2
  6. package/dist/cjs/{fthry_Overlay.Cu-jPCI2.js → fthry_Overlay.OLX1E5Mx.js} +1 -1
  7. package/dist/cjs/{fthry_PaymentMethodField.DgMHwN-E.js → fthry_PaymentMethodField.xVoJ3tP3.js} +4 -4
  8. package/dist/cjs/{fthry_Placeholder.BYiBhbzh.js → fthry_Placeholder.BYhrdrmr.js} +1 -1
  9. package/dist/cjs/{fthry_ShowEyeIcon.JSFm5V3g.js → fthry_ShowEyeIcon.D2ndFoZG.js} +1 -1
  10. package/dist/cjs/{fthry_index.CZwit5fg.js → fthry_index.B-OQCs5M.js} +5 -5
  11. package/dist/cjs/{fthry_index.BPwlwYzc.js → fthry_index.BaPWhv11.js} +1 -1
  12. package/dist/cjs/{fthry_index.CKmjSEM_.js → fthry_index.Bo70vqfi.js} +1 -1
  13. package/dist/cjs/{fthry_index.CD1A6RNb.js → fthry_index.Bs9hNEnE.js} +1 -1
  14. package/dist/cjs/{fthry_index.-aTR3_nC.js → fthry_index.Bw4tg6t2.js} +5 -5
  15. package/dist/cjs/{fthry_index.B2hMamho.js → fthry_index.C6L3jtzR.js} +4 -4
  16. package/dist/cjs/{fthry_index.PiL5c9VB.js → fthry_index.C91OrhDJ.js} +1 -1
  17. package/dist/cjs/{fthry_index.DZHeFuVI.js → fthry_index.CBVYoHSE.js} +4 -4
  18. package/dist/cjs/{fthry_index.DN3JWoEi.js → fthry_index.CBzm-zz0.js} +2 -2
  19. package/dist/cjs/{fthry_index.CD8xJKKg.js → fthry_index.CS9Y7B8-.js} +5 -5
  20. package/dist/cjs/{fthry_index.De7Fcoju.js → fthry_index.ClLgzqZ3.js} +1 -1
  21. package/dist/cjs/{fthry_index.B39vKi8b.js → fthry_index.CxCE-XtP.js} +6 -6
  22. package/dist/cjs/{fthry_index.DwinADMZ.js → fthry_index.D7NIHZKl.js} +4 -4
  23. package/dist/cjs/{fthry_index.C8xhBiSL.js → fthry_index.DU4NyVta.js} +8 -8
  24. package/dist/cjs/{fthry_index.DqMxHy5c.js → fthry_index.DVoFPw_6.js} +3 -3
  25. package/dist/cjs/{fthry_index.CsZ4a-ul.js → fthry_index.DfayElGY.js} +25 -25
  26. package/dist/cjs/{fthry_index.C2ghok4x.js → fthry_index.DivS5VJj.js} +1 -1
  27. package/dist/cjs/{fthry_index.Dr55Bljd.js → fthry_index.Dscne3Dt.js} +1 -1
  28. package/dist/cjs/{fthry_index._AeFB4t8.js → fthry_index.KFDJ5jHx.js} +3 -3
  29. package/dist/cjs/{fthry_index.ajxuY_-G.js → fthry_index.gNcgXpsa.js} +2 -2
  30. package/dist/cjs/{fthry_index.BeG1VteX.js → fthry_index.hN9N-F0_.js} +6 -6
  31. package/dist/cjs/{fthry_index.olBzA3BV.js → fthry_index.hcpwrtk6.js} +5 -5
  32. package/dist/cjs/{fthry_index.DLiYkgfL.js → fthry_index.u1vwwO92.js} +207 -14
  33. package/dist/cjs/{fthry_input.Dy9NLp-M.js → fthry_input.BiOQUOMr.js} +1 -1
  34. package/dist/cjs/{fthry_script.wavuQtst.js → fthry_script.BIB8RC3N.js} +1 -1
  35. package/dist/cjs/{fthry_styles.BOrF2Mu4.js → fthry_styles.EGpWXoMs.js} +1 -1
  36. package/dist/cjs/{fthry_useElementSize.CGPf-Bg7.js → fthry_useElementSize.DcThHOvc.js} +1 -1
  37. package/dist/cjs/{fthry_useSalesforceSync.CkHCvyty.js → fthry_useSalesforceSync.DFczx5s3.js} +1 -1
  38. package/dist/cjs/{fthry_webfontloader.HWAoLTyT.js → fthry_webfontloader.DasBAca1.js} +1 -1
  39. package/dist/cjs/index.js +1 -1
  40. package/dist/elements/fields/DateSelectorField/index.d.ts.map +1 -1
  41. package/dist/elements/fields/DateSelectorField/tests/test-utils.d.ts +17 -1
  42. package/dist/elements/fields/DateSelectorField/tests/test-utils.d.ts.map +1 -1
  43. package/dist/esm/elements/fields/DateSelectorField/index.d.ts.map +1 -1
  44. package/dist/esm/elements/fields/DateSelectorField/tests/test-utils.d.ts +17 -1
  45. package/dist/esm/elements/fields/DateSelectorField/tests/test-utils.d.ts.map +1 -1
  46. package/dist/esm/{fthry_FormControl.BA0jHih4.js → fthry_FormControl.Bvp1ol8q.js} +1 -1
  47. package/dist/esm/{fthry_InlineTooltip.Dm0KK5M9.js → fthry_InlineTooltip.CGcT2Q5h.js} +2 -2
  48. package/dist/esm/{fthry_Overlay.DkLsoRUo.js → fthry_Overlay.BkaabwQm.js} +1 -1
  49. package/dist/esm/{fthry_PaymentMethodField.wSqTzrcH.js → fthry_PaymentMethodField.BxwQuSXD.js} +4 -4
  50. package/dist/esm/{fthry_Placeholder.ChbqXh1M.js → fthry_Placeholder.BGwhXwAz.js} +1 -1
  51. package/dist/esm/{fthry_ShowEyeIcon.Bcr_DvfJ.js → fthry_ShowEyeIcon.BvjO5Fwu.js} +1 -1
  52. package/dist/esm/{fthry_index.DRGnCWqW.js → fthry_index.B0OijNSq.js} +1 -1
  53. package/dist/esm/{fthry_index.XKItlsHk.js → fthry_index.BLb5-3Gk.js} +5 -5
  54. package/dist/esm/{fthry_index.D3kE6xSV.js → fthry_index.BMcwXprn.js} +4 -4
  55. package/dist/esm/{fthry_index.CesKGxRL.js → fthry_index.BOVi_Kyn.js} +1 -1
  56. package/dist/esm/{fthry_index.D6i0WTaf.js → fthry_index.BQa_ZCWw.js} +1 -1
  57. package/dist/esm/{fthry_index.DQowcu5D.js → fthry_index.BbTIO7u5.js} +3 -3
  58. package/dist/esm/{fthry_index.DASp8aCj.js → fthry_index.Bi5cCZNy.js} +2 -2
  59. package/dist/esm/{fthry_index.DDt2EQSO.js → fthry_index.C2S4c5pF.js} +207 -14
  60. package/dist/esm/{fthry_index.53sTOmmn.js → fthry_index.CAnpWx_Z.js} +4 -4
  61. package/dist/esm/{fthry_index.DEz3Unk1.js → fthry_index.CBNspXVR.js} +25 -25
  62. package/dist/esm/{fthry_index.yssMp2Sy.js → fthry_index.CCw70Cjx.js} +5 -5
  63. package/dist/esm/{fthry_index.BDtl0X99.js → fthry_index.CNDhPheV.js} +2 -2
  64. package/dist/esm/{fthry_index.D2_C3keg.js → fthry_index.CTHihuoA.js} +8 -8
  65. package/dist/esm/{fthry_index.T2sjKIYG.js → fthry_index.CUaZkZZ2.js} +3 -3
  66. package/dist/esm/{fthry_index.CShNj3fL.js → fthry_index.D3GResKv.js} +5 -5
  67. package/dist/esm/{fthry_index.AupFnvNG.js → fthry_index.DT8ZfHHu.js} +6 -6
  68. package/dist/esm/{fthry_index.0B-SHhds.js → fthry_index.DYTH_1IR.js} +1 -1
  69. package/dist/esm/{fthry_index.CQ5JOSod.js → fthry_index.Dbx-Pve6.js} +1 -1
  70. package/dist/esm/{fthry_index.DxUfaIgG.js → fthry_index.FH2KJFfM.js} +1 -1
  71. package/dist/esm/{fthry_index.DQxfJdRB.js → fthry_index.LkObY36D.js} +4 -4
  72. package/dist/esm/{fthry_index.Dpvpv2xt.js → fthry_index.Nu99hAd8.js} +6 -6
  73. package/dist/esm/{fthry_index.B95NyPKm.js → fthry_index.ptB6q5XU.js} +1 -1
  74. package/dist/esm/{fthry_index.Cz4S5q3A.js → fthry_index.w1320dF7.js} +5 -5
  75. package/dist/esm/{fthry_input.CNSkvM1z.js → fthry_input.Bw3xhju0.js} +1 -1
  76. package/dist/esm/{fthry_script.B16_IH9w.js → fthry_script.LLJ5A9CG.js} +1 -1
  77. package/dist/esm/{fthry_styles.BjknDpXW.js → fthry_styles.Bv1uXTuw.js} +1 -1
  78. package/dist/esm/{fthry_useElementSize.D0NVoaWJ.js → fthry_useElementSize.COtsWo4L.js} +1 -1
  79. package/dist/esm/{fthry_useSalesforceSync.CjIblTsh.js → fthry_useSalesforceSync.Kx93832t.js} +1 -1
  80. package/dist/esm/{fthry_webfontloader.DJbai8E2.js → fthry_webfontloader.DtNRbLFp.js} +1 -1
  81. package/dist/esm/index.js +1 -1
  82. package/package.json +1 -1
  83. package/umd/{515.03ca98f056a0b3528daa.js → 509.4236d4d76d2fa2ccd971.js} +2 -2
  84. package/umd/{DateSelectorField.bd5646949de71f571d04.js → DateSelectorField.00f321e0b1972feb9d69.js} +1 -1
  85. package/umd/index.js +1 -1
  86. /package/umd/{515.03ca98f056a0b3528daa.js.LICENSE.txt → 509.4236d4d76d2fa2ccd971.js.LICENSE.txt} +0 -0
@@ -1,16 +1,16 @@
1
- import { b as jsx, G as Global, o as css, p as __makeTemplateObject, a as __assign, _ as __read, q as isMobile, l as featheryWindow, s as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, t as __rest, v as formatDateString } from './fthry_index.DEz3Unk1.js';
1
+ import { b as jsx, G as Global, o as css, p as __makeTemplateObject, a as __assign, _ as __read, q as isMobile, l as featheryWindow, s as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, t as __rest, v as formatDateString } from './fthry_index.CBNspXVR.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
4
- import { P as Placeholder } from './fthry_Placeholder.ChbqXh1M.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
4
+ import { P as Placeholder } from './fthry_Placeholder.BGwhXwAz.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
6
6
  import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
7
7
  import * as ReactDOM from 'react-dom';
8
8
  import ReactDOM__default from 'react-dom';
9
- import { I as IMask, a as IMaskInput } from './fthry_input.CNSkvM1z.js';
9
+ import { I as IMask, a as IMaskInput } from './fthry_input.Bw3xhju0.js';
10
10
  import 'react-dom/client';
11
11
  import 'jszip';
12
- import './fthry_Overlay.DkLsoRUo.js';
13
- import './fthry_index.0B-SHhds.js';
12
+ import './fthry_Overlay.BkaabwQm.js';
13
+ import './fthry_index.DYTH_1IR.js';
14
14
 
15
15
  var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
16
16
  var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
@@ -154,6 +154,176 @@ function toDate$1(argument, context) {
154
154
  return constructFrom$1(argument, argument);
155
155
  }
156
156
 
157
+ /**
158
+ * The {@link addDays} function options.
159
+ */
160
+
161
+ /**
162
+ * @name addDays
163
+ * @category Day Helpers
164
+ * @summary Add the specified number of days to the given date.
165
+ *
166
+ * @description
167
+ * Add the specified number of days to the given date.
168
+ *
169
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
170
+ * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
171
+ *
172
+ * @param date - The date to be changed
173
+ * @param amount - The amount of days to be added.
174
+ * @param options - An object with options
175
+ *
176
+ * @returns The new date with the days added
177
+ *
178
+ * @example
179
+ * // Add 10 days to 1 September 2014:
180
+ * const result = addDays(new Date(2014, 8, 1), 10)
181
+ * //=> Thu Sep 11 2014 00:00:00
182
+ */
183
+ function addDays$1(date, amount, options) {
184
+ const _date = toDate$1(date);
185
+ if (isNaN(amount)) return constructFrom$1(date, NaN);
186
+
187
+ // If 0 days, no-op to avoid changing times in the hour before end of DST
188
+ if (!amount) return _date;
189
+
190
+ _date.setDate(_date.getDate() + amount);
191
+ return _date;
192
+ }
193
+
194
+ /**
195
+ * The {@link addMonths} function options.
196
+ */
197
+
198
+ /**
199
+ * @name addMonths
200
+ * @category Month Helpers
201
+ * @summary Add the specified number of months to the given date.
202
+ *
203
+ * @description
204
+ * Add the specified number of months to the given date.
205
+ *
206
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
207
+ * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
208
+ *
209
+ * @param date - The date to be changed
210
+ * @param amount - The amount of months to be added.
211
+ * @param options - The options object
212
+ *
213
+ * @returns The new date with the months added
214
+ *
215
+ * @example
216
+ * // Add 5 months to 1 September 2014:
217
+ * const result = addMonths(new Date(2014, 8, 1), 5)
218
+ * //=> Sun Feb 01 2015 00:00:00
219
+ *
220
+ * // Add one month to 30 January 2023:
221
+ * const result = addMonths(new Date(2023, 0, 30), 1)
222
+ * //=> Tue Feb 28 2023 00:00:00
223
+ */
224
+ function addMonths$1(date, amount, options) {
225
+ const _date = toDate$1(date);
226
+ if (isNaN(amount)) return constructFrom$1(date, NaN);
227
+ if (!amount) {
228
+ // If 0 months, no-op to avoid changing times in the hour before end of DST
229
+ return _date;
230
+ }
231
+ const dayOfMonth = _date.getDate();
232
+
233
+ // The JS Date object supports date math by accepting out-of-bounds values for
234
+ // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and
235
+ // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we
236
+ // want except that dates will wrap around the end of a month, meaning that
237
+ // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So
238
+ // we'll default to the end of the desired month by adding 1 to the desired
239
+ // month and using a date of 0 to back up one day to the end of the desired
240
+ // month.
241
+ const endOfDesiredMonth = constructFrom$1(date, _date.getTime());
242
+ endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);
243
+ const daysInMonth = endOfDesiredMonth.getDate();
244
+ if (dayOfMonth >= daysInMonth) {
245
+ // If we're already at the end of the month, then this is the correct date
246
+ // and we're done.
247
+ return endOfDesiredMonth;
248
+ } else {
249
+ // Otherwise, we now know that setting the original day-of-month value won't
250
+ // cause an overflow, so set the desired day-of-month. Note that we can't
251
+ // just set the date of `endOfDesiredMonth` because that object may have had
252
+ // its time changed in the unusual case where where a DST transition was on
253
+ // the last day of the month and its local time was in the hour skipped or
254
+ // repeated next to a DST transition. So we use `date` instead which is
255
+ // guaranteed to still have the original time.
256
+ _date.setFullYear(
257
+ endOfDesiredMonth.getFullYear(),
258
+ endOfDesiredMonth.getMonth(),
259
+ dayOfMonth,
260
+ );
261
+ return _date;
262
+ }
263
+ }
264
+
265
+ /**
266
+ * The {@link add} function options.
267
+ */
268
+
269
+ /**
270
+ * @name add
271
+ * @category Common Helpers
272
+ * @summary Add the specified years, months, weeks, days, hours, minutes, and seconds to the given date.
273
+ *
274
+ * @description
275
+ * Add the specified years, months, weeks, days, hours, minutes, and seconds to the given date.
276
+ *
277
+ * @typeParam DateType - The `Date` type the function operates on. Gets inferred from passed arguments. Allows using extensions like [`UTCDate`](https://github.com/date-fns/utc).
278
+ * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
279
+ *
280
+ * @param date - The date to be changed
281
+ * @param duration - The object with years, months, weeks, days, hours, minutes, and seconds to be added.
282
+ * @param options - An object with options
283
+ *
284
+ * @returns The new date with the seconds added
285
+ *
286
+ * @example
287
+ * // Add the following duration to 1 September 2014, 10:19:50
288
+ * const result = add(new Date(2014, 8, 1, 10, 19, 50), {
289
+ * years: 2,
290
+ * months: 9,
291
+ * weeks: 1,
292
+ * days: 7,
293
+ * hours: 5,
294
+ * minutes: 9,
295
+ * seconds: 30,
296
+ * })
297
+ * //=> Thu Jun 15 2017 15:29:20
298
+ */
299
+ function add(date, duration, options) {
300
+ const {
301
+ years = 0,
302
+ months = 0,
303
+ weeks = 0,
304
+ days = 0,
305
+ hours = 0,
306
+ minutes = 0,
307
+ seconds = 0,
308
+ } = duration;
309
+
310
+ // Add years and months
311
+ const _date = toDate$1(date);
312
+ const dateWithMonths =
313
+ months || years ? addMonths$1(_date, months + years * 12) : _date;
314
+
315
+ // Add weeks and days
316
+ const dateWithDays =
317
+ days || weeks ? addDays$1(dateWithMonths, days + weeks * 7) : dateWithMonths;
318
+
319
+ // Add days, hours, minutes, and seconds
320
+ const minutesToAdd = minutes + hours * 60;
321
+ const secondsToAdd = seconds + minutesToAdd * 60;
322
+ const msToAdd = secondsToAdd * 1000;
323
+
324
+ return constructFrom$1(date, +dateWithDays + msToAdd);
325
+ }
326
+
157
327
  const formatDistanceLocale$1 = {
158
328
  lessThanXSeconds: {
159
329
  one: "less than a second",
@@ -15737,13 +15907,32 @@ var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
15737
15907
  var parseTimeThreshold = function (timeThreshold) {
15738
15908
  return timeThreshold.split(':').map(Number);
15739
15909
  };
15910
+ var parseDateConfig = function (config) {
15911
+ var _a;
15912
+ if (!config)
15913
+ return undefined;
15914
+ // string - parse absolute date
15915
+ if (typeof config === 'string') {
15916
+ var date = parseISO$1(config);
15917
+ return date.toString() === 'Invalid Date' ? undefined : date;
15918
+ }
15919
+ // object - parse relative date
15920
+ if (typeof config === 'object' &&
15921
+ config.number !== undefined &&
15922
+ config.unit) {
15923
+ var now = new Date();
15924
+ var number = config.number, unit = config.unit;
15925
+ return add(now, (_a = {}, _a[unit] = number, _a));
15926
+ }
15927
+ return undefined;
15928
+ };
15740
15929
  var stopTouchPropagation = function (e) { return e.stopPropagation(); };
15741
15930
  function DateSelectorField(_a) {
15742
- var _b, _c, _d;
15743
- var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.required, required = _f === void 0 ? false : _f, _g = _a.disabled, disabled = _g === void 0 ? false : _g, repeatIndex = _a.repeatIndex, editMode = _a.editMode, _h = _a.onComplete, onComplete = _h === void 0 ? function () { } : _h, _j = _a.onEnter, onEnter = _j === void 0 ? function () { } : _j, _k = _a.setRef, setRef = _k === void 0 ? function () { } : _k, _l = _a.value, value = _l === void 0 ? '' : _l, inlineError = _a.inlineError, children = _a.children;
15931
+ var _b, _c, _d, _e, _f;
15932
+ var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _g = _a.elementProps, elementProps = _g === void 0 ? {} : _g, _h = _a.required, required = _h === void 0 ? false : _h, _j = _a.disabled, disabled = _j === void 0 ? false : _j, repeatIndex = _a.repeatIndex, editMode = _a.editMode, _k = _a.onComplete, onComplete = _k === void 0 ? function () { } : _k, _l = _a.onEnter, onEnter = _l === void 0 ? function () { } : _l, _m = _a.setRef, setRef = _m === void 0 ? function () { } : _m, _o = _a.value, value = _o === void 0 ? '' : _o, inlineError = _a.inlineError, children = _a.children;
15744
15933
  var servarMeta = element.servar.metadata;
15745
15934
  var pickerRef = useRef(undefined);
15746
- var _m = __read(useState(null), 2), internalDate = _m[0], setInternalDate = _m[1];
15935
+ var _p = __read(useState(null), 2), internalDate = _p[0], setInternalDate = _p[1];
15747
15936
  var translation = element.properties.translate || {};
15748
15937
  var containerRef = useRef(null);
15749
15938
  var shouldRestoreCalendarRef = useRef(false);
@@ -15751,7 +15940,7 @@ function DateSelectorField(_a) {
15751
15940
  monthNames: translation.months,
15752
15941
  shortDayNames: translation.weekdays
15753
15942
  });
15754
- var _o = __read(useState(0), 2), curPointerY = _o[0], setCurPointerY = _o[1];
15943
+ var _q = __read(useState(0), 2), curPointerY = _q[0], setCurPointerY = _q[1];
15755
15944
  var isMobile$1 = isMobile();
15756
15945
  var isEmbedded = ((_b = featheryWindow()) === null || _b === void 0 ? void 0 : _b.self) !== ((_c = featheryWindow()) === null || _c === void 0 ? void 0 : _c.top);
15757
15946
  // disables mobile devices from focusing inputs through a portal
@@ -15851,12 +16040,12 @@ function DateSelectorField(_a) {
15851
16040
  if (isComplete)
15852
16041
  onComplete(formatDateString(newDate, servarMeta));
15853
16042
  };
15854
- var _p = useBorder({
16043
+ var _r = useBorder({
15855
16044
  element: element,
15856
16045
  error: inlineError,
15857
16046
  breakpoint: responsiveStyles.getMobileBreakpoint()
15858
- }), borderStyles = _p.borderStyles, customBorder = _p.customBorder;
15859
- var _q = __read(useState(false), 2), focused = _q[0], setFocused = _q[1];
16047
+ }), borderStyles = _r.borderStyles, customBorder = _r.customBorder;
16048
+ var _s = __read(useState(false), 2), focused = _s[0], setFocused = _s[1];
15860
16049
  var dateMask = servarMeta.display_format ? 'dd/MM/yyyy' : 'MM/dd/yyyy';
15861
16050
  var timeMask = servarMeta.time_format === '24hr' ? 'HH:mm' : 'hh:mm aa';
15862
16051
  if (servarMeta.choose_time)
@@ -15891,7 +16080,11 @@ function DateSelectorField(_a) {
15891
16080
  }, onBlur: function () { return setFocused(false); }, onKeyDown: function (e) {
15892
16081
  if (e.key === 'Enter')
15893
16082
  onEnter(e);
15894
- }, required: required, readOnly: disabled, filterDate: filterPassedDate, filterTime: filterPassedTime, showTimeSelect: (_d = servarMeta.choose_time) !== null && _d !== void 0 ? _d : false, timeIntervals: servarMeta.time_interval || 30, dateFormat: dateMask, timeFormat: timeMask, maxDate: servarMeta.no_future && !editMode ? new Date() : undefined, minDate: servarMeta.no_past && !editMode ? new Date() : undefined, showMonthDropdown: true, showYearDropdown: true, forceShowMonthNavigation: false, dropdownMode: 'select',
16083
+ }, required: required, readOnly: disabled, filterDate: filterPassedDate, filterTime: filterPassedTime, showTimeSelect: (_d = servarMeta.choose_time) !== null && _d !== void 0 ? _d : false, timeIntervals: servarMeta.time_interval || 30, dateFormat: dateMask, timeFormat: timeMask, maxDate: editMode
16084
+ ? undefined
16085
+ : (_e = parseDateConfig(servarMeta.max_date)) !== null && _e !== void 0 ? _e : (servarMeta.no_future ? new Date() : undefined), minDate: editMode
16086
+ ? undefined
16087
+ : (_f = parseDateConfig(servarMeta.min_date)) !== null && _f !== void 0 ? _f : (servarMeta.no_past ? new Date() : undefined), showMonthDropdown: true, showYearDropdown: true, forceShowMonthNavigation: false, dropdownMode: 'select',
15895
16088
  // Open up calendar as a modal in mobile
15896
16089
  withPortal: isMobile$1, portalId: isMobile$1 ? 'feathery-portal' : undefined, "aria-label": element.properties.aria_label, css: __assign(__assign(__assign({ height: '100%', width: '100%', border: 'none', margin: 0, background: 'transparent' }, resetStyles), responsiveStyles.getTarget('field')), (focused || value || !element.properties.placeholder
15897
16090
  ? {}
@@ -1,12 +1,12 @@
1
- import { u as useBorder, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard, f as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.DEz3Unk1.js';
1
+ import { u as useBorder, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard, f as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.CBNspXVR.js';
2
2
  import { useRef, useMemo } from 'react';
3
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
4
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CjIblTsh.js';
3
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
4
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.Kx93832t.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
8
8
  import 'react-dom';
9
- import './fthry_Overlay.DkLsoRUo.js';
9
+ import './fthry_Overlay.BkaabwQm.js';
10
10
 
11
11
  function ButtonGroupField(_a) {
12
12
  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;
@@ -43538,9 +43538,9 @@ function init(sdkKey, options) {
43538
43538
  if (runningInClient()) {
43539
43539
  // Dynamically load libraries that must be client side
43540
43540
  global.scriptjsLoadPromise = import(
43541
- /* webpackChunkName: "scriptjs" */ './fthry_script.B16_IH9w.js').then(function (n) { return n.s; });
43541
+ /* webpackChunkName: "scriptjs" */ './fthry_script.LLJ5A9CG.js').then(function (n) { return n.s; });
43542
43542
  global.webfontloaderPromise = import(
43543
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DJbai8E2.js').then(function (n) { return n.w; });
43543
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DtNRbLFp.js').then(function (n) { return n.w; });
43544
43544
  // Client-side tracking logic
43545
43545
  if (initState.userTracking === 'cookie') {
43546
43546
  var cookieKey = "feathery-user-id-".concat(sdkKey);
@@ -43686,7 +43686,7 @@ function getFieldValues() {
43686
43686
  return __assign({}, fieldValues);
43687
43687
  }
43688
43688
  function logFeatheryBadge() {
43689
- console.log('%c Feathery %c v' + "2.10.4" + ' ', // replaced with real version during build
43689
+ console.log('%c Feathery %c v' + "2.11.0" + ' ', // replaced with real version during build
43690
43690
  '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;');
43691
43691
  }
43692
43692
 
@@ -45158,39 +45158,39 @@ breakpoint) {
45158
45158
  return styles.getTarget('inner-container', undefined, viewport === 'mobile');
45159
45159
  };
45160
45160
 
45161
- var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.yssMp2Sy.js'); });
45162
- var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.53sTOmmn.js'); });
45163
- var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.B95NyPKm.js'); });
45161
+ var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.CCw70Cjx.js'); });
45162
+ var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.CAnpWx_Z.js'); });
45163
+ var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.ptB6q5XU.js'); });
45164
45164
  var CheckboxGroupField = lazy(function () {
45165
- return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.AupFnvNG.js');
45165
+ return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.DT8ZfHHu.js');
45166
45166
  });
45167
- var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.D6i0WTaf.js'); });
45168
- var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.DxUfaIgG.js'); });
45167
+ var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BQa_ZCWw.js'); });
45168
+ var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.FH2KJFfM.js'); });
45169
45169
  var DateSelectorField = lazy(function () {
45170
- return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DDt2EQSO.js');
45170
+ return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.C2S4c5pF.js');
45171
45171
  });
45172
- var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.D3kE6xSV.js'); });
45172
+ var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.BMcwXprn.js'); });
45173
45173
  var DropdownMultiField = lazy(function () {
45174
- return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.CShNj3fL.js');
45174
+ return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.D3GResKv.js');
45175
45175
  });
45176
- var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.CQ5JOSod.js'); });
45177
- var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DQowcu5D.js'); });
45178
- var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.XKItlsHk.js'); });
45176
+ var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.Dbx-Pve6.js'); });
45177
+ var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.BbTIO7u5.js'); });
45178
+ var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.BLb5-3Gk.js'); });
45179
45179
  var PaymentMethodField = lazy(function () {
45180
- return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.wSqTzrcH.js');
45180
+ return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BxwQuSXD.js');
45181
45181
  });
45182
- var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.Cz4S5q3A.js'); });
45183
- var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.DRGnCWqW.js'); });
45184
- var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BDtl0X99.js'); });
45182
+ var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.w1320dF7.js'); });
45183
+ var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.B0OijNSq.js'); });
45184
+ var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.CNDhPheV.js'); });
45185
45185
  var RadioButtonGroupField = lazy(function () {
45186
45186
  return import(
45187
- /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.Dpvpv2xt.js');
45187
+ /* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.Nu99hAd8.js');
45188
45188
  });
45189
- var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.CesKGxRL.js'); });
45190
- var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.T2sjKIYG.js'); });
45191
- var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.DASp8aCj.js'); });
45192
- var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.D2_C3keg.js'); });
45193
- var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DQxfJdRB.js'); });
45189
+ var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.BOVi_Kyn.js'); });
45190
+ var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.CUaZkZZ2.js'); });
45191
+ var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.Bi5cCZNy.js'); });
45192
+ var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.CTHihuoA.js'); });
45193
+ var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.LkObY36D.js'); });
45194
45194
  var Fields = {
45195
45195
  AddressLine1: AddressLine1,
45196
45196
  ButtonGroupField: ButtonGroupField,
@@ -1,9 +1,9 @@
1
- import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, c as __awaiter, d as __generator, F as FeatheryClient, e as debounce } from './fthry_index.DEz3Unk1.js';
1
+ import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, c as __awaiter, d as __generator, F as FeatheryClient, e as debounce } from './fthry_index.CBNspXVR.js';
2
2
  import { useRef, useEffect, memo, useState, useCallback } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.ChbqXh1M.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
5
- import { O as Overlay } from './fthry_Overlay.DkLsoRUo.js';
6
- import { u as useElementSize } from './fthry_useElementSize.D0NVoaWJ.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.BGwhXwAz.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
5
+ import { O as Overlay } from './fthry_Overlay.BkaabwQm.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.COtsWo4L.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
@@ -1,6 +1,6 @@
1
- import { c as __awaiter, d as __generator, a4 as __spreadArray, _ as __read, ai as __values, l as featheryWindow, aj as loadQRScanner, ak as throttle, b as jsx, j as jsxs, a as __assign, m as Fragment, E as ErrorInput, al as qrPromise } from './fthry_index.DEz3Unk1.js';
1
+ import { c as __awaiter, d as __generator, a4 as __spreadArray, _ as __read, ai as __values, l as featheryWindow, aj as loadQRScanner, ak as throttle, b as jsx, j as jsxs, a as __assign, m as Fragment, E as ErrorInput, al as qrPromise } from './fthry_index.CBNspXVR.js';
2
2
  import React__default, { useEffect, useCallback } from 'react';
3
- import { S as SliderStyles, a as Slider } from './fthry_styles.BjknDpXW.js';
3
+ import { S as SliderStyles, a as Slider } from './fthry_styles.Bv1uXTuw.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1,16 +1,16 @@
1
- import { j as jsxs, a as __assign, b as jsx, D as DROPDOWN_Z_INDEX, _ as __read, u as useBorder, ar as getFieldValue, as as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.DEz3Unk1.js';
1
+ import { j as jsxs, a as __assign, b as jsx, D as DROPDOWN_Z_INDEX, _ as __read, u as useBorder, ar as getFieldValue, as as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.CBNspXVR.js';
2
2
  import { memo, useRef, useState } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.ChbqXh1M.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
5
- import { O as Overlay } from './fthry_Overlay.DkLsoRUo.js';
6
- import { u as useElementSize } from './fthry_useElementSize.D0NVoaWJ.js';
7
- import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.Bcr_DvfJ.js';
8
- import { a as IMaskInput } from './fthry_input.CNSkvM1z.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.BGwhXwAz.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
5
+ import { O as Overlay } from './fthry_Overlay.BkaabwQm.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.COtsWo4L.js';
7
+ import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.BvjO5Fwu.js';
8
+ import { a as IMaskInput } from './fthry_input.Bw3xhju0.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react-dom/client';
11
11
  import 'jszip';
12
12
  import 'react-dom';
13
- import './fthry_index.0B-SHhds.js';
13
+ import './fthry_index.DYTH_1IR.js';
14
14
 
15
15
  function TextAutocomplete(_a) {
16
16
  var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
@@ -1,6 +1,6 @@
1
- import { s as featheryDoc, am as devicePixelRatio, g as getDefaultExportFromCjs, _ as __read, j as jsxs, b as jsx, a as __assign, m as Fragment, c as __awaiter, d as __generator, an as toBase64, e as debounce, ao as MODAL_Z_INDEX, a9 as CloseIcon, ap as dataURLToFile, k as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.DEz3Unk1.js';
1
+ import { s as featheryDoc, am as devicePixelRatio, g as getDefaultExportFromCjs, _ as __read, j as jsxs, b as jsx, a as __assign, m as Fragment, c as __awaiter, d as __generator, an as toBase64, e as debounce, ao as MODAL_Z_INDEX, a9 as CloseIcon, ap as dataURLToFile, k as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.CBNspXVR.js';
2
2
  import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
3
- import { P as PropTypes } from './fthry_index.0B-SHhds.js';
3
+ import { P as PropTypes } from './fthry_index.DYTH_1IR.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom/client';
6
6
  import 'jszip';
@@ -1433,7 +1433,7 @@ function SignatureField(_a) {
1433
1433
  useEffect(function () {
1434
1434
  if (!global.webfontloaderPromise)
1435
1435
  global.webfontloaderPromise = import(
1436
- /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DJbai8E2.js').then(function (n) { return n.w; });
1436
+ /* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DtNRbLFp.js').then(function (n) { return n.w; });
1437
1437
  global.webfontloaderPromise.then(function (WebFont) {
1438
1438
  WebFont.load({ google: { families: ['La Belle Aurore'] } });
1439
1439
  });
@@ -1,10 +1,10 @@
1
- import { y as stringify, z as rulesheet, C as COMMENT, A as middleware, R as RULESET, B as combine, H as match, I as serialize, J as copy, K as replace, W as WEBKIT, M as MOZ, L as MS, N as KEYFRAMES, O as DECLARATION, P as dealloc, Q as alloc, S as hash, T as charat, U as strlen, V as indexof, X as next, Y as token, Z as from, $ as peek, a0 as delimit, a1 as slice, a2 as position, a3 as compile, b as jsx$1, a as __assign, j as jsxs, m as Fragment$1, t as __rest, _ as __read, k as FORM_Z_INDEX, l as featheryWindow, s as featheryDoc, a4 as __spreadArray, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.DEz3Unk1.js';
1
+ import { y as stringify, z as rulesheet, C as COMMENT, A as middleware, R as RULESET, B as combine, H as match, I as serialize, J as copy, K as replace, W as WEBKIT, M as MOZ, L as MS, N as KEYFRAMES, O as DECLARATION, P as dealloc, Q as alloc, S as hash, T as charat, U as strlen, V as indexof, X as next, Y as token, Z as from, $ as peek, a0 as delimit, a1 as slice, a2 as position, a3 as compile, b as jsx$1, a as __assign, j as jsxs, m as Fragment$1, t as __rest, _ as __read, k as FORM_Z_INDEX, l as featheryWindow, s as featheryDoc, a4 as __spreadArray, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.CBNspXVR.js';
2
2
  import * as React from 'react';
3
3
  import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
5
- import { P as Placeholder$2 } from './fthry_Placeholder.ChbqXh1M.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CjIblTsh.js';
7
- import { T as Tooltip, O as Overlay } from './fthry_Overlay.DkLsoRUo.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
5
+ import { P as Placeholder$2 } from './fthry_Placeholder.BGwhXwAz.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.Kx93832t.js';
7
+ import { T as Tooltip, O as Overlay } from './fthry_Overlay.BkaabwQm.js';
8
8
  import { createPortal } from 'react-dom';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react-dom/client';
@@ -1,14 +1,14 @@
1
- import { j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DEz3Unk1.js';
1
+ import { j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CBNspXVR.js';
2
2
  import { useRef, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.BA0jHih4.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.B95NyPKm.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CjIblTsh.js';
3
+ import { F as FormControl } from './fthry_FormControl.Bvp1ol8q.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.ptB6q5XU.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.Kx93832t.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
10
10
  import 'react-dom';
11
- import './fthry_Overlay.DkLsoRUo.js';
11
+ import './fthry_Overlay.BkaabwQm.js';
12
12
 
13
13
  var applyCheckboxGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('checkboxGroup');
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from './fthry_index.DEz3Unk1.js';
1
+ import { g as getDefaultExportFromCjs } from './fthry_index.CBNspXVR.js';
2
2
 
3
3
  var propTypes = {exports: {}};
4
4
 
@@ -1,4 +1,4 @@
1
- import { j as jsxs, a as __assign, b as jsx, _ as __read, a5 as isEmptyArray, a6 as toList, a7 as useThumbnailData, a4 as __spreadArray, f as imgMaxSizeStyles, c as __awaiter, d as __generator, a8 as downloadFile, a9 as CloseIcon, i as iosScrollOnFocus, k as FORM_Z_INDEX, aa as justRemove } from './fthry_index.DEz3Unk1.js';
1
+ import { j as jsxs, a as __assign, b as jsx, _ as __read, a5 as isEmptyArray, a6 as toList, a7 as useThumbnailData, a4 as __spreadArray, f as imgMaxSizeStyles, c as __awaiter, d as __generator, a8 as downloadFile, a9 as CloseIcon, i as iosScrollOnFocus, k as FORM_Z_INDEX, aa as justRemove } from './fthry_index.CBNspXVR.js';
2
2
  import { useRef, useState, useEffect } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,4 +1,4 @@
1
- import { b as jsx, a as __assign, j as jsxs, _ as __read, c as __awaiter, d as __generator, l as featheryWindow, m as Fragment, E as ErrorInput } from './fthry_index.DEz3Unk1.js';
1
+ import { b as jsx, a as __assign, j as jsxs, _ as __read, c as __awaiter, d as __generator, l as featheryWindow, m as Fragment, E as ErrorInput } from './fthry_index.CBNspXVR.js';
2
2
  import { useRef, useState, useEffect, memo, useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,12 +1,12 @@
1
- import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, r as resetStyles } from './fthry_index.DEz3Unk1.js';
1
+ import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, r as resetStyles } from './fthry_index.CBNspXVR.js';
2
2
  import { memo, useState, useRef } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.ChbqXh1M.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.BGwhXwAz.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react-dom/client';
7
7
  import 'jszip';
8
8
  import 'react-dom';
9
- import './fthry_Overlay.DkLsoRUo.js';
9
+ import './fthry_Overlay.BkaabwQm.js';
10
10
 
11
11
  function TextArea(_a) {
12
12
  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;
@@ -1,14 +1,14 @@
1
- import { _ as __read, j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DEz3Unk1.js';
1
+ import { _ as __read, j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CBNspXVR.js';
2
2
  import { useRef, useState, useMemo } from 'react';
3
- import { F as FormControl } from './fthry_FormControl.BA0jHih4.js';
4
- import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.B95NyPKm.js';
5
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
6
- import { u as useSalesforceSync } from './fthry_useSalesforceSync.CjIblTsh.js';
3
+ import { F as FormControl } from './fthry_FormControl.Bvp1ol8q.js';
4
+ import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.ptB6q5XU.js';
5
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
6
+ import { u as useSalesforceSync } from './fthry_useSalesforceSync.Kx93832t.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
10
10
  import 'react-dom';
11
- import './fthry_Overlay.DkLsoRUo.js';
11
+ import './fthry_Overlay.BkaabwQm.js';
12
12
 
13
13
  var applyRadioGroupStyles = function (element, responsiveStyles) {
14
14
  responsiveStyles.addTargets('radioGroup');
@@ -1,4 +1,4 @@
1
- import { a as __assign, h as hoverStylesGuard, j as jsxs, b as jsx, i as iosScrollOnFocus } from './fthry_index.DEz3Unk1.js';
1
+ import { a as __assign, h as hoverStylesGuard, j as jsxs, b as jsx, i as iosScrollOnFocus } from './fthry_index.CBNspXVR.js';
2
2
  import { useMemo } from 'react';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-dom/client';
@@ -1,9 +1,9 @@
1
- import { t as __rest, _ as __read, w as countryData, ae as authState, af as firebaseSMSCountries, j as jsxs, b as jsx, a as __assign, m as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ag as phoneLibPromise, h as hoverStylesGuard, ah as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.DEz3Unk1.js';
1
+ import { t as __rest, _ as __read, w as countryData, ae as authState, af as firebaseSMSCountries, j as jsxs, b as jsx, a as __assign, m as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ag as phoneLibPromise, h as hoverStylesGuard, ah as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CBNspXVR.js';
2
2
  import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
3
- import { P as Placeholder } from './fthry_Placeholder.ChbqXh1M.js';
4
- import { I as InlineTooltip } from './fthry_InlineTooltip.Dm0KK5M9.js';
5
- import { O as Overlay } from './fthry_Overlay.DkLsoRUo.js';
6
- import { u as useElementSize } from './fthry_useElementSize.D0NVoaWJ.js';
3
+ import { P as Placeholder } from './fthry_Placeholder.BGwhXwAz.js';
4
+ import { I as InlineTooltip } from './fthry_InlineTooltip.CGcT2Q5h.js';
5
+ import { O as Overlay } from './fthry_Overlay.BkaabwQm.js';
6
+ import { u as useElementSize } from './fthry_useElementSize.COtsWo4L.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'react-dom/client';
9
9
  import 'jszip';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { P as PropTypes } from './fthry_index.0B-SHhds.js';
2
+ import { P as PropTypes } from './fthry_index.DYTH_1IR.js';
3
3
 
4
4
  /** Checks if value is string */
5
5
  function isString(str) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from './fthry_index.DEz3Unk1.js';
1
+ import { g as getDefaultExportFromCjs } from './fthry_index.CBNspXVR.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { useState, useMemo } from 'react';
3
- import { aq as cls, j as jsxs, m as Fragment, b as jsx, G as Global, o as css, p as __makeTemplateObject } from './fthry_index.DEz3Unk1.js';
3
+ import { aq as cls, j as jsxs, m as Fragment, b as jsx, G as Global, o as css, p as __makeTemplateObject } from './fthry_index.CBNspXVR.js';
4
4
  import { flushSync } from 'react-dom';
5
5
 
6
6
  function canUseDom() {
@@ -1,4 +1,4 @@
1
- import { _ as __read, l as featheryWindow } from './fthry_index.DEz3Unk1.js';
1
+ import { _ as __read, l as featheryWindow } from './fthry_index.CBNspXVR.js';
2
2
  import { useState, useLayoutEffect } from 'react';
3
3
 
4
4
  function useElementSize(anchorRef) {
@@ -1,4 +1,4 @@
1
- import { _ as __read, c as __awaiter, d as __generator, F as FeatheryClient } from './fthry_index.DEz3Unk1.js';
1
+ import { _ as __read, c as __awaiter, d as __generator, F as FeatheryClient } from './fthry_index.CBNspXVR.js';
2
2
  import { useState, useEffect } from 'react';
3
3
 
4
4
  function useSalesforceSync(salesforceSync, editMode) {