@frollo/frollo-web-ui 9.0.7 → 9.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.js CHANGED
@@ -8647,7 +8647,7 @@ __default__$d.__scopeId = "data-v-4790b470";var script$i = vue.defineComponent({
8647
8647
  /** v-model If provided, it is the source of truth. */
8648
8648
  modelValue: {
8649
8649
  type: Boolean,
8650
- required: false
8650
+ "default": undefined
8651
8651
  },
8652
8652
  /**
8653
8653
  * Progmatically set the checked state of the input.
@@ -8655,8 +8655,7 @@ __default__$d.__scopeId = "data-v-4790b470";var script$i = vue.defineComponent({
8655
8655
  */
8656
8656
  isChecked: {
8657
8657
  type: Boolean,
8658
- required: false,
8659
- "default": false
8658
+ required: false
8660
8659
  }
8661
8660
  },
8662
8661
  emits: ['change', 'update:modelValue', 'update:isChecked'],
@@ -8666,14 +8665,14 @@ __default__$d.__scopeId = "data-v-4790b470";var script$i = vue.defineComponent({
8666
8665
  vue.watch(function () {
8667
8666
  return props.modelValue;
8668
8667
  }, function (val) {
8669
- if (val && val !== localChecked.value) {
8668
+ if (val !== undefined && val !== localChecked.value) {
8670
8669
  localChecked.value = val;
8671
8670
  }
8672
8671
  });
8673
8672
  vue.watch(function () {
8674
8673
  return props.isChecked;
8675
8674
  }, function (val) {
8676
- if (props.modelValue && val !== localChecked.value) {
8675
+ if (val !== localChecked.value) {
8677
8676
  localChecked.value = val;
8678
8677
  }
8679
8678
  });
@@ -8691,7 +8690,7 @@ __default__$d.__scopeId = "data-v-4790b470";var script$i = vue.defineComponent({
8691
8690
  // always emit change
8692
8691
  ctx.emit('change', next);
8693
8692
  // if using v-model, update it
8694
- ctx.emit('update:modelValue', next);
8693
+ if (props.modelValue !== undefined) ctx.emit('update:modelValue', next);
8695
8694
  // keep legacy API in sync too
8696
8695
  ctx.emit('update:isChecked', next);
8697
8696
  };
@@ -8762,10 +8761,10 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
8762
8761
  }),
8763
8762
  _: 1
8764
8763
  }, 8, ["name", "value", "rules"]);
8765
- }var css_248z$k = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
8766
- var stylesheet$k = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
8764
+ }var css_248z$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
8765
+ var stylesheet$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
8767
8766
  styleInject(css_248z$k);script$i.render = render$r;
