@frollo/frollo-web-ui 0.0.21 → 0.0.22

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 (41) hide show
  1. package/cjs/index.js +629 -126
  2. package/esm/{add-to-unscopables-874257d1.js → add-to-unscopables-c6a09beb.js} +1 -1
  3. package/esm/{es.array.includes-ef2f18f4.js → es.array.includes-1b7043c3.js} +2 -2
  4. package/esm/{es.function.name-43e1ffbd.js → es.function.name-f416c9da.js} +1 -1
  5. package/esm/{function-name-a620492a.js → function-name-982253be.js} +1 -1
  6. package/esm/{fw-button-fee2541f.js → fw-button-0826e6fc.js} +4 -4
  7. package/esm/fw-button.js +4 -4
  8. package/esm/fw-card.js +1 -1
  9. package/esm/fw-checkbox.js +2 -2
  10. package/esm/fw-input.js +4 -4
  11. package/esm/fw-modal.js +475 -0
  12. package/esm/fw-navigation-menu.js +7 -8
  13. package/esm/fw-tabs.js +3 -3
  14. package/esm/{index-5430e7a3.js → index-9de6159f.js} +2 -2
  15. package/esm/index.js +88 -16
  16. package/frollo-web-ui.esm.js +682 -138
  17. package/index.d.ts +213 -27
  18. package/package.json +4 -2
  19. package/styles/tailwind.scss +58 -0
  20. package/styles/transitions.scss +20 -0
  21. package/styles/typography.scss +38 -0
  22. package/tailwind.config.js +2 -2
  23. package/types/components/fw-button/fw-button.vue.d.ts +1 -21
  24. package/types/components/fw-button/index.types.d.ts +29 -0
  25. package/types/components/fw-card/index.types.d.ts +6 -0
  26. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +0 -6
  27. package/types/components/fw-checkbox/index.types.d.ts +6 -0
  28. package/types/components/fw-input/fw-input.vue.d.ts +4 -14
  29. package/types/components/fw-input/index.types.d.ts +14 -0
  30. package/types/components/fw-modal/fw-modal.vue.d.ts +145 -0
  31. package/types/components/fw-modal/index.d.ts +2 -0
  32. package/types/components/fw-modal/index.types.d.ts +12 -0
  33. package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +1 -5
  34. package/types/components/fw-navigation-menu/index.types.d.ts +5 -0
  35. package/types/components/index.d.ts +1 -0
  36. package/types/components/index.types.d.ts +6 -0
  37. package/types/index-types.esm.d.ts +2 -7
  38. package/types/index.d.ts +1 -0
  39. package/types/index.esm.d.ts +2 -1
  40. package/types/services/index.d.ts +1 -0
  41. package/types/services/modal.d.ts +9 -0
@@ -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 } 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, createBlock, Fragment, renderList, createTextVNode, pushScopeId, popScopeId, render as render$8 } from 'vue';
2
2
 
