@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.cjs
CHANGED
|
@@ -3178,6 +3178,8 @@ const VColorPicker = vue.defineComponent({
|
|
|
3178
3178
|
},
|
|
3179
3179
|
[
|
|
3180
3180
|
this.$slots.default,
|
|
3181
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
3182
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
3181
3183
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
3182
3184
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
3183
3185
|
// @slot popup-text Overrides the default "Color Picker" title of the Popup window.
|
|
@@ -3235,6 +3237,11 @@ const VColorPicker = vue.defineComponent({
|
|
|
3235
3237
|
[
|
|
3236
3238
|
// @ts-ignore
|
|
3237
3239
|
this.$slots.default && this.$slots.default(),
|
|
3240
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
3241
|
+
handleNamedSlotV3(
|
|
3242
|
+
"contextual-help",
|
|
3243
|
+
this.$slots["contextual-help"]
|
|
3244
|
+
),
|
|
3238
3245
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
3239
3246
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
3240
3247
|
// @slot popup-text Overrides the default "Color Picker" title of the Popup window.
|
|
@@ -3487,6 +3494,8 @@ const VCombobox = vue.defineComponent({
|
|
|
3487
3494
|
},
|
|
3488
3495
|
[
|
|
3489
3496
|
this.$slots.default,
|
|
3497
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
3498
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
3490
3499
|
// @slot helper-text Describes how to use the combobox. Alternative to the `helper-text` attribute.
|
|
3491
3500
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
3492
3501
|
// @slot icon The preferred way to add an icon to the combobox control.
|
|
@@ -3547,6 +3556,11 @@ const VCombobox = vue.defineComponent({
|
|
|
3547
3556
|
[
|
|
3548
3557
|
// @ts-ignore
|
|
3549
3558
|
this.$slots.default && this.$slots.default(),
|
|
3559
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
3560
|
+
handleNamedSlotV3(
|
|
3561
|
+
"contextual-help",
|
|
3562
|
+
this.$slots["contextual-help"]
|
|
3563
|
+
),
|
|
3550
3564
|
// @slot helper-text Describes how to use the combobox. Alternative to the `helper-text` attribute.
|
|
3551
3565
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
3552
3566
|
// @slot icon The preferred way to add an icon to the combobox control.
|
|
@@ -4382,6 +4396,8 @@ const VDatePicker = vue.defineComponent({
|
|
|
4382
4396
|
},
|
|
4383
4397
|
[
|
|
4384
4398
|
this.$slots.default,
|
|
4399
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
4400
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
4385
4401
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4386
4402
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4387
4403
|
]
|
|
@@ -4431,6 +4447,11 @@ const VDatePicker = vue.defineComponent({
|
|
|
4431
4447
|
[
|
|
4432
4448
|
// @ts-ignore
|
|
4433
4449
|
this.$slots.default && this.$slots.default(),
|
|
4450
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
4451
|
+
handleNamedSlotV3(
|
|
4452
|
+
"contextual-help",
|
|
4453
|
+
this.$slots["contextual-help"]
|
|
4454
|
+
),
|
|
4434
4455
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4435
4456
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4436
4457
|
]
|
|
@@ -4652,6 +4673,8 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
4652
4673
|
},
|
|
4653
4674
|
[
|
|
4654
4675
|
this.$slots.default,
|
|
4676
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
4677
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
4655
4678
|
// @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
4656
4679
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4657
4680
|
]
|
|
@@ -4712,6 +4735,11 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
4712
4735
|
[
|
|
4713
4736
|
// @ts-ignore
|
|
4714
4737
|
this.$slots.default && this.$slots.default(),
|
|
4738
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
4739
|
+
handleNamedSlotV3(
|
|
4740
|
+
"contextual-help",
|
|
4741
|
+
this.$slots["contextual-help"]
|
|
4742
|
+
),
|
|
4715
4743
|
// @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
4716
4744
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4717
4745
|
]
|
|
@@ -4924,6 +4952,8 @@ const VDateTimePicker = vue.defineComponent({
|
|
|
4924
4952
|
},
|
|
4925
4953
|
[
|
|
4926
4954
|
this.$slots.default,
|
|
4955
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
4956
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
4927
4957
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4928
4958
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4929
4959
|
]
|
|
@@ -4980,6 +5010,11 @@ const VDateTimePicker = vue.defineComponent({
|
|
|
4980
5010
|
[
|
|
4981
5011
|
// @ts-ignore
|
|
4982
5012
|
this.$slots.default && this.$slots.default(),
|
|
5013
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
5014
|
+
handleNamedSlotV3(
|
|
5015
|
+
"contextual-help",
|
|
5016
|
+
this.$slots["contextual-help"]
|
|
5017
|
+
),
|
|
4983
5018
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4984
5019
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4985
5020
|
]
|
|
@@ -6224,6 +6259,8 @@ const VFilePicker = vue.defineComponent({
|
|
|
6224
6259
|
},
|
|
6225
6260
|
[
|
|
6226
6261
|
this.$slots.default,
|
|
6262
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
6263
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
6227
6264
|
// @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
|
|
6228
6265
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
6229
6266
|
]
|
|
@@ -6277,6 +6314,11 @@ const VFilePicker = vue.defineComponent({
|
|
|
6277
6314
|
[
|
|
6278
6315
|
// @ts-ignore
|
|
6279
6316
|
this.$slots.default && this.$slots.default(),
|
|
6317
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
6318
|
+
handleNamedSlotV3(
|
|
6319
|
+
"contextual-help",
|
|
6320
|
+
this.$slots["contextual-help"]
|
|
6321
|
+
),
|
|
6280
6322
|
// @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
|
|
6281
6323
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
6282
6324
|
]
|
|
@@ -8063,6 +8105,8 @@ const VNumberField = vue.defineComponent({
|
|
|
8063
8105
|
},
|
|
8064
8106
|
[
|
|
8065
8107
|
this.$slots.default,
|
|
8108
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
8109
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
8066
8110
|
// @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
|
|
8067
8111
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
8068
8112
|
]
|
|
@@ -8129,6 +8173,11 @@ const VNumberField = vue.defineComponent({
|
|
|
8129
8173
|
[
|
|
8130
8174
|
// @ts-ignore
|
|
8131
8175
|
this.$slots.default && this.$slots.default(),
|
|
8176
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
8177
|
+
handleNamedSlotV3(
|
|
8178
|
+
"contextual-help",
|
|
8179
|
+
this.$slots["contextual-help"]
|
|
8180
|
+
),
|
|
8132
8181
|
// @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
|
|
8133
8182
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
8134
8183
|
]
|
|
@@ -8493,6 +8542,238 @@ const VPagination = vue.defineComponent({
|
|
|
8493
8542
|
}
|
|
8494
8543
|
});
|
|
8495
8544
|
|
|
8545
|
+
const VPopover = vue.defineComponent({
|
|
8546
|
+
name: "VPopover",
|
|
8547
|
+
props: {
|
|
8548
|
+
/**
|
|
8549
|
+
* Sets the color-scheme to alternate (dark/light)
|
|
8550
|
+
*/
|
|
8551
|
+
alternate: { type: Boolean, default: void 0 },
|
|
8552
|
+
/**
|
|
8553
|
+
* Whether to render the arrow tip.
|
|
8554
|
+
*/
|
|
8555
|
+
arrow: { type: Boolean, default: void 0 },
|
|
8556
|
+
/**
|
|
8557
|
+
* Overrides the default Dismiss button's aria-label.
|
|
8558
|
+
*/
|
|
8559
|
+
dismissButtonAriaLabel: {
|
|
8560
|
+
type: String,
|
|
8561
|
+
default: void 0
|
|
8562
|
+
},
|
|
8563
|
+
/**
|
|
8564
|
+
* Sets the layout of the popover.
|
|
8565
|
+
*/
|
|
8566
|
+
layout: {
|
|
8567
|
+
type: String,
|
|
8568
|
+
default: void 0
|
|
8569
|
+
},
|
|
8570
|
+
/**
|
|
8571
|
+
* If true, the popover uses manual dismissal (no light-dismiss).
|
|
8572
|
+
* Adds a close button to the UI.
|
|
8573
|
+
*/
|
|
8574
|
+
manual: { type: Boolean, default: void 0 },
|
|
8575
|
+
/**
|
|
8576
|
+
* Sets the offset between popover and the anchor element.
|
|
8577
|
+
*/
|
|
8578
|
+
offset: { type: Number, default: void 0 },
|
|
8579
|
+
/**
|
|
8580
|
+
* Indicates if the popover is currently open.
|
|
8581
|
+
* Can be set declaratively to open/close the popover.
|
|
8582
|
+
* Automatically updates when the user dismisses the popover.
|
|
8583
|
+
*/
|
|
8584
|
+
open: { type: Boolean, default: void 0 },
|
|
8585
|
+
/**
|
|
8586
|
+
* The placement of the popover relative to the anchor.
|
|
8587
|
+
*/
|
|
8588
|
+
placement: {
|
|
8589
|
+
type: String,
|
|
8590
|
+
default: void 0
|
|
8591
|
+
}
|
|
8592
|
+
},
|
|
8593
|
+
emits: [
|
|
8594
|
+
/**
|
|
8595
|
+
* Fires when the element loses focus.
|
|
8596
|
+
* @type {FocusEvent}
|
|
8597
|
+
*/
|
|
8598
|
+
"blur",
|
|
8599
|
+
/**
|
|
8600
|
+
* 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.
|
|
8601
|
+
* @type {MouseEvent}
|
|
8602
|
+
*/
|
|
8603
|
+
"click",
|
|
8604
|
+
/**
|
|
8605
|
+
* Fired when the popover closes.
|
|
8606
|
+
* @type {CustomEvent}
|
|
8607
|
+
*/
|
|
8608
|
+
"close",
|
|
8609
|
+
/**
|
|
8610
|
+
* Fires when the element receives focus.
|
|
8611
|
+
* @type {FocusEvent}
|
|
8612
|
+
*/
|
|
8613
|
+
"focus",
|
|
8614
|
+
/**
|
|
8615
|
+
* Fires when the value of an element has been changed.
|
|
8616
|
+
* @type {Event}
|
|
8617
|
+
*/
|
|
8618
|
+
"input",
|
|
8619
|
+
/**
|
|
8620
|
+
* Fires when a key is pressed.
|
|
8621
|
+
* @type {KeyboardEvent}
|
|
8622
|
+
*/
|
|
8623
|
+
"keydown",
|
|
8624
|
+
/**
|
|
8625
|
+
* Fires when a key is released.
|
|
8626
|
+
* @type {KeyboardEvent}
|
|
8627
|
+
*/
|
|
8628
|
+
"keyup",
|
|
8629
|
+
/**
|
|
8630
|
+
* Fired when the popover opens.
|
|
8631
|
+
* @type {CustomEvent}
|
|
8632
|
+
*/
|
|
8633
|
+
"open"
|
|
8634
|
+
],
|
|
8635
|
+
methods: {
|
|
8636
|
+
_slottedAnchorChanged() {
|
|
8637
|
+
return this.element?._slottedAnchorChanged();
|
|
8638
|
+
},
|
|
8639
|
+
anchorChanged() {
|
|
8640
|
+
return this.element?.anchorChanged();
|
|
8641
|
+
},
|
|
8642
|
+
arrowChanged() {
|
|
8643
|
+
return this.element?.arrowChanged();
|
|
8644
|
+
},
|
|
8645
|
+
hide() {
|
|
8646
|
+
return this.element?.hide();
|
|
8647
|
+
},
|
|
8648
|
+
openChanged(_oldValue, newValue) {
|
|
8649
|
+
return this.element?.openChanged(_oldValue, newValue);
|
|
8650
|
+
},
|
|
8651
|
+
placementChanged() {
|
|
8652
|
+
return this.element?.placementChanged();
|
|
8653
|
+
},
|
|
8654
|
+
show() {
|
|
8655
|
+
return this.element?.show();
|
|
8656
|
+
},
|
|
8657
|
+
toggle() {
|
|
8658
|
+
return this.element?.toggle();
|
|
8659
|
+
},
|
|
8660
|
+
/**
|
|
8661
|
+
* Updates the position of the popover
|
|
8662
|
+
*/
|
|
8663
|
+
updatePosition() {
|
|
8664
|
+
return this.element?.updatePosition();
|
|
8665
|
+
}
|
|
8666
|
+
},
|
|
8667
|
+
setup(props, ctx) {
|
|
8668
|
+
const componentName = registerComponent("popover", vivid.registerPopover);
|
|
8669
|
+
const element = vue.ref(null);
|
|
8670
|
+
return { componentName, element };
|
|
8671
|
+
},
|
|
8672
|
+
render() {
|
|
8673
|
+
if (isVue2) {
|
|
8674
|
+
return vue.h(
|
|
8675
|
+
this.componentName,
|
|
8676
|
+
{
|
|
8677
|
+
ref: "element",
|
|
8678
|
+
attrs: {
|
|
8679
|
+
...this.alternate !== void 0 ? { alternate: this.alternate } : {},
|
|
8680
|
+
...this.arrow !== void 0 ? { arrow: this.arrow } : {},
|
|
8681
|
+
...this.dismissButtonAriaLabel !== void 0 ? { "dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
|
|
8682
|
+
...this.layout !== void 0 ? { layout: this.layout } : {},
|
|
8683
|
+
...this.manual !== void 0 ? { manual: this.manual } : {},
|
|
8684
|
+
...this.offset !== void 0 ? { offset: this.offset } : {},
|
|
8685
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
8686
|
+
...this.placement !== void 0 ? { placement: this.placement } : {}
|
|
8687
|
+
},
|
|
8688
|
+
class: "vvd-component",
|
|
8689
|
+
on: {
|
|
8690
|
+
blur: (event) => {
|
|
8691
|
+
this.$emit("blur", event);
|
|
8692
|
+
},
|
|
8693
|
+
click: (event) => {
|
|
8694
|
+
this.$emit("click", event);
|
|
8695
|
+
},
|
|
8696
|
+
close: (event) => {
|
|
8697
|
+
this.$emit("close", event);
|
|
8698
|
+
},
|
|
8699
|
+
focus: (event) => {
|
|
8700
|
+
this.$emit("focus", event);
|
|
8701
|
+
},
|
|
8702
|
+
input: (event) => {
|
|
8703
|
+
this.$emit("input", event);
|
|
8704
|
+
},
|
|
8705
|
+
keydown: (event) => {
|
|
8706
|
+
this.$emit("keydown", event);
|
|
8707
|
+
},
|
|
8708
|
+
keyup: (event) => {
|
|
8709
|
+
this.$emit("keyup", event);
|
|
8710
|
+
},
|
|
8711
|
+
open: (event) => {
|
|
8712
|
+
this.$emit("open", event);
|
|
8713
|
+
}
|
|
8714
|
+
}
|
|
8715
|
+
},
|
|
8716
|
+
[
|
|
8717
|
+
this.$slots.default,
|
|
8718
|
+
// @slot anchor Slot for the trigger element.
|
|
8719
|
+
handleNamedSlotV2("anchor", this.$slots["anchor"]),
|
|
8720
|
+
// @slot footer Use the footer slot in order to add action buttons or other contents to the bottom of the dialog.
|
|
8721
|
+
handleNamedSlotV2("footer", this.$slots["footer"])
|
|
8722
|
+
]
|
|
8723
|
+
);
|
|
8724
|
+
}
|
|
8725
|
+
return vue.h(
|
|
8726
|
+
this.componentName,
|
|
8727
|
+
{
|
|
8728
|
+
ref: "element",
|
|
8729
|
+
class: "vvd-component",
|
|
8730
|
+
...handleVue3Props({
|
|
8731
|
+
...this.alternate !== void 0 && this.alternate !== false ? { "^alternate": this.alternate } : {},
|
|
8732
|
+
...this.arrow !== void 0 && this.arrow !== false ? { "^arrow": this.arrow } : {},
|
|
8733
|
+
...this.dismissButtonAriaLabel !== void 0 ? { "^dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
|
|
8734
|
+
...this.layout !== void 0 ? { "^layout": this.layout } : {},
|
|
8735
|
+
...this.manual !== void 0 && this.manual !== false ? { "^manual": this.manual } : {},
|
|
8736
|
+
...this.offset !== void 0 ? { "^offset": this.offset } : {},
|
|
8737
|
+
...this.open !== void 0 && this.open !== false ? { "^open": this.open } : {},
|
|
8738
|
+
...this.placement !== void 0 ? { "^placement": this.placement } : {}
|
|
8739
|
+
}),
|
|
8740
|
+
onBlur: (event) => {
|
|
8741
|
+
this.$emit("blur", event);
|
|
8742
|
+
},
|
|
8743
|
+
onClick: (event) => {
|
|
8744
|
+
this.$emit("click", event);
|
|
8745
|
+
},
|
|
8746
|
+
onClose: (event) => {
|
|
8747
|
+
this.$emit("close", event);
|
|
8748
|
+
},
|
|
8749
|
+
onFocus: (event) => {
|
|
8750
|
+
this.$emit("focus", event);
|
|
8751
|
+
},
|
|
8752
|
+
onInput: (event) => {
|
|
8753
|
+
this.$emit("input", event);
|
|
8754
|
+
},
|
|
8755
|
+
onKeydown: (event) => {
|
|
8756
|
+
this.$emit("keydown", event);
|
|
8757
|
+
},
|
|
8758
|
+
onKeyup: (event) => {
|
|
8759
|
+
this.$emit("keyup", event);
|
|
8760
|
+
},
|
|
8761
|
+
onOpen: (event) => {
|
|
8762
|
+
this.$emit("open", event);
|
|
8763
|
+
}
|
|
8764
|
+
},
|
|
8765
|
+
[
|
|
8766
|
+
// @ts-ignore
|
|
8767
|
+
this.$slots.default && this.$slots.default(),
|
|
8768
|
+
// @slot anchor Slot for the trigger element.
|
|
8769
|
+
handleNamedSlotV3("anchor", this.$slots["anchor"]),
|
|
8770
|
+
// @slot footer Use the footer slot in order to add action buttons or other contents to the bottom of the dialog.
|
|
8771
|
+
handleNamedSlotV3("footer", this.$slots["footer"])
|
|
8772
|
+
]
|
|
8773
|
+
);
|
|
8774
|
+
}
|
|
8775
|
+
});
|
|
8776
|
+
|
|
8496
8777
|
const VProgress = vue.defineComponent({
|
|
8497
8778
|
name: "VProgress",
|
|
8498
8779
|
props: {
|
|
@@ -9685,62 +9966,179 @@ const VRichTextEditor = vue.defineComponent({
|
|
|
9685
9966
|
}
|
|
9686
9967
|
});
|
|
9687
9968
|
|
|
9688
|
-
const
|
|
9689
|
-
name: "
|
|
9690
|
-
model: isVue2 ? {
|
|
9691
|
-
prop: "modelValue",
|
|
9692
|
-
event: "update:modelValue"
|
|
9693
|
-
} : void 0,
|
|
9969
|
+
const VRichTextView = vue.defineComponent({
|
|
9970
|
+
name: "VRichTextView",
|
|
9694
9971
|
props: {
|
|
9695
|
-
appearance: {
|
|
9696
|
-
type: String,
|
|
9697
|
-
default: void 0
|
|
9698
|
-
},
|
|
9699
|
-
/**
|
|
9700
|
-
* Adds a clear button to the input field that clears the selected values.
|
|
9701
|
-
*/
|
|
9702
|
-
clearable: { type: Boolean, default: void 0 },
|
|
9703
|
-
/**
|
|
9704
|
-
* Overrides the default "Deselect All" text
|
|
9705
|
-
*/
|
|
9706
|
-
deselectAllText: { type: String, default: void 0 },
|
|
9707
|
-
/**
|
|
9708
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9709
|
-
*/
|
|
9710
|
-
disabled: { type: Boolean, default: void 0 },
|
|
9711
9972
|
/**
|
|
9712
|
-
*
|
|
9973
|
+
* The view to display, created from the RteConfig.
|
|
9713
9974
|
*/
|
|
9714
|
-
|
|
9975
|
+
view: { type: null, default: void 0 }
|
|
9976
|
+
},
|
|
9977
|
+
emits: [
|
|
9715
9978
|
/**
|
|
9716
|
-
*
|
|
9979
|
+
* Fires when the element loses focus.
|
|
9980
|
+
* @type {FocusEvent}
|
|
9717
9981
|
*/
|
|
9718
|
-
|
|
9719
|
-
externalTags: { type: Boolean, default: void 0 },
|
|
9720
|
-
fixedDropdown: { type: Boolean, default: void 0 },
|
|
9982
|
+
"blur",
|
|
9721
9983
|
/**
|
|
9722
|
-
*
|
|
9723
|
-
*
|
|
9984
|
+
* 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.
|
|
9985
|
+
* @type {MouseEvent}
|
|
9724
9986
|
*/
|
|
9725
|
-
|
|
9987
|
+
"click",
|
|
9726
9988
|
/**
|
|
9727
|
-
*
|
|
9728
|
-
*
|
|
9989
|
+
* Fires when the element receives focus.
|
|
9990
|
+
* @type {FocusEvent}
|
|
9729
9991
|
*/
|
|
9730
|
-
|
|
9992
|
+
"focus",
|
|
9731
9993
|
/**
|
|
9732
|
-
*
|
|
9994
|
+
* Fires when the value of an element has been changed.
|
|
9995
|
+
* @type {Event}
|
|
9733
9996
|
*/
|
|
9734
|
-
|
|
9997
|
+
"input",
|
|
9735
9998
|
/**
|
|
9736
|
-
*
|
|
9737
|
-
*
|
|
9999
|
+
* Fires when a key is pressed.
|
|
10000
|
+
* @type {KeyboardEvent}
|
|
9738
10001
|
*/
|
|
9739
|
-
|
|
10002
|
+
"keydown",
|
|
9740
10003
|
/**
|
|
9741
|
-
*
|
|
10004
|
+
* Fires when a key is released.
|
|
10005
|
+
* @type {KeyboardEvent}
|
|
9742
10006
|
*/
|
|
9743
|
-
|
|
10007
|
+
"keyup"
|
|
10008
|
+
],
|
|
10009
|
+
methods: {},
|
|
10010
|
+
setup(props, ctx) {
|
|
10011
|
+
const componentName = registerComponent(
|
|
10012
|
+
"rich-text-view",
|
|
10013
|
+
vivid.registerRichTextView
|
|
10014
|
+
);
|
|
10015
|
+
const element = vue.ref(null);
|
|
10016
|
+
return { componentName, element };
|
|
10017
|
+
},
|
|
10018
|
+
render() {
|
|
10019
|
+
if (isVue2) {
|
|
10020
|
+
return vue.h(
|
|
10021
|
+
this.componentName,
|
|
10022
|
+
{
|
|
10023
|
+
ref: "element",
|
|
10024
|
+
attrs: {},
|
|
10025
|
+
class: "vvd-component",
|
|
10026
|
+
domProps: { ...this.view !== void 0 ? { view: this.view } : {} },
|
|
10027
|
+
on: {
|
|
10028
|
+
blur: (event) => {
|
|
10029
|
+
this.$emit("blur", event);
|
|
10030
|
+
},
|
|
10031
|
+
click: (event) => {
|
|
10032
|
+
this.$emit("click", event);
|
|
10033
|
+
},
|
|
10034
|
+
focus: (event) => {
|
|
10035
|
+
this.$emit("focus", event);
|
|
10036
|
+
},
|
|
10037
|
+
input: (event) => {
|
|
10038
|
+
this.$emit("input", event);
|
|
10039
|
+
},
|
|
10040
|
+
keydown: (event) => {
|
|
10041
|
+
this.$emit("keydown", event);
|
|
10042
|
+
},
|
|
10043
|
+
keyup: (event) => {
|
|
10044
|
+
this.$emit("keyup", event);
|
|
10045
|
+
}
|
|
10046
|
+
}
|
|
10047
|
+
},
|
|
10048
|
+
[this.$slots.default]
|
|
10049
|
+
);
|
|
10050
|
+
}
|
|
10051
|
+
return vue.h(
|
|
10052
|
+
this.componentName,
|
|
10053
|
+
{
|
|
10054
|
+
ref: "element",
|
|
10055
|
+
class: "vvd-component",
|
|
10056
|
+
...handleVue3Props({
|
|
10057
|
+
...this.view !== void 0 ? { ".view": this.view } : {}
|
|
10058
|
+
}),
|
|
10059
|
+
onBlur: (event) => {
|
|
10060
|
+
this.$emit("blur", event);
|
|
10061
|
+
},
|
|
10062
|
+
onClick: (event) => {
|
|
10063
|
+
this.$emit("click", event);
|
|
10064
|
+
},
|
|
10065
|
+
onFocus: (event) => {
|
|
10066
|
+
this.$emit("focus", event);
|
|
10067
|
+
},
|
|
10068
|
+
onInput: (event) => {
|
|
10069
|
+
this.$emit("input", event);
|
|
10070
|
+
},
|
|
10071
|
+
onKeydown: (event) => {
|
|
10072
|
+
this.$emit("keydown", event);
|
|
10073
|
+
},
|
|
10074
|
+
onKeyup: (event) => {
|
|
10075
|
+
this.$emit("keyup", event);
|
|
10076
|
+
}
|
|
10077
|
+
},
|
|
10078
|
+
[
|
|
10079
|
+
// @ts-ignore
|
|
10080
|
+
this.$slots.default && this.$slots.default()
|
|
10081
|
+
]
|
|
10082
|
+
);
|
|
10083
|
+
}
|
|
10084
|
+
});
|
|
10085
|
+
|
|
10086
|
+
const VSearchableSelect = vue.defineComponent({
|
|
10087
|
+
name: "VSearchableSelect",
|
|
10088
|
+
model: isVue2 ? {
|
|
10089
|
+
prop: "modelValue",
|
|
10090
|
+
event: "update:modelValue"
|
|
10091
|
+
} : void 0,
|
|
10092
|
+
props: {
|
|
10093
|
+
appearance: {
|
|
10094
|
+
type: String,
|
|
10095
|
+
default: void 0
|
|
10096
|
+
},
|
|
10097
|
+
/**
|
|
10098
|
+
* Adds a clear button to the input field that clears the selected values.
|
|
10099
|
+
*/
|
|
10100
|
+
clearable: { type: Boolean, default: void 0 },
|
|
10101
|
+
/**
|
|
10102
|
+
* Overrides the default "Deselect All" text
|
|
10103
|
+
*/
|
|
10104
|
+
deselectAllText: { type: String, default: void 0 },
|
|
10105
|
+
/**
|
|
10106
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
10107
|
+
*/
|
|
10108
|
+
disabled: { type: Boolean, default: void 0 },
|
|
10109
|
+
/**
|
|
10110
|
+
* Adds a "Select All" option at the top of the options list.
|
|
10111
|
+
*/
|
|
10112
|
+
enableSelectAll: { type: Boolean, default: void 0 },
|
|
10113
|
+
/**
|
|
10114
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
10115
|
+
*/
|
|
10116
|
+
errorText: { type: String, default: void 0 },
|
|
10117
|
+
externalTags: { type: Boolean, default: void 0 },
|
|
10118
|
+
fixedDropdown: { type: Boolean, default: void 0 },
|
|
10119
|
+
/**
|
|
10120
|
+
* Provides additional information to help the user enter the correct information.
|
|
10121
|
+
* To add HTML to the helper text, use the helper-text slot instead.
|
|
10122
|
+
*/
|
|
10123
|
+
helperText: { type: String, default: void 0 },
|
|
10124
|
+
/**
|
|
10125
|
+
* A decorative icon the custom element should have.
|
|
10126
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
10127
|
+
*/
|
|
10128
|
+
icon: { type: String, default: void 0 },
|
|
10129
|
+
/**
|
|
10130
|
+
* Indicates the icon affix alignment.
|
|
10131
|
+
*/
|
|
10132
|
+
iconTrailing: { type: Boolean, default: void 0 },
|
|
10133
|
+
/**
|
|
10134
|
+
* The default value of the element. This value sets the `value` property
|
|
10135
|
+
* only when the `value` property has not been explicitly set.
|
|
10136
|
+
*/
|
|
10137
|
+
initialValue: { type: String, default: void 0 },
|
|
10138
|
+
/**
|
|
10139
|
+
* The label for the form element.
|
|
10140
|
+
*/
|
|
10141
|
+
label: { type: String, default: void 0 },
|
|
9744
10142
|
/**
|
|
9745
10143
|
* Whether the component is in a loading state.
|
|
9746
10144
|
*/
|
|
@@ -9931,6 +10329,8 @@ const VSearchableSelect = vue.defineComponent({
|
|
|
9931
10329
|
},
|
|
9932
10330
|
[
|
|
9933
10331
|
this.$slots.default,
|
|
10332
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
10333
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
9934
10334
|
// @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
|
|
9935
10335
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
9936
10336
|
// @slot icon The preferred way to add an icon to the control.
|
|
@@ -10010,6 +10410,11 @@ const VSearchableSelect = vue.defineComponent({
|
|
|
10010
10410
|
[
|
|
10011
10411
|
// @ts-ignore
|
|
10012
10412
|
this.$slots.default && this.$slots.default(),
|
|
10413
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
10414
|
+
handleNamedSlotV3(
|
|
10415
|
+
"contextual-help",
|
|
10416
|
+
this.$slots["contextual-help"]
|
|
10417
|
+
),
|
|
10013
10418
|
// @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
|
|
10014
10419
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
10015
10420
|
// @slot icon The preferred way to add an icon to the control.
|
|
@@ -10257,6 +10662,8 @@ const VSelect = vue.defineComponent({
|
|
|
10257
10662
|
},
|
|
10258
10663
|
[
|
|
10259
10664
|
this.$slots.default,
|
|
10665
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
10666
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
10260
10667
|
// @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
|
|
10261
10668
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
10262
10669
|
// @slot icon The preferred way to add an icon to the select control.
|
|
@@ -10317,6 +10724,11 @@ const VSelect = vue.defineComponent({
|
|
|
10317
10724
|
[
|
|
10318
10725
|
// @ts-ignore
|
|
10319
10726
|
this.$slots.default && this.$slots.default(),
|
|
10727
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
10728
|
+
handleNamedSlotV3(
|
|
10729
|
+
"contextual-help",
|
|
10730
|
+
this.$slots["contextual-help"]
|
|
10731
|
+
),
|
|
10320
10732
|
// @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
|
|
10321
10733
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
10322
10734
|
// @slot icon The preferred way to add an icon to the select control.
|
|
@@ -11900,58 +12312,14 @@ const VTabPanel = vue.defineComponent({
|
|
|
11900
12312
|
}
|
|
11901
12313
|
});
|
|
11902
12314
|
|
|
11903
|
-
const
|
|
11904
|
-
name: "
|
|
11905
|
-
props: {
|
|
11906
|
-
/**
|
|
11907
|
-
* The id of the active tab
|
|
11908
|
-
*/
|
|
11909
|
-
activeid: { type: String, default: void 0 },
|
|
11910
|
-
/**
|
|
11911
|
-
* Deprecated attribute. It has no effect.
|
|
11912
|
-
*/
|
|
11913
|
-
activeindicator: { type: Boolean, default: void 0 },
|
|
11914
|
-
/**
|
|
11915
|
-
* The connotation the tabs should have.
|
|
11916
|
-
*/
|
|
11917
|
-
connotation: {
|
|
11918
|
-
type: String,
|
|
11919
|
-
default: void 0
|
|
11920
|
-
},
|
|
11921
|
-
/**
|
|
11922
|
-
* sets the initial preferred margin from predefined available options
|
|
11923
|
-
*/
|
|
11924
|
-
gutters: { type: String, default: void 0 },
|
|
11925
|
-
/**
|
|
11926
|
-
* The orientation
|
|
11927
|
-
*/
|
|
11928
|
-
orientation: {
|
|
11929
|
-
type: String,
|
|
11930
|
-
default: void 0
|
|
11931
|
-
},
|
|
11932
|
-
/**
|
|
11933
|
-
* sets overflow to the tab-panel
|
|
11934
|
-
*/
|
|
11935
|
-
scrollablePanel: { type: Boolean, default: void 0 },
|
|
11936
|
-
/**
|
|
11937
|
-
* Controls the layout of the tabs.
|
|
11938
|
-
*/
|
|
11939
|
-
tabsLayout: {
|
|
11940
|
-
type: String,
|
|
11941
|
-
default: void 0
|
|
11942
|
-
}
|
|
11943
|
-
},
|
|
12315
|
+
const VTable = vue.defineComponent({
|
|
12316
|
+
name: "VTable",
|
|
11944
12317
|
emits: [
|
|
11945
12318
|
/**
|
|
11946
12319
|
* Fires when the element loses focus.
|
|
11947
12320
|
* @type {FocusEvent}
|
|
11948
12321
|
*/
|
|
11949
12322
|
"blur",
|
|
11950
|
-
/**
|
|
11951
|
-
* Fires a custom 'change' event when a tab is clicked or during keyboard navigation
|
|
11952
|
-
* @type {CustomEvent<HTMLElement>}
|
|
11953
|
-
*/
|
|
11954
|
-
"change",
|
|
11955
12323
|
/**
|
|
11956
12324
|
* 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.
|
|
11957
12325
|
* @type {MouseEvent}
|
|
@@ -11978,17 +12346,9 @@ const VTabs = vue.defineComponent({
|
|
|
11978
12346
|
*/
|
|
11979
12347
|
"keyup"
|
|
11980
12348
|
],
|
|
11981
|
-
methods: {
|
|
11982
|
-
/**
|
|
11983
|
-
* Adjusts the active index by numerical increments.
|
|
11984
|
-
* Only enabled tabs are considered.
|
|
11985
|
-
*/
|
|
11986
|
-
adjust(adjustment) {
|
|
11987
|
-
return this.element?.adjust(adjustment);
|
|
11988
|
-
}
|
|
11989
|
-
},
|
|
12349
|
+
methods: {},
|
|
11990
12350
|
setup(props, ctx) {
|
|
11991
|
-
const componentName = registerComponent("
|
|
12351
|
+
const componentName = registerComponent("table", vivid.registerDataTable);
|
|
11992
12352
|
const element = vue.ref(null);
|
|
11993
12353
|
return { componentName, element };
|
|
11994
12354
|
},
|
|
@@ -11998,23 +12358,12 @@ const VTabs = vue.defineComponent({
|
|
|
11998
12358
|
this.componentName,
|
|
11999
12359
|
{
|
|
12000
12360
|
ref: "element",
|
|
12001
|
-
attrs: {
|
|
12002
|
-
...this.activeid !== void 0 ? { activeid: this.activeid } : {},
|
|
12003
|
-
...this.activeindicator !== void 0 ? { activeindicator: this.activeindicator } : {},
|
|
12004
|
-
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
12005
|
-
...this.gutters !== void 0 ? { gutters: this.gutters } : {},
|
|
12006
|
-
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
12007
|
-
...this.scrollablePanel !== void 0 ? { "scrollable-panel": this.scrollablePanel } : {},
|
|
12008
|
-
...this.tabsLayout !== void 0 ? { "tabs-layout": this.tabsLayout } : {}
|
|
12009
|
-
},
|
|
12361
|
+
attrs: {},
|
|
12010
12362
|
class: "vvd-component",
|
|
12011
12363
|
on: {
|
|
12012
12364
|
blur: (event) => {
|
|
12013
12365
|
this.$emit("blur", event);
|
|
12014
12366
|
},
|
|
12015
|
-
change: (event) => {
|
|
12016
|
-
this.$emit("change", event);
|
|
12017
|
-
},
|
|
12018
12367
|
click: (event) => {
|
|
12019
12368
|
this.$emit("click", event);
|
|
12020
12369
|
},
|
|
@@ -12032,11 +12381,7 @@ const VTabs = vue.defineComponent({
|
|
|
12032
12381
|
}
|
|
12033
12382
|
}
|
|
12034
12383
|
},
|
|
12035
|
-
[
|
|
12036
|
-
this.$slots.default,
|
|
12037
|
-
// @slot action-items Slot for action items such as buttons or controls.
|
|
12038
|
-
handleNamedSlotV2("action-items", this.$slots["action-items"])
|
|
12039
|
-
]
|
|
12384
|
+
[this.$slots.default]
|
|
12040
12385
|
);
|
|
12041
12386
|
}
|
|
12042
12387
|
return vue.h(
|
|
@@ -12044,21 +12389,10 @@ const VTabs = vue.defineComponent({
|
|
|
12044
12389
|
{
|
|
12045
12390
|
ref: "element",
|
|
12046
12391
|
class: "vvd-component",
|
|
12047
|
-
...handleVue3Props({
|
|
12048
|
-
...this.activeid !== void 0 ? { "^activeid": this.activeid } : {},
|
|
12049
|
-
...this.activeindicator !== void 0 && this.activeindicator !== false ? { "^activeindicator": this.activeindicator } : {},
|
|
12050
|
-
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
12051
|
-
...this.gutters !== void 0 ? { "^gutters": this.gutters } : {},
|
|
12052
|
-
...this.orientation !== void 0 ? { "^orientation": this.orientation } : {},
|
|
12053
|
-
...this.scrollablePanel !== void 0 && this.scrollablePanel !== false ? { "^scrollable-panel": this.scrollablePanel } : {},
|
|
12054
|
-
...this.tabsLayout !== void 0 ? { "^tabs-layout": this.tabsLayout } : {}
|
|
12055
|
-
}),
|
|
12392
|
+
...handleVue3Props({}),
|
|
12056
12393
|
onBlur: (event) => {
|
|
12057
12394
|
this.$emit("blur", event);
|
|
12058
12395
|
},
|
|
12059
|
-
onChange: (event) => {
|
|
12060
|
-
this.$emit("change", event);
|
|
12061
|
-
},
|
|
12062
12396
|
onClick: (event) => {
|
|
12063
12397
|
this.$emit("click", event);
|
|
12064
12398
|
},
|
|
@@ -12077,39 +12411,750 @@ const VTabs = vue.defineComponent({
|
|
|
12077
12411
|
},
|
|
12078
12412
|
[
|
|
12079
12413
|
// @ts-ignore
|
|
12080
|
-
this.$slots.default && this.$slots.default()
|
|
12081
|
-
// @slot action-items Slot for action items such as buttons or controls.
|
|
12082
|
-
handleNamedSlotV3("action-items", this.$slots["action-items"])
|
|
12414
|
+
this.$slots.default && this.$slots.default()
|
|
12083
12415
|
]
|
|
12084
12416
|
);
|
|
12085
12417
|
}
|
|
12086
12418
|
});
|
|
12087
12419
|
|
|
12088
|
-
const
|
|
12089
|
-
name: "
|
|
12090
|
-
|
|
12420
|
+
const VTableBody = vue.defineComponent({
|
|
12421
|
+
name: "VTableBody",
|
|
12422
|
+
emits: [
|
|
12091
12423
|
/**
|
|
12092
|
-
*
|
|
12424
|
+
* Fires when the element loses focus.
|
|
12425
|
+
* @type {FocusEvent}
|
|
12093
12426
|
*/
|
|
12094
|
-
|
|
12095
|
-
type: String,
|
|
12096
|
-
default: void 0
|
|
12097
|
-
},
|
|
12427
|
+
"blur",
|
|
12098
12428
|
/**
|
|
12099
|
-
*
|
|
12429
|
+
* 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.
|
|
12430
|
+
* @type {MouseEvent}
|
|
12100
12431
|
*/
|
|
12101
|
-
|
|
12102
|
-
type: String,
|
|
12103
|
-
default: void 0
|
|
12104
|
-
},
|
|
12432
|
+
"click",
|
|
12105
12433
|
/**
|
|
12106
|
-
*
|
|
12434
|
+
* Fires when the element receives focus.
|
|
12435
|
+
* @type {FocusEvent}
|
|
12107
12436
|
*/
|
|
12108
|
-
|
|
12437
|
+
"focus",
|
|
12109
12438
|
/**
|
|
12110
|
-
*
|
|
12111
|
-
*
|
|
12112
|
-
*/
|
|
12439
|
+
* Fires when the value of an element has been changed.
|
|
12440
|
+
* @type {Event}
|
|
12441
|
+
*/
|
|
12442
|
+
"input",
|
|
12443
|
+
/**
|
|
12444
|
+
* Fires when a key is pressed.
|
|
12445
|
+
* @type {KeyboardEvent}
|
|
12446
|
+
*/
|
|
12447
|
+
"keydown",
|
|
12448
|
+
/**
|
|
12449
|
+
* Fires when a key is released.
|
|
12450
|
+
* @type {KeyboardEvent}
|
|
12451
|
+
*/
|
|
12452
|
+
"keyup"
|
|
12453
|
+
],
|
|
12454
|
+
methods: {},
|
|
12455
|
+
setup(props, ctx) {
|
|
12456
|
+
const componentName = registerComponent("table-body", vivid.registerDataTable);
|
|
12457
|
+
const element = vue.ref(null);
|
|
12458
|
+
return { componentName, element };
|
|
12459
|
+
},
|
|
12460
|
+
render() {
|
|
12461
|
+
if (isVue2) {
|
|
12462
|
+
return vue.h(
|
|
12463
|
+
this.componentName,
|
|
12464
|
+
{
|
|
12465
|
+
ref: "element",
|
|
12466
|
+
attrs: {},
|
|
12467
|
+
class: "vvd-component",
|
|
12468
|
+
on: {
|
|
12469
|
+
blur: (event) => {
|
|
12470
|
+
this.$emit("blur", event);
|
|
12471
|
+
},
|
|
12472
|
+
click: (event) => {
|
|
12473
|
+
this.$emit("click", event);
|
|
12474
|
+
},
|
|
12475
|
+
focus: (event) => {
|
|
12476
|
+
this.$emit("focus", event);
|
|
12477
|
+
},
|
|
12478
|
+
input: (event) => {
|
|
12479
|
+
this.$emit("input", event);
|
|
12480
|
+
},
|
|
12481
|
+
keydown: (event) => {
|
|
12482
|
+
this.$emit("keydown", event);
|
|
12483
|
+
},
|
|
12484
|
+
keyup: (event) => {
|
|
12485
|
+
this.$emit("keyup", event);
|
|
12486
|
+
}
|
|
12487
|
+
}
|
|
12488
|
+
},
|
|
12489
|
+
[this.$slots.default]
|
|
12490
|
+
);
|
|
12491
|
+
}
|
|
12492
|
+
return vue.h(
|
|
12493
|
+
this.componentName,
|
|
12494
|
+
{
|
|
12495
|
+
ref: "element",
|
|
12496
|
+
class: "vvd-component",
|
|
12497
|
+
...handleVue3Props({}),
|
|
12498
|
+
onBlur: (event) => {
|
|
12499
|
+
this.$emit("blur", event);
|
|
12500
|
+
},
|
|
12501
|
+
onClick: (event) => {
|
|
12502
|
+
this.$emit("click", event);
|
|
12503
|
+
},
|
|
12504
|
+
onFocus: (event) => {
|
|
12505
|
+
this.$emit("focus", event);
|
|
12506
|
+
},
|
|
12507
|
+
onInput: (event) => {
|
|
12508
|
+
this.$emit("input", event);
|
|
12509
|
+
},
|
|
12510
|
+
onKeydown: (event) => {
|
|
12511
|
+
this.$emit("keydown", event);
|
|
12512
|
+
},
|
|
12513
|
+
onKeyup: (event) => {
|
|
12514
|
+
this.$emit("keyup", event);
|
|
12515
|
+
}
|
|
12516
|
+
},
|
|
12517
|
+
[
|
|
12518
|
+
// @ts-ignore
|
|
12519
|
+
this.$slots.default && this.$slots.default()
|
|
12520
|
+
]
|
|
12521
|
+
);
|
|
12522
|
+
}
|
|
12523
|
+
});
|
|
12524
|
+
|
|
12525
|
+
const VTableCell = vue.defineComponent({
|
|
12526
|
+
name: "VTableCell",
|
|
12527
|
+
emits: [
|
|
12528
|
+
/**
|
|
12529
|
+
* Fires when the element loses focus.
|
|
12530
|
+
* @type {FocusEvent}
|
|
12531
|
+
*/
|
|
12532
|
+
"blur",
|
|
12533
|
+
/**
|
|
12534
|
+
* 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.
|
|
12535
|
+
* @type {MouseEvent}
|
|
12536
|
+
*/
|
|
12537
|
+
"click",
|
|
12538
|
+
/**
|
|
12539
|
+
* Fires when the element receives focus.
|
|
12540
|
+
* @type {FocusEvent}
|
|
12541
|
+
*/
|
|
12542
|
+
"focus",
|
|
12543
|
+
/**
|
|
12544
|
+
* Fires when the value of an element has been changed.
|
|
12545
|
+
* @type {Event}
|
|
12546
|
+
*/
|
|
12547
|
+
"input",
|
|
12548
|
+
/**
|
|
12549
|
+
* Fires when a key is pressed.
|
|
12550
|
+
* @type {KeyboardEvent}
|
|
12551
|
+
*/
|
|
12552
|
+
"keydown",
|
|
12553
|
+
/**
|
|
12554
|
+
* Fires when a key is released.
|
|
12555
|
+
* @type {KeyboardEvent}
|
|
12556
|
+
*/
|
|
12557
|
+
"keyup"
|
|
12558
|
+
],
|
|
12559
|
+
methods: {},
|
|
12560
|
+
setup(props, ctx) {
|
|
12561
|
+
const componentName = registerComponent("table-cell", vivid.registerDataTable);
|
|
12562
|
+
const element = vue.ref(null);
|
|
12563
|
+
return { componentName, element };
|
|
12564
|
+
},
|
|
12565
|
+
render() {
|
|
12566
|
+
if (isVue2) {
|
|
12567
|
+
return vue.h(
|
|
12568
|
+
this.componentName,
|
|
12569
|
+
{
|
|
12570
|
+
ref: "element",
|
|
12571
|
+
attrs: {},
|
|
12572
|
+
class: "vvd-component",
|
|
12573
|
+
on: {
|
|
12574
|
+
blur: (event) => {
|
|
12575
|
+
this.$emit("blur", event);
|
|
12576
|
+
},
|
|
12577
|
+
click: (event) => {
|
|
12578
|
+
this.$emit("click", event);
|
|
12579
|
+
},
|
|
12580
|
+
focus: (event) => {
|
|
12581
|
+
this.$emit("focus", event);
|
|
12582
|
+
},
|
|
12583
|
+
input: (event) => {
|
|
12584
|
+
this.$emit("input", event);
|
|
12585
|
+
},
|
|
12586
|
+
keydown: (event) => {
|
|
12587
|
+
this.$emit("keydown", event);
|
|
12588
|
+
},
|
|
12589
|
+
keyup: (event) => {
|
|
12590
|
+
this.$emit("keyup", event);
|
|
12591
|
+
}
|
|
12592
|
+
}
|
|
12593
|
+
},
|
|
12594
|
+
[this.$slots.default]
|
|
12595
|
+
);
|
|
12596
|
+
}
|
|
12597
|
+
return vue.h(
|
|
12598
|
+
this.componentName,
|
|
12599
|
+
{
|
|
12600
|
+
ref: "element",
|
|
12601
|
+
class: "vvd-component",
|
|
12602
|
+
...handleVue3Props({}),
|
|
12603
|
+
onBlur: (event) => {
|
|
12604
|
+
this.$emit("blur", event);
|
|
12605
|
+
},
|
|
12606
|
+
onClick: (event) => {
|
|
12607
|
+
this.$emit("click", event);
|
|
12608
|
+
},
|
|
12609
|
+
onFocus: (event) => {
|
|
12610
|
+
this.$emit("focus", event);
|
|
12611
|
+
},
|
|
12612
|
+
onInput: (event) => {
|
|
12613
|
+
this.$emit("input", event);
|
|
12614
|
+
},
|
|
12615
|
+
onKeydown: (event) => {
|
|
12616
|
+
this.$emit("keydown", event);
|
|
12617
|
+
},
|
|
12618
|
+
onKeyup: (event) => {
|
|
12619
|
+
this.$emit("keyup", event);
|
|
12620
|
+
}
|
|
12621
|
+
},
|
|
12622
|
+
[
|
|
12623
|
+
// @ts-ignore
|
|
12624
|
+
this.$slots.default && this.$slots.default()
|
|
12625
|
+
]
|
|
12626
|
+
);
|
|
12627
|
+
}
|
|
12628
|
+
});
|
|
12629
|
+
|
|
12630
|
+
const VTableHead = vue.defineComponent({
|
|
12631
|
+
name: "VTableHead",
|
|
12632
|
+
emits: [
|
|
12633
|
+
/**
|
|
12634
|
+
* Fires when the element loses focus.
|
|
12635
|
+
* @type {FocusEvent}
|
|
12636
|
+
*/
|
|
12637
|
+
"blur",
|
|
12638
|
+
/**
|
|
12639
|
+
* 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.
|
|
12640
|
+
* @type {MouseEvent}
|
|
12641
|
+
*/
|
|
12642
|
+
"click",
|
|
12643
|
+
/**
|
|
12644
|
+
* Fires when the element receives focus.
|
|
12645
|
+
* @type {FocusEvent}
|
|
12646
|
+
*/
|
|
12647
|
+
"focus",
|
|
12648
|
+
/**
|
|
12649
|
+
* Fires when the value of an element has been changed.
|
|
12650
|
+
* @type {Event}
|
|
12651
|
+
*/
|
|
12652
|
+
"input",
|
|
12653
|
+
/**
|
|
12654
|
+
* Fires when a key is pressed.
|
|
12655
|
+
* @type {KeyboardEvent}
|
|
12656
|
+
*/
|
|
12657
|
+
"keydown",
|
|
12658
|
+
/**
|
|
12659
|
+
* Fires when a key is released.
|
|
12660
|
+
* @type {KeyboardEvent}
|
|
12661
|
+
*/
|
|
12662
|
+
"keyup"
|
|
12663
|
+
],
|
|
12664
|
+
methods: {},
|
|
12665
|
+
setup(props, ctx) {
|
|
12666
|
+
const componentName = registerComponent("table-head", vivid.registerDataTable);
|
|
12667
|
+
const element = vue.ref(null);
|
|
12668
|
+
return { componentName, element };
|
|
12669
|
+
},
|
|
12670
|
+
render() {
|
|
12671
|
+
if (isVue2) {
|
|
12672
|
+
return vue.h(
|
|
12673
|
+
this.componentName,
|
|
12674
|
+
{
|
|
12675
|
+
ref: "element",
|
|
12676
|
+
attrs: {},
|
|
12677
|
+
class: "vvd-component",
|
|
12678
|
+
on: {
|
|
12679
|
+
blur: (event) => {
|
|
12680
|
+
this.$emit("blur", event);
|
|
12681
|
+
},
|
|
12682
|
+
click: (event) => {
|
|
12683
|
+
this.$emit("click", event);
|
|
12684
|
+
},
|
|
12685
|
+
focus: (event) => {
|
|
12686
|
+
this.$emit("focus", event);
|
|
12687
|
+
},
|
|
12688
|
+
input: (event) => {
|
|
12689
|
+
this.$emit("input", event);
|
|
12690
|
+
},
|
|
12691
|
+
keydown: (event) => {
|
|
12692
|
+
this.$emit("keydown", event);
|
|
12693
|
+
},
|
|
12694
|
+
keyup: (event) => {
|
|
12695
|
+
this.$emit("keyup", event);
|
|
12696
|
+
}
|
|
12697
|
+
}
|
|
12698
|
+
},
|
|
12699
|
+
[this.$slots.default]
|
|
12700
|
+
);
|
|
12701
|
+
}
|
|
12702
|
+
return vue.h(
|
|
12703
|
+
this.componentName,
|
|
12704
|
+
{
|
|
12705
|
+
ref: "element",
|
|
12706
|
+
class: "vvd-component",
|
|
12707
|
+
...handleVue3Props({}),
|
|
12708
|
+
onBlur: (event) => {
|
|
12709
|
+
this.$emit("blur", event);
|
|
12710
|
+
},
|
|
12711
|
+
onClick: (event) => {
|
|
12712
|
+
this.$emit("click", event);
|
|
12713
|
+
},
|
|
12714
|
+
onFocus: (event) => {
|
|
12715
|
+
this.$emit("focus", event);
|
|
12716
|
+
},
|
|
12717
|
+
onInput: (event) => {
|
|
12718
|
+
this.$emit("input", event);
|
|
12719
|
+
},
|
|
12720
|
+
onKeydown: (event) => {
|
|
12721
|
+
this.$emit("keydown", event);
|
|
12722
|
+
},
|
|
12723
|
+
onKeyup: (event) => {
|
|
12724
|
+
this.$emit("keyup", event);
|
|
12725
|
+
}
|
|
12726
|
+
},
|
|
12727
|
+
[
|
|
12728
|
+
// @ts-ignore
|
|
12729
|
+
this.$slots.default && this.$slots.default()
|
|
12730
|
+
]
|
|
12731
|
+
);
|
|
12732
|
+
}
|
|
12733
|
+
});
|
|
12734
|
+
|
|
12735
|
+
const VTableHeaderCell = vue.defineComponent({
|
|
12736
|
+
name: "VTableHeaderCell",
|
|
12737
|
+
emits: [
|
|
12738
|
+
/**
|
|
12739
|
+
* Fires when the element loses focus.
|
|
12740
|
+
* @type {FocusEvent}
|
|
12741
|
+
*/
|
|
12742
|
+
"blur",
|
|
12743
|
+
/**
|
|
12744
|
+
* 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.
|
|
12745
|
+
* @type {MouseEvent}
|
|
12746
|
+
*/
|
|
12747
|
+
"click",
|
|
12748
|
+
/**
|
|
12749
|
+
* Fires when the element receives focus.
|
|
12750
|
+
* @type {FocusEvent}
|
|
12751
|
+
*/
|
|
12752
|
+
"focus",
|
|
12753
|
+
/**
|
|
12754
|
+
* Fires when the value of an element has been changed.
|
|
12755
|
+
* @type {Event}
|
|
12756
|
+
*/
|
|
12757
|
+
"input",
|
|
12758
|
+
/**
|
|
12759
|
+
* Fires when a key is pressed.
|
|
12760
|
+
* @type {KeyboardEvent}
|
|
12761
|
+
*/
|
|
12762
|
+
"keydown",
|
|
12763
|
+
/**
|
|
12764
|
+
* Fires when a key is released.
|
|
12765
|
+
* @type {KeyboardEvent}
|
|
12766
|
+
*/
|
|
12767
|
+
"keyup"
|
|
12768
|
+
],
|
|
12769
|
+
methods: {},
|
|
12770
|
+
setup(props, ctx) {
|
|
12771
|
+
const componentName = registerComponent(
|
|
12772
|
+
"table-header-cell",
|
|
12773
|
+
vivid.registerDataTable
|
|
12774
|
+
);
|
|
12775
|
+
const element = vue.ref(null);
|
|
12776
|
+
return { componentName, element };
|
|
12777
|
+
},
|
|
12778
|
+
render() {
|
|
12779
|
+
if (isVue2) {
|
|
12780
|
+
return vue.h(
|
|
12781
|
+
this.componentName,
|
|
12782
|
+
{
|
|
12783
|
+
ref: "element",
|
|
12784
|
+
attrs: {},
|
|
12785
|
+
class: "vvd-component",
|
|
12786
|
+
on: {
|
|
12787
|
+
blur: (event) => {
|
|
12788
|
+
this.$emit("blur", event);
|
|
12789
|
+
},
|
|
12790
|
+
click: (event) => {
|
|
12791
|
+
this.$emit("click", event);
|
|
12792
|
+
},
|
|
12793
|
+
focus: (event) => {
|
|
12794
|
+
this.$emit("focus", event);
|
|
12795
|
+
},
|
|
12796
|
+
input: (event) => {
|
|
12797
|
+
this.$emit("input", event);
|
|
12798
|
+
},
|
|
12799
|
+
keydown: (event) => {
|
|
12800
|
+
this.$emit("keydown", event);
|
|
12801
|
+
},
|
|
12802
|
+
keyup: (event) => {
|
|
12803
|
+
this.$emit("keyup", event);
|
|
12804
|
+
}
|
|
12805
|
+
}
|
|
12806
|
+
},
|
|
12807
|
+
[this.$slots.default]
|
|
12808
|
+
);
|
|
12809
|
+
}
|
|
12810
|
+
return vue.h(
|
|
12811
|
+
this.componentName,
|
|
12812
|
+
{
|
|
12813
|
+
ref: "element",
|
|
12814
|
+
class: "vvd-component",
|
|
12815
|
+
...handleVue3Props({}),
|
|
12816
|
+
onBlur: (event) => {
|
|
12817
|
+
this.$emit("blur", event);
|
|
12818
|
+
},
|
|
12819
|
+
onClick: (event) => {
|
|
12820
|
+
this.$emit("click", event);
|
|
12821
|
+
},
|
|
12822
|
+
onFocus: (event) => {
|
|
12823
|
+
this.$emit("focus", event);
|
|
12824
|
+
},
|
|
12825
|
+
onInput: (event) => {
|
|
12826
|
+
this.$emit("input", event);
|
|
12827
|
+
},
|
|
12828
|
+
onKeydown: (event) => {
|
|
12829
|
+
this.$emit("keydown", event);
|
|
12830
|
+
},
|
|
12831
|
+
onKeyup: (event) => {
|
|
12832
|
+
this.$emit("keyup", event);
|
|
12833
|
+
}
|
|
12834
|
+
},
|
|
12835
|
+
[
|
|
12836
|
+
// @ts-ignore
|
|
12837
|
+
this.$slots.default && this.$slots.default()
|
|
12838
|
+
]
|
|
12839
|
+
);
|
|
12840
|
+
}
|
|
12841
|
+
});
|
|
12842
|
+
|
|
12843
|
+
const VTableRow = vue.defineComponent({
|
|
12844
|
+
name: "VTableRow",
|
|
12845
|
+
emits: [
|
|
12846
|
+
/**
|
|
12847
|
+
* Fires when the element loses focus.
|
|
12848
|
+
* @type {FocusEvent}
|
|
12849
|
+
*/
|
|
12850
|
+
"blur",
|
|
12851
|
+
/**
|
|
12852
|
+
* 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.
|
|
12853
|
+
* @type {MouseEvent}
|
|
12854
|
+
*/
|
|
12855
|
+
"click",
|
|
12856
|
+
/**
|
|
12857
|
+
* Fires when the element receives focus.
|
|
12858
|
+
* @type {FocusEvent}
|
|
12859
|
+
*/
|
|
12860
|
+
"focus",
|
|
12861
|
+
/**
|
|
12862
|
+
* Fires when the value of an element has been changed.
|
|
12863
|
+
* @type {Event}
|
|
12864
|
+
*/
|
|
12865
|
+
"input",
|
|
12866
|
+
/**
|
|
12867
|
+
* Fires when a key is pressed.
|
|
12868
|
+
* @type {KeyboardEvent}
|
|
12869
|
+
*/
|
|
12870
|
+
"keydown",
|
|
12871
|
+
/**
|
|
12872
|
+
* Fires when a key is released.
|
|
12873
|
+
* @type {KeyboardEvent}
|
|
12874
|
+
*/
|
|
12875
|
+
"keyup"
|
|
12876
|
+
],
|
|
12877
|
+
methods: {},
|
|
12878
|
+
setup(props, ctx) {
|
|
12879
|
+
const componentName = registerComponent("table-row", vivid.registerDataTable);
|
|
12880
|
+
const element = vue.ref(null);
|
|
12881
|
+
return { componentName, element };
|
|
12882
|
+
},
|
|
12883
|
+
render() {
|
|
12884
|
+
if (isVue2) {
|
|
12885
|
+
return vue.h(
|
|
12886
|
+
this.componentName,
|
|
12887
|
+
{
|
|
12888
|
+
ref: "element",
|
|
12889
|
+
attrs: {},
|
|
12890
|
+
class: "vvd-component",
|
|
12891
|
+
on: {
|
|
12892
|
+
blur: (event) => {
|
|
12893
|
+
this.$emit("blur", event);
|
|
12894
|
+
},
|
|
12895
|
+
click: (event) => {
|
|
12896
|
+
this.$emit("click", event);
|
|
12897
|
+
},
|
|
12898
|
+
focus: (event) => {
|
|
12899
|
+
this.$emit("focus", event);
|
|
12900
|
+
},
|
|
12901
|
+
input: (event) => {
|
|
12902
|
+
this.$emit("input", event);
|
|
12903
|
+
},
|
|
12904
|
+
keydown: (event) => {
|
|
12905
|
+
this.$emit("keydown", event);
|
|
12906
|
+
},
|
|
12907
|
+
keyup: (event) => {
|
|
12908
|
+
this.$emit("keyup", event);
|
|
12909
|
+
}
|
|
12910
|
+
}
|
|
12911
|
+
},
|
|
12912
|
+
[this.$slots.default]
|
|
12913
|
+
);
|
|
12914
|
+
}
|
|
12915
|
+
return vue.h(
|
|
12916
|
+
this.componentName,
|
|
12917
|
+
{
|
|
12918
|
+
ref: "element",
|
|
12919
|
+
class: "vvd-component",
|
|
12920
|
+
...handleVue3Props({}),
|
|
12921
|
+
onBlur: (event) => {
|
|
12922
|
+
this.$emit("blur", event);
|
|
12923
|
+
},
|
|
12924
|
+
onClick: (event) => {
|
|
12925
|
+
this.$emit("click", event);
|
|
12926
|
+
},
|
|
12927
|
+
onFocus: (event) => {
|
|
12928
|
+
this.$emit("focus", event);
|
|
12929
|
+
},
|
|
12930
|
+
onInput: (event) => {
|
|
12931
|
+
this.$emit("input", event);
|
|
12932
|
+
},
|
|
12933
|
+
onKeydown: (event) => {
|
|
12934
|
+
this.$emit("keydown", event);
|
|
12935
|
+
},
|
|
12936
|
+
onKeyup: (event) => {
|
|
12937
|
+
this.$emit("keyup", event);
|
|
12938
|
+
}
|
|
12939
|
+
},
|
|
12940
|
+
[
|
|
12941
|
+
// @ts-ignore
|
|
12942
|
+
this.$slots.default && this.$slots.default()
|
|
12943
|
+
]
|
|
12944
|
+
);
|
|
12945
|
+
}
|
|
12946
|
+
});
|
|
12947
|
+
|
|
12948
|
+
const VTabs = vue.defineComponent({
|
|
12949
|
+
name: "VTabs",
|
|
12950
|
+
props: {
|
|
12951
|
+
/**
|
|
12952
|
+
* The id of the active tab
|
|
12953
|
+
*/
|
|
12954
|
+
activeid: { type: String, default: void 0 },
|
|
12955
|
+
/**
|
|
12956
|
+
* Deprecated attribute. It has no effect.
|
|
12957
|
+
*/
|
|
12958
|
+
activeindicator: { type: Boolean, default: void 0 },
|
|
12959
|
+
/**
|
|
12960
|
+
* The connotation the tabs should have.
|
|
12961
|
+
*/
|
|
12962
|
+
connotation: {
|
|
12963
|
+
type: String,
|
|
12964
|
+
default: void 0
|
|
12965
|
+
},
|
|
12966
|
+
/**
|
|
12967
|
+
* sets the initial preferred margin from predefined available options
|
|
12968
|
+
*/
|
|
12969
|
+
gutters: { type: String, default: void 0 },
|
|
12970
|
+
/**
|
|
12971
|
+
* The orientation
|
|
12972
|
+
*/
|
|
12973
|
+
orientation: {
|
|
12974
|
+
type: String,
|
|
12975
|
+
default: void 0
|
|
12976
|
+
},
|
|
12977
|
+
/**
|
|
12978
|
+
* sets overflow to the tab-panel
|
|
12979
|
+
*/
|
|
12980
|
+
scrollablePanel: { type: Boolean, default: void 0 },
|
|
12981
|
+
/**
|
|
12982
|
+
* Controls the layout of the tabs.
|
|
12983
|
+
*/
|
|
12984
|
+
tabsLayout: {
|
|
12985
|
+
type: String,
|
|
12986
|
+
default: void 0
|
|
12987
|
+
}
|
|
12988
|
+
},
|
|
12989
|
+
emits: [
|
|
12990
|
+
/**
|
|
12991
|
+
* Fires when the element loses focus.
|
|
12992
|
+
* @type {FocusEvent}
|
|
12993
|
+
*/
|
|
12994
|
+
"blur",
|
|
12995
|
+
/**
|
|
12996
|
+
* Fires a custom 'change' event when a tab is clicked or during keyboard navigation
|
|
12997
|
+
* @type {CustomEvent<HTMLElement>}
|
|
12998
|
+
*/
|
|
12999
|
+
"change",
|
|
13000
|
+
/**
|
|
13001
|
+
* 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.
|
|
13002
|
+
* @type {MouseEvent}
|
|
13003
|
+
*/
|
|
13004
|
+
"click",
|
|
13005
|
+
/**
|
|
13006
|
+
* Fires when the element receives focus.
|
|
13007
|
+
* @type {FocusEvent}
|
|
13008
|
+
*/
|
|
13009
|
+
"focus",
|
|
13010
|
+
/**
|
|
13011
|
+
* Fires when the value of an element has been changed.
|
|
13012
|
+
* @type {Event}
|
|
13013
|
+
*/
|
|
13014
|
+
"input",
|
|
13015
|
+
/**
|
|
13016
|
+
* Fires when a key is pressed.
|
|
13017
|
+
* @type {KeyboardEvent}
|
|
13018
|
+
*/
|
|
13019
|
+
"keydown",
|
|
13020
|
+
/**
|
|
13021
|
+
* Fires when a key is released.
|
|
13022
|
+
* @type {KeyboardEvent}
|
|
13023
|
+
*/
|
|
13024
|
+
"keyup"
|
|
13025
|
+
],
|
|
13026
|
+
methods: {
|
|
13027
|
+
/**
|
|
13028
|
+
* Adjusts the active index by numerical increments.
|
|
13029
|
+
* Only enabled tabs are considered.
|
|
13030
|
+
*/
|
|
13031
|
+
adjust(adjustment) {
|
|
13032
|
+
return this.element?.adjust(adjustment);
|
|
13033
|
+
}
|
|
13034
|
+
},
|
|
13035
|
+
setup(props, ctx) {
|
|
13036
|
+
const componentName = registerComponent("tabs", vivid.registerTabs);
|
|
13037
|
+
const element = vue.ref(null);
|
|
13038
|
+
return { componentName, element };
|
|
13039
|
+
},
|
|
13040
|
+
render() {
|
|
13041
|
+
if (isVue2) {
|
|
13042
|
+
return vue.h(
|
|
13043
|
+
this.componentName,
|
|
13044
|
+
{
|
|
13045
|
+
ref: "element",
|
|
13046
|
+
attrs: {
|
|
13047
|
+
...this.activeid !== void 0 ? { activeid: this.activeid } : {},
|
|
13048
|
+
...this.activeindicator !== void 0 ? { activeindicator: this.activeindicator } : {},
|
|
13049
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
13050
|
+
...this.gutters !== void 0 ? { gutters: this.gutters } : {},
|
|
13051
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
13052
|
+
...this.scrollablePanel !== void 0 ? { "scrollable-panel": this.scrollablePanel } : {},
|
|
13053
|
+
...this.tabsLayout !== void 0 ? { "tabs-layout": this.tabsLayout } : {}
|
|
13054
|
+
},
|
|
13055
|
+
class: "vvd-component",
|
|
13056
|
+
on: {
|
|
13057
|
+
blur: (event) => {
|
|
13058
|
+
this.$emit("blur", event);
|
|
13059
|
+
},
|
|
13060
|
+
change: (event) => {
|
|
13061
|
+
this.$emit("change", event);
|
|
13062
|
+
},
|
|
13063
|
+
click: (event) => {
|
|
13064
|
+
this.$emit("click", event);
|
|
13065
|
+
},
|
|
13066
|
+
focus: (event) => {
|
|
13067
|
+
this.$emit("focus", event);
|
|
13068
|
+
},
|
|
13069
|
+
input: (event) => {
|
|
13070
|
+
this.$emit("input", event);
|
|
13071
|
+
},
|
|
13072
|
+
keydown: (event) => {
|
|
13073
|
+
this.$emit("keydown", event);
|
|
13074
|
+
},
|
|
13075
|
+
keyup: (event) => {
|
|
13076
|
+
this.$emit("keyup", event);
|
|
13077
|
+
}
|
|
13078
|
+
}
|
|
13079
|
+
},
|
|
13080
|
+
[
|
|
13081
|
+
this.$slots.default,
|
|
13082
|
+
// @slot action-items Slot for action items such as buttons or controls.
|
|
13083
|
+
handleNamedSlotV2("action-items", this.$slots["action-items"])
|
|
13084
|
+
]
|
|
13085
|
+
);
|
|
13086
|
+
}
|
|
13087
|
+
return vue.h(
|
|
13088
|
+
this.componentName,
|
|
13089
|
+
{
|
|
13090
|
+
ref: "element",
|
|
13091
|
+
class: "vvd-component",
|
|
13092
|
+
...handleVue3Props({
|
|
13093
|
+
...this.activeid !== void 0 ? { "^activeid": this.activeid } : {},
|
|
13094
|
+
...this.activeindicator !== void 0 && this.activeindicator !== false ? { "^activeindicator": this.activeindicator } : {},
|
|
13095
|
+
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
13096
|
+
...this.gutters !== void 0 ? { "^gutters": this.gutters } : {},
|
|
13097
|
+
...this.orientation !== void 0 ? { "^orientation": this.orientation } : {},
|
|
13098
|
+
...this.scrollablePanel !== void 0 && this.scrollablePanel !== false ? { "^scrollable-panel": this.scrollablePanel } : {},
|
|
13099
|
+
...this.tabsLayout !== void 0 ? { "^tabs-layout": this.tabsLayout } : {}
|
|
13100
|
+
}),
|
|
13101
|
+
onBlur: (event) => {
|
|
13102
|
+
this.$emit("blur", event);
|
|
13103
|
+
},
|
|
13104
|
+
onChange: (event) => {
|
|
13105
|
+
this.$emit("change", event);
|
|
13106
|
+
},
|
|
13107
|
+
onClick: (event) => {
|
|
13108
|
+
this.$emit("click", event);
|
|
13109
|
+
},
|
|
13110
|
+
onFocus: (event) => {
|
|
13111
|
+
this.$emit("focus", event);
|
|
13112
|
+
},
|
|
13113
|
+
onInput: (event) => {
|
|
13114
|
+
this.$emit("input", event);
|
|
13115
|
+
},
|
|
13116
|
+
onKeydown: (event) => {
|
|
13117
|
+
this.$emit("keydown", event);
|
|
13118
|
+
},
|
|
13119
|
+
onKeyup: (event) => {
|
|
13120
|
+
this.$emit("keyup", event);
|
|
13121
|
+
}
|
|
13122
|
+
},
|
|
13123
|
+
[
|
|
13124
|
+
// @ts-ignore
|
|
13125
|
+
this.$slots.default && this.$slots.default(),
|
|
13126
|
+
// @slot action-items Slot for action items such as buttons or controls.
|
|
13127
|
+
handleNamedSlotV3("action-items", this.$slots["action-items"])
|
|
13128
|
+
]
|
|
13129
|
+
);
|
|
13130
|
+
}
|
|
13131
|
+
});
|
|
13132
|
+
|
|
13133
|
+
const VTag = vue.defineComponent({
|
|
13134
|
+
name: "VTag",
|
|
13135
|
+
props: {
|
|
13136
|
+
/**
|
|
13137
|
+
* The appearance the tag should have.
|
|
13138
|
+
*/
|
|
13139
|
+
appearance: {
|
|
13140
|
+
type: String,
|
|
13141
|
+
default: void 0
|
|
13142
|
+
},
|
|
13143
|
+
/**
|
|
13144
|
+
* The connotation the tag should have.
|
|
13145
|
+
*/
|
|
13146
|
+
connotation: {
|
|
13147
|
+
type: String,
|
|
13148
|
+
default: void 0
|
|
13149
|
+
},
|
|
13150
|
+
/**
|
|
13151
|
+
* indicates whether the tag is disabled
|
|
13152
|
+
*/
|
|
13153
|
+
disabled: { type: Boolean, default: void 0 },
|
|
13154
|
+
/**
|
|
13155
|
+
* A decorative icon the custom element should have.
|
|
13156
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
13157
|
+
*/
|
|
12113
13158
|
icon: { type: String, default: void 0 },
|
|
12114
13159
|
/**
|
|
12115
13160
|
* Indicates the tag's label.
|
|
@@ -12639,6 +13684,8 @@ const VTextArea = vue.defineComponent({
|
|
|
12639
13684
|
},
|
|
12640
13685
|
[
|
|
12641
13686
|
this.$slots.default,
|
|
13687
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
13688
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
12642
13689
|
// @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
|
|
12643
13690
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
12644
13691
|
]
|
|
@@ -12699,6 +13746,11 @@ const VTextArea = vue.defineComponent({
|
|
|
12699
13746
|
[
|
|
12700
13747
|
// @ts-ignore
|
|
12701
13748
|
this.$slots.default && this.$slots.default(),
|
|
13749
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
13750
|
+
handleNamedSlotV3(
|
|
13751
|
+
"contextual-help",
|
|
13752
|
+
this.$slots["contextual-help"]
|
|
13753
|
+
),
|
|
12702
13754
|
// @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
|
|
12703
13755
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
12704
13756
|
]
|
|
@@ -12967,6 +14019,8 @@ const VTextField = vue.defineComponent({
|
|
|
12967
14019
|
this.$slots.default,
|
|
12968
14020
|
// @slot action-items Used to add action items to the end of the text-field.
|
|
12969
14021
|
handleNamedSlotV2("action-items", this.$slots["action-items"]),
|
|
14022
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
14023
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
12970
14024
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
12971
14025
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
12972
14026
|
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
@@ -13038,6 +14092,11 @@ const VTextField = vue.defineComponent({
|
|
|
13038
14092
|
this.$slots.default && this.$slots.default(),
|
|
13039
14093
|
// @slot action-items Used to add action items to the end of the text-field.
|
|
13040
14094
|
handleNamedSlotV3("action-items", this.$slots["action-items"]),
|
|
14095
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
14096
|
+
handleNamedSlotV3(
|
|
14097
|
+
"contextual-help",
|
|
14098
|
+
this.$slots["contextual-help"]
|
|
14099
|
+
),
|
|
13041
14100
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
13042
14101
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
13043
14102
|
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
@@ -13232,6 +14291,8 @@ const VTimePicker = vue.defineComponent({
|
|
|
13232
14291
|
},
|
|
13233
14292
|
[
|
|
13234
14293
|
this.$slots.default,
|
|
14294
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
14295
|
+
handleNamedSlotV2("contextual-help", this.$slots["contextual-help"]),
|
|
13235
14296
|
// @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
|
|
13236
14297
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
13237
14298
|
]
|
|
@@ -13284,6 +14345,11 @@ const VTimePicker = vue.defineComponent({
|
|
|
13284
14345
|
[
|
|
13285
14346
|
// @ts-ignore
|
|
13286
14347
|
this.$slots.default && this.$slots.default(),
|
|
14348
|
+
// @slot contextual-help Slot for the contextual-help component, displayed next to the label.
|
|
14349
|
+
handleNamedSlotV3(
|
|
14350
|
+
"contextual-help",
|
|
14351
|
+
this.$slots["contextual-help"]
|
|
14352
|
+
),
|
|
13287
14353
|
// @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
|
|
13288
14354
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
13289
14355
|
]
|
|
@@ -14374,6 +15440,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
14374
15440
|
Icon2["copy2Solid"] = "copy-2-solid";
|
|
14375
15441
|
Icon2["copyLine"] = "copy-line";
|
|
14376
15442
|
Icon2["copySolid"] = "copy-solid";
|
|
15443
|
+
Icon2["coverageLine"] = "coverage-line";
|
|
15444
|
+
Icon2["coverageSolid"] = "coverage-solid";
|
|
14377
15445
|
Icon2["creditCardLine"] = "credit-card-line";
|
|
14378
15446
|
Icon2["creditCardSolid"] = "credit-card-solid";
|
|
14379
15447
|
Icon2["cropLine"] = "crop-line";
|
|
@@ -14388,6 +15456,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
14388
15456
|
Icon2["cursorSolid"] = "cursor-solid";
|
|
14389
15457
|
Icon2["darkModeLine"] = "dark-mode-line";
|
|
14390
15458
|
Icon2["darkModeSolid"] = "dark-mode-solid";
|
|
15459
|
+
Icon2["dataRoamingLine"] = "data-roaming-line";
|
|
15460
|
+
Icon2["dataRoamingSolid"] = "data-roaming-solid";
|
|
14391
15461
|
Icon2["deleteLine"] = "delete-line";
|
|
14392
15462
|
Icon2["deleteSolid"] = "delete-solid";
|
|
14393
15463
|
Icon2["densityHighLine"] = "density-high-line";
|
|
@@ -15482,12 +16552,14 @@ exports.VNote = VNote;
|
|
|
15482
16552
|
exports.VNumberField = VNumberField;
|
|
15483
16553
|
exports.VOption = VOption;
|
|
15484
16554
|
exports.VPagination = VPagination;
|
|
16555
|
+
exports.VPopover = VPopover;
|
|
15485
16556
|
exports.VProgress = VProgress;
|
|
15486
16557
|
exports.VProgressRing = VProgressRing;
|
|
15487
16558
|
exports.VRadio = VRadio;
|
|
15488
16559
|
exports.VRadioGroup = VRadioGroup;
|
|
15489
16560
|
exports.VRangeSlider = VRangeSlider;
|
|
15490
16561
|
exports.VRichTextEditor = VRichTextEditor;
|
|
16562
|
+
exports.VRichTextView = VRichTextView;
|
|
15491
16563
|
exports.VSearchableSelect = VSearchableSelect;
|
|
15492
16564
|
exports.VSelect = VSelect;
|
|
15493
16565
|
exports.VSelectableBox = VSelectableBox;
|
|
@@ -15498,6 +16570,12 @@ exports.VSplitButton = VSplitButton;
|
|
|
15498
16570
|
exports.VSwitch = VSwitch;
|
|
15499
16571
|
exports.VTab = VTab;
|
|
15500
16572
|
exports.VTabPanel = VTabPanel;
|
|
16573
|
+
exports.VTable = VTable;
|
|
16574
|
+
exports.VTableBody = VTableBody;
|
|
16575
|
+
exports.VTableCell = VTableCell;
|
|
16576
|
+
exports.VTableHead = VTableHead;
|
|
16577
|
+
exports.VTableHeaderCell = VTableHeaderCell;
|
|
16578
|
+
exports.VTableRow = VTableRow;
|
|
15501
16579
|
exports.VTabs = VTabs;
|
|
15502
16580
|
exports.VTag = VTag;
|
|
15503
16581
|
exports.VTagGroup = VTagGroup;
|