@frollo/frollo-web-ui 0.1.0 → 0.2.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 (31) hide show
  1. package/cjs/index.js +571 -402
  2. package/esm/{add-to-unscopables-874257d1.js → add-to-unscopables-81c17489.js} +139 -99
  3. package/esm/{es.array.includes-ef2f18f4.js → es.array.includes-debcb50f.js} +9 -3
  4. package/esm/{es.function.name-43e1ffbd.js → es.function.name-e746680f.js} +1 -1
  5. package/esm/{function-name-a620492a.js → function-name-f0c1223e.js} +52 -61
  6. package/esm/{fw-button-93be6218.js → fw-button-ab906734.js} +12 -4
  7. package/esm/fw-button.js +4 -4
  8. package/esm/fw-card.js +6 -3
  9. package/esm/fw-checkbox.js +13 -8
  10. package/esm/fw-form.js +1 -1
  11. package/esm/fw-input.js +21 -11
  12. package/esm/fw-modal.js +7 -475
  13. package/esm/fw-navigation-menu.js +17 -17
  14. package/esm/fw-tabs.js +3 -3
  15. package/esm/{index-5430e7a3.js → index-0e14da44.js} +18 -22
  16. package/esm/index-963039a3.js +475 -0
  17. package/esm/index.js +124 -45
  18. package/esm/{vee-validate.esm-028c6424.js → vee-validate.esm-b64acab1.js} +62 -9
  19. package/frollo-web-ui.esm.js +592 -399
  20. package/index.d.ts +29 -24
  21. package/package.json +20 -17
  22. package/tailwind.config.js +8 -8
  23. package/types/components/fw-button/fw-button.vue.d.ts +1 -0
  24. package/types/components/fw-button/index.types.d.ts +1 -9
  25. package/types/components/fw-card/fw-card.vue.d.ts +1 -0
  26. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +5 -4
  27. package/types/components/fw-checkbox/index.types.d.ts +1 -1
  28. package/types/components/fw-input/fw-input.vue.d.ts +17 -4
  29. package/types/components/fw-input/index.types.d.ts +2 -5
  30. package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +1 -0
  31. package/types/services/modal.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance, inject, warn as warn$1, ref, unref, computed, reactive, watch, nextTick, onUnmounted, onMounted, provide, isRef, onBeforeUnmount, defineComponent, toRef, resolveDynamicComponent, h, markRaw, watchEffect, readonly, createElementVNode, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toDisplayString, createCommentVNode, renderSlot, mergeProps, Transition, normalizeClass, createBlock, Fragment, renderList, createTextVNode, pushScopeId, popScopeId, render as render$8 } from 'vue';
1
+ import { getCurrentInstance, inject, warn as warn$1, ref, unref, computed, reactive, watch, nextTick, onUnmounted, onMounted, provide, isRef, onBeforeUnmount, defineComponent, toRef, resolveDynamicComponent, h, markRaw, watchEffect, readonly, createElementVNode, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toDisplayString, createCommentVNode, renderSlot, mergeProps, Transition, normalizeClass, pushScopeId, popScopeId, createBlock, Fragment, renderList, createTextVNode, createApp } from 'vue';
2
2
 
