@vonage/vivid-vue 3.18.0 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/generated/components/VAvatar.vue2.d.ts +3 -3
  2. package/dist/generated/components/VAvatar.vue3.d.ts +3 -3
  3. package/dist/generated/components/VCheckbox.vue2.d.ts +1 -1
  4. package/dist/generated/components/VCheckbox.vue3.d.ts +2 -1
  5. package/dist/generated/components/VCombobox.vue2.d.ts +1 -1
  6. package/dist/generated/components/VCombobox.vue3.d.ts +2 -1
  7. package/dist/generated/components/VDatePicker.vue2.d.ts +1 -1
  8. package/dist/generated/components/VDatePicker.vue3.d.ts +2 -1
  9. package/dist/generated/components/VMenuItem.vue2.d.ts +1 -1
  10. package/dist/generated/components/VMenuItem.vue3.d.ts +2 -1
  11. package/dist/generated/components/VNumberField.vue2.d.ts +1 -1
  12. package/dist/generated/components/VNumberField.vue3.d.ts +2 -1
  13. package/dist/generated/components/VPagination.vue2.d.ts +1 -1
  14. package/dist/generated/components/VPagination.vue3.d.ts +2 -1
  15. package/dist/generated/components/VProgressRing.vue2.d.ts +4 -4
  16. package/dist/generated/components/VProgressRing.vue3.d.ts +4 -4
  17. package/dist/generated/components/VRadioGroup.vue2.d.ts +1 -1
  18. package/dist/generated/components/VRadioGroup.vue3.d.ts +2 -1
  19. package/dist/generated/components/VSelect.vue2.d.ts +1 -1
  20. package/dist/generated/components/VSelect.vue3.d.ts +2 -1
  21. package/dist/generated/components/VSlider.vue2.d.ts +1 -1
  22. package/dist/generated/components/VSlider.vue3.d.ts +2 -1
  23. package/dist/generated/components/VSwitch.vue2.d.ts +16 -1
  24. package/dist/generated/components/VSwitch.vue3.d.ts +18 -1
  25. package/dist/generated/components/VTextArea.vue2.d.ts +1 -1
  26. package/dist/generated/components/VTextArea.vue3.d.ts +2 -1
  27. package/dist/generated/components/VTextField.vue2.d.ts +1 -1
  28. package/dist/generated/components/VTextField.vue3.d.ts +2 -1
  29. package/dist/index.es.js +167 -44
  30. package/dist/index.umd.js +1 -1
  31. package/dist/web-types.json +7 -3
  32. package/package.json +2 -2
@@ -21,13 +21,20 @@ declare const _default: import("vue").DefineComponent<{
21
21
  type: PropType<"accent" | "success" | "alert" | "cta">;
22
22
  default: undefined;
23
23
  };
24
+ /**
25
+ * The current checked state of the switch.
26
+ */
27
+ modelValue: {
28
+ type: PropType<boolean>;
29
+ default: undefined;
30
+ };
24
31
  }, {
25
32
  componentName: import("vue").Ref<string>;
26
33
  element: import("vue").Ref<{
27
34
  label?: string | undefined;
28
35
  connotation?: import("@vonage/vivid").SwitchConnotation | undefined;
29
36
  } | null>;
30
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
38
  /**
32
39
  * Indicates the element that represents the current item within a container or set of related elements.
33
40
  */
@@ -46,6 +53,13 @@ declare const _default: import("vue").DefineComponent<{
46
53
  type: PropType<"accent" | "success" | "alert" | "cta">;
47
54
  default: undefined;
48
55
  };
56
+ /**
57
+ * The current checked state of the switch.
58
+ */
59
+ modelValue: {
60
+ type: PropType<boolean>;
61
+ default: undefined;
62
+ };
49
63
  }>> & {
50
64
  onKeydown?: ((...args: any[]) => any) | undefined;
51
65
  onClick?: ((...args: any[]) => any) | undefined;
@@ -53,9 +67,12 @@ declare const _default: import("vue").DefineComponent<{
53
67
  onBlur?: ((...args: any[]) => any) | undefined;
54
68
  onKeyup?: ((...args: any[]) => any) | undefined;
55
69
  onInput?: ((...args: any[]) => any) | undefined;
70
+ onChange?: ((...args: any[]) => any) | undefined;
71
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
72
  }, {
57
73
  ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
58
74
  connotation: "accent" | "success" | "alert" | "cta";
59
75
  label: string;
76
+ modelValue: boolean;
60
77
  }>;
61
78
  export default _default;
@@ -23,7 +23,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
23
23
  helperText?: string | undefined;
24
24
  successText?: string | undefined;
25
25
  } | null>;
