@frollo/frollo-web-ui 5.0.1 → 5.0.3

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 (67) hide show
  1. package/cjs/index.js +1169 -784
  2. package/esm/{add-to-unscopables-2400f45b.js → add-to-unscopables-31609885.js} +2 -2
  3. package/esm/{array-iteration-107f927f.js → array-iteration-ec356eb3.js} +2 -2
  4. package/esm/{array-method-has-species-support-3d413468.js → array-method-has-species-support-8a4b1310.js} +1 -1
  5. package/esm/{array-method-is-strict-055b1830.js → array-method-is-strict-fc2e0d8d.js} +1 -1
  6. package/esm/{array-species-create-a5f5503b.js → array-species-create-b125f4a4.js} +2 -2
  7. package/esm/{classof-39c30bd5.js → classof-ee4b3b5b.js} +1 -1
  8. package/esm/{create-property-534611fd.js → create-property-c70ecc08.js} +1 -1
  9. package/esm/{delete-property-or-throw-8032646c.js → delete-property-or-throw-cd4c57d6.js} +3 -3
  10. package/esm/{does-not-exceed-safe-integer-31d08811.js → does-not-exceed-safe-integer-8e0042ec.js} +1 -1
  11. package/esm/{es.array.concat-987938be.js → es.array.concat-fe990345.js} +6 -6
  12. package/esm/{es.array.find-dfa1f42f.js → es.array.find-67b3b514.js} +5 -5
  13. package/esm/{es.array.includes-91be7771.js → es.array.includes-a06445a5.js} +3 -3
  14. package/esm/es.array.map-ae6c9437.js +43 -0
  15. package/esm/{es.function.name-557cb1f9.js → es.function.name-6daefaeb.js} +1 -1
  16. package/esm/{es.number.constructor-d6ff8874.js → es.number.constructor-98bae04f.js} +2 -2
  17. package/esm/es.string.includes-ade04f96.js +66 -0
  18. package/esm/{es.string.iterator-590198a8.js → es.string.iterator-0992bb28.js} +8 -8
  19. package/esm/{export-a37ba078.js → export-8a363004.js} +1 -1
  20. package/esm/{function-apply-ce251590.js → function-apply-b908d7e6.js} +1 -1
  21. package/esm/fw-animations.js +5 -5
  22. package/esm/fw-bar-chart.js +17 -16
  23. package/esm/{fw-button-8d131219.js → fw-button-b7a12ae1.js} +2 -2
  24. package/esm/fw-button.js +9 -9
  25. package/esm/fw-checkbox.js +43 -22
  26. package/esm/fw-drawer.js +9 -9
  27. package/esm/fw-dropdown-765dbbba.js +223 -0
  28. package/esm/fw-dropdown.js +15 -222
  29. package/esm/{fw-image-4787a8bd.js → fw-image-660d3e75.js} +10 -10
  30. package/esm/fw-image.js +18 -18
  31. package/esm/fw-input-7d25de48.js +235 -0
  32. package/esm/fw-input.js +20 -245
  33. package/esm/{fw-loading-spinner-c394fafc.js → fw-loading-spinner-3fda633e.js} +1 -1
  34. package/esm/fw-loading.js +3 -3
  35. package/esm/fw-modal.js +9 -9
  36. package/esm/fw-navigation-menu.js +9 -9
  37. package/esm/fw-progress-bar.js +3 -3
  38. package/esm/fw-provider-list.js +36 -0
  39. package/esm/fw-sidebar-menu.js +9 -9
  40. package/esm/fw-table-row-d390fe77.js +492 -0
  41. package/esm/fw-table.js +14 -489
  42. package/esm/fw-tabs.js +10 -10
  43. package/esm/fw-tag-9ef5331a.js +157 -0
  44. package/esm/fw-tag.js +13 -162
  45. package/esm/fw-toast.js +24 -85
  46. package/esm/fw-transactions-card.js +18 -18
  47. package/esm/{index-e4a2f8b0.js → index-04d3cb23.js} +1 -1
  48. package/esm/index-8c78a422.js +417 -0
  49. package/esm/{index-2766bfe4.js → index-c15f5641.js} +18 -55
  50. package/esm/index.js +48 -54
  51. package/esm/{is-forced-752b5893.js → is-forced-fc680e39.js} +1 -1
  52. package/esm/{object-create-f6f3a673.js → object-create-bc771493.js} +2 -2
  53. package/esm/{object-keys-4f5bf4e7.js → object-keys-17f3b440.js} +1 -1
  54. package/esm/{web.timers-0f117224.js → web.timers-c5316125.js} +3 -3
  55. package/frollo-web-ui.esm.js +1255 -839
  56. package/index.d.ts +138 -22
  57. package/package.json +1 -1
  58. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +19 -0
  59. package/types/components/fw-checkbox/index.types.d.ts +1 -0
  60. package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +17 -0
  61. package/types/components/fw-dropdown/index.types.d.ts +1 -0
  62. package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +68 -0
  63. package/types/components/fw-provider-list/index.d.ts +2 -0
  64. package/types/components/fw-provider-list/index.types.d.ts +11 -0
  65. package/types/components/index.d.ts +1 -0
  66. package/types/components/index.types.d.ts +1 -0
  67. package/web-components/index.js +1300 -869