8768
- script$i.__scopeId = "data-v-979df7ec";var __default__$c = vue.defineComponent({
8767
+ script$i.__scopeId = "data-v-08b12caa";var __default__$c = vue.defineComponent({
8769
8768
  name: 'FwCard',
8770
8769
  props: {
8771
8770
  /**
package/esm/fw-switch.js CHANGED
@@ -45,7 +45,7 @@ var script = defineComponent({
45
45
  /** v-model If provided, it is the source of truth. */
46
46
  modelValue: {
47
47
  type: Boolean,
48
- required: false
48
+ "default": undefined
49
49
  },
50
50
  /**
51
51
  * Progmatically set the checked state of the input.
@@ -53,8 +53,7 @@ var script = defineComponent({
53
53
  */
54
54
  isChecked: {
55
55
  type: Boolean,
56
- required: false,
57
- "default": false
56
+ required: false
58
57
  }
59
58
  },
60
59
  emits: ['change', 'update:modelValue', 'update:isChecked'],
@@ -64,14 +63,14 @@ var script = defineComponent({
64
63
  watch(function () {
65
64
  return props.modelValue;
66
65
  }, function (val) {
67
- if (val && val !== localChecked.value) {
66
+ if (val !== undefined && val !== localChecked.value) {
68
67
  localChecked.value = val;
69
68
  }
70
69
  });
71
70
  watch(function () {
72
71
  return props.isChecked;
73
72
  }, function (val) {
74
- if (props.modelValue && val !== localChecked.value) {
73
+ if (val !== localChecked.value) {
75
74
  localChecked.value = val;
76
75
  }
77
76
  });
@@ -89,7 +88,7 @@ var script = defineComponent({
89
88
  // always emit change
90
89
  ctx.emit('change', next);
91
90
  // if using v-model, update it
92
- ctx.emit('update:modelValue', next);
91
+ if (props.modelValue !== undefined) ctx.emit('update:modelValue', next);
93
92
  // keep legacy API in sync too
94
93
  ctx.emit('update:isChecked', next);
95
94
  };
@@ -164,11 +163,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
164
163
  }, 8, ["name", "value", "rules"]);
165
164
  }
166
165
 
167
- var css_248z = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
168
- var stylesheet = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
166
+ var css_248z = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
167
+ var stylesheet = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
169
168
  styleInject(css_248z);
170
169
 
171
170
  script.render = render;
172
- script.__scopeId = "data-v-979df7ec";
171
+ script.__scopeId = "data-v-08b12caa";
173
172
 
174
173
  export { script as FwSwitch };
@@ -8857,7 +8857,7 @@ var script$i = defineComponent({
8857
8857
  /** v-model If provided, it is the source of truth. */
8858
8858
  modelValue: {
8859
8859
  type: Boolean,
8860
- required: false
8860
+ "default": undefined
8861
8861
  },
8862
8862
  /**
8863
8863
  * Progmatically set the checked state of the input.
@@ -8865,8 +8865,7 @@ var script$i = defineComponent({
8865
8865
  */
8866
8866
  isChecked: {
8867
8867
  type: Boolean,
8868
- required: false,
8869
- "default": false
8868
+ required: false
8870
8869
  }
8871
8870
  },
8872
8871
  emits: ['change', 'update:modelValue', 'update:isChecked'],
@@ -8876,14 +8875,14 @@ var script$i = defineComponent({
8876
8875
  watch(function () {
8877
8876
  return props.modelValue;
8878
8877
  }, function (val) {
8879
- if (val && val !== localChecked.value) {
8878
+ if (val !== undefined && val !== localChecked.value) {
8880
8879
  localChecked.value = val;
8881
8880
  }
8882
8881
  });
8883
8882
  watch(function () {
8884
8883
  return props.isChecked;
8885
8884
  }, function (val) {
8886
- if (props.modelValue && val !== localChecked.value) {
8885
+ if (val !== localChecked.value) {
8887
8886
  localChecked.value = val;
8888
8887
  }
8889
8888
  });
@@ -8901,7 +8900,7 @@ var script$i = defineComponent({
8901
8900
  // always emit change
8902
8901
  ctx.emit('change', next);
8903
8902
  // if using v-model, update it
8904
- ctx.emit('update:modelValue', next);
8903
+ if (props.modelValue !== undefined) ctx.emit('update:modelValue', next);
8905
8904
  // keep legacy API in sync too
8906
8905
  ctx.emit('update:isChecked', next);
8907
8906
  };
@@ -8976,12 +8975,12 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
8976
8975
  }, 8, ["name", "value", "rules"]);
8977
8976
  }
8978
8977
 
8979
- var css_248z$k = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
8980
- var stylesheet$k = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
8978
+ var css_248z$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
8979
+ var stylesheet$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
8981
8980
  styleInject(css_248z$k);
8982
8981
 
8983
8982
  script$i.render = render$r;
8984
- script$i.__scopeId = "data-v-979df7ec";
8983
+ script$i.__scopeId = "data-v-08b12caa";
8985
8984
 
8986
8985
  var __default__$c = defineComponent({
8987
8986
  name: 'FwCard',
package/index.d.ts CHANGED
@@ -1404,7 +1404,7 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
1404
1404
  /** v-model If provided, it is the source of truth. */
1405
1405
  modelValue: {
1406
1406
  type: BooleanConstructor;
1407
- required: false;
1407
+ default: undefined;
1408
1408
  };
1409
1409
  /**
1410
1410
  * Progmatically set the checked state of the input.
@@ -1413,7 +1413,6 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
1413
1413
  isChecked: {
1414
1414
  type: BooleanConstructor;
1415
1415
  required: false;
1416
- default: boolean;
1417
1416
  };
1418
1417
  }>, {
1419
1418
  checked: vue.ComputedRef<boolean>;
@@ -1458,7 +1457,7 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
1458
1457
  /** v-model If provided, it is the source of truth. */
1459
1458
  modelValue: {
1460
1459
  type: BooleanConstructor;
1461
- required: false;
1460
+ default: undefined;
1462
1461
  };
1463
1462
  /**
1464
1463
  * Progmatically set the checked state of the input.
@@ -1467,7 +1466,6 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
1467
1466
  isChecked: {
1468
1467
  type: BooleanConstructor;
1469
1468
  required: false;
1470
- default: boolean;
1471
1469
  };
1472
1470
  }>> & Readonly<{
1473
1471
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "9.0.7",
3
+ "version": "9.0.8",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
38
  /** v-model If provided, it is the source of truth. */
39
39
  modelValue: {
40
40
  type: BooleanConstructor;
41
- required: false;
41
+ default: undefined;
42
42
  };
43
43
  /**
44
44
  * Progmatically set the checked state of the input.
@@ -47,7 +47,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
47
47
  isChecked: {
48
48
  type: BooleanConstructor;
49
49
  required: false;
50
- default: boolean;
51
50
  };
52
51
  }>, {
53
52
  checked: import("vue").ComputedRef<boolean>;
@@ -92,7 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
92
91
  /** v-model If provided, it is the source of truth. */
93
92
  modelValue: {
94
93
  type: BooleanConstructor;
95
- required: false;
94
+ default: undefined;
96
95
  };
97
96
  /**
98
97
  * Progmatically set the checked state of the input.
@@ -101,7 +100,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
101
100
  isChecked: {
102
101
  type: BooleanConstructor;
103
102
  required: false;
104
- default: boolean;
105
103
  };
106
104
  }>> & Readonly<{
107
105
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -21900,7 +21900,7 @@ Expected function or array of functions, received type ${typeof value}.`
21900
21900
  /** v-model If provided, it is the source of truth. */
21901
21901
  modelValue: {
21902
21902
  type: Boolean,
21903
- required: false
21903
+ "default": undefined
21904
21904
  },
21905
21905
  /**
21906
21906
  * Progmatically set the checked state of the input.
@@ -21908,8 +21908,7 @@ Expected function or array of functions, received type ${typeof value}.`
21908
21908
  */
21909
21909
  isChecked: {
21910
21910
  type: Boolean,
21911
- required: false,
21912
- "default": false
21911
+ required: false
21913
21912
  }
21914
21913
  },
21915
21914
  emits: ['change', 'update:modelValue', 'update:isChecked'],
@@ -21919,14 +21918,14 @@ Expected function or array of functions, received type ${typeof value}.`
21919
21918
  watch(function () {
21920
21919
  return props.modelValue;
21921
21920
  }, function (val) {
21922
- if (val && val !== localChecked.value) {
21921
+ if (val !== undefined && val !== localChecked.value) {
21923
21922
  localChecked.value = val;
21924
21923
  }
21925
21924
  });
21926
21925
  watch(function () {
21927
21926
  return props.isChecked;
21928
21927
  }, function (val) {
21929
- if (props.modelValue && val !== localChecked.value) {
21928
+ if (val !== localChecked.value) {
21930
21929
  localChecked.value = val;
21931
21930
  }
21932
21931
  });
@@ -21944,7 +21943,7 @@ Expected function or array of functions, received type ${typeof value}.`
21944
21943
  // always emit change
21945
21944
  ctx.emit('change', next);
21946
21945
  // if using v-model, update it
21947
- ctx.emit('update:modelValue', next);
21946
+ if (props.modelValue !== undefined) ctx.emit('update:modelValue', next);
21948
21947
  // keep legacy API in sync too
21949
21948
  ctx.emit('update:isChecked', next);
21950
21949
  };
@@ -22019,12 +22018,12 @@ Expected function or array of functions, received type ${typeof value}.`
22019
22018
  }, 8, ["name", "value", "rules"]);
22020
22019
  }
22021
22020
 
22022
- var css_248z$k = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
22023
- var stylesheet$k = ".fw-switch[data-v-979df7ec]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-979df7ec]{-webkit-animation:fwFadeIn-979df7ec .35s;-moz-animation:fwFadeIn-979df7ec .35s;animation:fwFadeIn-979df7ec .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-979df7ec]{animation:fwFadeIn-979df7ec .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-979df7ec{0%{opacity:0}to{opacity:1}}";
22021
+ var css_248z$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
22022
+ var stylesheet$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
22024
22023
  styleInject(css_248z$k);
22025
22024
 
22026
22025
  script$i.render = render$r;
22027
- script$i.__scopeId = "data-v-979df7ec";
22026
+ script$i.__scopeId = "data-v-08b12caa";
22028
22027
 
22029
22028
  var __default__$c = defineComponent({
22030
22029
  name: 'FwCard',