3
3
  function _arrayWithHoles(arr) {
4
4
  if (Array.isArray(arr)) return arr;
@@ -101,8 +101,8 @@ var check = function (it) {
101
101
  };
102
102
 
103
103
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
104
- var global$r =
105
- // eslint-disable-next-line es/no-global-this -- safe
104
+ var global$f =
105
+ // eslint-disable-next-line es-x/no-global-this -- safe
106
106
  check(typeof globalThis == 'object' && globalThis) ||
107
107
  check(typeof window == 'object' && window) ||
108
108
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -113,7 +113,7 @@ var global$r =
113
113
 
114
114
  var objectGetOwnPropertyDescriptor = {};
115
115
 
116
- var fails$a = function (exec) {
116
+ var fails$c = function (exec) {
117
117
  try {
118
118
  return !!exec();
119
119
  } catch (error) {
@@ -121,35 +121,36 @@ var fails$a = function (exec) {
121
121
  }
122
122
  };
123
123
 
124
- var fails$9 = fails$a;
124
+ var fails$b = fails$c;
125
125
 
126
126
  // Detect IE8's incomplete defineProperty implementation
127
- var descriptors = !fails$9(function () {
128
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
127
+ var descriptors = !fails$b(function () {
128
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
129
129
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
130
130
  });
131
131
 
132
- var fails$8 = fails$a;
132
+ var fails$a = fails$c;
133
133
 
134
- var functionBindNative = !fails$8(function () {
134
+ var functionBindNative = !fails$a(function () {
135
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
135
136
  var test = (function () { /* empty */ }).bind();
136
137
  // eslint-disable-next-line no-prototype-builtins -- safe
137
138
  return typeof test != 'function' || test.hasOwnProperty('prototype');
138
139
  });
139
140
 
140
- var NATIVE_BIND$2 = functionBindNative;
141
+ var NATIVE_BIND$3 = functionBindNative;
141
142
 
142
- var call$4 = Function.prototype.call;
143
+ var call$5 = Function.prototype.call;
143
144
 
144
- var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
145
- return call$4.apply(call$4, arguments);
145
+ var functionCall = NATIVE_BIND$3 ? call$5.bind(call$5) : function () {
146
+ return call$5.apply(call$5, arguments);
146
147
  };
147
148
 
148
149
  var objectPropertyIsEnumerable = {};
149
150
 
150
151
  'use strict';
151
152
  var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
152
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
153
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
153
154
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
154
155
 
155
156
  // Nashorn ~ JDK8 bug
@@ -171,55 +172,52 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
171
172
  };
172
173
  };
173
174
 
174
- var NATIVE_BIND$1 = functionBindNative;
175
+ var NATIVE_BIND$2 = functionBindNative;
175
176
 
176
- var FunctionPrototype$2 = Function.prototype;
177
- var bind$2 = FunctionPrototype$2.bind;
178
- var call$3 = FunctionPrototype$2.call;
179
- var uncurryThis$i = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
177
+ var FunctionPrototype$3 = Function.prototype;
178
+ var bind$2 = FunctionPrototype$3.bind;
179
+ var call$4 = FunctionPrototype$3.call;
180
+ var uncurryThis$j = NATIVE_BIND$2 && bind$2.bind(call$4, call$4);
180
181
 
181
- var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
182
- return fn && uncurryThis$i(fn);
182
+ var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
183
+ return fn && uncurryThis$j(fn);
183
184
  } : function (fn) {
184
185
  return fn && function () {
185
- return call$3.apply(fn, arguments);
186
+ return call$4.apply(fn, arguments);
186
187
  };
187
188
  };
188
189
 
189
- var uncurryThis$h = functionUncurryThis;
190
+ var uncurryThis$i = functionUncurryThis;
190
191
 
191
- var toString$5 = uncurryThis$h({}.toString);
192
- var stringSlice = uncurryThis$h(''.slice);
192
+ var toString$5 = uncurryThis$i({}.toString);
193
+ var stringSlice = uncurryThis$i(''.slice);
193
194
 
194
195
  var classofRaw$1 = function (it) {
195
196
  return stringSlice(toString$5(it), 8, -1);
196
197
  };
197
198
 
198
- var global$q = global$r;
199
- var uncurryThis$g = functionUncurryThis;
200
- var fails$7 = fails$a;
199
+ var uncurryThis$h = functionUncurryThis;
200
+ var fails$9 = fails$c;
201
201
  var classof$5 = classofRaw$1;
202
202
 
203
- var Object$4 = global$q.Object;
204
- var split = uncurryThis$g(''.split);
203
+ var $Object$3 = Object;
204
+ var split = uncurryThis$h(''.split);
205
205
 
206
206
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
207
- var indexedObject = fails$7(function () {
207
+ var indexedObject = fails$9(function () {
208
208
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
209
209
  // eslint-disable-next-line no-prototype-builtins -- safe
210
- return !Object$4('z').propertyIsEnumerable(0);
210
+ return !$Object$3('z').propertyIsEnumerable(0);
211
211
  }) ? function (it) {
212
- return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
213
- } : Object$4;
212
+ return classof$5(it) == 'String' ? split(it, '') : $Object$3(it);
213
+ } : $Object$3;
214
214
 
215
- var global$p = global$r;
216
-
217
- var TypeError$9 = global$p.TypeError;
215
+ var $TypeError$7 = TypeError;
218
216
 
219
217
  // `RequireObjectCoercible` abstract operation
220
218
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
221
219
  var requireObjectCoercible$3 = function (it) {
222
- if (it == undefined) throw TypeError$9("Can't call method on " + it);
220
+ if (it == undefined) throw $TypeError$7("Can't call method on " + it);
223
221
  return it;
224
222
  };
225
223
 
@@ -233,40 +231,40 @@ var toIndexedObject$5 = function (it) {
233
231
 
234
232
  // `IsCallable` abstract operation
235
233
  // https://tc39.es/ecma262/#sec-iscallable
236
- var isCallable$e = function (argument) {
234
+ var isCallable$g = function (argument) {
237
235
  return typeof argument == 'function';
238
236
  };
239
237
 
240
- var isCallable$d = isCallable$e;
238
+ var isCallable$f = isCallable$g;
241
239
 
242
240
  var isObject$8 = function (it) {
243
- return typeof it == 'object' ? it !== null : isCallable$d(it);
241
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
244
242
  };
245
243
 
246
- var global$o = global$r;
247
- var isCallable$c = isCallable$e;
244
+ var global$e = global$f;
245
+ var isCallable$e = isCallable$g;
248
246
 
249
247
  var aFunction = function (argument) {
250
- return isCallable$c(argument) ? argument : undefined;
248
+ return isCallable$e(argument) ? argument : undefined;
251
249
  };
252
250
 
253
251
  var getBuiltIn$5 = function (namespace, method) {
254
- return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
252
+ return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
255
253
  };
256
254
 
257
- var uncurryThis$f = functionUncurryThis;
255
+ var uncurryThis$g = functionUncurryThis;
258
256
 
259
- var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
257
+ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
260
258
 
261
259
  var getBuiltIn$4 = getBuiltIn$5;
262
260
 
263
261
  var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
264
262
 
265
- var global$n = global$r;
266
- var userAgent = engineUserAgent;
263
+ var global$d = global$f;
264
+ var userAgent$1 = engineUserAgent;
267
265
 
268
- var process = global$n.process;
269
- var Deno = global$n.Deno;
266
+ var process = global$d.process;
267
+ var Deno = global$d.Deno;
270
268
  var versions = process && process.versions || Deno && Deno.version;
271
269
  var v8 = versions && versions.v8;
272
270
  var match, version;
@@ -280,23 +278,23 @@ if (v8) {
280
278
 
281
279
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
282
280
  // so check `userAgent` even if `.v8` exists, but 0
283
- if (!version && userAgent) {
284
- match = userAgent.match(/Edge\/(\d+)/);
281
+ if (!version && userAgent$1) {
282
+ match = userAgent$1.match(/Edge\/(\d+)/);
285
283
  if (!match || match[1] >= 74) {
286
- match = userAgent.match(/Chrome\/(\d+)/);
284
+ match = userAgent$1.match(/Chrome\/(\d+)/);
287
285
  if (match) version = +match[1];
288
286
  }
289
287
  }
290
288
 
291
289
  var engineV8Version = version;
292
290
 
293
- /* eslint-disable es/no-symbol -- required for testing */
291
+ /* eslint-disable es-x/no-symbol -- required for testing */
294
292
 
295
293
  var V8_VERSION = engineV8Version;
296
- var fails$6 = fails$a;
294
+ var fails$8 = fails$c;
297
295
 
298
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
299
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
296
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
297
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
300
298
  var symbol = Symbol();
301
299
  // Chrome 38 Symbol has incorrect toString conversion
302
300
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -305,7 +303,7 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
305
303
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
306
304
  });
307
305
 
308
- /* eslint-disable es/no-symbol -- required for testing */
306
+ /* eslint-disable es-x/no-symbol -- required for testing */
309
307
 
310
308
  var NATIVE_SYMBOL$1 = nativeSymbol;
311
309
 
@@ -313,43 +311,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
313
311
  && !Symbol.sham
314
312
  && typeof Symbol.iterator == 'symbol';
315
313
 
316
- var global$m = global$r;
317
314
  var getBuiltIn$3 = getBuiltIn$5;
318
- var isCallable$b = isCallable$e;
315
+ var isCallable$d = isCallable$g;
319
316
  var isPrototypeOf$1 = objectIsPrototypeOf;
320
317
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
321
318
 
322
- var Object$3 = global$m.Object;
319
+ var $Object$2 = Object;
323
320
 
324
321
  var isSymbol$4 = USE_SYMBOL_AS_UID$1 ? function (it) {
325
322
  return typeof it == 'symbol';
326
323
  } : function (it) {
327
324
  var $Symbol = getBuiltIn$3('Symbol');
328
- return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, Object$3(it));
325
+ return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
329
326
  };
330
327
 
331
- var global$l = global$r;
332
-
333
- var String$4 = global$l.String;
328
+ var $String$3 = String;
334
329
 
335
330
  var tryToString$1 = function (argument) {
336
331
  try {
337
- return String$4(argument);
332
+ return $String$3(argument);
338
333
  } catch (error) {
339
334
  return 'Object';
340
335
  }
341
336
  };
342
337
 
343
- var global$k = global$r;
344
- var isCallable$a = isCallable$e;
338
+ var isCallable$c = isCallable$g;
345
339
  var tryToString = tryToString$1;
346
340
 
347
- var TypeError$8 = global$k.TypeError;
341
+ var $TypeError$6 = TypeError;
348
342
 
349
343
  // `Assert: IsCallable(argument) is true`
350
344
  var aCallable$2 = function (argument) {
351
- if (isCallable$a(argument)) return argument;
352
- throw TypeError$8(tryToString(argument) + ' is not a function');
345
+ if (isCallable$c(argument)) return argument;
346
+ throw $TypeError$6(tryToString(argument) + ' is not a function');
353
347
  };
354
348
 
355
349
  var aCallable$1 = aCallable$2;
@@ -361,45 +355,44 @@ var getMethod$1 = function (V, P) {
361
355
  return func == null ? undefined : aCallable$1(func);
362
356
  };
363
357
 
364
- var global$j = global$r;
365
- var call$2 = functionCall;
366
- var isCallable$9 = isCallable$e;
358
+ var call$3 = functionCall;
359
+ var isCallable$b = isCallable$g;
367
360
  var isObject$7 = isObject$8;
368
361
 
369
- var TypeError$7 = global$j.TypeError;
362
+ var $TypeError$5 = TypeError;
370
363
 
371
364
  // `OrdinaryToPrimitive` abstract operation
372
365
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
373
366
  var ordinaryToPrimitive$1 = function (input, pref) {
374
367
  var fn, val;
375
- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val;
376
- if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$2(fn, input))) return val;
377
- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val;
378
- throw TypeError$7("Can't convert object to primitive value");
368
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
369
+ if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$3(fn, input))) return val;
370
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
371
+ throw $TypeError$5("Can't convert object to primitive value");
379
372
  };
380
373
 
381
374
  var shared$4 = {exports: {}};
382
375
 
383
376
  var isPure = false;
384
377
 
385
- var global$i = global$r;
378
+ var global$c = global$f;
386
379
 
387
- // eslint-disable-next-line es/no-object-defineproperty -- safe
388
- var defineProperty$2 = Object.defineProperty;
380
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
381
+ var defineProperty$4 = Object.defineProperty;
389
382
 
390
- var setGlobal$3 = function (key, value) {
383
+ var defineGlobalProperty$3 = function (key, value) {
391
384
  try {
392
- defineProperty$2(global$i, key, { value: value, configurable: true, writable: true });
385
+ defineProperty$4(global$c, key, { value: value, configurable: true, writable: true });
393
386
  } catch (error) {
394
- global$i[key] = value;
387
+ global$c[key] = value;
395
388
  } return value;
396
389
  };
397
390
 
398
- var global$h = global$r;
399
- var setGlobal$2 = setGlobal$3;
391
+ var global$b = global$f;
392
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
400
393
 
401
394
  var SHARED = '__core-js_shared__';
402
- var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
395
+ var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
403
396
 
404
397
  var sharedStore = store$3;
405
398
 
@@ -409,48 +402,48 @@ var store$2 = sharedStore;
409
402
  (shared$4.exports = function (key, value) {
410
403
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
411
404
  })('versions', []).push({
412
- version: '3.21.1',
405
+ version: '3.23.3',
413
406
  mode: IS_PURE ? 'pure' : 'global',
414
407
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
415
- license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
408
+ license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
416
409
  source: 'https://github.com/zloirock/core-js'
417
410
  });
418
411
 
419
412
  var shared$3 = shared$4.exports;
420
413
 
421
- var global$g = global$r;
422
414
  var requireObjectCoercible$1 = requireObjectCoercible$3;
423
415
 
424
- var Object$2 = global$g.Object;
416
+ var $Object$1 = Object;
425
417
 
426
418
  // `ToObject` abstract operation
427
419
  // https://tc39.es/ecma262/#sec-toobject
428
420
  var toObject$2 = function (argument) {
429
- return Object$2(requireObjectCoercible$1(argument));
421
+ return $Object$1(requireObjectCoercible$1(argument));
430
422
  };
431
423
 
432
- var uncurryThis$e = functionUncurryThis;
424
+ var uncurryThis$f = functionUncurryThis;
433
425
  var toObject$1 = toObject$2;
434
426
 
435
- var hasOwnProperty$1 = uncurryThis$e({}.hasOwnProperty);
427
+ var hasOwnProperty$1 = uncurryThis$f({}.hasOwnProperty);
436
428
 
437
429
  // `HasOwnProperty` abstract operation
438
430
  // https://tc39.es/ecma262/#sec-hasownproperty
431
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
439
432
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
440
433
  return hasOwnProperty$1(toObject$1(it), key);
441
434
  };
442
435
 
443
- var uncurryThis$d = functionUncurryThis;
436
+ var uncurryThis$e = functionUncurryThis;
444
437
 
445
438
  var id = 0;
446
439
  var postfix = Math.random();
447
- var toString$4 = uncurryThis$d(1.0.toString);
440
+ var toString$4 = uncurryThis$e(1.0.toString);
448
441
 
449
442
  var uid$2 = function (key) {
450
443
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
451
444
  };
452
445
 
453
- var global$f = global$r;
446
+ var global$a = global$f;
454
447
  var shared$2 = shared$4.exports;
455
448
  var hasOwn$7 = hasOwnProperty_1;
456
449
  var uid$1 = uid$2;
@@ -458,7 +451,7 @@ var NATIVE_SYMBOL = nativeSymbol;
458
451
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
459
452
 
460
453
  var WellKnownSymbolsStore = shared$2('wks');
461
- var Symbol$2 = global$f.Symbol;
454
+ var Symbol$2 = global$a.Symbol;
462
455
  var symbolFor = Symbol$2 && Symbol$2['for'];
463
456
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
464
457
 
@@ -475,15 +468,14 @@ var wellKnownSymbol$5 = function (name) {
475
468
  } return WellKnownSymbolsStore[name];
476
469
  };
477
470
 
478
- var global$e = global$r;
479
- var call$1 = functionCall;
471
+ var call$2 = functionCall;
480
472
  var isObject$6 = isObject$8;
481
473
  var isSymbol$3 = isSymbol$4;
482
474
  var getMethod = getMethod$1;
483
475
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
484
476
  var wellKnownSymbol$4 = wellKnownSymbol$5;
485
477
 
486
- var TypeError$6 = global$e.TypeError;
478
+ var $TypeError$4 = TypeError;
487
479
  var TO_PRIMITIVE = wellKnownSymbol$4('toPrimitive');
488
480
 
489
481
  // `ToPrimitive` abstract operation
@@ -494,9 +486,9 @@ var toPrimitive$2 = function (input, pref) {
494
486
  var result;
495
487
  if (exoticToPrim) {
496
488
  if (pref === undefined) pref = 'default';
497
- result = call$1(exoticToPrim, input, pref);
489
+ result = call$2(exoticToPrim, input, pref);
498
490
  if (!isObject$6(result) || isSymbol$3(result)) return result;
499
- throw TypeError$6("Can't convert object to primitive value");
491
+ throw $TypeError$4("Can't convert object to primitive value");
500
492
  }
501
493
  if (pref === undefined) pref = 'number';
502
494
  return ordinaryToPrimitive(input, pref);
@@ -512,10 +504,10 @@ var toPropertyKey$2 = function (argument) {
512
504
  return isSymbol$2(key) ? key : key + '';
513
505
  };
514
506
 
515
- var global$d = global$r;
507
+ var global$9 = global$f;
516
508
  var isObject$5 = isObject$8;
517
509
 
518
- var document$1 = global$d.document;
510
+ var document$1 = global$9.document;
519
511
  // typeof document.createElement is 'object' in old IE
520
512
  var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
521
513
 
@@ -523,20 +515,20 @@ var documentCreateElement$2 = function (it) {
523
515
  return EXISTS$1 ? document$1.createElement(it) : {};
524
516
  };
525
517
 
526
- var DESCRIPTORS$9 = descriptors;
527
- var fails$5 = fails$a;
518
+ var DESCRIPTORS$a = descriptors;
519
+ var fails$7 = fails$c;
528
520
  var createElement = documentCreateElement$2;
529
521
 
530
522
  // Thanks to IE8 for its funny defineProperty
531
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$5(function () {
532
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
523
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
524
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
533
525
  return Object.defineProperty(createElement('div'), 'a', {
534
526
  get: function () { return 7; }
535
527
  }).a != 7;
536
528
  });
537
529
 
538
- var DESCRIPTORS$8 = descriptors;
539
- var call = functionCall;
530
+ var DESCRIPTORS$9 = descriptors;
531
+ var call$1 = functionCall;
540
532
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
541
533
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
542
534
  var toIndexedObject$4 = toIndexedObject$5;
@@ -544,58 +536,56 @@ var toPropertyKey$1 = toPropertyKey$2;
544
536
  var hasOwn$6 = hasOwnProperty_1;
545
537
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
546
538
 
547
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
539
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
548
540
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
549
541
 
550
542
  // `Object.getOwnPropertyDescriptor` method
551
543
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
552
- var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
544
+ var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
553
545
  O = toIndexedObject$4(O);
554
546
  P = toPropertyKey$1(P);
555
547
  if (IE8_DOM_DEFINE$1) try {
556
548
  return $getOwnPropertyDescriptor$1(O, P);
557
549
  } catch (error) { /* empty */ }
558
- if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
550
+ if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
559
551
  };
560
552
 
561
553
  var objectDefineProperty = {};
562
554
 
563
- var DESCRIPTORS$7 = descriptors;
564
- var fails$4 = fails$a;
555
+ var DESCRIPTORS$8 = descriptors;
556
+ var fails$6 = fails$c;
565
557
 
566
558
  // V8 ~ Chrome 36-
567
559
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
568
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$4(function () {
569
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
560
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
561
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
570
562
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
571
563
  value: 42,
572
564
  writable: false
573
565
  }).prototype != 42;
574
566
  });
575
567
 
576
- var global$c = global$r;
577
568
  var isObject$4 = isObject$8;
578
569
 
579
- var String$3 = global$c.String;
580
- var TypeError$5 = global$c.TypeError;
570
+ var $String$2 = String;
571
+ var $TypeError$3 = TypeError;
581
572
 
582
573
  // `Assert: Type(argument) is Object`
583
574
  var anObject$5 = function (argument) {
584
575
  if (isObject$4(argument)) return argument;
585
- throw TypeError$5(String$3(argument) + ' is not an object');
576
+ throw $TypeError$3($String$2(argument) + ' is not an object');
586
577
  };
587
578
 
588
- var global$b = global$r;
589
- var DESCRIPTORS$6 = descriptors;
579
+ var DESCRIPTORS$7 = descriptors;
590
580
  var IE8_DOM_DEFINE = ie8DomDefine;
591
581
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
592
582
  var anObject$4 = anObject$5;
593
583
  var toPropertyKey = toPropertyKey$2;
594
584
 
595
- var TypeError$4 = global$b.TypeError;
596
- // eslint-disable-next-line es/no-object-defineproperty -- safe
585
+ var $TypeError$2 = TypeError;
586
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
597
587
  var $defineProperty = Object.defineProperty;
598
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
588
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
599
589
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
600
590
  var ENUMERABLE = 'enumerable';
601
591
  var CONFIGURABLE$1 = 'configurable';
@@ -603,7 +593,7 @@ var WRITABLE = 'writable';
603
593
 
604
594
  // `Object.defineProperty` method
605
595
  // https://tc39.es/ecma262/#sec-object.defineproperty
606
- var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
596
+ var f$3 = objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
607
597
  anObject$4(O);
608
598
  P = toPropertyKey(P);
609
599
  anObject$4(Attributes);
