@vonage/vivid-vue 5.8.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.
- package/dist/generated/components/VAccordionItem.vue2.d.ts +1 -1
- package/dist/generated/components/VAccordionItem.vue3.d.ts +1 -1
- package/dist/generated/components/VAlert.vue2.d.ts +1 -1
- package/dist/generated/components/VAlert.vue3.d.ts +1 -1
- package/dist/generated/components/VAvatar.vue2.d.ts +1 -1
- package/dist/generated/components/VAvatar.vue3.d.ts +1 -1
- package/dist/generated/components/VBadge.vue2.d.ts +1 -1
- package/dist/generated/components/VBadge.vue3.d.ts +1 -1
- package/dist/generated/components/VBanner.vue2.d.ts +1 -1
- package/dist/generated/components/VBanner.vue3.d.ts +1 -1
- package/dist/generated/components/VButton.vue2.d.ts +1 -1
- package/dist/generated/components/VButton.vue3.d.ts +1 -1
- package/dist/generated/components/VCard.vue2.d.ts +1 -1
- package/dist/generated/components/VCard.vue3.d.ts +1 -1
- package/dist/generated/components/VColorPicker.vue3.d.ts +1 -0
- package/dist/generated/components/VCombobox.vue2.d.ts +1 -1
- package/dist/generated/components/VCombobox.vue3.d.ts +2 -1
- package/dist/generated/components/VDatePicker.vue3.d.ts +1 -0
- package/dist/generated/components/VDateRangePicker.vue3.d.ts +1 -0
- package/dist/generated/components/VDateTimePicker.vue3.d.ts +1 -0
- package/dist/generated/components/VDialog.vue2.d.ts +1 -1
- package/dist/generated/components/VDialog.vue3.d.ts +1 -1
- package/dist/generated/components/VEmptyState.vue2.d.ts +1 -1
- package/dist/generated/components/VEmptyState.vue3.d.ts +1 -1
- package/dist/generated/components/VFab.vue2.d.ts +1 -1
- package/dist/generated/components/VFab.vue3.d.ts +1 -1
- package/dist/generated/components/VFilePicker.vue3.d.ts +1 -0
- package/dist/generated/components/VIcon.vue2.d.ts +1 -1
- package/dist/generated/components/VIcon.vue3.d.ts +1 -1
- package/dist/generated/components/VMenuItem.vue2.d.ts +1 -1
- package/dist/generated/components/VMenuItem.vue3.d.ts +1 -1
- package/dist/generated/components/VNavDisclosure.vue2.d.ts +1 -1
- package/dist/generated/components/VNavDisclosure.vue3.d.ts +1 -1
- package/dist/generated/components/VNavItem.vue2.d.ts +1 -1
- package/dist/generated/components/VNavItem.vue3.d.ts +1 -1
- package/dist/generated/components/VNote.vue2.d.ts +1 -1
- package/dist/generated/components/VNote.vue3.d.ts +1 -1
- package/dist/generated/components/VNumberField.vue2.d.ts +1 -1
- package/dist/generated/components/VNumberField.vue3.d.ts +2 -1
- package/dist/generated/components/VOption.vue2.d.ts +1 -1
- package/dist/generated/components/VOption.vue3.d.ts +1 -1
- package/dist/generated/components/VPopover.d.ts +7 -0
- package/dist/generated/components/VPopover.types.d.ts +45 -0
- package/dist/generated/components/VPopover.vue2.d.ts +92 -0
- package/dist/generated/components/VPopover.vue3.d.ts +147 -0
- package/dist/generated/components/VRichTextView.d.ts +7 -0
- package/dist/generated/components/VRichTextView.types.d.ts +30 -0
- package/dist/generated/components/VRichTextView.vue2.d.ts +19 -0
- package/dist/generated/components/VRichTextView.vue3.d.ts +58 -0
- package/dist/generated/components/VSearchableSelect.vue2.d.ts +1 -1
- package/dist/generated/components/VSearchableSelect.vue3.d.ts +2 -1
- package/dist/generated/components/VSelect.vue2.d.ts +1 -1
- package/dist/generated/components/VSelect.vue3.d.ts +2 -1
- package/dist/generated/components/VSplitButton.vue2.d.ts +1 -1
- package/dist/generated/components/VSplitButton.vue3.d.ts +1 -1
- package/dist/generated/components/VTab.vue2.d.ts +1 -1
- package/dist/generated/components/VTab.vue3.d.ts +1 -1
- package/dist/generated/components/VTable.d.ts +7 -0
- package/dist/generated/components/VTable.types.d.ts +29 -0
- package/dist/generated/components/VTable.vue2.d.ts +6 -0
- package/dist/generated/components/VTable.vue3.d.ts +47 -0
- package/dist/generated/components/VTableBody.d.ts +7 -0
- package/dist/generated/components/VTableBody.types.d.ts +29 -0
- package/dist/generated/components/VTableBody.vue2.d.ts +6 -0
- package/dist/generated/components/VTableBody.vue3.d.ts +47 -0
- package/dist/generated/components/VTableCell.d.ts +7 -0
- package/dist/generated/components/VTableCell.types.d.ts +29 -0
- package/dist/generated/components/VTableCell.vue2.d.ts +6 -0
- package/dist/generated/components/VTableCell.vue3.d.ts +47 -0
- package/dist/generated/components/VTableHead.d.ts +7 -0
- package/dist/generated/components/VTableHead.types.d.ts +29 -0
- package/dist/generated/components/VTableHead.vue2.d.ts +6 -0
- package/dist/generated/components/VTableHead.vue3.d.ts +47 -0
- package/dist/generated/components/VTableHeaderCell.d.ts +7 -0
- package/dist/generated/components/VTableHeaderCell.types.d.ts +29 -0
- package/dist/generated/components/VTableHeaderCell.vue2.d.ts +6 -0
- package/dist/generated/components/VTableHeaderCell.vue3.d.ts +47 -0
- package/dist/generated/components/VTableRow.d.ts +7 -0
- package/dist/generated/components/VTableRow.types.d.ts +29 -0
- package/dist/generated/components/VTableRow.vue2.d.ts +6 -0
- package/dist/generated/components/VTableRow.vue3.d.ts +47 -0
- package/dist/generated/components/VTag.vue2.d.ts +1 -1
- package/dist/generated/components/VTag.vue3.d.ts +1 -1
- package/dist/generated/components/VTextArea.vue3.d.ts +1 -0
- package/dist/generated/components/VTextField.vue2.d.ts +1 -1
- package/dist/generated/components/VTextField.vue3.d.ts +2 -1
- package/dist/generated/components/VTimePicker.vue3.d.ts +1 -0
- package/dist/generated/components/VTreeItem.vue2.d.ts +1 -1
- package/dist/generated/components/VTreeItem.vue3.d.ts +1 -1
- package/dist/generated/components/index.d.ts +8 -0
- package/dist/generated/icons.d.ts +4 -0
- package/dist/generated/types.d.ts +40 -0
- package/dist/index.cjs +1225 -147
- package/dist/index.js +1219 -149
- package/package.json +3 -3
- package/web-types.json +287 -26
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, registerContextualHelp, 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.
|
|
@@ -4378,6 +4392,8 @@ const VDatePicker = defineComponent({
|
|
|
4378
4392
|
},
|
|
4379
4393
|
[
|
|
4380
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"]),
|
|
4381
4397
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4382
4398
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4383
4399
|
]
|
|
@@ -4427,6 +4443,11 @@ const VDatePicker = defineComponent({
|
|
|
4427
4443
|
[
|
|
4428
4444
|
// @ts-ignore
|
|
4429
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
|
+
),
|
|
4430
4451
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4431
4452
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4432
4453
|
]
|
|
@@ -4648,6 +4669,8 @@ const VDateRangePicker = defineComponent({
|
|
|
4648
4669
|
},
|
|
4649
4670
|
[
|
|
4650
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"]),
|
|
4651
4674
|
// @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
4652
4675
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4653
4676
|
]
|
|
@@ -4708,6 +4731,11 @@ const VDateRangePicker = defineComponent({
|
|
|
4708
4731
|
[
|
|
4709
4732
|
// @ts-ignore
|
|
4710
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
|
+
),
|
|
4711
4739
|
// @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
4712
4740
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4713
4741
|
]
|
|
@@ -4920,6 +4948,8 @@ const VDateTimePicker = defineComponent({
|
|
|
4920
4948
|
},
|
|
4921
4949
|
[
|
|
4922
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"]),
|
|
4923
4953
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4924
4954
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4925
4955
|
]
|
|
@@ -4976,6 +5006,11 @@ const VDateTimePicker = defineComponent({
|
|
|
4976
5006
|
[
|
|
4977
5007
|
// @ts-ignore
|
|
4978
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
|
+
),
|
|
4979
5014
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4980
5015
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4981
5016
|
]
|
|
@@ -6220,6 +6255,8 @@ const VFilePicker = defineComponent({
|
|
|
6220
6255
|
},
|
|
6221
6256
|
[
|
|
6222
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"]),
|
|
6223
6260
|
// @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
|
|
6224
6261
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
6225
6262
|
]
|
|
@@ -6273,6 +6310,11 @@ const VFilePicker = defineComponent({
|
|
|
6273
6310
|
[
|
|
6274
6311
|
// @ts-ignore
|
|
6275
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
|
+
),
|
|
6276
6318
|
// @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
|
|
6277
6319
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
6278
6320
|
]
|
|
@@ -8059,6 +8101,8 @@ const VNumberField = defineComponent({
|
|
|
8059
8101
|
},
|
|
8060
8102
|
[
|
|
8061
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"]),
|
|
8062
8106
|
// @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
|
|
8063
8107
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
8064
8108
|
]
|
|
@@ -8125,6 +8169,11 @@ const VNumberField = defineComponent({
|
|
|
8125
8169
|
[
|
|
8126
8170
|
// @ts-ignore
|
|
8127
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
|
+
),
|
|
8128
8177
|
// @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
|
|
8129
8178
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
8130
8179
|
]
|
|
@@ -8489,6 +8538,238 @@ const VPagination = defineComponent({
|
|
|
8489
8538
|
}
|
|
8490
8539
|
});
|
|
8491
8540
|
|
|
8541
|
+
const VPopover = defineComponent({
|
|
8542
|
+
name: "VPopover",
|
|
8543
|
+
props: {
|
|
8544
|
+
/**
|
|
8545
|
+
* Sets the color-scheme to alternate (dark/light)
|
|
8546
|
+
*/
|
|
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: {
|
|
8556
|
+
type: String,
|
|
8557
|
+
default: void 0
|
|
8558
|
+
},
|
|
8559
|
+
/**
|
|
8560
|
+
* Sets the layout of the popover.
|
|
8561
|
+
*/
|
|
8562
|
+
layout: {
|
|
8563
|
+
type: String,
|
|
8564
|
+
default: void 0
|
|
8565
|
+
},
|
|
8566
|
+
/**
|
|
8567
|
+
* If true, the popover uses manual dismissal (no light-dismiss).
|
|
8568
|
+
* Adds a close button to the UI.
|
|
8569
|
+
*/
|
|
8570
|
+
manual: { type: Boolean, default: void 0 },
|
|
8571
|
+
/**
|
|
8572
|
+
* Sets the offset between popover and the anchor element.
|
|
8573
|
+
*/
|
|
8574
|
+
offset: { type: Number, default: void 0 },
|
|
8575
|
+
/**
|
|
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.
|
|
8579
|
+
*/
|
|
8580
|
+
open: { type: Boolean, default: void 0 },
|
|
8581
|
+
/**
|
|
8582
|
+
* The placement of the popover relative to the anchor.
|
|
8583
|
+
*/
|
|
8584
|
+
placement: {
|
|
8585
|
+
type: String,
|
|
8586
|
+
default: void 0
|
|
8587
|
+
}
|
|
8588
|
+
},
|
|
8589
|
+
emits: [
|
|
8590
|
+
/**
|
|
8591
|
+
* Fires when the element loses focus.
|
|
8592
|
+
* @type {FocusEvent}
|
|
8593
|
+
*/
|
|
8594
|
+
"blur",
|
|
8595
|
+
/**
|
|
8596
|
+
* 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.
|
|
8597
|
+
* @type {MouseEvent}
|
|
8598
|
+
*/
|
|
8599
|
+
"click",
|
|
8600
|
+
/**
|
|
8601
|
+
* Fired when the popover closes.
|
|
8602
|
+
* @type {CustomEvent}
|
|
8603
|
+
*/
|
|
8604
|
+
"close",
|
|
8605
|
+
/**
|
|
8606
|
+
* Fires when the element receives focus.
|
|
8607
|
+
* @type {FocusEvent}
|
|
8608
|
+
*/
|
|
8609
|
+
"focus",
|
|
8610
|
+
/**
|
|
8611
|
+
* Fires when the value of an element has been changed.
|
|
8612
|
+
* @type {Event}
|
|
8613
|
+
*/
|
|
8614
|
+
"input",
|
|
8615
|
+
/**
|
|
8616
|
+
* Fires when a key is pressed.
|
|
8617
|
+
* @type {KeyboardEvent}
|
|
8618
|
+
*/
|
|
8619
|
+
"keydown",
|
|
8620
|
+
/**
|
|
8621
|
+
* Fires when a key is released.
|
|
8622
|
+
* @type {KeyboardEvent}
|
|
8623
|
+
*/
|
|
8624
|
+
"keyup",
|
|
8625
|
+
/**
|
|
8626
|
+
* Fired when the popover opens.
|
|
8627
|
+
* @type {CustomEvent}
|
|
8628
|
+
*/
|
|
8629
|
+
"open"
|
|
8630
|
+
],
|
|
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
|
+
},
|
|
8663
|
+
setup(props, ctx) {
|
|
8664
|
+
const componentName = registerComponent("popover", registerPopover);
|
|
8665
|
+
const element = ref(null);
|
|
8666
|
+
return { componentName, element };
|
|
8667
|
+
},
|
|
8668
|
+
render() {
|
|
8669
|
+
if (isVue2) {
|
|
8670
|
+
return h(
|
|
8671
|
+
this.componentName,
|
|
8672
|
+
{
|
|
8673
|
+
ref: "element",
|
|
8674
|
+
attrs: {
|
|
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 } : {}
|
|
8683
|
+
},
|
|
8684
|
+
class: "vvd-component",
|
|
8685
|
+
on: {
|
|
8686
|
+
blur: (event) => {
|
|
8687
|
+
this.$emit("blur", event);
|
|
8688
|
+
},
|
|
8689
|
+
click: (event) => {
|
|
8690
|
+
this.$emit("click", event);
|
|
8691
|
+
},
|
|
8692
|
+
close: (event) => {
|
|
8693
|
+
this.$emit("close", event);
|
|
8694
|
+
},
|
|
8695
|
+
focus: (event) => {
|
|
8696
|
+
this.$emit("focus", event);
|
|
8697
|
+
},
|
|
8698
|
+
input: (event) => {
|
|
8699
|
+
this.$emit("input", event);
|
|
8700
|
+
},
|
|
8701
|
+
keydown: (event) => {
|
|
8702
|
+
this.$emit("keydown", event);
|
|
8703
|
+
},
|
|
8704
|
+
keyup: (event) => {
|
|
8705
|
+
this.$emit("keyup", event);
|
|
8706
|
+
},
|
|
8707
|
+
open: (event) => {
|
|
8708
|
+
this.$emit("open", event);
|
|
8709
|
+
}
|
|
8710
|
+
}
|
|
8711
|
+
},
|
|
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
|
+
]
|
|
8719
|
+
);
|
|
8720
|
+
}
|
|
8721
|
+
return h(
|
|
8722
|
+
this.componentName,
|
|
8723
|
+
{
|
|
8724
|
+
ref: "element",
|
|
8725
|
+
class: "vvd-component",
|
|
8726
|
+
...handleVue3Props({
|
|
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 } : {}
|
|
8735
|
+
}),
|
|
8736
|
+
onBlur: (event) => {
|
|
8737
|
+
this.$emit("blur", event);
|
|
8738
|
+
},
|
|
8739
|
+
onClick: (event) => {
|
|
8740
|
+
this.$emit("click", event);
|
|
8741
|
+
},
|
|
8742
|
+
onClose: (event) => {
|
|
8743
|
+
this.$emit("close", event);
|
|
8744
|
+
},
|
|
8745
|
+
onFocus: (event) => {
|
|
8746
|
+
this.$emit("focus", event);
|
|
8747
|
+
},
|
|
8748
|
+
onInput: (event) => {
|
|
8749
|
+
this.$emit("input", event);
|
|
8750
|
+
},
|
|
8751
|
+
onKeydown: (event) => {
|
|
8752
|
+
this.$emit("keydown", event);
|
|
8753
|
+
},
|
|
8754
|
+
onKeyup: (event) => {
|
|
8755
|
+
this.$emit("keyup", event);
|
|
8756
|
+
},
|
|
8757
|
+
onOpen: (event) => {
|
|
8758
|
+
this.$emit("open", event);
|
|
8759
|
+
}
|
|
8760
|
+
},
|
|
8761
|
+
[
|
|
8762
|
+
// @ts-ignore
|
|
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"])
|
|
8768
|
+
]
|
|
8769
|
+
);
|
|
8770
|
+
}
|
|
8771
|
+
});
|
|
8772
|
+
|
|
8492
8773
|
const VProgress = defineComponent({
|
|
8493
8774
|
name: "VProgress",
|
|
8494
8775
|
props: {
|
|
@@ -9681,62 +9962,179 @@ const VRichTextEditor = defineComponent({
|
|
|
9681
9962
|
}
|
|
9682
9963
|
});
|
|
9683
9964
|
|
|
9684
|
-
const
|
|
9685
|
-
name: "
|
|
9686
|
-
model: isVue2 ? {
|
|
9687
|
-
prop: "modelValue",
|
|
9688
|
-
event: "update:modelValue"
|
|
9689
|
-
} : void 0,
|
|
9965
|
+
const VRichTextView = defineComponent({
|
|
9966
|
+
name: "VRichTextView",
|
|
9690
9967
|
props: {
|
|
9691
|
-
appearance: {
|
|
9692
|
-
type: String,
|
|
9693
|
-
default: void 0
|
|
9694
|
-
},
|
|
9695
|
-
/**
|
|
9696
|
-
* Adds a clear button to the input field that clears the selected values.
|
|
9697
|
-
*/
|
|
9698
|
-
clearable: { type: Boolean, default: void 0 },
|
|
9699
|
-
/**
|
|
9700
|
-
* Overrides the default "Deselect All" text
|
|
9701
|
-
*/
|
|
9702
|
-
deselectAllText: { type: String, default: void 0 },
|
|
9703
|
-
/**
|
|
9704
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9705
|
-
*/
|
|
9706
|
-
disabled: { type: Boolean, default: void 0 },
|
|
9707
9968
|
/**
|
|
9708
|
-
*
|
|
9969
|
+
* The view to display, created from the RteConfig.
|
|
9709
9970
|
*/
|
|
9710
|
-
|
|
9971
|
+
view: { type: null, default: void 0 }
|
|
9972
|
+
},
|
|
9973
|
+
emits: [
|
|
9711
9974
|
/**
|
|
9712
|
-
*
|
|
9975
|
+
* Fires when the element loses focus.
|
|
9976
|
+
* @type {FocusEvent}
|
|
9713
9977
|
*/
|
|
9714
|
-
|
|
9715
|
-
externalTags: { type: Boolean, default: void 0 },
|
|
9716
|
-
fixedDropdown: { type: Boolean, default: void 0 },
|
|
9978
|
+
"blur",
|
|
9717
9979
|
/**
|
|
9718
|
-
*
|
|
9719
|
-
*
|
|
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.
|
|
9981
|
+
* @type {MouseEvent}
|
|
9720
9982
|
*/
|
|
9721
|
-
|
|
9983
|
+
"click",
|
|
9722
9984
|
/**
|
|
9723
|
-
*
|
|
9724
|
-
*
|
|
9985
|
+
* Fires when the element receives focus.
|
|
9986
|
+
* @type {FocusEvent}
|
|
9725
9987
|
*/
|
|
9726
|
-
|
|
9988
|
+
"focus",
|
|
9727
9989
|
/**
|
|
9728
|
-
*
|
|
9990
|
+
* Fires when the value of an element has been changed.
|
|
9991
|
+
* @type {Event}
|
|
9729
9992
|
*/
|
|
9730
|
-
|
|
9993
|
+
"input",
|
|
9731
9994
|
/**
|
|
9732
|
-
*
|
|
9733
|
-
*
|
|
9995
|
+
* Fires when a key is pressed.
|
|
9996
|
+
* @type {KeyboardEvent}
|
|
9734
9997
|
*/
|
|
9735
|
-
|
|
9998
|
+
"keydown",
|
|
9736
9999
|
/**
|
|
9737
|
-
*
|
|
10000
|
+
* Fires when a key is released.
|
|
10001
|
+
* @type {KeyboardEvent}
|
|
9738
10002
|
*/
|
|
9739
|
-
|
|
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 },
|
|
9740
10138
|
/**
|
|
9741
10139
|
* Whether the component is in a loading state.
|
|
9742
10140
|
*/
|
|
@@ -9927,6 +10325,8 @@ const VSearchableSelect = defineComponent({
|
|
|
9927
10325
|
},
|
|
9928
10326
|
[
|
|
9929
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"]),
|
|
9930
10330
|
// @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
|
|
9931
10331
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
9932
10332
|
// @slot icon The preferred way to add an icon to the control.
|
|
@@ -10006,6 +10406,11 @@ const VSearchableSelect = defineComponent({
|
|
|
10006
10406
|
[
|
|
10007
10407
|
// @ts-ignore
|
|
10008
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
|
+
),
|
|
10009
10414
|
// @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
|
|
10010
10415
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
10011
10416
|
// @slot icon The preferred way to add an icon to the control.
|
|
@@ -10253,6 +10658,8 @@ const VSelect = defineComponent({
|
|
|
10253
10658
|
},
|
|
10254
10659
|
[
|
|
10255
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"]),
|
|
10256
10663
|
// @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
|
|
10257
10664
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
10258
10665
|
// @slot icon The preferred way to add an icon to the select control.
|
|
@@ -10313,6 +10720,11 @@ const VSelect = defineComponent({
|
|
|
10313
10720
|
[
|
|
10314
10721
|
// @ts-ignore
|
|
10315
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
|
+
),
|
|
10316
10728
|
// @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
|
|
10317
10729
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
10318
10730
|
// @slot icon The preferred way to add an icon to the select control.
|
|
@@ -11896,58 +12308,14 @@ const VTabPanel = defineComponent({
|
|
|
11896
12308
|
}
|
|
11897
12309
|
});
|
|
11898
12310
|
|
|
11899
|
-
const
|
|
11900
|
-
name: "
|
|
11901
|
-
props: {
|
|
11902
|
-
/**
|
|
11903
|
-
* The id of the active tab
|
|
11904
|
-
*/
|
|
11905
|
-
activeid: { type: String, default: void 0 },
|
|
11906
|
-
/**
|
|
11907
|
-
* Deprecated attribute. It has no effect.
|
|
11908
|
-
*/
|
|
11909
|
-
activeindicator: { type: Boolean, default: void 0 },
|
|
11910
|
-
/**
|
|
11911
|
-
* The connotation the tabs should have.
|
|
11912
|
-
*/
|
|
11913
|
-
connotation: {
|
|
11914
|
-
type: String,
|
|
11915
|
-
default: void 0
|
|
11916
|
-
},
|
|
11917
|
-
/**
|
|
11918
|
-
* sets the initial preferred margin from predefined available options
|
|
11919
|
-
*/
|
|
11920
|
-
gutters: { type: String, default: void 0 },
|
|
11921
|
-
/**
|
|
11922
|
-
* The orientation
|
|
11923
|
-
*/
|
|
11924
|
-
orientation: {
|
|
11925
|
-
type: String,
|
|
11926
|
-
default: void 0
|
|
11927
|
-
},
|
|
11928
|
-
/**
|
|
11929
|
-
* sets overflow to the tab-panel
|
|
11930
|
-
*/
|
|
11931
|
-
scrollablePanel: { type: Boolean, default: void 0 },
|
|
11932
|
-
/**
|
|
11933
|
-
* Controls the layout of the tabs.
|
|
11934
|
-
*/
|
|
11935
|
-
tabsLayout: {
|
|
11936
|
-
type: String,
|
|
11937
|
-
default: void 0
|
|
11938
|
-
}
|
|
11939
|
-
},
|
|
12311
|
+
const VTable = defineComponent({
|
|
12312
|
+
name: "VTable",
|
|
11940
12313
|
emits: [
|
|
11941
12314
|
/**
|
|
11942
12315
|
* Fires when the element loses focus.
|
|
11943
12316
|
* @type {FocusEvent}
|
|
11944
12317
|
*/
|
|
11945
12318
|
"blur",
|
|
11946
|
-
/**
|
|
11947
|
-
* Fires a custom 'change' event when a tab is clicked or during keyboard navigation
|
|
11948
|
-
* @type {CustomEvent<HTMLElement>}
|
|
11949
|
-
*/
|
|
11950
|
-
"change",
|
|
11951
12319
|
/**
|
|
11952
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.
|
|
11953
12321
|
* @type {MouseEvent}
|
|
@@ -11974,17 +12342,9 @@ const VTabs = defineComponent({
|
|
|
11974
12342
|
*/
|
|
11975
12343
|
"keyup"
|
|
11976
12344
|
],
|
|
11977
|
-
methods: {
|
|
11978
|
-
/**
|
|
11979
|
-
* Adjusts the active index by numerical increments.
|
|
11980
|
-
* Only enabled tabs are considered.
|
|
11981
|
-
*/
|
|
11982
|
-
adjust(adjustment) {
|
|
11983
|
-
return this.element?.adjust(adjustment);
|
|
11984
|
-
}
|
|
11985
|
-
},
|
|
12345
|
+
methods: {},
|
|
11986
12346
|
setup(props, ctx) {
|
|
11987
|
-
const componentName = registerComponent("
|
|
12347
|
+
const componentName = registerComponent("table", registerDataTable);
|
|
11988
12348
|
const element = ref(null);
|
|
11989
12349
|
return { componentName, element };
|
|
11990
12350
|
},
|
|
@@ -11994,23 +12354,12 @@ const VTabs = defineComponent({
|
|
|
11994
12354
|
this.componentName,
|
|
11995
12355
|
{
|
|
11996
12356
|
ref: "element",
|
|
11997
|
-
attrs: {
|
|
11998
|
-
...this.activeid !== void 0 ? { activeid: this.activeid } : {},
|
|
11999
|
-
...this.activeindicator !== void 0 ? { activeindicator: this.activeindicator } : {},
|
|
12000
|
-
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
12001
|
-
...this.gutters !== void 0 ? { gutters: this.gutters } : {},
|
|
12002
|
-
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
12003
|
-
...this.scrollablePanel !== void 0 ? { "scrollable-panel": this.scrollablePanel } : {},
|
|
12004
|
-
...this.tabsLayout !== void 0 ? { "tabs-layout": this.tabsLayout } : {}
|
|
12005
|
-
},
|
|
12357
|
+
attrs: {},
|
|
12006
12358
|
class: "vvd-component",
|
|
12007
12359
|
on: {
|
|
12008
12360
|
blur: (event) => {
|
|
12009
12361
|
this.$emit("blur", event);
|
|
12010
12362
|
},
|
|
12011
|
-
change: (event) => {
|
|
12012
|
-
this.$emit("change", event);
|
|
12013
|
-
},
|
|
12014
12363
|
click: (event) => {
|
|
12015
12364
|
this.$emit("click", event);
|
|
12016
12365
|
},
|
|
@@ -12028,11 +12377,7 @@ const VTabs = defineComponent({
|
|
|
12028
12377
|
}
|
|
12029
12378
|
}
|
|
12030
12379
|
},
|
|
12031
|
-
[
|
|
12032
|
-
this.$slots.default,
|
|
12033
|
-
// @slot action-items Slot for action items such as buttons or controls.
|
|
12034
|
-
handleNamedSlotV2("action-items", this.$slots["action-items"])
|
|
12035
|
-
]
|
|
12380
|
+
[this.$slots.default]
|
|
12036
12381
|
);
|
|
12037
12382
|
}
|
|
12038
12383
|
return h(
|
|
@@ -12040,21 +12385,10 @@ const VTabs = defineComponent({
|
|
|
12040
12385
|
{
|
|
12041
12386
|
ref: "element",
|
|
12042
12387
|
class: "vvd-component",
|
|
12043
|
-
...handleVue3Props({
|
|
12044
|
-
...this.activeid !== void 0 ? { "^activeid": this.activeid } : {},
|
|
12045
|
-
...this.activeindicator !== void 0 && this.activeindicator !== false ? { "^activeindicator": this.activeindicator } : {},
|
|
12046
|
-
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
12047
|
-
...this.gutters !== void 0 ? { "^gutters": this.gutters } : {},
|
|
12048
|
-
...this.orientation !== void 0 ? { "^orientation": this.orientation } : {},
|
|
12049
|
-
...this.scrollablePanel !== void 0 && this.scrollablePanel !== false ? { "^scrollable-panel": this.scrollablePanel } : {},
|
|
12050
|
-
...this.tabsLayout !== void 0 ? { "^tabs-layout": this.tabsLayout } : {}
|
|
12051
|
-
}),
|
|
12388
|
+
...handleVue3Props({}),
|
|
12052
12389
|
onBlur: (event) => {
|
|
12053
12390
|
this.$emit("blur", event);
|
|
12054
12391
|
},
|
|
12055
|
-
onChange: (event) => {
|
|
12056
|
-
this.$emit("change", event);
|
|
12057
|
-
},
|
|
12058
12392
|
onClick: (event) => {
|
|
12059
12393
|
this.$emit("click", event);
|
|
12060
12394
|
},
|
|
@@ -12073,39 +12407,750 @@ const VTabs = defineComponent({
|
|
|
12073
12407
|
},
|
|
12074
12408
|
[
|
|
12075
12409
|
// @ts-ignore
|
|
12076
|
-
this.$slots.default && this.$slots.default()
|
|
12077
|
-
// @slot action-items Slot for action items such as buttons or controls.
|
|
12078
|
-
handleNamedSlotV3("action-items", this.$slots["action-items"])
|
|
12410
|
+
this.$slots.default && this.$slots.default()
|
|
12079
12411
|
]
|
|
12080
12412
|
);
|
|
12081
12413
|
}
|
|
12082
12414
|
});
|
|
12083
12415
|
|
|
12084
|
-
const
|
|
12085
|
-
name: "
|
|
12086
|
-
|
|
12416
|
+
const VTableBody = defineComponent({
|
|
12417
|
+
name: "VTableBody",
|
|
12418
|
+
emits: [
|
|
12087
12419
|
/**
|
|
12088
|
-
*
|
|
12420
|
+
* Fires when the element loses focus.
|
|
12421
|
+
* @type {FocusEvent}
|
|
12089
12422
|
*/
|
|
12090
|
-
|
|
12091
|
-
type: String,
|
|
12092
|
-
default: void 0
|
|
12093
|
-
},
|
|
12423
|
+
"blur",
|
|
12094
12424
|
/**
|
|
12095
|
-
*
|
|
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}
|
|
12096
12427
|
*/
|
|
12097
|
-
|
|
12098
|
-
type: String,
|
|
12099
|
-
default: void 0
|
|
12100
|
-
},
|
|
12428
|
+
"click",
|
|
12101
12429
|
/**
|
|
12102
|
-
*
|
|
12430
|
+
* Fires when the element receives focus.
|
|
12431
|
+
* @type {FocusEvent}
|
|
12103
12432
|
*/
|
|
12104
|
-
|
|
12433
|
+
"focus",
|
|
12105
12434
|
/**
|
|
12106
|
-
*
|
|
12107
|
-
*
|
|
12108
|
-
*/
|
|
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: {
|
|
12570
|
+
blur: (event) => {
|
|
12571
|
+
this.$emit("blur", event);
|
|
12572
|
+
},
|
|
12573
|
+
click: (event) => {
|
|
12574
|
+
this.$emit("click", event);
|
|
12575
|
+
},
|
|
12576
|
+
focus: (event) => {
|
|
12577
|
+
this.$emit("focus", event);
|
|
12578
|
+
},
|
|
12579
|
+
input: (event) => {
|
|
12580
|
+
this.$emit("input", event);
|
|
12581
|
+
},
|
|
12582
|
+
keydown: (event) => {
|
|
12583
|
+
this.$emit("keydown", event);
|
|
12584
|
+
},
|
|
12585
|
+
keyup: (event) => {
|
|
12586
|
+
this.$emit("keyup", event);
|
|
12587
|
+
}
|
|
12588
|
+
}
|
|
12589
|
+
},
|
|
12590
|
+
[this.$slots.default]
|
|
12591
|
+
);
|
|
12592
|
+
}
|
|
12593
|
+
return h(
|
|
12594
|
+
this.componentName,
|
|
12595
|
+
{
|
|
12596
|
+
ref: "element",
|
|
12597
|
+
class: "vvd-component",
|
|
12598
|
+
...handleVue3Props({}),
|
|
12599
|
+
onBlur: (event) => {
|
|
12600
|
+
this.$emit("blur", event);
|
|
12601
|
+
},
|
|
12602
|
+
onClick: (event) => {
|
|
12603
|
+
this.$emit("click", event);
|
|
12604
|
+
},
|
|
12605
|
+
onFocus: (event) => {
|
|
12606
|
+
this.$emit("focus", event);
|
|
12607
|
+
},
|
|
12608
|
+
onInput: (event) => {
|
|
12609
|
+
this.$emit("input", event);
|
|
12610
|
+
},
|
|
12611
|
+
onKeydown: (event) => {
|
|
12612
|
+
this.$emit("keydown", event);
|
|
12613
|
+
},
|
|
12614
|
+
onKeyup: (event) => {
|
|
12615
|
+
this.$emit("keyup", event);
|
|
12616
|
+
}
|
|
12617
|
+
},
|
|
12618
|
+
[
|
|
12619
|
+
// @ts-ignore
|
|
12620
|
+
this.$slots.default && this.$slots.default()
|
|
12621
|
+
]
|
|
12622
|
+
);
|
|
12623
|
+
}
|
|
12624
|
+
});
|
|
12625
|
+
|
|
12626
|
+
const VTableHead = defineComponent({
|
|
12627
|
+
name: "VTableHead",
|
|
12628
|
+
emits: [
|
|
12629
|
+
/**
|
|
12630
|
+
* Fires when the element loses focus.
|
|
12631
|
+
* @type {FocusEvent}
|
|
12632
|
+
*/
|
|
12633
|
+
"blur",
|
|
12634
|
+
/**
|
|
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.
|
|
12636
|
+
* @type {MouseEvent}
|
|
12637
|
+
*/
|
|
12638
|
+
"click",
|
|
12639
|
+
/**
|
|
12640
|
+
* Fires when the element receives focus.
|
|
12641
|
+
* @type {FocusEvent}
|
|
12642
|
+
*/
|
|
12643
|
+
"focus",
|
|
12644
|
+
/**
|
|
12645
|
+
* Fires when the value of an element has been changed.
|
|
12646
|
+
* @type {Event}
|
|
12647
|
+
*/
|
|
12648
|
+
"input",
|
|
12649
|
+
/**
|
|
12650
|
+
* Fires when a key is pressed.
|
|
12651
|
+
* @type {KeyboardEvent}
|
|
12652
|
+
*/
|
|
12653
|
+
"keydown",
|
|
12654
|
+
/**
|
|
12655
|
+
* Fires when a key is released.
|
|
12656
|
+
* @type {KeyboardEvent}
|
|
12657
|
+
*/
|
|
12658
|
+
"keyup"
|
|
12659
|
+
],
|
|
12660
|
+
methods: {},
|
|
12661
|
+
setup(props, ctx) {
|
|
12662
|
+
const componentName = registerComponent("table-head", registerDataTable);
|
|
12663
|
+
const element = ref(null);
|
|
12664
|
+
return { componentName, element };
|
|
12665
|
+
},
|
|
12666
|
+
render() {
|
|
12667
|
+
if (isVue2) {
|
|
12668
|
+
return h(
|
|
12669
|
+
this.componentName,
|
|
12670
|
+
{
|
|
12671
|
+
ref: "element",
|
|
12672
|
+
attrs: {},
|
|
12673
|
+
class: "vvd-component",
|
|
12674
|
+
on: {
|
|
12675
|
+
blur: (event) => {
|
|
12676
|
+
this.$emit("blur", event);
|
|
12677
|
+
},
|
|
12678
|
+
click: (event) => {
|
|
12679
|
+
this.$emit("click", event);
|
|
12680
|
+
},
|
|
12681
|
+
focus: (event) => {
|
|
12682
|
+
this.$emit("focus", event);
|
|
12683
|
+
},
|
|
12684
|
+
input: (event) => {
|
|
12685
|
+
this.$emit("input", event);
|
|
12686
|
+
},
|
|
12687
|
+
keydown: (event) => {
|
|
12688
|
+
this.$emit("keydown", event);
|
|
12689
|
+
},
|
|
12690
|
+
keyup: (event) => {
|
|
12691
|
+
this.$emit("keyup", event);
|
|
12692
|
+
}
|
|
12693
|
+
}
|
|
12694
|
+
},
|
|
12695
|
+
[this.$slots.default]
|
|
12696
|
+
);
|
|
12697
|
+
}
|
|
12698
|
+
return h(
|
|
12699
|
+
this.componentName,
|
|
12700
|
+
{
|
|
12701
|
+
ref: "element",
|
|
12702
|
+
class: "vvd-component",
|
|
12703
|
+
...handleVue3Props({}),
|
|
12704
|
+
onBlur: (event) => {
|
|
12705
|
+
this.$emit("blur", event);
|
|
12706
|
+
},
|
|
12707
|
+
onClick: (event) => {
|
|
12708
|
+
this.$emit("click", event);
|
|
12709
|
+
},
|
|
12710
|
+
onFocus: (event) => {
|
|
12711
|
+
this.$emit("focus", event);
|
|
12712
|
+
},
|
|
12713
|
+
onInput: (event) => {
|
|
12714
|
+
this.$emit("input", event);
|
|
12715
|
+
},
|
|
12716
|
+
onKeydown: (event) => {
|
|
12717
|
+
this.$emit("keydown", event);
|
|
12718
|
+
},
|
|
12719
|
+
onKeyup: (event) => {
|
|
12720
|
+
this.$emit("keyup", event);
|
|
12721
|
+
}
|
|
12722
|
+
},
|
|
12723
|
+
[
|
|
12724
|
+
// @ts-ignore
|
|
12725
|
+
this.$slots.default && this.$slots.default()
|
|
12726
|
+
]
|
|
12727
|
+
);
|
|
12728
|
+
}
|
|
12729
|
+
});
|
|
12730
|
+
|
|
12731
|
+
const VTableHeaderCell = defineComponent({
|
|
12732
|
+
name: "VTableHeaderCell",
|
|
12733
|
+
emits: [
|
|
12734
|
+
/**
|
|
12735
|
+
* Fires when the element loses focus.
|
|
12736
|
+
* @type {FocusEvent}
|
|
12737
|
+
*/
|
|
12738
|
+
"blur",
|
|
12739
|
+
/**
|
|
12740
|
+
* 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.
|
|
12741
|
+
* @type {MouseEvent}
|
|
12742
|
+
*/
|
|
12743
|
+
"click",
|
|
12744
|
+
/**
|
|
12745
|
+
* Fires when the element receives focus.
|
|
12746
|
+
* @type {FocusEvent}
|
|
12747
|
+
*/
|
|
12748
|
+
"focus",
|
|
12749
|
+
/**
|
|
12750
|
+
* Fires when the value of an element has been changed.
|
|
12751
|
+
* @type {Event}
|
|
12752
|
+
*/
|
|
12753
|
+
"input",
|
|
12754
|
+
/**
|
|
12755
|
+
* Fires when a key is pressed.
|
|
12756
|
+
* @type {KeyboardEvent}
|
|
12757
|
+
*/
|
|
12758
|
+
"keydown",
|
|
12759
|
+
/**
|
|
12760
|
+
* Fires when a key is released.
|
|
12761
|
+
* @type {KeyboardEvent}
|
|
12762
|
+
*/
|
|
12763
|
+
"keyup"
|
|
12764
|
+
],
|
|
12765
|
+
methods: {},
|
|
12766
|
+
setup(props, ctx) {
|
|
12767
|
+
const componentName = registerComponent(
|
|
12768
|
+
"table-header-cell",
|
|
12769
|
+
registerDataTable
|
|
12770
|
+
);
|
|
12771
|
+
const element = ref(null);
|
|
12772
|
+
return { componentName, element };
|
|
12773
|
+
},
|
|
12774
|
+
render() {
|
|
12775
|
+
if (isVue2) {
|
|
12776
|
+
return h(
|
|
12777
|
+
this.componentName,
|
|
12778
|
+
{
|
|
12779
|
+
ref: "element",
|
|
12780
|
+
attrs: {},
|
|
12781
|
+
class: "vvd-component",
|
|
12782
|
+
on: {
|
|
12783
|
+
blur: (event) => {
|
|
12784
|
+
this.$emit("blur", event);
|
|
12785
|
+
},
|
|
12786
|
+
click: (event) => {
|
|
12787
|
+
this.$emit("click", event);
|
|
12788
|
+
},
|
|
12789
|
+
focus: (event) => {
|
|
12790
|
+
this.$emit("focus", event);
|
|
12791
|
+
},
|
|
12792
|
+
input: (event) => {
|
|
12793
|
+
this.$emit("input", event);
|
|
12794
|
+
},
|
|
12795
|
+
keydown: (event) => {
|
|
12796
|
+
this.$emit("keydown", event);
|
|
12797
|
+
},
|
|
12798
|
+
keyup: (event) => {
|
|
12799
|
+
this.$emit("keyup", event);
|
|
12800
|
+
}
|
|
12801
|
+
}
|
|
12802
|
+
},
|
|
12803
|
+
[this.$slots.default]
|
|
12804
|
+
);
|
|
12805
|
+
}
|
|
12806
|
+
return h(
|
|
12807
|
+
this.componentName,
|
|
12808
|
+
{
|
|
12809
|
+
ref: "element",
|
|
12810
|
+
class: "vvd-component",
|
|
12811
|
+
...handleVue3Props({}),
|
|
12812
|
+
onBlur: (event) => {
|
|
12813
|
+
this.$emit("blur", event);
|
|
12814
|
+
},
|
|
12815
|
+
onClick: (event) => {
|
|
12816
|
+
this.$emit("click", event);
|
|
12817
|
+
},
|
|
12818
|
+
onFocus: (event) => {
|
|
12819
|
+
this.$emit("focus", event);
|
|
12820
|
+
},
|
|
12821
|
+
onInput: (event) => {
|
|
12822
|
+
this.$emit("input", event);
|
|
12823
|
+
},
|
|
12824
|
+
onKeydown: (event) => {
|
|
12825
|
+
this.$emit("keydown", event);
|
|
12826
|
+
},
|
|
12827
|
+
onKeyup: (event) => {
|
|
12828
|
+
this.$emit("keyup", event);
|
|
12829
|
+
}
|
|
12830
|
+
},
|
|
12831
|
+
[
|
|
12832
|
+
// @ts-ignore
|
|
12833
|
+
this.$slots.default && this.$slots.default()
|
|
12834
|
+
]
|
|
12835
|
+
);
|
|
12836
|
+
}
|
|
12837
|
+
});
|
|
12838
|
+
|
|
12839
|
+
const VTableRow = defineComponent({
|
|
12840
|
+
name: "VTableRow",
|
|
12841
|
+
emits: [
|
|
12842
|
+
/**
|
|
12843
|
+
* Fires when the element loses focus.
|
|
12844
|
+
* @type {FocusEvent}
|
|
12845
|
+
*/
|
|
12846
|
+
"blur",
|
|
12847
|
+
/**
|
|
12848
|
+
* 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.
|
|
12849
|
+
* @type {MouseEvent}
|
|
12850
|
+
*/
|
|
12851
|
+
"click",
|
|
12852
|
+
/**
|
|
12853
|
+
* Fires when the element receives focus.
|
|
12854
|
+
* @type {FocusEvent}
|
|
12855
|
+
*/
|
|
12856
|
+
"focus",
|
|
12857
|
+
/**
|
|
12858
|
+
* Fires when the value of an element has been changed.
|
|
12859
|
+
* @type {Event}
|
|
12860
|
+
*/
|
|
12861
|
+
"input",
|
|
12862
|
+
/**
|
|
12863
|
+
* Fires when a key is pressed.
|
|
12864
|
+
* @type {KeyboardEvent}
|
|
12865
|
+
*/
|
|
12866
|
+
"keydown",
|
|
12867
|
+
/**
|
|
12868
|
+
* Fires when a key is released.
|
|
12869
|
+
* @type {KeyboardEvent}
|
|
12870
|
+
*/
|
|
12871
|
+
"keyup"
|
|
12872
|
+
],
|
|
12873
|
+
methods: {},
|
|
12874
|
+
setup(props, ctx) {
|
|
12875
|
+
const componentName = registerComponent("table-row", registerDataTable);
|
|
12876
|
+
const element = ref(null);
|
|
12877
|
+
return { componentName, element };
|
|
12878
|
+
},
|
|
12879
|
+
render() {
|
|
12880
|
+
if (isVue2) {
|
|
12881
|
+
return h(
|
|
12882
|
+
this.componentName,
|
|
12883
|
+
{
|
|
12884
|
+
ref: "element",
|
|
12885
|
+
attrs: {},
|
|
12886
|
+
class: "vvd-component",
|
|
12887
|
+
on: {
|
|
12888
|
+
blur: (event) => {
|
|
12889
|
+
this.$emit("blur", event);
|
|
12890
|
+
},
|
|
12891
|
+
click: (event) => {
|
|
12892
|
+
this.$emit("click", event);
|
|
12893
|
+
},
|
|
12894
|
+
focus: (event) => {
|
|
12895
|
+
this.$emit("focus", event);
|
|
12896
|
+
},
|
|
12897
|
+
input: (event) => {
|
|
12898
|
+
this.$emit("input", event);
|
|
12899
|
+
},
|
|
12900
|
+
keydown: (event) => {
|
|
12901
|
+
this.$emit("keydown", event);
|
|
12902
|
+
},
|
|
12903
|
+
keyup: (event) => {
|
|
12904
|
+
this.$emit("keyup", event);
|
|
12905
|
+
}
|
|
12906
|
+
}
|
|
12907
|
+
},
|
|
12908
|
+
[this.$slots.default]
|
|
12909
|
+
);
|
|
12910
|
+
}
|
|
12911
|
+
return h(
|
|
12912
|
+
this.componentName,
|
|
12913
|
+
{
|
|
12914
|
+
ref: "element",
|
|
12915
|
+
class: "vvd-component",
|
|
12916
|
+
...handleVue3Props({}),
|
|
12917
|
+
onBlur: (event) => {
|
|
12918
|
+
this.$emit("blur", event);
|
|
12919
|
+
},
|
|
12920
|
+
onClick: (event) => {
|
|
12921
|
+
this.$emit("click", event);
|
|
12922
|
+
},
|
|
12923
|
+
onFocus: (event) => {
|
|
12924
|
+
this.$emit("focus", event);
|
|
12925
|
+
},
|
|
12926
|
+
onInput: (event) => {
|
|
12927
|
+
this.$emit("input", event);
|
|
12928
|
+
},
|
|
12929
|
+
onKeydown: (event) => {
|
|
12930
|
+
this.$emit("keydown", event);
|
|
12931
|
+
},
|
|
12932
|
+
onKeyup: (event) => {
|
|
12933
|
+
this.$emit("keyup", event);
|
|
12934
|
+
}
|
|
12935
|
+
},
|
|
12936
|
+
[
|
|
12937
|
+
// @ts-ignore
|
|
12938
|
+
this.$slots.default && this.$slots.default()
|
|
12939
|
+
]
|
|
12940
|
+
);
|
|
12941
|
+
}
|
|
12942
|
+
});
|
|
12943
|
+
|
|
12944
|
+
const VTabs = defineComponent({
|
|
12945
|
+
name: "VTabs",
|
|
12946
|
+
props: {
|
|
12947
|
+
/**
|
|
12948
|
+
* The id of the active tab
|
|
12949
|
+
*/
|
|
12950
|
+
activeid: { type: String, default: void 0 },
|
|
12951
|
+
/**
|
|
12952
|
+
* Deprecated attribute. It has no effect.
|
|
12953
|
+
*/
|
|
12954
|
+
activeindicator: { type: Boolean, default: void 0 },
|
|
12955
|
+
/**
|
|
12956
|
+
* The connotation the tabs should have.
|
|
12957
|
+
*/
|
|
12958
|
+
connotation: {
|
|
12959
|
+
type: String,
|
|
12960
|
+
default: void 0
|
|
12961
|
+
},
|
|
12962
|
+
/**
|
|
12963
|
+
* sets the initial preferred margin from predefined available options
|
|
12964
|
+
*/
|
|
12965
|
+
gutters: { type: String, default: void 0 },
|
|
12966
|
+
/**
|
|
12967
|
+
* The orientation
|
|
12968
|
+
*/
|
|
12969
|
+
orientation: {
|
|
12970
|
+
type: String,
|
|
12971
|
+
default: void 0
|
|
12972
|
+
},
|
|
12973
|
+
/**
|
|
12974
|
+
* sets overflow to the tab-panel
|
|
12975
|
+
*/
|
|
12976
|
+
scrollablePanel: { type: Boolean, default: void 0 },
|
|
12977
|
+
/**
|
|
12978
|
+
* Controls the layout of the tabs.
|
|
12979
|
+
*/
|
|
12980
|
+
tabsLayout: {
|
|
12981
|
+
type: String,
|
|
12982
|
+
default: void 0
|
|
12983
|
+
}
|
|
12984
|
+
},
|
|
12985
|
+
emits: [
|
|
12986
|
+
/**
|
|
12987
|
+
* Fires when the element loses focus.
|
|
12988
|
+
* @type {FocusEvent}
|
|
12989
|
+
*/
|
|
12990
|
+
"blur",
|
|
12991
|
+
/**
|
|
12992
|
+
* Fires a custom 'change' event when a tab is clicked or during keyboard navigation
|
|
12993
|
+
* @type {CustomEvent<HTMLElement>}
|
|
12994
|
+
*/
|
|
12995
|
+
"change",
|
|
12996
|
+
/**
|
|
12997
|
+
* 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.
|
|
12998
|
+
* @type {MouseEvent}
|
|
12999
|
+
*/
|
|
13000
|
+
"click",
|
|
13001
|
+
/**
|
|
13002
|
+
* Fires when the element receives focus.
|
|
13003
|
+
* @type {FocusEvent}
|
|
13004
|
+
*/
|
|
13005
|
+
"focus",
|
|
13006
|
+
/**
|
|
13007
|
+
* Fires when the value of an element has been changed.
|
|
13008
|
+
* @type {Event}
|
|
13009
|
+
*/
|
|
13010
|
+
"input",
|
|
13011
|
+
/**
|
|
13012
|
+
* Fires when a key is pressed.
|
|
13013
|
+
* @type {KeyboardEvent}
|
|
13014
|
+
*/
|
|
13015
|
+
"keydown",
|
|
13016
|
+
/**
|
|
13017
|
+
* Fires when a key is released.
|
|
13018
|
+
* @type {KeyboardEvent}
|
|
13019
|
+
*/
|
|
13020
|
+
"keyup"
|
|
13021
|
+
],
|
|
13022
|
+
methods: {
|
|
13023
|
+
/**
|
|
13024
|
+
* Adjusts the active index by numerical increments.
|
|
13025
|
+
* Only enabled tabs are considered.
|
|
13026
|
+
*/
|
|
13027
|
+
adjust(adjustment) {
|
|
13028
|
+
return this.element?.adjust(adjustment);
|
|
13029
|
+
}
|
|
13030
|
+
},
|
|
13031
|
+
setup(props, ctx) {
|
|
13032
|
+
const componentName = registerComponent("tabs", registerTabs);
|
|
13033
|
+
const element = ref(null);
|
|
13034
|
+
return { componentName, element };
|
|
13035
|
+
},
|
|
13036
|
+
render() {
|
|
13037
|
+
if (isVue2) {
|
|
13038
|
+
return h(
|
|
13039
|
+
this.componentName,
|
|
13040
|
+
{
|
|
13041
|
+
ref: "element",
|
|
13042
|
+
attrs: {
|
|
13043
|
+
...this.activeid !== void 0 ? { activeid: this.activeid } : {},
|
|
13044
|
+
...this.activeindicator !== void 0 ? { activeindicator: this.activeindicator } : {},
|
|
13045
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
13046
|
+
...this.gutters !== void 0 ? { gutters: this.gutters } : {},
|
|
13047
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
13048
|
+
...this.scrollablePanel !== void 0 ? { "scrollable-panel": this.scrollablePanel } : {},
|
|
13049
|
+
...this.tabsLayout !== void 0 ? { "tabs-layout": this.tabsLayout } : {}
|
|
13050
|
+
},
|
|
13051
|
+
class: "vvd-component",
|
|
13052
|
+
on: {
|
|
13053
|
+
blur: (event) => {
|
|
13054
|
+
this.$emit("blur", event);
|
|
13055
|
+
},
|
|
13056
|
+
change: (event) => {
|
|
13057
|
+
this.$emit("change", event);
|
|
13058
|
+
},
|
|
13059
|
+
click: (event) => {
|
|
13060
|
+
this.$emit("click", event);
|
|
13061
|
+
},
|
|
13062
|
+
focus: (event) => {
|
|
13063
|
+
this.$emit("focus", event);
|
|
13064
|
+
},
|
|
13065
|
+
input: (event) => {
|
|
13066
|
+
this.$emit("input", event);
|
|
13067
|
+
},
|
|
13068
|
+
keydown: (event) => {
|
|
13069
|
+
this.$emit("keydown", event);
|
|
13070
|
+
},
|
|
13071
|
+
keyup: (event) => {
|
|
13072
|
+
this.$emit("keyup", event);
|
|
13073
|
+
}
|
|
13074
|
+
}
|
|
13075
|
+
},
|
|
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
|
+
]
|
|
13081
|
+
);
|
|
13082
|
+
}
|
|
13083
|
+
return h(
|
|
13084
|
+
this.componentName,
|
|
13085
|
+
{
|
|
13086
|
+
ref: "element",
|
|
13087
|
+
class: "vvd-component",
|
|
13088
|
+
...handleVue3Props({
|
|
13089
|
+
...this.activeid !== void 0 ? { "^activeid": this.activeid } : {},
|
|
13090
|
+
...this.activeindicator !== void 0 && this.activeindicator !== false ? { "^activeindicator": this.activeindicator } : {},
|
|
13091
|
+
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
13092
|
+
...this.gutters !== void 0 ? { "^gutters": this.gutters } : {},
|
|
13093
|
+
...this.orientation !== void 0 ? { "^orientation": this.orientation } : {},
|
|
13094
|
+
...this.scrollablePanel !== void 0 && this.scrollablePanel !== false ? { "^scrollable-panel": this.scrollablePanel } : {},
|
|
13095
|
+
...this.tabsLayout !== void 0 ? { "^tabs-layout": this.tabsLayout } : {}
|
|
13096
|
+
}),
|
|
13097
|
+
onBlur: (event) => {
|
|
13098
|
+
this.$emit("blur", event);
|
|
13099
|
+
},
|
|
13100
|
+
onChange: (event) => {
|
|
13101
|
+
this.$emit("change", event);
|
|
13102
|
+
},
|
|
13103
|
+
onClick: (event) => {
|
|
13104
|
+
this.$emit("click", event);
|
|
13105
|
+
},
|
|
13106
|
+
onFocus: (event) => {
|
|
13107
|
+
this.$emit("focus", event);
|
|
13108
|
+
},
|
|
13109
|
+
onInput: (event) => {
|
|
13110
|
+
this.$emit("input", event);
|
|
13111
|
+
},
|
|
13112
|
+
onKeydown: (event) => {
|
|
13113
|
+
this.$emit("keydown", event);
|
|
13114
|
+
},
|
|
13115
|
+
onKeyup: (event) => {
|
|
13116
|
+
this.$emit("keyup", event);
|
|
13117
|
+
}
|
|
13118
|
+
},
|
|
13119
|
+
[
|
|
13120
|
+
// @ts-ignore
|
|
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"])
|
|
13124
|
+
]
|
|
13125
|
+
);
|
|
13126
|
+
}
|
|
13127
|
+
});
|
|
13128
|
+
|
|
13129
|
+
const VTag = defineComponent({
|
|
13130
|
+
name: "VTag",
|
|
13131
|
+
props: {
|
|
13132
|
+
/**
|
|
13133
|
+
* The appearance the tag should have.
|
|
13134
|
+
*/
|
|
13135
|
+
appearance: {
|
|
13136
|
+
type: String,
|
|
13137
|
+
default: void 0
|
|
13138
|
+
},
|
|
13139
|
+
/**
|
|
13140
|
+
* The connotation the tag should have.
|
|
13141
|
+
*/
|
|
13142
|
+
connotation: {
|
|
13143
|
+
type: String,
|
|
13144
|
+
default: void 0
|
|
13145
|
+
},
|
|
13146
|
+
/**
|
|
13147
|
+
* indicates whether the tag is disabled
|
|
13148
|
+
*/
|
|
13149
|
+
disabled: { type: Boolean, default: void 0 },
|
|
13150
|
+
/**
|
|
13151
|
+
* A decorative icon the custom element should have.
|
|
13152
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
13153
|
+
*/
|
|
12109
13154
|
icon: { type: String, default: void 0 },
|
|
12110
13155
|
/**
|
|
12111
13156
|
* Indicates the tag's label.
|
|
@@ -12635,6 +13680,8 @@ const VTextArea = defineComponent({
|
|
|
12635
13680
|
},
|
|
12636
13681
|
[
|
|
12637
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"]),
|
|
12638
13685
|
// @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
|
|
12639
13686
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
12640
13687
|
]
|
|
@@ -12695,6 +13742,11 @@ const VTextArea = defineComponent({
|
|
|
12695
13742
|
[
|
|
12696
13743
|
// @ts-ignore
|
|
12697
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
|
+
),
|
|
12698
13750
|
// @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
|
|
12699
13751
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
12700
13752
|
]
|
|
@@ -12963,6 +14015,8 @@ const VTextField = defineComponent({
|
|
|
12963
14015
|
this.$slots.default,
|
|
12964
14016
|
// @slot action-items Used to add action items to the end of the text-field.
|
|
12965
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"]),
|
|
12966
14020
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
12967
14021
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
12968
14022
|
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
@@ -13034,6 +14088,11 @@ const VTextField = defineComponent({
|
|
|
13034
14088
|
this.$slots.default && this.$slots.default(),
|
|
13035
14089
|
// @slot action-items Used to add action items to the end of the text-field.
|
|
13036
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
|
+
),
|
|
13037
14096
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
13038
14097
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
13039
14098
|
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
@@ -13228,6 +14287,8 @@ const VTimePicker = defineComponent({
|
|
|
13228
14287
|
},
|
|
13229
14288
|
[
|
|
13230
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"]),
|
|
13231
14292
|
// @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
|
|
13232
14293
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
13233
14294
|
]
|
|
@@ -13280,6 +14341,11 @@ const VTimePicker = defineComponent({
|
|
|
13280
14341
|
[
|
|
13281
14342
|
// @ts-ignore
|
|
13282
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
|
+
),
|
|
13283
14349
|
// @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
|
|
13284
14350
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
13285
14351
|
]
|
|
@@ -14370,6 +15436,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
14370
15436
|
Icon2["copy2Solid"] = "copy-2-solid";
|
|
14371
15437
|
Icon2["copyLine"] = "copy-line";
|
|
14372
15438
|
Icon2["copySolid"] = "copy-solid";
|
|
15439
|
+
Icon2["coverageLine"] = "coverage-line";
|
|
15440
|
+
Icon2["coverageSolid"] = "coverage-solid";
|
|
14373
15441
|
Icon2["creditCardLine"] = "credit-card-line";
|
|
14374
15442
|
Icon2["creditCardSolid"] = "credit-card-solid";
|
|
14375
15443
|
Icon2["cropLine"] = "crop-line";
|
|
@@ -14384,6 +15452,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
14384
15452
|
Icon2["cursorSolid"] = "cursor-solid";
|
|
14385
15453
|
Icon2["darkModeLine"] = "dark-mode-line";
|
|
14386
15454
|
Icon2["darkModeSolid"] = "dark-mode-solid";
|
|
15455
|
+
Icon2["dataRoamingLine"] = "data-roaming-line";
|
|
15456
|
+
Icon2["dataRoamingSolid"] = "data-roaming-solid";
|
|
14387
15457
|
Icon2["deleteLine"] = "delete-line";
|
|
14388
15458
|
Icon2["deleteSolid"] = "delete-solid";
|
|
14389
15459
|
Icon2["densityHighLine"] = "density-high-line";
|
|
@@ -15435,4 +16505,4 @@ const vividVue = {
|
|
|
15435
16505
|
};
|
|
15436
16506
|
const vivid3 = vividVue;
|
|
15437
16507
|
|
|
15438
|
-
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, 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 };
|