@vonage/vivid-vue 5.7.0 → 5.9.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 (101) hide show
  1. package/dist/generated/components/VAccordionItem.vue2.d.ts +1 -1
  2. package/dist/generated/components/VAccordionItem.vue3.d.ts +1 -1
  3. package/dist/generated/components/VAlert.vue2.d.ts +1 -1
  4. package/dist/generated/components/VAlert.vue3.d.ts +1 -1
  5. package/dist/generated/components/VAvatar.vue2.d.ts +1 -1
  6. package/dist/generated/components/VAvatar.vue3.d.ts +1 -1
  7. package/dist/generated/components/VBadge.vue2.d.ts +1 -1
  8. package/dist/generated/components/VBadge.vue3.d.ts +1 -1
  9. package/dist/generated/components/VBanner.vue2.d.ts +1 -1
  10. package/dist/generated/components/VBanner.vue3.d.ts +1 -1
  11. package/dist/generated/components/VButton.vue2.d.ts +1 -1
  12. package/dist/generated/components/VButton.vue3.d.ts +1 -1
  13. package/dist/generated/components/VCard.vue2.d.ts +1 -1
  14. package/dist/generated/components/VCard.vue3.d.ts +1 -1
  15. package/dist/generated/components/VColorPicker.vue3.d.ts +1 -0
  16. package/dist/generated/components/VCombobox.vue2.d.ts +1 -1
  17. package/dist/generated/components/VCombobox.vue3.d.ts +2 -1
  18. package/dist/generated/components/VContextualHelp.d.ts +7 -0
  19. package/dist/generated/components/VContextualHelp.types.d.ts +30 -0
  20. package/dist/generated/components/VContextualHelp.vue2.d.ts +19 -0
  21. package/dist/generated/components/VContextualHelp.vue3.d.ts +61 -0
  22. package/dist/generated/components/VDatePicker.vue3.d.ts +1 -0
  23. package/dist/generated/components/VDateRangePicker.vue3.d.ts +1 -0
  24. package/dist/generated/components/VDateTimePicker.vue3.d.ts +1 -0
  25. package/dist/generated/components/VDialog.vue2.d.ts +1 -1
  26. package/dist/generated/components/VDialog.vue3.d.ts +1 -1
  27. package/dist/generated/components/VEmptyState.vue2.d.ts +1 -1
  28. package/dist/generated/components/VEmptyState.vue3.d.ts +1 -1
  29. package/dist/generated/components/VFab.vue2.d.ts +1 -1
  30. package/dist/generated/components/VFab.vue3.d.ts +1 -1
  31. package/dist/generated/components/VFilePicker.vue3.d.ts +1 -0
  32. package/dist/generated/components/VIcon.vue2.d.ts +1 -1
  33. package/dist/generated/components/VIcon.vue3.d.ts +1 -1
  34. package/dist/generated/components/VMenuItem.vue2.d.ts +1 -1
  35. package/dist/generated/components/VMenuItem.vue3.d.ts +1 -1
  36. package/dist/generated/components/VNavDisclosure.vue2.d.ts +1 -1
  37. package/dist/generated/components/VNavDisclosure.vue3.d.ts +1 -1
  38. package/dist/generated/components/VNavItem.vue2.d.ts +1 -1
  39. package/dist/generated/components/VNavItem.vue3.d.ts +1 -1
  40. package/dist/generated/components/VNote.vue2.d.ts +1 -1
  41. package/dist/generated/components/VNote.vue3.d.ts +1 -1
  42. package/dist/generated/components/VNumberField.vue2.d.ts +1 -1
  43. package/dist/generated/components/VNumberField.vue3.d.ts +2 -1
  44. package/dist/generated/components/VOption.vue2.d.ts +1 -1
  45. package/dist/generated/components/VOption.vue3.d.ts +1 -1
  46. package/dist/generated/components/VPopover.d.ts +7 -0
  47. package/dist/generated/components/VPopover.types.d.ts +45 -0
  48. package/dist/generated/components/VPopover.vue2.d.ts +92 -0
  49. package/dist/generated/components/VPopover.vue3.d.ts +147 -0
  50. package/dist/generated/components/VRichTextView.d.ts +7 -0
  51. package/dist/generated/components/VRichTextView.types.d.ts +30 -0
  52. package/dist/generated/components/VRichTextView.vue2.d.ts +19 -0
  53. package/dist/generated/components/VRichTextView.vue3.d.ts +58 -0
  54. package/dist/generated/components/VSearchableSelect.vue2.d.ts +1 -1
  55. package/dist/generated/components/VSearchableSelect.vue3.d.ts +2 -1
  56. package/dist/generated/components/VSelect.vue2.d.ts +1 -1
  57. package/dist/generated/components/VSelect.vue3.d.ts +2 -1
  58. package/dist/generated/components/VSplitButton.vue2.d.ts +1 -1
  59. package/dist/generated/components/VSplitButton.vue3.d.ts +1 -1
  60. package/dist/generated/components/VTab.vue2.d.ts +1 -1
  61. package/dist/generated/components/VTab.vue3.d.ts +1 -1
  62. package/dist/generated/components/VTable.d.ts +7 -0
  63. package/dist/generated/components/VTable.types.d.ts +29 -0
  64. package/dist/generated/components/VTable.vue2.d.ts +6 -0
  65. package/dist/generated/components/VTable.vue3.d.ts +47 -0
  66. package/dist/generated/components/VTableBody.d.ts +7 -0
  67. package/dist/generated/components/VTableBody.types.d.ts +29 -0
  68. package/dist/generated/components/VTableBody.vue2.d.ts +6 -0
  69. package/dist/generated/components/VTableBody.vue3.d.ts +47 -0
  70. package/dist/generated/components/VTableCell.d.ts +7 -0
  71. package/dist/generated/components/VTableCell.types.d.ts +29 -0
  72. package/dist/generated/components/VTableCell.vue2.d.ts +6 -0
  73. package/dist/generated/components/VTableCell.vue3.d.ts +47 -0
  74. package/dist/generated/components/VTableHead.d.ts +7 -0
  75. package/dist/generated/components/VTableHead.types.d.ts +29 -0
  76. package/dist/generated/components/VTableHead.vue2.d.ts +6 -0
  77. package/dist/generated/components/VTableHead.vue3.d.ts +47 -0
  78. package/dist/generated/components/VTableHeaderCell.d.ts +7 -0
  79. package/dist/generated/components/VTableHeaderCell.types.d.ts +29 -0
  80. package/dist/generated/components/VTableHeaderCell.vue2.d.ts +6 -0
  81. package/dist/generated/components/VTableHeaderCell.vue3.d.ts +47 -0
  82. package/dist/generated/components/VTableRow.d.ts +7 -0
  83. package/dist/generated/components/VTableRow.types.d.ts +29 -0
  84. package/dist/generated/components/VTableRow.vue2.d.ts +6 -0
  85. package/dist/generated/components/VTableRow.vue3.d.ts +47 -0
  86. package/dist/generated/components/VTabs.vue3.d.ts +1 -0
  87. package/dist/generated/components/VTag.vue2.d.ts +1 -1
  88. package/dist/generated/components/VTag.vue3.d.ts +1 -1
  89. package/dist/generated/components/VTextArea.vue3.d.ts +1 -0
  90. package/dist/generated/components/VTextField.vue2.d.ts +1 -1
  91. package/dist/generated/components/VTextField.vue3.d.ts +2 -1
  92. package/dist/generated/components/VTimePicker.vue3.d.ts +1 -0
  93. package/dist/generated/components/VTreeItem.vue2.d.ts +1 -1
  94. package/dist/generated/components/VTreeItem.vue3.d.ts +1 -1
  95. package/dist/generated/components/index.d.ts +9 -0
  96. package/dist/generated/icons.d.ts +4 -0
  97. package/dist/generated/types.d.ts +45 -0
  98. package/dist/index.cjs +1592 -380
  99. package/dist/index.js +1585 -382
  100. package/package.json +3 -3
  101. package/web-types.json +322 -27
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ref, version, onBeforeMount, defineComponent, h } from 'vue';
2
- import { registerAccordion, registerAccordionItem, registerActionGroup, registerAlert, registerAudioPlayer, registerAvatar, registerBadge, registerBanner, registerBreadcrumb, registerBreadcrumbItem, registerButton, registerCalendar, registerCalendarEvent, registerCard, registerCheckbox, registerColorPicker, registerCombobox, registerDataGrid, registerDatePicker, registerDateRangePicker, registerDateTimePicker, registerDialPad, registerDialog, registerDivider, registerEmptyState, registerFab, registerFilePicker, registerHeader, registerIcon, registerLayout, registerMenu, registerMenuItem, registerNav, registerNavDisclosure, registerNavItem, registerNote, registerNumberField, registerOption, registerPagination, registerProgress, registerProgressRing, registerRadio, registerRadioGroup, registerRangeSlider, registerRichTextEditor, registerSearchableSelect, registerSelect, registerSelectableBox, registerSideDrawer, registerSimpleColorPicker, registerSlider, registerSplitButton, registerSwitch, registerTab, registerTabPanel, registerTabs, registerTag, registerTagGroup, registerTextArea, registerTextField, registerTimePicker, registerToggletip, registerTooltip, registerTreeItem, registerTreeView, registerVideoPlayer } from '@vonage/vivid';
2
+ import { registerAccordion, registerAccordionItem, registerActionGroup, registerAlert, registerAudioPlayer, registerAvatar, registerBadge, registerBanner, registerBreadcrumb, registerBreadcrumbItem, registerButton, registerCalendar, registerCalendarEvent, registerCard, registerCheckbox, registerColorPicker, registerCombobox, registerContextualHelp, registerDataGrid, registerDatePicker, registerDateRangePicker, registerDateTimePicker, registerDialPad, registerDialog, registerDivider, registerEmptyState, registerFab, registerFilePicker, registerHeader, registerIcon, registerLayout, registerMenu, registerMenuItem, registerNav, registerNavDisclosure, registerNavItem, registerNote, registerNumberField, registerOption, registerPagination, registerPopover, registerProgress, registerProgressRing, registerRadio, registerRadioGroup, registerRangeSlider, registerRichTextEditor, registerRichTextView, registerSearchableSelect, registerSelect, registerSelectableBox, registerSideDrawer, registerSimpleColorPicker, registerSlider, registerSplitButton, registerSwitch, registerTab, registerTabPanel, registerDataTable, registerTabs, registerTag, registerTagGroup, registerTextArea, registerTextField, registerTimePicker, registerToggletip, registerTooltip, registerTreeItem, registerTreeView, registerVideoPlayer } from '@vonage/vivid';
3
3
 
4
4
  const CustomComponentPrefix = ref("vvd3");