3
3
  function _arrayWithHoles(arr) {
4
4
  if (Array.isArray(arr)) return arr;
@@ -188,11 +188,11 @@ var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
188
188
 
189
189
  var uncurryThis$h = functionUncurryThis;
190
190
 
191
- var toString$4 = uncurryThis$h({}.toString);
191
+ var toString$5 = uncurryThis$h({}.toString);
192
192
  var stringSlice = uncurryThis$h(''.slice);
193
193
 
194
194
  var classofRaw$1 = function (it) {
195
- return stringSlice(toString$4(it), 8, -1);
195
+ return stringSlice(toString$5(it), 8, -1);
196
196
  };
197
197
 
198
198
  var global$q = global$r;
@@ -321,7 +321,7 @@ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
321
321
 
322
322
  var Object$3 = global$m.Object;
323
323
 
324
- var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
324
+ var isSymbol$4 = USE_SYMBOL_AS_UID$1 ? function (it) {
325
325
  return typeof it == 'symbol';
326
326
  } : function (it) {
327
327
  var $Symbol = getBuiltIn$3('Symbol');
@@ -432,22 +432,22 @@ var toObject$2 = function (argument) {
432
432
  var uncurryThis$e = functionUncurryThis;
433
433
  var toObject$1 = toObject$2;
434
434
 
435
- var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
435
+ var hasOwnProperty$1 = uncurryThis$e({}.hasOwnProperty);
436
436
 
437
437
  // `HasOwnProperty` abstract operation
438
438
  // https://tc39.es/ecma262/#sec-hasownproperty
439
439
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
440
- return hasOwnProperty(toObject$1(it), key);
440
+ return hasOwnProperty$1(toObject$1(it), key);
441
441
  };
442
442
 
443
443
  var uncurryThis$d = functionUncurryThis;
444
444
 
445
445
  var id = 0;
446
446
  var postfix = Math.random();
447
- var toString$3 = uncurryThis$d(1.0.toString);
447
+ var toString$4 = uncurryThis$d(1.0.toString);
448
448
 
449
449
  var uid$2 = function (key) {
450
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
450
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
451
451
  };
452
452
 
453
453
  var global$f = global$r;
@@ -458,15 +458,15 @@ var NATIVE_SYMBOL = nativeSymbol;
458
458
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
459
459
 
460
460
  var WellKnownSymbolsStore = shared$2('wks');
461
- var Symbol$1 = global$f.Symbol;
462
- var symbolFor = Symbol$1 && Symbol$1['for'];
463
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
461
+ var Symbol$2 = global$f.Symbol;
462
+ var symbolFor = Symbol$2 && Symbol$2['for'];
463
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
464
464
 
465
465
  var wellKnownSymbol$5 = function (name) {
466
466
  if (!hasOwn$7(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
467
467
  var description = 'Symbol.' + name;
468
- if (NATIVE_SYMBOL && hasOwn$7(Symbol$1, name)) {
469
- WellKnownSymbolsStore[name] = Symbol$1[name];
468
+ if (NATIVE_SYMBOL && hasOwn$7(Symbol$2, name)) {
469
+ WellKnownSymbolsStore[name] = Symbol$2[name];
470
470
  } else if (USE_SYMBOL_AS_UID && symbolFor) {
471
471
  WellKnownSymbolsStore[name] = symbolFor(description);
472
472
  } else {
@@ -478,7 +478,7 @@ var wellKnownSymbol$5 = function (name) {
478
478
  var global$e = global$r;
479
479
  var call$1 = functionCall;
480
480
  var isObject$6 = isObject$8;
481
- var isSymbol$2 = isSymbol$3;
481
+ var isSymbol$3 = isSymbol$4;
482
482
  var getMethod = getMethod$1;
483
483
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
484
484
  var wellKnownSymbol$4 = wellKnownSymbol$5;
@@ -489,13 +489,13 @@ var TO_PRIMITIVE = wellKnownSymbol$4('toPrimitive');
489
489
  // `ToPrimitive` abstract operation
490
490
  // https://tc39.es/ecma262/#sec-toprimitive
491
491
  var toPrimitive$2 = function (input, pref) {
492
- if (!isObject$6(input) || isSymbol$2(input)) return input;
492
+ if (!isObject$6(input) || isSymbol$3(input)) return input;
493
493
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
494
494
  var result;
495
495
  if (exoticToPrim) {
496
496
  if (pref === undefined) pref = 'default';
497
497
  result = call$1(exoticToPrim, input, pref);
498
- if (!isObject$6(result) || isSymbol$2(result)) return result;
498
+ if (!isObject$6(result) || isSymbol$3(result)) return result;
499
499
  throw TypeError$6("Can't convert object to primitive value");
500
500
  }
501
501
  if (pref === undefined) pref = 'number';
@@ -503,13 +503,13 @@ var toPrimitive$2 = function (input, pref) {
503
503
  };
504
504
 
505
505
  var toPrimitive$1 = toPrimitive$2;
506
- var isSymbol$1 = isSymbol$3;
506
+ var isSymbol$2 = isSymbol$4;
507
507
 
508
508
  // `ToPropertyKey` abstract operation
509
509
  // https://tc39.es/ecma262/#sec-topropertykey
510
510
  var toPropertyKey$2 = function (argument) {
511
511
  var key = toPrimitive$1(argument, 'string');
512
- return isSymbol$1(key) ? key : key + '';
512
+ return isSymbol$2(key) ? key : key + '';
513
513
  };
514
514
 
515
515
  var global$d = global$r;
@@ -949,19 +949,19 @@ var anObject$3 = anObject$5;
949
949
  var concat = uncurryThis$9([].concat);
950
950
 
951
951
  // all object keys, includes non-enumerable and symbols
952
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
952
+ var ownKeys$2 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
953
953
  var keys = getOwnPropertyNamesModule.f(anObject$3(it));
954
954
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
955
955
  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
956
956
  };
957
957
 
958
958
  var hasOwn$1 = hasOwnProperty_1;
959
- var ownKeys = ownKeys$1;
959
+ var ownKeys$1 = ownKeys$2;
960
960
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
961
961
  var definePropertyModule$2 = objectDefineProperty;
962
962
 
963
963
  var copyConstructorProperties$1 = function (target, source, exceptions) {
964
- var keys = ownKeys(source);
964
+ var keys = ownKeys$1(source);
965
965
  var defineProperty = definePropertyModule$2.f;
966
966
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
967
967
  for (var i = 0; i < keys.length; i++) {
@@ -1070,7 +1070,7 @@ var classof$4 = classofRaw$1;
1070
1070
  // `IsArray` abstract operation
1071
1071
  // https://tc39.es/ecma262/#sec-isarray
1072
1072
  // eslint-disable-next-line es/no-array-isarray -- safe
1073
- var isArray$1 = Array.isArray || function isArray(argument) {
1073
+ var isArray$2 = Array.isArray || function isArray(argument) {
1074
1074
  return classof$4(argument) == 'Array';
1075
1075
  };
1076
1076
 
@@ -1168,7 +1168,7 @@ var isConstructor$1 = !construct || fails$2(function () {
1168
1168
  }) ? isConstructorLegacy : isConstructorModern;
1169
1169
 
1170
1170
  var global$5 = global$r;
1171
- var isArray = isArray$1;
1171
+ var isArray$1 = isArray$2;
1172
1172
  var isConstructor = isConstructor$1;
1173
1173
  var isObject$2 = isObject$8;
1174
1174
  var wellKnownSymbol$1 = wellKnownSymbol$5;
@@ -1180,10 +1180,10 @@ var Array$1 = global$5.Array;
1180
1180
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
1181
1181
  var arraySpeciesConstructor$1 = function (originalArray) {
1182
1182
  var C;
1183
- if (isArray(originalArray)) {
1183
+ if (isArray$1(originalArray)) {
1184
1184
  C = originalArray.constructor;
1185
1185
  // cross-realm fallback
1186
- if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
1186
+ if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
1187
1187
  else if (isObject$2(C)) {
1188
1188
  C = C[SPECIES];
1189
1189
  if (C === null) C = undefined;
@@ -1316,18 +1316,18 @@ var classof$1 = classof$3;
1316
1316
 
1317
1317
  // `Object.prototype.toString` method implementation
1318
1318
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1319
- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1319
+ var objectToString$1 = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1320
1320
  return '[object ' + classof$1(this) + ']';
1321
1321
  };
1322
1322
 
1323
1323
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1324
1324
  var redefine$1 = redefine$4.exports;
1325
- var toString$2 = objectToString;
1325
+ var toString$3 = objectToString$1;
1326
1326
 
1327
1327
  // `Object.prototype.toString` method
1328
1328
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1329
1329
  if (!TO_STRING_TAG_SUPPORT) {
1330
- redefine$1(Object.prototype, 'toString', toString$2, { unsafe: true });
1330
+ redefine$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1331
1331
  }
1332
1332
 
1333
1333
  var web_domCollections_forEach = {};
@@ -4745,7 +4745,7 @@ $$1({ target: 'Array', proto: true }, {
4745
4745
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
4746
4746
  addToUnscopables$1('includes');
4747
4747
 
4748
- var script$6 = defineComponent({
4748
+ var script$7 = defineComponent({
4749
4749
  name: 'FwInput',
4750
4750
  emits: ['update:modelValue'],
4751
4751
  components: {
@@ -4859,29 +4859,29 @@ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
4859
4859
  });
4860
4860
  }
4861
4861
 
4862
- var _hoisted_1$5 = {
4862
+ var _hoisted_1$6 = {
4863
4863
  "class": "fw-input w-full"
4864
4864
  };
4865
- var _hoisted_2$4 = {
4865
+ var _hoisted_2$5 = {
4866
4866
  "class": "flex flex-col"
4867
4867
  };
4868
- var _hoisted_3$4 = {
4868
+ var _hoisted_3$5 = {
4869
4869
  "class": "flex flex-row justify-between"
4870
4870
  };
4871
- var _hoisted_4$3 = ["for"];
4872
- var _hoisted_5$2 = {
4871
+ var _hoisted_4$4 = ["for"];
4872
+ var _hoisted_5$3 = {
4873
4873
  key: 1
4874
4874
  };
4875
- var _hoisted_6$2 = {
4875
+ var _hoisted_6$3 = {
4876
4876
  "class": "relative"
4877
4877
  };
4878
- var _hoisted_7$2 = {
4878
+ var _hoisted_7$3 = {
4879
4879
  key: 0,
4880
4880
  "class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
4881
4881
  };
4882
- var _hoisted_8$2 = ["placeholder", "type", "readonly", "disabled"];
4882
+ var _hoisted_8$3 = ["placeholder", "type", "readonly", "disabled"];
4883
4883
 
4884
- var _hoisted_9$1 = /*#__PURE__*/createElementVNode("svg", {
4884
+ var _hoisted_9$2 = /*#__PURE__*/createElementVNode("svg", {
4885
4885
  fill: "currentColor",
4886
4886
  "aria-hidden": "true",
4887
4887
  focusable: "false",
@@ -4892,8 +4892,8 @@ var _hoisted_9$1 = /*#__PURE__*/createElementVNode("svg", {
4892
4892
  d: "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8\n 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36\n 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4\n 400 256 400z"
4893
4893
  })], -1);
4894
4894
 
4895
- var _hoisted_10$1 = [_hoisted_9$1];
4896
- var _hoisted_11$1 = {
4895
+ var _hoisted_10$2 = [_hoisted_9$2];
4896
+ var _hoisted_11$2 = {
4897
4897
  key: 1,
4898
4898
  "class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
4899
4899
  };
@@ -4907,10 +4907,10 @@ var _hoisted_13 = {
4907
4907
  var _hoisted_14 = {
4908
4908
  key: 1
4909
4909
  };
4910
- function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4910
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
4911
4911
  var _component_InputField = resolveComponent("InputField");
4912
4912
 
4913
- return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_InputField, {
4913
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [createVNode(_component_InputField, {
4914
4914
  modelValue: _ctx.inputValue,
4915
4915
  "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
4916
4916
  return _ctx.inputValue = $event;
@@ -4923,11 +4923,11 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4923
4923
  errors = _ref.errors,
4924
4924
  errorMessage = _ref.errorMessage,
4925
4925
  meta = _ref.meta;
4926
- return [createElementVNode("div", _hoisted_2$4, [createElementVNode("div", _hoisted_3$4, [_ctx.label ? (openBlock(), createElementBlock("label", {
4926
+ return [createElementVNode("div", _hoisted_2$5, [createElementVNode("div", _hoisted_3$5, [_ctx.label ? (openBlock(), createElementBlock("label", {
4927
4927
  key: 0,
4928
4928
  "for": _ctx.name,
4929
4929
  "class": "block mb-2"
4930
- }, toDisplayString(_ctx.label), 9, _hoisted_4$3)) : createCommentVNode("", true), _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "action")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_6$2, [_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_7$2, [renderSlot(_ctx.$slots, "prefix")])) : createCommentVNode("", true), createElementVNode("input", mergeProps(field, {
4930
+ }, toDisplayString(_ctx.label), 9, _hoisted_4$4)) : createCommentVNode("", true), _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5$3, [renderSlot(_ctx.$slots, "action")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_6$3, [_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_7$3, [renderSlot(_ctx.$slots, "prefix")])) : createCommentVNode("", true), createElementVNode("input", mergeProps(field, {
4931
4931
  placeholder: _ctx.placeholder,
4932
4932
  type: _ctx.type,
4933
4933
  readonly: _ctx.readonly,
@@ -4936,17 +4936,17 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
4936
4936
  'pl-10': !!_ctx.$slots.prefix,
4937
4937
  'pr-20': !!_ctx.$slots.suffix
4938
4938
  }]
4939
- }), null, 16, _hoisted_8$2), createVNode(Transition, {
4939
+ }), null, 16, _hoisted_8$3), createVNode(Transition, {
4940
4940
  name: "fwFadeIn"
4941
4941
  }, {
4942
4942
  "default": withCtx(function () {
4943
4943
  return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("div", {
4944
4944
  key: 0,
4945
4945
  "class": normalizeClass(["flex text-error absolute w-9 h-full inset-y-0 right-0 items-center pr-3 pointer-events-none", _ctx.$slots.suffix ? 'mr-8' : ''])
4946
- }, _hoisted_10$1, 2)) : createCommentVNode("", true)];
4946
+ }, _hoisted_10$2, 2)) : createCommentVNode("", true)];
4947
4947
  }),
4948
4948
  _: 2
4949
- }, 1024), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_11$1, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_12$1, [createVNode(Transition, {
4949
+ }, 1024), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_11$2, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_12$1, [createVNode(Transition, {
4950
4950
  name: "fwFadeIn",
4951
4951
  mode: "out-in"
4952
4952
  }, {
@@ -4987,13 +4987,13 @@ function styleInject(css, ref) {
4987
4987
  }
4988
4988
  }
4989
4989
 
4990
- 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}}";
4991
- 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}}";
4992
- styleInject(css_248z$3);
4990
+ var css_248z$4 = ".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}}";
4991
+ var stylesheet$4 = ".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}}";
4992
+ styleInject(css_248z$4);
4993
4993
 
4994
- script$6.render = render$6;
4994
+ script$7.render = render$7;
4995
4995
 
4996
- var script$5 = defineComponent({
4996
+ var script$6 = defineComponent({
4997
4997
  name: 'FwCheckbox',
4998
4998
  components: {
4999
4999
  InputField: Field
@@ -5030,29 +5030,29 @@ var script$5 = defineComponent({
5030
5030
  }
5031
5031
  });
5032
5032
 
5033
- var _hoisted_1$4 = {
5033
+ var _hoisted_1$5 = {
5034
5034
  "class": "fw-checkbox w-full"
5035
5035
  };
5036
- var _hoisted_2$3 = {
5036
+ var _hoisted_2$4 = {
5037
5037
  "class": "flex flex-col"
5038
5038
  };
5039
- var _hoisted_3$3 = ["for"];
5040
- var _hoisted_4$2 = ["value", "name"];
5041
- var _hoisted_5$1 = ["innerHTML"];
5042
- var _hoisted_6$1 = {
5039
+ var _hoisted_3$4 = ["for"];
5040
+ var _hoisted_4$3 = ["value", "name"];
5041
+ var _hoisted_5$2 = ["innerHTML"];
5042
+ var _hoisted_6$2 = {
5043
5043
  "class": "italic text-sm font-medium min-h-[21px]"
5044
5044
  };
5045
- var _hoisted_7$1 = {
5045
+ var _hoisted_7$2 = {
5046
5046
  key: 0,
5047
5047
  "class": "text-error"
5048
5048
  };
5049
- var _hoisted_8$1 = {
5049
+ var _hoisted_8$2 = {
5050
5050
  key: 1
5051
5051
  };
5052
- function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5052
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
5053
5053
  var _component_InputField = resolveComponent("InputField");
5054
5054
 
5055
- return openBlock(), createElementBlock("div", _hoisted_1$4, [createVNode(_component_InputField, {
5055
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_InputField, {
5056
5056
  name: _ctx.name,
5057
5057
  value: _ctx.name,
5058
5058
  type: "checkbox",
@@ -5063,7 +5063,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5063
5063
  errors = _ref.errors,
5064
5064
  errorMessage = _ref.errorMessage,
5065
5065
  meta = _ref.meta;
5066
- return [createElementVNode("div", _hoisted_2$3, [_ctx.label ? (openBlock(), createElementBlock("label", {
5066
+ return [createElementVNode("div", _hoisted_2$4, [_ctx.label ? (openBlock(), createElementBlock("label", {
5067
5067
  key: 0,
5068
5068
  "for": _ctx.name,
5069
5069
  "class": "inline-flex items-center mb-3"
@@ -5072,15 +5072,15 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5072
5072
  name: _ctx.name,
5073
5073
  type: "checkbox",
5074
5074
  "class": "text-primary w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
5075
- }), null, 16, _hoisted_4$2), createElementVNode("span", {
5075
+ }), null, 16, _hoisted_4$3), createElementVNode("span", {
5076
5076
  "class": "ml-2",
5077
5077
  innerHTML: _ctx.label
5078
- }, null, 8, _hoisted_5$1)], 8, _hoisted_3$3)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6$1, [createVNode(Transition, {
5078
+ }, null, 8, _hoisted_5$2)], 8, _hoisted_3$4)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6$2, [createVNode(Transition, {
5079
5079
  name: "fwFadeIn",
5080
5080
  mode: "out-in"
5081
5081
  }, {
5082
5082
  "default": withCtx(function () {
5083
- return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_7$1, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_8$1, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
5083
+ return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_8$2, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
5084
5084
  }),
5085
5085
  _: 2
5086
5086
  }, 1024)])])];
@@ -5089,13 +5089,13 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5089
5089
  }, 8, ["name", "value", "rules"])]);
5090
5090
  }
5091
5091
 
5092
- var css_248z$2 = ".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$2 = ".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}";
5094
- styleInject(css_248z$2);
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}";
5094
+ styleInject(css_248z$3);
5095
5095
 
5096
- script$5.render = render$5;
5096
+ script$6.render = render$6;
5097
5097
 
5098
- var script$4 = defineComponent({
5098
+ var script$5 = defineComponent({
5099
5099
  name: 'FwCard',
5100
5100
  props: {
5101
5101
  /**
@@ -5136,22 +5136,22 @@ var script$4 = defineComponent({
5136
5136
  }
5137
5137
  });
5138
5138
 
5139
- var _hoisted_1$3 = {
5139
+ var _hoisted_1$4 = {
5140
5140
  key: 0,
5141
- "class": "fw-card--header text-lg px-8 py-4 font-bold bg-grey-lightest rounded-t-lg border-opacity-0"
5141
+ "class": "fw-card--header px-8 py-4 bg-grey-lightest rounded-t-lg border-opacity-0"
5142
5142
  };
5143
- var _hoisted_2$2 = {
5143
+ var _hoisted_2$3 = {
5144
5144
  key: 0,
5145
5145
  "class": "fw-card--prefix-title text-primary"
5146
5146
  };
5147
- var _hoisted_3$2 = {
5147
+ var _hoisted_3$3 = {
5148
5148
  key: 1
5149
5149
  };
5150
- var _hoisted_4$1 = {
5150
+ var _hoisted_4$2 = {
5151
5151
  key: 1,
5152
5152
  "class": "p-8"
5153
5153
  };
5154
- function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5154
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5155
5155
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.componentName), {
5156
5156
  to: _ctx.to ? _ctx.to : null,
5157
5157
  href: _ctx.href ? _ctx.href : null,
@@ -5159,15 +5159,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5159
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' : ''])
5160
5160
  }, {
5161
5161
  "default": withCtx(function () {
5162
- return [_ctx.title || _ctx.prefixTitle ? (openBlock(), createElementBlock("h4", _hoisted_1$3, [_ctx.prefixTitle ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(_ctx.prefixTitle), 1)) : createCommentVNode("", true), _ctx.title ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_4$1, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("", true)];
5162
+ 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)];
5163
5163
  }),
5164
5164
  _: 3
5165
5165
  }, 8, ["to", "href", "tabindex", "class"]);
5166
5166
  }
5167
5167
 
5168
- script$4.render = render$4;
5168
+ script$5.render = render$5;
5169
5169
 
5170
- var script$3 = defineComponent({
5170
+ var script$4 = defineComponent({
5171
5171
  name: 'FwButton',
5172
5172
  emits: ['click', 'mouseover', 'mouseout', 'focusin', 'focusout'],
5173
5173
  props: {
@@ -5250,7 +5250,7 @@ var script$3 = defineComponent({
5250
5250
  border: 'border-none focus-visible:ring-primary'
5251
5251
  },
5252
5252
  text: {
5253
- text: 'text-body font-medium hover:text-white active:text-white',
5253
+ text: 'text-body hover:text-white active:text-white',
5254
5254
  background: 'bg-white hover:bg-body active:bg-body',
5255
5255
  border: 'border-transparent focus-visible:ring-body'
5256
5256
  }
@@ -5334,7 +5334,7 @@ var script$3 = defineComponent({
5334
5334
  }
5335
5335
  });
5336
5336
 
5337
- function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5337
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
5338
5338
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
5339
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']]),
5340
5340
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
@@ -5354,17 +5354,17 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5354
5354
  }, 8, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
5355
5355
  }
5356
5356
 
5357
- var css_248z$1 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
5358
- var stylesheet$1 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
5359
- styleInject(css_248z$1);
5357
+ 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}";
5358
+ var stylesheet$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}";
5359
+ styleInject(css_248z$2);
5360
5360
 
5361
- script$3.render = render$3;
5361
+ script$4.render = render$4;
5362
5362
 
5363
- var script$2 = defineComponent({
5363
+ var script$3 = defineComponent({
5364
5364
  name: 'FwNavigationMenu',
5365
5365
  emits: ['action'],
5366
5366
  components: {
5367
- FwButton: script$3
5367
+ FwButton: script$4
5368
5368
  },
5369
5369
  props: {
5370
5370
  /**
@@ -5402,36 +5402,36 @@ var script$2 = defineComponent({
5402
5402
  }
5403
5403
  });
5404
5404
 
5405
- var _hoisted_1$2 = {
5405
+ var _hoisted_1$3 = {
5406
5406
  "class": "fw-nav-menu relative z-50 h-20 shadow-md"
5407
5407
  };
5408
- var _hoisted_2$1 = {
5408
+ var _hoisted_2$2 = {
5409
5409
  "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between"
5410
5410
  };
5411
- var _hoisted_3$1 = {
5411
+ var _hoisted_3$2 = {
5412
5412
  key: 0,
5413
5413
  "class": "flex-shrink-0 flex items-center"
5414
5414
  };
5415
- var _hoisted_4 = {
5415
+ var _hoisted_4$1 = {
5416
5416
  key: 1,
5417
- "class": "container hidden sm:flex items-center justify-start sm:ml-6"
5417
+ "class": "container hidden sm:flex items-center justify-start max-w-[600px] sm:ml-6"
5418
5418
  };
5419
- var _hoisted_5 = {
5419
+ var _hoisted_5$1 = {
5420
5420
  "class": "flex space-x-2"
5421
5421
  };
5422
- var _hoisted_6 = {
5422
+ var _hoisted_6$1 = {
5423
5423
  key: 2,
5424
5424
  "class": "hidden sm:flex items-center justify-start sm:ml-6"
5425
5425
  };
5426
- var _hoisted_7 = {
5426
+ var _hoisted_7$1 = {
5427
5427
  "class": "flex items-center sm:hidden"
5428
5428
  };
5429
5429
 
5430
- var _hoisted_8 = /*#__PURE__*/createElementVNode("span", {
5430
+ var _hoisted_8$1 = /*#__PURE__*/createElementVNode("span", {
5431
5431
  "class": "sr-only"
5432
5432
  }, "Open main menu", -1);
5433
5433
 
5434
- var _hoisted_9 = {
5434
+ var _hoisted_9$1 = {
5435
5435
  "class": "block h-6 w-6",
5436
5436
  xmlns: "http://www.w3.org/2000/svg",
5437
5437
  fill: "none",
@@ -5439,20 +5439,20 @@ var _hoisted_9 = {
5439
5439
  stroke: "currentColor",
5440
5440
  "aria-hidden": "true"
5441
5441
  };
5442
- var _hoisted_10 = ["d"];
5443
- var _hoisted_11 = {
5442
+ var _hoisted_10$1 = ["d"];
5443
+ var _hoisted_11$1 = {
5444
5444
  key: 0,
5445
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
5446
  };
5447
5447
  var _hoisted_12 = {
5448
5448
  "class": "w-full flex flex-col"
5449
5449
  };
5450
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5450
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
5451
5451
  var _ctx$menuItems;
5452
5452
 
5453
5453
  var _component_FwButton = resolveComponent("FwButton");
5454
5454
 
5455
- return openBlock(), createElementBlock("nav", _hoisted_1$2, [createElementVNode("div", _hoisted_2$1, [_ctx.$slots.logo ? (openBlock(), createElementBlock("div", _hoisted_3$1, [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, [createElementVNode("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
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) {
5456
5456
  return openBlock(), createBlock(_component_FwButton, {
5457
5457
  key: i,
5458
5458
  variant: "text",
@@ -5466,7 +5466,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5466
5466
  }),
5467
5467
  _: 2
5468
5468
  }, 1032, ["href", "to"]);
5469
- }), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_6, [createVNode(_component_FwButton, {
5469
+ }), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_6$1, [createVNode(_component_FwButton, {
5470
5470
  onClick: _ctx.actionClicked,
5471
5471
  size: "md",
5472
5472
  "aria-label": _ctx.actionLabel
@@ -5475,18 +5475,18 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5475
5475
  return [createTextVNode(toDisplayString(_ctx.actionLabel), 1)];
5476
5476
  }),
5477
5477
  _: 1
5478
- }, 8, ["onClick", "aria-label"])])) : createCommentVNode("", true), createElementVNode("div", _hoisted_7, [createVNode(_component_FwButton, {
5478
+ }, 8, ["onClick", "aria-label"])])) : createCommentVNode("", true), createElementVNode("div", _hoisted_7$1, [createVNode(_component_FwButton, {
5479
5479
  variant: "text",
5480
5480
  size: "sm",
5481
5481
  onClick: _ctx.toggleMobileMenu
5482
5482
  }, {
5483
5483
  "default": withCtx(function () {
5484
- return [_hoisted_8, (openBlock(), createElementBlock("svg", _hoisted_9, [createElementVNode("path", {
5484
+ return [_hoisted_8$1, (openBlock(), createElementBlock("svg", _hoisted_9$1, [createElementVNode("path", {
5485
5485
  "stroke-linecap": "round",
5486
5486
  "stroke-linejoin": "round",
5487
5487
  "stroke-width": "2",
5488
5488
  d: _ctx.isMobileMenuOpen ? 'M6 18L18 6M6 6l12 12' : 'M4 6h16M4 12h16M4 18h16'
5489
- }, null, 8, _hoisted_10)]))];
5489
+ }, null, 8, _hoisted_10$1)]))];
5490
5490
  }),
5491
5491
  _: 1
5492
5492
  }, 8, ["onClick"])])]), createVNode(Transition, {
@@ -5495,10 +5495,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5495
5495
  "default": withCtx(function () {
5496
5496
  var _ctx$menuItems2;
5497
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, [createElementVNode("div", _hoisted_12, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
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) {
5499
5499
  return openBlock(), createBlock(_component_FwButton, {
5500
5500
  key: i,
5501
- "class": "w-full rounded-md px-2",
5501
+ "class": "w-full rounded-md",
5502
5502
  variant: "text",
5503
5503
  href: item.href,
5504
5504
  to: item.to,
@@ -5513,8 +5513,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5513
5513
  }), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
5514
5514
  key: 0,
5515
5515
  "class": "w-full rounded-md px-2",
5516
- onClick: _ctx.actionClicked,
5517
- size: "md"
5516
+ onClick: _ctx.actionClicked
5518
5517
  }, {
5519
5518
  "default": withCtx(function () {
5520
5519
  return [createTextVNode(toDisplayString(_ctx.actionLabel), 1)];
@@ -5526,11 +5525,11 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5526
5525
  })]);
5527
5526
  }
5528
5527
 
5529
- var css_248z = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5530
- var stylesheet = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5531
- styleInject(css_248z);
5528
+ var css_248z$1 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5529
+ var stylesheet$1 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-o-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
5530
+ styleInject(css_248z$1);
5532
5531
 
5533
- script$2.render = render$2;
5532
+ script$3.render = render$3;
5534
5533
 
5535
5534
  var es_number_constructor = {};
5536
5535
 
@@ -5604,7 +5603,7 @@ var classof = classof$3;
5604
5603
 
5605
5604
  var String$1 = global$2.String;
5606
5605
 
5607
- var toString$1 = function (argument) {
5606
+ var toString$2 = function (argument) {
5608
5607
  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
5609
5608
  return String$1(argument);
5610
5609
  };
@@ -5615,7 +5614,7 @@ var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
5615
5614
 
5616
5615
  var uncurryThis$1 = functionUncurryThis;
5617
5616
  var requireObjectCoercible = requireObjectCoercible$3;
5618
- var toString = toString$1;
5617
+ var toString$1 = toString$2;
5619
5618
  var whitespaces = whitespaces$1;
5620
5619
 
5621
5620
  var replace = uncurryThis$1(''.replace);
@@ -5626,7 +5625,7 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
5626
5625
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
5627
5626
  var createMethod = function (TYPE) {
5628
5627
  return function ($this) {
5629
- var string = toString(requireObjectCoercible($this));
5628
+ var string = toString$1(requireObjectCoercible($this));
5630
5629
  if (TYPE & 1) string = replace(string, ltrim, '');
5631
5630
  if (TYPE & 2) string = replace(string, rtrim, '');
5632
5631
  return string;
@@ -5654,7 +5653,7 @@ var redefine = redefine$4.exports;
5654
5653
  var hasOwn = hasOwnProperty_1;
5655
5654
  var inheritIfRequired = inheritIfRequired$1;
5656
5655
  var isPrototypeOf = objectIsPrototypeOf;
5657
- var isSymbol = isSymbol$3;
5656
+ var isSymbol$1 = isSymbol$4;
5658
5657
  var toPrimitive = toPrimitive$2;
5659
5658
  var fails = fails$a;
5660
5659
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
@@ -5682,7 +5681,7 @@ var toNumeric = function (value) {
5682
5681
  var toNumber = function (argument) {
5683
5682
  var it = toPrimitive(argument, 'number');
5684
5683
  var first, third, radix, maxCode, digits, length, index, code;
5685
- if (isSymbol(it)) throw TypeError$1('Cannot convert a Symbol value to a number');
5684
+ if (isSymbol$1(it)) throw TypeError$1('Cannot convert a Symbol value to a number');
5686
5685
  if (typeof it == 'string' && it.length > 2) {
5687
5686
  it = trim(it);
5688
5687
  first = charCodeAt(it, 0);
@@ -5734,7 +5733,7 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
5734
5733
  redefine(global$1, NUMBER, NumberWrapper);
5735
5734
  }
5736
5735
 
5737
- var script$1 = defineComponent({
5736
+ var script$2 = defineComponent({
5738
5737
  name: 'FwTabs',
5739
5738
  emits: ['update:modelValue'],
5740
5739
  props: {
@@ -5768,16 +5767,16 @@ var script$1 = defineComponent({
5768
5767
  }
5769
5768
  });
5770
5769
 
5771
- var _hoisted_1$1 = {
5770
+ var _hoisted_1$2 = {
5772
5771
  "class": "fw-tabs"
5773
5772
  };
5774
- var _hoisted_2 = {
5773
+ var _hoisted_2$1 = {
5775
5774
  key: 0,
5776
5775
  "class": "flex flex-wrap -mb-px border-b border-grey-light dark:text-grey-base dark:border-grey-base"
5777
5776
  };
5778
- var _hoisted_3 = ["onClick"];
5779
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5780
- return openBlock(), createElementBlock("div", _hoisted_1$1, [_ctx.tabs ? (openBlock(), createElementBlock("ul", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, function (tab, i) {
5777
+ var _hoisted_3$1 = ["onClick"];
5778
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
5779
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [_ctx.tabs ? (openBlock(), createElementBlock("ul", _hoisted_2$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, function (tab, i) {
5781
5780
  return openBlock(), createElementBlock("li", {
5782
5781
  "class": "mr-2",
5783
5782
  key: i
@@ -5787,11 +5786,11 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5787
5786
  return _ctx.selectTab(i);
5788
5787
  },
5789
5788
  "class": normalizeClass(["inline-block p-4 outline-primary border-b-2 border-transparent transition ease-in", _ctx.active === i ? 'font-medium border-black' : 'hover:bg-grey-lightest'])
5790
- }, toDisplayString(tab.props.label), 11, _hoisted_3)]);
5789
+ }, toDisplayString(tab.props.label), 11, _hoisted_3$1)]);
5791
5790
  }), 128))])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")]);
5792
5791
  }
5793
5792
 
5794
- script$1.render = render$1;
5793
+ script$2.render = render$2;
5795
5794
 
5796
5795
  var es_array_findIndex = {};
5797
5796
 
@@ -5817,7 +5816,7 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
5817
5816
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
5818
5817
  addToUnscopables(FIND_INDEX);
5819
5818
 
5820
- var script = defineComponent({
5819
+ var script$1 = defineComponent({
5821
5820
  name: 'FwTab',
5822
5821
  props: {
5823
5822
  /**
@@ -5860,30 +5859,575 @@ var script = defineComponent({
5860
5859
  }
5861
5860
  });
5862
5861
 
5863
- var _hoisted_1 = {
5862
+ var _hoisted_1$1 = {
5864
5863
  key: 0,
5865
5864
  "class": "fw-tab w-full"
5866
5865
  };
5866
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5867
+ return _ctx.isActive ? (openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("", true);
5868
+ }
5869
+
5870
+ script$1.render = render$1;
5871
+
5872
+ /** Detect free variable `global` from Node.js. */
5873
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
5874
+
5875
+ /** Detect free variable `self`. */
5876
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
5877
+
5878
+ /** Used as a reference to the global object. */
5879
+ var root = freeGlobal || freeSelf || Function('return this')();
5880
+
5881
+ /** Built-in value references. */
5882
+ var Symbol$1 = root.Symbol;
5883
+
5884
+ /**
5885
+ * A specialized version of `_.map` for arrays without support for iteratee
5886
+ * shorthands.
5887
+ *
5888
+ * @private
5889
+ * @param {Array} [array] The array to iterate over.
5890
+ * @param {Function} iteratee The function invoked per iteration.
5891
+ * @returns {Array} Returns the new mapped array.
5892
+ */
5893
+ function arrayMap(array, iteratee) {
5894
+ var index = -1,
5895
+ length = array == null ? 0 : array.length,
5896
+ result = Array(length);
5897
+
5898
+ while (++index < length) {
5899
+ result[index] = iteratee(array[index], index, array);
5900
+ }
5901
+ return result;
5902
+ }
5903
+
5904
+ /**
5905
+ * Checks if `value` is classified as an `Array` object.
5906
+ *
5907
+ * @static
5908
+ * @memberOf _
5909
+ * @since 0.1.0
5910
+ * @category Lang
5911
+ * @param {*} value The value to check.
5912
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
5913
+ * @example
5914
+ *
5915
+ * _.isArray([1, 2, 3]);
5916
+ * // => true
5917
+ *
5918
+ * _.isArray(document.body.children);
5919
+ * // => false
5920
+ *
5921
+ * _.isArray('abc');
5922
+ * // => false
5923
+ *
5924
+ * _.isArray(_.noop);
5925
+ * // => false
5926
+ */
5927
+ var isArray = Array.isArray;
5928
+
5929
+ /** Used for built-in method references. */
5930
+ var objectProto$1 = Object.prototype;
5931
+
5932
+ /** Used to check objects for own properties. */
5933
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
5934
+
5935
+ /**
5936
+ * Used to resolve the
5937
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5938
+ * of values.
5939
+ */
5940
+ var nativeObjectToString$1 = objectProto$1.toString;
5941
+
5942
+ /** Built-in value references. */
5943
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
5944
+
5945
+ /**
5946
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
5947
+ *
5948
+ * @private
5949
+ * @param {*} value The value to query.
5950
+ * @returns {string} Returns the raw `toStringTag`.
5951
+ */
5952
+ function getRawTag(value) {
5953
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
5954
+ tag = value[symToStringTag$1];
5955
+
5956
+ try {
5957
+ value[symToStringTag$1] = undefined;
5958
+ var unmasked = true;
5959
+ } catch (e) {}
5960
+
5961
+ var result = nativeObjectToString$1.call(value);
5962
+ if (unmasked) {
5963
+ if (isOwn) {
5964
+ value[symToStringTag$1] = tag;
5965
+ } else {
5966
+ delete value[symToStringTag$1];
5967
+ }
5968
+ }
5969
+ return result;
5970
+ }
5971
+
5972
+ /** Used for built-in method references. */
5973
+ var objectProto = Object.prototype;
5974
+
5975
+ /**
5976
+ * Used to resolve the
5977
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5978
+ * of values.
5979
+ */
5980
+ var nativeObjectToString = objectProto.toString;
5981
+
5982
+ /**
5983
+ * Converts `value` to a string using `Object.prototype.toString`.
5984
+ *
5985
+ * @private
5986
+ * @param {*} value The value to convert.
5987
+ * @returns {string} Returns the converted string.
5988
+ */
5989
+ function objectToString(value) {
5990
+ return nativeObjectToString.call(value);
5991
+ }
5992
+
5993
+ /** `Object#toString` result references. */
5994
+ var nullTag = '[object Null]',
5995
+ undefinedTag = '[object Undefined]';
5996
+
5997
+ /** Built-in value references. */
5998
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
5999
+
6000
+ /**
6001
+ * The base implementation of `getTag` without fallbacks for buggy environments.
6002
+ *
6003
+ * @private
6004
+ * @param {*} value The value to query.
6005
+ * @returns {string} Returns the `toStringTag`.
6006
+ */
6007
+ function baseGetTag(value) {
6008
+ if (value == null) {
6009
+ return value === undefined ? undefinedTag : nullTag;
6010
+ }
6011
+ return (symToStringTag && symToStringTag in Object(value))
6012
+ ? getRawTag(value)
6013
+ : objectToString(value);
6014
+ }
6015
+
6016
+ /**
6017
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
6018
+ * and has a `typeof` result of "object".
6019
+ *
6020
+ * @static
6021
+ * @memberOf _
6022
+ * @since 4.0.0
6023
+ * @category Lang
6024
+ * @param {*} value The value to check.
6025
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
6026
+ * @example
6027
+ *
6028
+ * _.isObjectLike({});
6029
+ * // => true
6030
+ *
6031
+ * _.isObjectLike([1, 2, 3]);
6032
+ * // => true
6033
+ *
6034
+ * _.isObjectLike(_.noop);
6035
+ * // => false
6036
+ *
6037
+ * _.isObjectLike(null);
6038
+ * // => false
6039
+ */
6040
+ function isObjectLike(value) {
6041
+ return value != null && typeof value == 'object';
6042
+ }
6043
+
6044
+ /** `Object#toString` result references. */
6045
+ var symbolTag = '[object Symbol]';
6046
+
6047
+ /**
6048
+ * Checks if `value` is classified as a `Symbol` primitive or object.
6049
+ *
6050
+ * @static
6051
+ * @memberOf _
6052
+ * @since 4.0.0
6053
+ * @category Lang
6054
+ * @param {*} value The value to check.
6055
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
6056
+ * @example
6057
+ *
6058
+ * _.isSymbol(Symbol.iterator);
6059
+ * // => true
6060
+ *
6061
+ * _.isSymbol('abc');
6062
+ * // => false
6063
+ */
6064
+ function isSymbol(value) {
6065
+ return typeof value == 'symbol' ||
6066
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
6067
+ }
6068
+
6069
+ /** Used as references for various `Number` constants. */
6070
+ var INFINITY = 1 / 0;
6071
+
6072
+ /** Used to convert symbols to primitives and strings. */
6073
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
6074
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
6075
+
6076
+ /**
6077
+ * The base implementation of `_.toString` which doesn't convert nullish
6078
+ * values to empty strings.
6079
+ *
6080
+ * @private
6081
+ * @param {*} value The value to process.
6082
+ * @returns {string} Returns the string.
6083
+ */
6084
+ function baseToString(value) {
6085
+ // Exit early for strings to avoid a performance hit in some environments.
6086
+ if (typeof value == 'string') {
6087
+ return value;
6088
+ }
6089
+ if (isArray(value)) {
6090
+ // Recursively convert values (susceptible to call stack limits).
6091
+ return arrayMap(value, baseToString) + '';
6092
+ }
6093
+ if (isSymbol(value)) {
6094
+ return symbolToString ? symbolToString.call(value) : '';
6095
+ }
6096
+ var result = (value + '');
6097
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
6098
+ }
6099
+
6100
+ /**
6101
+ * Converts `value` to a string. An empty string is returned for `null`
6102
+ * and `undefined` values. The sign of `-0` is preserved.
6103
+ *
6104
+ * @static
6105
+ * @memberOf _
6106
+ * @since 4.0.0
6107
+ * @category Lang
6108
+ * @param {*} value The value to convert.
6109
+ * @returns {string} Returns the converted string.
6110
+ * @example
6111
+ *
6112
+ * _.toString(null);
6113
+ * // => ''
6114
+ *
6115
+ * _.toString(-0);
6116
+ * // => '-0'
6117
+ *
6118
+ * _.toString([1, 2, 3]);
6119
+ * // => '1,2,3'
6120
+ */
6121
+ function toString(value) {
6122
+ return value == null ? '' : baseToString(value);
6123
+ }
6124
+
6125
+ /** Used to generate unique IDs. */
6126
+ var idCounter = 0;
6127
+
6128
+ /**
6129
+ * Generates a unique ID. If `prefix` is given, the ID is appended to it.
6130
+ *
6131
+ * @static
6132
+ * @since 0.1.0
6133
+ * @memberOf _
6134
+ * @category Util
6135
+ * @param {string} [prefix=''] The value to prefix the ID with.
6136
+ * @returns {string} Returns the unique ID.
6137
+ * @example
6138
+ *
6139
+ * _.uniqueId('contact_');
6140
+ * // => 'contact_104'
6141
+ *
6142
+ * _.uniqueId();
6143
+ * // => '105'
6144
+ */
6145
+ function uniqueId(prefix) {
6146
+ var id = ++idCounter;
6147
+ return toString(prefix) + id;
6148
+ }
6149
+
6150
+ var script = defineComponent({
6151
+ name: 'FwModal',
6152
+ components: {
6153
+ FwButton: script$4
6154
+ },
6155
+ emits: ['cancel', 'confirm'],
6156
+ props: {
6157
+ /**
6158
+ * The header title of the modal
6159
+ */
6160
+ header: {
6161
+ type: String
6162
+ },
6163
+
6164
+ /**
6165
+ * The body description of the modal
6166
+ */
6167
+ body: {
6168
+ type: String
6169
+ },
6170
+
6171
+ /**
6172
+ * The aria role of the modal container. Defaults to `dialog`
6173
+ */
6174
+ role: {
6175
+ type: String,
6176
+ "default": 'dialog'
6177
+ },
6178
+
6179
+ /**
6180
+ * Whether to show the cancel button
6181
+ */
6182
+ showCancel: {
6183
+ type: Boolean,
6184
+ "default": false
6185
+ },
6186
+
6187
+ /**
6188
+ * Whether to show the confirm button
6189
+ */
6190
+ showConfirm: {
6191
+ type: Boolean,
6192
+ "default": true
6193
+ },
6194
+
6195
+ /**
6196
+ * Custom text for the cancel button
6197
+ */
6198
+ cancelButtonText: {
6199
+ type: String,
6200
+ "default": 'Cancel'
6201
+ },
6202
+
6203
+ /**
6204
+ * Button variant for the cancel button
6205
+ */
6206
+ cancelButtonType: {
6207
+ type: String,
6208
+ "default": 'secondary',
6209
+ validator: function validator(value) {
6210
+ return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text'].includes(value);
6211
+ }
6212
+ },
6213
+
6214
+ /**
6215
+ * Custom text for the confirm button
6216
+ */
6217
+ confirmButtonText: {
6218
+ type: String,
6219
+ "default": 'Confirm'
6220
+ },
6221
+
6222
+ /**
6223
+ * Button variant for the confirm button
6224
+ */
6225
+ confirmButtonType: {
6226
+ type: String,
6227
+ "default": 'primary',
6228
+ validator: function validator(value) {
6229
+ return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text'].includes(value);
6230
+ }
6231
+ }
6232
+ },
6233
+ setup: function setup() {
6234
+ var uuid = uniqueId();
6235
+ return {
6236
+ uuid: uuid
6237
+ };
6238
+ }
6239
+ });
6240
+
6241
+ var _withScopeId = function _withScopeId(n) {
6242
+ return pushScopeId("data-v-d1d6dbae"), n = n(), popScopeId(), n;
6243
+ };
6244
+
6245
+ var _hoisted_1 = {
6246
+ "class": "fw-modal"
6247
+ };
6248
+ var _hoisted_2 = {
6249
+ "class": "fw-modal--mask fixed z-[9999] top-0 left-0 w-full h-full bg-black bg-opacity-50"
6250
+ };
6251
+ var _hoisted_3 = {
6252
+ "class": "fw-modal--wrapper text-center overflow-auto flex justify-center items-center h-full"
6253
+ };
6254
+ var _hoisted_4 = ["role", "aria-labelledby", "aria-describedby"];
6255
+ var _hoisted_5 = {
6256
+ key: 0,
6257
+ "class": "fw-modal--header text-center"
6258
+ };
6259
+ var _hoisted_6 = {
6260
+ key: 0,
6261
+ id: "modal-logo",
6262
+ "class": "flex justify-center"
6263
+ };
6264
+ var _hoisted_7 = ["id"];
6265
+ var _hoisted_8 = ["id", "innerHTML"];
6266
+ var _hoisted_9 = ["id"];
6267
+ var _hoisted_10 = ["innerHTML", "id"];
6268
+ var _hoisted_11 = {
6269
+ key: 3,
6270
+ "class": "modal-footer flex space-x-4 pt-4 justify-center"
6271
+ };
5867
6272
  function render(_ctx, _cache, $props, $setup, $data, $options) {
5868
- return _ctx.isActive ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("", true);
6273
+ var _component_FwButton = resolveComponent("FwButton");
6274
+
6275
+ return openBlock(), createBlock(Transition, {
6276
+ name: "modalFadeIn"
6277
+ }, {
6278
+ "default": withCtx(function () {
6279
+ return [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createElementVNode("div", {
6280
+ role: _ctx.role,
6281
+ "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
6284
+ }, [_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
+ key: 1,
6286
+ id: "modal_".concat(_ctx.uuid, "_header")
6287
+ }, [renderSlot(_ctx.$slots, "header")], 8, _hoisted_7)) : _ctx.header ? (openBlock(), createElementBlock("h2", {
6288
+ key: 2,
6289
+ id: "modal_".concat(_ctx.uuid, "_header"),
6290
+ innerHTML: _ctx.header
6291
+ }, null, 8, _hoisted_8)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots.body ? (openBlock(), createElementBlock("div", {
6292
+ key: 1,
6293
+ "class": "modal-body mt-4",
6294
+ id: "modal_".concat(_ctx.uuid, "_body")
6295
+ }, [renderSlot(_ctx.$slots, "body")], 8, _hoisted_9)) : _ctx.body ? (openBlock(), createElementBlock("div", {
6296
+ key: 2,
6297
+ innerHTML: _ctx.body,
6298
+ "class": "modal-body mt-4",
6299
+ id: "modal_".concat(_ctx.uuid, "_body")
6300
+ }, null, 8, _hoisted_10)) : createCommentVNode("", true), _ctx.showConfirm || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_11, [_ctx.showCancel ? (openBlock(), createBlock(_component_FwButton, {
6301
+ key: 0,
6302
+ "class": "basis-1/2",
6303
+ variant: _ctx.cancelButtonType,
6304
+ "aria-label": _ctx.cancelButtonText,
6305
+ onClick: _cache[0] || (_cache[0] = function ($event) {
6306
+ return _ctx.$emit('cancel');
6307
+ })
6308
+ }, {
6309
+ "default": withCtx(function () {
6310
+ return [createTextVNode(toDisplayString(_ctx.cancelButtonText), 1)];
6311
+ }),
6312
+ _: 1
6313
+ }, 8, ["variant", "aria-label"])) : createCommentVNode("", true), _ctx.showConfirm ? (openBlock(), createBlock(_component_FwButton, {
6314
+ key: 1,
6315
+ "class": "basis-1/2",
6316
+ variant: _ctx.confirmButtonType,
6317
+ "aria-label": _ctx.confirmButtonText,
6318
+ onClick: _cache[1] || (_cache[1] = function ($event) {
6319
+ return _ctx.$emit('confirm');
6320
+ })
6321
+ }, {
6322
+ "default": withCtx(function () {
6323
+ return [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1)];
6324
+ }),
6325
+ _: 1
6326
+ }, 8, ["variant", "aria-label"])) : createCommentVNode("", true)])) : createCommentVNode("", true)], 8, _hoisted_4)])])])];
6327
+ }),
6328
+ _: 3
6329
+ });
5869
6330
  }
5870
6331
 
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}}";
6334
+ styleInject(css_248z);
6335
+
5871
6336
  script.render = render;
6337
+ script.__scopeId = "data-v-d1d6dbae";
5872
6338
 
5873
6339
  // Form components
5874
6340
 
5875
6341
  var components = /*#__PURE__*/Object.freeze({
5876
6342
  __proto__: null,
5877
6343
  FwForm: Form,
5878
- FwInput: script$6,
5879
- FwCheckbox: script$5,
5880
- FwCard: script$4,
5881
- FwButton: script$3,
5882
- FwNavigationMenu: script$2,
5883
- FwTabs: script$1,
5884
- FwTab: script
6344
+ FwInput: script$7,
6345
+ FwCheckbox: script$6,
6346
+ FwCard: script$5,
6347
+ FwButton: script$4,
6348
+ FwNavigationMenu: script$3,
6349
+ FwTabs: script$2,
6350
+ FwTab: script$1,
6351
+ FwModal: script
5885
6352
  });
5886
6353
 
6354
+ function _defineProperty(obj, key, value) {
6355
+ if (key in obj) {
6356
+ Object.defineProperty(obj, key, {
6357
+ value: value,
6358
+ enumerable: true,
6359
+ configurable: true,
6360
+ writable: true
6361
+ });
6362
+ } else {
6363
+ obj[key] = value;
6364
+ }
6365
+
6366
+ return obj;
6367
+ }
6368
+
6369
+ function ownKeys(object, enumerableOnly) {
6370
+ var keys = Object.keys(object);
6371
+
6372
+ if (Object.getOwnPropertySymbols) {
6373
+ var symbols = Object.getOwnPropertySymbols(object);
6374
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
6375
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6376
+ })), keys.push.apply(keys, symbols);
6377
+ }
6378
+
6379
+ return keys;
6380
+ }
6381
+
6382
+ function _objectSpread2(target) {
6383
+ for (var i = 1; i < arguments.length; i++) {
6384
+ var source = null != arguments[i] ? arguments[i] : {};
6385
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
6386
+ _defineProperty(target, key, source[key]);
6387
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
6388
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6389
+ });
6390
+ }
6391
+
6392
+ return target;
6393
+ }
6394
+
6395
+ var modalService = function modalService(options, element) {
6396
+ var _getCurrentInstance;
6397
+
6398
+ 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;
6402
+
6403
+ 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);
6410
+ };
6411
+
6412
+ var close = function close() {
6413
+ render$8(null, elementToMount);
6414
+
6415
+ if (elementToMount) {
6416
+ elementToMount.remove();
6417
+ }
6418
+
6419
+ modalVNode = null;
6420
+ };
6421
+
6422
+ onUnmounted(function () {
6423
+ close();
6424
+ });
6425
+ return {
6426
+ open: open,
6427
+ close: close
6428
+ };
6429
+ };
6430
+
5887
6431
  var install = function install(app) {
5888
6432
  Object.entries(components).forEach(function (_ref) {
5889
6433
  var _ref2 = _slicedToArray(_ref, 2),
@@ -5894,4 +6438,4 @@ var install = function install(app) {
5894
6438
  });
5895
6439
  };
5896
6440
 
5897
- export { script$3 as FwButton, script$4 as FwCard, script$5 as FwCheckbox, Form as FwForm, script$6 as FwInput, script$2 as FwNavigationMenu, script as FwTab, script$1 as FwTabs, install as default };
6441
+ export { components as Components, install as default, modalService };