26
- }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
26
+ }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
27
27
  /**
28
28
  * The current value of the text-area.
29
29
  */
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  helperText?: string | undefined;
24
24
  successText?: string | undefined;
25
25
  } | null>;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  /**
28
28
  * The current value of the text-area.
29
29
  */
@@ -37,6 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  onFocus?: ((...args: any[]) => any) | undefined;
38
38
  onBlur?: ((...args: any[]) => any) | undefined;
39
39
  onKeyup?: ((...args: any[]) => any) | undefined;
40
+ onInput?: ((...args: any[]) => any) | undefined;
40
41
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
42
  }, {
42
43
  modelValue: string;
@@ -192,7 +192,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
192
192
  helperText?: string | undefined;
193
193
  successText?: string | undefined;
194
194
  } | null>;
195
- }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "change" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
195
+ }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
196
196
  /**
197
197
  * The success text for the form element.
198
198
  */
@@ -192,7 +192,7 @@ declare const _default: import("vue").DefineComponent<{
192
192
  helperText?: string | undefined;
193
193
  successText?: string | undefined;
194
194
  } | null>;
195
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "change" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
195
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
196
196
  /**
197
197
  * The success text for the form element.
198
198
  */
@@ -371,6 +371,7 @@ declare const _default: import("vue").DefineComponent<{
371
371
  onFocus?: ((...args: any[]) => any) | undefined;
372
372
  onBlur?: ((...args: any[]) => any) | undefined;
373
373
  onKeyup?: ((...args: any[]) => any) | undefined;
374
+ onInput?: ((...args: any[]) => any) | undefined;
374
375
  onChange?: ((...args: any[]) => any) | undefined;
375
376
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
376
377
  }, {
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ref as d, version as v, onBeforeMount as f, defineComponent as u, h as s } from "vue";
2
- import { registerAccordion as g, registerAccordionItem as y, registerActionGroup as k, registerAlert as b, registerAvatar as S, registerBadge as $, registerBanner as C, registerBreadcrumb as w, registerBreadcrumbItem as L, registerButton as x, registerCalendar as V, registerCalendarEvent as N, registerCard as T, registerCheckbox as B, registerCombobox as z, registerDataGrid as c, registerDatePicker as K, registerDialog as M, registerDivider as D, registerEmptyState as F, registerFab as q, registerHeader as P, registerIcon as O, registerLayout as A, registerMenu as R, registerMenuItem as U, registerNav as j, registerNavDisclosure as G, registerNavItem as H, registerNote as E, registerNumberField as W, registerOption as _, registerPagination as J, registerProgress as Z, registerProgressRing as X, registerRadio as Q, registerRadioGroup as Y, registerSelect as I, registerSideDrawer as ee, registerSlider as ie, registerSwitch as te, registerTab as oe, registerTabs as le, registerTabPanel as se, registerTextArea as ae, registerTextField as ne, registerToggletip as re, registerTooltip as de, registerTreeItem as ue, registerTreeView as he, registerTag as pe, registerTagGroup as me } from "@vonage/vivid";
2
+ import { registerAccordion as g, registerAccordionItem as y, registerActionGroup as k, registerAlert as b, registerAvatar as S, registerBadge as $, registerBanner as C, registerBreadcrumb as w, registerBreadcrumbItem as L, registerButton as x, registerCalendar as V, registerCalendarEvent as N, registerCard as B, registerCheckbox as T, registerCombobox as z, registerDataGrid as c, registerDatePicker as K, registerDialog as M, registerDivider as D, registerEmptyState as F, registerFab as q, registerHeader as P, registerIcon as O, registerLayout as A, registerMenu as R, registerMenuItem as U, registerNav as j, registerNavDisclosure as G, registerNavItem as H, registerNote as E, registerNumberField as W, registerOption as _, registerPagination as J, registerProgress as Z, registerProgressRing as X, registerRadio as Q, registerRadioGroup as Y, registerSelect as I, registerSideDrawer as ee, registerSlider as ie, registerSwitch as te, registerTab as oe, registerTabs as le, registerTabPanel as se, registerTextArea as ae, registerTextField as ne, registerToggletip as re, registerTooltip as de, registerTreeItem as ue, registerTreeView as he, registerTag as pe, registerTagGroup as me } from "@vonage/vivid";
3
3
  const m = d("vvd3");