@@ -1,5 +1,5 @@
1
- import { w as wellKnownSymbol$1, F as objectDefineProperty } from './is-forced-752b5893.js';
2
- import { o as objectCreate } from './object-create-f6f3a673.js';
1
+ import { w as wellKnownSymbol$1, G as objectDefineProperty } from './is-forced-fc680e39.js';
2
+ import { o as objectCreate } from './object-create-bc771493.js';
3
3
 
4
4
  var wellKnownSymbol = wellKnownSymbol$1;
5
5
  var create = objectCreate;
@@ -1,5 +1,5 @@
1
- import { f as functionUncurryThis, k as aCallable$1, R as functionBindNative, S as indexedObject, e as toObject$1, l as lengthOfArrayLike$1 } from './is-forced-752b5893.js';
2
- import { a as arraySpeciesCreate$1 } from './array-species-create-a5f5503b.js';
1
+ import { f as functionUncurryThis, k as aCallable$1, R as functionBindNative, S as indexedObject, e as toObject$1, l as lengthOfArrayLike$1 } from './is-forced-fc680e39.js';
2
+ import { a as arraySpeciesCreate$1 } from './array-species-create-b125f4a4.js';
3
3
 
4
4
  var uncurryThis$1 = functionUncurryThis;
5
5
  var aCallable = aCallable$1;
@@ -1,4 +1,4 @@
1
- import { h as fails$1, w as wellKnownSymbol$1, m as engineV8Version } from './is-forced-752b5893.js';
1
+ import { h as fails$1, w as wellKnownSymbol$1, m as engineV8Version } from './is-forced-fc680e39.js';
2
2
 
3
3
  var fails = fails$1;
4
4
  var wellKnownSymbol = wellKnownSymbol$1;
@@ -1,4 +1,4 @@
1
- import { h as fails$1 } from './is-forced-752b5893.js';
1
+ import { h as fails$1 } from './is-forced-fc680e39.js';
2
2
 
3
3
  'use strict';
4
4
  var fails = fails$1;
@@ -1,5 +1,5 @@
1
- import { p as classofRaw, f as functionUncurryThis, h as fails$1, x as isCallable$1, B as getBuiltIn$1, V as inspectSource$1, n as isObject$1, w as wellKnownSymbol$1 } from './is-forced-752b5893.js';
2
- import { c as classof$2 } from './classof-39c30bd5.js';
1
+ import { u as classofRaw, f as functionUncurryThis, h as fails$1, r as isCallable$1, D as getBuiltIn$1, V as inspectSource$1, K as isObject$1, w as wellKnownSymbol$1 } from './is-forced-fc680e39.js';
2
+ import { c as classof$2 } from './classof-ee4b3b5b.js';
3
3
 
4
4
  var classof$1 = classofRaw;
5
5
 
@@ -1,4 +1,4 @@
1
- import { w as wellKnownSymbol$2, x as isCallable$1, p as classofRaw$1 } from './is-forced-752b5893.js';
1
+ import { w as wellKnownSymbol$2, r as isCallable$1, u as classofRaw$1 } from './is-forced-fc680e39.js';
2
2
 
3
3
  var wellKnownSymbol$1 = wellKnownSymbol$2;
4
4
 
@@ -1,4 +1,4 @@
1
- import { W as toPropertyKey$1, F as objectDefineProperty, Q as createPropertyDescriptor$1 } from './is-forced-752b5893.js';
1
+ import { W as toPropertyKey$1, G as objectDefineProperty, Q as createPropertyDescriptor$1 } from './is-forced-fc680e39.js';
2
2
 
