@vonage/vivid-vue 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/VContextualHelp.d.ts +7 -0
- package/dist/generated/components/VContextualHelp.types.d.ts +30 -0
- package/dist/generated/components/VContextualHelp.vue2.d.ts +19 -0
- package/dist/generated/components/VContextualHelp.vue3.d.ts +61 -0
- 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/VTabs.vue3.d.ts +1 -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 +9 -0
- package/dist/generated/icons.d.ts +4 -0
- package/dist/generated/types.d.ts +45 -0
- package/dist/index.cjs +1592 -380
- package/dist/index.js +1585 -382
- package/package.json +3 -3
- package/web-types.json +322 -27
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.
|
|
@@ -3558,6 +3572,133 @@ const VCombobox = vue.defineComponent({
|
|
|
3558
3572
|
}
|
|
3559
3573
|
});
|
|
3560
3574
|
|
|
3575
|
+
const VContextualHelp = vue.defineComponent({
|
|
3576
|
+
name: "VContextualHelp",
|
|
3577
|
+
props: {
|
|
3578
|
+
/**
|
|
3579
|
+
* Placement of the toggletip
|
|
3580
|
+
*/
|
|
3581
|
+
placement: {
|
|
3582
|
+
type: String,
|
|
3583
|
+
default: void 0
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3586
|
+
emits: [
|
|
3587
|
+
/**
|
|
3588
|
+
* Fires when the element loses focus.
|
|
3589
|
+
* @type {FocusEvent}
|
|
3590
|
+
*/
|
|
3591
|
+
"blur",
|
|
3592
|
+
/**
|
|
3593
|
+
* 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.
|
|
3594
|
+
* @type {MouseEvent}
|
|
3595
|
+
*/
|
|
3596
|
+
"click",
|
|
3597
|
+
/**
|
|
3598
|
+
* Fires when the element receives focus.
|
|
3599
|
+
* @type {FocusEvent}
|
|
3600
|
+
*/
|
|
3601
|
+
"focus",
|
|
3602
|
+
/**
|
|
3603
|
+
* Fires when the value of an element has been changed.
|
|
3604
|
+
* @type {Event}
|
|
3605
|
+
*/
|
|
3606
|
+
"input",
|
|
3607
|
+
/**
|
|
3608
|
+
* Fires when a key is pressed.
|
|
3609
|
+
* @type {KeyboardEvent}
|
|
3610
|
+
*/
|
|
3611
|
+
"keydown",
|
|
3612
|
+
/**
|
|
3613
|
+
* Fires when a key is released.
|
|
3614
|
+
* @type {KeyboardEvent}
|
|
3615
|
+
*/
|
|
3616
|
+
"keyup"
|
|
3617
|
+
],
|
|
3618
|
+
methods: {},
|
|
3619
|
+
setup(props, ctx) {
|
|
3620
|
+
const componentName = registerComponent(
|
|
3621
|
+
"contextual-help",
|
|
3622
|
+
vivid.registerContextualHelp
|
|
3623
|
+
);
|
|
3624
|
+
const element = vue.ref(null);
|
|
3625
|
+
return { componentName, element };
|
|
3626
|
+
},
|
|
3627
|
+
render() {
|
|
3628
|
+
if (isVue2) {
|
|
3629
|
+
return vue.h(
|
|
3630
|
+
this.componentName,
|
|
3631
|
+
{
|
|
3632
|
+
ref: "element",
|
|
3633
|
+
attrs: {
|
|
3634
|
+
...this.placement !== void 0 ? { placement: this.placement } : {}
|
|
3635
|
+
},
|
|
3636
|
+
class: "vvd-component",
|
|
3637
|
+
on: {
|
|
3638
|
+
blur: (event) => {
|
|
3639
|
+
this.$emit("blur", event);
|
|
3640
|
+
},
|
|
3641
|
+
click: (event) => {
|
|
3642
|
+
this.$emit("click", event);
|
|
3643
|
+
},
|
|
3644
|
+
focus: (event) => {
|
|
3645
|
+
this.$emit("focus", event);
|
|
3646
|
+
},
|
|
3647
|
+
input: (event) => {
|
|
3648
|
+
this.$emit("input", event);
|
|
3649
|
+
},
|
|
3650
|
+
keydown: (event) => {
|
|
3651
|
+
this.$emit("keydown", event);
|
|
3652
|
+
},
|
|
3653
|
+
keyup: (event) => {
|
|
3654
|
+
this.$emit("keyup", event);
|
|
3655
|
+
}
|
|
3656
|
+
}
|
|
3657
|
+
},
|
|
3658
|
+
[
|
|
3659
|
+
this.$slots.default,
|
|
3660
|
+
// @slot icon Custom icon slot (optional).
|
|
3661
|
+
handleNamedSlotV2("icon", this.$slots["icon"])
|
|
3662
|
+
]
|
|
3663
|
+
);
|
|
3664
|
+
}
|
|
3665
|
+
return vue.h(
|
|
3666
|
+
this.componentName,
|
|
3667
|
+
{
|
|
3668
|
+
ref: "element",
|
|
3669
|
+
class: "vvd-component",
|
|
3670
|
+
...handleVue3Props({
|
|
3671
|
+
...this.placement !== void 0 ? { "^placement": this.placement } : {}
|
|
3672
|
+
}),
|
|
3673
|
+
onBlur: (event) => {
|
|
3674
|
+
this.$emit("blur", event);
|
|
3675
|
+
},
|
|
3676
|
+
onClick: (event) => {
|
|
3677
|
+
this.$emit("click", event);
|
|
3678
|
+
},
|
|
3679
|
+
onFocus: (event) => {
|
|
3680
|
+
this.$emit("focus", event);
|
|
3681
|
+
},
|
|
3682
|
+
onInput: (event) => {
|
|
3683
|
+
this.$emit("input", event);
|
|
3684
|
+
},
|
|
3685
|
+
onKeydown: (event) => {
|
|
3686
|
+
this.$emit("keydown", event);
|
|
3687
|
+
},
|
|
3688
|
+
onKeyup: (event) => {
|
|
3689
|
+
this.$emit("keyup", event);
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
[
|
|
3693
|
+
// @ts-ignore
|
|
3694
|
+
this.$slots.default && this.$slots.default(),
|
|
3695
|
+
// @slot icon Custom icon slot (optional).
|
|
3696
|
+
handleNamedSlotV3("icon", this.$slots["icon"])
|
|
3697
|
+
]
|
|
3698
|
+
);
|
|
3699
|
+
}
|
|
3700
|
+
});
|
|
3701
|
+
|
|
3561
3702
|
const VDataGrid = vue.defineComponent({
|
|
3562
3703
|
name: "VDataGrid",
|
|
3563
3704
|
props: {
|
|
@@ -4255,6 +4396,8 @@ const VDatePicker = vue.defineComponent({
|
|
|
4255
4396
|
},
|
|
4256
4397
|
[
|
|
4257
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"]),
|
|
4258
4401
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4259
4402
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4260
4403
|
]
|
|
@@ -4304,6 +4447,11 @@ const VDatePicker = vue.defineComponent({
|
|
|
4304
4447
|
[
|
|
4305
4448
|
// @ts-ignore
|
|
4306
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
|
+
),
|
|
4307
4455
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4308
4456
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4309
4457
|
]
|
|
@@ -4525,6 +4673,8 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
4525
4673
|
},
|
|
4526
4674
|
[
|
|
4527
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"]),
|
|
4528
4678
|
// @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
4529
4679
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4530
4680
|
]
|
|
@@ -4585,6 +4735,11 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
4585
4735
|
[
|
|
4586
4736
|
// @ts-ignore
|
|
4587
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
|
+
),
|
|
4588
4743
|
// @slot helper-text Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
4589
4744
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4590
4745
|
]
|
|
@@ -4797,6 +4952,8 @@ const VDateTimePicker = vue.defineComponent({
|
|
|
4797
4952
|
},
|
|
4798
4953
|
[
|
|
4799
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"]),
|
|
4800
4957
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4801
4958
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
4802
4959
|
]
|
|
@@ -4853,6 +5010,11 @@ const VDateTimePicker = vue.defineComponent({
|
|
|
4853
5010
|
[
|
|
4854
5011
|
// @ts-ignore
|
|
4855
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
|
+
),
|
|
4856
5018
|
// @slot helper-text Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
4857
5019
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
4858
5020
|
]
|
|
@@ -6097,6 +6259,8 @@ const VFilePicker = vue.defineComponent({
|
|
|
6097
6259
|
},
|
|
6098
6260
|
[
|
|
6099
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"]),
|
|
6100
6264
|
// @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
|
|
6101
6265
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
6102
6266
|
]
|
|
@@ -6150,6 +6314,11 @@ const VFilePicker = vue.defineComponent({
|
|
|
6150
6314
|
[
|
|
6151
6315
|
// @ts-ignore
|
|
6152
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
|
+
),
|
|
6153
6322
|
// @slot helper-text Describes how to use the file-picker. Alternative to the `helper-text` attribute.
|
|
6154
6323
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
6155
6324
|
]
|
|
@@ -7936,6 +8105,8 @@ const VNumberField = vue.defineComponent({
|
|
|
7936
8105
|
},
|
|
7937
8106
|
[
|
|
7938
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"]),
|
|
7939
8110
|
// @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
|
|
7940
8111
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
7941
8112
|
]
|
|
@@ -8002,6 +8173,11 @@ const VNumberField = vue.defineComponent({
|
|
|
8002
8173
|
[
|
|
8003
8174
|
// @ts-ignore
|
|
8004
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
|
+
),
|
|
8005
8181
|
// @slot helper-text Describes how to use the number-field. Alternative to the `helper-text` attribute.
|
|
8006
8182
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
8007
8183
|
]
|
|
@@ -8366,43 +8542,53 @@ const VPagination = vue.defineComponent({
|
|
|
8366
8542
|
}
|
|
8367
8543
|
});
|
|
8368
8544
|
|
|
8369
|
-
const
|
|
8370
|
-
name: "
|
|
8545
|
+
const VPopover = vue.defineComponent({
|
|
8546
|
+
name: "VPopover",
|
|
8371
8547
|
props: {
|
|
8372
8548
|
/**
|
|
8373
|
-
*
|
|
8549
|
+
* Sets the color-scheme to alternate (dark/light)
|
|
8374
8550
|
*/
|
|
8375
|
-
|
|
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: {
|
|
8376
8560
|
type: String,
|
|
8377
8561
|
default: void 0
|
|
8378
8562
|
},
|
|
8379
8563
|
/**
|
|
8380
|
-
*
|
|
8564
|
+
* Sets the layout of the popover.
|
|
8381
8565
|
*/
|
|
8382
|
-
|
|
8566
|
+
layout: {
|
|
8567
|
+
type: String,
|
|
8568
|
+
default: void 0
|
|
8569
|
+
},
|
|
8383
8570
|
/**
|
|
8384
|
-
*
|
|
8571
|
+
* If true, the popover uses manual dismissal (no light-dismiss).
|
|
8572
|
+
* Adds a close button to the UI.
|
|
8385
8573
|
*/
|
|
8386
|
-
|
|
8574
|
+
manual: { type: Boolean, default: void 0 },
|
|
8387
8575
|
/**
|
|
8388
|
-
*
|
|
8576
|
+
* Sets the offset between popover and the anchor element.
|
|
8389
8577
|
*/
|
|
8390
|
-
|
|
8578
|
+
offset: { type: Number, default: void 0 },
|
|
8391
8579
|
/**
|
|
8392
|
-
* Indicates the
|
|
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.
|
|
8393
8583
|
*/
|
|
8394
|
-
|
|
8584
|
+
open: { type: Boolean, default: void 0 },
|
|
8395
8585
|
/**
|
|
8396
|
-
*
|
|
8586
|
+
* The placement of the popover relative to the anchor.
|
|
8397
8587
|
*/
|
|
8398
|
-
|
|
8588
|
+
placement: {
|
|
8399
8589
|
type: String,
|
|
8400
8590
|
default: void 0
|
|
8401
|
-
}
|
|
8402
|
-
/**
|
|
8403
|
-
* The value of the progress
|
|
8404
|
-
*/
|
|
8405
|
-
value: { type: Number, default: void 0 }
|
|
8591
|
+
}
|
|
8406
8592
|
},
|
|
8407
8593
|
emits: [
|
|
8408
8594
|
/**
|
|
@@ -8415,6 +8601,11 @@ const VProgress = vue.defineComponent({
|
|
|
8415
8601
|
* @type {MouseEvent}
|
|
8416
8602
|
*/
|
|
8417
8603
|
"click",
|
|
8604
|
+
/**
|
|
8605
|
+
* Fired when the popover closes.
|
|
8606
|
+
* @type {CustomEvent}
|
|
8607
|
+
*/
|
|
8608
|
+
"close",
|
|
8418
8609
|
/**
|
|
8419
8610
|
* Fires when the element receives focus.
|
|
8420
8611
|
* @type {FocusEvent}
|
|
@@ -8434,11 +8625,47 @@ const VProgress = vue.defineComponent({
|
|
|
8434
8625
|
* Fires when a key is released.
|
|
8435
8626
|
* @type {KeyboardEvent}
|
|
8436
8627
|
*/
|
|
8437
|
-
"keyup"
|
|
8628
|
+
"keyup",
|
|
8629
|
+
/**
|
|
8630
|
+
* Fired when the popover opens.
|
|
8631
|
+
* @type {CustomEvent}
|
|
8632
|
+
*/
|
|
8633
|
+
"open"
|
|
8438
8634
|
],
|
|
8439
|
-
methods: {
|
|
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
|
+
},
|
|
8440
8667
|
setup(props, ctx) {
|
|
8441
|
-
const componentName = registerComponent("
|
|
8668
|
+
const componentName = registerComponent("popover", vivid.registerPopover);
|
|
8442
8669
|
const element = vue.ref(null);
|
|
8443
8670
|
return { componentName, element };
|
|
8444
8671
|
},
|
|
@@ -8449,13 +8676,14 @@ const VProgress = vue.defineComponent({
|
|
|
8449
8676
|
{
|
|
8450
8677
|
ref: "element",
|
|
8451
8678
|
attrs: {
|
|
8452
|
-
...this.
|
|
8453
|
-
...this.
|
|
8454
|
-
...this.
|
|
8455
|
-
...this.
|
|
8456
|
-
...this.
|
|
8457
|
-
...this.
|
|
8458
|
-
...this.
|
|
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 } : {}
|
|
8459
8687
|
},
|
|
8460
8688
|
class: "vvd-component",
|
|
8461
8689
|
on: {
|
|
@@ -8465,6 +8693,9 @@ const VProgress = vue.defineComponent({
|
|
|
8465
8693
|
click: (event) => {
|
|
8466
8694
|
this.$emit("click", event);
|
|
8467
8695
|
},
|
|
8696
|
+
close: (event) => {
|
|
8697
|
+
this.$emit("close", event);
|
|
8698
|
+
},
|
|
8468
8699
|
focus: (event) => {
|
|
8469
8700
|
this.$emit("focus", event);
|
|
8470
8701
|
},
|
|
@@ -8476,10 +8707,19 @@ const VProgress = vue.defineComponent({
|
|
|
8476
8707
|
},
|
|
8477
8708
|
keyup: (event) => {
|
|
8478
8709
|
this.$emit("keyup", event);
|
|
8710
|
+
},
|
|
8711
|
+
open: (event) => {
|
|
8712
|
+
this.$emit("open", event);
|
|
8479
8713
|
}
|
|
8480
8714
|
}
|
|
8481
8715
|
},
|
|
8482
|
-
[
|
|
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
|
+
]
|
|
8483
8723
|
);
|
|
8484
8724
|
}
|
|
8485
8725
|
return vue.h(
|
|
@@ -8488,13 +8728,14 @@ const VProgress = vue.defineComponent({
|
|
|
8488
8728
|
ref: "element",
|
|
8489
8729
|
class: "vvd-component",
|
|
8490
8730
|
...handleVue3Props({
|
|
8491
|
-
...this.
|
|
8492
|
-
...this.
|
|
8493
|
-
...this.
|
|
8494
|
-
...this.
|
|
8495
|
-
...this.
|
|
8496
|
-
...this.
|
|
8497
|
-
...this.
|
|
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 } : {}
|
|
8498
8739
|
}),
|
|
8499
8740
|
onBlur: (event) => {
|
|
8500
8741
|
this.$emit("blur", event);
|
|
@@ -8502,6 +8743,9 @@ const VProgress = vue.defineComponent({
|
|
|
8502
8743
|
onClick: (event) => {
|
|
8503
8744
|
this.$emit("click", event);
|
|
8504
8745
|
},
|
|
8746
|
+
onClose: (event) => {
|
|
8747
|
+
this.$emit("close", event);
|
|
8748
|
+
},
|
|
8505
8749
|
onFocus: (event) => {
|
|
8506
8750
|
this.$emit("focus", event);
|
|
8507
8751
|
},
|
|
@@ -8513,19 +8757,29 @@ const VProgress = vue.defineComponent({
|
|
|
8513
8757
|
},
|
|
8514
8758
|
onKeyup: (event) => {
|
|
8515
8759
|
this.$emit("keyup", event);
|
|
8760
|
+
},
|
|
8761
|
+
onOpen: (event) => {
|
|
8762
|
+
this.$emit("open", event);
|
|
8516
8763
|
}
|
|
8517
8764
|
},
|
|
8518
8765
|
[
|
|
8519
8766
|
// @ts-ignore
|
|
8520
|
-
this.$slots.default && this.$slots.default()
|
|
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"])
|
|
8521
8772
|
]
|
|
8522
8773
|
);
|
|
8523
8774
|
}
|
|
8524
8775
|
});
|
|
8525
8776
|
|
|
8526
|
-
const
|
|
8527
|
-
name: "
|
|
8777
|
+
const VProgress = vue.defineComponent({
|
|
8778
|
+
name: "VProgress",
|
|
8528
8779
|
props: {
|
|
8780
|
+
/**
|
|
8781
|
+
* Indicates the progress' connotation.
|
|
8782
|
+
*/
|
|
8529
8783
|
connotation: {
|
|
8530
8784
|
type: String,
|
|
8531
8785
|
default: void 0
|
|
@@ -8542,8 +8796,15 @@ const VProgressRing = vue.defineComponent({
|
|
|
8542
8796
|
* Indicates the progress is paused
|
|
8543
8797
|
*/
|
|
8544
8798
|
paused: { type: Boolean, default: void 0 },
|
|
8545
|
-
|
|
8546
|
-
|
|
8799
|
+
/**
|
|
8800
|
+
* Indicates the progress' reverse status.
|
|
8801
|
+
*/
|
|
8802
|
+
reverse: { type: Boolean, default: void 0 },
|
|
8803
|
+
/**
|
|
8804
|
+
* Indicates the progress' shape.
|
|
8805
|
+
*/
|
|
8806
|
+
shape: {
|
|
8807
|
+
type: String,
|
|
8547
8808
|
default: void 0
|
|
8548
8809
|
},
|
|
8549
8810
|
/**
|
|
@@ -8585,9 +8846,156 @@ const VProgressRing = vue.defineComponent({
|
|
|
8585
8846
|
],
|
|
8586
8847
|
methods: {},
|
|
8587
8848
|
setup(props, ctx) {
|
|
8588
|
-
const componentName = registerComponent(
|
|
8589
|
-
|
|
8590
|
-
|
|
8849
|
+
const componentName = registerComponent("progress", vivid.registerProgress);
|
|
8850
|
+
const element = vue.ref(null);
|
|
8851
|
+
return { componentName, element };
|
|
8852
|
+
},
|
|
8853
|
+
render() {
|
|
8854
|
+
if (isVue2) {
|
|
8855
|
+
return vue.h(
|
|
8856
|
+
this.componentName,
|
|
8857
|
+
{
|
|
8858
|
+
ref: "element",
|
|
8859
|
+
attrs: {
|
|
8860
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
8861
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
8862
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
8863
|
+
...this.paused !== void 0 ? { paused: this.paused } : {},
|
|
8864
|
+
...this.reverse !== void 0 ? { reverse: this.reverse } : {},
|
|
8865
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8866
|
+
...this.value !== void 0 ? { value: this.value } : {}
|
|
8867
|
+
},
|
|
8868
|
+
class: "vvd-component",
|
|
8869
|
+
on: {
|
|
8870
|
+
blur: (event) => {
|
|
8871
|
+
this.$emit("blur", event);
|
|
8872
|
+
},
|
|
8873
|
+
click: (event) => {
|
|
8874
|
+
this.$emit("click", event);
|
|
8875
|
+
},
|
|
8876
|
+
focus: (event) => {
|
|
8877
|
+
this.$emit("focus", event);
|
|
8878
|
+
},
|
|
8879
|
+
input: (event) => {
|
|
8880
|
+
this.$emit("input", event);
|
|
8881
|
+
},
|
|
8882
|
+
keydown: (event) => {
|
|
8883
|
+
this.$emit("keydown", event);
|
|
8884
|
+
},
|
|
8885
|
+
keyup: (event) => {
|
|
8886
|
+
this.$emit("keyup", event);
|
|
8887
|
+
}
|
|
8888
|
+
}
|
|
8889
|
+
},
|
|
8890
|
+
[this.$slots.default]
|
|
8891
|
+
);
|
|
8892
|
+
}
|
|
8893
|
+
return vue.h(
|
|
8894
|
+
this.componentName,
|
|
8895
|
+
{
|
|
8896
|
+
ref: "element",
|
|
8897
|
+
class: "vvd-component",
|
|
8898
|
+
...handleVue3Props({
|
|
8899
|
+
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
8900
|
+
...this.max !== void 0 ? { "^max": this.max } : {},
|
|
8901
|
+
...this.min !== void 0 ? { "^min": this.min } : {},
|
|
8902
|
+
...this.paused !== void 0 && this.paused !== false ? { "^paused": this.paused } : {},
|
|
8903
|
+
...this.reverse !== void 0 && this.reverse !== false ? { "^reverse": this.reverse } : {},
|
|
8904
|
+
...this.shape !== void 0 ? { "^shape": this.shape } : {},
|
|
8905
|
+
...this.value !== void 0 ? { "^value": this.value } : {}
|
|
8906
|
+
}),
|
|
8907
|
+
onBlur: (event) => {
|
|
8908
|
+
this.$emit("blur", event);
|
|
8909
|
+
},
|
|
8910
|
+
onClick: (event) => {
|
|
8911
|
+
this.$emit("click", event);
|
|
8912
|
+
},
|
|
8913
|
+
onFocus: (event) => {
|
|
8914
|
+
this.$emit("focus", event);
|
|
8915
|
+
},
|
|
8916
|
+
onInput: (event) => {
|
|
8917
|
+
this.$emit("input", event);
|
|
8918
|
+
},
|
|
8919
|
+
onKeydown: (event) => {
|
|
8920
|
+
this.$emit("keydown", event);
|
|
8921
|
+
},
|
|
8922
|
+
onKeyup: (event) => {
|
|
8923
|
+
this.$emit("keyup", event);
|
|
8924
|
+
}
|
|
8925
|
+
},
|
|
8926
|
+
[
|
|
8927
|
+
// @ts-ignore
|
|
8928
|
+
this.$slots.default && this.$slots.default()
|
|
8929
|
+
]
|
|
8930
|
+
);
|
|
8931
|
+
}
|
|
8932
|
+
});
|
|
8933
|
+
|
|
8934
|
+
const VProgressRing = vue.defineComponent({
|
|
8935
|
+
name: "VProgressRing",
|
|
8936
|
+
props: {
|
|
8937
|
+
connotation: {
|
|
8938
|
+
type: String,
|
|
8939
|
+
default: void 0
|
|
8940
|
+
},
|
|
8941
|
+
/**
|
|
8942
|
+
* The maximum value
|
|
8943
|
+
*/
|
|
8944
|
+
max: { type: Number, default: void 0 },
|
|
8945
|
+
/**
|
|
8946
|
+
* The minimum value
|
|
8947
|
+
*/
|
|
8948
|
+
min: { type: Number, default: void 0 },
|
|
8949
|
+
/**
|
|
8950
|
+
* Indicates the progress is paused
|
|
8951
|
+
*/
|
|
8952
|
+
paused: { type: Boolean, default: void 0 },
|
|
8953
|
+
size: {
|
|
8954
|
+
type: Number,
|
|
8955
|
+
default: void 0
|
|
8956
|
+
},
|
|
8957
|
+
/**
|
|
8958
|
+
* The value of the progress
|
|
8959
|
+
*/
|
|
8960
|
+
value: { type: Number, default: void 0 }
|
|
8961
|
+
},
|
|
8962
|
+
emits: [
|
|
8963
|
+
/**
|
|
8964
|
+
* Fires when the element loses focus.
|
|
8965
|
+
* @type {FocusEvent}
|
|
8966
|
+
*/
|
|
8967
|
+
"blur",
|
|
8968
|
+
/**
|
|
8969
|
+
* 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.
|
|
8970
|
+
* @type {MouseEvent}
|
|
8971
|
+
*/
|
|
8972
|
+
"click",
|
|
8973
|
+
/**
|
|
8974
|
+
* Fires when the element receives focus.
|
|
8975
|
+
* @type {FocusEvent}
|
|
8976
|
+
*/
|
|
8977
|
+
"focus",
|
|
8978
|
+
/**
|
|
8979
|
+
* Fires when the value of an element has been changed.
|
|
8980
|
+
* @type {Event}
|
|
8981
|
+
*/
|
|
8982
|
+
"input",
|
|
8983
|
+
/**
|
|
8984
|
+
* Fires when a key is pressed.
|
|
8985
|
+
* @type {KeyboardEvent}
|
|
8986
|
+
*/
|
|
8987
|
+
"keydown",
|
|
8988
|
+
/**
|
|
8989
|
+
* Fires when a key is released.
|
|
8990
|
+
* @type {KeyboardEvent}
|
|
8991
|
+
*/
|
|
8992
|
+
"keyup"
|
|
8993
|
+
],
|
|
8994
|
+
methods: {},
|
|
8995
|
+
setup(props, ctx) {
|
|
8996
|
+
const componentName = registerComponent(
|
|
8997
|
+
"progress-ring",
|
|
8998
|
+
vivid.registerProgressRing
|
|
8591
8999
|
);
|
|
8592
9000
|
const element = vue.ref(null);
|
|
8593
9001
|
return { componentName, element };
|
|
@@ -9558,107 +9966,13 @@ const VRichTextEditor = vue.defineComponent({
|
|
|
9558
9966
|
}
|
|
9559
9967
|
});
|
|
9560
9968
|
|
|
9561
|
-
const
|
|
9562
|
-
name: "
|
|
9563
|
-
model: isVue2 ? {
|
|
9564
|
-
prop: "modelValue",
|
|
9565
|
-
event: "update:modelValue"
|
|
9566
|
-
} : void 0,
|
|
9969
|
+
const VRichTextView = vue.defineComponent({
|
|
9970
|
+
name: "VRichTextView",
|
|
9567
9971
|
props: {
|
|
9568
|
-
appearance: {
|
|
9569
|
-
type: String,
|
|
9570
|
-
default: void 0
|
|
9571
|
-
},
|
|
9572
|
-
/**
|
|
9573
|
-
* Adds a clear button to the input field that clears the selected values.
|
|
9574
|
-
*/
|
|
9575
|
-
clearable: { type: Boolean, default: void 0 },
|
|
9576
|
-
/**
|
|
9577
|
-
* Overrides the default "Deselect All" text
|
|
9578
|
-
*/
|
|
9579
|
-
deselectAllText: { type: String, default: void 0 },
|
|
9580
|
-
/**
|
|
9581
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9582
|
-
*/
|
|
9583
|
-
disabled: { type: Boolean, default: void 0 },
|
|
9584
|
-
/**
|
|
9585
|
-
* Adds a "Select All" option at the top of the options list.
|
|
9586
|
-
*/
|
|
9587
|
-
enableSelectAll: { type: Boolean, default: void 0 },
|
|
9588
|
-
/**
|
|
9589
|
-
* Provides a custom error message. Any current error state will be overridden.
|
|
9590
|
-
*/
|
|
9591
|
-
errorText: { type: String, default: void 0 },
|
|
9592
|
-
externalTags: { type: Boolean, default: void 0 },
|
|
9593
|
-
fixedDropdown: { type: Boolean, default: void 0 },
|
|
9594
|
-
/**
|
|
9595
|
-
* Provides additional information to help the user enter the correct information.
|
|
9596
|
-
* To add HTML to the helper text, use the helper-text slot instead.
|
|
9597
|
-
*/
|
|
9598
|
-
helperText: { type: String, default: void 0 },
|
|
9599
|
-
/**
|
|
9600
|
-
* A decorative icon the custom element should have.
|
|
9601
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9602
|
-
*/
|
|
9603
|
-
icon: { type: String, default: void 0 },
|
|
9604
9972
|
/**
|
|
9605
|
-
*
|
|
9606
|
-
*/
|
|
9607
|
-
iconTrailing: { type: Boolean, default: void 0 },
|
|
9608
|
-
/**
|
|
9609
|
-
* The default value of the element. This value sets the `value` property
|
|
9610
|
-
* only when the `value` property has not been explicitly set.
|
|
9611
|
-
*/
|
|
9612
|
-
initialValue: { type: String, default: void 0 },
|
|
9613
|
-
/**
|
|
9614
|
-
* The label for the form element.
|
|
9615
|
-
*/
|
|
9616
|
-
label: { type: String, default: void 0 },
|
|
9617
|
-
/**
|
|
9618
|
-
* Whether the component is in a loading state.
|
|
9619
|
-
*/
|
|
9620
|
-
loading: { type: Boolean, default: void 0 },
|
|
9621
|
-
maxLines: { type: Number, default: void 0 },
|
|
9622
|
-
maxSelected: { type: Number, default: void 0 },
|
|
9623
|
-
multiple: { type: Boolean, default: void 0 },
|
|
9624
|
-
/**
|
|
9625
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
9626
|
-
*/
|
|
9627
|
-
name: { type: String, default: void 0 },
|
|
9628
|
-
open: { type: Boolean, default: void 0 },
|
|
9629
|
-
/**
|
|
9630
|
-
* Function to filter the options to display.
|
|
9631
|
-
*/
|
|
9632
|
-
optionFilter: {
|
|
9633
|
-
type: null,
|
|
9634
|
-
default: void 0
|
|
9635
|
-
},
|
|
9636
|
-
placeholder: { type: String, default: void 0 },
|
|
9637
|
-
/**
|
|
9638
|
-
* Require the field to be completed prior to form submission.
|
|
9639
|
-
*/
|
|
9640
|
-
required: { type: Boolean, default: void 0 },
|
|
9641
|
-
/**
|
|
9642
|
-
* Overrides the default "Select All" text
|
|
9643
|
-
*/
|
|
9644
|
-
selectAllText: { type: String, default: void 0 },
|
|
9645
|
-
shape: { type: String, default: void 0 },
|
|
9646
|
-
/**
|
|
9647
|
-
* Provides a custom success message. Any current error state will be overridden.
|
|
9648
|
-
*/
|
|
9649
|
-
successText: { type: String, default: void 0 },
|
|
9650
|
-
/**
|
|
9651
|
-
* The current value of the element.
|
|
9652
|
-
*/
|
|
9653
|
-
value: { type: String, default: void 0 },
|
|
9654
|
-
/**
|
|
9655
|
-
* The current value of the element.
|
|
9656
|
-
*/
|
|
9657
|
-
modelValue: { type: String, default: void 0 },
|
|
9658
|
-
/**
|
|
9659
|
-
* List of selected option values.
|
|
9973
|
+
* The view to display, created from the RteConfig.
|
|
9660
9974
|
*/
|
|
9661
|
-
|
|
9975
|
+
view: { type: null, default: void 0 }
|
|
9662
9976
|
},
|
|
9663
9977
|
emits: [
|
|
9664
9978
|
/**
|
|
@@ -9666,11 +9980,6 @@ const VSearchableSelect = vue.defineComponent({
|
|
|
9666
9980
|
* @type {FocusEvent}
|
|
9667
9981
|
*/
|
|
9668
9982
|
"blur",
|
|
9669
|
-
/**
|
|
9670
|
-
* Fired when the selected options change
|
|
9671
|
-
* @type {CustomEvent<undefined>}
|
|
9672
|
-
*/
|
|
9673
|
-
"change",
|
|
9674
9983
|
/**
|
|
9675
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.
|
|
9676
9985
|
* @type {MouseEvent}
|
|
@@ -9682,9 +9991,225 @@ const VSearchableSelect = vue.defineComponent({
|
|
|
9682
9991
|
*/
|
|
9683
9992
|
"focus",
|
|
9684
9993
|
/**
|
|
9685
|
-
*
|
|
9686
|
-
* @type {
|
|
9687
|
-
*/
|
|
9994
|
+
* Fires when the value of an element has been changed.
|
|
9995
|
+
* @type {Event}
|
|
9996
|
+
*/
|
|
9997
|
+
"input",
|
|
9998
|
+
/**
|
|
9999
|
+
* Fires when a key is pressed.
|
|
10000
|
+
* @type {KeyboardEvent}
|
|
10001
|
+
*/
|
|
10002
|
+
"keydown",
|
|
10003
|
+
/**
|
|
10004
|
+
* Fires when a key is released.
|
|
10005
|
+
* @type {KeyboardEvent}
|
|
10006
|
+
*/
|
|
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 },
|
|
10142
|
+
/**
|
|
10143
|
+
* Whether the component is in a loading state.
|
|
10144
|
+
*/
|
|
10145
|
+
loading: { type: Boolean, default: void 0 },
|
|
10146
|
+
maxLines: { type: Number, default: void 0 },
|
|
10147
|
+
maxSelected: { type: Number, default: void 0 },
|
|
10148
|
+
multiple: { type: Boolean, default: void 0 },
|
|
10149
|
+
/**
|
|
10150
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
10151
|
+
*/
|
|
10152
|
+
name: { type: String, default: void 0 },
|
|
10153
|
+
open: { type: Boolean, default: void 0 },
|
|
10154
|
+
/**
|
|
10155
|
+
* Function to filter the options to display.
|
|
10156
|
+
*/
|
|
10157
|
+
optionFilter: {
|
|
10158
|
+
type: null,
|
|
10159
|
+
default: void 0
|
|
10160
|
+
},
|
|
10161
|
+
placeholder: { type: String, default: void 0 },
|
|
10162
|
+
/**
|
|
10163
|
+
* Require the field to be completed prior to form submission.
|
|
10164
|
+
*/
|
|
10165
|
+
required: { type: Boolean, default: void 0 },
|
|
10166
|
+
/**
|
|
10167
|
+
* Overrides the default "Select All" text
|
|
10168
|
+
*/
|
|
10169
|
+
selectAllText: { type: String, default: void 0 },
|
|
10170
|
+
shape: { type: String, default: void 0 },
|
|
10171
|
+
/**
|
|
10172
|
+
* Provides a custom success message. Any current error state will be overridden.
|
|
10173
|
+
*/
|
|
10174
|
+
successText: { type: String, default: void 0 },
|
|
10175
|
+
/**
|
|
10176
|
+
* The current value of the element.
|
|
10177
|
+
*/
|
|
10178
|
+
value: { type: String, default: void 0 },
|
|
10179
|
+
/**
|
|
10180
|
+
* The current value of the element.
|
|
10181
|
+
*/
|
|
10182
|
+
modelValue: { type: String, default: void 0 },
|
|
10183
|
+
/**
|
|
10184
|
+
* List of selected option values.
|
|
10185
|
+
*/
|
|
10186
|
+
values: { type: Array, default: void 0 }
|
|
10187
|
+
},
|
|
10188
|
+
emits: [
|
|
10189
|
+
/**
|
|
10190
|
+
* Fires when the element loses focus.
|
|
10191
|
+
* @type {FocusEvent}
|
|
10192
|
+
*/
|
|
10193
|
+
"blur",
|
|
10194
|
+
/**
|
|
10195
|
+
* Fired when the selected options change
|
|
10196
|
+
* @type {CustomEvent<undefined>}
|
|
10197
|
+
*/
|
|
10198
|
+
"change",
|
|
10199
|
+
/**
|
|
10200
|
+
* 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.
|
|
10201
|
+
* @type {MouseEvent}
|
|
10202
|
+
*/
|
|
10203
|
+
"click",
|
|
10204
|
+
/**
|
|
10205
|
+
* Fires when the element receives focus.
|
|
10206
|
+
* @type {FocusEvent}
|
|
10207
|
+
*/
|
|
10208
|
+
"focus",
|
|
10209
|
+
/**
|
|
10210
|
+
* Fired when the selected options change
|
|
10211
|
+
* @type {CustomEvent<undefined>}
|
|
10212
|
+
*/
|
|
9688
10213
|
"input",
|
|
9689
10214
|
/**
|
|
9690
10215
|
* Fires when a key is pressed.
|
|
@@ -9804,6 +10329,8 @@ const VSearchableSelect = vue.defineComponent({
|
|
|
9804
10329
|
},
|
|
9805
10330
|
[
|
|
9806
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"]),
|
|
9807
10334
|
// @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
|
|
9808
10335
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
9809
10336
|
// @slot icon The preferred way to add an icon to the control.
|
|
@@ -9883,6 +10410,11 @@ const VSearchableSelect = vue.defineComponent({
|
|
|
9883
10410
|
[
|
|
9884
10411
|
// @ts-ignore
|
|
9885
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
|
+
),
|
|
9886
10418
|
// @slot helper-text Describes how to use the component. Alternative to the `helper-text` attribute.
|
|
9887
10419
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
9888
10420
|
// @slot icon The preferred way to add an icon to the control.
|
|
@@ -10130,6 +10662,8 @@ const VSelect = vue.defineComponent({
|
|
|
10130
10662
|
},
|
|
10131
10663
|
[
|
|
10132
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"]),
|
|
10133
10667
|
// @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
|
|
10134
10668
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
10135
10669
|
// @slot icon The preferred way to add an icon to the select control.
|
|
@@ -10190,6 +10724,11 @@ const VSelect = vue.defineComponent({
|
|
|
10190
10724
|
[
|
|
10191
10725
|
// @ts-ignore
|
|
10192
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
|
+
),
|
|
10193
10732
|
// @slot helper-text Describes how to use the select. Alternative to the `helper-text` attribute.
|
|
10194
10733
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
10195
10734
|
// @slot icon The preferred way to add an icon to the select control.
|
|
@@ -11196,9 +11735,842 @@ const VSplitButton = vue.defineComponent({
|
|
|
11196
11735
|
},
|
|
11197
11736
|
class: "vvd-component",
|
|
11198
11737
|
on: {
|
|
11199
|
-
"action-click": (event) => {
|
|
11200
|
-
this.$emit("action-click", event);
|
|
11201
|
-
},
|
|
11738
|
+
"action-click": (event) => {
|
|
11739
|
+
this.$emit("action-click", event);
|
|
11740
|
+
},
|
|
11741
|
+
blur: (event) => {
|
|
11742
|
+
this.$emit("blur", event);
|
|
11743
|
+
},
|
|
11744
|
+
click: (event) => {
|
|
11745
|
+
this.$emit("click", event);
|
|
11746
|
+
},
|
|
11747
|
+
focus: (event) => {
|
|
11748
|
+
this.$emit("focus", event);
|
|
11749
|
+
},
|
|
11750
|
+
"indicator-click": (event) => {
|
|
11751
|
+
this.$emit("indicator-click", event);
|
|
11752
|
+
},
|
|
11753
|
+
input: (event) => {
|
|
11754
|
+
this.$emit("input", event);
|
|
11755
|
+
},
|
|
11756
|
+
keydown: (event) => {
|
|
11757
|
+
this.$emit("keydown", event);
|
|
11758
|
+
},
|
|
11759
|
+
keyup: (event) => {
|
|
11760
|
+
this.$emit("keyup", event);
|
|
11761
|
+
}
|
|
11762
|
+
}
|
|
11763
|
+
},
|
|
11764
|
+
[
|
|
11765
|
+
this.$slots.default,
|
|
11766
|
+
// @slot icon The preferred way to add an icon to the component.
|
|
11767
|
+
handleNamedSlotV2("icon", this.$slots["icon"])
|
|
11768
|
+
]
|
|
11769
|
+
);
|
|
11770
|
+
}
|
|
11771
|
+
return vue.h(
|
|
11772
|
+
this.componentName,
|
|
11773
|
+
{
|
|
11774
|
+
ref: "element",
|
|
11775
|
+
class: "vvd-component",
|
|
11776
|
+
...handleVue3Props({
|
|
11777
|
+
...this.appearance !== void 0 ? { "^appearance": this.appearance } : {},
|
|
11778
|
+
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
11779
|
+
...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
|
|
11780
|
+
...this.icon !== void 0 ? { "^icon": this.icon } : {},
|
|
11781
|
+
...this.indicatorAriaLabel !== void 0 ? { "^indicator-aria-label": this.indicatorAriaLabel } : {},
|
|
11782
|
+
...this.label !== void 0 ? { "^label": this.label } : {},
|
|
11783
|
+
...this.shape !== void 0 ? { "^shape": this.shape } : {},
|
|
11784
|
+
...this.size !== void 0 ? { "^size": this.size } : {},
|
|
11785
|
+
...this.splitIndicator !== void 0 ? { "^split-indicator": this.splitIndicator } : {}
|
|
11786
|
+
}),
|
|
11787
|
+
onActionClick: (event) => {
|
|
11788
|
+
this.$emit("action-click", event);
|
|
11789
|
+
},
|
|
11790
|
+
onBlur: (event) => {
|
|
11791
|
+
this.$emit("blur", event);
|
|
11792
|
+
},
|
|
11793
|
+
onClick: (event) => {
|
|
11794
|
+
this.$emit("click", event);
|
|
11795
|
+
},
|
|
11796
|
+
onFocus: (event) => {
|
|
11797
|
+
this.$emit("focus", event);
|
|
11798
|
+
},
|
|
11799
|
+
onIndicatorClick: (event) => {
|
|
11800
|
+
this.$emit("indicator-click", event);
|
|
11801
|
+
},
|
|
11802
|
+
onInput: (event) => {
|
|
11803
|
+
this.$emit("input", event);
|
|
11804
|
+
},
|
|
11805
|
+
onKeydown: (event) => {
|
|
11806
|
+
this.$emit("keydown", event);
|
|
11807
|
+
},
|
|
11808
|
+
onKeyup: (event) => {
|
|
11809
|
+
this.$emit("keyup", event);
|
|
11810
|
+
}
|
|
11811
|
+
},
|
|
11812
|
+
[
|
|
11813
|
+
// @ts-ignore
|
|
11814
|
+
this.$slots.default && this.$slots.default(),
|
|
11815
|
+
// @slot icon The preferred way to add an icon to the component.
|
|
11816
|
+
handleNamedSlotV3("icon", this.$slots["icon"])
|
|
11817
|
+
]
|
|
11818
|
+
);
|
|
11819
|
+
}
|
|
11820
|
+
});
|
|
11821
|
+
|
|
11822
|
+
const VSwitch = vue.defineComponent({
|
|
11823
|
+
name: "VSwitch",
|
|
11824
|
+
model: isVue2 ? {
|
|
11825
|
+
prop: "modelValue",
|
|
11826
|
+
event: "update:modelValue"
|
|
11827
|
+
} : void 0,
|
|
11828
|
+
props: {
|
|
11829
|
+
/**
|
|
11830
|
+
* The current checkedness of the element.
|
|
11831
|
+
*/
|
|
11832
|
+
checked: { type: Boolean, default: void 0 },
|
|
11833
|
+
/**
|
|
11834
|
+
* The current checkedness of the element.
|
|
11835
|
+
*/
|
|
11836
|
+
modelValue: { type: Boolean, default: void 0 },
|
|
11837
|
+
/**
|
|
11838
|
+
* Indicates the switch's connotation.
|
|
11839
|
+
*/
|
|
11840
|
+
connotation: {
|
|
11841
|
+
type: String,
|
|
11842
|
+
default: void 0
|
|
11843
|
+
},
|
|
11844
|
+
/**
|
|
11845
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
11846
|
+
* only when the `checked` property has not been explicitly set.
|
|
11847
|
+
*/
|
|
11848
|
+
defaultChecked: { type: Boolean, default: void 0 },
|
|
11849
|
+
/**
|
|
11850
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
11851
|
+
*/
|
|
11852
|
+
disabled: { type: Boolean, default: void 0 },
|
|
11853
|
+
/**
|
|
11854
|
+
* The default value of the element. This value sets the `value` property
|
|
11855
|
+
* only when the `value` property has not been explicitly set.
|
|
11856
|
+
*/
|
|
11857
|
+
initialValue: { type: String, default: void 0 },
|
|
11858
|
+
/**
|
|
11859
|
+
* Indicates the switch's label.
|
|
11860
|
+
*/
|
|
11861
|
+
label: { type: String, default: void 0 },
|
|
11862
|
+
/**
|
|
11863
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
11864
|
+
*/
|
|
11865
|
+
name: { type: String, default: void 0 },
|
|
11866
|
+
/**
|
|
11867
|
+
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
11868
|
+
*/
|
|
11869
|
+
readonly: { type: Boolean, default: void 0 },
|
|
11870
|
+
/**
|
|
11871
|
+
* Require the field to be completed prior to form submission.
|
|
11872
|
+
*/
|
|
11873
|
+
required: { type: Boolean, default: void 0 },
|
|
11874
|
+
/**
|
|
11875
|
+
* The current value of the element.
|
|
11876
|
+
*/
|
|
11877
|
+
value: { type: String, default: void 0 }
|
|
11878
|
+
},
|
|
11879
|
+
emits: [
|
|
11880
|
+
/**
|
|
11881
|
+
* Fires when the element loses focus.
|
|
11882
|
+
* @type {FocusEvent}
|
|
11883
|
+
*/
|
|
11884
|
+
"blur",
|
|
11885
|
+
/**
|
|
11886
|
+
* Emits a custom change event when the checked state changes
|
|
11887
|
+
* @type {CustomEvent<undefined>}
|
|
11888
|
+
*/
|
|
11889
|
+
"change",
|
|
11890
|
+
/**
|
|
11891
|
+
* 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.
|
|
11892
|
+
* @type {MouseEvent}
|
|
11893
|
+
*/
|
|
11894
|
+
"click",
|
|
11895
|
+
/**
|
|
11896
|
+
* Fires when the element receives focus.
|
|
11897
|
+
* @type {FocusEvent}
|
|
11898
|
+
*/
|
|
11899
|
+
"focus",
|
|
11900
|
+
/**
|
|
11901
|
+
* Fires when the value of an element has been changed.
|
|
11902
|
+
* @type {Event}
|
|
11903
|
+
*/
|
|
11904
|
+
"input",
|
|
11905
|
+
/**
|
|
11906
|
+
* Fires when a key is pressed.
|
|
11907
|
+
* @type {KeyboardEvent}
|
|
11908
|
+
*/
|
|
11909
|
+
"keydown",
|
|
11910
|
+
/**
|
|
11911
|
+
* Fires when a key is released.
|
|
11912
|
+
* @type {KeyboardEvent}
|
|
11913
|
+
*/
|
|
11914
|
+
"keyup",
|
|
11915
|
+
/**
|
|
11916
|
+
* Fires when the modelValue value changes
|
|
11917
|
+
* @type {boolean}
|
|
11918
|
+
*/
|
|
11919
|
+
"update:modelValue"
|
|
11920
|
+
],
|
|
11921
|
+
methods: {
|
|
11922
|
+
/**
|
|
11923
|
+
* Return the current validity of the element.
|
|
11924
|
+
*/
|
|
11925
|
+
checkValidity() {
|
|
11926
|
+
return this.element?.checkValidity();
|
|
11927
|
+
},
|
|
11928
|
+
/**
|
|
11929
|
+
* Return the current validity of the element.
|
|
11930
|
+
* If false, fires an invalid event at the element.
|
|
11931
|
+
*/
|
|
11932
|
+
reportValidity() {
|
|
11933
|
+
return this.element?.reportValidity();
|
|
11934
|
+
}
|
|
11935
|
+
},
|
|
11936
|
+
setup(props, ctx) {
|
|
11937
|
+
const componentName = registerComponent("switch", vivid.registerSwitch);
|
|
11938
|
+
const element = vue.ref(null);
|
|
11939
|
+
return { componentName, element };
|
|
11940
|
+
},
|
|
11941
|
+
render() {
|
|
11942
|
+
if (isVue2) {
|
|
11943
|
+
return vue.h(
|
|
11944
|
+
this.componentName,
|
|
11945
|
+
{
|
|
11946
|
+
ref: "element",
|
|
11947
|
+
attrs: {
|
|
11948
|
+
...(this.modelValue ?? this.checked) !== void 0 ? { "current-checked": this.modelValue ?? this.checked } : {},
|
|
11949
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
11950
|
+
...this.defaultChecked !== void 0 ? { checked: this.defaultChecked } : {},
|
|
11951
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
11952
|
+
...this.initialValue !== void 0 ? { value: this.initialValue } : {},
|
|
11953
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
11954
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
11955
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
11956
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
11957
|
+
...this.value !== void 0 ? { "current-value": this.value } : {}
|
|
11958
|
+
},
|
|
11959
|
+
class: "vvd-component",
|
|
11960
|
+
on: {
|
|
11961
|
+
blur: (event) => {
|
|
11962
|
+
this.$emit("blur", event);
|
|
11963
|
+
},
|
|
11964
|
+
change: (event) => {
|
|
11965
|
+
this.$emit("update:modelValue", event.currentTarget.checked);
|
|
11966
|
+
this.$emit("change", event);
|
|
11967
|
+
},
|
|
11968
|
+
click: (event) => {
|
|
11969
|
+
this.$emit("click", event);
|
|
11970
|
+
},
|
|
11971
|
+
focus: (event) => {
|
|
11972
|
+
this.$emit("focus", event);
|
|
11973
|
+
},
|
|
11974
|
+
input: (event) => {
|
|
11975
|
+
this.$emit("input", event);
|
|
11976
|
+
},
|
|
11977
|
+
keydown: (event) => {
|
|
11978
|
+
this.$emit("keydown", event);
|
|
11979
|
+
},
|
|
11980
|
+
keyup: (event) => {
|
|
11981
|
+
this.$emit("keyup", event);
|
|
11982
|
+
}
|
|
11983
|
+
}
|
|
11984
|
+
},
|
|
11985
|
+
[this.$slots.default]
|
|
11986
|
+
);
|
|
11987
|
+
}
|
|
11988
|
+
return vue.h(
|
|
11989
|
+
this.componentName,
|
|
11990
|
+
{
|
|
11991
|
+
ref: "element",
|
|
11992
|
+
class: "vvd-component",
|
|
11993
|
+
...handleVue3Props({
|
|
11994
|
+
...(this.modelValue ?? this.checked) !== void 0 && (this.modelValue ?? this.checked) !== false ? { "^current-checked": this.modelValue ?? this.checked } : {},
|
|
11995
|
+
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
11996
|
+
...this.defaultChecked !== void 0 && this.defaultChecked !== false ? { "^checked": this.defaultChecked } : {},
|
|
11997
|
+
...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
|
|
11998
|
+
...this.initialValue !== void 0 ? { "^value": this.initialValue } : {},
|
|
11999
|
+
...this.label !== void 0 ? { "^label": this.label } : {},
|
|
12000
|
+
...this.name !== void 0 ? { "^name": this.name } : {},
|
|
12001
|
+
...this.readonly !== void 0 && this.readonly !== false ? { "^readonly": this.readonly } : {},
|
|
12002
|
+
...this.required !== void 0 && this.required !== false ? { "^required": this.required } : {},
|
|
12003
|
+
...this.value !== void 0 ? { "^current-value": this.value } : {}
|
|
12004
|
+
}),
|
|
12005
|
+
onBlur: (event) => {
|
|
12006
|
+
this.$emit("blur", event);
|
|
12007
|
+
},
|
|
12008
|
+
onChange: (event) => {
|
|
12009
|
+
this.$emit("update:modelValue", event.currentTarget.checked);
|
|
12010
|
+
this.$emit("change", event);
|
|
12011
|
+
},
|
|
12012
|
+
onClick: (event) => {
|
|
12013
|
+
this.$emit("click", event);
|
|
12014
|
+
},
|
|
12015
|
+
onFocus: (event) => {
|
|
12016
|
+
this.$emit("focus", event);
|
|
12017
|
+
},
|
|
12018
|
+
onInput: (event) => {
|
|
12019
|
+
this.$emit("input", event);
|
|
12020
|
+
},
|
|
12021
|
+
onKeydown: (event) => {
|
|
12022
|
+
this.$emit("keydown", event);
|
|
12023
|
+
},
|
|
12024
|
+
onKeyup: (event) => {
|
|
12025
|
+
this.$emit("keyup", event);
|
|
12026
|
+
}
|
|
12027
|
+
},
|
|
12028
|
+
[
|
|
12029
|
+
// @ts-ignore
|
|
12030
|
+
this.$slots.default && this.$slots.default()
|
|
12031
|
+
]
|
|
12032
|
+
);
|
|
12033
|
+
}
|
|
12034
|
+
});
|
|
12035
|
+
|
|
12036
|
+
const VTab = vue.defineComponent({
|
|
12037
|
+
name: "VTab",
|
|
12038
|
+
props: {
|
|
12039
|
+
/**
|
|
12040
|
+
* The connotation the tab should have.
|
|
12041
|
+
*/
|
|
12042
|
+
connotation: {
|
|
12043
|
+
type: String,
|
|
12044
|
+
default: void 0
|
|
12045
|
+
},
|
|
12046
|
+
/**
|
|
12047
|
+
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.
|
|
12048
|
+
*/
|
|
12049
|
+
disabled: { type: Boolean, default: void 0 },
|
|
12050
|
+
/**
|
|
12051
|
+
* A decorative icon the custom element should have.
|
|
12052
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
12053
|
+
*/
|
|
12054
|
+
icon: { type: String, default: void 0 },
|
|
12055
|
+
/**
|
|
12056
|
+
* Indicates the icon affix alignment.
|
|
12057
|
+
*/
|
|
12058
|
+
iconTrailing: { type: Boolean, default: void 0 },
|
|
12059
|
+
/**
|
|
12060
|
+
* Indicates the tab's label.
|
|
12061
|
+
*/
|
|
12062
|
+
label: { type: String, default: void 0 },
|
|
12063
|
+
/**
|
|
12064
|
+
* Adds a close button
|
|
12065
|
+
*/
|
|
12066
|
+
removable: { type: Boolean, default: void 0 },
|
|
12067
|
+
/**
|
|
12068
|
+
* The shape the tab should have.
|
|
12069
|
+
*/
|
|
12070
|
+
shape: {
|
|
12071
|
+
type: String,
|
|
12072
|
+
default: void 0
|
|
12073
|
+
},
|
|
12074
|
+
tabIndex: { type: Number, default: void 0 }
|
|
12075
|
+
},
|
|
12076
|
+
emits: [
|
|
12077
|
+
/**
|
|
12078
|
+
* Fires when the element loses focus.
|
|
12079
|
+
* @type {FocusEvent}
|
|
12080
|
+
*/
|
|
12081
|
+
"blur",
|
|
12082
|
+
/**
|
|
12083
|
+
* 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.
|
|
12084
|
+
* @type {MouseEvent}
|
|
12085
|
+
*/
|
|
12086
|
+
"click",
|
|
12087
|
+
/**
|
|
12088
|
+
* Fires when the element receives focus.
|
|
12089
|
+
* @type {FocusEvent}
|
|
12090
|
+
*/
|
|
12091
|
+
"focus",
|
|
12092
|
+
/**
|
|
12093
|
+
* Fires when the value of an element has been changed.
|
|
12094
|
+
* @type {Event}
|
|
12095
|
+
*/
|
|
12096
|
+
"input",
|
|
12097
|
+
/**
|
|
12098
|
+
* Fires when a key is pressed.
|
|
12099
|
+
* @type {KeyboardEvent}
|
|
12100
|
+
*/
|
|
12101
|
+
"keydown",
|
|
12102
|
+
/**
|
|
12103
|
+
* Fires when a key is released.
|
|
12104
|
+
* @type {KeyboardEvent}
|
|
12105
|
+
*/
|
|
12106
|
+
"keyup"
|
|
12107
|
+
],
|
|
12108
|
+
methods: {
|
|
12109
|
+
_handleCloseClick(e) {
|
|
12110
|
+
return this.element?._handleCloseClick(e);
|
|
12111
|
+
},
|
|
12112
|
+
_onKeyDown(e) {
|
|
12113
|
+
return this.element?._onKeyDown(e);
|
|
12114
|
+
}
|
|
12115
|
+
},
|
|
12116
|
+
setup(props, ctx) {
|
|
12117
|
+
const componentName = registerComponent("tab", vivid.registerTab);
|
|
12118
|
+
const element = vue.ref(null);
|
|
12119
|
+
return { componentName, element };
|
|
12120
|
+
},
|
|
12121
|
+
render() {
|
|
12122
|
+
if (isVue2) {
|
|
12123
|
+
return vue.h(
|
|
12124
|
+
this.componentName,
|
|
12125
|
+
{
|
|
12126
|
+
ref: "element",
|
|
12127
|
+
attrs: {
|
|
12128
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
12129
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
12130
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
12131
|
+
...this.iconTrailing !== void 0 ? { "icon-trailing": this.iconTrailing } : {},
|
|
12132
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
12133
|
+
...this.removable !== void 0 ? { removable: this.removable } : {},
|
|
12134
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
12135
|
+
...this.tabIndex !== void 0 ? { tabIndex: this.tabIndex } : {}
|
|
12136
|
+
},
|
|
12137
|
+
class: "vvd-component",
|
|
12138
|
+
on: {
|
|
12139
|
+
blur: (event) => {
|
|
12140
|
+
this.$emit("blur", event);
|
|
12141
|
+
},
|
|
12142
|
+
click: (event) => {
|
|
12143
|
+
this.$emit("click", event);
|
|
12144
|
+
},
|
|
12145
|
+
focus: (event) => {
|
|
12146
|
+
this.$emit("focus", event);
|
|
12147
|
+
},
|
|
12148
|
+
input: (event) => {
|
|
12149
|
+
this.$emit("input", event);
|
|
12150
|
+
},
|
|
12151
|
+
keydown: (event) => {
|
|
12152
|
+
this.$emit("keydown", event);
|
|
12153
|
+
},
|
|
12154
|
+
keyup: (event) => {
|
|
12155
|
+
this.$emit("keyup", event);
|
|
12156
|
+
}
|
|
12157
|
+
}
|
|
12158
|
+
},
|
|
12159
|
+
[
|
|
12160
|
+
this.$slots.default,
|
|
12161
|
+
// @slot icon The preferred way to add an icon to the component.
|
|
12162
|
+
handleNamedSlotV2("icon", this.$slots["icon"])
|
|
12163
|
+
]
|
|
12164
|
+
);
|
|
12165
|
+
}
|
|
12166
|
+
return vue.h(
|
|
12167
|
+
this.componentName,
|
|
12168
|
+
{
|
|
12169
|
+
ref: "element",
|
|
12170
|
+
class: "vvd-component",
|
|
12171
|
+
...handleVue3Props({
|
|
12172
|
+
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
12173
|
+
...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
|
|
12174
|
+
...this.icon !== void 0 ? { "^icon": this.icon } : {},
|
|
12175
|
+
...this.iconTrailing !== void 0 && this.iconTrailing !== false ? { "^icon-trailing": this.iconTrailing } : {},
|
|
12176
|
+
...this.label !== void 0 ? { "^label": this.label } : {},
|
|
12177
|
+
...this.removable !== void 0 && this.removable !== false ? { "^removable": this.removable } : {},
|
|
12178
|
+
...this.shape !== void 0 ? { "^shape": this.shape } : {},
|
|
12179
|
+
...this.tabIndex !== void 0 ? { "^tabIndex": this.tabIndex } : {}
|
|
12180
|
+
}),
|
|
12181
|
+
onBlur: (event) => {
|
|
12182
|
+
this.$emit("blur", event);
|
|
12183
|
+
},
|
|
12184
|
+
onClick: (event) => {
|
|
12185
|
+
this.$emit("click", event);
|
|
12186
|
+
},
|
|
12187
|
+
onFocus: (event) => {
|
|
12188
|
+
this.$emit("focus", event);
|
|
12189
|
+
},
|
|
12190
|
+
onInput: (event) => {
|
|
12191
|
+
this.$emit("input", event);
|
|
12192
|
+
},
|
|
12193
|
+
onKeydown: (event) => {
|
|
12194
|
+
this.$emit("keydown", event);
|
|
12195
|
+
},
|
|
12196
|
+
onKeyup: (event) => {
|
|
12197
|
+
this.$emit("keyup", event);
|
|
12198
|
+
}
|
|
12199
|
+
},
|
|
12200
|
+
[
|
|
12201
|
+
// @ts-ignore
|
|
12202
|
+
this.$slots.default && this.$slots.default(),
|
|
12203
|
+
// @slot icon The preferred way to add an icon to the component.
|
|
12204
|
+
handleNamedSlotV3("icon", this.$slots["icon"])
|
|
12205
|
+
]
|
|
12206
|
+
);
|
|
12207
|
+
}
|
|
12208
|
+
});
|
|
12209
|
+
|
|
12210
|
+
const VTabPanel = vue.defineComponent({
|
|
12211
|
+
name: "VTabPanel",
|
|
12212
|
+
emits: [
|
|
12213
|
+
/**
|
|
12214
|
+
* Fires when the element loses focus.
|
|
12215
|
+
* @type {FocusEvent}
|
|
12216
|
+
*/
|
|
12217
|
+
"blur",
|
|
12218
|
+
/**
|
|
12219
|
+
* 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.
|
|
12220
|
+
* @type {MouseEvent}
|
|
12221
|
+
*/
|
|
12222
|
+
"click",
|
|
12223
|
+
/**
|
|
12224
|
+
* Fires when the element receives focus.
|
|
12225
|
+
* @type {FocusEvent}
|
|
12226
|
+
*/
|
|
12227
|
+
"focus",
|
|
12228
|
+
/**
|
|
12229
|
+
* Fires when the value of an element has been changed.
|
|
12230
|
+
* @type {Event}
|
|
12231
|
+
*/
|
|
12232
|
+
"input",
|
|
12233
|
+
/**
|
|
12234
|
+
* Fires when a key is pressed.
|
|
12235
|
+
* @type {KeyboardEvent}
|
|
12236
|
+
*/
|
|
12237
|
+
"keydown",
|
|
12238
|
+
/**
|
|
12239
|
+
* Fires when a key is released.
|
|
12240
|
+
* @type {KeyboardEvent}
|
|
12241
|
+
*/
|
|
12242
|
+
"keyup"
|
|
12243
|
+
],
|
|
12244
|
+
methods: {},
|
|
12245
|
+
setup(props, ctx) {
|
|
12246
|
+
const componentName = registerComponent("tab-panel", vivid.registerTabPanel);
|
|
12247
|
+
const element = vue.ref(null);
|
|
12248
|
+
return { componentName, element };
|
|
12249
|
+
},
|
|
12250
|
+
render() {
|
|
12251
|
+
if (isVue2) {
|
|
12252
|
+
return vue.h(
|
|
12253
|
+
this.componentName,
|
|
12254
|
+
{
|
|
12255
|
+
ref: "element",
|
|
12256
|
+
attrs: {},
|
|
12257
|
+
class: "vvd-component",
|
|
12258
|
+
on: {
|
|
12259
|
+
blur: (event) => {
|
|
12260
|
+
this.$emit("blur", event);
|
|
12261
|
+
},
|
|
12262
|
+
click: (event) => {
|
|
12263
|
+
this.$emit("click", event);
|
|
12264
|
+
},
|
|
12265
|
+
focus: (event) => {
|
|
12266
|
+
this.$emit("focus", event);
|
|
12267
|
+
},
|
|
12268
|
+
input: (event) => {
|
|
12269
|
+
this.$emit("input", event);
|
|
12270
|
+
},
|
|
12271
|
+
keydown: (event) => {
|
|
12272
|
+
this.$emit("keydown", event);
|
|
12273
|
+
},
|
|
12274
|
+
keyup: (event) => {
|
|
12275
|
+
this.$emit("keyup", event);
|
|
12276
|
+
}
|
|
12277
|
+
}
|
|
12278
|
+
},
|
|
12279
|
+
[this.$slots.default]
|
|
12280
|
+
);
|
|
12281
|
+
}
|
|
12282
|
+
return vue.h(
|
|
12283
|
+
this.componentName,
|
|
12284
|
+
{
|
|
12285
|
+
ref: "element",
|
|
12286
|
+
class: "vvd-component",
|
|
12287
|
+
...handleVue3Props({}),
|
|
12288
|
+
onBlur: (event) => {
|
|
12289
|
+
this.$emit("blur", event);
|
|
12290
|
+
},
|
|
12291
|
+
onClick: (event) => {
|
|
12292
|
+
this.$emit("click", event);
|
|
12293
|
+
},
|
|
12294
|
+
onFocus: (event) => {
|
|
12295
|
+
this.$emit("focus", event);
|
|
12296
|
+
},
|
|
12297
|
+
onInput: (event) => {
|
|
12298
|
+
this.$emit("input", event);
|
|
12299
|
+
},
|
|
12300
|
+
onKeydown: (event) => {
|
|
12301
|
+
this.$emit("keydown", event);
|
|
12302
|
+
},
|
|
12303
|
+
onKeyup: (event) => {
|
|
12304
|
+
this.$emit("keyup", event);
|
|
12305
|
+
}
|
|
12306
|
+
},
|
|
12307
|
+
[
|
|
12308
|
+
// @ts-ignore
|
|
12309
|
+
this.$slots.default && this.$slots.default()
|
|
12310
|
+
]
|
|
12311
|
+
);
|
|
12312
|
+
}
|
|
12313
|
+
});
|
|
12314
|
+
|
|
12315
|
+
const VTable = vue.defineComponent({
|
|
12316
|
+
name: "VTable",
|
|
12317
|
+
emits: [
|
|
12318
|
+
/**
|
|
12319
|
+
* Fires when the element loses focus.
|
|
12320
|
+
* @type {FocusEvent}
|
|
12321
|
+
*/
|
|
12322
|
+
"blur",
|
|
12323
|
+
/**
|
|
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.
|
|
12325
|
+
* @type {MouseEvent}
|
|
12326
|
+
*/
|
|
12327
|
+
"click",
|
|
12328
|
+
/**
|
|
12329
|
+
* Fires when the element receives focus.
|
|
12330
|
+
* @type {FocusEvent}
|
|
12331
|
+
*/
|
|
12332
|
+
"focus",
|
|
12333
|
+
/**
|
|
12334
|
+
* Fires when the value of an element has been changed.
|
|
12335
|
+
* @type {Event}
|
|
12336
|
+
*/
|
|
12337
|
+
"input",
|
|
12338
|
+
/**
|
|
12339
|
+
* Fires when a key is pressed.
|
|
12340
|
+
* @type {KeyboardEvent}
|
|
12341
|
+
*/
|
|
12342
|
+
"keydown",
|
|
12343
|
+
/**
|
|
12344
|
+
* Fires when a key is released.
|
|
12345
|
+
* @type {KeyboardEvent}
|
|
12346
|
+
*/
|
|
12347
|
+
"keyup"
|
|
12348
|
+
],
|
|
12349
|
+
methods: {},
|
|
12350
|
+
setup(props, ctx) {
|
|
12351
|
+
const componentName = registerComponent("table", vivid.registerDataTable);
|
|
12352
|
+
const element = vue.ref(null);
|
|
12353
|
+
return { componentName, element };
|
|
12354
|
+
},
|
|
12355
|
+
render() {
|
|
12356
|
+
if (isVue2) {
|
|
12357
|
+
return vue.h(
|
|
12358
|
+
this.componentName,
|
|
12359
|
+
{
|
|
12360
|
+
ref: "element",
|
|
12361
|
+
attrs: {},
|
|
12362
|
+
class: "vvd-component",
|
|
12363
|
+
on: {
|
|
12364
|
+
blur: (event) => {
|
|
12365
|
+
this.$emit("blur", event);
|
|
12366
|
+
},
|
|
12367
|
+
click: (event) => {
|
|
12368
|
+
this.$emit("click", event);
|
|
12369
|
+
},
|
|
12370
|
+
focus: (event) => {
|
|
12371
|
+
this.$emit("focus", event);
|
|
12372
|
+
},
|
|
12373
|
+
input: (event) => {
|
|
12374
|
+
this.$emit("input", event);
|
|
12375
|
+
},
|
|
12376
|
+
keydown: (event) => {
|
|
12377
|
+
this.$emit("keydown", event);
|
|
12378
|
+
},
|
|
12379
|
+
keyup: (event) => {
|
|
12380
|
+
this.$emit("keyup", event);
|
|
12381
|
+
}
|
|
12382
|
+
}
|
|
12383
|
+
},
|
|
12384
|
+
[this.$slots.default]
|
|
12385
|
+
);
|
|
12386
|
+
}
|
|
12387
|
+
return vue.h(
|
|
12388
|
+
this.componentName,
|
|
12389
|
+
{
|
|
12390
|
+
ref: "element",
|
|
12391
|
+
class: "vvd-component",
|
|
12392
|
+
...handleVue3Props({}),
|
|
12393
|
+
onBlur: (event) => {
|
|
12394
|
+
this.$emit("blur", event);
|
|
12395
|
+
},
|
|
12396
|
+
onClick: (event) => {
|
|
12397
|
+
this.$emit("click", event);
|
|
12398
|
+
},
|
|
12399
|
+
onFocus: (event) => {
|
|
12400
|
+
this.$emit("focus", event);
|
|
12401
|
+
},
|
|
12402
|
+
onInput: (event) => {
|
|
12403
|
+
this.$emit("input", event);
|
|
12404
|
+
},
|
|
12405
|
+
onKeydown: (event) => {
|
|
12406
|
+
this.$emit("keydown", event);
|
|
12407
|
+
},
|
|
12408
|
+
onKeyup: (event) => {
|
|
12409
|
+
this.$emit("keyup", event);
|
|
12410
|
+
}
|
|
12411
|
+
},
|
|
12412
|
+
[
|
|
12413
|
+
// @ts-ignore
|
|
12414
|
+
this.$slots.default && this.$slots.default()
|
|
12415
|
+
]
|
|
12416
|
+
);
|
|
12417
|
+
}
|
|
12418
|
+
});
|
|
12419
|
+
|
|
12420
|
+
const VTableBody = vue.defineComponent({
|
|
12421
|
+
name: "VTableBody",
|
|
12422
|
+
emits: [
|
|
12423
|
+
/**
|
|
12424
|
+
* Fires when the element loses focus.
|
|
12425
|
+
* @type {FocusEvent}
|
|
12426
|
+
*/
|
|
12427
|
+
"blur",
|
|
12428
|
+
/**
|
|
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}
|
|
12431
|
+
*/
|
|
12432
|
+
"click",
|
|
12433
|
+
/**
|
|
12434
|
+
* Fires when the element receives focus.
|
|
12435
|
+
* @type {FocusEvent}
|
|
12436
|
+
*/
|
|
12437
|
+
"focus",
|
|
12438
|
+
/**
|
|
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: {
|
|
11202
12574
|
blur: (event) => {
|
|
11203
12575
|
this.$emit("blur", event);
|
|
11204
12576
|
},
|
|
@@ -11208,9 +12580,6 @@ const VSplitButton = vue.defineComponent({
|
|
|
11208
12580
|
focus: (event) => {
|
|
11209
12581
|
this.$emit("focus", event);
|
|
11210
12582
|
},
|
|
11211
|
-
"indicator-click": (event) => {
|
|
11212
|
-
this.$emit("indicator-click", event);
|
|
11213
|
-
},
|
|
11214
12583
|
input: (event) => {
|
|
11215
12584
|
this.$emit("input", event);
|
|
11216
12585
|
},
|
|
@@ -11222,11 +12591,7 @@ const VSplitButton = vue.defineComponent({
|
|
|
11222
12591
|
}
|
|
11223
12592
|
}
|
|
11224
12593
|
},
|
|
11225
|
-
[
|
|
11226
|
-
this.$slots.default,
|
|
11227
|
-
// @slot icon The preferred way to add an icon to the component.
|
|
11228
|
-
handleNamedSlotV2("icon", this.$slots["icon"])
|
|
11229
|
-
]
|
|
12594
|
+
[this.$slots.default]
|
|
11230
12595
|
);
|
|
11231
12596
|
}
|
|
11232
12597
|
return vue.h(
|
|
@@ -11234,20 +12599,7 @@ const VSplitButton = vue.defineComponent({
|
|
|
11234
12599
|
{
|
|
11235
12600
|
ref: "element",
|
|
11236
12601
|
class: "vvd-component",
|
|
11237
|
-
...handleVue3Props({
|
|
11238
|
-
...this.appearance !== void 0 ? { "^appearance": this.appearance } : {},
|
|
11239
|
-
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
11240
|
-
...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
|
|
11241
|
-
...this.icon !== void 0 ? { "^icon": this.icon } : {},
|
|
11242
|
-
...this.indicatorAriaLabel !== void 0 ? { "^indicator-aria-label": this.indicatorAriaLabel } : {},
|
|
11243
|
-
...this.label !== void 0 ? { "^label": this.label } : {},
|
|
11244
|
-
...this.shape !== void 0 ? { "^shape": this.shape } : {},
|
|
11245
|
-
...this.size !== void 0 ? { "^size": this.size } : {},
|
|
11246
|
-
...this.splitIndicator !== void 0 ? { "^split-indicator": this.splitIndicator } : {}
|
|
11247
|
-
}),
|
|
11248
|
-
onActionClick: (event) => {
|
|
11249
|
-
this.$emit("action-click", event);
|
|
11250
|
-
},
|
|
12602
|
+
...handleVue3Props({}),
|
|
11251
12603
|
onBlur: (event) => {
|
|
11252
12604
|
this.$emit("blur", event);
|
|
11253
12605
|
},
|
|
@@ -11257,9 +12609,6 @@ const VSplitButton = vue.defineComponent({
|
|
|
11257
12609
|
onFocus: (event) => {
|
|
11258
12610
|
this.$emit("focus", event);
|
|
11259
12611
|
},
|
|
11260
|
-
onIndicatorClick: (event) => {
|
|
11261
|
-
this.$emit("indicator-click", event);
|
|
11262
|
-
},
|
|
11263
12612
|
onInput: (event) => {
|
|
11264
12613
|
this.$emit("input", event);
|
|
11265
12614
|
},
|
|
@@ -11272,82 +12621,20 @@ const VSplitButton = vue.defineComponent({
|
|
|
11272
12621
|
},
|
|
11273
12622
|
[
|
|
11274
12623
|
// @ts-ignore
|
|
11275
|
-
this.$slots.default && this.$slots.default()
|
|
11276
|
-
// @slot icon The preferred way to add an icon to the component.
|
|
11277
|
-
handleNamedSlotV3("icon", this.$slots["icon"])
|
|
12624
|
+
this.$slots.default && this.$slots.default()
|
|
11278
12625
|
]
|
|
11279
12626
|
);
|
|
11280
12627
|
}
|
|
11281
12628
|
});
|
|
11282
12629
|
|
|
11283
|
-
const
|
|
11284
|
-
name: "
|
|
11285
|
-
model: isVue2 ? {
|
|
11286
|
-
prop: "modelValue",
|
|
11287
|
-
event: "update:modelValue"
|
|
11288
|
-
} : void 0,
|
|
11289
|
-
props: {
|
|
11290
|
-
/**
|
|
11291
|
-
* The current checkedness of the element.
|
|
11292
|
-
*/
|
|
11293
|
-
checked: { type: Boolean, default: void 0 },
|
|
11294
|
-
/**
|
|
11295
|
-
* The current checkedness of the element.
|
|
11296
|
-
*/
|
|
11297
|
-
modelValue: { type: Boolean, default: void 0 },
|
|
11298
|
-
/**
|
|
11299
|
-
* Indicates the switch's connotation.
|
|
11300
|
-
*/
|
|
11301
|
-
connotation: {
|
|
11302
|
-
type: String,
|
|
11303
|
-
default: void 0
|
|
11304
|
-
},
|
|
11305
|
-
/**
|
|
11306
|
-
* The default checkedness of the element. This value sets the `checked` property
|
|
11307
|
-
* only when the `checked` property has not been explicitly set.
|
|
11308
|
-
*/
|
|
11309
|
-
defaultChecked: { type: Boolean, default: void 0 },
|
|
11310
|
-
/**
|
|
11311
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
11312
|
-
*/
|
|
11313
|
-
disabled: { type: Boolean, default: void 0 },
|
|
11314
|
-
/**
|
|
11315
|
-
* The default value of the element. This value sets the `value` property
|
|
11316
|
-
* only when the `value` property has not been explicitly set.
|
|
11317
|
-
*/
|
|
11318
|
-
initialValue: { type: String, default: void 0 },
|
|
11319
|
-
/**
|
|
11320
|
-
* Indicates the switch's label.
|
|
11321
|
-
*/
|
|
11322
|
-
label: { type: String, default: void 0 },
|
|
11323
|
-
/**
|
|
11324
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
11325
|
-
*/
|
|
11326
|
-
name: { type: String, default: void 0 },
|
|
11327
|
-
/**
|
|
11328
|
-
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
11329
|
-
*/
|
|
11330
|
-
readonly: { type: Boolean, default: void 0 },
|
|
11331
|
-
/**
|
|
11332
|
-
* Require the field to be completed prior to form submission.
|
|
11333
|
-
*/
|
|
11334
|
-
required: { type: Boolean, default: void 0 },
|
|
11335
|
-
/**
|
|
11336
|
-
* The current value of the element.
|
|
11337
|
-
*/
|
|
11338
|
-
value: { type: String, default: void 0 }
|
|
11339
|
-
},
|
|
12630
|
+
const VTableHead = vue.defineComponent({
|
|
12631
|
+
name: "VTableHead",
|
|
11340
12632
|
emits: [
|
|
11341
12633
|
/**
|
|
11342
12634
|
* Fires when the element loses focus.
|
|
11343
12635
|
* @type {FocusEvent}
|
|
11344
12636
|
*/
|
|
11345
12637
|
"blur",
|
|
11346
|
-
/**
|
|
11347
|
-
* Emits a custom change event when the checked state changes
|
|
11348
|
-
* @type {CustomEvent<undefined>}
|
|
11349
|
-
*/
|
|
11350
|
-
"change",
|
|
11351
12638
|
/**
|
|
11352
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.
|
|
11353
12640
|
* @type {MouseEvent}
|
|
@@ -11372,30 +12659,11 @@ const VSwitch = vue.defineComponent({
|
|
|
11372
12659
|
* Fires when a key is released.
|
|
11373
12660
|
* @type {KeyboardEvent}
|
|
11374
12661
|
*/
|
|
11375
|
-
"keyup"
|
|
11376
|
-
/**
|
|
11377
|
-
* Fires when the modelValue value changes
|
|
11378
|
-
* @type {boolean}
|
|
11379
|
-
*/
|
|
11380
|
-
"update:modelValue"
|
|
12662
|
+
"keyup"
|
|
11381
12663
|
],
|
|
11382
|
-
methods: {
|
|
11383
|
-
/**
|
|
11384
|
-
* Return the current validity of the element.
|
|
11385
|
-
*/
|
|
11386
|
-
checkValidity() {
|
|
11387
|
-
return this.element?.checkValidity();
|
|
11388
|
-
},
|
|
11389
|
-
/**
|
|
11390
|
-
* Return the current validity of the element.
|
|
11391
|
-
* If false, fires an invalid event at the element.
|
|
11392
|
-
*/
|
|
11393
|
-
reportValidity() {
|
|
11394
|
-
return this.element?.reportValidity();
|
|
11395
|
-
}
|
|
11396
|
-
},
|
|
12664
|
+
methods: {},
|
|
11397
12665
|
setup(props, ctx) {
|
|
11398
|
-
const componentName = registerComponent("
|
|
12666
|
+
const componentName = registerComponent("table-head", vivid.registerDataTable);
|
|
11399
12667
|
const element = vue.ref(null);
|
|
11400
12668
|
return { componentName, element };
|
|
11401
12669
|
},
|
|
@@ -11405,27 +12673,12 @@ const VSwitch = vue.defineComponent({
|
|
|
11405
12673
|
this.componentName,
|
|
11406
12674
|
{
|
|
11407
12675
|
ref: "element",
|
|
11408
|
-
attrs: {
|
|
11409
|
-
...(this.modelValue ?? this.checked) !== void 0 ? { "current-checked": this.modelValue ?? this.checked } : {},
|
|
11410
|
-
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
11411
|
-
...this.defaultChecked !== void 0 ? { checked: this.defaultChecked } : {},
|
|
11412
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
11413
|
-
...this.initialValue !== void 0 ? { value: this.initialValue } : {},
|
|
11414
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
11415
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
11416
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
11417
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
11418
|
-
...this.value !== void 0 ? { "current-value": this.value } : {}
|
|
11419
|
-
},
|
|
12676
|
+
attrs: {},
|
|
11420
12677
|
class: "vvd-component",
|
|
11421
12678
|
on: {
|
|
11422
12679
|
blur: (event) => {
|
|
11423
12680
|
this.$emit("blur", event);
|
|
11424
12681
|
},
|
|
11425
|
-
change: (event) => {
|
|
11426
|
-
this.$emit("update:modelValue", event.currentTarget.checked);
|
|
11427
|
-
this.$emit("change", event);
|
|
11428
|
-
},
|
|
11429
12682
|
click: (event) => {
|
|
11430
12683
|
this.$emit("click", event);
|
|
11431
12684
|
},
|
|
@@ -11451,25 +12704,10 @@ const VSwitch = vue.defineComponent({
|
|
|
11451
12704
|
{
|
|
11452
12705
|
ref: "element",
|
|
11453
12706
|
class: "vvd-component",
|
|
11454
|
-
...handleVue3Props({
|
|
11455
|
-
...(this.modelValue ?? this.checked) !== void 0 && (this.modelValue ?? this.checked) !== false ? { "^current-checked": this.modelValue ?? this.checked } : {},
|
|
11456
|
-
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
11457
|
-
...this.defaultChecked !== void 0 && this.defaultChecked !== false ? { "^checked": this.defaultChecked } : {},
|
|
11458
|
-
...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
|
|
11459
|
-
...this.initialValue !== void 0 ? { "^value": this.initialValue } : {},
|
|
11460
|
-
...this.label !== void 0 ? { "^label": this.label } : {},
|
|
11461
|
-
...this.name !== void 0 ? { "^name": this.name } : {},
|
|
11462
|
-
...this.readonly !== void 0 && this.readonly !== false ? { "^readonly": this.readonly } : {},
|
|
11463
|
-
...this.required !== void 0 && this.required !== false ? { "^required": this.required } : {},
|
|
11464
|
-
...this.value !== void 0 ? { "^current-value": this.value } : {}
|
|
11465
|
-
}),
|
|
12707
|
+
...handleVue3Props({}),
|
|
11466
12708
|
onBlur: (event) => {
|
|
11467
12709
|
this.$emit("blur", event);
|
|
11468
12710
|
},
|
|
11469
|
-
onChange: (event) => {
|
|
11470
|
-
this.$emit("update:modelValue", event.currentTarget.checked);
|
|
11471
|
-
this.$emit("change", event);
|
|
11472
|
-
},
|
|
11473
12711
|
onClick: (event) => {
|
|
11474
12712
|
this.$emit("click", event);
|
|
11475
12713
|
},
|
|
@@ -11494,46 +12732,8 @@ const VSwitch = vue.defineComponent({
|
|
|
11494
12732
|
}
|
|
11495
12733
|
});
|
|
11496
12734
|
|
|
11497
|
-
const
|
|
11498
|
-
name: "
|
|
11499
|
-
props: {
|
|
11500
|
-
/**
|
|
11501
|
-
* The connotation the tab should have.
|
|
11502
|
-
*/
|
|
11503
|
-
connotation: {
|
|
11504
|
-
type: String,
|
|
11505
|
-
default: void 0
|
|
11506
|
-
},
|
|
11507
|
-
/**
|
|
11508
|
-
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.
|
|
11509
|
-
*/
|
|
11510
|
-
disabled: { type: Boolean, default: void 0 },
|
|
11511
|
-
/**
|
|
11512
|
-
* A decorative icon the custom element should have.
|
|
11513
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
11514
|
-
*/
|
|
11515
|
-
icon: { type: String, default: void 0 },
|
|
11516
|
-
/**
|
|
11517
|
-
* Indicates the icon affix alignment.
|
|
11518
|
-
*/
|
|
11519
|
-
iconTrailing: { type: Boolean, default: void 0 },
|
|
11520
|
-
/**
|
|
11521
|
-
* Indicates the tab's label.
|
|
11522
|
-
*/
|
|
11523
|
-
label: { type: String, default: void 0 },
|
|
11524
|
-
/**
|
|
11525
|
-
* Adds a close button
|
|
11526
|
-
*/
|
|
11527
|
-
removable: { type: Boolean, default: void 0 },
|
|
11528
|
-
/**
|
|
11529
|
-
* The shape the tab should have.
|
|
11530
|
-
*/
|
|
11531
|
-
shape: {
|
|
11532
|
-
type: String,
|
|
11533
|
-
default: void 0
|
|
11534
|
-
},
|
|
11535
|
-
tabIndex: { type: Number, default: void 0 }
|
|
11536
|
-
},
|
|
12735
|
+
const VTableHeaderCell = vue.defineComponent({
|
|
12736
|
+
name: "VTableHeaderCell",
|
|
11537
12737
|
emits: [
|
|
11538
12738
|
/**
|
|
11539
12739
|
* Fires when the element loses focus.
|
|
@@ -11566,16 +12766,12 @@ const VTab = vue.defineComponent({
|
|
|
11566
12766
|
*/
|
|
11567
12767
|
"keyup"
|
|
11568
12768
|
],
|
|
11569
|
-
methods: {
|
|
11570
|
-
_handleCloseClick(e) {
|
|
11571
|
-
return this.element?._handleCloseClick(e);
|
|
11572
|
-
},
|
|
11573
|
-
_onKeyDown(e) {
|
|
11574
|
-
return this.element?._onKeyDown(e);
|
|
11575
|
-
}
|
|
11576
|
-
},
|
|
12769
|
+
methods: {},
|
|
11577
12770
|
setup(props, ctx) {
|
|
11578
|
-
const componentName = registerComponent(
|
|
12771
|
+
const componentName = registerComponent(
|
|
12772
|
+
"table-header-cell",
|
|
12773
|
+
vivid.registerDataTable
|
|
12774
|
+
);
|
|
11579
12775
|
const element = vue.ref(null);
|
|
11580
12776
|
return { componentName, element };
|
|
11581
12777
|
},
|
|
@@ -11585,16 +12781,7 @@ const VTab = vue.defineComponent({
|
|
|
11585
12781
|
this.componentName,
|
|
11586
12782
|
{
|
|
11587
12783
|
ref: "element",
|
|
11588
|
-
attrs: {
|
|
11589
|
-
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
11590
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
11591
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
11592
|
-
...this.iconTrailing !== void 0 ? { "icon-trailing": this.iconTrailing } : {},
|
|
11593
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
11594
|
-
...this.removable !== void 0 ? { removable: this.removable } : {},
|
|
11595
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
11596
|
-
...this.tabIndex !== void 0 ? { tabIndex: this.tabIndex } : {}
|
|
11597
|
-
},
|
|
12784
|
+
attrs: {},
|
|
11598
12785
|
class: "vvd-component",
|
|
11599
12786
|
on: {
|
|
11600
12787
|
blur: (event) => {
|
|
@@ -11617,11 +12804,7 @@ const VTab = vue.defineComponent({
|
|
|
11617
12804
|
}
|
|
11618
12805
|
}
|
|
11619
12806
|
},
|
|
11620
|
-
[
|
|
11621
|
-
this.$slots.default,
|
|
11622
|
-
// @slot icon The preferred way to add an icon to the component.
|
|
11623
|
-
handleNamedSlotV2("icon", this.$slots["icon"])
|
|
11624
|
-
]
|
|
12807
|
+
[this.$slots.default]
|
|
11625
12808
|
);
|
|
11626
12809
|
}
|
|
11627
12810
|
return vue.h(
|
|
@@ -11629,16 +12812,7 @@ const VTab = vue.defineComponent({
|
|
|
11629
12812
|
{
|
|
11630
12813
|
ref: "element",
|
|
11631
12814
|
class: "vvd-component",
|
|
11632
|
-
...handleVue3Props({
|
|
11633
|
-
...this.connotation !== void 0 ? { "^connotation": this.connotation } : {},
|
|
11634
|
-
...this.disabled !== void 0 && this.disabled !== false ? { "^disabled": this.disabled } : {},
|
|
11635
|
-
...this.icon !== void 0 ? { "^icon": this.icon } : {},
|
|
11636
|
-
...this.iconTrailing !== void 0 && this.iconTrailing !== false ? { "^icon-trailing": this.iconTrailing } : {},
|
|
11637
|
-
...this.label !== void 0 ? { "^label": this.label } : {},
|
|
11638
|
-
...this.removable !== void 0 && this.removable !== false ? { "^removable": this.removable } : {},
|
|
11639
|
-
...this.shape !== void 0 ? { "^shape": this.shape } : {},
|
|
11640
|
-
...this.tabIndex !== void 0 ? { "^tabIndex": this.tabIndex } : {}
|
|
11641
|
-
}),
|
|
12815
|
+
...handleVue3Props({}),
|
|
11642
12816
|
onBlur: (event) => {
|
|
11643
12817
|
this.$emit("blur", event);
|
|
11644
12818
|
},
|
|
@@ -11660,16 +12834,14 @@ const VTab = vue.defineComponent({
|
|
|
11660
12834
|
},
|
|
11661
12835
|
[
|
|
11662
12836
|
// @ts-ignore
|
|
11663
|
-
this.$slots.default && this.$slots.default()
|
|
11664
|
-
// @slot icon The preferred way to add an icon to the component.
|
|
11665
|
-
handleNamedSlotV3("icon", this.$slots["icon"])
|
|
12837
|
+
this.$slots.default && this.$slots.default()
|
|
11666
12838
|
]
|
|
11667
12839
|
);
|
|
11668
12840
|
}
|
|
11669
12841
|
});
|
|
11670
12842
|
|
|
11671
|
-
const
|
|
11672
|
-
name: "
|
|
12843
|
+
const VTableRow = vue.defineComponent({
|
|
12844
|
+
name: "VTableRow",
|
|
11673
12845
|
emits: [
|
|
11674
12846
|
/**
|
|
11675
12847
|
* Fires when the element loses focus.
|
|
@@ -11704,7 +12876,7 @@ const VTabPanel = vue.defineComponent({
|
|
|
11704
12876
|
],
|
|
11705
12877
|
methods: {},
|
|
11706
12878
|
setup(props, ctx) {
|
|
11707
|
-
const componentName = registerComponent("
|
|
12879
|
+
const componentName = registerComponent("table-row", vivid.registerDataTable);
|
|
11708
12880
|
const element = vue.ref(null);
|
|
11709
12881
|
return { componentName, element };
|
|
11710
12882
|
},
|
|
@@ -11905,7 +13077,11 @@ const VTabs = vue.defineComponent({
|
|
|
11905
13077
|
}
|
|
11906
13078
|
}
|
|
11907
13079
|
},
|
|
11908
|
-
[
|
|
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
|
+
]
|
|
11909
13085
|
);
|
|
11910
13086
|
}
|
|
11911
13087
|
return vue.h(
|
|
@@ -11946,7 +13122,9 @@ const VTabs = vue.defineComponent({
|
|
|
11946
13122
|
},
|
|
11947
13123
|
[
|
|
11948
13124
|
// @ts-ignore
|
|
11949
|
-
this.$slots.default && this.$slots.default()
|
|
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"])
|
|
11950
13128
|
]
|
|
11951
13129
|
);
|
|
11952
13130
|
}
|
|
@@ -12506,6 +13684,8 @@ const VTextArea = vue.defineComponent({
|
|
|
12506
13684
|
},
|
|
12507
13685
|
[
|
|
12508
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"]),
|
|
12509
13689
|
// @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
|
|
12510
13690
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
12511
13691
|
]
|
|
@@ -12566,6 +13746,11 @@ const VTextArea = vue.defineComponent({
|
|
|
12566
13746
|
[
|
|
12567
13747
|
// @ts-ignore
|
|
12568
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
|
+
),
|
|
12569
13754
|
// @slot helper-text Describes how to use the text-area. Alternative to the `helper-text` attribute.
|
|
12570
13755
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
12571
13756
|
]
|
|
@@ -12834,6 +14019,8 @@ const VTextField = vue.defineComponent({
|
|
|
12834
14019
|
this.$slots.default,
|
|
12835
14020
|
// @slot action-items Used to add action items to the end of the text-field.
|
|
12836
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"]),
|
|
12837
14024
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
12838
14025
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"]),
|
|
12839
14026
|
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
@@ -12905,6 +14092,11 @@ const VTextField = vue.defineComponent({
|
|
|
12905
14092
|
this.$slots.default && this.$slots.default(),
|
|
12906
14093
|
// @slot action-items Used to add action items to the end of the text-field.
|
|
12907
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
|
+
),
|
|
12908
14100
|
// @slot helper-text Describes how to use the text-field. Alternative to the `helper-text` attribute.
|
|
12909
14101
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"]),
|
|
12910
14102
|
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
@@ -13099,6 +14291,8 @@ const VTimePicker = vue.defineComponent({
|
|
|
13099
14291
|
},
|
|
13100
14292
|
[
|
|
13101
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"]),
|
|
13102
14296
|
// @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
|
|
13103
14297
|
handleNamedSlotV2("helper-text", this.$slots["helper-text"])
|
|
13104
14298
|
]
|
|
@@ -13151,6 +14345,11 @@ const VTimePicker = vue.defineComponent({
|
|
|
13151
14345
|
[
|
|
13152
14346
|
// @ts-ignore
|
|
13153
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
|
+
),
|
|
13154
14353
|
// @slot helper-text Describes how to use the time-picker. Alternative to the `helper-text` attribute.
|
|
13155
14354
|
handleNamedSlotV3("helper-text", this.$slots["helper-text"])
|
|
13156
14355
|
]
|
|
@@ -14241,6 +15440,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
14241
15440
|
Icon2["copy2Solid"] = "copy-2-solid";
|
|
14242
15441
|
Icon2["copyLine"] = "copy-line";
|
|
14243
15442
|
Icon2["copySolid"] = "copy-solid";
|
|
15443
|
+
Icon2["coverageLine"] = "coverage-line";
|
|
15444
|
+
Icon2["coverageSolid"] = "coverage-solid";
|
|
14244
15445
|
Icon2["creditCardLine"] = "credit-card-line";
|
|
14245
15446
|
Icon2["creditCardSolid"] = "credit-card-solid";
|
|
14246
15447
|
Icon2["cropLine"] = "crop-line";
|
|
@@ -14255,6 +15456,8 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
14255
15456
|
Icon2["cursorSolid"] = "cursor-solid";
|
|
14256
15457
|
Icon2["darkModeLine"] = "dark-mode-line";
|
|
14257
15458
|
Icon2["darkModeSolid"] = "dark-mode-solid";
|
|
15459
|
+
Icon2["dataRoamingLine"] = "data-roaming-line";
|
|
15460
|
+
Icon2["dataRoamingSolid"] = "data-roaming-solid";
|
|
14258
15461
|
Icon2["deleteLine"] = "delete-line";
|
|
14259
15462
|
Icon2["deleteSolid"] = "delete-solid";
|
|
14260
15463
|
Icon2["densityHighLine"] = "density-high-line";
|
|
@@ -15324,6 +16527,7 @@ exports.VCard = VCard;
|
|
|
15324
16527
|
exports.VCheckbox = VCheckbox;
|
|
15325
16528
|
exports.VColorPicker = VColorPicker;
|
|
15326
16529
|
exports.VCombobox = VCombobox;
|
|
16530
|
+
exports.VContextualHelp = VContextualHelp;
|
|
15327
16531
|
exports.VDataGrid = VDataGrid;
|
|
15328
16532
|
exports.VDataGridCell = VDataGridCell;
|
|
15329
16533
|
exports.VDataGridRow = VDataGridRow;
|
|
@@ -15348,12 +16552,14 @@ exports.VNote = VNote;
|
|
|
15348
16552
|
exports.VNumberField = VNumberField;
|
|
15349
16553
|
exports.VOption = VOption;
|
|
15350
16554
|
exports.VPagination = VPagination;
|
|
16555
|
+
exports.VPopover = VPopover;
|
|
15351
16556
|
exports.VProgress = VProgress;
|
|
15352
16557
|
exports.VProgressRing = VProgressRing;
|
|
15353
16558
|
exports.VRadio = VRadio;
|
|
15354
16559
|
exports.VRadioGroup = VRadioGroup;
|
|
15355
16560
|
exports.VRangeSlider = VRangeSlider;
|
|
15356
16561
|
exports.VRichTextEditor = VRichTextEditor;
|
|
16562
|
+
exports.VRichTextView = VRichTextView;
|
|
15357
16563
|
exports.VSearchableSelect = VSearchableSelect;
|
|
15358
16564
|
exports.VSelect = VSelect;
|
|
15359
16565
|
exports.VSelectableBox = VSelectableBox;
|
|
@@ -15364,6 +16570,12 @@ exports.VSplitButton = VSplitButton;
|
|
|
15364
16570
|
exports.VSwitch = VSwitch;
|
|
15365
16571
|
exports.VTab = VTab;
|
|
15366
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;
|
|
15367
16579
|
exports.VTabs = VTabs;
|
|
15368
16580
|
exports.VTag = VTag;
|
|
15369
16581
|
exports.VTagGroup = VTagGroup;
|