@@ -625,32 +615,50 @@ var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? f
625
615
  if (IE8_DOM_DEFINE) try {
626
616
  return $defineProperty(O, P, Attributes);
627
617
  } catch (error) { /* empty */ }
628
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
618
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');
629
619
  if ('value' in Attributes) O[P] = Attributes.value;
630
620
  return O;
631
621
  };
632
622
 
633
- var DESCRIPTORS$5 = descriptors;
623
+ var DESCRIPTORS$6 = descriptors;
634
624
  var definePropertyModule$3 = objectDefineProperty;
635
625
  var createPropertyDescriptor = createPropertyDescriptor$2;
636
626
 
637
- var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
627
+ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
638
628
  return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
639
629
  } : function (object, key, value) {
640
630
  object[key] = value;
641
631
  return object;
642
632
  };
643
633
 
644
- var redefine$4 = {exports: {}};
634
+ var makeBuiltIn$2 = {exports: {}};
645
635
 
646
- var uncurryThis$c = functionUncurryThis;
647
- var isCallable$8 = isCallable$e;
636
+ var DESCRIPTORS$5 = descriptors;
637
+ var hasOwn$5 = hasOwnProperty_1;
638
+
639
+ var FunctionPrototype$2 = Function.prototype;
640
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
641
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
642
+
643
+ var EXISTS = hasOwn$5(FunctionPrototype$2, 'name');
644
+ // additional protection from minified / mangled / dropped function names
645
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
646
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$2, 'name').configurable));
647
+
648
+ var functionName = {
649
+ EXISTS: EXISTS,
650
+ PROPER: PROPER,
651
+ CONFIGURABLE: CONFIGURABLE
652
+ };
653
+
654
+ var uncurryThis$d = functionUncurryThis;
655
+ var isCallable$a = isCallable$g;
648
656
  var store$1 = sharedStore;
649
657
 
650
- var functionToString$1 = uncurryThis$c(Function.toString);
658
+ var functionToString$1 = uncurryThis$d(Function.toString);
651
659
 