3
3
  'use strict';
4
4
  var toPropertyKey = toPropertyKey$1;
@@ -1,6 +1,6 @@
1
- import { e as toObject$1, h as fails$1, M as tryToString$1 } from './is-forced-752b5893.js';
2
- import { _ as _export } from './export-a37ba078.js';
3
- import { o as objectKeys } from './object-keys-4f5bf4e7.js';
1
+ import { e as toObject$1, h as fails$1, N as tryToString$1 } from './is-forced-fc680e39.js';
2
+ import { _ as _export } from './export-8a363004.js';
3
+ import { o as objectKeys } from './object-keys-17f3b440.js';
4
4
 
5
5
  var es_object_keys = {};
6
6
 
@@ -1,4 +1,4 @@
1
- import './is-forced-752b5893.js';
1
+ import './is-forced-fc680e39.js';
2
2
 
3
3
  var $TypeError = TypeError;
4
4
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
@@ -1,9 +1,9 @@
1
- import { h as fails$1, n as isObject$1, e as toObject$1, l as lengthOfArrayLike$1, w as wellKnownSymbol$1, m as engineV8Version } from './is-forced-752b5893.js';
2
- import { _ as _export } from './export-a37ba078.js';
3
- import { i as isArray$1, a as arraySpeciesCreate$1 } from './array-species-create-a5f5503b.js';
4
- import { d as doesNotExceedSafeInteger$1 } from './does-not-exceed-safe-integer-31d08811.js';
5
- import { c as createProperty$1 } from './create-property-534611fd.js';
6
- import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-3d413468.js';
1
+ import { h as fails$1, K as isObject$1, e as toObject$1, l as lengthOfArrayLike$1, w as wellKnownSymbol$1, m as engineV8Version } from './is-forced-fc680e39.js';
2
+ import { _ as _export } from './export-8a363004.js';
3
+ import { i as isArray$1, a as arraySpeciesCreate$1 } from './array-species-create-b125f4a4.js';
4
+ import { d as doesNotExceedSafeInteger$1 } from './does-not-exceed-safe-integer-8e0042ec.js';
5
+ import { c as createProperty$1 } from './create-property-c70ecc08.js';
6
+ import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-8a4b1310.js';
7
7
 
8
8
  var es_array_concat = {};
9
9
 
@@ -1,8 +1,8 @@
1
- import { b as defineBuiltIn$1 } from './is-forced-752b5893.js';
2
- import { t as toStringTagSupport, c as classof$1 } from './classof-39c30bd5.js';
3
- import { _ as _export } from './export-a37ba078.js';
4
- import { a as arrayIteration } from './array-iteration-107f927f.js';
5
- import { a as addToUnscopables$1 } from './add-to-unscopables-2400f45b.js';
1
+ import { b as defineBuiltIn$1 } from './is-forced-fc680e39.js';
2
+ import { t as toStringTagSupport, c as classof$1 } from './classof-ee4b3b5b.js';
3
+ import { _ as _export } from './export-8a363004.js';
4
+ import { a as arrayIteration } from './array-iteration-ec356eb3.js';
5
+ import { a as addToUnscopables$1 } from './add-to-unscopables-31609885.js';
6
6
 
7
7
  var es_object_toString = {};
8
8
 
@@ -1,6 +1,6 @@
1
- import { I as arrayIncludes, h as fails$1 } from './is-forced-752b5893.js';
2
- import { _ as _export } from './export-a37ba078.js';
3
- import { a as addToUnscopables$1 } from './add-to-unscopables-2400f45b.js';
1
+ import { J as arrayIncludes, h as fails$1 } from './is-forced-fc680e39.js';
2
+ import { _ as _export } from './export-8a363004.js';
3
+ import { a as addToUnscopables$1 } from './add-to-unscopables-31609885.js';
4
4
 
5
5
  var es_array_includes = {};
6
6
 