4
4
  function ke(e) {
5
5
  m.value = e;
@@ -1138,7 +1138,7 @@ const Ce = u({
1138
1138
  []
1139
1139
  );
1140
1140
  }
1141
- }), Te = u({
1141
+ }), Be = u({
1142
1142
  name: "VButton",
1143
1143
  props: {
1144
1144
  /**
@@ -1369,7 +1369,7 @@ const Ce = u({
1369
1369
  []
1370
1370
  );
1371
1371
  }
1372
- }), Be = u({
1372
+ }), Te = u({
1373
1373
  name: "VCalendar",
1374
1374
  props: {
1375
1375
  /**
@@ -1721,7 +1721,7 @@ const Ce = u({
1721
1721
  "input"
1722
1722
  ],
1723
1723
  setup(e, o) {
1724
- const l = h("card", T), i = d(null);
1724
+ const l = h("card", B), i = d(null);
1725
1725
  return o.expose({}), { componentName: l, element: i };
1726
1726
  },
1727
1727
  render() {
@@ -1898,6 +1898,11 @@ const Ce = u({
1898
1898
  * @type {Event}
1899
1899
  */
1900
1900
  "input",
1901
+ /**
1902
+ * Emits a custom change event when the checked state changes
1903
+ * @type {unknown}
1904
+ */
1905
+ "change",
1901
1906
  /**
1902
1907
  * Emits a custom change event when the checked state changes
1903
1908
  * @type {boolean}
@@ -1905,7 +1910,7 @@ const Ce = u({
1905
1910
  "update:modelValue"
1906
1911
  ],
1907
1912
  setup(e, o) {
1908
- const l = h("checkbox", B), i = d(null);
1913
+ const l = h("checkbox", T), i = d(null);
1909
1914
  return o.expose({}), { componentName: l, element: i };
1910
1915
  },
1911
1916
  render() {
@@ -1937,7 +1942,9 @@ const Ce = u({
1937
1942
  keydown: (e) => this.$emit("keydown", e),
1938
1943
  keyup: (e) => this.$emit("keyup", e),
1939
1944
  input: (e) => this.$emit("input", e),
1940
- change: (e) => this.$emit("update:modelValue", e.target.checked)
1945
+ change: (e) => {
1946
+ this.$emit("update:modelValue", e.target.checked), this.$emit("change", e);
1947
+ }
1941
1948
  }
1942
1949
  },
1943
1950
  []
@@ -1966,7 +1973,9 @@ const Ce = u({
1966
1973
  onKeydown: (e) => this.$emit("keydown", e),
1967
1974
  onKeyup: (e) => this.$emit("keyup", e),
1968
1975
  onInput: (e) => this.$emit("input", e),
1969
- onChange: (e) => this.$emit("update:modelValue", e.target.checked)
1976
+ onChange: (e) => {
1977
+ this.$emit("update:modelValue", e.target.checked), this.$emit("change", e);
1978
+ }
1970
1979
  },
1971
1980
  []
1972
1981
  );
@@ -2073,6 +2082,11 @@ const Ce = u({
2073
2082
  * @type {Event}
2074
2083
  */
2075
2084
  "input",
2085
+ /**
2086
+ * Fires a custom 'change' event when the value updates
2087
+ * @type {unknown}
2088
+ */
2089
+ "change",
2076
2090
  /**
2077
2091
  * Fires a custom 'change' event when the value updates
2078
2092
  * @type {string}
@@ -2147,7 +2161,9 @@ const Ce = u({
2147
2161
  keydown: (e) => this.$emit("keydown", e),
2148
2162
  keyup: (e) => this.$emit("keyup", e),
2149
2163
  input: (e) => this.$emit("input", e),
2150
- change: (e) => this.$emit("update:modelValue", e.target.value)
2164
+ change: (e) => {
2165
+ this.$emit("update:modelValue", e.target.value), this.$emit("change", e);
2166
+ }
2151
2167
  }
2152
2168
  },
2153
2169
  [this.$slots.default]
@@ -2175,7 +2191,9 @@ const Ce = u({
2175
2191
  onKeydown: (e) => this.$emit("keydown", e),
2176
2192
  onKeyup: (e) => this.$emit("keyup", e),
2177
2193
  onInput: (e) => this.$emit("input", e),
2178
- onChange: (e) => this.$emit("update:modelValue", e.target.value)
2194
+ onChange: (e) => {
2195
+ this.$emit("update:modelValue", e.target.value), this.$emit("change", e);
2196
+ }
2179
2197
  },
2180
2198
  [
2181
2199
  // @ts-ignore
@@ -2632,6 +2650,11 @@ const Ce = u({
2632
2650
  * @type {KeyboardEvent}
2633
2651
  */
2634
2652
  "keyup",
2653
+ /**
2654
+ * Fires when the value of an element has been changed.
2655
+ * @type {Event}
2656
+ */
2657
+ "input",
2635
2658
  /**
2636
2659
  * Fires when the value of an element has been changed.
2637
2660
  * @type {string}
@@ -2665,7 +2688,9 @@ const Ce = u({
2665
2688
  blur: (e) => this.$emit("blur", e),
2666
2689
  keydown: (e) => this.$emit("keydown", e),
2667
2690
  keyup: (e) => this.$emit("keyup", e),
2668
- input: (e) => this.$emit("update:modelValue", e.target.value)
2691
+ input: (e) => {
2692
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
2693
+ }
2669
2694
  }
2670
2695
  },
2671
2696
  []
@@ -2688,7 +2713,9 @@ const Ce = u({
2688
2713
  onBlur: (e) => this.$emit("blur", e),
2689
2714
  onKeydown: (e) => this.$emit("keydown", e),
2690
2715
  onKeyup: (e) => this.$emit("keyup", e),
2691
- onInput: (e) => this.$emit("update:modelValue", e.target.value)
2716
+ onInput: (e) => {
2717
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
2718
+ }
2692
2719
  },
2693
2720
  []
2694
2721
  );
@@ -3836,6 +3863,11 @@ const Ce = u({
3836
3863
  * @type {unknown}
3837
3864
  */
3838
3865
  "expanded-change",
3866
+ /**
3867
+ * Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
3868
+ * @type {unknown}
3869
+ */
3870
+ "change",
3839
3871
  /**
3840
3872
  * Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
3841
3873
  * @type {boolean}
@@ -3870,7 +3902,9 @@ const Ce = u({
3870
3902
  keyup: (e) => this.$emit("keyup", e),
3871
3903
  input: (e) => this.$emit("input", e),
3872
3904
  "expanded-change": (e) => this.$emit("expanded-change", e),
3873
- change: (e) => this.$emit("update:modelValue", e.target.checked)
3905
+ change: (e) => {
3906
+ this.$emit("update:modelValue", e.target.checked), this.$emit("change", e);
3907
+ }
3874
3908
  }
3875
3909
  },
3876
3910
  [
@@ -3897,7 +3931,9 @@ const Ce = u({
3897
3931
  onKeyup: (e) => this.$emit("keyup", e),
3898
3932
  onInput: (e) => this.$emit("input", e),
3899
3933
  onExpandedChange: (e) => this.$emit("expanded-change", e),
3900
- onChange: (e) => this.$emit("update:modelValue", e.target.checked)
3934
+ onChange: (e) => {
3935
+ this.$emit("update:modelValue", e.target.checked), this.$emit("change", e);
3936
+ }
3901
3937
  },
3902
3938
  [
3903
3939
  // @slot meta Assign nodes to the `meta` slot to set a badge or an additional icon.
@@ -4490,14 +4526,19 @@ const Ce = u({
4490
4526
  "keyup",
4491
4527
  /**
4492
4528
  * Fires a custom 'input' event when the value has changed
4493
- * @type {string}
4529
+ * @type {unknown}
4494
4530
  */
4495
- "update:modelValue",
4531
+ "input",
4496
4532
  /**
4497
4533
  * Fires a custom 'change' event when the value has changed
4498
4534
  * @type {unknown}
4499
4535
  */
4500
- "change"
4536
+ "change",
4537
+ /**
4538
+ * Fires a custom 'input' event when the value has changed
4539
+ * @type {string}
4540
+ */
4541
+ "update:modelValue"
4501
4542
  ],
4502
4543
  setup(e, o) {
4503
4544
  const l = h("number-field", W), i = d(null);
@@ -4571,7 +4612,9 @@ const Ce = u({
4571
4612
  blur: (e) => this.$emit("blur", e),
4572
4613
  keydown: (e) => this.$emit("keydown", e),
4573
4614
  keyup: (e) => this.$emit("keyup", e),
4574
- input: (e) => this.$emit("update:modelValue", e.target.value),
4615
+ input: (e) => {
4616
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
4617
+ },
4575
4618
  change: (e) => this.$emit("change", e)
4576
4619
  }
4577
4620
  },
@@ -4611,7 +4654,9 @@ const Ce = u({
4611
4654
  onBlur: (e) => this.$emit("blur", e),
4612
4655
  onKeydown: (e) => this.$emit("keydown", e),
4613
4656
  onKeyup: (e) => this.$emit("keyup", e),
4614
- onInput: (e) => this.$emit("update:modelValue", e.target.value),
4657
+ onInput: (e) => {
4658
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
4659
+ },
4615
4660
  onChange: (e) => this.$emit("change", e)
4616
4661
  },
4617
4662
  []
@@ -4807,7 +4852,12 @@ const Ce = u({
4807
4852
  * Fires when the value of an element has been changed.
4808
4853
  * @type {Event}
4809
4854
  */
4810
- "input"
4855
+ "input",
4856
+ /**
4857
+ * Fires when the page changes.
4858
+ * @type {Event}
4859
+ */
4860
+ "pagination-change"
4811
4861
  ],
4812
4862
  setup(e, o) {
4813
4863
  const l = h("pagination", J), i = d(null);
@@ -4846,7 +4896,8 @@ const Ce = u({
4846
4896
  blur: (e) => this.$emit("blur", e),
4847
4897
  keydown: (e) => this.$emit("keydown", e),
4848
4898
  keyup: (e) => this.$emit("keyup", e),
4849
- input: (e) => this.$emit("input", e)
4899
+ input: (e) => this.$emit("input", e),
4900
+ "pagination-change": (e) => this.$emit("pagination-change", e)
4850
4901
  }
4851
4902
  },
4852
4903
  []
@@ -4866,7 +4917,8 @@ const Ce = u({
4866
4917
  onBlur: (e) => this.$emit("blur", e),
4867
4918
  onKeydown: (e) => this.$emit("keydown", e),
4868
4919
  onKeyup: (e) => this.$emit("keyup", e),
4869
- onInput: (e) => this.$emit("input", e)
4920
+ onInput: (e) => this.$emit("input", e),
4921
+ onPaginationChange: (e) => this.$emit("pagination-change", e)
4870
4922
  },
4871
4923
  []
4872
4924
  );
@@ -5330,6 +5382,11 @@ const Ce = u({
5330
5382
  * @type {Event}
5331
5383
  */
5332
5384
  "input",
5385
+ /**
5386
+ * Fires a custom 'change' event when the value changes
5387
+ * @type {unknown}
5388
+ */
5389
+ "change",
5333
5390
  /**
5334
5391
  * Fires a custom 'change' event when the value changes
5335
5392
  * @type {string}
@@ -5362,7 +5419,9 @@ const Ce = u({
5362
5419
  keydown: (e) => this.$emit("keydown", e),
5363
5420
  keyup: (e) => this.$emit("keyup", e),
5364
5421
  input: (e) => this.$emit("input", e),
5365
- change: (e) => this.$emit("update:modelValue", e.target.value)
5422
+ change: (e) => {
5423
+ this.$emit("update:modelValue", e.target.value), this.$emit("change", e);
5424
+ }
5366
5425
  }
5367
5426
  },
5368
5427
  [this.$slots.default]
@@ -5384,7 +5443,9 @@ const Ce = u({
5384
5443
  onKeydown: (e) => this.$emit("keydown", e),
5385
5444
  onKeyup: (e) => this.$emit("keyup", e),
5386
5445
  onInput: (e) => this.$emit("input", e),
5387
- onChange: (e) => this.$emit("update:modelValue", e.target.value)
5446
+ onChange: (e) => {
5447
+ this.$emit("update:modelValue", e.target.value), this.$emit("change", e);
5448
+ }
5388
5449
  },
5389
5450
  [
5390
5451
  // @ts-ignore
@@ -5513,14 +5574,19 @@ const Ce = u({
5513
5574
  "keyup",
5514
5575
  /**
5515
5576
  * Fires a custom 'input' event when the value updates
5516
- * @type {string}
5577
+ * @type {unknown}
5517
5578
  */
5518
- "update:modelValue",
5579
+ "input",
5519
5580
  /**
5520
5581
  * Fires a custom 'change' event when the value updates
5521
5582
  * @type {unknown}
5522
5583
  */
5523
- "change"
5584
+ "change",
5585
+ /**
5586
+ * Fires a custom 'input' event when the value updates
5587
+ * @type {string}
5588
+ */
5589
+ "update:modelValue"
5524
5590
  ],
5525
5591
  setup(e, o) {
5526
5592
  const l = h("select", I), i = d(null);
@@ -5592,7 +5658,9 @@ const Ce = u({
5592
5658
  blur: (e) => this.$emit("blur", e),
5593
5659
  keydown: (e) => this.$emit("keydown", e),
5594
5660
  keyup: (e) => this.$emit("keyup", e),
5595
- input: (e) => this.$emit("update:modelValue", e.target.value),
5661
+ input: (e) => {
5662
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
5663
+ },
5596
5664
  change: (e) => this.$emit("change", e)
5597
5665
  }
5598
5666
  },
@@ -5632,7 +5700,9 @@ const Ce = u({
5632
5700
  onBlur: (e) => this.$emit("blur", e),
5633
5701
  onKeydown: (e) => this.$emit("keydown", e),
5634
5702
  onKeyup: (e) => this.$emit("keyup", e),
5635
- onInput: (e) => this.$emit("update:modelValue", e.target.value),
5703
+ onInput: (e) => {
5704
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
5705
+ },
5636
5706
  onChange: (e) => this.$emit("change", e)
5637
5707
  },
5638
5708
  [
@@ -5859,6 +5929,11 @@ const Ce = u({
5859
5929
  * @type {Event}
5860
5930
  */
5861
5931
  "input",
5932
+ /**
5933
+ * Fires a custom 'change' event when the slider value changes
5934
+ * @type {unknown}
5935
+ */
5936
+ "change",
5862
5937
  /**
5863
5938
  * Fires a custom 'change' event when the slider value changes
5864
5939
  * @type {string}
@@ -5919,7 +5994,9 @@ const Ce = u({
5919
5994
  keydown: (e) => this.$emit("keydown", e),
5920
5995
  keyup: (e) => this.$emit("keyup", e),
5921
5996
  input: (e) => this.$emit("input", e),
5922
- change: (e) => this.$emit("update:modelValue", e.target.value)
5997
+ change: (e) => {
5998
+ this.$emit("update:modelValue", e.target.value), this.$emit("change", e);
5999
+ }
5923
6000
  }
5924
6001
  },
5925
6002
  []
@@ -5947,13 +6024,19 @@ const Ce = u({
5947
6024
  onKeydown: (e) => this.$emit("keydown", e),
5948
6025
  onKeyup: (e) => this.$emit("keyup", e),
5949
6026
  onInput: (e) => this.$emit("input", e),
5950
- onChange: (e) => this.$emit("update:modelValue", e.target.value)
6027
+ onChange: (e) => {
6028
+ this.$emit("update:modelValue", e.target.value), this.$emit("change", e);
6029
+ }
5951
6030
  },
5952
6031
  []
5953
6032
  );
5954
6033
  }
5955
6034
  }), ri = u({
5956
6035
  name: "VSwitch",
6036
+ model: r ? {
6037
+ prop: "modelValue",
6038
+ event: "update:modelValue"
6039
+ } : void 0,
5957
6040
  props: {
5958
6041
  /**
5959
6042
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -5966,7 +6049,11 @@ const Ce = u({
5966
6049
  * Indicates the switch's label.
5967
6050
  */
5968
6051
  label: { type: String, default: void 0 },
5969
- connotation: { type: String, default: void 0 }
6052
+ connotation: { type: String, default: void 0 },
6053
+ /**
6054
+ * The current checked state of the switch.
6055
+ */
6056
+ modelValue: { type: Boolean, default: void 0 }
5970
6057
  },
5971
6058
  emits: [
5972
6059
  /**
@@ -5998,7 +6085,17 @@ const Ce = u({
5998
6085
  * Fires when the value of an element has been changed.
5999
6086
  * @type {Event}
6000
6087
  */
6001
- "input"
6088
+ "input",
6089
+ /**
6090
+ * Emitted when the checked state of the switch changes.
6091
+ * @type {Event}
6092
+ */
6093
+ "change",
6094
+ /**
6095
+ * Emitted when the checked state of the switch changes.
6096
+ * @type {boolean}
6097
+ */
6098
+ "update:modelValue"
6002
6099
  ],
6003
6100
  setup(e, o) {
6004
6101
  const l = h("switch", te), i = d(null);
@@ -6012,7 +6109,8 @@ const Ce = u({
6012
6109
  attrs: {
6013
6110
  ...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
6014
6111
  ...this.label !== void 0 ? { label: this.label } : {},
6015
- ...this.connotation !== void 0 ? { connotation: this.connotation } : {}
6112
+ ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
6113
+ ...this.modelValue !== void 0 ? { "current-checked": this.modelValue } : {}
6016
6114
  },
6017
6115
  class: "vvd-component",
6018
6116
  on: {
@@ -6021,7 +6119,10 @@ const Ce = u({
6021
6119
  blur: (e) => this.$emit("blur", e),
6022
6120
  keydown: (e) => this.$emit("keydown", e),
6023
6121
  keyup: (e) => this.$emit("keyup", e),
6024
- input: (e) => this.$emit("input", e)
6122
+ input: (e) => this.$emit("input", e),
6123
+ change: (e) => {
6124
+ this.$emit("update:modelValue", e.target.checked), this.$emit("change", e);
6125
+ }
6025
6126
  }
6026
6127
  },
6027
6128
  []
@@ -6033,12 +6134,16 @@ const Ce = u({
6033
6134
  ...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
6034
6135
  ...this.label !== void 0 ? { label: this.label } : {},
6035
6136
  ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
6137
+ ...this.modelValue !== void 0 ? { "current-checked": this.modelValue } : {},
6036
6138
  onClick: (e) => this.$emit("click", e),
6037
6139
  onFocus: (e) => this.$emit("focus", e),
6038
6140
  onBlur: (e) => this.$emit("blur", e),
6039
6141
  onKeydown: (e) => this.$emit("keydown", e),
6040
6142
  onKeyup: (e) => this.$emit("keyup", e),
6041
- onInput: (e) => this.$emit("input", e)
6143
+ onInput: (e) => this.$emit("input", e),
6144
+ onChange: (e) => {
6145
+ this.$emit("update:modelValue", e.target.checked), this.$emit("change", e);
6146
+ }
6042
6147
  },
6043
6148
  []
6044
6149
  );
@@ -6437,6 +6542,11 @@ const Ce = u({
6437
6542
  * @type {KeyboardEvent}
6438
6543
  */
6439
6544
  "keyup",
6545
+ /**
6546
+ * Fires when the value of an element has been changed.
6547
+ * @type {Event}
6548
+ */
6549
+ "input",
6440
6550
  /**
6441
6551
  * Fires when the value of an element has been changed.
6442
6552
  * @type {string}
@@ -6460,7 +6570,9 @@ const Ce = u({
6460
6570
  blur: (e) => this.$emit("blur", e),
6461
6571
  keydown: (e) => this.$emit("keydown", e),
6462
6572
  keyup: (e) => this.$emit("keyup", e),
6463
- input: (e) => this.$emit("update:modelValue", e.target.value)
6573
+ input: (e) => {
6574
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
6575
+ }
6464
6576
  }
6465
6577
  },
6466
6578
  []
@@ -6475,7 +6587,9 @@ const Ce = u({
6475
6587
  onBlur: (e) => this.$emit("blur", e),
6476
6588
  onKeydown: (e) => this.$emit("keydown", e),
6477
6589
  onKeyup: (e) => this.$emit("keyup", e),
6478
- onInput: (e) => this.$emit("update:modelValue", e.target.value)
6590
+ onInput: (e) => {
6591
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
6592
+ }
6479
6593
  },
6480
6594
  []
6481
6595
  );
@@ -6616,14 +6730,19 @@ const Ce = u({
6616
6730
  "keyup",
6617
6731
  /**
6618
6732
  * Fires when the value of an element has been changed.
6619
- * @type {string}
6733
+ * @type {Event}
6620
6734
  */
6621
- "update:modelValue",
6735
+ "input",
6622
6736
  /**
6623
6737
  * Fires a custom 'change' event when the value has changed
6624
6738
  * @type {unknown}
6625
6739
  */
6626
- "change"
6740
+ "change",
6741
+ /**
6742
+ * Fires when the value of an element has been changed.
6743
+ * @type {string}
6744
+ */
6745
+ "update:modelValue"
6627
6746
  ],
6628
6747
  setup(e, o) {
6629
6748
  const l = h("text-field", ne), i = d(null);
@@ -6683,7 +6802,9 @@ const Ce = u({
6683
6802
  blur: (e) => this.$emit("blur", e),
6684
6803
  keydown: (e) => this.$emit("keydown", e),
6685
6804
  keyup: (e) => this.$emit("keyup", e),
6686
- input: (e) => this.$emit("update:modelValue", e.target.value),
6805
+ input: (e) => {
6806
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
6807
+ },
6687
6808
  change: (e) => this.$emit("change", e)
6688
6809
  }
6689
6810
  },
@@ -6728,7 +6849,9 @@ const Ce = u({
6728
6849
  onBlur: (e) => this.$emit("blur", e),
6729
6850
  onKeydown: (e) => this.$emit("keydown", e),
6730
6851
  onKeyup: (e) => this.$emit("keyup", e),
6731
- onInput: (e) => this.$emit("update:modelValue", e.target.value),
6852
+ onInput: (e) => {
6853
+ this.$emit("update:modelValue", e.target.value), this.$emit("input", e);
6854
+ },
6732
6855
  onChange: (e) => this.$emit("change", e)
6733
6856
  },
6734
6857
  [
@@ -7453,8 +7576,8 @@ export {
7453
7576
  xe as VBanner,
7454
7577
  Ve as VBreadcrumb,
7455
7578
  Ne as VBreadcrumbItem,
7456
- Te as VButton,
7457
- Be as VCalendar,
7579
+ Be as VButton,
7580
+ Te as VCalendar,
7458
7581
  ze as VCalendarEvent,
7459
7582
  Ke as VCard,
7460
7583
  Me as VCheckbox,