5
5
  function setCustomComponentPrefix(prefix) {
@@ -3174,6 +3174,8 @@ const VColorPicker = defineComponent({
3174
3174
  },
3175
3175
  [
3176
3176
  this.$slots.default,
3177
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
3178
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
3177
3179
  // @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
3178
3180
  handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
3179
3181
  // @slot popup-text Overrides the default "Color Picker" title of the Popup window.
@@ -3231,6 +3233,11 @@ const VColorPicker = defineComponent({
3231
3233
  [
3232
3234
  // @ts-ignore
3233
3235
  this.$slots.default && this.$slots.default(),
3236
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
3237
+ handleNamedSlotV3(
3238
+ "contextual-help",
3239
+ this.$slots["contextual-help"]
3240
+ ),
3234
3241
  // @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
3235
3242
  handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
3236
3243
  // @slot popup-text Overrides the default "Color Picker" title of the Popup window.
@@ -3483,6 +3490,8 @@ const VCombobox = defineComponent({
3483
3490
  },
3484
3491
  [
3485
3492
  this.$slots.default,
3493
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
3494
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
3486
3495
  // @slot helper-text Describes how to use the combobox. Alternative to the `helper-text` attribute.
3487
3496
  handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
3488
3497
  // @slot icon The preferred way to add an icon to the combobox control.
@@ -3543,6 +3552,11 @@ const VCombobox = defineComponent({
3543
3552
  [
3544
3553
  // @ts-ignore
3545
3554
  this.$slots.default && this.$slots.default(),
3555
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
3556
+ handleNamedSlotV3(
3557
+ "contextual-help",
3558
+ this.$slots["contextual-help"]
3559
+ ),
3546
3560
  // @slot helper-text Describes how to use the combobox. Alternative to the `helper-text` attribute.
3547
3561
  handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
3548
3562
  // @slot icon The preferred way to add an icon to the combobox control.
@@ -3554,6 +3568,133 @@ const VCombobox = defineComponent({
3554
3568
  }
3555
3569
  });
3556
3570
 
3571
+ const VContextualHelp = defineComponent({
3572
+ name: "VContextualHelp",
3573
+ props: {
3574
+ /**
3575
+ * Placement of the toggletip
3576
+ */
3577
+ placement: {
3578
+ type: String,
3579
+ default: void 0
3580
+ }
3581
+ },
3582
+ emits: [
3583
+ /**
3584
+ * Fires when the element loses focus.
3585
+ * @type {FocusEvent}
3586
+ */
3587
+ "blur",
3588
+ /**
3589
+ * 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.
3590
+ * @type {MouseEvent}
3591
+ */
3592
+ "click",
3593
+ /**
3594
+ * Fires when the element receives focus.
3595
+ * @type {FocusEvent}
3596
+ */
3597
+ "focus",
3598
+ /**
3599
+ * Fires when the value of an element has been changed.
3600
+ * @type {Event}
3601
+ */
3602
+ "input",
3603
+ /**
3604
+ * Fires when a key is pressed.
3605
+ * @type {KeyboardEvent}
3606
+ */
3607
+ "keydown",
3608
+ /**
3609
+ * Fires when a key is released.
3610
+ * @type {KeyboardEvent}
3611
+ */
3612
+ "keyup"
3613
+ ],
3614
+ methods: {},
3615
+ setup(props, ctx) {
3616
+ const componentName = registerComponent(
3617
+ "contextual-help",
3618
+ registerContextualHelp
3619
+ );
3620
+ const element = ref(null);
3621
+ return { componentName, element };
3622
+ },
3623
+ render() {
3624
+ if (isVue2) {
3625
+ return h(
3626
+ this.componentName,
3627
+ {
3628
+ ref: "element",
3629
+ attrs: {
3630
+ ...this.placement !== void 0 ? { placement: this.placement } : {}
3631
+ },
3632
+ class: "vvd-component",
3633
+ on: {
3634
+ blur: (event) => {
3635
+ this.$emit("blur", event);
3636
+ },
3637
+ click: (event) => {
3638
+ this.$emit("click", event);
3639
+ },
3640
+ focus: (event) => {
3641
+ this.$emit("focus", event);
3642
+ },
3643
+ input: (event) => {
3644
+ this.$emit("input", event);
3645
+ },
3646
+ keydown: (event) => {
3647
+ this.$emit("keydown", event);
3648
+ },
3649
+ keyup: (event) => {
3650
+ this.$emit("keyup", event);
3651
+ }
3652
+ }
3653
+ },
3654
+ [
3655
+ this.$slots.default,
3656
+ // @slot icon Custom icon slot (optional).
3657
+ handleNamedSlotV2("icon", this.$slots["icon"])
3658
+ ]
3659
+ );
3660
+ }
3661
+ return h(
3662
+ this.componentName,
3663
+ {
3664
+ ref: "element",
3665
+ class: "vvd-component",
3666
+ ...handleVue3Props({
3667
+ ...this.placement !== void 0 ? { "^placement": this.placement } : {}
3668
+ }),
3669
+ onBlur: (event) => {
3670
+ this.$emit("blur", event);
3671
+ },
3672
+ onClick: (event) => {
3673
+ this.$emit("click", event);
3674
+ },
3675
+ onFocus: (event) => {
3676
+ this.$emit("focus", event);
3677
+ },
3678
+ onInput: (event) => {
3679
+ this.$emit("input", event);
3680
+ },
3681
+ onKeydown: (event) => {
3682
+ this.$emit("keydown", event);
3683
+ },
3684
+ onKeyup: (event) => {
3685
+ this.$emit("keyup", event);
3686
+ }
3687
+ },
3688
+ [
3689
+ // @ts-ignore
3690
+ this.$slots.default && this.$slots.default(),
3691
+ // @slot icon Custom icon slot (optional).
3692
+ handleNamedSlotV3("icon", this.$slots["icon"])
3693
+ ]
3694
+ );
3695
+ }
3696
+ });
3697
+
3557
3698
  const VDataGrid = defineComponent({
3558
3699
  name: "VDataGrid",
3559
3700
  props: {
@@ -4251,6 +4392,8 @@ const VDatePicker = defineComponent({
4251
4392
  },
4252
4393
  [
4253
4394
  this.$slots.default,
4395
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
4396
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
4254
4397
  // @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
4255
4398
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
4256
4399
  ]
@@ -4300,6 +4443,11 @@ const VDatePicker = defineComponent({
4300
4443
  [
4301
4444
  // @ts-ignore
4302
4445
  this.$slots.default && this.$slots.default(),
4446
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
4447
+ handleNamedSlotV3(
4448
+ "contextual-help",
4449
+ this.$slots["contextual-help"]
4450
+ ),
4303
4451
  // @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
4304
4452
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
4305
4453
  ]
@@ -4521,6 +4669,8 @@ const VDateRangePicker = defineComponent({
4521
4669
  },
4522
4670
  [
4523
4671
  this.$slots.default,
4672
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
4673
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
4524
4674
  // @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
4525
4675
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
4526
4676
  ]
@@ -4581,6 +4731,11 @@ const VDateRangePicker = defineComponent({
4581
4731
  [
4582
4732
  // @ts-ignore
4583
4733
  this.$slots.default && this.$slots.default(),
4734
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
4735
+ handleNamedSlotV3(
4736
+ "contextual-help",
4737
+ this.$slots["contextual-help"]
4738
+ ),
4584
4739
  // @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
4585
4740
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
4586
4741
  ]
@@ -4793,6 +4948,8 @@ const VDateTimePicker = defineComponent({
4793
4948
  },
4794
4949
  [
4795
4950
  this.$slots.default,
4951
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
4952
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
4796
4953
  // @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
4797
4954
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
4798
4955
  ]
@@ -4849,6 +5006,11 @@ const VDateTimePicker = defineComponent({
4849
5006
  [
4850
5007
  // @ts-ignore
4851
5008
  this.$slots.default && this.$slots.default(),
5009
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
5010
+ handleNamedSlotV3(
5011
+ "contextual-help",
5012
+ this.$slots["contextual-help"]
5013
+ ),
4852
5014
  // @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
4853
5015
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
4854
5016
  ]
@@ -6093,6 +6255,8 @@ const VFilePicker = defineComponent({
6093
6255
  },
6094
6256
  [
6095
6257
  this.$slots.default,
6258
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
6259
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
6096
6260
  // @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
6097
6261
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
6098
6262
  ]
@@ -6146,6 +6310,11 @@ const VFilePicker = defineComponent({
6146
6310
  [
6147
6311
  // @ts-ignore
6148
6312
  this.$slots.default && this.$slots.default(),
6313
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
6314
+ handleNamedSlotV3(
6315
+ "contextual-help",
6316
+ this.$slots["contextual-help"]
6317
+ ),
6149
6318
  // @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
6150
6319
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
6151
6320
  ]
@@ -7932,6 +8101,8 @@ const VNumberField = defineComponent({
7932
8101
  },
7933
8102
  [
7934
8103
  this.$slots.default,
8104
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
8105
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
7935
8106
  // @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
7936
8107
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
7937
8108
  ]
@@ -7998,6 +8169,11 @@ const VNumberField = defineComponent({
7998
8169
  [
7999
8170
  // @ts-ignore
8000
8171
  this.$slots.default && this.$slots.default(),
8172
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
8173
+ handleNamedSlotV3(
8174
+ "contextual-help",
8175
+ this.$slots["contextual-help"]
8176
+ ),
8001
8177
  // @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
8002
8178
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
8003
8179
  ]
@@ -8362,43 +8538,53 @@ const VPagination = defineComponent({
8362
8538
  }
8363
8539
  });
8364
8540
 
8365
- const VProgress = defineComponent({
8366
- name: "VProgress",
8541
+ const VPopover = defineComponent({
8542
+ name: "VPopover",
8367
8543
  props: {
8368
8544
  /**
8369
- * Indicates the progress' connotation.
8545
+ * Sets the color-scheme to alternate (dark/light)
8370
8546
  */
8371
- connotation: {
8547
+ alternate: { type: Boolean, default: void 0 },
8548
+ /**
8549
+ * Whether to render the arrow tip.
8550
+ */
8551
+ arrow: { type: Boolean, default: void 0 },
8552
+ /**
8553
+ * Overrides the default Dismiss button's aria-label.
8554
+ */
8555
+ dismissButtonAriaLabel: {
8372
8556
  type: String,
8373
8557
  default: void 0
8374
8558
  },
8375
8559
  /**
8376
- * The maximum value
8560
+ * Sets the layout of the popover.
8377
8561
  */
8378
- max: { type: Number, default: void 0 },
8562
+ layout: {
8563
+ type: String,
8564
+ default: void 0
8565
+ },
8379
8566
  /**
8380
- * The minimum value
8567
+ * If true, the popover uses manual dismissal (no light-dismiss).
8568
+ * Adds a close button to the UI.
8381
8569
  */
8382
- min: { type: Number, default: void 0 },
8570
+ manual: { type: Boolean, default: void 0 },
8383
8571
  /**
8384
- * Indicates the progress is paused
8572
+ * Sets the offset between popover and the anchor element.
8385
8573
  */
8386
- paused: { type: Boolean, default: void 0 },
8574
+ offset: { type: Number, default: void 0 },
8387
8575
  /**
8388
- * Indicates the progress' reverse status.
8576
+ * Indicates if the popover is currently open.
8577
+ * Can be set declaratively to open/close the popover.
8578
+ * Automatically updates when the user dismisses the popover.
8389
8579
  */
8390
- reverse: { type: Boolean, default: void 0 },
8580
+ open: { type: Boolean, default: void 0 },
8391
8581
  /**
8392
- * Indicates the progress' shape.
8582
+ * The placement of the popover relative to the anchor.
8393
8583
  */
8394
- shape: {
8584
+ placement: {
8395
8585
  type: String,
8396
8586
  default: void 0
8397
- },
8398
- /**
8399
- * The value of the progress
8400
- */
8401
- value: { type: Number, default: void 0 }
8587
+ }
8402
8588
  },
8403
8589
  emits: [
8404
8590
  /**
@@ -8411,6 +8597,11 @@ const VProgress = defineComponent({
8411
8597
  * @type {MouseEvent}
8412
8598
  */
8413
8599
  "click",
8600
+ /**
8601
+ * Fired when the popover closes.
8602
+ * @type {CustomEvent}
8603
+ */
8604
+ "close",
8414
8605
  /**
8415
8606
  * Fires when the element receives focus.
8416
8607
  * @type {FocusEvent}
@@ -8430,11 +8621,47 @@ const VProgress = defineComponent({
8430
8621
  * Fires when a key is released.
8431
8622
  * @type {KeyboardEvent}
8432
8623
  */
8433
- "keyup"
8624
+ "keyup",
8625
+ /**
8626
+ * Fired when the popover opens.
8627
+ * @type {CustomEvent}
8628
+ */
8629
+ "open"
8434
8630
  ],
8435
- methods: {},
8631
+ methods: {
8632
+ _slottedAnchorChanged() {
8633
+ return this.element?._slottedAnchorChanged();
8634
+ },
8635
+ anchorChanged() {
8636
+ return this.element?.anchorChanged();
8637
+ },
8638
+ arrowChanged() {
8639
+ return this.element?.arrowChanged();
8640
+ },
8641
+ hide() {
8642
+ return this.element?.hide();
8643
+ },
8644
+ openChanged(_oldValue, newValue) {
8645
+ return this.element?.openChanged(_oldValue, newValue);
8646
+ },
8647
+ placementChanged() {
8648
+ return this.element?.placementChanged();
8649
+ },
8650
+ show() {
8651
+ return this.element?.show();
8652
+ },
8653
+ toggle() {
8654
+ return this.element?.toggle();
8655
+ },
8656
+ /**
8657
+ * Updates the position of the popover
8658
+ */
8659
+ updatePosition() {
8660
+ return this.element?.updatePosition();
8661
+ }
8662
+ },
8436
8663
  setup(props, ctx) {
8437
- const componentName = registerComponent("progress", registerProgress);
8664
+ const componentName = registerComponent("popover", registerPopover);
8438
8665
  const element = ref(null);
8439
8666
  return { componentName, element };
8440
8667
  },
@@ -8445,13 +8672,14 @@ const VProgress = defineComponent({
8445
8672
  {
8446
8673
  ref: "element",
8447
8674
  attrs: {
8448
- ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
8449
- ...this.max !== void 0 ? { max: this.max } : {},
8450
- ...this.min !== void 0 ? { min: this.min } : {},
8451
- ...this.paused !== void 0 ? { paused: this.paused } : {},
8452
- ...this.reverse !== void 0 ? { reverse: this.reverse } : {},
8453
- ...this.shape !== void 0 ? { shape: this.shape } : {},
8454
- ...this.value !== void 0 ? { value: this.value } : {}
8675
+ ...this.alternate !== void 0 ? { alternate: this.alternate } : {},
8676
+ ...this.arrow !== void 0 ? { arrow: this.arrow } : {},
8677
+ ...this.dismissButtonAriaLabel !== void 0 ? { "dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
8678
+ ...this.layout !== void 0 ? { layout: this.layout } : {},
8679
+ ...this.manual !== void 0 ? { manual: this.manual } : {},
8680
+ ...this.offset !== void 0 ? { offset: this.offset } : {},
8681
+ ...this.open !== void 0 ? { open: this.open } : {},
8682
+ ...this.placement !== void 0 ? { placement: this.placement } : {}
8455
8683
  },
8456
8684
  class: "vvd-component",
8457
8685
  on: {
@@ -8461,6 +8689,9 @@ const VProgress = defineComponent({
8461
8689
  click: (event) => {
8462
8690
  this.$emit("click", event);
8463
8691
  },
8692
+ close: (event) => {
8693
+ this.$emit("close", event);
8694
+ },
8464
8695
  focus: (event) => {
8465
8696
  this.$emit("focus", event);
8466
8697
  },
@@ -8472,10 +8703,19 @@ const VProgress = defineComponent({
8472
8703
  },
8473
8704
  keyup: (event) => {
8474
8705
  this.$emit("keyup", event);
8706
+ },
8707
+ open: (event) => {
8708
+ this.$emit("open", event);
8475
8709
  }
8476
8710
  }
8477
8711
  },
8478
- [this.$slots.default]
8712
+ [
8713
+ this.$slots.default,
8714
+ // @slot anchor Slot for the trigger element.
8715
+ handleNamedSlotV2("anchor", this.$slots["anchor"]),
8716
+ // @slot footer Use the footer slot in order to add action buttons or other contents to the bottom of the dialog.
8717
+ handleNamedSlotV2("footer", this.$slots["footer"])
8718
+ ]
8479
8719
  );
8480
8720
  }
8481
8721
  return h(
@@ -8484,13 +8724,14 @@ const VProgress = defineComponent({
8484
8724
  ref: "element",
8485
8725
  class: "vvd-component",
8486
8726
  ...handleVue3Props({
8487
- ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
8488
- ...this.max !== void 0 ? { "^max": this.max } : {},
8489
- ...this.min !== void 0 ? { "^min": this.min } : {},
8490
- ...this.paused !== void 0 && this.paused !== false ? { "^paused": this.paused } : {},
8491
- ...this.reverse !== void 0 && this.reverse !== false ? { "^reverse": this.reverse } : {},
8492
- ...this.shape !== void 0 ? { "^shape": this.shape } : {},
8493
- ...this.value !== void 0 ? { "^value": this.value } : {}
8727
+ ...this.alternate !== void 0 && this.alternate !== false ? { "^alternate": this.alternate } : {},
8728
+ ...this.arrow !== void 0 && this.arrow !== false ? { "^arrow": this.arrow } : {},
8729
+ ...this.dismissButtonAriaLabel !== void 0 ? { "^dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
8730
+ ...this.layout !== void 0 ? { "^layout": this.layout } : {},
8731
+ ...this.manual !== void 0 && this.manual !== false ? { "^manual": this.manual } : {},
8732
+ ...this.offset !== void 0 ? { "^offset": this.offset } : {},
8733
+ ...this.open !== void 0 && this.open !== false ? { "^open": this.open } : {},
8734
+ ...this.placement !== void 0 ? { "^placement": this.placement } : {}
8494
8735
  }),
8495
8736
  onBlur: (event) => {
8496
8737
  this.$emit("blur", event);
@@ -8498,6 +8739,9 @@ const VProgress = defineComponent({
8498
8739
  onClick: (event) => {
8499
8740
  this.$emit("click", event);
8500
8741
  },
8742
+ onClose: (event) => {
8743
+ this.$emit("close", event);
8744
+ },
8501
8745
  onFocus: (event) => {
8502
8746
  this.$emit("focus", event);
8503
8747
  },
@@ -8509,19 +8753,29 @@ const VProgress = defineComponent({
8509
8753
  },
8510
8754
  onKeyup: (event) => {
8511
8755
  this.$emit("keyup", event);
8756
+ },
8757
+ onOpen: (event) => {
8758
+ this.$emit("open", event);
8512
8759
  }
8513
8760
  },
8514
8761
  [
8515
8762
  // @ts-ignore
8516
- this.$slots.default && this.$slots.default()
8763
+ this.$slots.default && this.$slots.default(),
8764
+ // @slot anchor Slot for the trigger element.
8765
+ handleNamedSlotV3("anchor", this.$slots["anchor"]),
8766
+ // @slot footer Use the footer slot in order to add action buttons or other contents to the bottom of the dialog.
8767
+ handleNamedSlotV3("footer", this.$slots["footer"])
8517
8768
  ]
8518
8769
  );
8519
8770
  }
8520
8771
  });
8521
8772
 
8522
- const VProgressRing = defineComponent({
8523
- name: "VProgressRing",
8773
+ const VProgress = defineComponent({
8774
+ name: "VProgress",
8524
8775
  props: {
8776
+ /**
8777
+ * Indicates the progress' connotation.
8778
+ */
8525
8779
  connotation: {
8526
8780
  type: String,
8527
8781
  default: void 0
@@ -8538,8 +8792,15 @@ const VProgressRing = defineComponent({
8538
8792
  * Indicates the progress is paused
8539
8793
  */
8540
8794
  paused: { type: Boolean, default: void 0 },
8541
- size: {
8542
- type: Number,
8795
+ /**
8796
+ * Indicates the progress' reverse status.
8797
+ */
8798
+ reverse: { type: Boolean, default: void 0 },
8799
+ /**
8800
+ * Indicates the progress' shape.
8801
+ */
8802
+ shape: {
8803
+ type: String,
8543
8804
  default: void 0
8544
8805
  },
8545
8806
  /**
@@ -8581,9 +8842,156 @@ const VProgressRing = defineComponent({
8581
8842
  ],
8582
8843
  methods: {},
8583
8844
  setup(props, ctx) {
8584
- const componentName = registerComponent(
8585
- "progress-ring",
8586
- registerProgressRing
8845
+ const componentName = registerComponent("progress", registerProgress);
8846
+ const element = ref(null);
8847
+ return { componentName, element };
8848
+ },
8849
+ render() {
8850
+ if (isVue2) {
8851
+ return h(
8852
+ this.componentName,
8853
+ {
8854
+ ref: "element",
8855
+ attrs: {
8856
+ ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
8857
+ ...this.max !== void 0 ? { max: this.max } : {},
8858
+ ...this.min !== void 0 ? { min: this.min } : {},
8859
+ ...this.paused !== void 0 ? { paused: this.paused } : {},
8860
+ ...this.reverse !== void 0 ? { reverse: this.reverse } : {},
8861
+ ...this.shape !== void 0 ? { shape: this.shape } : {},
8862
+ ...this.value !== void 0 ? { value: this.value } : {}
8863
+ },
8864
+ class: "vvd-component",
8865
+ on: {
8866
+ blur: (event) => {
8867
+ this.$emit("blur", event);
8868
+ },
8869
+ click: (event) => {
8870
+ this.$emit("click", event);
8871
+ },
8872
+ focus: (event) => {
8873
+ this.$emit("focus", event);
8874
+ },
8875
+ input: (event) => {
8876
+ this.$emit("input", event);
8877
+ },
8878
+ keydown: (event) => {
8879
+ this.$emit("keydown", event);
8880
+ },
8881
+ keyup: (event) => {
8882
+ this.$emit("keyup", event);
8883
+ }
8884
+ }
8885
+ },
8886
+ [this.$slots.default]
8887
+ );
8888
+ }
8889
+ return h(
8890
+ this.componentName,
8891
+ {
8892
+ ref: "element",
8893
+ class: "vvd-component",
8894
+ ...handleVue3Props({
8895
+ ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
8896
+ ...this.max !== void 0 ? { "^max": this.max } : {},
8897
+ ...this.min !== void 0 ? { "^min": this.min } : {},
8898
+ ...this.paused !== void 0 && this.paused !== false ? { "^paused": this.paused } : {},
8899
+ ...this.reverse !== void 0 && this.reverse !== false ? { "^reverse": this.reverse } : {},
8900
+ ...this.shape !== void 0 ? { "^shape": this.shape } : {},
8901
+ ...this.value !== void 0 ? { "^value": this.value } : {}
8902
+ }),
8903
+ onBlur: (event) => {
8904
+ this.$emit("blur", event);
8905
+ },
8906
+ onClick: (event) => {
8907
+ this.$emit("click", event);
8908
+ },
8909
+ onFocus: (event) => {
8910
+ this.$emit("focus", event);
8911
+ },
8912
+ onInput: (event) => {
8913
+ this.$emit("input", event);
8914
+ },
8915
+ onKeydown: (event) => {
8916
+ this.$emit("keydown", event);
8917
+ },
8918
+ onKeyup: (event) => {
8919
+ this.$emit("keyup", event);
8920
+ }
8921
+ },
8922
+ [
8923
+ // @ts-ignore
8924
+ this.$slots.default && this.$slots.default()
8925
+ ]
8926
+ );
8927
+ }
8928
+ });
8929
+
8930
+ const VProgressRing = defineComponent({
8931
+ name: "VProgressRing",
8932
+ props: {
8933
+ connotation: {
8934
+ type: String,
8935
+ default: void 0
8936
+ },
8937
+ /**
8938
+ * The maximum value
8939
+ */
8940
+ max: { type: Number, default: void 0 },
8941
+ /**
8942
+ * The minimum value
8943
+ */
8944
+ min: { type: Number, default: void 0 },
8945
+ /**
8946
+ * Indicates the progress is paused
8947
+ */
8948
+ paused: { type: Boolean, default: void 0 },
8949
+ size: {
8950
+ type: Number,
8951
+ default: void 0
8952
+ },
8953
+ /**
8954
+ * The value of the progress
8955
+ */
8956
+ value: { type: Number, default: void 0 }
8957
+ },
8958
+ emits: [
8959
+ /**
8960
+ * Fires when the element loses focus.
8961
+ * @type {FocusEvent}
8962
+ */
8963
+ "blur",
8964
+ /**
8965
+ * 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.
8966
+ * @type {MouseEvent}
8967
+ */
8968
+ "click",
8969
+ /**
8970
+ * Fires when the element receives focus.
8971
+ * @type {FocusEvent}
8972
+ */
8973
+ "focus",
8974
+ /**
8975
+ * Fires when the value of an element has been changed.
8976
+ * @type {Event}
8977
+ */
8978
+ "input",
8979
+ /**
8980
+ * Fires when a key is pressed.
8981
+ * @type {KeyboardEvent}
8982
+ */
8983
+ "keydown",
8984
+ /**
8985
+ * Fires when a key is released.
8986
+ * @type {KeyboardEvent}
8987
+ */
8988
+ "keyup"
8989
+ ],
8990
+ methods: {},
8991
+ setup(props, ctx) {
8992
+ const componentName = registerComponent(
8993
+ "progress-ring",
8994
+ registerProgressRing
8587
8995
  );
8588
8996
  const element = ref(null);
8589
8997
  return { componentName, element };
@@ -9554,107 +9962,13 @@ const VRichTextEditor = defineComponent({
9554
9962
  }
9555
9963
  });
9556
9964
 
9557
- const VSearchableSelect = defineComponent({
9558
- name: "VSearchableSelect",
9559
- model: isVue2 ? {
9560
- prop: "modelValue",
9561
- event: "update:modelValue"
9562
- } : void 0,
9965
+ const VRichTextView = defineComponent({
9966
+ name: "VRichTextView",
9563
9967
  props: {
9564
- appearance: {
9565
- type: String,
9566
- default: void 0
9567
- },
9568
- /**
9569
- * Adds a clear button to the input field that clears the selected values.
9570
- */
9571
- clearable: { type: Boolean, default: void 0 },
9572
- /**
9573
- * Overrides the default "Deselect All" text
9574
- */
9575
- deselectAllText: { type: String, default: void 0 },
9576
- /**
9577
- * Sets the element's disabled state. A disabled element will not be included during form submission.
9578
- */
9579
- disabled: { type: Boolean, default: void 0 },
9580
- /**
9581
- * Adds a "Select All" option at the top of the options list.
9582
- */
9583
- enableSelectAll: { type: Boolean, default: void 0 },
9584
- /**
9585
- * Provides a custom error message. Any current error state will be overridden.
9586
- */
9587
- errorText: { type: String, default: void 0 },
9588
- externalTags: { type: Boolean, default: void 0 },
9589
- fixedDropdown: { type: Boolean, default: void 0 },
9590
- /**
9591
- * Provides additional information to help the user enter the correct information.
9592
- * To add HTML to the helper text, use the helper-text slot instead.
9593
- */
9594
- helperText: { type: String, default: void 0 },
9595
- /**
9596
- * A decorative icon the custom element should have.
9597
- * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
9598
- */
9599
- icon: { type: String, default: void 0 },
9600
9968
  /**
9601
- * Indicates the icon affix alignment.
9602
- */
9603
- iconTrailing: { type: Boolean, default: void 0 },
9604
- /**
9605
- * The default value of the element. This value sets the `value` property
9606
- * only when the `value` property has not been explicitly set.
9607
- */
9608
- initialValue: { type: String, default: void 0 },
9609
- /**
9610
- * The label for the form element.
9611
- */
9612
- label: { type: String, default: void 0 },
9613
- /**
9614
- * Whether the component is in a loading state.
9615
- */
9616
- loading: { type: Boolean, default: void 0 },
9617
- maxLines: { type: Number, default: void 0 },
9618
- maxSelected: { type: Number, default: void 0 },
9619
- multiple: { type: Boolean, default: void 0 },
9620
- /**
9621
- * The name of the element. This element's value will be surfaced during form submission under the provided name.
9622
- */
9623
- name: { type: String, default: void 0 },
9624
- open: { type: Boolean, default: void 0 },
9625
- /**
9626
- * Function to filter the options to display.
9627
- */
9628
- optionFilter: {
9629
- type: null,
9630
- default: void 0
9631
- },
9632
- placeholder: { type: String, default: void 0 },
9633
- /**
9634
- * Require the field to be completed prior to form submission.
9635
- */
9636
- required: { type: Boolean, default: void 0 },
9637
- /**
9638
- * Overrides the default "Select All" text
9639
- */
9640
- selectAllText: { type: String, default: void 0 },
9641
- shape: { type: String, default: void 0 },
9642
- /**
9643
- * Provides a custom success message. Any current error state will be overridden.
9644
- */
9645
- successText: { type: String, default: void 0 },
9646
- /**
9647
- * The current value of the element.
9648
- */
9649
- value: { type: String, default: void 0 },
9650
- /**
9651
- * The current value of the element.
9652
- */
9653
- modelValue: { type: String, default: void 0 },
9654
- /**
9655
- * List of selected option values.
9969
+ * The view to display, created from the RteConfig.
9656
9970
  */
9657
- values: { type: Array, default: void 0 }
9971
+ view: { type: null, default: void 0 }
9658
9972
  },
9659
9973
  emits: [
9660
9974
  /**
@@ -9662,11 +9976,6 @@ const VSearchableSelect = defineComponent({
9662
9976
  * @type {FocusEvent}
9663
9977
  */
9664
9978
  "blur",
9665
- /**
9666
- * Fired when the selected options change
9667
- * @type {CustomEvent<undefined>}
9668
- */
9669
- "change",
9670
9979
  /**
9671
9980
  * 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.
9672
9981
  * @type {MouseEvent}
@@ -9678,9 +9987,225 @@ const VSearchableSelect = defineComponent({
9678
9987
  */
9679
9988
  "focus",
9680
9989
  /**
9681
- * Fired when the selected options change
9682
- * @type {CustomEvent<undefined>}
9683
- */
9990
+ * Fires when the value of an element has been changed.
9991
+ * @type {Event}
9992
+ */
9993
+ "input",
9994
+ /**
9995
+ * Fires when a key is pressed.
9996
+ * @type {KeyboardEvent}
9997
+ */
9998
+ "keydown",
9999
+ /**
10000
+ * Fires when a key is released.
10001
+ * @type {KeyboardEvent}
10002
+ */
10003
+ "keyup"
10004
+ ],
10005
+ methods: {},
10006
+ setup(props, ctx) {
10007
+ const componentName = registerComponent(
10008
+ "rich-text-view",
10009
+ registerRichTextView
10010
+ );
10011
+ const element = ref(null);
10012
+ return { componentName, element };
10013
+ },
10014
+ render() {
10015
+ if (isVue2) {
10016
+ return h(
10017
+ this.componentName,
10018
+ {
10019
+ ref: "element",
10020
+ attrs: {},
10021
+ class: "vvd-component",
10022
+ domProps: { ...this.view !== void 0 ? { view: this.view } : {} },
10023
+ on: {
10024
+ blur: (event) => {
10025
+ this.$emit("blur", event);
10026
+ },
10027
+ click: (event) => {
10028
+ this.$emit("click", event);
10029
+ },
10030
+ focus: (event) => {
10031
+ this.$emit("focus", event);
10032
+ },
10033
+ input: (event) => {
10034
+ this.$emit("input", event);
10035
+ },
10036
+ keydown: (event) => {
10037
+ this.$emit("keydown", event);
10038
+ },
10039
+ keyup: (event) => {
10040
+ this.$emit("keyup", event);
10041
+ }
10042
+ }
10043
+ },
10044
+ [this.$slots.default]
10045
+ );
10046
+ }
10047
+ return h(
10048
+ this.componentName,
10049
+ {
10050
+ ref: "element",
10051
+ class: "vvd-component",
10052
+ ...handleVue3Props({
10053
+ ...this.view !== void 0 ? { ".view": this.view } : {}
10054
+ }),
10055
+ onBlur: (event) => {
10056
+ this.$emit("blur", event);
10057
+ },
10058
+ onClick: (event) => {
10059
+ this.$emit("click", event);
10060
+ },
10061
+ onFocus: (event) => {
10062
+ this.$emit("focus", event);
10063
+ },
10064
+ onInput: (event) => {
10065
+ this.$emit("input", event);
10066
+ },
10067
+ onKeydown: (event) => {
10068
+ this.$emit("keydown", event);
10069
+ },
10070
+ onKeyup: (event) => {
10071
+ this.$emit("keyup", event);
10072
+ }
10073
+ },
10074
+ [
10075
+ // @ts-ignore
10076
+ this.$slots.default && this.$slots.default()
10077
+ ]
10078
+ );
10079
+ }
10080
+ });
10081
+
10082
+ const VSearchableSelect = defineComponent({
10083
+ name: "VSearchableSelect",
10084
+ model: isVue2 ? {
10085
+ prop: "modelValue",
10086
+ event: "update:modelValue"
10087
+ } : void 0,
10088
+ props: {
10089
+ appearance: {
10090
+ type: String,
10091
+ default: void 0
10092
+ },
10093
+ /**
10094
+ * Adds a clear button to the input field that clears the selected values.
10095
+ */
10096
+ clearable: { type: Boolean, default: void 0 },
10097
+ /**
10098
+ * Overrides the default "Deselect All" text
10099
+ */
10100
+ deselectAllText: { type: String, default: void 0 },
10101
+ /**
10102
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
10103
+ */
10104
+ disabled: { type: Boolean, default: void 0 },
10105
+ /**
10106
+ * Adds a "Select All" option at the top of the options list.
10107
+ */
10108
+ enableSelectAll: { type: Boolean, default: void 0 },
10109
+ /**
10110
+ * Provides a custom error message. Any current error state will be overridden.
10111
+ */
10112
+ errorText: { type: String, default: void 0 },
10113
+ externalTags: { type: Boolean, default: void 0 },
10114
+ fixedDropdown: { type: Boolean, default: void 0 },
10115
+ /**
10116
+ * Provides additional information to help the user enter the correct information.
10117
+ * To add HTML to the helper text, use the helper-text slot instead.
10118
+ */
10119
+ helperText: { type: String, default: void 0 },
10120
+ /**
10121
+ * A decorative icon the custom element should have.
10122
+ * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
10123
+ */
10124
+ icon: { type: String, default: void 0 },
10125
+ /**
10126
+ * Indicates the icon affix alignment.
10127
+ */
10128
+ iconTrailing: { type: Boolean, default: void 0 },
10129
+ /**
10130
+ * The default value of the element. This value sets the `value` property
10131
+ * only when the `value` property has not been explicitly set.
10132
+ */
10133
+ initialValue: { type: String, default: void 0 },
10134
+ /**
10135
+ * The label for the form element.
10136
+ */
10137
+ label: { type: String, default: void 0 },
10138
+ /**
10139
+ * Whether the component is in a loading state.
10140
+ */
10141
+ loading: { type: Boolean, default: void 0 },
10142
+ maxLines: { type: Number, default: void 0 },
10143
+ maxSelected: { type: Number, default: void 0 },
10144
+ multiple: { type: Boolean, default: void 0 },
10145
+ /**
10146
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
10147
+ */
10148
+ name: { type: String, default: void 0 },
10149
+ open: { type: Boolean, default: void 0 },
10150
+ /**
10151
+ * Function to filter the options to display.
10152
+ */
10153
+ optionFilter: {
10154
+ type: null,
10155
+ default: void 0
10156
+ },
10157
+ placeholder: { type: String, default: void 0 },
10158
+ /**
10159
+ * Require the field to be completed prior to form submission.
10160
+ */
10161
+ required: { type: Boolean, default: void 0 },
10162
+ /**
10163
+ * Overrides the default "Select All" text
10164
+ */
10165
+ selectAllText: { type: String, default: void 0 },
10166
+ shape: { type: String, default: void 0 },
10167
+ /**
10168
+ * Provides a custom success message. Any current error state will be overridden.
10169
+ */
10170
+ successText: { type: String, default: void 0 },
10171
+ /**
10172
+ * The current value of the element.
10173
+ */
10174
+ value: { type: String, default: void 0 },
10175
+ /**
10176
+ * The current value of the element.
10177
+ */
10178
+ modelValue: { type: String, default: void 0 },
10179
+ /**
10180
+ * List of selected option values.
10181
+ */
10182
+ values: { type: Array, default: void 0 }
10183
+ },
10184
+ emits: [
10185
+ /**
10186
+ * Fires when the element loses focus.
10187
+ * @type {FocusEvent}
10188
+ */
10189
+ "blur",
10190
+ /**
10191
+ * Fired when the selected options change
10192
+ * @type {CustomEvent<undefined>}
10193
+ */
10194
+ "change",
10195
+ /**
10196
+ * 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.
10197
+ * @type {MouseEvent}
10198
+ */
10199
+ "click",
10200
+ /**
10201
+ * Fires when the element receives focus.
10202
+ * @type {FocusEvent}
10203
+ */
10204
+ "focus",
10205
+ /**
10206
+ * Fired when the selected options change
10207
+ * @type {CustomEvent<undefined>}
10208
+ */
9684
10209
  "input",
9685
10210
  /**
9686
10211
  * Fires when a key is pressed.
@@ -9800,6 +10325,8 @@ const VSearchableSelect = defineComponent({
9800
10325
  },
9801
10326
  [
9802
10327
  this.$slots.default,
10328
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
10329
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
9803
10330
  // @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
9804
10331
  handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
9805
10332
  // @slot icon The preferred way to add an icon to the control.
@@ -9879,6 +10406,11 @@ const VSearchableSelect = defineComponent({
9879
10406
  [
9880
10407
  // @ts-ignore
9881
10408
  this.$slots.default && this.$slots.default(),
10409
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
10410
+ handleNamedSlotV3(
10411
+ "contextual-help",
10412
+ this.$slots["contextual-help"]
10413
+ ),
9882
10414
  // @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
9883
10415
  handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
9884
10416
  // @slot icon The preferred way to add an icon to the control.
@@ -10126,6 +10658,8 @@ const VSelect = defineComponent({
10126
10658
  },
10127
10659
  [
10128
10660
  this.$slots.default,
10661
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
10662
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
10129
10663
  // @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
10130
10664
  handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
10131
10665
  // @slot icon The preferred way to add an icon to the select control.
@@ -10186,6 +10720,11 @@ const VSelect = defineComponent({
10186
10720
  [
10187
10721
  // @ts-ignore
10188
10722
  this.$slots.default && this.$slots.default(),
10723
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
10724
+ handleNamedSlotV3(
10725
+ "contextual-help",
10726
+ this.$slots["contextual-help"]
10727
+ ),
10189
10728
  // @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
10190
10729
  handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
10191
10730
  // @slot icon The preferred way to add an icon to the select control.
@@ -11192,9 +11731,842 @@ const VSplitButton = defineComponent({
11192
11731
  },
11193
11732
  class: "vvd-component",
11194
11733
  on: {
11195
- "action-click": (event) => {
11196
- this.$emit("action-click", event);
11197
- },
11734
+ "action-click": (event) => {
11735
+ this.$emit("action-click", event);
11736
+ },
11737
+ blur: (event) => {
11738
+ this.$emit("blur", event);
11739
+ },
11740
+ click: (event) => {
11741
+ this.$emit("click", event);
11742
+ },
11743
+ focus: (event) => {
11744
+ this.$emit("focus", event);
11745
+ },
11746
+ "indicator-click": (event) => {
11747
+ this.$emit("indicator-click", event);
11748
+ },
11749
+ input: (event) => {
11750
+ this.$emit("input", event);
11751
+ },
11752
+ keydown: (event) => {
11753
+ this.$emit("keydown", event);
11754
+ },
11755
+ keyup: (event) => {
11756
+ this.$emit("keyup", event);
11757
+ }
11758
+ }
11759
+ },
11760
+ [
11761
+ this.$slots.default,
11762
+ // @slot icon The preferred way to add an icon to the component.
11763
+ handleNamedSlotV2("icon", this.$slots["icon"])
11764
+ ]
11765
+ );
11766
+ }
11767
+ return h(
11768
+ this.componentName,
11769
+ {
11770
+ ref: "element",
11771
+ class: "vvd-component",
11772
+ ...handleVue3Props({
11773
+ ...this.appearance !== void 0 ? { "^appearance": this.appearance } : {},
11774
+ ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
11775
+ ...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
11776
+ ...this.icon !== void 0 ? { "^icon": this.icon } : {},
11777
+ ...this.indicatorAriaLabel !== void 0 ? { "^indicator-aria-label": this.indicatorAriaLabel } : {},
11778
+ ...this.label !== void 0 ? { "^label": this.label } : {},
11779
+ ...this.shape !== void 0 ? { "^shape": this.shape } : {},
11780
+ ...this.size !== void 0 ? { "^size": this.size } : {},
11781
+ ...this.splitIndicator !== void 0 ? { "^split-indicator": this.splitIndicator } : {}
11782
+ }),
11783
+ onActionClick: (event) => {
11784
+ this.$emit("action-click", event);
11785
+ },
11786
+ onBlur: (event) => {
11787
+ this.$emit("blur", event);
11788
+ },
11789
+ onClick: (event) => {
11790
+ this.$emit("click", event);
11791
+ },
11792
+ onFocus: (event) => {
11793
+ this.$emit("focus", event);
11794
+ },
11795
+ onIndicatorClick: (event) => {
11796
+ this.$emit("indicator-click", event);
11797
+ },
11798
+ onInput: (event) => {
11799
+ this.$emit("input", event);
11800
+ },
11801
+ onKeydown: (event) => {
11802
+ this.$emit("keydown", event);
11803
+ },
11804
+ onKeyup: (event) => {
11805
+ this.$emit("keyup", event);
11806
+ }
11807
+ },
11808
+ [
11809
+ // @ts-ignore
11810
+ this.$slots.default && this.$slots.default(),
11811
+ // @slot icon The preferred way to add an icon to the component.
11812
+ handleNamedSlotV3("icon", this.$slots["icon"])
11813
+ ]
11814
+ );
11815
+ }
11816
+ });
11817
+
11818
+ const VSwitch = defineComponent({
11819
+ name: "VSwitch",
11820
+ model: isVue2 ? {
11821
+ prop: "modelValue",
11822
+ event: "update:modelValue"
11823
+ } : void 0,
11824
+ props: {
11825
+ /**
11826
+ * The current checkedness of the element.
11827
+ */
11828
+ checked: { type: Boolean, default: void 0 },
11829
+ /**
11830
+ * The current checkedness of the element.
11831
+ */
11832
+ modelValue: { type: Boolean, default: void 0 },
11833
+ /**
11834
+ * Indicates the switch's connotation.
11835
+ */
11836
+ connotation: {
11837
+ type: String,
11838
+ default: void 0
11839
+ },
11840
+ /**
11841
+ * The default checkedness of the element. This value sets the `checked` property
11842
+ * only when the `checked` property has not been explicitly set.
11843
+ */
11844
+ defaultChecked: { type: Boolean, default: void 0 },
11845
+ /**
11846
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
11847
+ */
11848
+ disabled: { type: Boolean, default: void 0 },
11849
+ /**
11850
+ * The default value of the element. This value sets the `value` property
11851
+ * only when the `value` property has not been explicitly set.
11852
+ */
11853
+ initialValue: { type: String, default: void 0 },
11854
+ /**
11855
+ * Indicates the switch's label.
11856
+ */
11857
+ label: { type: String, default: void 0 },
11858
+ /**
11859
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
11860
+ */
11861
+ name: { type: String, default: void 0 },
11862
+ /**
11863
+ * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
11864
+ */
11865
+ readonly: { type: Boolean, default: void 0 },
11866
+ /**
11867
+ * Require the field to be completed prior to form submission.
11868
+ */
11869
+ required: { type: Boolean, default: void 0 },
11870
+ /**
11871
+ * The current value of the element.
11872
+ */
11873
+ value: { type: String, default: void 0 }
11874
+ },
11875
+ emits: [
11876
+ /**
11877
+ * Fires when the element loses focus.
11878
+ * @type {FocusEvent}
11879
+ */
11880
+ "blur",
11881
+ /**
11882
+ * Emits a custom change event when the checked state changes
11883
+ * @type {CustomEvent<undefined>}
11884
+ */
11885
+ "change",
11886
+ /**
11887
+ * 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.
11888
+ * @type {MouseEvent}
11889
+ */
11890
+ "click",
11891
+ /**
11892
+ * Fires when the element receives focus.
11893
+ * @type {FocusEvent}
11894
+ */
11895
+ "focus",
11896
+ /**
11897
+ * Fires when the value of an element has been changed.
11898
+ * @type {Event}
11899
+ */
11900
+ "input",
11901
+ /**
11902
+ * Fires when a key is pressed.
11903
+ * @type {KeyboardEvent}
11904
+ */
11905
+ "keydown",
11906
+ /**
11907
+ * Fires when a key is released.
11908
+ * @type {KeyboardEvent}
11909
+ */
11910
+ "keyup",
11911
+ /**
11912
+ * Fires when the modelValue value changes
11913
+ * @type {boolean}
11914
+ */
11915
+ "update:modelValue"
11916
+ ],
11917
+ methods: {
11918
+ /**
11919
+ * Return the current validity of the element.
11920
+ */
11921
+ checkValidity() {
11922
+ return this.element?.checkValidity();
11923
+ },
11924
+ /**
11925
+ * Return the current validity of the element.
11926
+ * If false, fires an invalid event at the element.
11927
+ */
11928
+ reportValidity() {
11929
+ return this.element?.reportValidity();
11930
+ }
11931
+ },
11932
+ setup(props, ctx) {
11933
+ const componentName = registerComponent("switch", registerSwitch);
11934
+ const element = ref(null);
11935
+ return { componentName, element };
11936
+ },
11937
+ render() {
11938
+ if (isVue2) {
11939
+ return h(
11940
+ this.componentName,
11941
+ {
11942
+ ref: "element",
11943
+ attrs: {
11944
+ ...(this.modelValue ?? this.checked) !== void 0 ? { "current-checked": this.modelValue ?? this.checked } : {},
11945
+ ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
11946
+ ...this.defaultChecked !== void 0 ? { checked: this.defaultChecked } : {},
11947
+ ...this.disabled !== void 0 ? { disabled: this.disabled } : {},
11948
+ ...this.initialValue !== void 0 ? { value: this.initialValue } : {},
11949
+ ...this.label !== void 0 ? { label: this.label } : {},
11950
+ ...this.name !== void 0 ? { name: this.name } : {},
11951
+ ...this.readonly !== void 0 ? { readonly: this.readonly } : {},
11952
+ ...this.required !== void 0 ? { required: this.required } : {},
11953
+ ...this.value !== void 0 ? { "current-value": this.value } : {}
11954
+ },
11955
+ class: "vvd-component",
11956
+ on: {
11957
+ blur: (event) => {
11958
+ this.$emit("blur", event);
11959
+ },
11960
+ change: (event) => {
11961
+ this.$emit("update:modelValue", event.currentTarget.checked);
11962
+ this.$emit("change", event);
11963
+ },
11964
+ click: (event) => {
11965
+ this.$emit("click", event);
11966
+ },
11967
+ focus: (event) => {
11968
+ this.$emit("focus", event);
11969
+ },
11970
+ input: (event) => {
11971
+ this.$emit("input", event);
11972
+ },
11973
+ keydown: (event) => {
11974
+ this.$emit("keydown", event);
11975
+ },
11976
+ keyup: (event) => {
11977
+ this.$emit("keyup", event);
11978
+ }
11979
+ }
11980
+ },
11981
+ [this.$slots.default]
11982
+ );
11983
+ }
11984
+ return h(
11985
+ this.componentName,
11986
+ {
11987
+ ref: "element",
11988
+ class: "vvd-component",
11989
+ ...handleVue3Props({
11990
+ ...(this.modelValue ?? this.checked) !== void 0 && (this.modelValue ?? this.checked) !== false ? { "^current-checked": this.modelValue ?? this.checked } : {},
11991
+ ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
11992
+ ...this.defaultChecked !== void 0 && this.defaultChecked !== false ? { "^checked": this.defaultChecked } : {},
11993
+ ...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
11994
+ ...this.initialValue !== void 0 ? { "^value": this.initialValue } : {},
11995
+ ...this.label !== void 0 ? { "^label": this.label } : {},
11996
+ ...this.name !== void 0 ? { "^name": this.name } : {},
11997
+ ...this.readonly !== void 0 && this.readonly !== false ? { "^readonly": this.readonly } : {},
11998
+ ...this.required !== void 0 && this.required !== false ? { "^required": this.required } : {},
11999
+ ...this.value !== void 0 ? { "^current-value": this.value } : {}
12000
+ }),
12001
+ onBlur: (event) => {
12002
+ this.$emit("blur", event);
12003
+ },
12004
+ onChange: (event) => {
12005
+ this.$emit("update:modelValue", event.currentTarget.checked);
12006
+ this.$emit("change", event);
12007
+ },
12008
+ onClick: (event) => {
12009
+ this.$emit("click", event);
12010
+ },
12011
+ onFocus: (event) => {
12012
+ this.$emit("focus", event);
12013
+ },
12014
+ onInput: (event) => {
12015
+ this.$emit("input", event);
12016
+ },
12017
+ onKeydown: (event) => {
12018
+ this.$emit("keydown", event);
12019
+ },
12020
+ onKeyup: (event) => {
12021
+ this.$emit("keyup", event);
12022
+ }
12023
+ },
12024
+ [
12025
+ // @ts-ignore
12026
+ this.$slots.default && this.$slots.default()
12027
+ ]
12028
+ );
12029
+ }
12030
+ });
12031
+
12032
+ const VTab = defineComponent({
12033
+ name: "VTab",
12034
+ props: {
12035
+ /**
12036
+ * The connotation the tab should have.
12037
+ */
12038
+ connotation: {
12039
+ type: String,
12040
+ default: void 0
12041
+ },
12042
+ /**
12043
+ * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.
12044
+ */
12045
+ disabled: { type: Boolean, default: void 0 },
12046
+ /**
12047
+ * A decorative icon the custom element should have.
12048
+ * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
12049
+ */
12050
+ icon: { type: String, default: void 0 },
12051
+ /**
12052
+ * Indicates the icon affix alignment.
12053
+ */
12054
+ iconTrailing: { type: Boolean, default: void 0 },
12055
+ /**
12056
+ * Indicates the tab's label.
12057
+ */
12058
+ label: { type: String, default: void 0 },
12059
+ /**
12060
+ * Adds a close button
12061
+ */
12062
+ removable: { type: Boolean, default: void 0 },
12063
+ /**
12064
+ * The shape the tab should have.
12065
+ */
12066
+ shape: {
12067
+ type: String,
12068
+ default: void 0
12069
+ },
12070
+ tabIndex: { type: Number, default: void 0 }
12071
+ },
12072
+ emits: [
12073
+ /**
12074
+ * Fires when the element loses focus.
12075
+ * @type {FocusEvent}
12076
+ */
12077
+ "blur",
12078
+ /**
12079
+ * 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.
12080
+ * @type {MouseEvent}
12081
+ */
12082
+ "click",
12083
+ /**
12084
+ * Fires when the element receives focus.
12085
+ * @type {FocusEvent}
12086
+ */
12087
+ "focus",
12088
+ /**
12089
+ * Fires when the value of an element has been changed.
12090
+ * @type {Event}
12091
+ */
12092
+ "input",
12093
+ /**
12094
+ * Fires when a key is pressed.
12095
+ * @type {KeyboardEvent}
12096
+ */
12097
+ "keydown",
12098
+ /**
12099
+ * Fires when a key is released.
12100
+ * @type {KeyboardEvent}
12101
+ */
12102
+ "keyup"
12103
+ ],
12104
+ methods: {
12105
+ _handleCloseClick(e) {
12106
+ return this.element?._handleCloseClick(e);
12107
+ },
12108
+ _onKeyDown(e) {
12109
+ return this.element?._onKeyDown(e);
12110
+ }
12111
+ },
12112
+ setup(props, ctx) {
12113
+ const componentName = registerComponent("tab", registerTab);
12114
+ const element = ref(null);
12115
+ return { componentName, element };
12116
+ },
12117
+ render() {
12118
+ if (isVue2) {
12119
+ return h(
12120
+ this.componentName,
12121
+ {
12122
+ ref: "element",
12123
+ attrs: {
12124
+ ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
12125
+ ...this.disabled !== void 0 ? { disabled: this.disabled } : {},
12126
+ ...this.icon !== void 0 ? { icon: this.icon } : {},
12127
+ ...this.iconTrailing !== void 0 ? { "icon-trailing": this.iconTrailing } : {},
12128
+ ...this.label !== void 0 ? { label: this.label } : {},
12129
+ ...this.removable !== void 0 ? { removable: this.removable } : {},
12130
+ ...this.shape !== void 0 ? { shape: this.shape } : {},
12131
+ ...this.tabIndex !== void 0 ? { tabIndex: this.tabIndex } : {}
12132
+ },
12133
+ class: "vvd-component",
12134
+ on: {
12135
+ blur: (event) => {
12136
+ this.$emit("blur", event);
12137
+ },
12138
+ click: (event) => {
12139
+ this.$emit("click", event);
12140
+ },
12141
+ focus: (event) => {
12142
+ this.$emit("focus", event);
12143
+ },
12144
+ input: (event) => {
12145
+ this.$emit("input", event);
12146
+ },
12147
+ keydown: (event) => {
12148
+ this.$emit("keydown", event);
12149
+ },
12150
+ keyup: (event) => {
12151
+ this.$emit("keyup", event);
12152
+ }
12153
+ }
12154
+ },
12155
+ [
12156
+ this.$slots.default,
12157
+ // @slot icon The preferred way to add an icon to the component.
12158
+ handleNamedSlotV2("icon", this.$slots["icon"])
12159
+ ]
12160
+ );
12161
+ }
12162
+ return h(
12163
+ this.componentName,
12164
+ {
12165
+ ref: "element",
12166
+ class: "vvd-component",
12167
+ ...handleVue3Props({
12168
+ ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
12169
+ ...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
12170
+ ...this.icon !== void 0 ? { "^icon": this.icon } : {},
12171
+ ...this.iconTrailing !== void 0 && this.iconTrailing !== false ? { "^icon-trailing": this.iconTrailing } : {},
12172
+ ...this.label !== void 0 ? { "^label": this.label } : {},
12173
+ ...this.removable !== void 0 && this.removable !== false ? { "^removable": this.removable } : {},
12174
+ ...this.shape !== void 0 ? { "^shape": this.shape } : {},
12175
+ ...this.tabIndex !== void 0 ? { "^tabIndex": this.tabIndex } : {}
12176
+ }),
12177
+ onBlur: (event) => {
12178
+ this.$emit("blur", event);
12179
+ },
12180
+ onClick: (event) => {
12181
+ this.$emit("click", event);
12182
+ },
12183
+ onFocus: (event) => {
12184
+ this.$emit("focus", event);
12185
+ },
12186
+ onInput: (event) => {
12187
+ this.$emit("input", event);
12188
+ },
12189
+ onKeydown: (event) => {
12190
+ this.$emit("keydown", event);
12191
+ },
12192
+ onKeyup: (event) => {
12193
+ this.$emit("keyup", event);
12194
+ }
12195
+ },
12196
+ [
12197
+ // @ts-ignore
12198
+ this.$slots.default && this.$slots.default(),
12199
+ // @slot icon The preferred way to add an icon to the component.
12200
+ handleNamedSlotV3("icon", this.$slots["icon"])
12201
+ ]
12202
+ );
12203
+ }
12204
+ });
12205
+
12206
+ const VTabPanel = defineComponent({
12207
+ name: "VTabPanel",
12208
+ emits: [
12209
+ /**
12210
+ * Fires when the element loses focus.
12211
+ * @type {FocusEvent}
12212
+ */
12213
+ "blur",
12214
+ /**
12215
+ * 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.
12216
+ * @type {MouseEvent}
12217
+ */
12218
+ "click",
12219
+ /**
12220
+ * Fires when the element receives focus.
12221
+ * @type {FocusEvent}
12222
+ */
12223
+ "focus",
12224
+ /**
12225
+ * Fires when the value of an element has been changed.
12226
+ * @type {Event}
12227
+ */
12228
+ "input",
12229
+ /**
12230
+ * Fires when a key is pressed.
12231
+ * @type {KeyboardEvent}
12232
+ */
12233
+ "keydown",
12234
+ /**
12235
+ * Fires when a key is released.
12236
+ * @type {KeyboardEvent}
12237
+ */
12238
+ "keyup"
12239
+ ],
12240
+ methods: {},
12241
+ setup(props, ctx) {
12242
+ const componentName = registerComponent("tab-panel", registerTabPanel);
12243
+ const element = ref(null);
12244
+ return { componentName, element };
12245
+ },
12246
+ render() {
12247
+ if (isVue2) {
12248
+ return h(
12249
+ this.componentName,
12250
+ {
12251
+ ref: "element",
12252
+ attrs: {},
12253
+ class: "vvd-component",
12254
+ on: {
12255
+ blur: (event) => {
12256
+ this.$emit("blur", event);
12257
+ },
12258
+ click: (event) => {
12259
+ this.$emit("click", event);
12260
+ },
12261
+ focus: (event) => {
12262
+ this.$emit("focus", event);
12263
+ },
12264
+ input: (event) => {
12265
+ this.$emit("input", event);
12266
+ },
12267
+ keydown: (event) => {
12268
+ this.$emit("keydown", event);
12269
+ },
12270
+ keyup: (event) => {
12271
+ this.$emit("keyup", event);
12272
+ }
12273
+ }
12274
+ },
12275
+ [this.$slots.default]
12276
+ );
12277
+ }
12278
+ return h(
12279
+ this.componentName,
12280
+ {
12281
+ ref: "element",
12282
+ class: "vvd-component",
12283
+ ...handleVue3Props({}),
12284
+ onBlur: (event) => {
12285
+ this.$emit("blur", event);
12286
+ },
12287
+ onClick: (event) => {
12288
+ this.$emit("click", event);
12289
+ },
12290
+ onFocus: (event) => {
12291
+ this.$emit("focus", event);
12292
+ },
12293
+ onInput: (event) => {
12294
+ this.$emit("input", event);
12295
+ },
12296
+ onKeydown: (event) => {
12297
+ this.$emit("keydown", event);
12298
+ },
12299
+ onKeyup: (event) => {
12300
+ this.$emit("keyup", event);
12301
+ }
12302
+ },
12303
+ [
12304
+ // @ts-ignore
12305
+ this.$slots.default && this.$slots.default()
12306
+ ]
12307
+ );
12308
+ }
12309
+ });
12310
+
12311
+ const VTable = defineComponent({
12312
+ name: "VTable",
12313
+ emits: [
12314
+ /**
12315
+ * Fires when the element loses focus.
12316
+ * @type {FocusEvent}
12317
+ */
12318
+ "blur",
12319
+ /**
12320
+ * 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.
12321
+ * @type {MouseEvent}
12322
+ */
12323
+ "click",
12324
+ /**
12325
+ * Fires when the element receives focus.
12326
+ * @type {FocusEvent}
12327
+ */
12328
+ "focus",
12329
+ /**
12330
+ * Fires when the value of an element has been changed.
12331
+ * @type {Event}
12332
+ */
12333
+ "input",
12334
+ /**
12335
+ * Fires when a key is pressed.
12336
+ * @type {KeyboardEvent}
12337
+ */
12338
+ "keydown",
12339
+ /**
12340
+ * Fires when a key is released.
12341
+ * @type {KeyboardEvent}
12342
+ */
12343
+ "keyup"
12344
+ ],
12345
+ methods: {},
12346
+ setup(props, ctx) {
12347
+ const componentName = registerComponent("table", registerDataTable);
12348
+ const element = ref(null);
12349
+ return { componentName, element };
12350
+ },
12351
+ render() {
12352
+ if (isVue2) {
12353
+ return h(
12354
+ this.componentName,
12355
+ {
12356
+ ref: "element",
12357
+ attrs: {},
12358
+ class: "vvd-component",
12359
+ on: {
12360
+ blur: (event) => {
12361
+ this.$emit("blur", event);
12362
+ },
12363
+ click: (event) => {
12364
+ this.$emit("click", event);
12365
+ },
12366
+ focus: (event) => {
12367
+ this.$emit("focus", event);
12368
+ },
12369
+ input: (event) => {
12370
+ this.$emit("input", event);
12371
+ },
12372
+ keydown: (event) => {
12373
+ this.$emit("keydown", event);
12374
+ },
12375
+ keyup: (event) => {
12376
+ this.$emit("keyup", event);
12377
+ }
12378
+ }
12379
+ },
12380
+ [this.$slots.default]
12381
+ );
12382
+ }
12383
+ return h(
12384
+ this.componentName,
12385
+ {
12386
+ ref: "element",
12387
+ class: "vvd-component",
12388
+ ...handleVue3Props({}),
12389
+ onBlur: (event) => {
12390
+ this.$emit("blur", event);
12391
+ },
12392
+ onClick: (event) => {
12393
+ this.$emit("click", event);
12394
+ },
12395
+ onFocus: (event) => {
12396
+ this.$emit("focus", event);
12397
+ },
12398
+ onInput: (event) => {
12399
+ this.$emit("input", event);
12400
+ },
12401
+ onKeydown: (event) => {
12402
+ this.$emit("keydown", event);
12403
+ },
12404
+ onKeyup: (event) => {
12405
+ this.$emit("keyup", event);
12406
+ }
12407
+ },
12408
+ [
12409
+ // @ts-ignore
12410
+ this.$slots.default && this.$slots.default()
12411
+ ]
12412
+ );
12413
+ }
12414
+ });
12415
+
12416
+ const VTableBody = defineComponent({
12417
+ name: "VTableBody",
12418
+ emits: [
12419
+ /**
12420
+ * Fires when the element loses focus.
12421
+ * @type {FocusEvent}
12422
+ */
12423
+ "blur",
12424
+ /**
12425
+ * 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.
12426
+ * @type {MouseEvent}
12427
+ */
12428
+ "click",
12429
+ /**
12430
+ * Fires when the element receives focus.
12431
+ * @type {FocusEvent}
12432
+ */
12433
+ "focus",
12434
+ /**
12435
+ * Fires when the value of an element has been changed.
12436
+ * @type {Event}
12437
+ */
12438
+ "input",
12439
+ /**
12440
+ * Fires when a key is pressed.
12441
+ * @type {KeyboardEvent}
12442
+ */
12443
+ "keydown",
12444
+ /**
12445
+ * Fires when a key is released.
12446
+ * @type {KeyboardEvent}
12447
+ */
12448
+ "keyup"
12449
+ ],
12450
+ methods: {},
12451
+ setup(props, ctx) {
12452
+ const componentName = registerComponent("table-body", registerDataTable);
12453
+ const element = ref(null);
12454
+ return { componentName, element };
12455
+ },
12456
+ render() {
12457
+ if (isVue2) {
12458
+ return h(
12459
+ this.componentName,
12460
+ {
12461
+ ref: "element",
12462
+ attrs: {},
12463
+ class: "vvd-component",
12464
+ on: {
12465
+ blur: (event) => {
12466
+ this.$emit("blur", event);
12467
+ },
12468
+ click: (event) => {
12469
+ this.$emit("click", event);
12470
+ },
12471
+ focus: (event) => {
12472
+ this.$emit("focus", event);
12473
+ },
12474
+ input: (event) => {
12475
+ this.$emit("input", event);
12476
+ },
12477
+ keydown: (event) => {
12478
+ this.$emit("keydown", event);
12479
+ },
12480
+ keyup: (event) => {
12481
+ this.$emit("keyup", event);
12482
+ }
12483
+ }
12484
+ },
12485
+ [this.$slots.default]
12486
+ );
12487
+ }
12488
+ return h(
12489
+ this.componentName,
12490
+ {
12491
+ ref: "element",
12492
+ class: "vvd-component",
12493
+ ...handleVue3Props({}),
12494
+ onBlur: (event) => {
12495
+ this.$emit("blur", event);
12496
+ },
12497
+ onClick: (event) => {
12498
+ this.$emit("click", event);
12499
+ },
12500
+ onFocus: (event) => {
12501
+ this.$emit("focus", event);
12502
+ },
12503
+ onInput: (event) => {
12504
+ this.$emit("input", event);
12505
+ },
12506
+ onKeydown: (event) => {
12507
+ this.$emit("keydown", event);
12508
+ },
12509
+ onKeyup: (event) => {
12510
+ this.$emit("keyup", event);
12511
+ }
12512
+ },
12513
+ [
12514
+ // @ts-ignore
12515
+ this.$slots.default && this.$slots.default()
12516
+ ]
12517
+ );
12518
+ }
12519
+ });
12520
+
12521
+ const VTableCell = defineComponent({
12522
+ name: "VTableCell",
12523
+ emits: [
12524
+ /**
12525
+ * Fires when the element loses focus.
12526
+ * @type {FocusEvent}
12527
+ */
12528
+ "blur",
12529
+ /**
12530
+ * 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.
12531
+ * @type {MouseEvent}
12532
+ */
12533
+ "click",
12534
+ /**
12535
+ * Fires when the element receives focus.
12536
+ * @type {FocusEvent}
12537
+ */
12538
+ "focus",
12539
+ /**
12540
+ * Fires when the value of an element has been changed.
12541
+ * @type {Event}
12542
+ */
12543
+ "input",
12544
+ /**
12545
+ * Fires when a key is pressed.
12546
+ * @type {KeyboardEvent}
12547
+ */
12548
+ "keydown",
12549
+ /**
12550
+ * Fires when a key is released.
12551
+ * @type {KeyboardEvent}
12552
+ */
12553
+ "keyup"
12554
+ ],
12555
+ methods: {},
12556
+ setup(props, ctx) {
12557
+ const componentName = registerComponent("table-cell", registerDataTable);
12558
+ const element = ref(null);
12559
+ return { componentName, element };
12560
+ },
12561
+ render() {
12562
+ if (isVue2) {
12563
+ return h(
12564
+ this.componentName,
12565
+ {
12566
+ ref: "element",
12567
+ attrs: {},
12568
+ class: "vvd-component",
12569
+ on: {
11198
12570
  blur: (event) => {
11199
12571
  this.$emit("blur", event);
11200
12572
  },
@@ -11204,9 +12576,6 @@ const VSplitButton = defineComponent({
11204
12576
  focus: (event) => {
11205
12577
  this.$emit("focus", event);
11206
12578
  },
11207
- "indicator-click": (event) => {
11208
- this.$emit("indicator-click", event);
11209
- },
11210
12579
  input: (event) => {
11211
12580
  this.$emit("input", event);
11212
12581
  },
@@ -11218,11 +12587,7 @@ const VSplitButton = defineComponent({
11218
12587
  }
11219
12588
  }
11220
12589
  },
11221
- [
11222
- this.$slots.default,
11223
- // @slot icon The preferred way to add an icon to the component.
11224
- handleNamedSlotV2("icon", this.$slots["icon"])
11225
- ]
12590
+ [this.$slots.default]
11226
12591
  );
11227
12592
  }
11228
12593
  return h(
@@ -11230,20 +12595,7 @@ const VSplitButton = defineComponent({
11230
12595
  {
11231
12596
  ref: "element",
11232
12597
  class: "vvd-component",
11233
- ...handleVue3Props({
11234
- ...this.appearance !== void 0 ? { "^appearance": this.appearance } : {},
11235
- ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
11236
- ...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
11237
- ...this.icon !== void 0 ? { "^icon": this.icon } : {},
11238
- ...this.indicatorAriaLabel !== void 0 ? { "^indicator-aria-label": this.indicatorAriaLabel } : {},
11239
- ...this.label !== void 0 ? { "^label": this.label } : {},
11240
- ...this.shape !== void 0 ? { "^shape": this.shape } : {},
11241
- ...this.size !== void 0 ? { "^size": this.size } : {},
11242
- ...this.splitIndicator !== void 0 ? { "^split-indicator": this.splitIndicator } : {}
11243
- }),
11244
- onActionClick: (event) => {
11245
- this.$emit("action-click", event);
11246
- },
12598
+ ...handleVue3Props({}),
11247
12599
  onBlur: (event) => {
11248
12600
  this.$emit("blur", event);
11249
12601
  },
@@ -11253,9 +12605,6 @@ const VSplitButton = defineComponent({
11253
12605
  onFocus: (event) => {
11254
12606
  this.$emit("focus", event);
11255
12607
  },
11256
- onIndicatorClick: (event) => {
11257
- this.$emit("indicator-click", event);
11258
- },
11259
12608
  onInput: (event) => {
11260
12609
  this.$emit("input", event);
11261
12610
  },
@@ -11268,82 +12617,20 @@ const VSplitButton = defineComponent({
11268
12617
  },
11269
12618
  [
11270
12619
  // @ts-ignore
11271
- this.$slots.default && this.$slots.default(),
11272
- // @slot icon The preferred way to add an icon to the component.
11273
- handleNamedSlotV3("icon", this.$slots["icon"])
12620
+ this.$slots.default && this.$slots.default()
11274
12621
  ]
11275
12622
  );
11276
12623
  }
11277
12624
  });
11278
12625
 
11279
- const VSwitch = defineComponent({
11280
- name: "VSwitch",
11281
- model: isVue2 ? {
11282
- prop: "modelValue",
11283
- event: "update:modelValue"
11284
- } : void 0,
11285
- props: {
11286
- /**
11287
- * The current checkedness of the element.
11288
- */
11289
- checked: { type: Boolean, default: void 0 },
11290
- /**
11291
- * The current checkedness of the element.
11292
- */
11293
- modelValue: { type: Boolean, default: void 0 },
11294
- /**
11295
- * Indicates the switch's connotation.
11296
- */
11297
- connotation: {
11298
- type: String,
11299
- default: void 0
11300
- },
11301
- /**
11302
- * The default checkedness of the element. This value sets the `checked` property
11303
- * only when the `checked` property has not been explicitly set.
11304
- */
11305
- defaultChecked: { type: Boolean, default: void 0 },
11306
- /**
11307
- * Sets the element's disabled state. A disabled element will not be included during form submission.
11308
- */
11309
- disabled: { type: Boolean, default: void 0 },
11310
- /**
11311
- * The default value of the element. This value sets the `value` property
11312
- * only when the `value` property has not been explicitly set.
11313
- */
11314
- initialValue: { type: String, default: void 0 },
11315
- /**
11316
- * Indicates the switch's label.
11317
- */
11318
- label: { type: String, default: void 0 },
11319
- /**
11320
- * The name of the element. This element's value will be surfaced during form submission under the provided name.
11321
- */
11322
- name: { type: String, default: void 0 },
11323
- /**
11324
- * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
11325
- */
11326
- readonly: { type: Boolean, default: void 0 },
11327
- /**
11328
- * Require the field to be completed prior to form submission.
11329
- */
11330
- required: { type: Boolean, default: void 0 },
11331
- /**
11332
- * The current value of the element.
11333
- */
11334
- value: { type: String, default: void 0 }
11335
- },
12626
+ const VTableHead = defineComponent({
12627
+ name: "VTableHead",
11336
12628
  emits: [
11337
12629
  /**
11338
12630
  * Fires when the element loses focus.
11339
12631
  * @type {FocusEvent}
11340
12632
  */
11341
12633
  "blur",
11342
- /**
11343
- * Emits a custom change event when the checked state changes
11344
- * @type {CustomEvent<undefined>}
11345
- */
11346
- "change",
11347
12634
  /**
11348
12635
  * 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.
11349
12636
  * @type {MouseEvent}
@@ -11368,30 +12655,11 @@ const VSwitch = defineComponent({
11368
12655
  * Fires when a key is released.
11369
12656
  * @type {KeyboardEvent}
11370
12657
  */
11371
- "keyup",
11372
- /**
11373
- * Fires when the modelValue value changes
11374
- * @type {boolean}
11375
- */
11376
- "update:modelValue"
12658
+ "keyup"
11377
12659
  ],
11378
- methods: {
11379
- /**
11380
- * Return the current validity of the element.
11381
- */
11382
- checkValidity() {
11383
- return this.element?.checkValidity();
11384
- },
11385
- /**
11386
- * Return the current validity of the element.
11387
- * If false, fires an invalid event at the element.
11388
- */
11389
- reportValidity() {
11390
- return this.element?.reportValidity();
11391
- }
11392
- },
12660
+ methods: {},
11393
12661
  setup(props, ctx) {
11394
- const componentName = registerComponent("switch", registerSwitch);
12662
+ const componentName = registerComponent("table-head", registerDataTable);
11395
12663
  const element = ref(null);
11396
12664
  return { componentName, element };
11397
12665
  },
@@ -11401,27 +12669,12 @@ const VSwitch = defineComponent({
11401
12669
  this.componentName,
11402
12670
  {
11403
12671
  ref: "element",
11404
- attrs: {
11405
- ...(this.modelValue ?? this.checked) !== void 0 ? { "current-checked": this.modelValue ?? this.checked } : {},
11406
- ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
11407
- ...this.defaultChecked !== void 0 ? { checked: this.defaultChecked } : {},
11408
- ...this.disabled !== void 0 ? { disabled: this.disabled } : {},
11409
- ...this.initialValue !== void 0 ? { value: this.initialValue } : {},
11410
- ...this.label !== void 0 ? { label: this.label } : {},
11411
- ...this.name !== void 0 ? { name: this.name } : {},
11412
- ...this.readonly !== void 0 ? { readonly: this.readonly } : {},
11413
- ...this.required !== void 0 ? { required: this.required } : {},
11414
- ...this.value !== void 0 ? { "current-value": this.value } : {}
11415
- },
12672
+ attrs: {},
11416
12673
  class: "vvd-component",
11417
12674
  on: {
11418
12675
  blur: (event) => {
11419
12676
  this.$emit("blur", event);
11420
12677
  },
11421
- change: (event) => {
11422
- this.$emit("update:modelValue", event.currentTarget.checked);
11423
- this.$emit("change", event);
11424
- },
11425
12678
  click: (event) => {
11426
12679
  this.$emit("click", event);
11427
12680
  },
@@ -11447,25 +12700,10 @@ const VSwitch = defineComponent({
11447
12700
  {
11448
12701
  ref: "element",
11449
12702
  class: "vvd-component",
11450
- ...handleVue3Props({
11451
- ...(this.modelValue ?? this.checked) !== void 0 && (this.modelValue ?? this.checked) !== false ? { "^current-checked": this.modelValue ?? this.checked } : {},
11452
- ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
11453
- ...this.defaultChecked !== void 0 && this.defaultChecked !== false ? { "^checked": this.defaultChecked } : {},
11454
- ...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
11455
- ...this.initialValue !== void 0 ? { "^value": this.initialValue } : {},
11456
- ...this.label !== void 0 ? { "^label": this.label } : {},
11457
- ...this.name !== void 0 ? { "^name": this.name } : {},
11458
- ...this.readonly !== void 0 && this.readonly !== false ? { "^readonly": this.readonly } : {},
11459
- ...this.required !== void 0 && this.required !== false ? { "^required": this.required } : {},
11460
- ...this.value !== void 0 ? { "^current-value": this.value } : {}
11461
- }),
12703
+ ...handleVue3Props({}),
11462
12704
  onBlur: (event) => {
11463
12705
  this.$emit("blur", event);
11464
12706
  },
11465
- onChange: (event) => {
11466
- this.$emit("update:modelValue", event.currentTarget.checked);
11467
- this.$emit("change", event);
11468
- },
11469
12707
  onClick: (event) => {
11470
12708
  this.$emit("click", event);
11471
12709
  },
@@ -11490,46 +12728,8 @@ const VSwitch = defineComponent({
11490
12728
  }
11491
12729
  });
11492
12730
 
11493
- const VTab = defineComponent({
11494
- name: "VTab",
11495
- props: {
11496
- /**
11497
- * The connotation the tab should have.
11498
- */
11499
- connotation: {
11500
- type: String,
11501
- default: void 0
11502
- },
11503
- /**
11504
- * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.
11505
- */
11506
- disabled: { type: Boolean, default: void 0 },
11507
- /**
11508
- * A decorative icon the custom element should have.
11509
- * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
11510
- */
11511
- icon: { type: String, default: void 0 },
11512
- /**
11513
- * Indicates the icon affix alignment.
11514
- */
11515
- iconTrailing: { type: Boolean, default: void 0 },
11516
- /**
11517
- * Indicates the tab's label.
11518
- */
11519
- label: { type: String, default: void 0 },
11520
- /**
11521
- * Adds a close button
11522
- */
11523
- removable: { type: Boolean, default: void 0 },
11524
- /**
11525
- * The shape the tab should have.
11526
- */
11527
- shape: {
11528
- type: String,
11529
- default: void 0
11530
- },
11531
- tabIndex: { type: Number, default: void 0 }
11532
- },
12731
+ const VTableHeaderCell = defineComponent({
12732
+ name: "VTableHeaderCell",
11533
12733
  emits: [
11534
12734
  /**
11535
12735
  * Fires when the element loses focus.
@@ -11562,16 +12762,12 @@ const VTab = defineComponent({
11562
12762
  */
11563
12763
  "keyup"
11564
12764
  ],
11565
- methods: {
11566
- _handleCloseClick(e) {
11567
- return this.element?._handleCloseClick(e);
11568
- },
11569
- _onKeyDown(e) {
11570
- return this.element?._onKeyDown(e);
11571
- }
11572
- },
12765
+ methods: {},
11573
12766
  setup(props, ctx) {
11574
- const componentName = registerComponent("tab", registerTab);
12767
+ const componentName = registerComponent(
12768
+ "table-header-cell",
12769
+ registerDataTable
12770
+ );
11575
12771
  const element = ref(null);
11576
12772
  return { componentName, element };
11577
12773
  },
@@ -11581,16 +12777,7 @@ const VTab = defineComponent({
11581
12777
  this.componentName,
11582
12778
  {
11583
12779
  ref: "element",
11584
- attrs: {
11585
- ...this.connotation !== void 0 ? { connotation: this.connotation } : {},
11586
- ...this.disabled !== void 0 ? { disabled: this.disabled } : {},
11587
- ...this.icon !== void 0 ? { icon: this.icon } : {},
11588
- ...this.iconTrailing !== void 0 ? { "icon-trailing": this.iconTrailing } : {},
11589
- ...this.label !== void 0 ? { label: this.label } : {},
11590
- ...this.removable !== void 0 ? { removable: this.removable } : {},
11591
- ...this.shape !== void 0 ? { shape: this.shape } : {},
11592
- ...this.tabIndex !== void 0 ? { tabIndex: this.tabIndex } : {}
11593
- },
12780
+ attrs: {},
11594
12781
  class: "vvd-component",
11595
12782
  on: {
11596
12783
  blur: (event) => {
@@ -11613,11 +12800,7 @@ const VTab = defineComponent({
11613
12800
  }
11614
12801
  }
11615
12802
  },
11616
- [
11617
- this.$slots.default,
11618
- // @slot icon The preferred way to add an icon to the component.
11619
- handleNamedSlotV2("icon", this.$slots["icon"])
11620
- ]
12803
+ [this.$slots.default]
11621
12804
  );
11622
12805
  }
11623
12806
  return h(
@@ -11625,16 +12808,7 @@ const VTab = defineComponent({
11625
12808
  {
11626
12809
  ref: "element",
11627
12810
  class: "vvd-component",
11628
- ...handleVue3Props({
11629
- ...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
11630
- ...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
11631
- ...this.icon !== void 0 ? { "^icon": this.icon } : {},
11632
- ...this.iconTrailing !== void 0 && this.iconTrailing !== false ? { "^icon-trailing": this.iconTrailing } : {},
11633
- ...this.label !== void 0 ? { "^label": this.label } : {},
11634
- ...this.removable !== void 0 && this.removable !== false ? { "^removable": this.removable } : {},
11635
- ...this.shape !== void 0 ? { "^shape": this.shape } : {},
11636
- ...this.tabIndex !== void 0 ? { "^tabIndex": this.tabIndex } : {}
11637
- }),
12811
+ ...handleVue3Props({}),
11638
12812
  onBlur: (event) => {
11639
12813
  this.$emit("blur", event);
11640
12814
  },
@@ -11656,16 +12830,14 @@ const VTab = defineComponent({
11656
12830
  },
11657
12831
  [
11658
12832
  // @ts-ignore
11659
- this.$slots.default && this.$slots.default(),
11660
- // @slot icon The preferred way to add an icon to the component.
11661
- handleNamedSlotV3("icon", this.$slots["icon"])
12833
+ this.$slots.default && this.$slots.default()
11662
12834
  ]
11663
12835
  );
11664
12836
  }
11665
12837
  });
11666
12838
 
11667
- const VTabPanel = defineComponent({
11668
- name: "VTabPanel",
12839
+ const VTableRow = defineComponent({
12840
+ name: "VTableRow",
11669
12841
  emits: [
11670
12842
  /**
11671
12843
  * Fires when the element loses focus.
@@ -11700,7 +12872,7 @@ const VTabPanel = defineComponent({
11700
12872
  ],
11701
12873
  methods: {},
11702
12874
  setup(props, ctx) {
11703
- const componentName = registerComponent("tab-panel", registerTabPanel);
12875
+ const componentName = registerComponent("table-row", registerDataTable);
11704
12876
  const element = ref(null);
11705
12877
  return { componentName, element };
11706
12878
  },
@@ -11901,7 +13073,11 @@ const VTabs = defineComponent({
11901
13073
  }
11902
13074
  }
11903
13075
  },
11904
- [this.$slots.default]
13076
+ [
13077
+ this.$slots.default,
13078
+ // @slot action-items Slot for action items such as buttons or controls.
13079
+ handleNamedSlotV2("action-items", this.$slots["action-items"])
13080
+ ]
11905
13081
  );
11906
13082
  }
11907
13083
  return h(
@@ -11942,7 +13118,9 @@ const VTabs = defineComponent({
11942
13118
  },
11943
13119
  [
11944
13120
  // @ts-ignore
11945
- this.$slots.default && this.$slots.default()
13121
+ this.$slots.default && this.$slots.default(),
13122
+ // @slot action-items Slot for action items such as buttons or controls.
13123
+ handleNamedSlotV3("action-items", this.$slots["action-items"])
11946
13124
  ]
11947
13125
  );
11948
13126
  }
@@ -12502,6 +13680,8 @@ const VTextArea = defineComponent({
12502
13680
  },
12503
13681
  [
12504
13682
  this.$slots.default,
13683
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
13684
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
12505
13685
  // @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
12506
13686
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
12507
13687
  ]
@@ -12562,6 +13742,11 @@ const VTextArea = defineComponent({
12562
13742
  [
12563
13743
  // @ts-ignore
12564
13744
  this.$slots.default && this.$slots.default(),
13745
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
13746
+ handleNamedSlotV3(
13747
+ "contextual-help",
13748
+ this.$slots["contextual-help"]
13749
+ ),
12565
13750
  // @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
12566
13751
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
12567
13752
  ]
@@ -12830,6 +14015,8 @@ const VTextField = defineComponent({
12830
14015
  this.$slots.default,
12831
14016
  // @slot action-items Used to add action items to the end of the text-field.
12832
14017
  handleNamedSlotV2("action-items", this.$slots["action-items"]),
14018
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
14019
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
12833
14020
  // @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
12834
14021
  handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
12835
14022
  // @slot leading-action-items Used to add action items to the start of the text-field.
@@ -12901,6 +14088,11 @@ const VTextField = defineComponent({
12901
14088
  this.$slots.default && this.$slots.default(),
12902
14089
  // @slot action-items Used to add action items to the end of the text-field.
12903
14090
  handleNamedSlotV3("action-items", this.$slots["action-items"]),
14091
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
14092
+ handleNamedSlotV3(
14093
+ "contextual-help",
14094
+ this.$slots["contextual-help"]
14095
+ ),
12904
14096
  // @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
12905
14097
  handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
12906
14098
  // @slot leading-action-items Used to add action items to the start of the text-field.
@@ -13095,6 +14287,8 @@ const VTimePicker = defineComponent({
13095
14287
  },
13096
14288
  [
13097
14289
  this.$slots.default,
14290
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
14291
+ handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
13098
14292
  // @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
13099
14293
  handleNamedSlotV2("helper-text", this.$slots["helper-text"])
13100
14294
  ]
@@ -13147,6 +14341,11 @@ const VTimePicker = defineComponent({
13147
14341
  [
13148
14342
  // @ts-ignore
13149
14343
  this.$slots.default && this.$slots.default(),
14344
+ // @slot contextual-help Slot for the contextual-help component, displayed next to the label.
14345
+ handleNamedSlotV3(
14346
+ "contextual-help",
14347
+ this.$slots["contextual-help"]
14348
+ ),
13150
14349
  // @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
13151
14350
  handleNamedSlotV3("helper-text", this.$slots["helper-text"])
13152
14351
  ]
@@ -14237,6 +15436,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
14237
15436
  Icon2["copy2Solid"] = "copy-2-solid";
14238
15437
  Icon2["copyLine"] = "copy-line";
14239
15438
  Icon2["copySolid"] = "copy-solid";
15439
+ Icon2["coverageLine"] = "coverage-line";
15440
+ Icon2["coverageSolid"] = "coverage-solid";
14240
15441
  Icon2["creditCardLine"] = "credit-card-line";
14241
15442
  Icon2["creditCardSolid"] = "credit-card-solid";
14242
15443
  Icon2["cropLine"] = "crop-line";
@@ -14251,6 +15452,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
14251
15452
  Icon2["cursorSolid"] = "cursor-solid";
14252
15453
  Icon2["darkModeLine"] = "dark-mode-line";
14253
15454
  Icon2["darkModeSolid"] = "dark-mode-solid";
15455
+ Icon2["dataRoamingLine"] = "data-roaming-line";
15456
+ Icon2["dataRoamingSolid"] = "data-roaming-solid";
14254
15457
  Icon2["deleteLine"] = "delete-line";
14255
15458
  Icon2["deleteSolid"] = "delete-solid";
14256
15459
  Icon2["densityHighLine"] = "density-high-line";
@@ -15302,4 +16505,4 @@ const vividVue = {
15302
16505
  };
15303
16506
  const vivid3 = vividVue;
15304
16507
 
15305
- export { Icon, VAccordion, VAccordionItem, VActionGroup, VAlert, VAudioPlayer, VAvatar, VBadge, VBanner, VBreadcrumb, VBreadcrumbItem, VButton, VCalendar, VCalendarEvent, VCard, VCheckbox, VColorPicker, VCombobox, VDataGrid, VDataGridCell, VDataGridRow, VDatePicker, VDateRangePicker, VDateTimePicker, VDialPad, VDialog, VDivider, VEmptyState, VFab, VFilePicker, VHeader, VIcon, VLayout, VMenu, VMenuItem, VNav, VNavDisclosure, VNavItem, VNote, VNumberField, VOption, VPagination, VProgress, VProgressRing, VRadio, VRadioGroup, VRangeSlider, VRichTextEditor, VSearchableSelect, VSelect, VSelectableBox, VSideDrawer, VSimpleColorPicker, VSlider, VSplitButton, VSwitch, VTab, VTabPanel, VTabs, VTag, VTagGroup, VTextArea, VTextField, VTimePicker, VToggletip, VTooltip, VTreeItem, VTreeView, VVideoPlayer, optionalStyles, setCustomComponentPrefix, vivid3, vividVue };
16508
+ export { Icon, VAccordion, VAccordionItem, VActionGroup, VAlert, VAudioPlayer, VAvatar, VBadge, VBanner, VBreadcrumb, VBreadcrumbItem, VButton, VCalendar, VCalendarEvent, VCard, VCheckbox, VColorPicker, VCombobox, VContextualHelp, VDataGrid, VDataGridCell, VDataGridRow, VDatePicker, VDateRangePicker, VDateTimePicker, VDialPad, VDialog, VDivider, VEmptyState, VFab, VFilePicker, VHeader, VIcon, VLayout, VMenu, VMenuItem, VNav, VNavDisclosure, VNavItem, VNote, VNumberField, VOption, VPagination, VPopover, VProgress, VProgressRing, VRadio, VRadioGroup, VRangeSlider, VRichTextEditor, VRichTextView, VSearchableSelect, VSelect, VSelectableBox, VSideDrawer, VSimpleColorPicker, VSlider, VSplitButton, VSwitch, VTab, VTabPanel, VTable, VTableBody, VTableCell, VTableHead, VTableHeaderCell, VTableRow, VTabs, VTag, VTagGroup, VTextArea, VTextField, VTimePicker, VToggletip, VTooltip, VTreeItem, VTreeView, VVideoPlayer, optionalStyles, setCustomComponentPrefix, vivid3, vividVue };