@@ -0,0 +1,43 @@
1
+ import { q as anObject$1 } from './is-forced-fc680e39.js';
2
+ import { _ as _export } from './export-8a363004.js';
3
+ import { a as arrayIteration } from './array-iteration-ec356eb3.js';
4
+ import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-8a4b1310.js';
5
+
6
+ 'use strict';
7
+ var anObject = anObject$1;
8
+
9
+ // `RegExp.prototype.flags` getter implementation
10
+ // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
11
+ var regexpFlags = function () {
12
+ var that = anObject(this);
13
+ var result = '';
14
+ if (that.hasIndices) result += 'd';
15
+ if (that.global) result += 'g';
16
+ if (that.ignoreCase) result += 'i';
17
+ if (that.multiline) result += 'm';
18
+ if (that.dotAll) result += 's';
19
+ if (that.unicode) result += 'u';
20
+ if (that.unicodeSets) result += 'v';
21
+ if (that.sticky) result += 'y';
22
+ return result;
23
+ };
24
+
25
+ var es_array_map = {};
26
+
27
+ 'use strict';
28
+ var $ = _export;
29
+ var $map = arrayIteration.map;
30
+ var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
31
+
32
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
33
+
34
+ // `Array.prototype.map` method
35
+ // https://tc39.es/ecma262/#sec-array.prototype.map
36
+ // with adding support of @@species
37
+ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
38
+ map: function map(callbackfn /* , thisArg */) {
39
+ return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
40
+ }
41
+ });
42
+
43
+ export { regexpFlags as r };
@@ -1,4 +1,4 @@
1
- import { d as descriptors, N as functionName, f as functionUncurryThis, F as objectDefineProperty } from './is-forced-752b5893.js';
1
+ import { d as descriptors, C as functionName, f as functionUncurryThis, G as objectDefineProperty } from './is-forced-fc680e39.js';
2
2
 
3
3
  var es_function_name = {};
4
4
 
@@ -1,5 +1,5 @@
1
- import { x as isCallable$2, f as functionUncurryThis, q as anObject$1, n as isObject$1, r as requireObjectCoercible$1, d as descriptors, g as global$1, H as isForced_1, b as defineBuiltIn$1, D as hasOwnProperty_1, J as objectIsPrototypeOf, K as isSymbol$1, L as toPrimitive$1, h as fails$1, C as objectGetOwnPropertyNames, E as objectGetOwnPropertyDescriptor, F as objectDefineProperty } from './is-forced-752b5893.js';
2
- import { c as classof$1 } from './classof-39c30bd5.js';
1
+ import { r as isCallable$2, f as functionUncurryThis, q as anObject$1, K as isObject$1, y as requireObjectCoercible$1, d as descriptors, g as global$1, I as isForced_1, b as defineBuiltIn$1, A as hasOwnProperty_1, B as objectIsPrototypeOf, L as isSymbol$1, M as toPrimitive$1, h as fails$1, E as objectGetOwnPropertyNames, F as objectGetOwnPropertyDescriptor, G as objectDefineProperty } from './is-forced-fc680e39.js';
2
+ import { c as classof$1 } from './classof-ee4b3b5b.js';
3
3
 
4
4
  var es_number_constructor = {};
5
5
 
