@oub/fusion 0.2.23 → 0.2.24

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.
@@ -1,4 +1,3 @@
1
- import type { PropType } from "vue";
2
1
  declare const _default: import("vue").DefineComponent<{
3
2
  id: {
4
3
  type: StringConstructor;
@@ -25,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
25
24
  default: string;
26
25
  };
27
26
  modelValue: {
28
- type: PropType<string | Date>;
27
+ type: (StringConstructor | DateConstructor)[];
29
28
  default: null;
30
29
  };
31
30
  required: {
@@ -102,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
102
101
  default: string;
103
102
  };
104
103
  modelValue: {
105
- type: PropType<string | Date>;
104
+ type: (StringConstructor | DateConstructor)[];
106
105
  default: null;
107
106
  };
108
107
  required: {
package/dist/fusion.js CHANGED
@@ -2640,7 +2640,7 @@ const Ns = /* @__PURE__ */ Le(Fs, [["render", Vs], ["__scopeId", "data-v-5464d28
2640
2640
  }
2641
2641
  }
2642
2642
  });
2643
- const Ls = ["data-test"], Hs = ["for"], Rs = { class: "panel-wrapper" }, qs = ["id", "placeholder", "required", "disabled", "tabindex", "autocomplete", "title", "readonly"], Es = {
2643
+ const Ls = ["data-test"], Hs = ["for"], Rs = { class: "panel-wrapper" }, qs = ["id", "placeholder", "required", "disabled", "tabindex", "autocomplete", "title", "readonly", "name"], Es = {
2644
2644
  key: 0,
2645
2645
  class: "select-panel-wrapper"
2646
2646
  }, Js = {
@@ -2691,6 +2691,7 @@ function Ys(e, t, n, r, a, o) {
2691
2691
  autocomplete: e.autocomplete,
2692
2692
  title: e.title,
2693
2693
  readonly: e.readonly,
2694
+ name: e.name,
2694
2695
  "data-test": "fusion-phone-input",
2695
2696
  onBlur: t[1] || (t[1] = (...d) => e.handleBlur && e.handleBlur(...d)),
2696
2697
  onFocus: t[2] || (t[2] = (...d) => e.handleFocus && e.handleFocus(...d)),
@@ -2728,7 +2729,7 @@ function Ys(e, t, n, r, a, o) {
2728
2729
  ])) : Q("", !0)
2729
2730
  ], 8, Ls);
2730
2731
  }
2731
- const dv = /* @__PURE__ */ Le(Ms, [["render", Ys], ["__scopeId", "data-v-f1c0947e"]]), Ws = Ce({
2732
+ const dv = /* @__PURE__ */ Le(Ms, [["render", Ys], ["__scopeId", "data-v-d2b501f2"]]), Ws = Ce({
2732
2733
  name: "SVGInformationCircle"
2733
2734
  }), Ks = {
2734
2735
  width: "20",
@@ -11401,7 +11402,7 @@ const B0 = /* @__PURE__ */ Le(D0, [["render", x0]]), F0 = Ce({
11401
11402
  default: ""
11402
11403
  },
11403
11404
  modelValue: {
11404
- type: String,
11405
+ type: [Date, String],
11405
11406
  default: null
11406
11407
  },
11407
11408
  required: {
@@ -11462,7 +11463,7 @@ const B0 = /* @__PURE__ */ Le(D0, [["render", x0]]), F0 = Ce({
11462
11463
  watch: {
11463
11464
  modelValue: {
11464
11465
  handler(e) {
11465
- e && (e instanceof Date ? this.date = e : this.date = new Date(e));
11466
+ e && (e instanceof Date ? this.date = e : this.date = new Date(e), this.$emit("update:modelValue", this.date));
11466
11467
  },
11467
11468
  immediate: !0
11468
11469
  }
@@ -11537,7 +11538,7 @@ function V0(e, t, n, r, a, o) {
11537
11538
  ])) : Q("", !0)
11538
11539
  ], 8, O0);
11539
11540
  }
11540
- const pv = /* @__PURE__ */ Le(F0, [["render", V0], ["__scopeId", "data-v-bcdbfe0b"]]), N0 = Ce({
11541
+ const pv = /* @__PURE__ */ Le(F0, [["render", V0], ["__scopeId", "data-v-fbb8c75e"]]), N0 = Ce({
11541
11542
  name: "FusionSearchableInput",
11542
11543
  components: {
11543
11544
  SVGSearch: zr,