@vonage/vivid-vue 3.19.0 → 3.20.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/VCheckbox.vue2.d.ts +1 -1
- package/dist/generated/components/VCheckbox.vue3.d.ts +1 -1
- package/dist/generated/components/VCombobox.vue2.d.ts +1 -1
- package/dist/generated/components/VCombobox.vue3.d.ts +1 -1
- package/dist/generated/components/VDatePicker.vue2.d.ts +82 -31
- package/dist/generated/components/VDatePicker.vue3.d.ts +82 -31
- package/dist/generated/components/VNumberField.vue2.d.ts +21 -1
- package/dist/generated/components/VNumberField.vue3.d.ts +21 -1
- package/dist/generated/components/VSelect.vue2.d.ts +1 -1
- package/dist/generated/components/VSelect.vue3.d.ts +1 -1
- package/dist/generated/components/VTextArea.vue2.d.ts +1 -1
- package/dist/generated/components/VTextArea.vue3.d.ts +1 -1
- package/dist/generated/components/VTextField.vue2.d.ts +1 -1
- package/dist/generated/components/VTextField.vue3.d.ts +1 -1
- package/dist/index.es.js +87 -40
- package/dist/index.umd.js +1 -1
- package/dist/web-types.json +60 -14
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as d, version as v, onBeforeMount as f, defineComponent as u, h as s } from "vue";
|
|
2
|
-
import { registerAccordion as g, registerAccordionItem as y, registerActionGroup as k, registerAlert as b, registerAvatar as S, registerBadge as $, registerBanner as C, registerBreadcrumb as w, registerBreadcrumbItem as L, registerButton as x, registerCalendar as V, registerCalendarEvent as N, registerCard as
|
|
2
|
+
import { registerAccordion as g, registerAccordionItem as y, registerActionGroup as k, registerAlert as b, registerAvatar as S, registerBadge as $, registerBanner as C, registerBreadcrumb as w, registerBreadcrumbItem as L, registerButton as x, registerCalendar as V, registerCalendarEvent as N, registerCard as T, registerCheckbox as B, registerCombobox as z, registerDataGrid as c, registerDatePicker as K, registerDialog as M, registerDivider as D, registerEmptyState as F, registerFab as q, registerHeader as P, registerIcon as O, registerLayout as A, registerMenu as R, registerMenuItem as U, registerNav as j, registerNavDisclosure as G, registerNavItem as H, registerNote as E, registerNumberField as W, registerOption as _, registerPagination as J, registerProgress as Z, registerProgressRing as X, registerRadio as Q, registerRadioGroup as Y, registerSelect as I, registerSideDrawer as ee, registerSlider as ie, registerSwitch as te, registerTab as oe, registerTabs as le, registerTabPanel as se, registerTextArea as ae, registerTextField as ne, registerToggletip as re, registerTooltip as de, registerTreeItem as ue, registerTreeView as he, registerTag as pe, registerTagGroup as me } from "@vonage/vivid";
|
|
3
3
|
const m = d("vvd3");
|
|
4
4
|
function ke(e) {
|
|
5
5
|
m.value = e;
|
|
@@ -1138,7 +1138,7 @@ const Ce = u({
|
|
|
1138
1138
|
[]
|
|
1139
1139
|
);
|
|
1140
1140
|
}
|
|
1141
|
-
}),
|
|
1141
|
+
}), Te = u({
|
|
1142
1142
|
name: "VButton",
|
|
1143
1143
|
props: {
|
|
1144
1144
|
/**
|
|
@@ -1369,7 +1369,7 @@ const Ce = u({
|
|
|
1369
1369
|
[]
|
|
1370
1370
|
);
|
|
1371
1371
|
}
|
|
1372
|
-
}),
|
|
1372
|
+
}), Be = u({
|
|
1373
1373
|
name: "VCalendar",
|
|
1374
1374
|
props: {
|
|
1375
1375
|
/**
|
|
@@ -1721,7 +1721,7 @@ const Ce = u({
|
|
|
1721
1721
|
"input"
|
|
1722
1722
|
],
|
|
1723
1723
|
setup(e, o) {
|
|
1724
|
-
const l = h("card",
|
|
1724
|
+
const l = h("card", T), i = d(null);
|
|
1725
1725
|
return o.expose({}), { componentName: l, element: i };
|
|
1726
1726
|
},
|
|
1727
1727
|
render() {
|
|
@@ -1910,7 +1910,7 @@ const Ce = u({
|
|
|
1910
1910
|
"update:modelValue"
|
|
1911
1911
|
],
|
|
1912
1912
|
setup(e, o) {
|
|
1913
|
-
const l = h("checkbox",
|
|
1913
|
+
const l = h("checkbox", B), i = d(null);
|
|
1914
1914
|
return o.expose({}), { componentName: l, element: i };
|
|
1915
1915
|
},
|
|
1916
1916
|
render() {
|
|
@@ -2584,6 +2584,18 @@ const Ce = u({
|
|
|
2584
2584
|
event: "update:modelValue"
|
|
2585
2585
|
} : void 0,
|
|
2586
2586
|
props: {
|
|
2587
|
+
/**
|
|
2588
|
+
* The helper text for the form element.
|
|
2589
|
+
*/
|
|
2590
|
+
helperText: { type: String, default: void 0 },
|
|
2591
|
+
/**
|
|
2592
|
+
* The label for the form element.
|
|
2593
|
+
*/
|
|
2594
|
+
label: { type: String, default: void 0 },
|
|
2595
|
+
/**
|
|
2596
|
+
* The error text for the form element.
|
|
2597
|
+
*/
|
|
2598
|
+
errorText: { type: String, default: void 0 },
|
|
2587
2599
|
/**
|
|
2588
2600
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
2589
2601
|
*/
|
|
@@ -2592,17 +2604,17 @@ const Ce = u({
|
|
|
2592
2604
|
default: void 0
|
|
2593
2605
|
},
|
|
2594
2606
|
/**
|
|
2595
|
-
*
|
|
2607
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
2596
2608
|
*/
|
|
2597
|
-
|
|
2609
|
+
disabled: { type: Boolean, default: void 0 },
|
|
2598
2610
|
/**
|
|
2599
|
-
* The
|
|
2611
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
2600
2612
|
*/
|
|
2601
|
-
|
|
2613
|
+
name: { type: String, default: void 0 },
|
|
2602
2614
|
/**
|
|
2603
|
-
*
|
|
2615
|
+
* Require the field to be completed prior to form submission.
|
|
2604
2616
|
*/
|
|
2605
|
-
|
|
2617
|
+
required: { type: Boolean, default: void 0 },
|
|
2606
2618
|
/**
|
|
2607
2619
|
* The earliest accepted date of the date-picker.
|
|
2608
2620
|
*/
|
|
@@ -2612,13 +2624,13 @@ const Ce = u({
|
|
|
2612
2624
|
*/
|
|
2613
2625
|
max: { type: String, default: void 0 },
|
|
2614
2626
|
/**
|
|
2615
|
-
* The
|
|
2627
|
+
* The initial value of the date-picker.
|
|
2616
2628
|
*/
|
|
2617
2629
|
modelValue: { type: String, default: void 0 },
|
|
2618
2630
|
/**
|
|
2619
|
-
*
|
|
2631
|
+
* The current value of the date-picker.
|
|
2620
2632
|
*/
|
|
2621
|
-
|
|
2633
|
+
currentValue: { type: String, default: void 0 },
|
|
2622
2634
|
/**
|
|
2623
2635
|
* Whether the date-picker is readonly.
|
|
2624
2636
|
*/
|
|
@@ -2663,7 +2675,16 @@ const Ce = u({
|
|
|
2663
2675
|
],
|
|
2664
2676
|
setup(e, o) {
|
|
2665
2677
|
const l = h("date-picker", K), i = d(null);
|
|
2666
|
-
return o.expose({
|
|
2678
|
+
return o.expose({
|
|
2679
|
+
validate() {
|
|
2680
|
+
var t;
|
|
2681
|
+
return (t = i.value) == null ? void 0 : t.validate();
|
|
2682
|
+
},
|
|
2683
|
+
_presentationValueChanged() {
|
|
2684
|
+
var t;
|
|
2685
|
+
return (t = i.value) == null ? void 0 : t._presentationValueChanged();
|
|
2686
|
+
}
|
|
2687
|
+
}), { componentName: l, element: i };
|
|
2667
2688
|
},
|
|
2668
2689
|
render() {
|
|
2669
2690
|
return r ? s(
|
|
@@ -2671,14 +2692,17 @@ const Ce = u({
|
|
|
2671
2692
|
{
|
|
2672
2693
|
ref: "element",
|
|
2673
2694
|
attrs: {
|
|
2674
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2675
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
2676
2695
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
2696
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
2677
2697
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2698
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2699
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
2700
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
2701
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
2678
2702
|
...this.min !== void 0 ? { min: this.min } : {},
|
|
2679
2703
|
...this.max !== void 0 ? { max: this.max } : {},
|
|
2680
2704
|
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2681
|
-
...this.
|
|
2705
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2682
2706
|
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
2683
2707
|
},
|
|
2684
2708
|
class: "vvd-component",
|
|
@@ -2699,14 +2723,17 @@ const Ce = u({
|
|
|
2699
2723
|
{
|
|
2700
2724
|
ref: "element",
|
|
2701
2725
|
class: "vvd-component",
|
|
2702
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2703
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
2704
2726
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
2727
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
2705
2728
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2729
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2730
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
2731
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
2732
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
2706
2733
|
...this.min !== void 0 ? { min: this.min } : {},
|
|
2707
2734
|
...this.max !== void 0 ? { max: this.max } : {},
|
|
2708
2735
|
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2709
|
-
...this.
|
|
2736
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2710
2737
|
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
2711
2738
|
onClick: (e) => this.$emit("click", e),
|
|
2712
2739
|
onFocus: (e) => this.$emit("focus", e),
|
|
@@ -3253,7 +3280,10 @@ const Ce = u({
|
|
|
3253
3280
|
input: (e) => this.$emit("input", e)
|
|
3254
3281
|
}
|
|
3255
3282
|
},
|
|
3256
|
-
[
|
|
3283
|
+
[
|
|
3284
|
+
// @slot icon Slot to add an icon to fab.
|
|
3285
|
+
a("icon", this.$slots.icon)
|
|
3286
|
+
]
|
|
3257
3287
|
) : s(
|
|
3258
3288
|
this.componentName,
|
|
3259
3289
|
{
|
|
@@ -3285,7 +3315,10 @@ const Ce = u({
|
|
|
3285
3315
|
onKeyup: (e) => this.$emit("keyup", e),
|
|
3286
3316
|
onInput: (e) => this.$emit("input", e)
|
|
3287
3317
|
},
|
|
3288
|
-
[
|
|
3318
|
+
[
|
|
3319
|
+
// @slot icon Slot to add an icon to fab.
|
|
3320
|
+
a("icon", this.$slots.icon)
|
|
3321
|
+
]
|
|
3289
3322
|
);
|
|
3290
3323
|
}
|
|
3291
3324
|
}), Ge = u({
|
|
@@ -3909,7 +3942,9 @@ const Ce = u({
|
|
|
3909
3942
|
},
|
|
3910
3943
|
[
|
|
3911
3944
|
// @slot meta Assign nodes to the `meta` slot to set a badge or an additional icon.
|
|
3912
|
-
a("meta", this.$slots.meta)
|
|
3945
|
+
a("meta", this.$slots.meta),
|
|
3946
|
+
// @slot submenu Assign a Menu to the `submenu` slot to add a submenu.
|
|
3947
|
+
a("submenu", this.$slots.submenu)
|
|
3913
3948
|
]
|
|
3914
3949
|
) : s(
|
|
3915
3950
|
this.componentName,
|
|
@@ -3937,7 +3972,9 @@ const Ce = u({
|
|
|
3937
3972
|
},
|
|
3938
3973
|
[
|
|
3939
3974
|
// @slot meta Assign nodes to the `meta` slot to set a badge or an additional icon.
|
|
3940
|
-
a("meta", this.$slots.meta)
|
|
3975
|
+
a("meta", this.$slots.meta),
|
|
3976
|
+
// @slot submenu Assign a Menu to the `submenu` slot to add a submenu.
|
|
3977
|
+
a("submenu", this.$slots.submenu)
|
|
3941
3978
|
]
|
|
3942
3979
|
);
|
|
3943
3980
|
}
|
|
@@ -4413,6 +4450,10 @@ const Ce = u({
|
|
|
4413
4450
|
* The label for the form element.
|
|
4414
4451
|
*/
|
|
4415
4452
|
label: { type: String, default: void 0 },
|
|
4453
|
+
/**
|
|
4454
|
+
* The error text for the form element.
|
|
4455
|
+
*/
|
|
4456
|
+
errorText: { type: String, default: void 0 },
|
|
4416
4457
|
/**
|
|
4417
4458
|
* A decorative icon the custom element should have.
|
|
4418
4459
|
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
@@ -4551,25 +4592,23 @@ const Ce = u({
|
|
|
4551
4592
|
return (t = i.value) == null ? void 0 : t.validate();
|
|
4552
4593
|
},
|
|
4553
4594
|
/**
|
|
4554
|
-
*
|
|
4595
|
+
* Selects all the text in the number field
|
|
4555
4596
|
*/
|
|
4597
|
+
select() {
|
|
4598
|
+
var t;
|
|
4599
|
+
return (t = i.value) == null ? void 0 : t.select();
|
|
4600
|
+
},
|
|
4601
|
+
stepChanged(t, n) {
|
|
4602
|
+
var p;
|
|
4603
|
+
return (p = i.value) == null ? void 0 : p.stepChanged(t, n);
|
|
4604
|
+
},
|
|
4556
4605
|
stepUp() {
|
|
4557
4606
|
var t;
|
|
4558
4607
|
return (t = i.value) == null ? void 0 : t.stepUp();
|
|
4559
4608
|
},
|
|
4560
|
-
/**
|
|
4561
|
-
* Decrements the value using the step value
|
|
4562
|
-
*/
|
|
4563
4609
|
stepDown() {
|
|
4564
4610
|
var t;
|
|
4565
4611
|
return (t = i.value) == null ? void 0 : t.stepDown();
|
|
4566
|
-
},
|
|
4567
|
-
/**
|
|
4568
|
-
* Selects all the text in the number field
|
|
4569
|
-
*/
|
|
4570
|
-
select() {
|
|
4571
|
-
var t;
|
|
4572
|
-
return (t = i.value) == null ? void 0 : t.select();
|
|
4573
4612
|
}
|
|
4574
4613
|
}), { componentName: l, element: i };
|
|
4575
4614
|
},
|
|
@@ -4583,6 +4622,7 @@ const Ce = u({
|
|
|
4583
4622
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
4584
4623
|
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
4585
4624
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
4625
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
4586
4626
|
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
4587
4627
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
4588
4628
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
@@ -4628,6 +4668,7 @@ const Ce = u({
|
|
|
4628
4668
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
4629
4669
|
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
4630
4670
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
4671
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
4631
4672
|
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
4632
4673
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
4633
4674
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
@@ -6248,7 +6289,10 @@ const Ce = u({
|
|
|
6248
6289
|
input: (e) => this.$emit("input", e)
|
|
6249
6290
|
}
|
|
6250
6291
|
},
|
|
6251
|
-
[
|
|
6292
|
+
[
|
|
6293
|
+
// @slot icon Slot to add an icon to tab.
|
|
6294
|
+
a("icon", this.$slots.icon)
|
|
6295
|
+
]
|
|
6252
6296
|
) : s(
|
|
6253
6297
|
this.componentName,
|
|
6254
6298
|
{
|
|
@@ -6270,7 +6314,10 @@ const Ce = u({
|
|
|
6270
6314
|
onKeyup: (e) => this.$emit("keyup", e),
|
|
6271
6315
|
onInput: (e) => this.$emit("input", e)
|
|
6272
6316
|
},
|
|
6273
|
-
[
|
|
6317
|
+
[
|
|
6318
|
+
// @slot icon Slot to add an icon to tab.
|
|
6319
|
+
a("icon", this.$slots.icon)
|
|
6320
|
+
]
|
|
6274
6321
|
);
|
|
6275
6322
|
}
|
|
6276
6323
|
}), ui = u({
|
|
@@ -7576,8 +7623,8 @@ export {
|
|
|
7576
7623
|
xe as VBanner,
|
|
7577
7624
|
Ve as VBreadcrumb,
|
|
7578
7625
|
Ne as VBreadcrumbItem,
|
|
7579
|
-
|
|
7580
|
-
|
|
7626
|
+
Te as VButton,
|
|
7627
|
+
Be as VCalendar,
|
|
7581
7628
|
ze as VCalendarEvent,
|
|
7582
7629
|
Ke as VCard,
|
|
7583
7630
|
Me as VCheckbox,
|