@vonage/vivid-vue 3.2.0 → 3.2.1

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/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ref as r, version as m, onBeforeMount as v, defineComponent as d, h as n } from "vue";
2
- import { registerAccordion as y, registerAccordionItem as f, registerActionGroup as $, registerAvatar as k, registerBadge as g, registerBanner as b, registerBreadcrumb as C, registerBreadcrumbItem as w, registerButton as S, registerCalendar as x, registerCalendarEvent as N, registerCard as B, registerCheckbox as V, registerCombobox as T, registerDataGrid as K, registerDialog as I, registerDivider as q, registerFab as z, registerHeader as F, registerIcon as L, registerLayout as P, registerMenu as D, registerMenuItem as M, registerNav as O, registerNavDisclosure as A, registerNavItem as E, registerNote as H, registerNumberField as G, registerOption as R, registerPopup as W, registerProgress as j, registerProgressRing as U, registerRadio as J, registerRadioGroup as Q, registerSelect as X, registerSideDrawer as Y, registerSlider as Z, registerSwitch as _, registerTab as tt, registerTabs as et, registerTabPanel as it, registerTextArea as ot, registerTextField as st, registerTooltip as nt, registerTreeItem as at, registerTreeView as rt } from "@vonage/vivid";
2
+ import { registerAccordion as y, registerAccordionItem as f, registerActionGroup as $, registerAvatar as k, registerBadge as g, registerBanner as b, registerBreadcrumb as C, registerBreadcrumbItem as w, registerButton as S, registerCalendar as x, registerCalendarEvent as N, registerCard as B, registerCheckbox as V, registerCombobox as K, registerDataGrid as T, registerDialog as I, registerDivider as q, registerFab as z, registerHeader as F, registerIcon as L, registerLayout as P, registerMenu as D, registerMenuItem as M, registerNav as O, registerNavDisclosure as A, registerNavItem as E, registerNote as H, registerNumberField as G, registerOption as R, registerPopup as W, registerProgress as j, registerProgressRing as U, registerRadio as J, registerRadioGroup as Q, registerSelect as X, registerSideDrawer as Y, registerSlider as Z, registerSwitch as _, registerTab as tt, registerTabs as et, registerTabPanel as it, registerTextArea as ot, registerTextField as st, registerTooltip as nt, registerTreeItem as at, registerTreeView as rt, registerTag as dt, registerTagGroup as lt } from "@vonage/vivid";
3
3
  const p = r("vvd3");
4
- function ct(t) {
4
+ function mt(t) {
5
5
  p.value = t;
6
6
  }
7
7
  const a = m.startsWith("2");
@@ -11,7 +11,7 @@ function l(t, o) {
11
11
  o(p.value);
12
12
  }), s;
13
13
  }