@@ -0,0 +1,66 @@
1
+ import { K as isObject$1, u as classofRaw, w as wellKnownSymbol$2, f as functionUncurryThis, y as requireObjectCoercible$1 } from './is-forced-fc680e39.js';
2
+ import { _ as _export } from './export-8a363004.js';
3
+ import { t as toString$1 } from './es.number.constructor-98bae04f.js';
4
+
5
+ var es_string_includes = {};
6
+
7
+ var isObject = isObject$1;
8
+ var classof = classofRaw;
9
+ var wellKnownSymbol$1 = wellKnownSymbol$2;
10
+
11
+ var MATCH$1 = wellKnownSymbol$1('match');
12
+
13
+ // `IsRegExp` abstract operation
14
+ // https://tc39.es/ecma262/#sec-isregexp
15
+ var isRegexp = function (it) {
16
+ var isRegExp;
17
+ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
18
+ };
19
+
20
+ var isRegExp = isRegexp;
21
+
22
+ var $TypeError = TypeError;
23
+
24
+ var notARegexp = function (it) {
25
+ if (isRegExp(it)) {
26
+ throw $TypeError("The method doesn't accept regular expressions");
27
+ } return it;
28
+ };
29
+
30
+ var wellKnownSymbol = wellKnownSymbol$2;
31
+
32
+ var MATCH = wellKnownSymbol('match');
33
+
34
+ var correctIsRegexpLogic = function (METHOD_NAME) {
35
+ var regexp = /./;
36
+ try {
37
+ '/./'[METHOD_NAME](regexp);
38
+ } catch (error1) {
39
+ try {
40
+ regexp[MATCH] = false;
41
+ return '/./'[METHOD_NAME](regexp);
42
+ } catch (error2) { /* empty */ }
43
+ } return false;
44
+ };
45
+
46
+ 'use strict';
47
+ var $ = _export;
48
+ var uncurryThis = functionUncurryThis;
49
+ var notARegExp = notARegexp;
50
+ var requireObjectCoercible = requireObjectCoercible$1;
51
+ var toString = toString$1;
52
+ var correctIsRegExpLogic = correctIsRegexpLogic;
53
+
54
+ var stringIndexOf = uncurryThis(''.indexOf);
55
+
56
+ // `String.prototype.includes` method
57
+ // https://tc39.es/ecma262/#sec-string.prototype.includes
58
+ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
59
+ includes: function includes(searchString /* , position = 0 */) {
60
+ return !!~stringIndexOf(
61
+ toString(requireObjectCoercible(this)),
62
+ toString(notARegExp(searchString)),
63
+ arguments.length > 1 ? arguments[1] : undefined
64
+ );
65
+ }
66
+ });
@@ -1,11 +1,11 @@
1
- import { s as functionCall, q as anObject$3, A as getMethod$2, w as wellKnownSymbol$6, k as aCallable$1, M as tryToString$1, e as toObject$2, l as lengthOfArrayLike$1, f as functionUncurryThis, y as toIntegerOrInfinity$1, r as requireObjectCoercible$1, h as fails$2, D as hasOwnProperty_1, x as isCallable$3, O as sharedKey$1, b as defineBuiltIn$2, P as isPure, F as objectDefineProperty, Q as createPropertyDescriptor$1, N as functionName, c as createNonEnumerableProperty$1, v as internalState } from './is-forced-752b5893.js';
2
- import { _ as _export } from './export-a37ba078.js';
3
- import { f as functionBindContext } from './array-iteration-107f927f.js';
4
- import { b as isConstructor$1 } from './array-species-create-a5f5503b.js';
5
- import { c as createProperty$1 } from './create-property-534611fd.js';
6
- import { c as classof$1 } from './classof-39c30bd5.js';
7
- import { t as toString$2, o as objectSetPrototypeOf } from './es.number.constructor-d6ff8874.js';
8
- import { o as objectCreate } from './object-create-f6f3a673.js';
1
+ import { n as functionCall, q as anObject$3, z as getMethod$2, w as wellKnownSymbol$6, k as aCallable$1, N as tryToString$1, e as toObject$2, l as lengthOfArrayLike$1, f as functionUncurryThis, v as toIntegerOrInfinity$1, y as requireObjectCoercible$1, h as fails$2, A as hasOwnProperty_1, r as isCallable$3, O as sharedKey$1, b as defineBuiltIn$2, P as isPure, G as objectDefineProperty, Q as createPropertyDescriptor$1, C as functionName, c as createNonEnumerableProperty$1, p as internalState } from './is-forced-fc680e39.js';
2
+ import { _ as _export } from './export-8a363004.js';
3
+ import { f as functionBindContext } from './array-iteration-ec356eb3.js';
4
+ import { b as isConstructor$1 } from './array-species-create-b125f4a4.js';
5
+ import { c as createProperty$1 } from './create-property-c70ecc08.js';
6
+ import { c as classof$1 } from './classof-ee4b3b5b.js';
7
+ import { t as toString$2, o as objectSetPrototypeOf } from './es.number.constructor-98bae04f.js';
8
+ import { o as objectCreate } from './object-create-bc771493.js';
9
9
 
10
10
  var es_array_from = {};
11
11
 
@@ -1,4 +1,4 @@
1
- import { B as getBuiltIn$1, f as functionUncurryThis, C as objectGetOwnPropertyNames, q as anObject$1, D as hasOwnProperty_1, E as objectGetOwnPropertyDescriptor, F as objectDefineProperty, g as global$1, c as createNonEnumerableProperty$1, b as defineBuiltIn$1, G as defineGlobalProperty$1, H as isForced_1 } from './is-forced-752b5893.js';
1
+ import { D as getBuiltIn$1, f as functionUncurryThis, E as objectGetOwnPropertyNames, q as anObject$1, A as hasOwnProperty_1, F as objectGetOwnPropertyDescriptor, G as objectDefineProperty, g as global$1, c as createNonEnumerableProperty$1, b as defineBuiltIn$1, H as defineGlobalProperty$1, I as isForced_1 } from './is-forced-fc680e39.js';
2
2
 
3
3
  var objectGetOwnPropertySymbols = {};
4
4
 
