@vonage/vivid-vue 3.19.1 → 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/VDatePicker.vue2.d.ts +82 -31
- package/dist/generated/components/VDatePicker.vue3.d.ts +82 -31
- package/dist/generated/components/VNumberField.vue2.d.ts +20 -0
- package/dist/generated/components/VNumberField.vue3.d.ts +20 -0
- package/dist/index.es.js +81 -38
- package/dist/index.umd.js +1 -1
- package/dist/web-types.json +56 -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({
|
|
@@ -4417,6 +4450,10 @@ const Ce = u({
|
|
|
4417
4450
|
* The label for the form element.
|
|
4418
4451
|
*/
|
|
4419
4452
|
label: { type: String, default: void 0 },
|
|
4453
|
+
/**
|
|
4454
|
+
* The error text for the form element.
|
|
4455
|
+
*/
|
|
4456
|
+
errorText: { type: String, default: void 0 },
|
|
4420
4457
|
/**
|
|
4421
4458
|
* A decorative icon the custom element should have.
|
|
4422
4459
|
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
@@ -4555,25 +4592,23 @@ const Ce = u({
|
|
|
4555
4592
|
return (t = i.value) == null ? void 0 : t.validate();
|
|
4556
4593
|
},
|
|
4557
4594
|
/**
|
|
4558
|
-
*
|
|
4595
|
+
* Selects all the text in the number field
|
|
4559
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
|
+
},
|
|
4560
4605
|
stepUp() {
|
|
4561
4606
|
var t;
|
|
4562
4607
|
return (t = i.value) == null ? void 0 : t.stepUp();
|
|
4563
4608
|
},
|
|
4564
|
-
/**
|
|
4565
|
-
* Decrements the value using the step value
|
|
4566
|
-
*/
|
|
4567
4609
|
stepDown() {
|
|
4568
4610
|
var t;
|
|
4569
4611
|
return (t = i.value) == null ? void 0 : t.stepDown();
|
|
4570
|
-
},
|
|
4571
|
-
/**
|
|
4572
|
-
* Selects all the text in the number field
|
|
4573
|
-
*/
|
|
4574
|
-
select() {
|
|
4575
|
-
var t;
|
|
4576
|
-
return (t = i.value) == null ? void 0 : t.select();
|
|
4577
4612
|
}
|
|
4578
4613
|
}), { componentName: l, element: i };
|
|
4579
4614
|
},
|
|
@@ -4587,6 +4622,7 @@ const Ce = u({
|
|
|
4587
4622
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
4588
4623
|
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
4589
4624
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
4625
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
4590
4626
|
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
4591
4627
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
4592
4628
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
@@ -4632,6 +4668,7 @@ const Ce = u({
|
|
|
4632
4668
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
4633
4669
|
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
4634
4670
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
4671
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
4635
4672
|
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
4636
4673
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
4637
4674
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
@@ -6252,7 +6289,10 @@ const Ce = u({
|
|
|
6252
6289
|
input: (e) => this.$emit("input", e)
|
|
6253
6290
|
}
|
|
6254
6291
|
},
|
|
6255
|
-
[
|
|
6292
|
+
[
|
|
6293
|
+
// @slot icon Slot to add an icon to tab.
|
|
6294
|
+
a("icon", this.$slots.icon)
|
|
6295
|
+
]
|
|
6256
6296
|
) : s(
|
|
6257
6297
|
this.componentName,
|
|
6258
6298
|
{
|
|
@@ -6274,7 +6314,10 @@ const Ce = u({
|
|
|
6274
6314
|
onKeyup: (e) => this.$emit("keyup", e),
|
|
6275
6315
|
onInput: (e) => this.$emit("input", e)
|
|
6276
6316
|
},
|
|
6277
|
-
[
|
|
6317
|
+
[
|
|
6318
|
+
// @slot icon Slot to add an icon to tab.
|
|
6319
|
+
a("icon", this.$slots.icon)
|
|
6320
|
+
]
|
|
6278
6321
|
);
|
|
6279
6322
|
}
|
|
6280
6323
|
}), ui = u({
|
|
@@ -7580,8 +7623,8 @@ export {
|
|
|
7580
7623
|
xe as VBanner,
|
|
7581
7624
|
Ve as VBreadcrumb,
|
|
7582
7625
|
Ne as VBreadcrumbItem,
|
|
7583
|
-
|
|
7584
|
-
|
|
7626
|
+
Te as VButton,
|
|
7627
|
+
Be as VCalendar,
|
|
7585
7628
|
ze as VCalendarEvent,
|
|
7586
7629
|
Ke as VCard,
|
|
7587
7630
|
Me as VCheckbox,
|