14
- const pt = d({
14
+ const vt = d({
15
15
  props: {
16
16
  /**
17
17
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -114,7 +114,7 @@ const pt = d({
114
114
  ]
115
115
  );
116
116
  }
117
- }), mt = d({
117
+ }), yt = d({
118
118
  props: {
119
119
  /**
120
120
  * A decorative icon the custom element should have.
@@ -258,7 +258,7 @@ const pt = d({
258
258
  ]
259
259
  );
260
260
  }
261
- }), vt = d({
261
+ }), ft = d({
262
262
  props: {
263
263
  /**
264
264
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -367,21 +367,21 @@ const pt = d({
367
367
  );
368
368
  }
369
369
  });
370
- function dt(t, o) {
370
+ function ht(t, o) {
371
371
  return o.forEach((s) => {
372
372
  var e;
373
373
  s.data || (s.data = {}), s.data.attrs = { ...(e = s.data) == null ? void 0 : e.attrs, slot: t };
374
374
  }), o;
375
375
  }
376
- function lt(t, o) {
376
+ function ut(t, o) {
377
377
  return o.forEach((s) => {
378
378
  s.props || (s.props = {}), s.props = { ...s.props, slot: t };
379
379
  }), o;
380
380
  }
381
381
  function h(t, o) {
382
- return o ? a ? dt(t, o) : lt(t, o()) : null;
382
+ return o ? a ? ht(t, o) : ut(t, o()) : null;
383
383
  }
384
- const yt = d({
384
+ const $t = d({
385
385
  props: {
386
386
  /**
387
387
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -508,7 +508,7 @@ const yt = d({
508
508
  ]
509
509
  );
510
510
  }
511
- }), ft = d({
511
+ }), kt = d({
512
512
  props: {
513
513
  /**
514
514
  * A decorative icon the custom element should have.
@@ -632,7 +632,7 @@ const yt = d({
632
632
  []
633
633
  );
634
634
  }
635
- }), $t = d({
635
+ }), gt = d({
636
636
  props: {
637
637
  /**
638
638
  * A decorative icon the custom element should have.
@@ -758,7 +758,7 @@ const yt = d({
758
758
  ]
759
759
  );
760
760
  }
761
- }), kt = d({
761
+ }), bt = d({
762
762
  props: {
763
763
  /**
764
764
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -840,7 +840,7 @@ const yt = d({
840
840
  ]
841
841
  );
842
842
  }
843
- }), gt = d({
843
+ }), Ct = d({
844
844
  props: {
845
845
  /**
846
846
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -972,7 +972,7 @@ const yt = d({
972
972
  []
973
973
  );
974
974
  }
975
- }), bt = d({
975
+ }), wt = d({
976
976
  props: {
977
977
  /**
978
978
  * A decorative icon the custom element should have.
@@ -1202,7 +1202,7 @@ const yt = d({
1202
1202
  []
1203
1203
  );
1204
1204
  }
1205
- }), Ct = d({
1205
+ }), St = d({
1206
1206
  props: {
1207
1207
  /**
1208
1208
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1358,7 +1358,7 @@ const yt = d({
1358
1358
  ]
1359
1359
  );
1360
1360
  }
1361
- }), wt = d({
1361
+ }), xt = d({
1362
1362
  props: {
1363
1363
  /**
1364
1364
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1484,7 +1484,7 @@ const yt = d({
1484
1484
  []
1485
1485
  );
1486
1486
  }
1487
- }), St = d({
1487
+ }), Nt = d({
1488
1488
  props: {
1489
1489
  /**
1490
1490
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1624,7 +1624,7 @@ const yt = d({
1624
1624
  ]
1625
1625
  );
1626
1626
  }
1627
- }), xt = d({
1627
+ }), Bt = d({
1628
1628
  model: a ? {
1629
1629
  prop: "modelValue",
1630
1630
  event: "update:modelValue"
@@ -1779,7 +1779,7 @@ const yt = d({
1779
1779
  []
1780
1780
  );
1781
1781
  }
1782
- }), Nt = d({
1782
+ }), Vt = d({
1783
1783
  model: a ? {
1784
1784
  prop: "modelValue",
1785
1785
  event: "update:modelValue"
@@ -1890,7 +1890,7 @@ const yt = d({
1890
1890
  "update:modelValue"
1891
1891
  ],
1892
1892
  setup(t, o) {
1893
- const s = l("combobox", T), e = r(null);
1893
+ const s = l("combobox", K), e = r(null);
1894
1894
  return o.expose({
1895
1895
  /**
1896
1896
  * {@inheritDoc (FormAssociated:interface).validate}
@@ -1993,7 +1993,7 @@ const yt = d({
1993
1993
  ]
1994
1994
  );
1995
1995
  }
1996
- }), Bt = d({
1996
+ }), Kt = d({
1997
1997
  props: {
1998
1998
  /**
1999
1999
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2037,7 +2037,7 @@ const yt = d({
2037
2037
  "input"
2038
2038
  ],
2039
2039
  setup(t, o) {
2040
- const s = l("data-grid", K), e = r(null);
2040
+ const s = l("data-grid", T), e = r(null);
2041
2041
  return o.expose({}), { componentName: s, element: e };
2042
2042
  },
2043
2043
  render() {
@@ -2080,7 +2080,7 @@ const yt = d({
2080
2080
  ]
2081
2081
  );
2082
2082
  }
2083
- }), Vt = d({
2083
+ }), Tt = d({
2084
2084
  props: {
2085
2085
  /**
2086
2086
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2139,7 +2139,12 @@ const yt = d({
2139
2139
  * Fires when the value of an element has been changed.
2140
2140
  * @type {Event}
2141
2141
  */
2142
- "input"
2142
+ "input",
2143
+ /**
2144
+ * Emitted when the dialog is closed
2145
+ * @type {unknown}
2146
+ */
2147
+ "close"
2143
2148
  ],
2144
2149
  setup(t, o) {
2145
2150
  const s = l("dialog", I), e = r(null);
@@ -2186,7 +2191,8 @@ const yt = d({
2186
2191
  blur: (t) => this.$emit("blur", t),
2187
2192
  keydown: (t) => this.$emit("keydown", t),
2188
2193
  keyup: (t) => this.$emit("keyup", t),
2189
- input: (t) => this.$emit("input", t)
2194
+ input: (t) => this.$emit("input", t),
2195
+ close: (t) => this.$emit("close", t)
2190
2196
  }
2191
2197
  },
2192
2198
  [
@@ -2219,7 +2225,8 @@ const yt = d({
2219
2225
  onBlur: (t) => this.$emit("blur", t),
2220
2226
  onKeydown: (t) => this.$emit("keydown", t),
2221
2227
  onKeyup: (t) => this.$emit("keyup", t),
2222
- onInput: (t) => this.$emit("input", t)
2228
+ onInput: (t) => this.$emit("input", t),
2229
+ onClose: (t) => this.$emit("close", t)
2223
2230
  },
2224
2231
  [
2225
2232
  // @slot graphic Use the graphic slot in order to replace the icon.
@@ -2233,7 +2240,7 @@ const yt = d({
2233
2240
  ]
2234
2241
  );
2235
2242
  }
2236
- }), Tt = d({
2243
+ }), It = d({
2237
2244
  props: {
2238
2245
  /**
2239
2246
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2326,7 +2333,7 @@ const yt = d({
2326
2333
  []
2327
2334
  );
2328
2335
  }
2329
- }), Kt = d({
2336
+ }), qt = d({
2330
2337
  props: {
2331
2338
  /**
2332
2339
  * A decorative icon the custom element should have.
@@ -2532,7 +2539,7 @@ const yt = d({
2532
2539
  []
2533
2540
  );
2534
2541
  }
2535
- }), It = d({
2542
+ }), zt = d({
2536
2543
  props: {
2537
2544
  /**
2538
2545
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2638,7 +2645,7 @@ const yt = d({
2638
2645
  ]
2639
2646
  );
2640
2647
  }
2641
- }), qt = d({
2648
+ }), Ft = d({
2642
2649
  props: {
2643
2650
  /**
2644
2651
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2749,7 +2756,7 @@ const yt = d({
2749
2756
  ]
2750
2757
  );
2751
2758
  }
2752
- }), zt = d({
2759
+ }), Lt = d({
2753
2760
  props: {
2754
2761
  /**
2755
2762
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2857,7 +2864,7 @@ const yt = d({
2857
2864
  ]
2858
2865
  );
2859
2866
  }
2860
- }), Ft = d({
2867
+ }), Pt = d({
2861
2868
  props: {
2862
2869
  /**
2863
2870
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -2981,7 +2988,7 @@ const yt = d({
2981
2988
  ]
2982
2989
  );
2983
2990
  }
2984
- }), Lt = d({
2991
+ }), Dt = d({
2985
2992
  model: a ? {
2986
2993
  prop: "modelValue",
2987
2994
  event: "update:modelValue"
@@ -3126,7 +3133,7 @@ const yt = d({
3126
3133
  []
3127
3134
  );
3128
3135
  }
3129
- }), Pt = d({
3136
+ }), Mt = d({
3130
3137
  props: {
3131
3138
  /**
3132
3139
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -3208,7 +3215,7 @@ const yt = d({
3208
3215
  ]
3209
3216
  );
3210
3217
  }
3211
- }), Dt = d({
3218
+ }), Ot = d({
3212
3219
  props: {
3213
3220
  /**
3214
3221
  * A decorative icon the custom element should have.
@@ -3311,7 +3318,7 @@ const yt = d({
3311
3318
  ]
3312
3319
  );
3313
3320
  }
3314
- }), Mt = d({
3321
+ }), At = d({
3315
3322
  props: {
3316
3323
  /**
3317
3324
  * A decorative icon the custom element should have.
@@ -3456,7 +3463,7 @@ const yt = d({
3456
3463
  []
3457
3464
  );
3458
3465
  }
3459
- }), Ot = d({
3466
+ }), Et = d({
3460
3467
  props: {
3461
3468
  /**
3462
3469
  * A decorative icon the custom element should have.
@@ -3562,7 +3569,7 @@ const yt = d({
3562
3569
  ]
3563
3570
  );
3564
3571
  }
3565
- }), At = d({
3572
+ }), Ht = d({
3566
3573
  model: a ? {
3567
3574
  prop: "modelValue",
3568
3575
  event: "update:modelValue"
@@ -3827,7 +3834,7 @@ const yt = d({
3827
3834
  []
3828
3835
  );
3829
3836
  }
3830
- }), Et = d({
3837
+ }), Gt = d({
3831
3838
  props: {
3832
3839
  /**
3833
3840
  * A decorative icon the custom element should have.
@@ -3961,7 +3968,7 @@ const yt = d({
3961
3968
  []
3962
3969
  );
3963
3970
  }
3964
- }), Ht = d({
3971
+ }), Rt = d({
3965
3972
  props: {
3966
3973
  /**
3967
3974
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -4110,7 +4117,7 @@ const yt = d({
4110
4117
  ]
4111
4118
  );
4112
4119
  }
4113
- }), Gt = d({
4120
+ }), Wt = d({
4114
4121
  props: {
4115
4122
  /**
4116
4123
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -4224,7 +4231,7 @@ const yt = d({
4224
4231
  []
4225
4232
  );
4226
4233
  }
4227
- }), Rt = d({
4234
+ }), jt = d({
4228
4235
  props: {
4229
4236
  /**
4230
4237
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -4335,7 +4342,7 @@ const yt = d({
4335
4342
  []
4336
4343
  );
4337
4344
  }
4338
- }), Wt = d({
4345
+ }), Ut = d({
4339
4346
  props: {
4340
4347
  /**
4341
4348
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -4486,7 +4493,7 @@ const yt = d({
4486
4493
  []
4487
4494
  );
4488
4495
  }
4489
- }), jt = d({
4496
+ }), Jt = d({
4490
4497
  model: a ? {
4491
4498
  prop: "modelValue",
4492
4499
  event: "update:modelValue"
@@ -4621,7 +4628,7 @@ const yt = d({
4621
4628
  ]
4622
4629
  );
4623
4630
  }
4624
- }), Ut = d({
4631
+ }), Qt = d({
4625
4632
  model: a ? {
4626
4633
  prop: "modelValue",
4627
4634
  event: "update:modelValue"
@@ -4832,7 +4839,7 @@ const yt = d({
4832
4839
  ]
4833
4840
  );
4834
4841
  }
4835
- }), Jt = d({
4842
+ }), Xt = d({
4836
4843
  props: {
4837
4844
  /**
4838
4845
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -4946,7 +4953,7 @@ const yt = d({
4946
4953
  ]
4947
4954
  );
4948
4955
  }
4949
- }), Qt = d({
4956
+ }), Yt = d({
4950
4957
  model: a ? {
4951
4958
  prop: "modelValue",
4952
4959
  event: "update:modelValue"
@@ -5137,7 +5144,7 @@ const yt = d({
5137
5144
  []
5138
5145
  );
5139
5146
  }
5140
- }), Xt = d({
5147
+ }), Zt = d({
5141
5148
  props: {
5142
5149
  /**
5143
5150
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -5227,7 +5234,7 @@ const yt = d({
5227
5234
  []
5228
5235
  );
5229
5236
  }
5230
- }), Yt = d({
5237
+ }), _t = d({
5231
5238
  props: {
5232
5239
  /**
5233
5240
  * A decorative icon the custom element should have.
@@ -5342,7 +5349,7 @@ const yt = d({
5342
5349
  []
5343
5350
  );
5344
5351
  }
5345
- }), Zt = d({
5352
+ }), te = d({
5346
5353
  props: {
5347
5354
  /**
5348
5355
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -5475,7 +5482,7 @@ const yt = d({
5475
5482
  ]
5476
5483
  );
5477
5484
  }
5478
- }), _t = d({
5485
+ }), ee = d({
5479
5486
  props: {
5480
5487
  /**
5481
5488
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -5557,7 +5564,7 @@ const yt = d({
5557
5564
  ]
5558
5565
  );
5559
5566
  }
5560
- }), te = d({
5567
+ }), ie = d({
5561
5568
  props: {
5562
5569
  /**
5563
5570
  * The success text for the form element.
@@ -5665,7 +5672,7 @@ const yt = d({
5665
5672
  []
5666
5673
  );
5667
5674
  }
5668
- }), ee = d({
5675
+ }), oe = d({
5669
5676
  model: a ? {
5670
5677
  prop: "modelValue",
5671
5678
  event: "update:modelValue"
@@ -5910,7 +5917,7 @@ const yt = d({
5910
5917
  []
5911
5918
  );
5912
5919
  }
5913
- }), ie = d({
5920
+ }), se = d({
5914
5921
  props: {
5915
5922
  /**
5916
5923
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -6063,7 +6070,7 @@ const yt = d({
6063
6070
  []
6064
6071
  );
6065
6072
  }
6066
- }), oe = d({
6073
+ }), ne = d({
6067
6074
  props: {
6068
6075
  /**
6069
6076
  * A decorative icon the custom element should have.
@@ -6198,7 +6205,7 @@ const yt = d({
6198
6205
  ]
6199
6206
  );
6200
6207
  }
6201
- }), se = d({
6208
+ }), ae = d({
6202
6209
  props: {
6203
6210
  /**
6204
6211
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -6289,53 +6296,289 @@ const yt = d({
6289
6296
  ]
6290
6297
  );
6291
6298
  }
6299
+ }), re = d({
6300
+ props: {
6301
+ /**
6302
+ * A decorative icon the custom element should have.
6303
+ * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
6304
+ */
6305
+ icon: {
6306
+ type: String,
6307
+ default: void 0
6308
+ },
6309
+ /**
6310
+ * Indicates the element that represents the current item within a container or set of related elements.
6311
+ */
6312
+ ariaCurrent: {
6313
+ type: String,
6314
+ default: void 0
6315
+ },
6316
+ /**
6317
+ * The connotation the tag should have.
6318
+ */
6319
+ connotation: { type: String, default: void 0 },
6320
+ /**
6321
+ * The shape the tag should have.
6322
+ */
6323
+ shape: { type: String, default: void 0 },
6324
+ /**
6325
+ * The appearance the tag should have.
6326
+ */
6327
+ appearance: { type: String, default: void 0 },
6328
+ /**
6329
+ * Indicates the tag's label.
6330
+ */
6331
+ label: { type: String, default: void 0 },
6332
+ /**
6333
+ * indicates whether the tag is removable
6334
+ */
6335
+ removable: { type: Boolean, default: void 0 },
6336
+ /**
6337
+ * indicates whether the tag is disabled
6338
+ */
6339
+ disabled: { type: Boolean, default: void 0 },
6340
+ /**
6341
+ * indicates whether the tag is selectable
6342
+ */
6343
+ selectable: { type: Boolean, default: void 0 },
6344
+ /**
6345
+ * indicates whether the tag is selected
6346
+ */
6347
+ selected: { type: Boolean, default: void 0 }
6348
+ },
6349
+ emits: [
6350
+ /**
6351
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
6352
+ * @type {MouseEvent}
6353
+ */
6354
+ "click",
6355
+ /**
6356
+ * Fires when the element receives focus.
6357
+ * @type {FocusEvent}
6358
+ */
6359
+ "focus",
6360
+ /**
6361
+ * Fires when the element loses focus.
6362
+ * @type {FocusEvent}
6363
+ */
6364
+ "blur",
6365
+ /**
6366
+ * Fires when a key is pressed.
6367
+ * @type {KeyboardEvent}
6368
+ */
6369
+ "keydown",
6370
+ /**
6371
+ * Fires when a key is released.
6372
+ * @type {KeyboardEvent}
6373
+ */
6374
+ "keyup",
6375
+ /**
6376
+ * Fires when the value of an element has been changed.
6377
+ * @type {Event}
6378
+ */
6379
+ "input"
6380
+ ],
6381
+ setup(t, o) {
6382
+ const s = l("tag", dt), e = r(null);
6383
+ return o.expose({
6384
+ remove() {
6385
+ var i;
6386
+ return (i = e.value) == null ? void 0 : i.remove();
6387
+ },
6388
+ handleKeydown(i) {
6389
+ var u;
6390
+ return (u = e.value) == null ? void 0 : u.handleKeydown(i);
6391
+ },
6392
+ handleClick() {
6393
+ var i;
6394
+ return (i = e.value) == null ? void 0 : i.handleClick();
6395
+ }
6396
+ }), { componentName: s, element: e };
6397
+ },
6398
+ render() {
6399
+ return a ? n(
6400
+ this.componentName,
6401
+ {
6402
+ ref: "element",
6403
+ attrs: {
6404
+ ...this.icon !== void 0 ? { icon: this.icon } : {},
6405
+ ...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
6406
+ ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
6407
+ ...this.shape !== void 0 ? { shape: this.shape } : {},
6408
+ ...this.appearance !== void 0 ? { appearance: this.appearance } : {},
6409
+ ...this.label !== void 0 ? { label: this.label } : {},
6410
+ ...this.removable !== void 0 ? { removable: this.removable } : {},
6411
+ ...this.disabled !== void 0 ? { disabled: this.disabled } : {},
6412
+ ...this.selectable !== void 0 ? { selectable: this.selectable } : {},
6413
+ ...this.selected !== void 0 ? { selected: this.selected } : {}
6414
+ },
6415
+ class: "vvd-root",
6416
+ on: {
6417
+ click: (t) => this.$emit("click", t),
6418
+ focus: (t) => this.$emit("focus", t),
6419
+ blur: (t) => this.$emit("blur", t),
6420
+ keydown: (t) => this.$emit("keydown", t),
6421
+ keyup: (t) => this.$emit("keyup", t),
6422
+ input: (t) => this.$emit("input", t)
6423
+ }
6424
+ },
6425
+ []
6426
+ ) : n(
6427
+ this.componentName,
6428
+ {
6429
+ ref: "element",
6430
+ class: "vvd-root",
6431
+ ...this.icon !== void 0 ? { icon: this.icon } : {},
6432
+ ...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
6433
+ ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
6434
+ ...this.shape !== void 0 ? { shape: this.shape } : {},
6435
+ ...this.appearance !== void 0 ? { appearance: this.appearance } : {},
6436
+ ...this.label !== void 0 ? { label: this.label } : {},
6437
+ ...this.removable !== void 0 ? { removable: this.removable } : {},
6438
+ ...this.disabled !== void 0 ? { disabled: this.disabled } : {},
6439
+ ...this.selectable !== void 0 ? { selectable: this.selectable } : {},
6440
+ ...this.selected !== void 0 ? { selected: this.selected } : {},
6441
+ onClick: (t) => this.$emit("click", t),
6442
+ onFocus: (t) => this.$emit("focus", t),
6443
+ onBlur: (t) => this.$emit("blur", t),
6444
+ onKeydown: (t) => this.$emit("keydown", t),
6445
+ onKeyup: (t) => this.$emit("keyup", t),
6446
+ onInput: (t) => this.$emit("input", t)
6447
+ },
6448
+ []
6449
+ );
6450
+ }
6451
+ }), de = d({
6452
+ props: {
6453
+ /**
6454
+ * Indicates the element that represents the current item within a container or set of related elements.
6455
+ */
6456
+ ariaCurrent: {
6457
+ type: String,
6458
+ default: void 0
6459
+ }
6460
+ },
6461
+ emits: [
6462
+ /**
6463
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
6464
+ * @type {MouseEvent}
6465
+ */
6466
+ "click",
6467
+ /**
6468
+ * Fires when the element receives focus.
6469
+ * @type {FocusEvent}
6470
+ */
6471
+ "focus",
6472
+ /**
6473
+ * Fires when the element loses focus.
6474
+ * @type {FocusEvent}
6475
+ */
6476
+ "blur",
6477
+ /**
6478
+ * Fires when a key is pressed.
6479
+ * @type {KeyboardEvent}
6480
+ */
6481
+ "keydown",
6482
+ /**
6483
+ * Fires when a key is released.
6484
+ * @type {KeyboardEvent}
6485
+ */
6486
+ "keyup",
6487
+ /**
6488
+ * Fires when the value of an element has been changed.
6489
+ * @type {Event}
6490
+ */
6491
+ "input"
6492
+ ],
6493
+ setup(t, o) {
6494
+ const s = l("tag-group", lt), e = r(null);
6495
+ return o.expose({}), { componentName: s, element: e };
6496
+ },
6497
+ render() {
6498
+ return a ? n(
6499
+ this.componentName,
6500
+ {
6501
+ ref: "element",
6502
+ attrs: { ...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {} },
6503
+ class: "vvd-root",
6504
+ on: {
6505
+ click: (t) => this.$emit("click", t),
6506
+ focus: (t) => this.$emit("focus", t),
6507
+ blur: (t) => this.$emit("blur", t),
6508
+ keydown: (t) => this.$emit("keydown", t),
6509
+ keyup: (t) => this.$emit("keyup", t),
6510
+ input: (t) => this.$emit("input", t)
6511
+ }
6512
+ },
6513
+ [this.$slots.default]
6514
+ ) : n(
6515
+ this.componentName,
6516
+ {
6517
+ ref: "element",
6518
+ class: "vvd-root",
6519
+ ...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
6520
+ onClick: (t) => this.$emit("click", t),
6521
+ onFocus: (t) => this.$emit("focus", t),
6522
+ onBlur: (t) => this.$emit("blur", t),
6523
+ onKeydown: (t) => this.$emit("keydown", t),
6524
+ onKeyup: (t) => this.$emit("keyup", t),
6525
+ onInput: (t) => this.$emit("input", t)
6526
+ },
6527
+ [
6528
+ // @ts-ignore
6529
+ this.$slots.default && this.$slots.default()
6530
+ ]
6531
+ );
6532
+ }
6292
6533
  });
6293
6534
  export {
6294
- pt as VAccordion,
6295
- mt as VAccordionItem,
6296
- vt as VActionGroup,
6297
- yt as VAvatar,
6298
- ft as VBadge,
6299
- $t as VBanner,
6300
- kt as VBreadcrumb,
6301
- gt as VBreadcrumbItem,
6302
- bt as VButton,
6303
- Ct as VCalendar,
6304
- wt as VCalendarEvent,
6305
- St as VCard,
6306
- xt as VCheckbox,
6307
- Nt as VCombobox,
6308
- Bt as VDataGrid,
6309
- Vt as VDialog,
6310
- Tt as VDivider,
6311
- Kt as VFab,
6312
- It as VHeader,
6313
- qt as VIcon,
6314
- zt as VLayout,
6315
- Ft as VMenu,
6316
- Lt as VMenuItem,
6317
- Pt as VNav,
6318
- Dt as VNavDisclosure,
6319
- Mt as VNavItem,
6320
- Ot as VNote,
6321
- At as VNumberField,
6322
- Et as VOption,
6323
- Ht as VPopup,
6324
- Gt as VProgress,
6325
- Rt as VProgressRing,
6326
- Wt as VRadio,
6327
- jt as VRadioGroup,
6328
- Ut as VSelect,
6329
- Jt as VSideDrawer,
6330
- Qt as VSlider,
6331
- Xt as VSwitch,
6332
- Yt as VTab,
6333
- _t as VTabPanel,
6334
- Zt as VTabs,
6335
- te as VTextArea,
6336
- ee as VTextField,
6337
- ie as VTooltip,
6338
- oe as VTreeItem,
6339
- se as VTreeView,
6340
- ct as setCustomComponentPrefix
6535
+ vt as VAccordion,
6536
+ yt as VAccordionItem,
6537
+ ft as VActionGroup,
6538
+ $t as VAvatar,
6539
+ kt as VBadge,
6540
+ gt as VBanner,
6541
+ bt as VBreadcrumb,
6542
+ Ct as VBreadcrumbItem,
6543
+ wt as VButton,
6544
+ St as VCalendar,
6545
+ xt as VCalendarEvent,
6546
+ Nt as VCard,
6547
+ Bt as VCheckbox,
6548
+ Vt as VCombobox,
6549
+ Kt as VDataGrid,
6550
+ Tt as VDialog,
6551
+ It as VDivider,
6552
+ qt as VFab,
6553
+ zt as VHeader,
6554
+ Ft as VIcon,
6555
+ Lt as VLayout,
6556
+ Pt as VMenu,
6557
+ Dt as VMenuItem,
6558
+ Mt as VNav,
6559
+ Ot as VNavDisclosure,
6560
+ At as VNavItem,
6561
+ Et as VNote,
6562
+ Ht as VNumberField,
6563
+ Gt as VOption,
6564
+ Rt as VPopup,
6565
+ Wt as VProgress,
6566
+ jt as VProgressRing,
6567
+ Ut as VRadio,
6568
+ Jt as VRadioGroup,
6569
+ Qt as VSelect,
6570
+ Xt as VSideDrawer,
6571
+ Yt as VSlider,
6572
+ Zt as VSwitch,
6573
+ _t as VTab,
6574
+ ee as VTabPanel,
6575
+ te as VTabs,
6576
+ re as VTag,
6577
+ de as VTagGroup,
6578
+ ie as VTextArea,
6579
+ oe as VTextField,
6580
+ se as VTooltip,
6581
+ ne as VTreeItem,
6582
+ ae as VTreeView,
6583
+ mt as setCustomComponentPrefix
6341
6584
  };