652
660
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
653
- if (!isCallable$8(store$1.inspectSource)) {
661
+ if (!isCallable$a(store$1.inspectSource)) {
654
662
  store$1.inspectSource = function (it) {
655
663
  return functionToString$1(it);
656
664
  };
@@ -658,13 +666,13 @@ if (!isCallable$8(store$1.inspectSource)) {
658
666
 
659
667
  var inspectSource$3 = store$1.inspectSource;
660
668
 
661
- var global$a = global$r;
662
- var isCallable$7 = isCallable$e;
669
+ var global$8 = global$f;
670
+ var isCallable$9 = isCallable$g;
663
671
  var inspectSource$2 = inspectSource$3;
664
672
 
665
- var WeakMap$1 = global$a.WeakMap;
673
+ var WeakMap$1 = global$8.WeakMap;
666
674
 
667
- var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
675
+ var nativeWeakMap = isCallable$9(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
668
676
 
669
677
  var shared$1 = shared$4.exports;
670
678
  var uid = uid$2;
@@ -678,18 +686,18 @@ var sharedKey$2 = function (key) {
678
686
  var hiddenKeys$4 = {};
679
687
 
680
688
  var NATIVE_WEAK_MAP = nativeWeakMap;
681
- var global$9 = global$r;
682
- var uncurryThis$b = functionUncurryThis;
689
+ var global$7 = global$f;
690
+ var uncurryThis$c = functionUncurryThis;
683
691
  var isObject$3 = isObject$8;
684
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
685
- var hasOwn$5 = hasOwnProperty_1;
692
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
693
+ var hasOwn$4 = hasOwnProperty_1;
686
694
  var shared = sharedStore;
687
695
  var sharedKey$1 = sharedKey$2;
688
696
  var hiddenKeys$3 = hiddenKeys$4;
689
697
 
690
698
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
691
- var TypeError$3 = global$9.TypeError;
692
- var WeakMap = global$9.WeakMap;
699
+ var TypeError$2 = global$7.TypeError;
700
+ var WeakMap = global$7.WeakMap;
693
701
  var set$1, get, has;
694
702
 
695
703
  var enforce = function (it) {
@@ -700,18 +708,18 @@ var getterFor = function (TYPE) {
700
708
  return function (it) {
701
709
  var state;
702
710
  if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
703
- throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
711
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
704
712
  } return state;
705
713
  };
706
714
  };
707
715
 
708
716
  if (NATIVE_WEAK_MAP || shared.state) {
709
717
  var store = shared.state || (shared.state = new WeakMap());
710
- var wmget = uncurryThis$b(store.get);
711
- var wmhas = uncurryThis$b(store.has);
712
- var wmset = uncurryThis$b(store.set);
718
+ var wmget = uncurryThis$c(store.get);
719
+ var wmhas = uncurryThis$c(store.has);
720
+ var wmset = uncurryThis$c(store.set);
713
721
  set$1 = function (it, metadata) {
714
- if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
722
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
715
723
  metadata.facade = it;
716
724
  wmset(store, it, metadata);
717
725
  return metadata;
@@ -726,16 +734,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
726
734
  var STATE = sharedKey$1('state');
727
735
  hiddenKeys$3[STATE] = true;
728
736
  set$1 = function (it, metadata) {
729
- if (hasOwn$5(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
737
+ if (hasOwn$4(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
730
738
  metadata.facade = it;
731
- createNonEnumerableProperty$3(it, STATE, metadata);
739
+ createNonEnumerableProperty$2(it, STATE, metadata);
732
740
  return metadata;
733
741
  };
734
742
  get = function (it) {
735
- return hasOwn$5(it, STATE) ? it[STATE] : {};
743
+ return hasOwn$4(it, STATE) ? it[STATE] : {};
736
744
  };
737
745
  has = function (it) {
738
- return hasOwn$5(it, STATE);
746
+ return hasOwn$4(it, STATE);
739
747
  };
740
748
  }
741
749
 
@@ -747,84 +755,107 @@ var internalState = {
747
755
  getterFor: getterFor
748
756
  };
749
757
 
750
- var DESCRIPTORS$4 = descriptors;
751
- var hasOwn$4 = hasOwnProperty_1;
752
-
753
- var FunctionPrototype$1 = Function.prototype;
754
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
755
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
756
-
757
- var EXISTS = hasOwn$4(FunctionPrototype$1, 'name');
758
- // additional protection from minified / mangled / dropped function names
759
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
760
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
761
-
762
- var functionName = {
763
- EXISTS: EXISTS,
764
- PROPER: PROPER,
765
- CONFIGURABLE: CONFIGURABLE
766
- };
767
-
768
- var global$8 = global$r;
769
- var isCallable$6 = isCallable$e;
758
+ var fails$5 = fails$c;
759
+ var isCallable$8 = isCallable$g;
770
760
  var hasOwn$3 = hasOwnProperty_1;
771
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
772
- var setGlobal$1 = setGlobal$3;
761
+ var DESCRIPTORS$4 = descriptors;
762
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
773
763
  var inspectSource$1 = inspectSource$3;
774
764
  var InternalStateModule = internalState;
775
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
776
765
 
777
- var getInternalState = InternalStateModule.get;
778
766
  var enforceInternalState = InternalStateModule.enforce;
767
+ var getInternalState = InternalStateModule.get;
768
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
769
+ var defineProperty$3 = Object.defineProperty;
770
+
771
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
772
+ return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
773
+ });
774
+
779
775
  var TEMPLATE = String(String).split('String');
780
776
 
781
- (redefine$4.exports = function (O, key, value, options) {
782
- var unsafe = options ? !!options.unsafe : false;
783
- var simple = options ? !!options.enumerable : false;
784
- var noTargetGet = options ? !!options.noTargetGet : false;
785
- var name = options && options.name !== undefined ? options.name : key;
786
- var state;
787
- if (isCallable$6(value)) {
788
- if (String(name).slice(0, 7) === 'Symbol(') {
789
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
790
- }
791
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
792
- createNonEnumerableProperty$2(value, 'name', name);
793
- }
794
- state = enforceInternalState(value);
795
- if (!state.source) {
796
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
797
- }
777
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
778
+ if (String(name).slice(0, 7) === 'Symbol(') {
779
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
798
780
  }
799
- if (O === global$8) {
800
- if (simple) O[key] = value;
801
- else setGlobal$1(key, value);
802
- return;
803
- } else if (!unsafe) {
804
- delete O[key];
805
- } else if (!noTargetGet && O[key]) {
806
- simple = true;
781
+ if (options && options.getter) name = 'get ' + name;
782
+ if (options && options.setter) name = 'set ' + name;
783
+ if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
784
+ if (DESCRIPTORS$4) defineProperty$3(value, 'name', { value: name, configurable: true });
785
+ else value.name = name;
807
786
  }
808
- if (simple) O[key] = value;
809
- else createNonEnumerableProperty$2(O, key, value);
787
+ if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
788
+ defineProperty$3(value, 'length', { value: options.arity });
789
+ }
790
+ try {
791
+ if (options && hasOwn$3(options, 'constructor') && options.constructor) {
792
+ if (DESCRIPTORS$4) defineProperty$3(value, 'prototype', { writable: false });
793
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
794
+ } else if (value.prototype) value.prototype = undefined;
795
+ } catch (error) { /* empty */ }
796
+ var state = enforceInternalState(value);
797
+ if (!hasOwn$3(state, 'source')) {
798
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
799
+ } return value;
800
+ };
801
+
810
802
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
811
- })(Function.prototype, 'toString', function toString() {
812
- return isCallable$6(this) && getInternalState(this).source || inspectSource$1(this);
813
- });
803
+ // eslint-disable-next-line no-extend-native -- required
804
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
805
+ return isCallable$8(this) && getInternalState(this).source || inspectSource$1(this);
806
+ }, 'toString');
814
807
 
815
- var redefine$3 = redefine$4.exports;
808
+ var makeBuiltIn_1 = makeBuiltIn$2.exports;
809
+
810
+ var isCallable$7 = isCallable$g;
811
+ var definePropertyModule$2 = objectDefineProperty;
812
+ var makeBuiltIn = makeBuiltIn$2.exports;
813
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
814
+
815
+ var defineBuiltIn$3 = function (O, key, value, options) {
816
+ if (!options) options = {};
817
+ var simple = options.enumerable;
818
+ var name = options.name !== undefined ? options.name : key;
819
+ if (isCallable$7(value)) makeBuiltIn(value, name, options);
820
+ if (options.global) {
821
+ if (simple) O[key] = value;
822
+ else defineGlobalProperty$1(key, value);
823
+ } else {
824
+ try {
825
+ if (!options.unsafe) delete O[key];
826
+ else if (O[key]) simple = true;
827
+ } catch (error) { /* empty */ }
828
+ if (simple) O[key] = value;
829
+ else definePropertyModule$2.f(O, key, {
830
+ value: value,
831
+ enumerable: false,
832
+ configurable: !options.nonConfigurable,
833
+ writable: !options.nonWritable
834
+ });
835
+ } return O;
836
+ };
816
837
 
817
838
  var objectGetOwnPropertyNames = {};
818
839
 
819
840
  var ceil = Math.ceil;
820
841
  var floor = Math.floor;
821
842
 
843
+ // `Math.trunc` method
844
+ // https://tc39.es/ecma262/#sec-math.trunc
845
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
846
+ var mathTrunc = Math.trunc || function trunc(x) {
847
+ var n = +x;
848
+ return (n > 0 ? floor : ceil)(n);
849
+ };
850
+
851
+ var trunc = mathTrunc;
852
+
822
853
  // `ToIntegerOrInfinity` abstract operation
823
854
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
824
855
  var toIntegerOrInfinity$2 = function (argument) {
825
856
  var number = +argument;
826
- // eslint-disable-next-line no-self-compare -- safe
827
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
857
+ // eslint-disable-next-line no-self-compare -- NaN check
858
+ return number !== number || number === 0 ? 0 : trunc(number);
828
859
  };
829
860
 
830
861
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
@@ -891,13 +922,13 @@ var arrayIncludes = {
891
922
  indexOf: createMethod$3(false)
892
923
  };
893
924
 
894
- var uncurryThis$a = functionUncurryThis;
925
+ var uncurryThis$b = functionUncurryThis;
895
926
  var hasOwn$2 = hasOwnProperty_1;
896
927
  var toIndexedObject$2 = toIndexedObject$5;
897
928
  var indexOf = arrayIncludes.indexOf;
898
929
  var hiddenKeys$2 = hiddenKeys$4;
899
930
 
900
- var push$2 = uncurryThis$a([].push);
931
+ var push$2 = uncurryThis$b([].push);
901
932
 
902
933
  var objectKeysInternal = function (object, names) {
903
934
  var O = toIndexedObject$2(object);
@@ -930,23 +961,23 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
930
961
 
931
962
  // `Object.getOwnPropertyNames` method
932
963
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
933
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
964
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
934
965
  var f$2 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
935
966
  return internalObjectKeys$1(O, hiddenKeys$1);
936
967
  };
937
968
 
938
969
  var objectGetOwnPropertySymbols = {};
939
970
 
940
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
971
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
941
972
  var f$1 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
942
973
 
943
974
  var getBuiltIn$2 = getBuiltIn$5;
944
- var uncurryThis$9 = functionUncurryThis;
975
+ var uncurryThis$a = functionUncurryThis;
945
976
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
946
977
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
947
978
  var anObject$3 = anObject$5;
948
979
 
949
- var concat = uncurryThis$9([].concat);
980
+ var concat = uncurryThis$a([].concat);
950
981
 
951
982
  // all object keys, includes non-enumerable and symbols
952
983
  var ownKeys$2 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -958,11 +989,11 @@ var ownKeys$2 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
958
989
  var hasOwn$1 = hasOwnProperty_1;
959
990
  var ownKeys$1 = ownKeys$2;
960
991
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
961
- var definePropertyModule$2 = objectDefineProperty;
992
+ var definePropertyModule$1 = objectDefineProperty;
962
993
 
963
994
  var copyConstructorProperties$1 = function (target, source, exceptions) {
964
995
  var keys = ownKeys$1(source);
965
- var defineProperty = definePropertyModule$2.f;
996
+ var defineProperty = definePropertyModule$1.f;
966
997
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
967
998
  for (var i = 0; i < keys.length; i++) {
968
999
  var key = keys[i];
@@ -972,8 +1003,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
972
1003
  }
973
1004
  };
974
1005
 
975
- var fails$3 = fails$a;
976
- var isCallable$5 = isCallable$e;
1006
+ var fails$4 = fails$c;
1007
+ var isCallable$6 = isCallable$g;
977
1008
 
978
1009
  var replacement = /#|\.prototype\./;
979
1010
 
@@ -981,7 +1012,7 @@ var isForced$2 = function (feature, detection) {
981
1012
  var value = data[normalize(feature)];
982
1013
  return value == POLYFILL ? true
983
1014
  : value == NATIVE ? false
984
- : isCallable$5(detection) ? fails$3(detection)
1015
+ : isCallable$6(detection) ? fails$4(detection)
985
1016
  : !!detection;
986
1017
  };
987
1018
 
@@ -995,28 +1026,28 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
995
1026
 
996
1027
  var isForced_1 = isForced$2;
997
1028
 
998
- var global$7 = global$r;
1029
+ var global$6 = global$f;
999
1030
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1000
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1001
- var redefine$2 = redefine$4.exports;
1002
- var setGlobal = setGlobal$3;
1031
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
1032
+ var defineBuiltIn$2 = defineBuiltIn$3;
1033
+ var defineGlobalProperty = defineGlobalProperty$3;
1003
1034
  var copyConstructorProperties = copyConstructorProperties$1;
1004
1035
  var isForced$1 = isForced_1;
1005
1036
 
1006
1037
  /*
1007
- options.target - name of the target object
1008
- options.global - target is the global object
1009
- options.stat - export as static methods of target
1010
- options.proto - export as prototype methods of target
1011
- options.real - real prototype method for the `pure` version
1012
- options.forced - export even if the native feature is available
1013
- options.bind - bind methods to the target, required for the `pure` version
1014
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1015
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1016
- options.sham - add a flag to not completely full polyfills
1017
- options.enumerable - export as enumerable property
1018
- options.noTargetGet - prevent calling a getter on target
1019
- options.name - the .name of the function if it does not match the key
1038
+ options.target - name of the target object
1039
+ options.global - target is the global object
1040
+ options.stat - export as static methods of target
1041
+ options.proto - export as prototype methods of target
1042
+ options.real - real prototype method for the `pure` version
1043
+ options.forced - export even if the native feature is available
1044
+ options.bind - bind methods to the target, required for the `pure` version
1045
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1046
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1047
+ options.sham - add a flag to not completely full polyfills
1048
+ options.enumerable - export as enumerable property
1049
+ options.dontCallGetSet - prevent calling a getter on target
1050
+ options.name - the .name of the function if it does not match the key
1020
1051
  */
1021
1052
  var _export = function (options, source) {
1022
1053
  var TARGET = options.target;
@@ -1024,15 +1055,15 @@ var _export = function (options, source) {
1024
1055
  var STATIC = options.stat;
1025
1056
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1026
1057
  if (GLOBAL) {
1027
- target = global$7;
1058
+ target = global$6;
1028
1059
  } else if (STATIC) {
1029
- target = global$7[TARGET] || setGlobal(TARGET, {});
1060
+ target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
1030
1061
  } else {
1031
- target = (global$7[TARGET] || {}).prototype;
1062
+ target = (global$6[TARGET] || {}).prototype;
1032
1063
  }
1033
1064
  if (target) for (key in source) {
1034
1065
  sourceProperty = source[key];
1035
- if (options.noTargetGet) {
1066
+ if (options.dontCallGetSet) {
1036
1067
  descriptor = getOwnPropertyDescriptor$1(target, key);
1037
1068
  targetProperty = descriptor && descriptor.value;
1038
1069
  } else targetProperty = target[key];
@@ -1046,21 +1077,20 @@ var _export = function (options, source) {
1046
1077
  if (options.sham || (targetProperty && targetProperty.sham)) {
1047
1078
  createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1048
1079
  }
1049
- // extend global
1050
- redefine$2(target, key, sourceProperty, options);
1080
+ defineBuiltIn$2(target, key, sourceProperty, options);
1051
1081
  }
1052
1082
  };
1053
1083
 
1054
- var uncurryThis$8 = functionUncurryThis;
1084
+ var uncurryThis$9 = functionUncurryThis;
1055
1085
  var aCallable = aCallable$2;
1056
- var NATIVE_BIND = functionBindNative;
1086
+ var NATIVE_BIND$1 = functionBindNative;
1057
1087
 
1058
- var bind$1 = uncurryThis$8(uncurryThis$8.bind);
1088
+ var bind$1 = uncurryThis$9(uncurryThis$9.bind);
1059
1089
 
1060
1090
  // optional / simple context binding
1061
1091
  var functionBindContext = function (fn, that) {
1062
1092
  aCallable(fn);
1063
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1093
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) {
1064
1094
  return fn.apply(that, arguments);
1065
1095
  };
1066
1096
  };
@@ -1069,7 +1099,7 @@ var classof$4 = classofRaw$1;
1069
1099
 
1070
1100
  // `IsArray` abstract operation
1071
1101
  // https://tc39.es/ecma262/#sec-isarray
1072
- // eslint-disable-next-line es/no-array-isarray -- safe
1102
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
1073
1103
  var isArray$2 = Array.isArray || function isArray(argument) {
1074
1104
  return classof$4(argument) == 'Array';
1075
1105
  };
@@ -1083,14 +1113,13 @@ test[TO_STRING_TAG$1] = 'z';
1083
1113
 
1084
1114
  var toStringTagSupport = String(test) === '[object z]';
1085
1115
 
1086
- var global$6 = global$r;
1087
1116
  var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
1088
- var isCallable$4 = isCallable$e;
1117
+ var isCallable$5 = isCallable$g;
1089
1118
  var classofRaw = classofRaw$1;
1090
1119
  var wellKnownSymbol$2 = wellKnownSymbol$5;
1091
1120
 
1092
1121
  var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
1093
- var Object$1 = global$6.Object;
1122
+ var $Object = Object;
1094
1123
 
1095
1124
  // ES3 wrong here
1096
1125
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1107,16 +1136,16 @@ var classof$3 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
1107
1136
  var O, tag, result;
1108
1137
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1109
1138
  // @@toStringTag case
1110
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1139
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1111
1140
  // builtinTag case
1112
1141
  : CORRECT_ARGUMENTS ? classofRaw(O)
1113
1142
  // ES3 arguments fallback
1114
- : (result = classofRaw(O)) == 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
1143
+ : (result = classofRaw(O)) == 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
1115
1144
  };
1116
1145
 
1117
- var uncurryThis$7 = functionUncurryThis;
1118
- var fails$2 = fails$a;
1119
- var isCallable$3 = isCallable$e;
1146
+ var uncurryThis$8 = functionUncurryThis;
1147
+ var fails$3 = fails$c;
1148
+ var isCallable$4 = isCallable$g;
1120
1149
  var classof$2 = classof$3;
1121
1150
  var getBuiltIn$1 = getBuiltIn$5;
1122
1151
  var inspectSource = inspectSource$3;
@@ -1125,11 +1154,11 @@ var noop = function () { /* empty */ };
1125
1154
  var empty = [];
1126
1155
  var construct = getBuiltIn$1('Reflect', 'construct');
1127
1156
  var constructorRegExp = /^\s*(?:class|function)\b/;
1128
- var exec = uncurryThis$7(constructorRegExp.exec);
1157
+ var exec = uncurryThis$8(constructorRegExp.exec);
1129
1158
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1130
1159
 
1131
1160
  var isConstructorModern = function isConstructor(argument) {
1132
- if (!isCallable$3(argument)) return false;
1161
+ if (!isCallable$4(argument)) return false;
1133
1162
  try {
1134
1163
  construct(noop, empty, argument);
1135
1164
  return true;
@@ -1139,7 +1168,7 @@ var isConstructorModern = function isConstructor(argument) {
1139
1168
  };
1140
1169
 
1141
1170
  var isConstructorLegacy = function isConstructor(argument) {
1142
- if (!isCallable$3(argument)) return false;
1171
+ if (!isCallable$4(argument)) return false;
1143
1172
  switch (classof$2(argument)) {
1144
1173
  case 'AsyncFunction':
1145
1174
  case 'GeneratorFunction':
@@ -1159,7 +1188,7 @@ isConstructorLegacy.sham = true;
1159
1188
 
1160
1189
  // `IsConstructor` abstract operation
1161
1190
  // https://tc39.es/ecma262/#sec-isconstructor
1162
- var isConstructor$1 = !construct || fails$2(function () {
1191
+ var isConstructor$1 = !construct || fails$3(function () {
1163
1192
  var called;
1164
1193
  return isConstructorModern(isConstructorModern.call)
1165
1194
  || !isConstructorModern(Object)
@@ -1167,14 +1196,13 @@ var isConstructor$1 = !construct || fails$2(function () {
1167
1196
  || called;
1168
1197
  }) ? isConstructorLegacy : isConstructorModern;
1169
1198
 
1170
- var global$5 = global$r;
1171
1199
  var isArray$1 = isArray$2;
1172
1200
  var isConstructor = isConstructor$1;
1173
1201
  var isObject$2 = isObject$8;
1174
1202
  var wellKnownSymbol$1 = wellKnownSymbol$5;
1175
1203
 
1176
1204
  var SPECIES = wellKnownSymbol$1('species');
1177
- var Array$1 = global$5.Array;
1205
+ var $Array = Array;
1178
1206
 
1179
1207
  // a part of `ArraySpeciesCreate` abstract operation
1180
1208
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -1183,12 +1211,12 @@ var arraySpeciesConstructor$1 = function (originalArray) {
1183
1211
  if (isArray$1(originalArray)) {
1184
1212
  C = originalArray.constructor;
1185
1213
  // cross-realm fallback
1186
- if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
1214
+ if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
1187
1215
  else if (isObject$2(C)) {
1188
1216
  C = C[SPECIES];
1189
1217
  if (C === null) C = undefined;
1190
1218
  }
1191
- } return C === undefined ? Array$1 : C;
1219
+ } return C === undefined ? $Array : C;
1192
1220
  };
1193
1221
 
1194
1222
  var arraySpeciesConstructor = arraySpeciesConstructor$1;
@@ -1200,13 +1228,13 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
1200
1228
  };
1201
1229
 
1202
1230
  var bind = functionBindContext;
1203
- var uncurryThis$6 = functionUncurryThis;
1231
+ var uncurryThis$7 = functionUncurryThis;
1204
1232
  var IndexedObject = indexedObject;
1205
1233
  var toObject = toObject$2;
1206
1234
  var lengthOfArrayLike = lengthOfArrayLike$2;
1207
1235
  var arraySpeciesCreate = arraySpeciesCreate$1;
1208
1236
 
1209
- var push$1 = uncurryThis$6([].push);
1237
+ var push$1 = uncurryThis$7([].push);
1210
1238
 
1211
1239
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1212
1240
  var createMethod$2 = function (TYPE) {
@@ -1274,11 +1302,11 @@ var arrayIteration = {
1274
1302
  };
1275
1303
 
1276
1304
  'use strict';
1277
- var fails$1 = fails$a;
1305
+ var fails$2 = fails$c;
1278
1306
 
1279
1307
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
1280
1308
  var method = [][METHOD_NAME];
1281
- return !!method && fails$1(function () {
1309
+ return !!method && fails$2(function () {
1282
1310
  // eslint-disable-next-line no-useless-call -- required for testing
1283
1311
  method.call(null, argument || function () { return 1; }, 1);
1284
1312
  });
@@ -1294,17 +1322,17 @@ var STRICT_METHOD = arrayMethodIsStrict('forEach');
1294
1322
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1295
1323
  var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
1296
1324
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1297
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1325
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
1298
1326
  } : [].forEach;
1299
1327
 
1300
1328
  'use strict';
1301
- var $$3 = _export;
1329
+ var $$5 = _export;
1302
1330
  var forEach$1 = arrayForEach;
1303
1331
 
1304
1332
  // `Array.prototype.forEach` method
1305
1333
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
1306
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1307
- $$3({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
1334
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
1335
+ $$5({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
1308
1336
  forEach: forEach$1
1309
1337
  });
1310
1338
 
@@ -1321,13 +1349,13 @@ var objectToString$1 = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString
1321
1349
  };
1322
1350
 
1323
1351
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1324
- var redefine$1 = redefine$4.exports;
1352
+ var defineBuiltIn$1 = defineBuiltIn$3;
1325
1353
  var toString$3 = objectToString$1;
1326
1354
 
1327
1355
  // `Object.prototype.toString` method
1328
1356
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1329
1357
  if (!TO_STRING_TAG_SUPPORT) {
1330
- redefine$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1358
+ defineBuiltIn$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1331
1359
  }
1332
1360
 
1333
1361
  var web_domCollections_forEach = {};
@@ -1376,11 +1404,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1376
1404
 
1377
1405
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1378
1406
 
1379
- var global$4 = global$r;
1407
+ var global$5 = global$f;
1380
1408
  var DOMIterables = domIterables;
1381
1409
  var DOMTokenListPrototype = domTokenListPrototype;
1382
1410
  var forEach = arrayForEach;
1383
- var createNonEnumerableProperty = createNonEnumerableProperty$4;
1411
+ var createNonEnumerableProperty = createNonEnumerableProperty$3;
1384
1412
 
1385
1413
  var handlePrototype = function (CollectionPrototype) {
1386
1414
  // some Chrome versions have non-configurable methods on DOMTokenList
@@ -1393,7 +1421,7 @@ var handlePrototype = function (CollectionPrototype) {
1393
1421
 
1394
1422
  for (var COLLECTION_NAME in DOMIterables) {
1395
1423
  if (DOMIterables[COLLECTION_NAME]) {
1396
- handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype);
1424
+ handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype);
1397
1425
  }
1398
1426
  }
1399
1427
 
@@ -1406,19 +1434,19 @@ var enumBugKeys$1 = enumBugKeys$3;
1406
1434
 
1407
1435
  // `Object.keys` method
1408
1436
  // https://tc39.es/ecma262/#sec-object.keys
1409
- // eslint-disable-next-line es/no-object-keys -- safe
1437
+ // eslint-disable-next-line es-x/no-object-keys -- safe
1410
1438
  var objectKeys$2 = Object.keys || function keys(O) {
1411
1439
  return internalObjectKeys(O, enumBugKeys$1);
1412
1440
  };
1413
1441
 
1414
1442
  var DESCRIPTORS$3 = descriptors;
1415
- var uncurryThis$5 = functionUncurryThis;
1443
+ var uncurryThis$6 = functionUncurryThis;
1416
1444
  var objectKeys$1 = objectKeys$2;
1417
1445
  var toIndexedObject$1 = toIndexedObject$5;
1418
1446
  var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
1419
1447
 
1420
- var propertyIsEnumerable = uncurryThis$5($propertyIsEnumerable);
1421
- var push = uncurryThis$5([].push);
1448
+ var propertyIsEnumerable = uncurryThis$6($propertyIsEnumerable);
1449
+ var push = uncurryThis$6([].push);
1422
1450
 
1423
1451
  // `Object.{ entries, values }` methods implementation
1424
1452
  var createMethod$1 = function (TO_ENTRIES) {
@@ -1448,12 +1476,12 @@ var objectToArray = {
1448
1476
  values: createMethod$1(false)
1449
1477
  };
1450
1478
 
1451
- var $$2 = _export;
1479
+ var $$4 = _export;
1452
1480
  var $entries = objectToArray.entries;
1453
1481
 
1454
1482
  // `Object.entries` method
1455
1483
  // https://tc39.es/ecma262/#sec-object.entries
1456
- $$2({ target: 'Object', stat: true }, {
1484
+ $$4({ target: 'Object', stat: true }, {
1457
1485
  entries: function entries(O) {
1458
1486
  return $entries(O);
1459
1487
  }
@@ -1475,6 +1503,30 @@ const isProxyAvailable = typeof Proxy === 'function';
1475
1503
  const HOOK_SETUP = 'devtools-plugin:setup';
1476
1504
  const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';
1477
1505
 
1506
+ let supported;
1507
+ let perf;
1508
+ function isPerformanceSupported() {
1509
+ var _a;
1510
+ if (supported !== undefined) {
1511
+ return supported;
1512
+ }
1513
+ if (typeof window !== 'undefined' && window.performance) {
1514
+ supported = true;
1515
+ perf = window.performance;
1516
+ }
1517
+ else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
1518
+ supported = true;
1519
+ perf = global.perf_hooks.performance;
1520
+ }
1521
+ else {
1522
+ supported = false;
1523
+ }
1524
+ return supported;
1525
+ }
1526
+ function now() {
1527
+ return isPerformanceSupported() ? perf.now() : Date.now();
1528
+ }
1529
+
1478
1530
  class ApiProxy {
1479
1531
  constructor(plugin, hook) {
1480
1532
  this.target = null;
@@ -1512,6 +1564,9 @@ class ApiProxy {
1512
1564
  }
1513
1565
  currentSettings = value;
1514
1566
  },
1567
+ now() {
1568
+ return now();
1569
+ },
1515
1570
  };
1516
1571
  if (hook) {
1517
1572
  hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
@@ -1600,12 +1655,12 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
1600
1655
  }
1601
1656
 
1602
1657
  /**
1603
- * vee-validate v4.5.9
1658
+ * vee-validate v4.5.11
1604
1659
  * (c) 2022 Abdelrahman Awad
1605
1660
  * @license MIT
1606
1661
  */
1607
1662
 
1608
- function isCallable$2(fn) {
1663
+ function isCallable$3(fn) {
1609
1664
  return typeof fn === 'function';
1610
1665
  }
1611
1666
  function isNullOrUndefined(value) {
@@ -1639,7 +1694,7 @@ function resolveRule(id) {
1639
1694
  * Guards from extension violations.
1640
1695
  */
1641
1696
  function guardExtend(id, validator) {
1642
- if (isCallable$2(validator)) {
1697
+ if (isCallable$3(validator)) {
1643
1698
  return;
1644
1699
  }
1645
1700
  throw new Error(`Extension Error: The validator '${id}' must be a function.`);
@@ -1650,7 +1705,7 @@ const FieldContextKey = Symbol('vee-validate-field-instance');
1650
1705
  const IS_ABSENT = Symbol('Default empty value');
1651
1706
 
1652
1707
  function isLocator(value) {
1653
- return isCallable$2(value) && !!value.__locatorRef;
1708
+ return isCallable$3(value) && !!value.__locatorRef;
1654
1709
  }
1655
1710
  /**
1656
1711
  * Checks if an tag name is a native HTML tag and not a Vue component
@@ -1665,7 +1720,7 @@ function isFileInputNode(tag, attrs) {
1665
1720
  return isHTMLTag(tag) && attrs.type === 'file';
1666
1721
  }
1667
1722
  function isYupValidator(value) {
1668
- return !!value && isCallable$2(value.validate);
1723
+ return !!value && isCallable$3(value.validate);
1669
1724
  }
1670
1725
  function hasCheckedAttr(type) {
1671
1726
  return type === 'checkbox' || type === 'radio';
@@ -1725,7 +1780,7 @@ function isEvent(evt) {
1725
1780
  if (!evt) {
1726
1781
  return false;
1727
1782
  }
1728
- if (typeof Event !== 'undefined' && isCallable$2(Event) && evt instanceof Event) {
1783
+ if (typeof Event !== 'undefined' && isCallable$3(Event) && evt instanceof Event) {
1729
1784
  return true;
1730
1785
  }
1731
1786
  // this is for IE and Cypress #3161
@@ -2102,18 +2157,34 @@ async function _validate(field, value) {
2102
2157
  if (isYupValidator(field.rules)) {
2103
2158
  return validateFieldWithYup(value, field.rules, { bails: field.bails });
2104
2159
  }
2105
- // if a generic function, use it as the pipeline.
2106
- if (isCallable$2(field.rules)) {
2160
+ // if a generic function or chain of generic functions
2161
+ if (isCallable$3(field.rules) || Array.isArray(field.rules)) {
2107
2162
  const ctx = {
2108
2163
  field: field.name,
2109
2164
  form: field.formData,
2110
2165
  value: value,
2111
2166
  };
2112
- const result = await field.rules(value, ctx);
2113
- const isValid = typeof result !== 'string' && result;
2114
- const message = typeof result === 'string' ? result : _generateFieldError(ctx);
2167
+ // Normalize the pipeline
2168
+ const pipeline = Array.isArray(field.rules) ? field.rules : [field.rules];
2169
+ const length = pipeline.length;
2170
+ const errors = [];
2171
+ for (let i = 0; i < length; i++) {
2172
+ const rule = pipeline[i];
2173
+ const result = await rule(value, ctx);
2174
+ const isValid = typeof result !== 'string' && result;
2175
+ if (isValid) {
2176
+ continue;
2177
+ }
2178
+ const message = typeof result === 'string' ? result : _generateFieldError(ctx);
2179
+ errors.push(message);
2180
+ if (field.bails) {
2181
+ return {
2182
+ errors,
2183
+ };
2184
+ }
2185
+ }
2115
2186
  return {
2116
- errors: !isValid ? [message] : [],
2187
+ errors,
2117
2188
  };
2118
2189
  }
2119
2190
  const normalizedContext = Object.assign(Object.assign({}, field), { rules: normalizeRules(field.rules) });
@@ -2898,6 +2969,8 @@ function useField(name, rules, opts) {
2898
2969
  function _useField(name, rules, opts) {
2899
2970
  const { initialValue: modelValue, validateOnMount, bails, type, checkedValue, label, validateOnValueUpdate, uncheckedValue, standalone, } = normalizeOptions(unref(name), opts);
2900
2971
  const form = !standalone ? injectWithSelf(FormContextKey) : undefined;
2972
+ // a flag indicating if the field is about to be removed/unmounted.
2973
+ let markedForRemoval = false;
2901
2974
  const { id, value, initialValue, meta, setState, errors, errorMessage } = useFieldState(name, {
2902
2975
  modelValue,
2903
2976
  standalone,
@@ -2914,7 +2987,7 @@ function _useField(name, rules, opts) {
2914
2987
  if (schema && !isYupValidator(schema)) {
2915
2988
  rulesValue = extractRuleFromSchema(schema, unref(name)) || rulesValue;
2916
2989
  }
2917
- if (isYupValidator(rulesValue) || isCallable$2(rulesValue)) {
2990
+ if (isYupValidator(rulesValue) || isCallable$3(rulesValue) || Array.isArray(rulesValue)) {
2918
2991
  return rulesValue;
2919
2992
  }
2920
2993
  return normalizeRules(rulesValue);
@@ -2934,12 +3007,19 @@ function _useField(name, rules, opts) {
2934
3007
  meta.pending = true;
2935
3008
  meta.validated = true;
2936
3009
  const result = await validateCurrentValue('validated-only');
3010
+ if (markedForRemoval) {
3011
+ result.valid = true;
3012
+ result.errors = [];
3013
+ }
2937
3014
  setState({ errors: result.errors });
2938
3015
  meta.pending = false;
2939
3016
  return result;
2940
3017
  }
2941
3018
  async function validateValidStateOnly() {
2942
3019
  const result = await validateCurrentValue('silent');
3020
+ if (markedForRemoval) {
3021
+ result.valid = true;
3022
+ }
2943
3023
  meta.valid = result.valid;
2944
3024
  return result;
2945
3025
  }
@@ -3054,13 +3134,14 @@ function _useField(name, rules, opts) {
3054
3134
  // associate the field with the given form
3055
3135
  form.register(field);
3056
3136
  onBeforeUnmount(() => {
3137
+ markedForRemoval = true;
3057
3138
  form.unregister(field);
3058
3139
  });
3059
3140
  // extract cross-field dependencies in a computed prop
3060
3141
  const dependencies = computed(() => {
3061
3142
  const rulesVal = normalizedRules.value;
3062
3143
  // is falsy, a function schema or a yup schema
3063
- if (!rulesVal || isCallable$2(rulesVal) || isYupValidator(rulesVal)) {
3144
+ if (!rulesVal || isCallable$3(rulesVal) || isYupValidator(rulesVal) || Array.isArray(rulesVal)) {
3064
3145
  return {};
3065
3146
  }
3066
3147
  return Object.keys(rulesVal).reduce((acc, rule) => {
@@ -4601,14 +4682,14 @@ var objectDefineProperties = {};
4601
4682
 
4602
4683
  var DESCRIPTORS$2 = descriptors;
4603
4684
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
4604
- var definePropertyModule$1 = objectDefineProperty;
4685
+ var definePropertyModule = objectDefineProperty;
4605
4686
  var anObject$2 = anObject$5;
4606
4687
  var toIndexedObject = toIndexedObject$5;
4607
4688
  var objectKeys = objectKeys$2;
4608
4689
 
4609
4690
  // `Object.defineProperties` method
4610
4691
  // https://tc39.es/ecma262/#sec-object.defineproperties
4611
- // eslint-disable-next-line es/no-object-defineproperties -- safe
4692
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
4612
4693
  var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
4613
4694
  anObject$2(O);
4614
4695
  var props = toIndexedObject(Properties);
@@ -4616,7 +4697,7 @@ var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? O
4616
4697
  var length = keys.length;
4617
4698
  var index = 0;
4618
4699
  var key;
4619
- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
4700
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
4620
4701
  return O;
4621
4702
  };
4622
4703
 
@@ -4696,6 +4777,7 @@ hiddenKeys[IE_PROTO] = true;
4696
4777
 
4697
4778
  // `Object.create` method
4698
4779
  // https://tc39.es/ecma262/#sec-object.create
4780
+ // eslint-disable-next-line es-x/no-object-create -- safe
4699
4781
  var objectCreate = Object.create || function create(O, Properties) {
4700
4782
  var result;
4701
4783
  if (O !== null) {
@@ -4710,7 +4792,7 @@ var objectCreate = Object.create || function create(O, Properties) {
4710
4792
 
4711
4793
  var wellKnownSymbol = wellKnownSymbol$5;
4712
4794
  var create = objectCreate;
4713
- var definePropertyModule = objectDefineProperty;
4795
+ var defineProperty$2 = objectDefineProperty.f;
4714
4796
 
4715
4797
  var UNSCOPABLES = wellKnownSymbol('unscopables');
4716
4798
  var ArrayPrototype = Array.prototype;
@@ -4718,7 +4800,7 @@ var ArrayPrototype = Array.prototype;
4718
4800
  // Array.prototype[@@unscopables]
4719
4801
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
4720
4802
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
4721
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
4803
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
4722
4804
  configurable: true,
4723
4805
  value: create(null)
4724
4806
  });
@@ -4730,13 +4812,19 @@ var addToUnscopables$2 = function (key) {
4730
4812
  };
4731
4813
 
4732
4814
  'use strict';
4733
- var $$1 = _export;
4815
+ var $$3 = _export;
4734
4816
  var $includes = arrayIncludes.includes;
4817
+ var fails$1 = fails$c;
4735
4818
  var addToUnscopables$1 = addToUnscopables$2;
4736
4819
 
4820
+ // FF99+ bug
4821
+ var BROKEN_ON_SPARSE = fails$1(function () {
4822
+ return !Array(1).includes();
4823
+ });
4824
+
4737
4825
  // `Array.prototype.includes` method
4738
4826
  // https://tc39.es/ecma262/#sec-array.prototype.includes
4739
- $$1({ target: 'Array', proto: true }, {
4827
+ $$3({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4740
4828
  includes: function includes(el /* , fromIndex = 0 */) {
4741
4829
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
4742
4830
  }
@@ -4795,10 +4883,10 @@ var script$7 = defineComponent({
4795
4883
  },
4796
4884
 
4797
4885
  /**
4798
- * Validation rules. Accepts a string, object, function or schema.
4886
+ * Validation rules. Accepts an object, string schema or validation function.
4799
4887
  */
4800
4888
  rules: {
4801
- type: [String, Object, Function]
4889
+ type: [Object, String, Function]
4802
4890
  },
4803
4891
 
4804
4892
  /**
@@ -4814,9 +4902,17 @@ var script$7 = defineComponent({
4814
4902
  */
4815
4903
  hint: {
4816
4904
  type: String
4905
+ },
4906
+
4907
+ /**
4908
+ * The autocomplete input attribute
4909
+ */
4910
+ autocomplete: {
4911
+ type: String
4817
4912
  }
4818
4913
  },
4819
4914
  setup: function setup(props, ctx) {
4915
+ var inputBaseClass = ref("border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5");
4820
4916
  var inputValue = computed({
4821
4917
  get: function get() {
4822
4918
  return props.modelValue;
@@ -4826,6 +4922,7 @@ var script$7 = defineComponent({
4826
4922
  }
4827
4923
  });
4828
4924
  return {
4925
+ inputBaseClass: inputBaseClass,
4829
4926
  inputValue: inputValue
4830
4927
  };
4831
4928
  }
@@ -4835,19 +4932,19 @@ var es_function_name = {};
4835
4932
 
4836
4933
  var DESCRIPTORS$1 = descriptors;
4837
4934
  var FUNCTION_NAME_EXISTS = functionName.EXISTS;
4838
- var uncurryThis$4 = functionUncurryThis;
4935
+ var uncurryThis$5 = functionUncurryThis;
4839
4936
  var defineProperty$1 = objectDefineProperty.f;
4840
4937
 
4841
- var FunctionPrototype = Function.prototype;
4842
- var functionToString = uncurryThis$4(FunctionPrototype.toString);
4938
+ var FunctionPrototype$1 = Function.prototype;
4939
+ var functionToString = uncurryThis$5(FunctionPrototype$1.toString);
4843
4940
  var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
4844
- var regExpExec = uncurryThis$4(nameRE.exec);
4941
+ var regExpExec = uncurryThis$5(nameRE.exec);
4845
4942
  var NAME = 'name';
4846
4943
 
4847
4944
  // Function instances `.name` property
4848
4945
  // https://tc39.es/ecma262/#sec-function-instances-name
4849
4946
  if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
4850
- defineProperty$1(FunctionPrototype, NAME, {
4947
+ defineProperty$1(FunctionPrototype$1, NAME, {
4851
4948
  configurable: true,
4852
4949
  get: function () {
4853
4950
  try {
@@ -4879,7 +4976,7 @@ var _hoisted_7$3 = {
4879
4976
  key: 0,
4880
4977
  "class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
4881
4978
  };
4882
- var _hoisted_8$3 = ["placeholder", "type", "readonly", "disabled"];
4979
+ var _hoisted_8$3 = ["placeholder", "type", "readonly", "disabled", "autocomplete"];
4883
4980
 
4884
4981
  var _hoisted_9$2 = /*#__PURE__*/createElementVNode("svg", {
4885
4982
  fill: "currentColor",
@@ -4897,7 +4994,7 @@ var _hoisted_11$2 = {
4897
4994
  key: 1,
4898
4995
  "class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
4899
4996
  };
4900
- var _hoisted_12$1 = {
4997
+ var _hoisted_12 = {
4901
4998
  "class": "italic text-right text-sm font-medium mt-2 min-h-[21px]"
4902
4999
  };
4903
5000
  var _hoisted_13 = {
@@ -4932,10 +5029,11 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
4932
5029
  type: _ctx.type,
4933
5030
  readonly: _ctx.readonly,
4934
5031
  disabled: _ctx.readonly,
4935
- "class": ["border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5", {
5032
+ autocomplete: _ctx.autocomplete,
5033
+ "class": [{
4936
5034
  'pl-10': !!_ctx.$slots.prefix,
4937
5035
  'pr-20': !!_ctx.$slots.suffix
4938
- }]
5036
+ }, _ctx.inputBaseClass]
4939
5037
  }), null, 16, _hoisted_8$3), createVNode(Transition, {
4940
5038
  name: "fwFadeIn"
4941
5039
  }, {
@@ -4946,7 +5044,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
4946
5044
  }, _hoisted_10$2, 2)) : createCommentVNode("", true)];
4947
5045
  }),
4948
5046
  _: 2
4949
- }, 1024), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_11$2, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_12$1, [createVNode(Transition, {
5047
+ }, 1024), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_11$2, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_12, [createVNode(Transition, {
4950
5048
  name: "fwFadeIn",
4951
5049
  mode: "out-in"
4952
5050
  }, {
@@ -5015,10 +5113,10 @@ var script$6 = defineComponent({
5015
5113
  },
5016
5114
 
5017
5115
  /**
5018
- * Validation rules. Accepts a string, object, function or schema.
5116
+ * Validation rules. Accepts an object, stringm schema or validation function.
5019
5117
  */
5020
5118
  rules: {
5021
- type: [String, Object, Function]
5119
+ type: [Object, String, Function]
5022
5120
  },
5023
5121
 
5024
5122
  /**
@@ -5030,6 +5128,10 @@ var script$6 = defineComponent({
5030
5128
  }
5031
5129
  });
5032
5130
 
5131
+ var _withScopeId$1 = function _withScopeId(n) {
5132
+ return pushScopeId("data-v-7423717e"), n = n(), popScopeId(), n;
5133
+ };
5134
+
5033
5135
  var _hoisted_1$5 = {
5034
5136
  "class": "fw-checkbox w-full"
5035
5137
  };
@@ -5089,11 +5191,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
5089
5191
  }, 8, ["name", "value", "rules"])]);
5090
5192
  }
5091
5193
 
5092
- var css_248z$3 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input{-webkit-print-color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;color-adjust:exact;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
5093
- var stylesheet$3 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input{-webkit-print-color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;color-adjust:exact;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
5194
+ var css_248z$3 = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7423717e]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
5195
+ var stylesheet$3 = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7423717e]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
5094
5196
  styleInject(css_248z$3);
5095
5197
 
5096
5198
  script$6.render = render$6;
5199
+ script$6.__scopeId = "data-v-7423717e";
5097
5200
 
5098
5201
  var script$5 = defineComponent({
5099
5202
  name: 'FwCard',
@@ -5125,13 +5228,16 @@ var script$5 = defineComponent({
5125
5228
  href: String
5126
5229
  },
5127
5230
  setup: function setup(props) {
5231
+ var linkClass = ref( // eslint-disable-next-line max-len
5232
+ "block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1");
5128
5233
  var componentName = computed(function () {
5129
5234
  if (props.to) return 'router-link';
5130
5235
  if (props.href) return 'a';
5131
5236
  return 'div';
5132
5237
  });
5133
5238
  return {
5134
- componentName: componentName
5239
+ componentName: componentName,
5240
+ linkClass: linkClass
5135
5241
  };
5136
5242
  }
5137
5243
  });
@@ -5156,7 +5262,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5156
5262
  to: _ctx.to ? _ctx.to : null,
5157
5263
  href: _ctx.href ? _ctx.href : null,
5158
5264
  tabindex: _ctx.to ? 0 : null,
5159
- "class": normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? 'block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1' : ''])
5265
+ "class": normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? _ctx.linkClass : ''])
5160
5266
  }, {
5161
5267
  "default": withCtx(function () {
5162
5268
  return [_ctx.title || _ctx.prefixTitle ? (openBlock(), createElementBlock("h4", _hoisted_1$4, [_ctx.prefixTitle ? (openBlock(), createElementBlock("span", _hoisted_2$3, toDisplayString(_ctx.prefixTitle), 1)) : createCommentVNode("", true), _ctx.title ? (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_4$2, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("", true)];
@@ -5218,6 +5324,8 @@ var script$4 = defineComponent({
5218
5324
  }
5219
5325
  },
5220
5326
  setup: function setup(props, ctx) {
5327
+ var baseClass = ref( // eslint-disable-next-line max-len
5328
+ "inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring");
5221
5329
  var buttonClasses = ref({
5222
5330
  primary: {
5223
5331
  text: 'text-tertiary hover:text-primary active:text-primary',
@@ -5250,7 +5358,7 @@ var script$4 = defineComponent({
5250
5358
  border: 'border-none focus-visible:ring-primary'
5251
5359
  },
5252
5360
  text: {
5253
- text: 'text-body hover:text-white active:text-white',
5361
+ text: 'text-body font-medium hover:text-white active:text-white',
5254
5362
  background: 'bg-white hover:bg-body active:bg-body',
5255
5363
  border: 'border-transparent focus-visible:ring-body'
5256
5364
  }
@@ -5277,6 +5385,7 @@ var script$4 = defineComponent({
5277
5385
  /**
5278
5386
  * @event Click - Native click
5279
5387
  */
5388
+ // eslint-disable-next-line no-undef
5280
5389
 
5281
5390
  var onClick = function onClick(e) {
5282
5391
  return ctx.emit('click', e);
@@ -5284,6 +5393,7 @@ var script$4 = defineComponent({
5284
5393
  /**
5285
5394
  * @event mouseover - Native hover
5286
5395
  */
5396
+ // eslint-disable-next-line no-undef
5287
5397
 
5288
5398
 
5289
5399
  var onMouseover = function onMouseover(e) {
@@ -5292,6 +5402,7 @@ var script$4 = defineComponent({
5292
5402
  /**
5293
5403
  * @event mouseout - Native hover out
5294
5404
  */
5405
+ // eslint-disable-next-line no-undef
5295
5406
 
5296
5407
 
5297
5408
  var onMouseout = function onMouseout(e) {
@@ -5300,6 +5411,7 @@ var script$4 = defineComponent({
5300
5411
  /**
5301
5412
  * @event focusin - Native focusin
5302
5413
  */
5414
+ // eslint-disable-next-line no-undef
5303
5415
 
5304
5416
 
5305
5417
  var onFocusin = function onFocusin(e) {
@@ -5308,6 +5420,7 @@ var script$4 = defineComponent({
5308
5420
  /**
5309
5421
  * @event focusout - Native focusout
5310
5422
  */
5423
+ // eslint-disable-next-line no-undef
5311
5424
 
5312
5425
 
5313
5426
  var onFocusout = function onFocusout(e) {
@@ -5320,6 +5433,7 @@ var script$4 = defineComponent({
5320
5433
  return 'button';
5321
5434
  });
5322
5435
  return {
5436
+ baseClass: baseClass,
5323
5437
  textColorClass: textColorClass,
5324
5438
  bgColorClass: bgColorClass,
5325
5439
  sizeClass: sizeClass,
@@ -5336,7 +5450,7 @@ var script$4 = defineComponent({
5336
5450
 
5337
5451
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5338
5452
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
5339
- "class": normalizeClass(["fw-button inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
5453
+ "class": normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
5340
5454
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
5341
5455
  to: _ctx.to ? _ctx.to : null,
5342
5456
  href: _ctx.href ? _ctx.href : null,
@@ -5351,7 +5465,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5351
5465
  return [renderSlot(_ctx.$slots, "default")];
5352
5466
  }),
5353
5467
  _: 3
5354
- }, 8, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5468
+ }, 40, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5355
5469
  }
5356
5470
 
5357
5471
  var css_248z$2 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
@@ -5384,6 +5498,8 @@ var script$3 = defineComponent({
5384
5498
  }
5385
5499
  },
5386
5500
  setup: function setup(_props, ctx) {
5501
+ var mobileMenuClass = ref( // eslint-disable-next-line max-len
5502
+ "min-h-screen top-0 left-0 pt-20 absolute w-full flex flex-col justify-between px-2 bg-white shadow-md pb-3 space-y-1");
5387
5503
  var isMobileMenuOpen = ref(false);
5388
5504
 
5389
5505
  var toggleMobileMenu = function toggleMobileMenu() {
@@ -5395,6 +5511,7 @@ var script$3 = defineComponent({
5395
5511
  };
5396
5512
 
5397
5513
  return {
5514
+ mobileMenuClass: mobileMenuClass,
5398
5515
  isMobileMenuOpen: isMobileMenuOpen,
5399
5516
  toggleMobileMenu: toggleMobileMenu,
5400
5517
  actionClicked: actionClicked
@@ -5406,7 +5523,7 @@ var _hoisted_1$3 = {
5406
5523
  "class": "fw-nav-menu relative z-50 h-20 shadow-md"
5407
5524
  };
5408
5525
  var _hoisted_2$2 = {
5409
- "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between"
5526
+ "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between max-w-6xl mx-auto"
5410
5527
  };
5411
5528
  var _hoisted_3$2 = {
5412
5529
  key: 0,
@@ -5414,7 +5531,7 @@ var _hoisted_3$2 = {
5414
5531
  };
5415
5532
  var _hoisted_4$1 = {
5416
5533
  key: 1,
5417
- "class": "container hidden sm:flex items-center justify-start max-w-[600px] sm:ml-6"
5534
+ "class": "container hidden sm:flex items-center justify-start sm:ml-6"
5418
5535
  };
5419
5536
  var _hoisted_5$1 = {
5420
5537
  "class": "flex space-x-2"
@@ -5441,10 +5558,6 @@ var _hoisted_9$1 = {
5441
5558
  };
5442
5559
  var _hoisted_10$1 = ["d"];
5443
5560
  var _hoisted_11$1 = {
5444
- key: 0,
5445
- "class": "fw-nav-menu--mobile min-h-screen top-0 left-0 pt-20 absolute w-full flex flex-col justify-between px-2 bg-white shadow-md pb-3 space-y-1"
5446
- };
5447
- var _hoisted_12 = {
5448
5561
  "class": "w-full flex flex-col"
5449
5562
  };
5450
5563
  function render$3(_ctx, _cache, $props, $setup, $data, $options) {
@@ -5452,7 +5565,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5452
5565
 
5453
5566
  var _component_FwButton = resolveComponent("FwButton");
5454
5567
 
5455
- return openBlock(), createElementBlock("nav", _hoisted_1$3, [createElementVNode("div", _hoisted_2$2, [_ctx.$slots.logo ? (openBlock(), createElementBlock("div", _hoisted_3$2, [renderSlot(_ctx.$slots, "logo")])) : createCommentVNode("", true), ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$1, [createElementVNode("div", _hoisted_5$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
5568
+ return openBlock(), createElementBlock("nav", _hoisted_1$3, [createElementVNode("div", _hoisted_2$2, [_ctx.$slots.logo ? (openBlock(), createElementBlock("div", _hoisted_3$2, [renderSlot(_ctx.$slots, "logo")])) : createCommentVNode("", true), _ctx.menuItems && ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$1, [createElementVNode("div", _hoisted_5$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
5456
5569
  return openBlock(), createBlock(_component_FwButton, {
5457
5570
  key: i,
5458
5571
  variant: "text",
@@ -5493,9 +5606,10 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5493
5606
  name: "slideInLeft"
5494
5607
  }, {
5495
5608
  "default": withCtx(function () {
5496
- var _ctx$menuItems2;
5497
-
5498
- return [((_ctx$menuItems2 = _ctx.menuItems) === null || _ctx$menuItems2 === void 0 ? void 0 : _ctx$menuItems2.length) > 0 && _ctx.isMobileMenuOpen ? (openBlock(), createElementBlock("div", _hoisted_11$1, [createElementVNode("div", _hoisted_12, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
5609
+ return [_ctx.menuItems && _ctx.menuItems.length > 0 && _ctx.isMobileMenuOpen ? (openBlock(), createElementBlock("div", {
5610
+ key: 0,
5611
+ "class": normalizeClass(["fw-nav-menu--mobile", _ctx.mobileMenuClass])
5612
+ }, [createElementVNode("div", _hoisted_11$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
5499
5613
  return openBlock(), createBlock(_component_FwButton, {
5500
5614
  key: i,
5501
5615
  "class": "w-full rounded-md",
@@ -5512,14 +5626,14 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5512
5626
  }, 1032, ["href", "to"]);
5513
5627
  }), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
5514
5628
  key: 0,
5515
- "class": "w-full rounded-md px-2",
5629
+ "class": "w-full rounded-md",
5516
5630
  onClick: _ctx.actionClicked
5517
5631
  }, {
5518
5632
  "default": withCtx(function () {
5519
5633
  return [createTextVNode(toDisplayString(_ctx.actionLabel), 1)];
5520
5634
  }),
5521
5635
  _: 1
5522
- }, 8, ["onClick"])) : createCommentVNode("", true)])) : createCommentVNode("", true)];
5636
+ }, 8, ["onClick"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)];
5523
5637
  }),
5524
5638
  _: 1
5525
5639
  })]);
@@ -5533,34 +5647,33 @@ script$3.render = render$3;
5533
5647
 
5534
5648
  var es_number_constructor = {};
5535
5649
 
5536
- var global$3 = global$r;
5537
- var isCallable$1 = isCallable$e;
5650
+ var isCallable$2 = isCallable$g;
5538
5651
 
5539
- var String$2 = global$3.String;
5540
- var TypeError$2 = global$3.TypeError;
5652
+ var $String$1 = String;
5653
+ var $TypeError$1 = TypeError;
5541
5654
 
5542
5655
  var aPossiblePrototype$1 = function (argument) {
5543
- if (typeof argument == 'object' || isCallable$1(argument)) return argument;
5544
- throw TypeError$2("Can't set " + String$2(argument) + ' as a prototype');
5656
+ if (typeof argument == 'object' || isCallable$2(argument)) return argument;
5657
+ throw $TypeError$1("Can't set " + $String$1(argument) + ' as a prototype');
5545
5658
  };
5546
5659
 
5547
5660
  /* eslint-disable no-proto -- safe */
5548
5661
 
5549
- var uncurryThis$3 = functionUncurryThis;
5662
+ var uncurryThis$4 = functionUncurryThis;
5550
5663
  var anObject = anObject$5;
5551
5664
  var aPossiblePrototype = aPossiblePrototype$1;
5552
5665
 
5553
5666
  // `Object.setPrototypeOf` method
5554
5667
  // https://tc39.es/ecma262/#sec-object.setprototypeof
5555
5668
  // Works with __proto__ only. Old v8 can't work with null proto objects.
5556
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
5669
+ // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
5557
5670
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
5558
5671
  var CORRECT_SETTER = false;
5559
5672
  var test = {};
5560
5673
  var setter;
5561
5674
  try {
5562
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5563
- setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
5675
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
5676
+ setter = uncurryThis$4(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
5564
5677
  setter(test, []);
5565
5678
  CORRECT_SETTER = test instanceof Array;
5566
5679
  } catch (error) { /* empty */ }
@@ -5573,7 +5686,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
5573
5686
  };
5574
5687
  }() : undefined);
5575
5688
 
5576
- var isCallable = isCallable$e;
5689
+ var isCallable$1 = isCallable$g;
5577
5690
  var isObject = isObject$8;
5578
5691
  var setPrototypeOf = objectSetPrototypeOf;
5579
5692
 
@@ -5584,7 +5697,7 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
5584
5697
  // it can work only with native `setPrototypeOf`
5585
5698
  setPrototypeOf &&
5586
5699
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
5587
- isCallable(NewTarget = dummy.constructor) &&
5700
+ isCallable$1(NewTarget = dummy.constructor) &&
5588
5701
  NewTarget !== Wrapper &&
5589
5702
  isObject(NewTargetPrototype = NewTarget.prototype) &&
5590
5703
  NewTargetPrototype !== Wrapper.prototype
@@ -5592,32 +5705,31 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
5592
5705
  return $this;
5593
5706
  };
5594
5707
 
5595
- var uncurryThis$2 = functionUncurryThis;
5708
+ var uncurryThis$3 = functionUncurryThis;
5596
5709
 
5597
5710
  // `thisNumberValue` abstract operation
5598
5711
  // https://tc39.es/ecma262/#sec-thisnumbervalue
5599
- var thisNumberValue$1 = uncurryThis$2(1.0.valueOf);
5712
+ var thisNumberValue$1 = uncurryThis$3(1.0.valueOf);
5600
5713
 
5601
- var global$2 = global$r;
5602
5714
  var classof = classof$3;
5603
5715
 
5604
- var String$1 = global$2.String;
5716
+ var $String = String;
5605
5717
 
5606
5718
  var toString$2 = function (argument) {
5607
5719
  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
5608
- return String$1(argument);
5720
+ return $String(argument);
5609
5721
  };
5610
5722
 
5611
5723
  // a string of all valid unicode whitespaces
5612
5724
  var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
5613
5725
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
5614
5726
 
5615
- var uncurryThis$1 = functionUncurryThis;
5727
+ var uncurryThis$2 = functionUncurryThis;
5616
5728
  var requireObjectCoercible = requireObjectCoercible$3;
5617
5729
  var toString$1 = toString$2;
5618
5730
  var whitespaces = whitespaces$1;
5619
5731
 
5620
- var replace = uncurryThis$1(''.replace);
5732
+ var replace = uncurryThis$2(''.replace);
5621
5733
  var whitespace = '[' + whitespaces + ']';
5622
5734
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
5623
5735
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -5646,16 +5758,16 @@ var stringTrim = {
5646
5758
 
5647
5759
  'use strict';
5648
5760
  var DESCRIPTORS = descriptors;
5649
- var global$1 = global$r;
5650
- var uncurryThis = functionUncurryThis;
5761
+ var global$4 = global$f;
5762
+ var uncurryThis$1 = functionUncurryThis;
5651
5763
  var isForced = isForced_1;
5652
- var redefine = redefine$4.exports;
5764
+ var defineBuiltIn = defineBuiltIn$3;
5653
5765
  var hasOwn = hasOwnProperty_1;
5654
5766
  var inheritIfRequired = inheritIfRequired$1;
5655
5767
  var isPrototypeOf = objectIsPrototypeOf;
5656
5768
  var isSymbol$1 = isSymbol$4;
5657
5769
  var toPrimitive = toPrimitive$2;
5658
- var fails = fails$a;
5770
+ var fails = fails$c;
5659
5771
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
5660
5772
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
5661
5773
  var defineProperty = objectDefineProperty.f;
@@ -5663,11 +5775,11 @@ var thisNumberValue = thisNumberValue$1;
5663
5775
  var trim = stringTrim.trim;
5664
5776
 
5665
5777
  var NUMBER = 'Number';
5666
- var NativeNumber = global$1[NUMBER];
5778
+ var NativeNumber = global$4[NUMBER];
5667
5779
  var NumberPrototype = NativeNumber.prototype;
5668
- var TypeError$1 = global$1.TypeError;
5669
- var arraySlice = uncurryThis(''.slice);
5670
- var charCodeAt = uncurryThis(''.charCodeAt);
5780
+ var TypeError$1 = global$4.TypeError;
5781
+ var arraySlice$2 = uncurryThis$1(''.slice);
5782
+ var charCodeAt = uncurryThis$1(''.charCodeAt);
5671
5783
 
5672
5784
  // `ToNumeric` abstract operation
5673
5785
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -5694,7 +5806,7 @@ var toNumber = function (argument) {
5694
5806
  case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
5695
5807
  default: return +it;
5696
5808
  }
5697
- digits = arraySlice(it, 2);
5809
+ digits = arraySlice$2(it, 2);
5698
5810
  length = digits.length;
5699
5811
  for (index = 0; index < length; index++) {
5700
5812
  code = charCodeAt(digits, index);
@@ -5730,7 +5842,7 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
5730
5842
  }
5731
5843
  NumberWrapper.prototype = NumberPrototype;
5732
5844
  NumberPrototype.constructor = NumberWrapper;
5733
- redefine(global$1, NUMBER, NumberWrapper);
5845
+ defineBuiltIn(global$4, NUMBER, NumberWrapper, { constructor: true });
5734
5846
  }
5735
5847
 
5736
5848
  var script$2 = defineComponent({
@@ -5795,7 +5907,7 @@ script$2.render = render$2;
5795
5907
  var es_array_findIndex = {};
5796
5908
 
5797
5909
  'use strict';
5798
- var $ = _export;
5910
+ var $$2 = _export;
5799
5911
  var $findIndex = arrayIteration.findIndex;
5800
5912
  var addToUnscopables = addToUnscopables$2;
5801
5913
 
@@ -5807,7 +5919,7 @@ if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; })
5807
5919
 
5808
5920
  // `Array.prototype.findIndex` method
5809
5921
  // https://tc39.es/ecma262/#sec-array.prototype.findindex
5810
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5922
+ $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5811
5923
  findIndex: function findIndex(callbackfn /* , that = undefined */) {
5812
5924
  return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5813
5925
  }
@@ -6239,7 +6351,7 @@ var script = defineComponent({
6239
6351
  });
6240
6352
 
6241
6353
  var _withScopeId = function _withScopeId(n) {
6242
- return pushScopeId("data-v-d1d6dbae"), n = n(), popScopeId(), n;
6354
+ return pushScopeId("data-v-003a6fba"), n = n(), popScopeId(), n;
6243
6355
  };
6244
6356
 
6245
6357
  var _hoisted_1 = {
@@ -6273,14 +6385,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
6273
6385
  var _component_FwButton = resolveComponent("FwButton");
6274
6386
 
6275
6387
  return openBlock(), createBlock(Transition, {
6276
- name: "modalFadeIn"
6388
+ name: "modalFadeIn",
6389
+ appear: ""
6277
6390
  }, {
6278
6391
  "default": withCtx(function () {
6279
6392
  return [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createElementVNode("div", {
6280
6393
  role: _ctx.role,
6394
+ "aria-modal": "true",
6281
6395
  "class": "fw-modal--container p-12 m-8 inline-block w-full max-w-[540px] bg-white rounded-2xl shadow",
6282
- "aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : null,
6283
- "aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : null
6396
+ "aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : undefined,
6397
+ "aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : undefined
6284
6398
  }, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock("div", _hoisted_5, [_ctx.$slots.icon ? (openBlock(), createElementBlock("div", _hoisted_6, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("", true), _ctx.$slots.header ? (openBlock(), createElementBlock("h2", {
6285
6399
  key: 1,
6286
6400
  id: "modal_".concat(_ctx.uuid, "_header")
@@ -6329,12 +6443,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
6329
6443
  });
6330
6444
  }
6331
6445
 
6332
- var css_248z = ".modalFadeIn-enter-active[data-v-d1d6dbae]{-webkit-animation:modalFadeIn-d1d6dbae .4s;animation:modalFadeIn-d1d6dbae .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-d1d6dbae]{animation:modalFadeIn-d1d6dbae .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}";
6333
- var stylesheet = ".modalFadeIn-enter-active[data-v-d1d6dbae]{-webkit-animation:modalFadeIn-d1d6dbae .4s;animation:modalFadeIn-d1d6dbae .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-d1d6dbae]{animation:modalFadeIn-d1d6dbae .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-d1d6dbae{0%{opacity:0}to{opacity:1}}";
6446
+ var css_248z = ".modalFadeIn-enter-active[data-v-003a6fba]{-webkit-animation:modalFadeIn-003a6fba .4s;animation:modalFadeIn-003a6fba .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-003a6fba]{animation:modalFadeIn-003a6fba .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}";
6447
+ var stylesheet = ".modalFadeIn-enter-active[data-v-003a6fba]{-webkit-animation:modalFadeIn-003a6fba .4s;animation:modalFadeIn-003a6fba .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-003a6fba]{animation:modalFadeIn-003a6fba .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}";
6334
6448
  styleInject(css_248z);
6335
6449
 
6336
6450
  script.render = render;
6337
- script.__scopeId = "data-v-d1d6dbae";
6451
+ script.__scopeId = "data-v-003a6fba";
6338
6452
 
6339
6453
  // Form components
6340
6454
 
@@ -6392,36 +6506,115 @@ function _objectSpread2(target) {
6392
6506
  return target;
6393
6507
  }
6394
6508
 
6395
- var modalService = function modalService(options, element) {
6396
- var _getCurrentInstance;
6509
+ var web_timers = {};
6510
+
6511
+ var web_setInterval = {};
6512
+
6513
+ var NATIVE_BIND = functionBindNative;
6514
+
6515
+ var FunctionPrototype = Function.prototype;
6516
+ var apply$1 = FunctionPrototype.apply;
6517
+ var call = FunctionPrototype.call;
6518
+
6519
+ // eslint-disable-next-line es-x/no-reflect -- safe
6520
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply$1) : function () {
6521
+ return call.apply(apply$1, arguments);
6522
+ });
6523
+
6524
+ var uncurryThis = functionUncurryThis;
6397
6525
 
6526
+ var arraySlice$1 = uncurryThis([].slice);
6527
+
6528
+ var $TypeError = TypeError;
6529
+
6530
+ var validateArgumentsLength$1 = function (passed, required) {
6531
+ if (passed < required) throw $TypeError('Not enough arguments');
6532
+ return passed;
6533
+ };
6534
+
6535
+ var global$3 = global$f;
6536
+ var apply = functionApply;
6537
+ var isCallable = isCallable$g;
6538
+ var userAgent = engineUserAgent;
6539
+ var arraySlice = arraySlice$1;
6540
+ var validateArgumentsLength = validateArgumentsLength$1;
6541
+
6542
+ var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
6543
+ var Function$1 = global$3.Function;
6544
+
6545
+ var wrap = function (scheduler) {
6546
+ return MSIE ? function (handler, timeout /* , ...arguments */) {
6547
+ var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
6548
+ var fn = isCallable(handler) ? handler : Function$1(handler);
6549
+ var args = boundArgs ? arraySlice(arguments, 2) : undefined;
6550
+ return scheduler(boundArgs ? function () {
6551
+ apply(fn, this, args);
6552
+ } : fn, timeout);
6553
+ } : scheduler;
6554
+ };
6555
+
6556
+ // ie9- setTimeout & setInterval additional parameters fix
6557
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
6558
+ var schedulersFix = {
6559
+ // `setTimeout` method
6560
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
6561
+ setTimeout: wrap(global$3.setTimeout),
6562
+ // `setInterval` method
6563
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
6564
+ setInterval: wrap(global$3.setInterval)
6565
+ };
6566
+
6567
+ var $$1 = _export;
6568
+ var global$2 = global$f;
6569
+ var setInterval = schedulersFix.setInterval;
6570
+
6571
+ // ie9- setInterval additional parameters fix
6572
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
6573
+ $$1({ global: true, bind: true, forced: global$2.setInterval !== setInterval }, {
6574
+ setInterval: setInterval
6575
+ });
6576
+
6577
+ var web_setTimeout = {};
6578
+
6579
+ var $ = _export;
6580
+ var global$1 = global$f;
6581
+ var setTimeout$1 = schedulersFix.setTimeout;
6582
+
6583
+ // ie9- setTimeout additional parameters fix
6584
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
6585
+ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
6586
+ setTimeout: setTimeout$1
6587
+ });
6588
+
6589
+ var modalService = function modalService(options, element) {
6398
6590
  var elementToMount = document.createElement('div');
6399
- var modalVNode = null;
6400
- var appContext = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.appContext;
6401
- var elAppend = element || document.body;
6591
+ elementToMount.id = uniqueId('fw-modal-app-');
6592
+ var elAppend = element || document.querySelector('#app');
6593
+ var modalVNode = undefined;
6402
6594
 
6403
6595
  var open = function open() {
6404
- modalVNode = createVNode(script, _objectSpread2(_objectSpread2({}, options), {}, {
6405
- "class": 'modalFadeIn-enter-active'
6406
- }));
6407
- modalVNode.appContext = appContext ? appContext : null;
6408
- render$8(modalVNode, elementToMount);
6409
- elAppend.appendChild(elementToMount);
6596
+ var _modalVNode;
6597
+
6598
+ modalVNode = createApp(script, _objectSpread2({}, options));
6599
+ elAppend === null || elAppend === void 0 ? void 0 : elAppend.appendChild(elementToMount);
6600
+ (_modalVNode = modalVNode) === null || _modalVNode === void 0 ? void 0 : _modalVNode.mount(elementToMount);
6410
6601
  };
6411
6602
 
6412
6603
  var close = function close() {
6413
- render$8(null, elementToMount);
6414
-
6415
6604
  if (elementToMount) {
6416
- elementToMount.remove();
6417
- }
6605
+ var _elementToMount$query;
6418
6606
 
6419
- modalVNode = null;
6607
+ (_elementToMount$query = elementToMount.querySelector('.fw-modal')) === null || _elementToMount$query === void 0 ? void 0 : _elementToMount$query.classList.add('modalFadeIn-leave-active');
6608
+ setTimeout(function () {
6609
+ var _modalVNode2;
6610
+
6611
+ (_modalVNode2 = modalVNode) === null || _modalVNode2 === void 0 ? void 0 : _modalVNode2.unmount();
6612
+ modalVNode = undefined;
6613
+ elementToMount.remove();
6614
+ }, 400);
6615
+ }
6420
6616
  };
6421
6617
 
6422
- onUnmounted(function () {
6423
- close();
6424
- });
6425
6618
  return {
6426
6619
  open: open,
6427
6620
  close: close