@@ -1,4 +1,4 @@
1
- import { R as functionBindNative } from './is-forced-752b5893.js';
1
+ import { R as functionBindNative } from './is-forced-fc680e39.js';
2
2
 
3
3
  var NATIVE_BIND = functionBindNative;
4
4
 
@@ -1,10 +1,10 @@
1
- import './es.number.constructor-d6ff8874.js';
1
+ import './es.number.constructor-98bae04f.js';
2
2
  import { defineComponent, useCssVars, pushScopeId, popScopeId, createElementVNode, openBlock, createElementBlock, createStaticVNode } from 'vue';
3
3
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
4
- export { s as FwLoadingSpinner } from './fw-loading-spinner-c394fafc.js';
5
- import './is-forced-752b5893.js';
6
- import './classof-39c30bd5.js';
7
- import './index-e4a2f8b0.js';
4
+ export { s as FwLoadingSpinner } from './fw-loading-spinner-3fda633e.js';
5
+ import './is-forced-fc680e39.js';
6
+ import './classof-ee4b3b5b.js';
7
+ import './index-04d3cb23.js';
8
8
  import './check-94a5917a.js';
9
9
 
10
10
  var __default__$1 = defineComponent({
@@ -1,19 +1,20 @@
1
- export { s as FwBarChart } from './index-2766bfe4.js';
2
- import './es.number.constructor-d6ff8874.js';
3
- import './is-forced-752b5893.js';
4
- import './classof-39c30bd5.js';
5
- import './export-a37ba078.js';
6
- import './object-create-f6f3a673.js';
7
- import './object-keys-4f5bf4e7.js';
8
- import './function-apply-ce251590.js';
9
- import './es.string.iterator-590198a8.js';
10
- import './array-iteration-107f927f.js';
11
- import './array-species-create-a5f5503b.js';
12
- import './create-property-534611fd.js';
13
- import './delete-property-or-throw-8032646c.js';
14
- import './array-method-has-species-support-3d413468.js';
15
- import './es.function.name-557cb1f9.js';
16
- import './does-not-exceed-safe-integer-31d08811.js';
1
+ export { s as FwBarChart } from './index-c15f5641.js';
2
+ import './es.number.constructor-98bae04f.js';
3
+ import './is-forced-fc680e39.js';
4
+ import './classof-ee4b3b5b.js';
5
+ import './export-8a363004.js';
6
+ import './es.array.map-ae6c9437.js';
7
+ import './array-iteration-ec356eb3.js';
8
+ import './array-species-create-b125f4a4.js';
9
+ import './array-method-has-species-support-8a4b1310.js';
10
+ import './object-create-bc771493.js';
11
+ import './object-keys-17f3b440.js';
12
+ import './function-apply-b908d7e6.js';
13
+ import './es.string.iterator-0992bb28.js';
14
+ import './create-property-c70ecc08.js';
15
+ import './delete-property-or-throw-cd4c57d6.js';
16
+ import './es.function.name-6daefaeb.js';
17
+ import './does-not-exceed-safe-integer-8e0042ec.js';
17
18
  import 'vue';
18
19
  import './get-root-colours-e2a1cb28.js';
19
20
  import './uniqueId-fe08534a.js';
@@ -1,6 +1,6 @@
1
- import './es.array.includes-91be7771.js';
1
+ import './es.array.includes-a06445a5.js';
2
2
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, createElementVNode, renderSlot, createVNode, createCommentVNode } from 'vue';
3
- import { s as script$1 } from './fw-loading-spinner-c394fafc.js';
3
+ import { s as script$1 } from './fw-loading-spinner-3fda633e.js';
4
4
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
5
5
 
6
6
  var script = defineComponent({
package/esm/fw-button.js CHANGED
@@ -1,12 +1,12 @@
1
- export { s as FwButton } from './fw-button-8d131219.js';
2
- import './es.array.includes-91be7771.js';
3
- import './is-forced-752b5893.js';
4
- import './export-a37ba078.js';
5
- import './add-to-unscopables-2400f45b.js';
6
- import './object-create-f6f3a673.js';
7
- import './object-keys-4f5bf4e7.js';
1
+ export { s as FwButton } from './fw-button-b7a12ae1.js';
2
+ import './es.array.includes-a06445a5.js';
3
+ import './is-forced-fc680e39.js';
4
+ import './export-8a363004.js';
5
+ import './add-to-unscopables-31609885.js';
6
+ import './object-create-bc771493.js';
7
+ import './object-keys-17f3b440.js';
8
8
  import 'vue';
9
- import './fw-loading-spinner-c394fafc.js';
10
- import './index-e4a2f8b0.js';
9
+ import './fw-loading-spinner-3fda633e.js';
10
+ import './index-04d3cb23.js';
11
11
  import './check-94a5917a.js';
12
12
  import './style-inject.es-1f59c1d0.js';
@@ -1,16 +1,16 @@
1
1
  import { defineComponent, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, mergeProps, createCommentVNode, Transition, toDisplayString } from 'vue';
2
2
  import { a as Field } from './vee-validate.esm-a17a23c3.js';
3
3
  import { u as uniqueId } from './uniqueId-fe08534a.js';
4
- import './es.function.name-557cb1f9.js';
5
- import './es.array.concat-987938be.js';
4
+ import './es.function.name-6daefaeb.js';
5
+ import './es.array.concat-fe990345.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import './is-forced-752b5893.js';
8
- import './export-a37ba078.js';
9
- import './array-species-create-a5f5503b.js';
10
- import './classof-39c30bd5.js';
11
- import './does-not-exceed-safe-integer-31d08811.js';
12
- import './create-property-534611fd.js';
13
- import './array-method-has-species-support-3d413468.js';
7
+ import './is-forced-fc680e39.js';
8
+ import './export-8a363004.js';
9
+ import './array-species-create-b125f4a4.js';
10
+ import './classof-ee4b3b5b.js';
11
+ import './does-not-exceed-safe-integer-8e0042ec.js';
12
+ import './create-property-c70ecc08.js';
13
+ import './array-method-has-species-support-8a4b1310.js';
14
14
 
15
15
  var script = defineComponent({
16
16
  name: 'FwCheckbox',
@@ -57,6 +57,15 @@ var script = defineComponent({
57
57
  enableErrors: {
58
58
  type: Boolean,
59
59
  "default": true
60
+ },
61
+ /**
62
+ * Progmatically set the checked state of the input.
63
+ * Used outside a FwForm element
64
+ */
65
+ isChecked: {
66
+ type: Boolean,
67
+ required: false,
68
+ "default": undefined
60
69
  }
61
70
  },
62
71
  setup: function setup() {
@@ -68,7 +77,7 @@ var script = defineComponent({
68
77
  });
69
78
 
70
79
  var _withScopeId = function _withScopeId(n) {
71
- return pushScopeId("data-v-9ac45436"), n = n(), popScopeId(), n;
80
+ return pushScopeId("data-v-790aae1b"), n = n(), popScopeId(), n;
72
81
  };
73
82
  var _hoisted_1 = {
74
83
  "class": "fw-checkbox w-full"
@@ -78,16 +87,17 @@ var _hoisted_2 = {
78
87
  };
79
88
  var _hoisted_3 = ["for"];
80
89
  var _hoisted_4 = ["value", "name", "id"];
81
- var _hoisted_5 = ["innerHTML"];
82
- var _hoisted_6 = {
90
+ var _hoisted_5 = ["value", "name", "id", "checked"];
91
+ var _hoisted_6 = ["innerHTML"];
92
+ var _hoisted_7 = {
83
93
  key: 0,
84
94
  "class": "italic text-sm font-medium min-h-[21px]"
85
95
  };
86
- var _hoisted_7 = {
96
+ var _hoisted_8 = {
87
97
  key: 0,
88
98
  "class": "text-error"
89
99
  };
90
- var _hoisted_8 = {
100
+ var _hoisted_9 = {
91
101
  key: 1
92
102
  };
93
103
  function render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -106,22 +116,33 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
106
116
  return [createElementVNode("div", _hoisted_2, [createElementVNode("label", {
107
117
  "for": "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
108
118
  "class": "inline-flex items-center mb-3"
109
- }, [createElementVNode("input", mergeProps(field, {
119
+ }, [_ctx.isChecked === undefined ? (openBlock(), createElementBlock("input", mergeProps({
120
+ key: 0
121
+ }, field, {
122
+ value: _ctx.value ? _ctx.value : _ctx.name,
123
+ name: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
124
+ id: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
125
+ type: "checkbox",
126
+ "class": "text-link w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
127
+ }), null, 16, _hoisted_4)) : (openBlock(), createElementBlock("input", mergeProps({
128
+ key: 1
129
+ }, field, {
110
130
  value: _ctx.value ? _ctx.value : _ctx.name,
111
131
  name: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
112
132
  id: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
113
133
  type: "checkbox",
134
+ checked: _ctx.isChecked,
114
135
  "class": "text-link w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
115
- }), null, 16, _hoisted_4), _ctx.label ? (openBlock(), createElementBlock("span", {
116
- key: 0,
136
+ }), null, 16, _hoisted_5)), _ctx.label ? (openBlock(), createElementBlock("span", {
137
+ key: 2,
117
138
  "class": "ml-2",
118
139
  innerHTML: _ctx.label
119
- }, null, 8, _hoisted_5)) : createCommentVNode("", true)], 8, _hoisted_3), _ctx.enableErrors ? (openBlock(), createElementBlock("div", _hoisted_6, [createVNode(Transition, {
140
+ }, null, 8, _hoisted_6)) : createCommentVNode("", true)], 8, _hoisted_3), _ctx.enableErrors ? (openBlock(), createElementBlock("div", _hoisted_7, [createVNode(Transition, {
120
141
  name: "fwFadeIn",
121
142
  mode: "out-in"
122
143
  }, {
123
144
  "default": withCtx(function () {
124
- return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
145
+ return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
125
146
  }),
126
147
  _: 2
127
148
  }, 1024)])) : createCommentVNode("", true)])];
@@ -130,11 +151,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
130
151
  }, 8, ["name", "value", "rules"])]);
131
152
  }
132
153
 
133
- var css_248z = ".fwFadeIn-enter-active[data-v-9ac45436]{-webkit-animation:fwFadeIn-9ac45436 .35s;animation:fwFadeIn-9ac45436 .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-9ac45436]{animation:fwFadeIn-9ac45436 .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-9ac45436{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-9ac45436{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-9ac45436]{-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;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-9ac45436]: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}";
134
- var stylesheet = ".fwFadeIn-enter-active[data-v-9ac45436]{-webkit-animation:fwFadeIn-9ac45436 .35s;animation:fwFadeIn-9ac45436 .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-9ac45436]{animation:fwFadeIn-9ac45436 .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-9ac45436{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-9ac45436{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-9ac45436]{-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;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-9ac45436]: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}";
154
+ var css_248z = ".fwFadeIn-enter-active[data-v-790aae1b]{-webkit-animation:fwFadeIn-790aae1b .35s;animation:fwFadeIn-790aae1b .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-790aae1b]{animation:fwFadeIn-790aae1b .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-790aae1b]{-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;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-790aae1b]: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}";
155
+ var stylesheet = ".fwFadeIn-enter-active[data-v-790aae1b]{-webkit-animation:fwFadeIn-790aae1b .35s;animation:fwFadeIn-790aae1b .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-790aae1b]{animation:fwFadeIn-790aae1b .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-790aae1b]{-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;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-790aae1b]: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}";
135
156
  styleInject(css_248z);
136
157
 
137
158
  script.render = render;
138
- script.__scopeId = "data-v-9ac45436";
159
+ script.__scopeId = "data-v-790aae1b";
139
160
 
140
161
  export { script as FwCheckbox };
package/esm/fw-drawer.js CHANGED
@@ -1,15 +1,15 @@
1
- import './es.array.includes-91be7771.js';
1
+ import './es.array.includes-a06445a5.js';
2
2
  import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Transition, withCtx, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createVNode, createTextVNode, toDisplayString } from 'vue';
3
- import { s as script$1 } from './fw-button-8d131219.js';
3
+ import { s as script$1 } from './fw-button-b7a12ae1.js';
4
4
  import { u as uniqueId } from './uniqueId-fe08534a.js';
5
- import { c as render$1 } from './index-e4a2f8b0.js';
5
+ import { c as render$1 } from './index-04d3cb23.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import './is-forced-752b5893.js';
8
- import './export-a37ba078.js';
9
- import './add-to-unscopables-2400f45b.js';
10
- import './object-create-f6f3a673.js';
11
- import './object-keys-4f5bf4e7.js';
12
- import './fw-loading-spinner-c394fafc.js';
7
+ import './is-forced-fc680e39.js';
8
+ import './export-8a363004.js';
9
+ import './add-to-unscopables-31609885.js';
10
+ import './object-create-bc771493.js';
11
+ import './object-keys-17f3b440.js';
12
+ import './fw-loading-spinner-3fda633e.js';
13
13
  import './check-94a5917a.js';
14
14
 
15
15
  var script = defineComponent({