@vonage/vivid-vue 3.50.1 → 3.52.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/generated/components/VAccordion.vue2.d.ts +0 -3
- package/generated/components/VAccordion.vue3.d.ts +0 -3
- package/generated/components/VActionGroup.vue2.d.ts +0 -3
- package/generated/components/VActionGroup.vue3.d.ts +0 -3
- package/generated/components/VAlert.vue2.d.ts +0 -3
- package/generated/components/VAlert.vue3.d.ts +0 -3
- package/generated/components/VAudioPlayer.vue2.d.ts +0 -3
- package/generated/components/VAudioPlayer.vue3.d.ts +0 -3
- package/generated/components/VBadge.vue2.d.ts +0 -3
- package/generated/components/VBadge.vue3.d.ts +0 -3
- package/generated/components/VBanner.vue2.d.ts +0 -3
- package/generated/components/VBanner.vue3.d.ts +0 -3
- package/generated/components/VBreadcrumb.vue2.d.ts +0 -3
- package/generated/components/VBreadcrumb.vue3.d.ts +0 -3
- package/generated/components/VBreadcrumbItem.vue2.d.ts +0 -3
- package/generated/components/VBreadcrumbItem.vue3.d.ts +0 -3
- package/generated/components/VButton.vue2.d.ts +120 -3
- package/generated/components/VButton.vue3.d.ts +120 -3
- package/generated/components/VCalendar.vue2.d.ts +0 -3
- package/generated/components/VCalendar.vue3.d.ts +0 -3
- package/generated/components/VCalendarEvent.vue2.d.ts +0 -3
- package/generated/components/VCalendarEvent.vue3.d.ts +0 -3
- package/generated/components/VCard.vue2.d.ts +0 -3
- package/generated/components/VCard.vue3.d.ts +0 -3
- package/generated/components/VCheckbox.vue2.d.ts +0 -3
- package/generated/components/VCheckbox.vue3.d.ts +0 -3
- package/generated/components/VCombobox.vue2.d.ts +0 -3
- package/generated/components/VCombobox.vue3.d.ts +0 -3
- package/generated/components/VDataGrid.vue2.d.ts +0 -3
- package/generated/components/VDataGrid.vue3.d.ts +0 -3
- package/generated/components/VDataGridCell.vue2.d.ts +1 -4
- package/generated/components/VDataGridCell.vue3.d.ts +1 -4
- package/generated/components/VDataGridRow.vue2.d.ts +0 -3
- package/generated/components/VDataGridRow.vue3.d.ts +0 -3
- package/generated/components/VDateRangePicker.vue2.d.ts +0 -3
- package/generated/components/VDateRangePicker.vue3.d.ts +0 -3
- package/generated/components/VDialog.vue2.d.ts +0 -3
- package/generated/components/VDialog.vue3.d.ts +0 -3
- package/generated/components/VDivider.vue2.d.ts +0 -3
- package/generated/components/VDivider.vue3.d.ts +0 -3
- package/generated/components/VFab.vue2.d.ts +0 -3
- package/generated/components/VFab.vue3.d.ts +0 -3
- package/generated/components/VFilePicker.vue2.d.ts +0 -3
- package/generated/components/VFilePicker.vue3.d.ts +0 -3
- package/generated/components/VHeader.vue2.d.ts +0 -3
- package/generated/components/VHeader.vue3.d.ts +0 -3
- package/generated/components/VLayout.vue2.d.ts +0 -2
- package/generated/components/VLayout.vue3.d.ts +0 -2
- package/generated/components/VMenu.vue2.d.ts +0 -3
- package/generated/components/VMenu.vue3.d.ts +4 -3
- package/generated/components/VMenuItem.vue2.d.ts +15 -3
- package/generated/components/VMenuItem.vue3.d.ts +15 -3
- package/generated/components/VNav.vue2.d.ts +0 -4
- package/generated/components/VNav.vue3.d.ts +0 -4
- package/generated/components/VNavDisclosure.vue2.d.ts +0 -4
- package/generated/components/VNavDisclosure.vue3.d.ts +0 -4
- package/generated/components/VNote.vue2.d.ts +0 -3
- package/generated/components/VNote.vue3.d.ts +0 -3
- package/generated/components/VNumberField.vue2.d.ts +0 -3
- package/generated/components/VNumberField.vue3.d.ts +0 -3
- package/generated/components/VOption.vue2.d.ts +0 -3
- package/generated/components/VOption.vue3.d.ts +0 -3
- package/generated/components/VPagination.vue2.d.ts +0 -3
- package/generated/components/VPagination.vue3.d.ts +0 -3
- package/generated/components/VProgress.vue2.d.ts +0 -3
- package/generated/components/VProgress.vue3.d.ts +0 -3
- package/generated/components/VProgressRing.vue2.d.ts +0 -3
- package/generated/components/VProgressRing.vue3.d.ts +0 -3
- package/generated/components/VRadio.vue2.d.ts +0 -3
- package/generated/components/VRadio.vue3.d.ts +0 -3
- package/generated/components/VRadioGroup.vue2.d.ts +0 -3
- package/generated/components/VRadioGroup.vue3.d.ts +0 -3
- package/generated/components/VRangeSlider.d.ts +10 -0
- package/generated/components/VRangeSlider.vue2.d.ts +296 -0
- package/generated/components/VRangeSlider.vue3.d.ts +308 -0
- package/generated/components/VSelect.vue2.d.ts +0 -3
- package/generated/components/VSelect.vue3.d.ts +0 -3
- package/generated/components/VSelectableBox.vue2.d.ts +0 -3
- package/generated/components/VSelectableBox.vue3.d.ts +0 -3
- package/generated/components/VSideDrawer.vue2.d.ts +0 -3
- package/generated/components/VSideDrawer.vue3.d.ts +0 -3
- package/generated/components/VSlider.vue2.d.ts +1 -4
- package/generated/components/VSlider.vue3.d.ts +1 -4
- package/generated/components/VSplitButton.vue2.d.ts +0 -3
- package/generated/components/VSplitButton.vue3.d.ts +0 -3
- package/generated/components/VSwitch.vue2.d.ts +0 -3
- package/generated/components/VSwitch.vue3.d.ts +0 -3
- package/generated/components/VTab.vue2.d.ts +1 -4
- package/generated/components/VTab.vue3.d.ts +1 -4
- package/generated/components/VTabPanel.vue2.d.ts +0 -3
- package/generated/components/VTabPanel.vue3.d.ts +0 -3
- package/generated/components/VTabs.vue2.d.ts +0 -3
- package/generated/components/VTabs.vue3.d.ts +0 -3
- package/generated/components/VTag.vue2.d.ts +0 -3
- package/generated/components/VTag.vue3.d.ts +0 -3
- package/generated/components/VTagGroup.vue2.d.ts +0 -3
- package/generated/components/VTagGroup.vue3.d.ts +0 -3
- package/generated/components/VTextArea.vue2.d.ts +0 -3
- package/generated/components/VTextArea.vue3.d.ts +0 -3
- package/generated/components/VTimePicker.vue2.d.ts +0 -3
- package/generated/components/VTimePicker.vue3.d.ts +0 -3
- package/generated/components/VToggletip.vue2.d.ts +0 -3
- package/generated/components/VToggletip.vue3.d.ts +4 -3
- package/generated/components/VTooltip.vue2.d.ts +0 -3
- package/generated/components/VTooltip.vue3.d.ts +6 -4
- package/generated/components/VTreeItem.vue2.d.ts +0 -3
- package/generated/components/VTreeItem.vue3.d.ts +0 -3
- package/generated/components/VTreeView.vue2.d.ts +0 -3
- package/generated/components/VTreeView.vue3.d.ts +0 -3
- package/generated/components/index.d.ts +3 -2
- package/index.cjs +1475 -1150
- package/index.js +1476 -1152
- package/package.json +2 -2
- package/web-types.json +549 -266
package/index.cjs
CHANGED
|
@@ -1555,10 +1555,45 @@ const VButton = vue.defineComponent({
|
|
|
1555
1555
|
* Displays the button in pending state.
|
|
1556
1556
|
*/
|
|
1557
1557
|
pending: { type: Boolean, default: void 0 },
|
|
1558
|
+
/**
|
|
1559
|
+
* Displays the button in active state.
|
|
1560
|
+
*/
|
|
1561
|
+
active: { type: Boolean, default: void 0 },
|
|
1558
1562
|
/**
|
|
1559
1563
|
* Indicates the button's label.
|
|
1560
1564
|
*/
|
|
1561
|
-
label: { type: String, default: void 0 }
|
|
1565
|
+
label: { type: String, default: void 0 },
|
|
1566
|
+
/**
|
|
1567
|
+
* Indicates the button's href.
|
|
1568
|
+
*/
|
|
1569
|
+
href: { type: String, default: void 0 },
|
|
1570
|
+
/**
|
|
1571
|
+
* Indicates the button's download.
|
|
1572
|
+
*/
|
|
1573
|
+
download: { type: String, default: void 0 },
|
|
1574
|
+
/**
|
|
1575
|
+
* Indicates the button's hreflang.
|
|
1576
|
+
*/
|
|
1577
|
+
hreflang: { type: String, default: void 0 },
|
|
1578
|
+
/**
|
|
1579
|
+
* Indicates the button's ping.
|
|
1580
|
+
*/
|
|
1581
|
+
ping: { type: String, default: void 0 },
|
|
1582
|
+
/**
|
|
1583
|
+
* Indicates the button's referrerpolicy.
|
|
1584
|
+
*/
|
|
1585
|
+
referrerpolicy: { type: String, default: void 0 },
|
|
1586
|
+
/**
|
|
1587
|
+
* Indicates the button's rel.
|
|
1588
|
+
*/
|
|
1589
|
+
rel: { type: String, default: void 0 },
|
|
1590
|
+
/**
|
|
1591
|
+
* Indicates the target's rel.
|
|
1592
|
+
*/
|
|
1593
|
+
target: {
|
|
1594
|
+
type: String,
|
|
1595
|
+
default: void 0
|
|
1596
|
+
}
|
|
1562
1597
|
},
|
|
1563
1598
|
emits: [
|
|
1564
1599
|
/**
|
|
@@ -1635,7 +1670,15 @@ const VButton = vue.defineComponent({
|
|
|
1635
1670
|
...this.size !== void 0 ? { size: this.size } : {},
|
|
1636
1671
|
...this.stacked !== void 0 ? { stacked: this.stacked } : {},
|
|
1637
1672
|
...this.pending !== void 0 ? { pending: this.pending } : {},
|
|
1638
|
-
...this.
|
|
1673
|
+
...this.active !== void 0 ? { active: this.active } : {},
|
|
1674
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
1675
|
+
...this.href !== void 0 ? { href: this.href } : {},
|
|
1676
|
+
...this.download !== void 0 ? { download: this.download } : {},
|
|
1677
|
+
...this.hreflang !== void 0 ? { hreflang: this.hreflang } : {},
|
|
1678
|
+
...this.ping !== void 0 ? { ping: this.ping } : {},
|
|
1679
|
+
...this.referrerpolicy !== void 0 ? { referrerpolicy: this.referrerpolicy } : {},
|
|
1680
|
+
...this.rel !== void 0 ? { rel: this.rel } : {},
|
|
1681
|
+
...this.target !== void 0 ? { target: this.target } : {}
|
|
1639
1682
|
},
|
|
1640
1683
|
class: "vvd-component",
|
|
1641
1684
|
on: {
|
|
@@ -1682,7 +1725,15 @@ const VButton = vue.defineComponent({
|
|
|
1682
1725
|
...this.size !== void 0 ? { size: this.size } : {},
|
|
1683
1726
|
...this.stacked !== void 0 ? { stacked: this.stacked } : {},
|
|
1684
1727
|
...this.pending !== void 0 ? { pending: this.pending } : {},
|
|
1728
|
+
...this.active !== void 0 ? { active: this.active } : {},
|
|
1685
1729
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
1730
|
+
...this.href !== void 0 ? { href: this.href } : {},
|
|
1731
|
+
...this.download !== void 0 ? { download: this.download } : {},
|
|
1732
|
+
...this.hreflang !== void 0 ? { hreflang: this.hreflang } : {},
|
|
1733
|
+
...this.ping !== void 0 ? { ping: this.ping } : {},
|
|
1734
|
+
...this.referrerpolicy !== void 0 ? { referrerpolicy: this.referrerpolicy } : {},
|
|
1735
|
+
...this.rel !== void 0 ? { rel: this.rel } : {},
|
|
1736
|
+
...this.target !== void 0 ? { target: this.target } : {},
|
|
1686
1737
|
onClick: (event) => this.$emit("click", event),
|
|
1687
1738
|
onFocus: (event) => this.$emit("focus", event),
|
|
1688
1739
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -2776,21 +2827,16 @@ const VDataGrid = vue.defineComponent({
|
|
|
2776
2827
|
}
|
|
2777
2828
|
});
|
|
2778
2829
|
|
|
2779
|
-
const
|
|
2780
|
-
name: "
|
|
2781
|
-
model: isVue2 ? {
|
|
2782
|
-
prop: "modelValue",
|
|
2783
|
-
event: "update:modelValue"
|
|
2784
|
-
} : void 0,
|
|
2830
|
+
const VDataGridCell = vue.defineComponent({
|
|
2831
|
+
name: "VDataGridCell",
|
|
2785
2832
|
props: {
|
|
2786
2833
|
/**
|
|
2787
|
-
*
|
|
2788
|
-
*/
|
|
2789
|
-
label: { type: String, default: void 0 },
|
|
2790
|
-
/**
|
|
2791
|
-
* The error text for the form element.
|
|
2834
|
+
* Extends the data grid cell definition to hold more options.
|
|
2792
2835
|
*/
|
|
2793
|
-
|
|
2836
|
+
columnDefinition: {
|
|
2837
|
+
type: null,
|
|
2838
|
+
default: void 0
|
|
2839
|
+
},
|
|
2794
2840
|
/**
|
|
2795
2841
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
2796
2842
|
*/
|
|
@@ -2799,37 +2845,26 @@ const VDatePicker = vue.defineComponent({
|
|
|
2799
2845
|
default: void 0
|
|
2800
2846
|
},
|
|
2801
2847
|
/**
|
|
2802
|
-
*
|
|
2803
|
-
*/
|
|
2804
|
-
disabled: { type: Boolean, default: void 0 },
|
|
2805
|
-
/**
|
|
2806
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
2807
|
-
*/
|
|
2808
|
-
name: { type: String, default: void 0 },
|
|
2809
|
-
/**
|
|
2810
|
-
* Require the field to be completed prior to form submission.
|
|
2811
|
-
*/
|
|
2812
|
-
required: { type: Boolean, default: void 0 },
|
|
2813
|
-
/**
|
|
2814
|
-
* The latest accepted date of the date-picker.
|
|
2815
|
-
*/
|
|
2816
|
-
max: { type: String, default: void 0 },
|
|
2817
|
-
/**
|
|
2818
|
-
* The earliest accepted date of the date-picker.
|
|
2848
|
+
* The type of cell
|
|
2819
2849
|
*/
|
|
2820
|
-
|
|
2850
|
+
cellType: {
|
|
2851
|
+
type: String,
|
|
2852
|
+
default: void 0
|
|
2853
|
+
},
|
|
2821
2854
|
/**
|
|
2822
|
-
* The
|
|
2855
|
+
* The column index of the cell.
|
|
2856
|
+
* This will be applied to the css grid-column-index value
|
|
2857
|
+
* applied to the cell
|
|
2823
2858
|
*/
|
|
2824
|
-
|
|
2859
|
+
gridColumn: { type: String, default: void 0 },
|
|
2825
2860
|
/**
|
|
2826
|
-
*
|
|
2861
|
+
* Indicates the selected status.
|
|
2827
2862
|
*/
|
|
2828
|
-
|
|
2863
|
+
ariaSelected: { type: String, default: void 0 },
|
|
2829
2864
|
/**
|
|
2830
|
-
*
|
|
2865
|
+
* Indicates the sort status.
|
|
2831
2866
|
*/
|
|
2832
|
-
|
|
2867
|
+
ariaSort: { type: String, default: void 0 }
|
|
2833
2868
|
},
|
|
2834
2869
|
emits: [
|
|
2835
2870
|
/**
|
|
@@ -2863,19 +2898,37 @@ const VDatePicker = vue.defineComponent({
|
|
|
2863
2898
|
*/
|
|
2864
2899
|
"input",
|
|
2865
2900
|
/**
|
|
2866
|
-
*
|
|
2901
|
+
* Fires a custom 'cell-focused' event when focus is on the cell or its contents
|
|
2867
2902
|
* @type {unknown}
|
|
2868
2903
|
*/
|
|
2869
|
-
"
|
|
2904
|
+
"cell-focused",
|
|
2870
2905
|
/**
|
|
2871
|
-
*
|
|
2872
|
-
* @type {
|
|
2906
|
+
* Event that fires when a sortable column header is clicked
|
|
2907
|
+
* @type {unknown}
|
|
2873
2908
|
*/
|
|
2874
|
-
"
|
|
2909
|
+
"sort",
|
|
2910
|
+
/**
|
|
2911
|
+
* Event that fires when a cell is clicked
|
|
2912
|
+
* @type {unknown}
|
|
2913
|
+
*/
|
|
2914
|
+
"cell-click"
|
|
2875
2915
|
],
|
|
2876
|
-
methods: {
|
|
2916
|
+
methods: {
|
|
2917
|
+
handleKeydown(e) {
|
|
2918
|
+
return this.element?.handleKeydown(e);
|
|
2919
|
+
},
|
|
2920
|
+
ariaSelectedChanged(_, selectedState) {
|
|
2921
|
+
return this.element?.ariaSelectedChanged(_, selectedState);
|
|
2922
|
+
},
|
|
2923
|
+
handleFocusin(e) {
|
|
2924
|
+
return this.element?.handleFocusin(e);
|
|
2925
|
+
},
|
|
2926
|
+
handleFocusout(e) {
|
|
2927
|
+
return this.element?.handleFocusout(e);
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2877
2930
|
setup(props, ctx) {
|
|
2878
|
-
const componentName = registerComponent("
|
|
2931
|
+
const componentName = registerComponent("data-grid-cell", vivid.registerDataGrid);
|
|
2879
2932
|
const element = vue.ref(null);
|
|
2880
2933
|
return { componentName, element };
|
|
2881
2934
|
},
|
|
@@ -2886,17 +2939,12 @@ const VDatePicker = vue.defineComponent({
|
|
|
2886
2939
|
{
|
|
2887
2940
|
ref: "element",
|
|
2888
2941
|
attrs: {
|
|
2889
|
-
...this.
|
|
2890
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2942
|
+
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
2891
2943
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2892
|
-
...this.
|
|
2893
|
-
...this.
|
|
2894
|
-
...this.
|
|
2895
|
-
...this.
|
|
2896
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
2897
|
-
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2898
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2899
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
2944
|
+
...this.cellType !== void 0 ? { "cell-type": this.cellType } : {},
|
|
2945
|
+
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
2946
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
2947
|
+
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {}
|
|
2900
2948
|
},
|
|
2901
2949
|
class: "vvd-component",
|
|
2902
2950
|
on: {
|
|
@@ -2905,14 +2953,10 @@ const VDatePicker = vue.defineComponent({
|
|
|
2905
2953
|
blur: (event) => this.$emit("blur", event),
|
|
2906
2954
|
keydown: (event) => this.$emit("keydown", event),
|
|
2907
2955
|
keyup: (event) => this.$emit("keyup", event),
|
|
2908
|
-
input: (event) =>
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
);
|
|
2913
|
-
this.$emit("input", event);
|
|
2914
|
-
},
|
|
2915
|
-
"clear-click": (event) => this.$emit("clear-click", event)
|
|
2956
|
+
input: (event) => this.$emit("input", event),
|
|
2957
|
+
"cell-focused": (event) => this.$emit("cell-focused", event),
|
|
2958
|
+
sort: (event) => this.$emit("sort", event),
|
|
2959
|
+
"cell-click": (event) => this.$emit("cell-click", event)
|
|
2916
2960
|
}
|
|
2917
2961
|
},
|
|
2918
2962
|
[this.$slots.default]
|
|
@@ -2923,30 +2967,21 @@ const VDatePicker = vue.defineComponent({
|
|
|
2923
2967
|
{
|
|
2924
2968
|
ref: "element",
|
|
2925
2969
|
class: "vvd-component",
|
|
2926
|
-
...this.
|
|
2927
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2970
|
+
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
2928
2971
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2929
|
-
...this.
|
|
2930
|
-
...this.
|
|
2931
|
-
...this.
|
|
2932
|
-
...this.
|
|
2933
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
2934
|
-
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2935
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2936
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
2972
|
+
...this.cellType !== void 0 ? { "cell-type": this.cellType } : {},
|
|
2973
|
+
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
2974
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
2975
|
+
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {},
|
|
2937
2976
|
onClick: (event) => this.$emit("click", event),
|
|
2938
2977
|
onFocus: (event) => this.$emit("focus", event),
|
|
2939
2978
|
onBlur: (event) => this.$emit("blur", event),
|
|
2940
2979
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
2941
2980
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
2942
|
-
onInput: (event) =>
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
);
|
|
2947
|
-
this.$emit("input", event);
|
|
2948
|
-
},
|
|
2949
|
-
onClearClick: (event) => this.$emit("clear-click", event)
|
|
2981
|
+
onInput: (event) => this.$emit("input", event),
|
|
2982
|
+
onCellFocused: (event) => this.$emit("cell-focused", event),
|
|
2983
|
+
onSort: (event) => this.$emit("sort", event),
|
|
2984
|
+
onCellClick: (event) => this.$emit("cell-click", event)
|
|
2950
2985
|
},
|
|
2951
2986
|
[
|
|
2952
2987
|
// @ts-ignore
|
|
@@ -2956,17 +2991,9 @@ const VDatePicker = vue.defineComponent({
|
|
|
2956
2991
|
}
|
|
2957
2992
|
});
|
|
2958
2993
|
|
|
2959
|
-
const
|
|
2960
|
-
name: "
|
|
2994
|
+
const VDataGridRow = vue.defineComponent({
|
|
2995
|
+
name: "VDataGridRow",
|
|
2961
2996
|
props: {
|
|
2962
|
-
/**
|
|
2963
|
-
* The label for the form element.
|
|
2964
|
-
*/
|
|
2965
|
-
label: { type: String, default: void 0 },
|
|
2966
|
-
/**
|
|
2967
|
-
* The error text for the form element.
|
|
2968
|
-
*/
|
|
2969
|
-
errorText: { type: String, default: void 0 },
|
|
2970
2997
|
/**
|
|
2971
2998
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
2972
2999
|
*/
|
|
@@ -2975,53 +3002,23 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
2975
3002
|
default: void 0
|
|
2976
3003
|
},
|
|
2977
3004
|
/**
|
|
2978
|
-
*
|
|
2979
|
-
*/
|
|
2980
|
-
disabled: { type: Boolean, default: void 0 },
|
|
2981
|
-
/**
|
|
2982
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
2983
|
-
*/
|
|
2984
|
-
name: { type: String, default: void 0 },
|
|
2985
|
-
/**
|
|
2986
|
-
* Require the field to be completed prior to form submission.
|
|
2987
|
-
*/
|
|
2988
|
-
required: { type: Boolean, default: void 0 },
|
|
2989
|
-
/**
|
|
2990
|
-
* The latest accepted date of the date-picker.
|
|
2991
|
-
*/
|
|
2992
|
-
max: { type: String, default: void 0 },
|
|
2993
|
-
/**
|
|
2994
|
-
* The current start value of the element. This property serves as a mechanism
|
|
2995
|
-
* to set the `start` property through both property assignment and the
|
|
2996
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
2997
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
2998
|
-
* and don't support IDL attribute binding.
|
|
2999
|
-
*/
|
|
3000
|
-
start: { type: String, default: void 0 },
|
|
3001
|
-
/**
|
|
3002
|
-
* The current end value of the element. This property serves as a mechanism
|
|
3003
|
-
* to set the `end` property through both property assignment and the
|
|
3004
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
3005
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
3006
|
-
* and don't support IDL attribute binding.
|
|
3007
|
-
*/
|
|
3008
|
-
end: { type: String, default: void 0 },
|
|
3009
|
-
/**
|
|
3010
|
-
* The earliest accepted date of the date-picker.
|
|
3011
|
-
*/
|
|
3012
|
-
min: { type: String, default: void 0 },
|
|
3013
|
-
/**
|
|
3014
|
-
* The initial value of the date-picker.
|
|
3005
|
+
* String that gets applied to the the css gridTemplateColumns attribute for the row
|
|
3015
3006
|
*/
|
|
3016
|
-
|
|
3007
|
+
gridTemplateColumns: {
|
|
3008
|
+
type: String,
|
|
3009
|
+
default: void 0
|
|
3010
|
+
},
|
|
3017
3011
|
/**
|
|
3018
|
-
* The
|
|
3012
|
+
* The type of row
|
|
3019
3013
|
*/
|
|
3020
|
-
|
|
3014
|
+
rowType: {
|
|
3015
|
+
type: String,
|
|
3016
|
+
default: void 0
|
|
3017
|
+
},
|
|
3021
3018
|
/**
|
|
3022
|
-
*
|
|
3019
|
+
* Indicates the selected status.
|
|
3023
3020
|
*/
|
|
3024
|
-
|
|
3021
|
+
ariaSelected: { type: String, default: void 0 }
|
|
3025
3022
|
},
|
|
3026
3023
|
emits: [
|
|
3027
3024
|
/**
|
|
@@ -3055,37 +3052,29 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3055
3052
|
*/
|
|
3056
3053
|
"input",
|
|
3057
3054
|
/**
|
|
3058
|
-
*
|
|
3055
|
+
* Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row
|
|
3059
3056
|
* @type {unknown}
|
|
3060
3057
|
*/
|
|
3061
|
-
"
|
|
3058
|
+
"row-focused",
|
|
3062
3059
|
/**
|
|
3063
|
-
* Event
|
|
3064
|
-
* @type {unknown}
|
|
3065
|
-
*/
|
|
3066
|
-
"input:end",
|
|
3067
|
-
/**
|
|
3068
|
-
* Event emitted when the clear value changes
|
|
3060
|
+
* Event that fires when a cell is clicked
|
|
3069
3061
|
* @type {unknown}
|
|
3070
3062
|
*/
|
|
3071
|
-
"
|
|
3072
|
-
/**
|
|
3073
|
-
* Event emitted when the start value changes
|
|
3074
|
-
* @type {string}
|
|
3075
|
-
*/
|
|
3076
|
-
"update:start",
|
|
3077
|
-
/**
|
|
3078
|
-
* Event emitted when the end value changes
|
|
3079
|
-
* @type {string}
|
|
3080
|
-
*/
|
|
3081
|
-
"update:end"
|
|
3063
|
+
"cell-click"
|
|
3082
3064
|
],
|
|
3083
|
-
methods: {
|
|
3065
|
+
methods: {
|
|
3066
|
+
handleFocusout(e) {
|
|
3067
|
+
return this.element?.handleFocusout(e);
|
|
3068
|
+
},
|
|
3069
|
+
handleCellFocus(e) {
|
|
3070
|
+
return this.element?.handleCellFocus(e);
|
|
3071
|
+
},
|
|
3072
|
+
handleKeydown(e) {
|
|
3073
|
+
return this.element?.handleKeydown(e);
|
|
3074
|
+
}
|
|
3075
|
+
},
|
|
3084
3076
|
setup(props, ctx) {
|
|
3085
|
-
const componentName = registerComponent(
|
|
3086
|
-
"date-range-picker",
|
|
3087
|
-
vivid.registerDateRangePicker
|
|
3088
|
-
);
|
|
3077
|
+
const componentName = registerComponent("data-grid-row", vivid.registerDataGrid);
|
|
3089
3078
|
const element = vue.ref(null);
|
|
3090
3079
|
return { componentName, element };
|
|
3091
3080
|
},
|
|
@@ -3096,19 +3085,10 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3096
3085
|
{
|
|
3097
3086
|
ref: "element",
|
|
3098
3087
|
attrs: {
|
|
3099
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
3100
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3101
3088
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3102
|
-
...this.
|
|
3103
|
-
...this.
|
|
3104
|
-
...this.
|
|
3105
|
-
...this.max !== void 0 ? { max: this.max } : {},
|
|
3106
|
-
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3107
|
-
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3108
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
3109
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
3110
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3111
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
3089
|
+
...this.gridTemplateColumns !== void 0 ? { "grid-template-columns": this.gridTemplateColumns } : {},
|
|
3090
|
+
...this.rowType !== void 0 ? { "row-type": this.rowType } : {},
|
|
3091
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {}
|
|
3112
3092
|
},
|
|
3113
3093
|
class: "vvd-component",
|
|
3114
3094
|
on: {
|
|
@@ -3118,15 +3098,8 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3118
3098
|
keydown: (event) => this.$emit("keydown", event),
|
|
3119
3099
|
keyup: (event) => this.$emit("keyup", event),
|
|
3120
3100
|
input: (event) => this.$emit("input", event),
|
|
3121
|
-
"
|
|
3122
|
-
|
|
3123
|
-
this.$emit("input:start", event);
|
|
3124
|
-
},
|
|
3125
|
-
"input:end": (event) => {
|
|
3126
|
-
this.$emit("update:end", event.target.end);
|
|
3127
|
-
this.$emit("input:end", event);
|
|
3128
|
-
},
|
|
3129
|
-
"clear-click": (event) => this.$emit("clear-click", event)
|
|
3101
|
+
"row-focused": (event) => this.$emit("row-focused", event),
|
|
3102
|
+
"cell-click": (event) => this.$emit("cell-click", event)
|
|
3130
3103
|
}
|
|
3131
3104
|
},
|
|
3132
3105
|
[this.$slots.default]
|
|
@@ -3137,34 +3110,18 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3137
3110
|
{
|
|
3138
3111
|
ref: "element",
|
|
3139
3112
|
class: "vvd-component",
|
|
3140
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
3141
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3142
3113
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3143
|
-
...this.
|
|
3144
|
-
...this.
|
|
3145
|
-
...this.
|
|
3146
|
-
...this.max !== void 0 ? { max: this.max } : {},
|
|
3147
|
-
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3148
|
-
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3149
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
3150
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
3151
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3152
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
3114
|
+
...this.gridTemplateColumns !== void 0 ? { "grid-template-columns": this.gridTemplateColumns } : {},
|
|
3115
|
+
...this.rowType !== void 0 ? { "row-type": this.rowType } : {},
|
|
3116
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
3153
3117
|
onClick: (event) => this.$emit("click", event),
|
|
3154
3118
|
onFocus: (event) => this.$emit("focus", event),
|
|
3155
3119
|
onBlur: (event) => this.$emit("blur", event),
|
|
3156
3120
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3157
3121
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3158
3122
|
onInput: (event) => this.$emit("input", event),
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
this.$emit("input:start", event);
|
|
3162
|
-
},
|
|
3163
|
-
"onInput:end": (event) => {
|
|
3164
|
-
this.$emit("update:end", event.target.end);
|
|
3165
|
-
this.$emit("input:end", event);
|
|
3166
|
-
},
|
|
3167
|
-
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3123
|
+
onRowFocused: (event) => this.$emit("row-focused", event),
|
|
3124
|
+
onCellClick: (event) => this.$emit("cell-click", event)
|
|
3168
3125
|
},
|
|
3169
3126
|
[
|
|
3170
3127
|
// @ts-ignore
|
|
@@ -3174,9 +3131,21 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3174
3131
|
}
|
|
3175
3132
|
});
|
|
3176
3133
|
|
|
3177
|
-
const
|
|
3178
|
-
name: "
|
|
3134
|
+
const VDatePicker = vue.defineComponent({
|
|
3135
|
+
name: "VDatePicker",
|
|
3136
|
+
model: isVue2 ? {
|
|
3137
|
+
prop: "modelValue",
|
|
3138
|
+
event: "update:modelValue"
|
|
3139
|
+
} : void 0,
|
|
3179
3140
|
props: {
|
|
3141
|
+
/**
|
|
3142
|
+
* The label for the form element.
|
|
3143
|
+
*/
|
|
3144
|
+
label: { type: String, default: void 0 },
|
|
3145
|
+
/**
|
|
3146
|
+
* The error text for the form element.
|
|
3147
|
+
*/
|
|
3148
|
+
errorText: { type: String, default: void 0 },
|
|
3180
3149
|
/**
|
|
3181
3150
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3182
3151
|
*/
|
|
@@ -3185,27 +3154,37 @@ const VDialog = vue.defineComponent({
|
|
|
3185
3154
|
default: void 0
|
|
3186
3155
|
},
|
|
3187
3156
|
/**
|
|
3188
|
-
*
|
|
3157
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3189
3158
|
*/
|
|
3190
|
-
|
|
3159
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3191
3160
|
/**
|
|
3192
|
-
*
|
|
3193
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3161
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3194
3162
|
*/
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
},
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
},
|
|
3208
|
-
|
|
3163
|
+
name: { type: String, default: void 0 },
|
|
3164
|
+
/**
|
|
3165
|
+
* Require the field to be completed prior to form submission.
|
|
3166
|
+
*/
|
|
3167
|
+
required: { type: Boolean, default: void 0 },
|
|
3168
|
+
/**
|
|
3169
|
+
* The latest accepted date of the date-picker.
|
|
3170
|
+
*/
|
|
3171
|
+
max: { type: String, default: void 0 },
|
|
3172
|
+
/**
|
|
3173
|
+
* The earliest accepted date of the date-picker.
|
|
3174
|
+
*/
|
|
3175
|
+
min: { type: String, default: void 0 },
|
|
3176
|
+
/**
|
|
3177
|
+
* The initial value of the date-picker.
|
|
3178
|
+
*/
|
|
3179
|
+
modelValue: { type: String, default: void 0 },
|
|
3180
|
+
/**
|
|
3181
|
+
* The current value of the date-picker.
|
|
3182
|
+
*/
|
|
3183
|
+
currentValue: { type: String, default: void 0 },
|
|
3184
|
+
/**
|
|
3185
|
+
* Whether the date-picker is readonly.
|
|
3186
|
+
*/
|
|
3187
|
+
readonly: { type: Boolean, default: void 0 }
|
|
3209
3188
|
},
|
|
3210
3189
|
emits: [
|
|
3211
3190
|
/**
|
|
@@ -3239,24 +3218,19 @@ const VDialog = vue.defineComponent({
|
|
|
3239
3218
|
*/
|
|
3240
3219
|
"input",
|
|
3241
3220
|
/**
|
|
3242
|
-
*
|
|
3221
|
+
* Event emitted when the clear value changes
|
|
3243
3222
|
* @type {unknown}
|
|
3244
3223
|
*/
|
|
3245
|
-
"
|
|
3224
|
+
"clear-click",
|
|
3225
|
+
/**
|
|
3226
|
+
* Fires when the value of an element has been changed.
|
|
3227
|
+
* @type {string}
|
|
3228
|
+
*/
|
|
3229
|
+
"update:modelValue"
|
|
3246
3230
|
],
|
|
3247
|
-
methods: {
|
|
3248
|
-
close() {
|
|
3249
|
-
return this.element?.close();
|
|
3250
|
-
},
|
|
3251
|
-
show() {
|
|
3252
|
-
return this.element?.show();
|
|
3253
|
-
},
|
|
3254
|
-
showModal() {
|
|
3255
|
-
return this.element?.showModal();
|
|
3256
|
-
}
|
|
3257
|
-
},
|
|
3231
|
+
methods: {},
|
|
3258
3232
|
setup(props, ctx) {
|
|
3259
|
-
const componentName = registerComponent("
|
|
3233
|
+
const componentName = registerComponent("date-picker", vivid.registerDatePicker);
|
|
3260
3234
|
const element = vue.ref(null);
|
|
3261
3235
|
return { componentName, element };
|
|
3262
3236
|
},
|
|
@@ -3267,16 +3241,17 @@ const VDialog = vue.defineComponent({
|
|
|
3267
3241
|
{
|
|
3268
3242
|
ref: "element",
|
|
3269
3243
|
attrs: {
|
|
3244
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3245
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3270
3246
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3271
|
-
...this.
|
|
3272
|
-
...this.
|
|
3273
|
-
...this.
|
|
3274
|
-
...this.
|
|
3275
|
-
...this.
|
|
3276
|
-
...this.
|
|
3277
|
-
...this.
|
|
3278
|
-
...this.
|
|
3279
|
-
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {}
|
|
3247
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3248
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3249
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3250
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3251
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3252
|
+
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
3253
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3254
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
3280
3255
|
},
|
|
3281
3256
|
class: "vvd-component",
|
|
3282
3257
|
on: {
|
|
@@ -3285,23 +3260,17 @@ const VDialog = vue.defineComponent({
|
|
|
3285
3260
|
blur: (event) => this.$emit("blur", event),
|
|
3286
3261
|
keydown: (event) => this.$emit("keydown", event),
|
|
3287
3262
|
keyup: (event) => this.$emit("keyup", event),
|
|
3288
|
-
input: (event) =>
|
|
3289
|
-
|
|
3263
|
+
input: (event) => {
|
|
3264
|
+
this.$emit(
|
|
3265
|
+
"update:modelValue",
|
|
3266
|
+
event.target.value
|
|
3267
|
+
);
|
|
3268
|
+
this.$emit("input", event);
|
|
3269
|
+
},
|
|
3270
|
+
"clear-click": (event) => this.$emit("clear-click", event)
|
|
3290
3271
|
}
|
|
3291
3272
|
},
|
|
3292
|
-
[
|
|
3293
|
-
this.$slots.default,
|
|
3294
|
-
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3295
|
-
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3296
|
-
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3297
|
-
handleNamedSlot("body", this.$slots["body"]),
|
|
3298
|
-
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3299
|
-
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3300
|
-
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3301
|
-
handleNamedSlot("main", this.$slots["main"]),
|
|
3302
|
-
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3303
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3304
|
-
]
|
|
3273
|
+
[this.$slots.default]
|
|
3305
3274
|
);
|
|
3306
3275
|
}
|
|
3307
3276
|
return vue.h(
|
|
@@ -3309,45 +3278,50 @@ const VDialog = vue.defineComponent({
|
|
|
3309
3278
|
{
|
|
3310
3279
|
ref: "element",
|
|
3311
3280
|
class: "vvd-component",
|
|
3281
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3282
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3312
3283
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3313
|
-
...this.
|
|
3314
|
-
...this.
|
|
3315
|
-
...this.
|
|
3316
|
-
...this.
|
|
3317
|
-
...this.
|
|
3318
|
-
...this.
|
|
3319
|
-
...this.
|
|
3320
|
-
...this.
|
|
3321
|
-
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {},
|
|
3284
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3285
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3286
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3287
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3288
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3289
|
+
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
3290
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3291
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
3322
3292
|
onClick: (event) => this.$emit("click", event),
|
|
3323
3293
|
onFocus: (event) => this.$emit("focus", event),
|
|
3324
3294
|
onBlur: (event) => this.$emit("blur", event),
|
|
3325
3295
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3326
3296
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3327
|
-
onInput: (event) =>
|
|
3328
|
-
|
|
3297
|
+
onInput: (event) => {
|
|
3298
|
+
this.$emit(
|
|
3299
|
+
"update:modelValue",
|
|
3300
|
+
event.target.value
|
|
3301
|
+
);
|
|
3302
|
+
this.$emit("input", event);
|
|
3303
|
+
},
|
|
3304
|
+
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3329
3305
|
},
|
|
3330
3306
|
[
|
|
3331
3307
|
// @ts-ignore
|
|
3332
|
-
this.$slots.default && this.$slots.default()
|
|
3333
|
-
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3334
|
-
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3335
|
-
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3336
|
-
handleNamedSlot("body", this.$slots["body"]),
|
|
3337
|
-
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3338
|
-
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3339
|
-
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3340
|
-
handleNamedSlot("main", this.$slots["main"]),
|
|
3341
|
-
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3342
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3308
|
+
this.$slots.default && this.$slots.default()
|
|
3343
3309
|
]
|
|
3344
3310
|
);
|
|
3345
3311
|
}
|
|
3346
3312
|
});
|
|
3347
3313
|
|
|
3348
|
-
const
|
|
3349
|
-
name: "
|
|
3314
|
+
const VDateRangePicker = vue.defineComponent({
|
|
3315
|
+
name: "VDateRangePicker",
|
|
3350
3316
|
props: {
|
|
3317
|
+
/**
|
|
3318
|
+
* The label for the form element.
|
|
3319
|
+
*/
|
|
3320
|
+
label: { type: String, default: void 0 },
|
|
3321
|
+
/**
|
|
3322
|
+
* The error text for the form element.
|
|
3323
|
+
*/
|
|
3324
|
+
errorText: { type: String, default: void 0 },
|
|
3351
3325
|
/**
|
|
3352
3326
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3353
3327
|
*/
|
|
@@ -3356,19 +3330,53 @@ const VDivider = vue.defineComponent({
|
|
|
3356
3330
|
default: void 0
|
|
3357
3331
|
},
|
|
3358
3332
|
/**
|
|
3359
|
-
*
|
|
3333
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3360
3334
|
*/
|
|
3361
|
-
|
|
3362
|
-
type: String,
|
|
3363
|
-
default: void 0
|
|
3364
|
-
},
|
|
3335
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3365
3336
|
/**
|
|
3366
|
-
* The
|
|
3337
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3367
3338
|
*/
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3339
|
+
name: { type: String, default: void 0 },
|
|
3340
|
+
/**
|
|
3341
|
+
* Require the field to be completed prior to form submission.
|
|
3342
|
+
*/
|
|
3343
|
+
required: { type: Boolean, default: void 0 },
|
|
3344
|
+
/**
|
|
3345
|
+
* The latest accepted date of the date-picker.
|
|
3346
|
+
*/
|
|
3347
|
+
max: { type: String, default: void 0 },
|
|
3348
|
+
/**
|
|
3349
|
+
* The current start value of the element. This property serves as a mechanism
|
|
3350
|
+
* to set the `start` property through both property assignment and the
|
|
3351
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
3352
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3353
|
+
* and don't support IDL attribute binding.
|
|
3354
|
+
*/
|
|
3355
|
+
start: { type: String, default: void 0 },
|
|
3356
|
+
/**
|
|
3357
|
+
* The current end value of the element. This property serves as a mechanism
|
|
3358
|
+
* to set the `end` property through both property assignment and the
|
|
3359
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
3360
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3361
|
+
* and don't support IDL attribute binding.
|
|
3362
|
+
*/
|
|
3363
|
+
end: { type: String, default: void 0 },
|
|
3364
|
+
/**
|
|
3365
|
+
* The earliest accepted date of the date-picker.
|
|
3366
|
+
*/
|
|
3367
|
+
min: { type: String, default: void 0 },
|
|
3368
|
+
/**
|
|
3369
|
+
* The initial value of the date-picker.
|
|
3370
|
+
*/
|
|
3371
|
+
value: { type: String, default: void 0 },
|
|
3372
|
+
/**
|
|
3373
|
+
* The current value of the date-picker.
|
|
3374
|
+
*/
|
|
3375
|
+
currentValue: { type: String, default: void 0 },
|
|
3376
|
+
/**
|
|
3377
|
+
* Whether the date-picker is readonly.
|
|
3378
|
+
*/
|
|
3379
|
+
readonly: { type: Boolean, default: void 0 }
|
|
3372
3380
|
},
|
|
3373
3381
|
emits: [
|
|
3374
3382
|
/**
|
|
@@ -3400,11 +3408,39 @@ const VDivider = vue.defineComponent({
|
|
|
3400
3408
|
* Fires when the value of an element has been changed.
|
|
3401
3409
|
* @type {Event}
|
|
3402
3410
|
*/
|
|
3403
|
-
"input"
|
|
3411
|
+
"input",
|
|
3412
|
+
/**
|
|
3413
|
+
* Event emitted when the start value changes
|
|
3414
|
+
* @type {unknown}
|
|
3415
|
+
*/
|
|
3416
|
+
"input:start",
|
|
3417
|
+
/**
|
|
3418
|
+
* Event emitted when the end value changes
|
|
3419
|
+
* @type {unknown}
|
|
3420
|
+
*/
|
|
3421
|
+
"input:end",
|
|
3422
|
+
/**
|
|
3423
|
+
* Event emitted when the clear value changes
|
|
3424
|
+
* @type {unknown}
|
|
3425
|
+
*/
|
|
3426
|
+
"clear-click",
|
|
3427
|
+
/**
|
|
3428
|
+
* Event emitted when the start value changes
|
|
3429
|
+
* @type {string}
|
|
3430
|
+
*/
|
|
3431
|
+
"update:start",
|
|
3432
|
+
/**
|
|
3433
|
+
* Event emitted when the end value changes
|
|
3434
|
+
* @type {string}
|
|
3435
|
+
*/
|
|
3436
|
+
"update:end"
|
|
3404
3437
|
],
|
|
3405
3438
|
methods: {},
|
|
3406
3439
|
setup(props, ctx) {
|
|
3407
|
-
const componentName = registerComponent(
|
|
3440
|
+
const componentName = registerComponent(
|
|
3441
|
+
"date-range-picker",
|
|
3442
|
+
vivid.registerDateRangePicker
|
|
3443
|
+
);
|
|
3408
3444
|
const element = vue.ref(null);
|
|
3409
3445
|
return { componentName, element };
|
|
3410
3446
|
},
|
|
@@ -3415,9 +3451,19 @@ const VDivider = vue.defineComponent({
|
|
|
3415
3451
|
{
|
|
3416
3452
|
ref: "element",
|
|
3417
3453
|
attrs: {
|
|
3454
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3455
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3418
3456
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3419
|
-
...this.
|
|
3420
|
-
...this.
|
|
3457
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3458
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3459
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3460
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3461
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3462
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3463
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3464
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
3465
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3466
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
3421
3467
|
},
|
|
3422
3468
|
class: "vvd-component",
|
|
3423
3469
|
on: {
|
|
@@ -3426,7 +3472,16 @@ const VDivider = vue.defineComponent({
|
|
|
3426
3472
|
blur: (event) => this.$emit("blur", event),
|
|
3427
3473
|
keydown: (event) => this.$emit("keydown", event),
|
|
3428
3474
|
keyup: (event) => this.$emit("keyup", event),
|
|
3429
|
-
input: (event) => this.$emit("input", event)
|
|
3475
|
+
input: (event) => this.$emit("input", event),
|
|
3476
|
+
"input:start": (event) => {
|
|
3477
|
+
this.$emit("update:start", event.target.start);
|
|
3478
|
+
this.$emit("input:start", event);
|
|
3479
|
+
},
|
|
3480
|
+
"input:end": (event) => {
|
|
3481
|
+
this.$emit("update:end", event.target.end);
|
|
3482
|
+
this.$emit("input:end", event);
|
|
3483
|
+
},
|
|
3484
|
+
"clear-click": (event) => this.$emit("clear-click", event)
|
|
3430
3485
|
}
|
|
3431
3486
|
},
|
|
3432
3487
|
[this.$slots.default]
|
|
@@ -3437,15 +3492,34 @@ const VDivider = vue.defineComponent({
|
|
|
3437
3492
|
{
|
|
3438
3493
|
ref: "element",
|
|
3439
3494
|
class: "vvd-component",
|
|
3495
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3496
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3440
3497
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3441
|
-
...this.
|
|
3442
|
-
...this.
|
|
3498
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3499
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3500
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3501
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3502
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3503
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3504
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3505
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
3506
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3507
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
3443
3508
|
onClick: (event) => this.$emit("click", event),
|
|
3444
3509
|
onFocus: (event) => this.$emit("focus", event),
|
|
3445
3510
|
onBlur: (event) => this.$emit("blur", event),
|
|
3446
3511
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3447
3512
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3448
|
-
onInput: (event) => this.$emit("input", event)
|
|
3513
|
+
onInput: (event) => this.$emit("input", event),
|
|
3514
|
+
"onInput:start": (event) => {
|
|
3515
|
+
this.$emit("update:start", event.target.start);
|
|
3516
|
+
this.$emit("input:start", event);
|
|
3517
|
+
},
|
|
3518
|
+
"onInput:end": (event) => {
|
|
3519
|
+
this.$emit("update:end", event.target.end);
|
|
3520
|
+
this.$emit("input:end", event);
|
|
3521
|
+
},
|
|
3522
|
+
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3449
3523
|
},
|
|
3450
3524
|
[
|
|
3451
3525
|
// @ts-ignore
|
|
@@ -3455,8 +3529,8 @@ const VDivider = vue.defineComponent({
|
|
|
3455
3529
|
}
|
|
3456
3530
|
});
|
|
3457
3531
|
|
|
3458
|
-
const
|
|
3459
|
-
name: "
|
|
3532
|
+
const VDialog = vue.defineComponent({
|
|
3533
|
+
name: "VDialog",
|
|
3460
3534
|
props: {
|
|
3461
3535
|
/**
|
|
3462
3536
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -3466,14 +3540,27 @@ const VEmptyState = vue.defineComponent({
|
|
|
3466
3540
|
default: void 0
|
|
3467
3541
|
},
|
|
3468
3542
|
/**
|
|
3469
|
-
*
|
|
3543
|
+
* Indicates dialog's state
|
|
3470
3544
|
*/
|
|
3471
|
-
|
|
3545
|
+
open: { type: Boolean, default: void 0 },
|
|
3472
3546
|
/**
|
|
3473
|
-
*
|
|
3547
|
+
* undefined
|
|
3474
3548
|
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3475
3549
|
*/
|
|
3476
|
-
icon: { type: String, default: void 0 }
|
|
3550
|
+
icon: { type: String, default: void 0 },
|
|
3551
|
+
iconPlacement: {
|
|
3552
|
+
type: String,
|
|
3553
|
+
default: void 0
|
|
3554
|
+
},
|
|
3555
|
+
subtitle: { type: String, default: void 0 },
|
|
3556
|
+
headline: { type: String, default: void 0 },
|
|
3557
|
+
fullWidthBody: { type: Boolean, default: void 0 },
|
|
3558
|
+
ariaLabel: { type: String, default: void 0 },
|
|
3559
|
+
dismissButtonAriaLabel: {
|
|
3560
|
+
type: String,
|
|
3561
|
+
default: void 0
|
|
3562
|
+
},
|
|
3563
|
+
noLightDismiss: { type: Boolean, default: void 0 }
|
|
3477
3564
|
},
|
|
3478
3565
|
emits: [
|
|
3479
3566
|
/**
|
|
@@ -3505,11 +3592,26 @@ const VEmptyState = vue.defineComponent({
|
|
|
3505
3592
|
* Fires when the value of an element has been changed.
|
|
3506
3593
|
* @type {Event}
|
|
3507
3594
|
*/
|
|
3508
|
-
"input"
|
|
3595
|
+
"input",
|
|
3596
|
+
/**
|
|
3597
|
+
* Fired when the dialog is closed.
|
|
3598
|
+
* @type {unknown}
|
|
3599
|
+
*/
|
|
3600
|
+
"close"
|
|
3509
3601
|
],
|
|
3510
|
-
methods: {
|
|
3602
|
+
methods: {
|
|
3603
|
+
close() {
|
|
3604
|
+
return this.element?.close();
|
|
3605
|
+
},
|
|
3606
|
+
show() {
|
|
3607
|
+
return this.element?.show();
|
|
3608
|
+
},
|
|
3609
|
+
showModal() {
|
|
3610
|
+
return this.element?.showModal();
|
|
3611
|
+
}
|
|
3612
|
+
},
|
|
3511
3613
|
setup(props, ctx) {
|
|
3512
|
-
const componentName = registerComponent("
|
|
3614
|
+
const componentName = registerComponent("dialog", vivid.registerDialog);
|
|
3513
3615
|
const element = vue.ref(null);
|
|
3514
3616
|
return { componentName, element };
|
|
3515
3617
|
},
|
|
@@ -3521,8 +3623,15 @@ const VEmptyState = vue.defineComponent({
|
|
|
3521
3623
|
ref: "element",
|
|
3522
3624
|
attrs: {
|
|
3523
3625
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3626
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
3627
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
3628
|
+
...this.iconPlacement !== void 0 ? { "icon-placement": this.iconPlacement } : {},
|
|
3629
|
+
...this.subtitle !== void 0 ? { subtitle: this.subtitle } : {},
|
|
3524
3630
|
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3525
|
-
...this.
|
|
3631
|
+
...this.fullWidthBody !== void 0 ? { "full-width-body": this.fullWidthBody } : {},
|
|
3632
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
3633
|
+
...this.dismissButtonAriaLabel !== void 0 ? { "dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
|
|
3634
|
+
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {}
|
|
3526
3635
|
},
|
|
3527
3636
|
class: "vvd-component",
|
|
3528
3637
|
on: {
|
|
@@ -3531,14 +3640,21 @@ const VEmptyState = vue.defineComponent({
|
|
|
3531
3640
|
blur: (event) => this.$emit("blur", event),
|
|
3532
3641
|
keydown: (event) => this.$emit("keydown", event),
|
|
3533
3642
|
keyup: (event) => this.$emit("keyup", event),
|
|
3534
|
-
input: (event) => this.$emit("input", event)
|
|
3643
|
+
input: (event) => this.$emit("input", event),
|
|
3644
|
+
close: (event) => this.$emit("close", event)
|
|
3535
3645
|
}
|
|
3536
3646
|
},
|
|
3537
3647
|
[
|
|
3538
3648
|
this.$slots.default,
|
|
3539
|
-
// @slot graphic
|
|
3649
|
+
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3540
3650
|
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3541
|
-
// @slot
|
|
3651
|
+
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3652
|
+
handleNamedSlot("body", this.$slots["body"]),
|
|
3653
|
+
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3654
|
+
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3655
|
+
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3656
|
+
handleNamedSlot("main", this.$slots["main"]),
|
|
3657
|
+
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3542
3658
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3543
3659
|
]
|
|
3544
3660
|
);
|
|
@@ -3549,39 +3665,44 @@ const VEmptyState = vue.defineComponent({
|
|
|
3549
3665
|
ref: "element",
|
|
3550
3666
|
class: "vvd-component",
|
|
3551
3667
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3552
|
-
...this.
|
|
3668
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
3553
3669
|
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
3670
|
+
...this.iconPlacement !== void 0 ? { "icon-placement": this.iconPlacement } : {},
|
|
3671
|
+
...this.subtitle !== void 0 ? { subtitle: this.subtitle } : {},
|
|
3672
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3673
|
+
...this.fullWidthBody !== void 0 ? { "full-width-body": this.fullWidthBody } : {},
|
|
3674
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
3675
|
+
...this.dismissButtonAriaLabel !== void 0 ? { "dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
|
|
3676
|
+
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {},
|
|
3554
3677
|
onClick: (event) => this.$emit("click", event),
|
|
3555
3678
|
onFocus: (event) => this.$emit("focus", event),
|
|
3556
3679
|
onBlur: (event) => this.$emit("blur", event),
|
|
3557
3680
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3558
3681
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3559
|
-
onInput: (event) => this.$emit("input", event)
|
|
3682
|
+
onInput: (event) => this.$emit("input", event),
|
|
3683
|
+
onClose: (event) => this.$emit("close", event)
|
|
3560
3684
|
},
|
|
3561
3685
|
[
|
|
3562
3686
|
// @ts-ignore
|
|
3563
3687
|
this.$slots.default && this.$slots.default(),
|
|
3564
|
-
// @slot graphic
|
|
3688
|
+
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3565
3689
|
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3566
|
-
// @slot
|
|
3690
|
+
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3691
|
+
handleNamedSlot("body", this.$slots["body"]),
|
|
3692
|
+
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3693
|
+
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3694
|
+
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3695
|
+
handleNamedSlot("main", this.$slots["main"]),
|
|
3696
|
+
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3567
3697
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3568
3698
|
]
|
|
3569
3699
|
);
|
|
3570
3700
|
}
|
|
3571
3701
|
});
|
|
3572
3702
|
|
|
3573
|
-
const
|
|
3574
|
-
name: "
|
|
3703
|
+
const VDivider = vue.defineComponent({
|
|
3704
|
+
name: "VDivider",
|
|
3575
3705
|
props: {
|
|
3576
|
-
/**
|
|
3577
|
-
* A decorative icon the custom element should have.
|
|
3578
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3579
|
-
*/
|
|
3580
|
-
icon: { type: String, default: void 0 },
|
|
3581
|
-
/**
|
|
3582
|
-
* Indicates the icon affix alignment.
|
|
3583
|
-
*/
|
|
3584
|
-
iconTrailing: { type: Boolean, default: void 0 },
|
|
3585
3706
|
/**
|
|
3586
3707
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3587
3708
|
*/
|
|
@@ -3590,11 +3711,245 @@ const VFab = vue.defineComponent({
|
|
|
3590
3711
|
default: void 0
|
|
3591
3712
|
},
|
|
3592
3713
|
/**
|
|
3593
|
-
*
|
|
3714
|
+
* The role of the element.
|
|
3594
3715
|
*/
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3716
|
+
role: {
|
|
3717
|
+
type: String,
|
|
3718
|
+
default: void 0
|
|
3719
|
+
},
|
|
3720
|
+
/**
|
|
3721
|
+
* The orientation of the divider.
|
|
3722
|
+
*/
|
|
3723
|
+
orientation: {
|
|
3724
|
+
type: String,
|
|
3725
|
+
default: void 0
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
emits: [
|
|
3729
|
+
/**
|
|
3730
|
+
* 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.
|
|
3731
|
+
* @type {MouseEvent}
|
|
3732
|
+
*/
|
|
3733
|
+
"click",
|
|
3734
|
+
/**
|
|
3735
|
+
* Fires when the element receives focus.
|
|
3736
|
+
* @type {FocusEvent}
|
|
3737
|
+
*/
|
|
3738
|
+
"focus",
|
|
3739
|
+
/**
|
|
3740
|
+
* Fires when the element loses focus.
|
|
3741
|
+
* @type {FocusEvent}
|
|
3742
|
+
*/
|
|
3743
|
+
"blur",
|
|
3744
|
+
/**
|
|
3745
|
+
* Fires when a key is pressed.
|
|
3746
|
+
* @type {KeyboardEvent}
|
|
3747
|
+
*/
|
|
3748
|
+
"keydown",
|
|
3749
|
+
/**
|
|
3750
|
+
* Fires when a key is released.
|
|
3751
|
+
* @type {KeyboardEvent}
|
|
3752
|
+
*/
|
|
3753
|
+
"keyup",
|
|
3754
|
+
/**
|
|
3755
|
+
* Fires when the value of an element has been changed.
|
|
3756
|
+
* @type {Event}
|
|
3757
|
+
*/
|
|
3758
|
+
"input"
|
|
3759
|
+
],
|
|
3760
|
+
methods: {},
|
|
3761
|
+
setup(props, ctx) {
|
|
3762
|
+
const componentName = registerComponent("divider", vivid.registerDivider);
|
|
3763
|
+
const element = vue.ref(null);
|
|
3764
|
+
return { componentName, element };
|
|
3765
|
+
},
|
|
3766
|
+
render() {
|
|
3767
|
+
if (isVue2) {
|
|
3768
|
+
return vue.h(
|
|
3769
|
+
this.componentName,
|
|
3770
|
+
{
|
|
3771
|
+
ref: "element",
|
|
3772
|
+
attrs: {
|
|
3773
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3774
|
+
...this.role !== void 0 ? { role: this.role } : {},
|
|
3775
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {}
|
|
3776
|
+
},
|
|
3777
|
+
class: "vvd-component",
|
|
3778
|
+
on: {
|
|
3779
|
+
click: (event) => this.$emit("click", event),
|
|
3780
|
+
focus: (event) => this.$emit("focus", event),
|
|
3781
|
+
blur: (event) => this.$emit("blur", event),
|
|
3782
|
+
keydown: (event) => this.$emit("keydown", event),
|
|
3783
|
+
keyup: (event) => this.$emit("keyup", event),
|
|
3784
|
+
input: (event) => this.$emit("input", event)
|
|
3785
|
+
}
|
|
3786
|
+
},
|
|
3787
|
+
[this.$slots.default]
|
|
3788
|
+
);
|
|
3789
|
+
}
|
|
3790
|
+
return vue.h(
|
|
3791
|
+
this.componentName,
|
|
3792
|
+
{
|
|
3793
|
+
ref: "element",
|
|
3794
|
+
class: "vvd-component",
|
|
3795
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3796
|
+
...this.role !== void 0 ? { role: this.role } : {},
|
|
3797
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
3798
|
+
onClick: (event) => this.$emit("click", event),
|
|
3799
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
3800
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
3801
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
3802
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
3803
|
+
onInput: (event) => this.$emit("input", event)
|
|
3804
|
+
},
|
|
3805
|
+
[
|
|
3806
|
+
// @ts-ignore
|
|
3807
|
+
this.$slots.default && this.$slots.default()
|
|
3808
|
+
]
|
|
3809
|
+
);
|
|
3810
|
+
}
|
|
3811
|
+
});
|
|
3812
|
+
|
|
3813
|
+
const VEmptyState = vue.defineComponent({
|
|
3814
|
+
name: "VEmptyState",
|
|
3815
|
+
props: {
|
|
3816
|
+
/**
|
|
3817
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3818
|
+
*/
|
|
3819
|
+
ariaCurrent: {
|
|
3820
|
+
type: String,
|
|
3821
|
+
default: void 0
|
|
3822
|
+
},
|
|
3823
|
+
/**
|
|
3824
|
+
* An optional headline for the empty state.
|
|
3825
|
+
*/
|
|
3826
|
+
headline: { type: String, default: void 0 },
|
|
3827
|
+
/**
|
|
3828
|
+
* Icon for the empty state.
|
|
3829
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3830
|
+
*/
|
|
3831
|
+
icon: { type: String, default: void 0 }
|
|
3832
|
+
},
|
|
3833
|
+
emits: [
|
|
3834
|
+
/**
|
|
3835
|
+
* 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.
|
|
3836
|
+
* @type {MouseEvent}
|
|
3837
|
+
*/
|
|
3838
|
+
"click",
|
|
3839
|
+
/**
|
|
3840
|
+
* Fires when the element receives focus.
|
|
3841
|
+
* @type {FocusEvent}
|
|
3842
|
+
*/
|
|
3843
|
+
"focus",
|
|
3844
|
+
/**
|
|
3845
|
+
* Fires when the element loses focus.
|
|
3846
|
+
* @type {FocusEvent}
|
|
3847
|
+
*/
|
|
3848
|
+
"blur",
|
|
3849
|
+
/**
|
|
3850
|
+
* Fires when a key is pressed.
|
|
3851
|
+
* @type {KeyboardEvent}
|
|
3852
|
+
*/
|
|
3853
|
+
"keydown",
|
|
3854
|
+
/**
|
|
3855
|
+
* Fires when a key is released.
|
|
3856
|
+
* @type {KeyboardEvent}
|
|
3857
|
+
*/
|
|
3858
|
+
"keyup",
|
|
3859
|
+
/**
|
|
3860
|
+
* Fires when the value of an element has been changed.
|
|
3861
|
+
* @type {Event}
|
|
3862
|
+
*/
|
|
3863
|
+
"input"
|
|
3864
|
+
],
|
|
3865
|
+
methods: {},
|
|
3866
|
+
setup(props, ctx) {
|
|
3867
|
+
const componentName = registerComponent("empty-state", vivid.registerEmptyState);
|
|
3868
|
+
const element = vue.ref(null);
|
|
3869
|
+
return { componentName, element };
|
|
3870
|
+
},
|
|
3871
|
+
render() {
|
|
3872
|
+
if (isVue2) {
|
|
3873
|
+
return vue.h(
|
|
3874
|
+
this.componentName,
|
|
3875
|
+
{
|
|
3876
|
+
ref: "element",
|
|
3877
|
+
attrs: {
|
|
3878
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3879
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3880
|
+
...this.icon !== void 0 ? { icon: this.icon } : {}
|
|
3881
|
+
},
|
|
3882
|
+
class: "vvd-component",
|
|
3883
|
+
on: {
|
|
3884
|
+
click: (event) => this.$emit("click", event),
|
|
3885
|
+
focus: (event) => this.$emit("focus", event),
|
|
3886
|
+
blur: (event) => this.$emit("blur", event),
|
|
3887
|
+
keydown: (event) => this.$emit("keydown", event),
|
|
3888
|
+
keyup: (event) => this.$emit("keyup", event),
|
|
3889
|
+
input: (event) => this.$emit("input", event)
|
|
3890
|
+
}
|
|
3891
|
+
},
|
|
3892
|
+
[
|
|
3893
|
+
this.$slots.default,
|
|
3894
|
+
// @slot graphic The graphic slot allows overriding the icon with a custom illustration
|
|
3895
|
+
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3896
|
+
// @slot action-items Slot to add action items to the empty state
|
|
3897
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3898
|
+
]
|
|
3899
|
+
);
|
|
3900
|
+
}
|
|
3901
|
+
return vue.h(
|
|
3902
|
+
this.componentName,
|
|
3903
|
+
{
|
|
3904
|
+
ref: "element",
|
|
3905
|
+
class: "vvd-component",
|
|
3906
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3907
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3908
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
3909
|
+
onClick: (event) => this.$emit("click", event),
|
|
3910
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
3911
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
3912
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
3913
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
3914
|
+
onInput: (event) => this.$emit("input", event)
|
|
3915
|
+
},
|
|
3916
|
+
[
|
|
3917
|
+
// @ts-ignore
|
|
3918
|
+
this.$slots.default && this.$slots.default(),
|
|
3919
|
+
// @slot graphic The graphic slot allows overriding the icon with a custom illustration
|
|
3920
|
+
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3921
|
+
// @slot action-items Slot to add action items to the empty state
|
|
3922
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3923
|
+
]
|
|
3924
|
+
);
|
|
3925
|
+
}
|
|
3926
|
+
});
|
|
3927
|
+
|
|
3928
|
+
const VFab = vue.defineComponent({
|
|
3929
|
+
name: "VFab",
|
|
3930
|
+
props: {
|
|
3931
|
+
/**
|
|
3932
|
+
* A decorative icon the custom element should have.
|
|
3933
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3934
|
+
*/
|
|
3935
|
+
icon: { type: String, default: void 0 },
|
|
3936
|
+
/**
|
|
3937
|
+
* Indicates the icon affix alignment.
|
|
3938
|
+
*/
|
|
3939
|
+
iconTrailing: { type: Boolean, default: void 0 },
|
|
3940
|
+
/**
|
|
3941
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3942
|
+
*/
|
|
3943
|
+
ariaCurrent: {
|
|
3944
|
+
type: String,
|
|
3945
|
+
default: void 0
|
|
3946
|
+
},
|
|
3947
|
+
/**
|
|
3948
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3949
|
+
*/
|
|
3950
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3951
|
+
/**
|
|
3952
|
+
* The initial value of the form. This value sets the `value` property
|
|
3598
3953
|
* only when the `value` property has not been explicitly set.
|
|
3599
3954
|
*/
|
|
3600
3955
|
value: { type: String, default: void 0 },
|
|
@@ -4500,6 +4855,8 @@ const VMenu = vue.defineComponent({
|
|
|
4500
4855
|
},
|
|
4501
4856
|
[
|
|
4502
4857
|
this.$slots.default,
|
|
4858
|
+
// @slot anchor Used to set the anchor element for the menu.
|
|
4859
|
+
handleNamedSlot("anchor", this.$slots["anchor"]),
|
|
4503
4860
|
// @slot header Used to add additional content to the top of the menu.
|
|
4504
4861
|
handleNamedSlot("header", this.$slots["header"]),
|
|
4505
4862
|
// @slot action-items Used to add action items to the bottom of the menu.
|
|
@@ -4530,6 +4887,8 @@ const VMenu = vue.defineComponent({
|
|
|
4530
4887
|
[
|
|
4531
4888
|
// @ts-ignore
|
|
4532
4889
|
this.$slots.default && this.$slots.default(),
|
|
4890
|
+
// @slot anchor Used to set the anchor element for the menu.
|
|
4891
|
+
handleNamedSlot("anchor", this.$slots["anchor"]),
|
|
4533
4892
|
// @slot header Used to add additional content to the top of the menu.
|
|
4534
4893
|
handleNamedSlot("header", this.$slots["header"]),
|
|
4535
4894
|
// @slot action-items Used to add action items to the bottom of the menu.
|
|
@@ -4585,6 +4944,13 @@ const VMenuItem = vue.defineComponent({
|
|
|
4585
4944
|
* Indicates the menu item's secondary text.
|
|
4586
4945
|
*/
|
|
4587
4946
|
textSecondary: { type: String, default: void 0 },
|
|
4947
|
+
/**
|
|
4948
|
+
* The connotation the fab should have.
|
|
4949
|
+
*/
|
|
4950
|
+
connotation: {
|
|
4951
|
+
type: String,
|
|
4952
|
+
default: void 0
|
|
4953
|
+
},
|
|
4588
4954
|
/**
|
|
4589
4955
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
4590
4956
|
*/
|
|
@@ -4665,6 +5031,7 @@ const VMenuItem = vue.defineComponent({
|
|
|
4665
5031
|
...this.modelValue !== void 0 ? { checked: this.modelValue } : {},
|
|
4666
5032
|
...this.text !== void 0 ? { text: this.text } : {},
|
|
4667
5033
|
...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {},
|
|
5034
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
4668
5035
|
...this.checkTrailing !== void 0 ? { "check-trailing": this.checkTrailing } : {},
|
|
4669
5036
|
...this.checkAppearance !== void 0 ? { "check-appearance": this.checkAppearance } : {}
|
|
4670
5037
|
},
|
|
@@ -4710,6 +5077,7 @@ const VMenuItem = vue.defineComponent({
|
|
|
4710
5077
|
...this.modelValue !== void 0 ? { checked: this.modelValue } : {},
|
|
4711
5078
|
...this.text !== void 0 ? { text: this.text } : {},
|
|
4712
5079
|
...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {},
|
|
5080
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
4713
5081
|
...this.checkTrailing !== void 0 ? { "check-trailing": this.checkTrailing } : {},
|
|
4714
5082
|
...this.checkAppearance !== void 0 ? { "check-appearance": this.checkAppearance } : {},
|
|
4715
5083
|
onClick: (event) => this.$emit("click", event),
|
|
@@ -6439,17 +6807,267 @@ const VRadioGroup = vue.defineComponent({
|
|
|
6439
6807
|
}
|
|
6440
6808
|
});
|
|
6441
6809
|
|
|
6442
|
-
const
|
|
6443
|
-
name: "
|
|
6444
|
-
model: isVue2 ? {
|
|
6445
|
-
prop: "modelValue",
|
|
6446
|
-
event: "update:modelValue"
|
|
6447
|
-
} : void 0,
|
|
6810
|
+
const VRangeSlider = vue.defineComponent({
|
|
6811
|
+
name: "VRangeSlider",
|
|
6448
6812
|
props: {
|
|
6449
6813
|
/**
|
|
6450
|
-
* The
|
|
6814
|
+
* The label for the form element.
|
|
6451
6815
|
*/
|
|
6452
|
-
|
|
6816
|
+
label: { type: String, default: void 0 },
|
|
6817
|
+
/**
|
|
6818
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
6819
|
+
*/
|
|
6820
|
+
ariaCurrent: {
|
|
6821
|
+
type: String,
|
|
6822
|
+
default: void 0
|
|
6823
|
+
},
|
|
6824
|
+
/**
|
|
6825
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
6826
|
+
*/
|
|
6827
|
+
disabled: { type: Boolean, default: void 0 },
|
|
6828
|
+
/**
|
|
6829
|
+
* The initial value of the form. This value sets the `value` property
|
|
6830
|
+
* only when the `value` property has not been explicitly set.
|
|
6831
|
+
*/
|
|
6832
|
+
value: { type: String, default: void 0 },
|
|
6833
|
+
/**
|
|
6834
|
+
* The current value of the element. This property serves as a mechanism
|
|
6835
|
+
* to set the `value` property through both property assignment and the
|
|
6836
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
6837
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
6838
|
+
* and don't support IDL attribute binding.
|
|
6839
|
+
*/
|
|
6840
|
+
currentValue: { type: String, default: void 0 },
|
|
6841
|
+
/**
|
|
6842
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
6843
|
+
*/
|
|
6844
|
+
name: { type: String, default: void 0 },
|
|
6845
|
+
/**
|
|
6846
|
+
* Require the field to be completed prior to form submission.
|
|
6847
|
+
*/
|
|
6848
|
+
required: { type: Boolean, default: void 0 },
|
|
6849
|
+
/**
|
|
6850
|
+
* The current start value of the element. This property serves as a mechanism
|
|
6851
|
+
* to set the `start` property through both property assignment and the
|
|
6852
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
6853
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
6854
|
+
* and don't support IDL attribute binding.
|
|
6855
|
+
*/
|
|
6856
|
+
start: { type: String, default: void 0 },
|
|
6857
|
+
/**
|
|
6858
|
+
* The current end value of the element. This property serves as a mechanism
|
|
6859
|
+
* to set the `end` property through both property assignment and the
|
|
6860
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
6861
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
6862
|
+
* and don't support IDL attribute binding.
|
|
6863
|
+
*/
|
|
6864
|
+
end: { type: String, default: void 0 },
|
|
6865
|
+
/**
|
|
6866
|
+
* The minimum value of the range.
|
|
6867
|
+
*/
|
|
6868
|
+
min: { type: Number, default: void 0 },
|
|
6869
|
+
/**
|
|
6870
|
+
* The maximum value of the range.
|
|
6871
|
+
*/
|
|
6872
|
+
max: { type: Number, default: void 0 },
|
|
6873
|
+
/**
|
|
6874
|
+
* Value to increment or decrement via arrow keys, mouse click or drag.
|
|
6875
|
+
*/
|
|
6876
|
+
step: { type: Number, default: void 0 },
|
|
6877
|
+
/**
|
|
6878
|
+
* The orientation of the slider.
|
|
6879
|
+
*/
|
|
6880
|
+
orientation: {
|
|
6881
|
+
type: String,
|
|
6882
|
+
default: void 0
|
|
6883
|
+
},
|
|
6884
|
+
/**
|
|
6885
|
+
* Aria label for the start thumb
|
|
6886
|
+
*/
|
|
6887
|
+
ariaStartLabel: { type: String, default: void 0 },
|
|
6888
|
+
/**
|
|
6889
|
+
* Aria label for the end thumb
|
|
6890
|
+
*/
|
|
6891
|
+
ariaEndLabel: { type: String, default: void 0 },
|
|
6892
|
+
/**
|
|
6893
|
+
* Display markers on/off
|
|
6894
|
+
*/
|
|
6895
|
+
markers: { type: Boolean, default: void 0 },
|
|
6896
|
+
/**
|
|
6897
|
+
* The connotation of the component
|
|
6898
|
+
*/
|
|
6899
|
+
connotation: {
|
|
6900
|
+
type: String,
|
|
6901
|
+
default: void 0
|
|
6902
|
+
}
|
|
6903
|
+
},
|
|
6904
|
+
emits: [
|
|
6905
|
+
/**
|
|
6906
|
+
* 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.
|
|
6907
|
+
* @type {MouseEvent}
|
|
6908
|
+
*/
|
|
6909
|
+
"click",
|
|
6910
|
+
/**
|
|
6911
|
+
* Fires when the element receives focus.
|
|
6912
|
+
* @type {FocusEvent}
|
|
6913
|
+
*/
|
|
6914
|
+
"focus",
|
|
6915
|
+
/**
|
|
6916
|
+
* Fires when the element loses focus.
|
|
6917
|
+
* @type {FocusEvent}
|
|
6918
|
+
*/
|
|
6919
|
+
"blur",
|
|
6920
|
+
/**
|
|
6921
|
+
* Fires when a key is pressed.
|
|
6922
|
+
* @type {KeyboardEvent}
|
|
6923
|
+
*/
|
|
6924
|
+
"keydown",
|
|
6925
|
+
/**
|
|
6926
|
+
* Fires when a key is released.
|
|
6927
|
+
* @type {KeyboardEvent}
|
|
6928
|
+
*/
|
|
6929
|
+
"keyup",
|
|
6930
|
+
/**
|
|
6931
|
+
* Fires when the value of an element has been changed.
|
|
6932
|
+
* @type {Event}
|
|
6933
|
+
*/
|
|
6934
|
+
"input",
|
|
6935
|
+
/**
|
|
6936
|
+
* Event emitted when the start value changes
|
|
6937
|
+
* @type {unknown}
|
|
6938
|
+
*/
|
|
6939
|
+
"input:start",
|
|
6940
|
+
/**
|
|
6941
|
+
* Event emitted when the end value changes
|
|
6942
|
+
* @type {unknown}
|
|
6943
|
+
*/
|
|
6944
|
+
"input:end",
|
|
6945
|
+
/**
|
|
6946
|
+
* Event emitted when the start value changes
|
|
6947
|
+
* @type {string}
|
|
6948
|
+
*/
|
|
6949
|
+
"update:start",
|
|
6950
|
+
/**
|
|
6951
|
+
* Event emitted when the end value changes
|
|
6952
|
+
* @type {string}
|
|
6953
|
+
*/
|
|
6954
|
+
"update:end"
|
|
6955
|
+
],
|
|
6956
|
+
methods: {
|
|
6957
|
+
formResetCallback() {
|
|
6958
|
+
return this.element?.formResetCallback();
|
|
6959
|
+
}
|
|
6960
|
+
},
|
|
6961
|
+
setup(props, ctx) {
|
|
6962
|
+
const componentName = registerComponent(
|
|
6963
|
+
"range-slider",
|
|
6964
|
+
vivid.registerRangeSlider
|
|
6965
|
+
);
|
|
6966
|
+
const element = vue.ref(null);
|
|
6967
|
+
return { componentName, element };
|
|
6968
|
+
},
|
|
6969
|
+
render() {
|
|
6970
|
+
if (isVue2) {
|
|
6971
|
+
return vue.h(
|
|
6972
|
+
this.componentName,
|
|
6973
|
+
{
|
|
6974
|
+
ref: "element",
|
|
6975
|
+
attrs: {
|
|
6976
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
6977
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
6978
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
6979
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
6980
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
6981
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
6982
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
6983
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
6984
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
6985
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
6986
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
6987
|
+
...this.step !== void 0 ? { step: this.step } : {},
|
|
6988
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
6989
|
+
...this.ariaStartLabel !== void 0 ? { "aria-start-label": this.ariaStartLabel } : {},
|
|
6990
|
+
...this.ariaEndLabel !== void 0 ? { "aria-end-label": this.ariaEndLabel } : {},
|
|
6991
|
+
...this.markers !== void 0 ? { markers: this.markers } : {},
|
|
6992
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {}
|
|
6993
|
+
},
|
|
6994
|
+
class: "vvd-component",
|
|
6995
|
+
on: {
|
|
6996
|
+
click: (event) => this.$emit("click", event),
|
|
6997
|
+
focus: (event) => this.$emit("focus", event),
|
|
6998
|
+
blur: (event) => this.$emit("blur", event),
|
|
6999
|
+
keydown: (event) => this.$emit("keydown", event),
|
|
7000
|
+
keyup: (event) => this.$emit("keyup", event),
|
|
7001
|
+
input: (event) => this.$emit("input", event),
|
|
7002
|
+
"input:start": (event) => {
|
|
7003
|
+
this.$emit("update:start", event.target.start);
|
|
7004
|
+
this.$emit("input:start", event);
|
|
7005
|
+
},
|
|
7006
|
+
"input:end": (event) => {
|
|
7007
|
+
this.$emit("update:end", event.target.end);
|
|
7008
|
+
this.$emit("input:end", event);
|
|
7009
|
+
}
|
|
7010
|
+
}
|
|
7011
|
+
},
|
|
7012
|
+
[this.$slots.default]
|
|
7013
|
+
);
|
|
7014
|
+
}
|
|
7015
|
+
return vue.h(
|
|
7016
|
+
this.componentName,
|
|
7017
|
+
{
|
|
7018
|
+
ref: "element",
|
|
7019
|
+
class: "vvd-component",
|
|
7020
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
7021
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
7022
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
7023
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
7024
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
7025
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
7026
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
7027
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
7028
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
7029
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
7030
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
7031
|
+
...this.step !== void 0 ? { step: this.step } : {},
|
|
7032
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
7033
|
+
...this.ariaStartLabel !== void 0 ? { "aria-start-label": this.ariaStartLabel } : {},
|
|
7034
|
+
...this.ariaEndLabel !== void 0 ? { "aria-end-label": this.ariaEndLabel } : {},
|
|
7035
|
+
...this.markers !== void 0 ? { markers: this.markers } : {},
|
|
7036
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
7037
|
+
onClick: (event) => this.$emit("click", event),
|
|
7038
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
7039
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
7040
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
7041
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
7042
|
+
onInput: (event) => this.$emit("input", event),
|
|
7043
|
+
"onInput:start": (event) => {
|
|
7044
|
+
this.$emit("update:start", event.target.start);
|
|
7045
|
+
this.$emit("input:start", event);
|
|
7046
|
+
},
|
|
7047
|
+
"onInput:end": (event) => {
|
|
7048
|
+
this.$emit("update:end", event.target.end);
|
|
7049
|
+
this.$emit("input:end", event);
|
|
7050
|
+
}
|
|
7051
|
+
},
|
|
7052
|
+
[
|
|
7053
|
+
// @ts-ignore
|
|
7054
|
+
this.$slots.default && this.$slots.default()
|
|
7055
|
+
]
|
|
7056
|
+
);
|
|
7057
|
+
}
|
|
7058
|
+
});
|
|
7059
|
+
|
|
7060
|
+
const VSelect = vue.defineComponent({
|
|
7061
|
+
name: "VSelect",
|
|
7062
|
+
model: isVue2 ? {
|
|
7063
|
+
prop: "modelValue",
|
|
7064
|
+
event: "update:modelValue"
|
|
7065
|
+
} : void 0,
|
|
7066
|
+
props: {
|
|
7067
|
+
/**
|
|
7068
|
+
* The success text for the form element.
|
|
7069
|
+
*/
|
|
7070
|
+
successText: { type: String, default: void 0 },
|
|
6453
7071
|
/**
|
|
6454
7072
|
* The error text for the form element.
|
|
6455
7073
|
*/
|
|
@@ -8398,547 +9016,10 @@ const VTextArea = vue.defineComponent({
|
|
|
8398
9016
|
/**
|
|
8399
9017
|
* The wrap attribute
|
|
8400
9018
|
*/
|
|
8401
|
-
wrap: {
|
|
8402
|
-
type: String,
|
|
8403
|
-
default: void 0
|
|
8404
|
-
}
|
|
8405
|
-
},
|
|
8406
|
-
emits: [
|
|
8407
|
-
/**
|
|
8408
|
-
* 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.
|
|
8409
|
-
* @type {MouseEvent}
|
|
8410
|
-
*/
|
|
8411
|
-
"click",
|
|
8412
|
-
/**
|
|
8413
|
-
* Fires when the element receives focus.
|
|
8414
|
-
* @type {FocusEvent}
|
|
8415
|
-
*/
|
|
8416
|
-
"focus",
|
|
8417
|
-
/**
|
|
8418
|
-
* Fires when the element loses focus.
|
|
8419
|
-
* @type {FocusEvent}
|
|
8420
|
-
*/
|
|
8421
|
-
"blur",
|
|
8422
|
-
/**
|
|
8423
|
-
* Fires when a key is pressed.
|
|
8424
|
-
* @type {KeyboardEvent}
|
|
8425
|
-
*/
|
|
8426
|
-
"keydown",
|
|
8427
|
-
/**
|
|
8428
|
-
* Fires when a key is released.
|
|
8429
|
-
* @type {KeyboardEvent}
|
|
8430
|
-
*/
|
|
8431
|
-
"keyup",
|
|
8432
|
-
/**
|
|
8433
|
-
* Fires when the value of an element has been changed.
|
|
8434
|
-
* @type {Event}
|
|
8435
|
-
*/
|
|
8436
|
-
"input",
|
|
8437
|
-
/**
|
|
8438
|
-
* Emits a custom 'change' event when the textarea emits a change event
|
|
8439
|
-
* @type {unknown}
|
|
8440
|
-
*/
|
|
8441
|
-
"change",
|
|
8442
|
-
/**
|
|
8443
|
-
* Fires when the value of an element has been changed.
|
|
8444
|
-
* @type {string}
|
|
8445
|
-
*/
|
|
8446
|
-
"update:modelValue"
|
|
8447
|
-
],
|
|
8448
|
-
methods: {
|
|
8449
|
-
/**
|
|
8450
|
-
* Selects all the text in the text area
|
|
8451
|
-
*/
|
|
8452
|
-
select() {
|
|
8453
|
-
return this.element?.select();
|
|
8454
|
-
},
|
|
8455
|
-
/**
|
|
8456
|
-
* {@inheritDoc (FormAssociated:interface).validate}
|
|
8457
|
-
*/
|
|
8458
|
-
validate() {
|
|
8459
|
-
return this.element?.validate();
|
|
8460
|
-
}
|
|
8461
|
-
},
|
|
8462
|
-
setup(props, ctx) {
|
|
8463
|
-
const componentName = registerComponent("text-area", vivid.registerTextArea);
|
|
8464
|
-
const element = vue.ref(null);
|
|
8465
|
-
return { componentName, element };
|
|
8466
|
-
},
|
|
8467
|
-
render() {
|
|
8468
|
-
if (isVue2) {
|
|
8469
|
-
return vue.h(
|
|
8470
|
-
this.componentName,
|
|
8471
|
-
{
|
|
8472
|
-
ref: "element",
|
|
8473
|
-
attrs: {
|
|
8474
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8475
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8476
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8477
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8478
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8479
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8480
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8481
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8482
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8483
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8484
|
-
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
8485
|
-
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
8486
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8487
|
-
...this.form !== void 0 ? { form: this.form } : {},
|
|
8488
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8489
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8490
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8491
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8492
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8493
|
-
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
8494
|
-
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
8495
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8496
|
-
...this.wrap !== void 0 ? { wrap: this.wrap } : {}
|
|
8497
|
-
},
|
|
8498
|
-
class: "vvd-component",
|
|
8499
|
-
on: {
|
|
8500
|
-
click: (event) => this.$emit("click", event),
|
|
8501
|
-
focus: (event) => this.$emit("focus", event),
|
|
8502
|
-
blur: (event) => this.$emit("blur", event),
|
|
8503
|
-
keydown: (event) => this.$emit("keydown", event),
|
|
8504
|
-
keyup: (event) => this.$emit("keyup", event),
|
|
8505
|
-
input: (event) => {
|
|
8506
|
-
this.$emit(
|
|
8507
|
-
"update:modelValue",
|
|
8508
|
-
event.target.value
|
|
8509
|
-
);
|
|
8510
|
-
this.$emit("input", event);
|
|
8511
|
-
},
|
|
8512
|
-
change: (event) => this.$emit("change", event)
|
|
8513
|
-
}
|
|
8514
|
-
},
|
|
8515
|
-
[this.$slots.default]
|
|
8516
|
-
);
|
|
8517
|
-
}
|
|
8518
|
-
return vue.h(
|
|
8519
|
-
this.componentName,
|
|
8520
|
-
{
|
|
8521
|
-
ref: "element",
|
|
8522
|
-
class: "vvd-component",
|
|
8523
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8524
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8525
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8526
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8527
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8528
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8529
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8530
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8531
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8532
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8533
|
-
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
8534
|
-
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
8535
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8536
|
-
...this.form !== void 0 ? { form: this.form } : {},
|
|
8537
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8538
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8539
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8540
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8541
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8542
|
-
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
8543
|
-
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
8544
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8545
|
-
...this.wrap !== void 0 ? { wrap: this.wrap } : {},
|
|
8546
|
-
onClick: (event) => this.$emit("click", event),
|
|
8547
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8548
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8549
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8550
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8551
|
-
onInput: (event) => {
|
|
8552
|
-
this.$emit(
|
|
8553
|
-
"update:modelValue",
|
|
8554
|
-
event.target.value
|
|
8555
|
-
);
|
|
8556
|
-
this.$emit("input", event);
|
|
8557
|
-
},
|
|
8558
|
-
onChange: (event) => this.$emit("change", event)
|
|
8559
|
-
},
|
|
8560
|
-
[
|
|
8561
|
-
// @ts-ignore
|
|
8562
|
-
this.$slots.default && this.$slots.default()
|
|
8563
|
-
]
|
|
8564
|
-
);
|
|
8565
|
-
}
|
|
8566
|
-
});
|
|
8567
|
-
|
|
8568
|
-
const VTextField = vue.defineComponent({
|
|
8569
|
-
name: "VTextField",
|
|
8570
|
-
model: isVue2 ? {
|
|
8571
|
-
prop: "modelValue",
|
|
8572
|
-
event: "update:modelValue"
|
|
8573
|
-
} : void 0,
|
|
8574
|
-
props: {
|
|
8575
|
-
/**
|
|
8576
|
-
* The success text for the form element.
|
|
8577
|
-
*/
|
|
8578
|
-
successText: { type: String, default: void 0 },
|
|
8579
|
-
/**
|
|
8580
|
-
* The helper text for the form element.
|
|
8581
|
-
*/
|
|
8582
|
-
helperText: { type: String, default: void 0 },
|
|
8583
|
-
/**
|
|
8584
|
-
* Whether to show the character count.
|
|
8585
|
-
*/
|
|
8586
|
-
charCount: { type: Boolean, default: void 0 },
|
|
8587
|
-
/**
|
|
8588
|
-
* The label for the form element.
|
|
8589
|
-
*/
|
|
8590
|
-
label: { type: String, default: void 0 },
|
|
8591
|
-
/**
|
|
8592
|
-
* The error text for the form element.
|
|
8593
|
-
*/
|
|
8594
|
-
errorText: { type: String, default: void 0 },
|
|
8595
|
-
/**
|
|
8596
|
-
* A decorative icon the custom element should have.
|
|
8597
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
8598
|
-
*/
|
|
8599
|
-
icon: { type: String, default: void 0 },
|
|
8600
|
-
/**
|
|
8601
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8602
|
-
*/
|
|
8603
|
-
ariaCurrent: {
|
|
8604
|
-
type: String,
|
|
8605
|
-
default: void 0
|
|
8606
|
-
},
|
|
8607
|
-
/**
|
|
8608
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
8609
|
-
*/
|
|
8610
|
-
disabled: { type: Boolean, default: void 0 },
|
|
8611
|
-
/**
|
|
8612
|
-
* The initial value of the form. This value sets the `value` property
|
|
8613
|
-
* only when the `value` property has not been explicitly set.
|
|
8614
|
-
*/
|
|
8615
|
-
value: { type: String, default: void 0 },
|
|
8616
|
-
/**
|
|
8617
|
-
* The current value of the element. This property serves as a mechanism
|
|
8618
|
-
* to set the `value` property through both property assignment and the
|
|
8619
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
8620
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
8621
|
-
* and don't support IDL attribute binding.
|
|
8622
|
-
*/
|
|
8623
|
-
modelValue: { type: String, default: void 0 },
|
|
8624
|
-
/**
|
|
8625
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
8626
|
-
*/
|
|
8627
|
-
name: { type: String, default: void 0 },
|
|
8628
|
-
/**
|
|
8629
|
-
* Require the field to be completed prior to form submission.
|
|
8630
|
-
*/
|
|
8631
|
-
required: { type: Boolean, default: void 0 },
|
|
8632
|
-
/**
|
|
8633
|
-
* 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.
|
|
8634
|
-
*/
|
|
8635
|
-
readonly: { type: Boolean, default: void 0 },
|
|
8636
|
-
/**
|
|
8637
|
-
* Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.
|
|
8638
|
-
*/
|
|
8639
|
-
autofocus: { type: Boolean, default: void 0 },
|
|
8640
|
-
/**
|
|
8641
|
-
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
8642
|
-
*/
|
|
8643
|
-
placeholder: { type: String, default: void 0 },
|
|
8644
|
-
/**
|
|
8645
|
-
* Allows setting a type or mode of text.
|
|
8646
|
-
*/
|
|
8647
|
-
type: {
|
|
8648
|
-
type: String,
|
|
8649
|
-
default: void 0
|
|
8650
|
-
},
|
|
8651
|
-
/**
|
|
8652
|
-
* Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.
|
|
8653
|
-
*/
|
|
8654
|
-
list: { type: String, default: void 0 },
|
|
8655
|
-
/**
|
|
8656
|
-
* The maximum number of characters a user can enter.
|
|
8657
|
-
*/
|
|
8658
|
-
maxlength: { type: Number, default: void 0 },
|
|
8659
|
-
/**
|
|
8660
|
-
* The minimum number of characters a user can enter.
|
|
8661
|
-
*/
|
|
8662
|
-
minlength: { type: Number, default: void 0 },
|
|
8663
|
-
/**
|
|
8664
|
-
* A regular expression that the value must match to pass validation.
|
|
8665
|
-
*/
|
|
8666
|
-
pattern: { type: String, default: void 0 },
|
|
8667
|
-
/**
|
|
8668
|
-
* Sets the width of the element to a specified number of characters.
|
|
8669
|
-
*/
|
|
8670
|
-
size: { type: Number, default: void 0 },
|
|
8671
|
-
/**
|
|
8672
|
-
* Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
|
|
8673
|
-
*/
|
|
8674
|
-
spellcheck: { type: Boolean, default: void 0 },
|
|
8675
|
-
appearance: {
|
|
8676
|
-
type: String,
|
|
8677
|
-
default: void 0
|
|
8678
|
-
},
|
|
8679
|
-
shape: { type: String, default: void 0 },
|
|
8680
|
-
autoComplete: { type: String, default: void 0 }
|
|
8681
|
-
},
|
|
8682
|
-
emits: [
|
|
8683
|
-
/**
|
|
8684
|
-
* 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.
|
|
8685
|
-
* @type {MouseEvent}
|
|
8686
|
-
*/
|
|
8687
|
-
"click",
|
|
8688
|
-
/**
|
|
8689
|
-
* Fires when the element receives focus.
|
|
8690
|
-
* @type {FocusEvent}
|
|
8691
|
-
*/
|
|
8692
|
-
"focus",
|
|
8693
|
-
/**
|
|
8694
|
-
* Fires when the element loses focus.
|
|
8695
|
-
* @type {FocusEvent}
|
|
8696
|
-
*/
|
|
8697
|
-
"blur",
|
|
8698
|
-
/**
|
|
8699
|
-
* Fires when a key is pressed.
|
|
8700
|
-
* @type {KeyboardEvent}
|
|
8701
|
-
*/
|
|
8702
|
-
"keydown",
|
|
8703
|
-
/**
|
|
8704
|
-
* Fires when a key is released.
|
|
8705
|
-
* @type {KeyboardEvent}
|
|
8706
|
-
*/
|
|
8707
|
-
"keyup",
|
|
8708
|
-
/**
|
|
8709
|
-
* Fires when the value of an element has been changed.
|
|
8710
|
-
* @type {Event}
|
|
8711
|
-
*/
|
|
8712
|
-
"input",
|
|
8713
|
-
/**
|
|
8714
|
-
* Fires a custom 'change' event when the value has changed
|
|
8715
|
-
* @type {unknown}
|
|
8716
|
-
*/
|
|
8717
|
-
"change",
|
|
8718
|
-
/**
|
|
8719
|
-
* Fires when the value of an element has been changed.
|
|
8720
|
-
* @type {string}
|
|
8721
|
-
*/
|
|
8722
|
-
"update:modelValue"
|
|
8723
|
-
],
|
|
8724
|
-
methods: {
|
|
8725
|
-
/**
|
|
8726
|
-
* Selects all the text in the text field
|
|
8727
|
-
*/
|
|
8728
|
-
select() {
|
|
8729
|
-
return this.element?.select();
|
|
8730
|
-
},
|
|
8731
|
-
/**
|
|
8732
|
-
* {@inheritDoc (FormAssociated:interface).validate}
|
|
8733
|
-
*/
|
|
8734
|
-
validate() {
|
|
8735
|
-
return this.element?.validate();
|
|
8736
|
-
},
|
|
8737
|
-
focus() {
|
|
8738
|
-
return this.element?.focus();
|
|
8739
|
-
}
|
|
8740
|
-
},
|
|
8741
|
-
setup(props, ctx) {
|
|
8742
|
-
const componentName = registerComponent("text-field", vivid.registerTextField);
|
|
8743
|
-
const element = vue.ref(null);
|
|
8744
|
-
return { componentName, element };
|
|
8745
|
-
},
|
|
8746
|
-
render() {
|
|
8747
|
-
if (isVue2) {
|
|
8748
|
-
return vue.h(
|
|
8749
|
-
this.componentName,
|
|
8750
|
-
{
|
|
8751
|
-
ref: "element",
|
|
8752
|
-
attrs: {
|
|
8753
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8754
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8755
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8756
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8757
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8758
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8759
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8760
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8761
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8762
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8763
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8764
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8765
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
8766
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8767
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8768
|
-
...this.type !== void 0 ? { type: this.type } : {},
|
|
8769
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8770
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8771
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8772
|
-
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
8773
|
-
...this.size !== void 0 ? { size: this.size } : {},
|
|
8774
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8775
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8776
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8777
|
-
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {}
|
|
8778
|
-
},
|
|
8779
|
-
class: "vvd-component",
|
|
8780
|
-
on: {
|
|
8781
|
-
click: (event) => this.$emit("click", event),
|
|
8782
|
-
focus: (event) => this.$emit("focus", event),
|
|
8783
|
-
blur: (event) => this.$emit("blur", event),
|
|
8784
|
-
keydown: (event) => this.$emit("keydown", event),
|
|
8785
|
-
keyup: (event) => this.$emit("keyup", event),
|
|
8786
|
-
input: (event) => {
|
|
8787
|
-
this.$emit(
|
|
8788
|
-
"update:modelValue",
|
|
8789
|
-
event.target.value
|
|
8790
|
-
);
|
|
8791
|
-
this.$emit("input", event);
|
|
8792
|
-
},
|
|
8793
|
-
change: (event) => this.$emit("change", event)
|
|
8794
|
-
}
|
|
8795
|
-
},
|
|
8796
|
-
[
|
|
8797
|
-
this.$slots.default,
|
|
8798
|
-
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
8799
|
-
handleNamedSlot(
|
|
8800
|
-
"leading-action-items",
|
|
8801
|
-
this.$slots["leading-action-items"]
|
|
8802
|
-
),
|
|
8803
|
-
// @slot action-items Used to add action items to the end of the text-field.
|
|
8804
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
8805
|
-
]
|
|
8806
|
-
);
|
|
8807
|
-
}
|
|
8808
|
-
return vue.h(
|
|
8809
|
-
this.componentName,
|
|
8810
|
-
{
|
|
8811
|
-
ref: "element",
|
|
8812
|
-
class: "vvd-component",
|
|
8813
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8814
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8815
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8816
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8817
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8818
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8819
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8820
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8821
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8822
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8823
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8824
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8825
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
8826
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8827
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8828
|
-
...this.type !== void 0 ? { type: this.type } : {},
|
|
8829
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8830
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8831
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8832
|
-
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
8833
|
-
...this.size !== void 0 ? { size: this.size } : {},
|
|
8834
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8835
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8836
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8837
|
-
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {},
|
|
8838
|
-
onClick: (event) => this.$emit("click", event),
|
|
8839
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8840
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8841
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8842
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8843
|
-
onInput: (event) => {
|
|
8844
|
-
this.$emit(
|
|
8845
|
-
"update:modelValue",
|
|
8846
|
-
event.target.value
|
|
8847
|
-
);
|
|
8848
|
-
this.$emit("input", event);
|
|
8849
|
-
},
|
|
8850
|
-
onChange: (event) => this.$emit("change", event)
|
|
8851
|
-
},
|
|
8852
|
-
[
|
|
8853
|
-
// @ts-ignore
|
|
8854
|
-
this.$slots.default && this.$slots.default(),
|
|
8855
|
-
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
8856
|
-
handleNamedSlot(
|
|
8857
|
-
"leading-action-items",
|
|
8858
|
-
this.$slots["leading-action-items"]
|
|
8859
|
-
),
|
|
8860
|
-
// @slot action-items Used to add action items to the end of the text-field.
|
|
8861
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
8862
|
-
]
|
|
8863
|
-
);
|
|
8864
|
-
}
|
|
8865
|
-
});
|
|
8866
|
-
|
|
8867
|
-
const VTimePicker = vue.defineComponent({
|
|
8868
|
-
name: "VTimePicker",
|
|
8869
|
-
model: isVue2 ? {
|
|
8870
|
-
prop: "modelValue",
|
|
8871
|
-
event: "update:modelValue"
|
|
8872
|
-
} : void 0,
|
|
8873
|
-
props: {
|
|
8874
|
-
/**
|
|
8875
|
-
* The helper text for the form element.
|
|
8876
|
-
*/
|
|
8877
|
-
helperText: { type: String, default: void 0 },
|
|
8878
|
-
/**
|
|
8879
|
-
* The label for the form element.
|
|
8880
|
-
*/
|
|
8881
|
-
label: { type: String, default: void 0 },
|
|
8882
|
-
/**
|
|
8883
|
-
* The error text for the form element.
|
|
8884
|
-
*/
|
|
8885
|
-
errorText: { type: String, default: void 0 },
|
|
8886
|
-
/**
|
|
8887
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8888
|
-
*/
|
|
8889
|
-
ariaCurrent: {
|
|
8890
|
-
type: String,
|
|
8891
|
-
default: void 0
|
|
8892
|
-
},
|
|
8893
|
-
/**
|
|
8894
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
8895
|
-
*/
|
|
8896
|
-
disabled: { type: Boolean, default: void 0 },
|
|
8897
|
-
/**
|
|
8898
|
-
* The initial value of the form. This value sets the `value` property
|
|
8899
|
-
* only when the `value` property has not been explicitly set.
|
|
8900
|
-
*/
|
|
8901
|
-
value: { type: String, default: void 0 },
|
|
8902
|
-
/**
|
|
8903
|
-
* The current value of the element. This property serves as a mechanism
|
|
8904
|
-
* to set the `value` property through both property assignment and the
|
|
8905
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
8906
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
8907
|
-
* and don't support IDL attribute binding.
|
|
8908
|
-
*/
|
|
8909
|
-
modelValue: { type: String, default: void 0 },
|
|
8910
|
-
/**
|
|
8911
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
8912
|
-
*/
|
|
8913
|
-
name: { type: String, default: void 0 },
|
|
8914
|
-
/**
|
|
8915
|
-
* Require the field to be completed prior to form submission.
|
|
8916
|
-
*/
|
|
8917
|
-
required: { type: Boolean, default: void 0 },
|
|
8918
|
-
/**
|
|
8919
|
-
* Whether the time-picker is readonly.
|
|
8920
|
-
*/
|
|
8921
|
-
readonly: { type: Boolean, default: void 0 },
|
|
8922
|
-
/**
|
|
8923
|
-
* Distance between presented minute options.
|
|
8924
|
-
*/
|
|
8925
|
-
minutesStep: { type: Number, default: void 0 },
|
|
8926
|
-
/**
|
|
8927
|
-
* Distance between presented seconds options. If null, seconds are not presented.
|
|
8928
|
-
*/
|
|
8929
|
-
secondsStep: { type: Number, default: void 0 },
|
|
8930
|
-
/**
|
|
8931
|
-
* Forces the time-picker to use a 12h or 24h clock.
|
|
8932
|
-
*/
|
|
8933
|
-
clock: { type: String, default: void 0 },
|
|
8934
|
-
/**
|
|
8935
|
-
* The earliest accepted time of the time-picker.
|
|
8936
|
-
*/
|
|
8937
|
-
min: { type: String, default: void 0 },
|
|
8938
|
-
/**
|
|
8939
|
-
* The latest accepted time of the time-picker.
|
|
8940
|
-
*/
|
|
8941
|
-
max: { type: String, default: void 0 }
|
|
9019
|
+
wrap: {
|
|
9020
|
+
type: String,
|
|
9021
|
+
default: void 0
|
|
9022
|
+
}
|
|
8942
9023
|
},
|
|
8943
9024
|
emits: [
|
|
8944
9025
|
/**
|
|
@@ -8972,7 +9053,7 @@ const VTimePicker = vue.defineComponent({
|
|
|
8972
9053
|
*/
|
|
8973
9054
|
"input",
|
|
8974
9055
|
/**
|
|
8975
|
-
*
|
|
9056
|
+
* Emits a custom 'change' event when the textarea emits a change event
|
|
8976
9057
|
* @type {unknown}
|
|
8977
9058
|
*/
|
|
8978
9059
|
"change",
|
|
@@ -8982,9 +9063,22 @@ const VTimePicker = vue.defineComponent({
|
|
|
8982
9063
|
*/
|
|
8983
9064
|
"update:modelValue"
|
|
8984
9065
|
],
|
|
8985
|
-
methods: {
|
|
9066
|
+
methods: {
|
|
9067
|
+
/**
|
|
9068
|
+
* Selects all the text in the text area
|
|
9069
|
+
*/
|
|
9070
|
+
select() {
|
|
9071
|
+
return this.element?.select();
|
|
9072
|
+
},
|
|
9073
|
+
/**
|
|
9074
|
+
* {@inheritDoc (FormAssociated:interface).validate}
|
|
9075
|
+
*/
|
|
9076
|
+
validate() {
|
|
9077
|
+
return this.element?.validate();
|
|
9078
|
+
}
|
|
9079
|
+
},
|
|
8986
9080
|
setup(props, ctx) {
|
|
8987
|
-
const componentName = registerComponent("
|
|
9081
|
+
const componentName = registerComponent("text-area", vivid.registerTextArea);
|
|
8988
9082
|
const element = vue.ref(null);
|
|
8989
9083
|
return { componentName, element };
|
|
8990
9084
|
},
|
|
@@ -8995,21 +9089,29 @@ const VTimePicker = vue.defineComponent({
|
|
|
8995
9089
|
{
|
|
8996
9090
|
ref: "element",
|
|
8997
9091
|
attrs: {
|
|
9092
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8998
9093
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8999
|
-
...this.
|
|
9094
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9000
9095
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9096
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9001
9097
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9002
9098
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9003
9099
|
...this.value !== void 0 ? { value: this.value } : {},
|
|
9004
9100
|
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9005
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
9006
9101
|
...this.required !== void 0 ? { required: this.required } : {},
|
|
9007
|
-
...this.
|
|
9008
|
-
...this.
|
|
9009
|
-
...this.
|
|
9010
|
-
...this.
|
|
9011
|
-
...this.
|
|
9012
|
-
...this.
|
|
9102
|
+
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
9103
|
+
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
9104
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9105
|
+
...this.form !== void 0 ? { form: this.form } : {},
|
|
9106
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9107
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9108
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9109
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9110
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9111
|
+
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
9112
|
+
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
9113
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9114
|
+
...this.wrap !== void 0 ? { wrap: this.wrap } : {}
|
|
9013
9115
|
},
|
|
9014
9116
|
class: "vvd-component",
|
|
9015
9117
|
on: {
|
|
@@ -9036,21 +9138,29 @@ const VTimePicker = vue.defineComponent({
|
|
|
9036
9138
|
{
|
|
9037
9139
|
ref: "element",
|
|
9038
9140
|
class: "vvd-component",
|
|
9141
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9039
9142
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9040
|
-
...this.
|
|
9143
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9041
9144
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9145
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9042
9146
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9043
9147
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9044
9148
|
...this.value !== void 0 ? { value: this.value } : {},
|
|
9045
9149
|
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9046
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
9047
9150
|
...this.required !== void 0 ? { required: this.required } : {},
|
|
9048
|
-
...this.
|
|
9049
|
-
...this.
|
|
9050
|
-
...this.
|
|
9051
|
-
...this.
|
|
9052
|
-
...this.
|
|
9053
|
-
...this.
|
|
9151
|
+
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
9152
|
+
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
9153
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9154
|
+
...this.form !== void 0 ? { form: this.form } : {},
|
|
9155
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9156
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9157
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9158
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9159
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9160
|
+
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
9161
|
+
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
9162
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9163
|
+
...this.wrap !== void 0 ? { wrap: this.wrap } : {},
|
|
9054
9164
|
onClick: (event) => this.$emit("click", event),
|
|
9055
9165
|
onFocus: (event) => this.$emit("focus", event),
|
|
9056
9166
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -9073,16 +9183,38 @@ const VTimePicker = vue.defineComponent({
|
|
|
9073
9183
|
}
|
|
9074
9184
|
});
|
|
9075
9185
|
|
|
9076
|
-
const
|
|
9077
|
-
name: "
|
|
9186
|
+
const VTextField = vue.defineComponent({
|
|
9187
|
+
name: "VTextField",
|
|
9188
|
+
model: isVue2 ? {
|
|
9189
|
+
prop: "modelValue",
|
|
9190
|
+
event: "update:modelValue"
|
|
9191
|
+
} : void 0,
|
|
9078
9192
|
props: {
|
|
9079
9193
|
/**
|
|
9080
|
-
*
|
|
9194
|
+
* The success text for the form element.
|
|
9081
9195
|
*/
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9196
|
+
successText: { type: String, default: void 0 },
|
|
9197
|
+
/**
|
|
9198
|
+
* The helper text for the form element.
|
|
9199
|
+
*/
|
|
9200
|
+
helperText: { type: String, default: void 0 },
|
|
9201
|
+
/**
|
|
9202
|
+
* Whether to show the character count.
|
|
9203
|
+
*/
|
|
9204
|
+
charCount: { type: Boolean, default: void 0 },
|
|
9205
|
+
/**
|
|
9206
|
+
* The label for the form element.
|
|
9207
|
+
*/
|
|
9208
|
+
label: { type: String, default: void 0 },
|
|
9209
|
+
/**
|
|
9210
|
+
* The error text for the form element.
|
|
9211
|
+
*/
|
|
9212
|
+
errorText: { type: String, default: void 0 },
|
|
9213
|
+
/**
|
|
9214
|
+
* A decorative icon the custom element should have.
|
|
9215
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9216
|
+
*/
|
|
9217
|
+
icon: { type: String, default: void 0 },
|
|
9086
9218
|
/**
|
|
9087
9219
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9088
9220
|
*/
|
|
@@ -9091,24 +9223,79 @@ const VToggletip = vue.defineComponent({
|
|
|
9091
9223
|
default: void 0
|
|
9092
9224
|
},
|
|
9093
9225
|
/**
|
|
9094
|
-
* the
|
|
9226
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9095
9227
|
*/
|
|
9096
|
-
|
|
9228
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9097
9229
|
/**
|
|
9098
|
-
*
|
|
9230
|
+
* The initial value of the form. This value sets the `value` property
|
|
9231
|
+
* only when the `value` property has not been explicitly set.
|
|
9099
9232
|
*/
|
|
9100
|
-
|
|
9233
|
+
value: { type: String, default: void 0 },
|
|
9101
9234
|
/**
|
|
9102
|
-
*
|
|
9235
|
+
* The current value of the element. This property serves as a mechanism
|
|
9236
|
+
* to set the `value` property through both property assignment and the
|
|
9237
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
9238
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
9239
|
+
* and don't support IDL attribute binding.
|
|
9103
9240
|
*/
|
|
9104
|
-
|
|
9241
|
+
modelValue: { type: String, default: void 0 },
|
|
9242
|
+
/**
|
|
9243
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
9244
|
+
*/
|
|
9245
|
+
name: { type: String, default: void 0 },
|
|
9246
|
+
/**
|
|
9247
|
+
* Require the field to be completed prior to form submission.
|
|
9248
|
+
*/
|
|
9249
|
+
required: { type: Boolean, default: void 0 },
|
|
9250
|
+
/**
|
|
9251
|
+
* 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.
|
|
9252
|
+
*/
|
|
9253
|
+
readonly: { type: Boolean, default: void 0 },
|
|
9254
|
+
/**
|
|
9255
|
+
* Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.
|
|
9256
|
+
*/
|
|
9257
|
+
autofocus: { type: Boolean, default: void 0 },
|
|
9258
|
+
/**
|
|
9259
|
+
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
9260
|
+
*/
|
|
9261
|
+
placeholder: { type: String, default: void 0 },
|
|
9262
|
+
/**
|
|
9263
|
+
* Allows setting a type or mode of text.
|
|
9264
|
+
*/
|
|
9265
|
+
type: {
|
|
9105
9266
|
type: String,
|
|
9106
9267
|
default: void 0
|
|
9107
9268
|
},
|
|
9108
9269
|
/**
|
|
9109
|
-
*
|
|
9270
|
+
* Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.
|
|
9110
9271
|
*/
|
|
9111
|
-
|
|
9272
|
+
list: { type: String, default: void 0 },
|
|
9273
|
+
/**
|
|
9274
|
+
* The maximum number of characters a user can enter.
|
|
9275
|
+
*/
|
|
9276
|
+
maxlength: { type: Number, default: void 0 },
|
|
9277
|
+
/**
|
|
9278
|
+
* The minimum number of characters a user can enter.
|
|
9279
|
+
*/
|
|
9280
|
+
minlength: { type: Number, default: void 0 },
|
|
9281
|
+
/**
|
|
9282
|
+
* A regular expression that the value must match to pass validation.
|
|
9283
|
+
*/
|
|
9284
|
+
pattern: { type: String, default: void 0 },
|
|
9285
|
+
/**
|
|
9286
|
+
* Sets the width of the element to a specified number of characters.
|
|
9287
|
+
*/
|
|
9288
|
+
size: { type: Number, default: void 0 },
|
|
9289
|
+
/**
|
|
9290
|
+
* Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
|
|
9291
|
+
*/
|
|
9292
|
+
spellcheck: { type: Boolean, default: void 0 },
|
|
9293
|
+
appearance: {
|
|
9294
|
+
type: String,
|
|
9295
|
+
default: void 0
|
|
9296
|
+
},
|
|
9297
|
+
shape: { type: String, default: void 0 },
|
|
9298
|
+
autoComplete: { type: String, default: void 0 }
|
|
9112
9299
|
},
|
|
9113
9300
|
emits: [
|
|
9114
9301
|
/**
|
|
@@ -9140,15 +9327,37 @@ const VToggletip = vue.defineComponent({
|
|
|
9140
9327
|
* Fires when the value of an element has been changed.
|
|
9141
9328
|
* @type {Event}
|
|
9142
9329
|
*/
|
|
9143
|
-
"input"
|
|
9330
|
+
"input",
|
|
9331
|
+
/**
|
|
9332
|
+
* Fires a custom 'change' event when the value has changed
|
|
9333
|
+
* @type {unknown}
|
|
9334
|
+
*/
|
|
9335
|
+
"change",
|
|
9336
|
+
/**
|
|
9337
|
+
* Fires when the value of an element has been changed.
|
|
9338
|
+
* @type {string}
|
|
9339
|
+
*/
|
|
9340
|
+
"update:modelValue"
|
|
9144
9341
|
],
|
|
9145
9342
|
methods: {
|
|
9146
|
-
|
|
9147
|
-
|
|
9343
|
+
/**
|
|
9344
|
+
* Selects all the text in the text field
|
|
9345
|
+
*/
|
|
9346
|
+
select() {
|
|
9347
|
+
return this.element?.select();
|
|
9348
|
+
},
|
|
9349
|
+
/**
|
|
9350
|
+
* {@inheritDoc (FormAssociated:interface).validate}
|
|
9351
|
+
*/
|
|
9352
|
+
validate() {
|
|
9353
|
+
return this.element?.validate();
|
|
9354
|
+
},
|
|
9355
|
+
focus() {
|
|
9356
|
+
return this.element?.focus();
|
|
9148
9357
|
}
|
|
9149
9358
|
},
|
|
9150
9359
|
setup(props, ctx) {
|
|
9151
|
-
const componentName = registerComponent("
|
|
9360
|
+
const componentName = registerComponent("text-field", vivid.registerTextField);
|
|
9152
9361
|
const element = vue.ref(null);
|
|
9153
9362
|
return { componentName, element };
|
|
9154
9363
|
},
|
|
@@ -9159,28 +9368,57 @@ const VToggletip = vue.defineComponent({
|
|
|
9159
9368
|
{
|
|
9160
9369
|
ref: "element",
|
|
9161
9370
|
attrs: {
|
|
9371
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9372
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9373
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9374
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9375
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9376
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9162
9377
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9163
|
-
...this.
|
|
9164
|
-
...this.
|
|
9165
|
-
...this.
|
|
9166
|
-
...this.
|
|
9378
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9379
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9380
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9381
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9382
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9383
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9384
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9385
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9386
|
+
...this.type !== void 0 ? { type: this.type } : {},
|
|
9387
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9388
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9389
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9390
|
+
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
9391
|
+
...this.size !== void 0 ? { size: this.size } : {},
|
|
9392
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9393
|
+
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
9394
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
9395
|
+
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {}
|
|
9167
9396
|
},
|
|
9168
9397
|
class: "vvd-component",
|
|
9169
|
-
domProps: {
|
|
9170
|
-
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9171
|
-
},
|
|
9172
9398
|
on: {
|
|
9173
9399
|
click: (event) => this.$emit("click", event),
|
|
9174
9400
|
focus: (event) => this.$emit("focus", event),
|
|
9175
9401
|
blur: (event) => this.$emit("blur", event),
|
|
9176
9402
|
keydown: (event) => this.$emit("keydown", event),
|
|
9177
9403
|
keyup: (event) => this.$emit("keyup", event),
|
|
9178
|
-
input: (event) =>
|
|
9404
|
+
input: (event) => {
|
|
9405
|
+
this.$emit(
|
|
9406
|
+
"update:modelValue",
|
|
9407
|
+
event.target.value
|
|
9408
|
+
);
|
|
9409
|
+
this.$emit("input", event);
|
|
9410
|
+
},
|
|
9411
|
+
change: (event) => this.$emit("change", event)
|
|
9179
9412
|
}
|
|
9180
9413
|
},
|
|
9181
9414
|
[
|
|
9182
9415
|
this.$slots.default,
|
|
9183
|
-
// @slot action-items
|
|
9416
|
+
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
9417
|
+
handleNamedSlot(
|
|
9418
|
+
"leading-action-items",
|
|
9419
|
+
this.$slots["leading-action-items"]
|
|
9420
|
+
),
|
|
9421
|
+
// @slot action-items Used to add action items to the end of the text-field.
|
|
9184
9422
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9185
9423
|
]
|
|
9186
9424
|
);
|
|
@@ -9190,39 +9428,79 @@ const VToggletip = vue.defineComponent({
|
|
|
9190
9428
|
{
|
|
9191
9429
|
ref: "element",
|
|
9192
9430
|
class: "vvd-component",
|
|
9193
|
-
...this.
|
|
9431
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9432
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9433
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9434
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9435
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9436
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9194
9437
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9195
|
-
...this.
|
|
9196
|
-
...this.
|
|
9197
|
-
...this.
|
|
9198
|
-
...this.
|
|
9438
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9439
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9440
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9441
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9442
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9443
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9444
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9445
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9446
|
+
...this.type !== void 0 ? { type: this.type } : {},
|
|
9447
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9448
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9449
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9450
|
+
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
9451
|
+
...this.size !== void 0 ? { size: this.size } : {},
|
|
9452
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9453
|
+
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
9454
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
9455
|
+
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {},
|
|
9199
9456
|
onClick: (event) => this.$emit("click", event),
|
|
9200
9457
|
onFocus: (event) => this.$emit("focus", event),
|
|
9201
9458
|
onBlur: (event) => this.$emit("blur", event),
|
|
9202
9459
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9203
9460
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9204
|
-
onInput: (event) =>
|
|
9461
|
+
onInput: (event) => {
|
|
9462
|
+
this.$emit(
|
|
9463
|
+
"update:modelValue",
|
|
9464
|
+
event.target.value
|
|
9465
|
+
);
|
|
9466
|
+
this.$emit("input", event);
|
|
9467
|
+
},
|
|
9468
|
+
onChange: (event) => this.$emit("change", event)
|
|
9205
9469
|
},
|
|
9206
9470
|
[
|
|
9207
9471
|
// @ts-ignore
|
|
9208
9472
|
this.$slots.default && this.$slots.default(),
|
|
9209
|
-
// @slot action-items
|
|
9473
|
+
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
9474
|
+
handleNamedSlot(
|
|
9475
|
+
"leading-action-items",
|
|
9476
|
+
this.$slots["leading-action-items"]
|
|
9477
|
+
),
|
|
9478
|
+
// @slot action-items Used to add action items to the end of the text-field.
|
|
9210
9479
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9211
9480
|
]
|
|
9212
9481
|
);
|
|
9213
9482
|
}
|
|
9214
9483
|
});
|
|
9215
9484
|
|
|
9216
|
-
const
|
|
9217
|
-
name: "
|
|
9485
|
+
const VTimePicker = vue.defineComponent({
|
|
9486
|
+
name: "VTimePicker",
|
|
9487
|
+
model: isVue2 ? {
|
|
9488
|
+
prop: "modelValue",
|
|
9489
|
+
event: "update:modelValue"
|
|
9490
|
+
} : void 0,
|
|
9218
9491
|
props: {
|
|
9219
9492
|
/**
|
|
9220
|
-
*
|
|
9493
|
+
* The helper text for the form element.
|
|
9221
9494
|
*/
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9495
|
+
helperText: { type: String, default: void 0 },
|
|
9496
|
+
/**
|
|
9497
|
+
* The label for the form element.
|
|
9498
|
+
*/
|
|
9499
|
+
label: { type: String, default: void 0 },
|
|
9500
|
+
/**
|
|
9501
|
+
* The error text for the form element.
|
|
9502
|
+
*/
|
|
9503
|
+
errorText: { type: String, default: void 0 },
|
|
9226
9504
|
/**
|
|
9227
9505
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9228
9506
|
*/
|
|
@@ -9231,15 +9509,54 @@ const VTooltip = vue.defineComponent({
|
|
|
9231
9509
|
default: void 0
|
|
9232
9510
|
},
|
|
9233
9511
|
/**
|
|
9234
|
-
* the
|
|
9235
|
-
* accepts string
|
|
9512
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9236
9513
|
*/
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9514
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9515
|
+
/**
|
|
9516
|
+
* The initial value of the form. This value sets the `value` property
|
|
9517
|
+
* only when the `value` property has not been explicitly set.
|
|
9518
|
+
*/
|
|
9519
|
+
value: { type: String, default: void 0 },
|
|
9520
|
+
/**
|
|
9521
|
+
* The current value of the element. This property serves as a mechanism
|
|
9522
|
+
* to set the `value` property through both property assignment and the
|
|
9523
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
9524
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
9525
|
+
* and don't support IDL attribute binding.
|
|
9526
|
+
*/
|
|
9527
|
+
modelValue: { type: String, default: void 0 },
|
|
9528
|
+
/**
|
|
9529
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
9530
|
+
*/
|
|
9531
|
+
name: { type: String, default: void 0 },
|
|
9532
|
+
/**
|
|
9533
|
+
* Require the field to be completed prior to form submission.
|
|
9534
|
+
*/
|
|
9535
|
+
required: { type: Boolean, default: void 0 },
|
|
9536
|
+
/**
|
|
9537
|
+
* Whether the time-picker is readonly.
|
|
9538
|
+
*/
|
|
9539
|
+
readonly: { type: Boolean, default: void 0 },
|
|
9540
|
+
/**
|
|
9541
|
+
* Distance between presented minute options.
|
|
9542
|
+
*/
|
|
9543
|
+
minutesStep: { type: Number, default: void 0 },
|
|
9544
|
+
/**
|
|
9545
|
+
* Distance between presented seconds options. If null, seconds are not presented.
|
|
9546
|
+
*/
|
|
9547
|
+
secondsStep: { type: Number, default: void 0 },
|
|
9548
|
+
/**
|
|
9549
|
+
* Forces the time-picker to use a 12h or 24h clock.
|
|
9550
|
+
*/
|
|
9551
|
+
clock: { type: String, default: void 0 },
|
|
9552
|
+
/**
|
|
9553
|
+
* The earliest accepted time of the time-picker.
|
|
9554
|
+
*/
|
|
9555
|
+
min: { type: String, default: void 0 },
|
|
9556
|
+
/**
|
|
9557
|
+
* The latest accepted time of the time-picker.
|
|
9558
|
+
*/
|
|
9559
|
+
max: { type: String, default: void 0 }
|
|
9243
9560
|
},
|
|
9244
9561
|
emits: [
|
|
9245
9562
|
/**
|
|
@@ -9271,11 +9588,21 @@ const VTooltip = vue.defineComponent({
|
|
|
9271
9588
|
* Fires when the value of an element has been changed.
|
|
9272
9589
|
* @type {Event}
|
|
9273
9590
|
*/
|
|
9274
|
-
"input"
|
|
9591
|
+
"input",
|
|
9592
|
+
/**
|
|
9593
|
+
* Emitted when the time is changed by the user.
|
|
9594
|
+
* @type {unknown}
|
|
9595
|
+
*/
|
|
9596
|
+
"change",
|
|
9597
|
+
/**
|
|
9598
|
+
* Fires when the value of an element has been changed.
|
|
9599
|
+
* @type {string}
|
|
9600
|
+
*/
|
|
9601
|
+
"update:modelValue"
|
|
9275
9602
|
],
|
|
9276
9603
|
methods: {},
|
|
9277
9604
|
setup(props, ctx) {
|
|
9278
|
-
const componentName = registerComponent("
|
|
9605
|
+
const componentName = registerComponent("time-picker", vivid.registerTimePicker);
|
|
9279
9606
|
const element = vue.ref(null);
|
|
9280
9607
|
return { componentName, element };
|
|
9281
9608
|
},
|
|
@@ -9286,22 +9613,37 @@ const VTooltip = vue.defineComponent({
|
|
|
9286
9613
|
{
|
|
9287
9614
|
ref: "element",
|
|
9288
9615
|
attrs: {
|
|
9616
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9617
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9618
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9289
9619
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9290
|
-
...this.
|
|
9291
|
-
...this.
|
|
9292
|
-
...this.
|
|
9620
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9621
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9622
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9623
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9624
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9625
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9626
|
+
...this.minutesStep !== void 0 ? { "minutes-step": this.minutesStep } : {},
|
|
9627
|
+
...this.secondsStep !== void 0 ? { "seconds-step": this.secondsStep } : {},
|
|
9628
|
+
...this.clock !== void 0 ? { clock: this.clock } : {},
|
|
9629
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
9630
|
+
...this.max !== void 0 ? { max: this.max } : {}
|
|
9293
9631
|
},
|
|
9294
9632
|
class: "vvd-component",
|
|
9295
|
-
domProps: {
|
|
9296
|
-
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9297
|
-
},
|
|
9298
9633
|
on: {
|
|
9299
9634
|
click: (event) => this.$emit("click", event),
|
|
9300
9635
|
focus: (event) => this.$emit("focus", event),
|
|
9301
9636
|
blur: (event) => this.$emit("blur", event),
|
|
9302
9637
|
keydown: (event) => this.$emit("keydown", event),
|
|
9303
9638
|
keyup: (event) => this.$emit("keyup", event),
|
|
9304
|
-
input: (event) =>
|
|
9639
|
+
input: (event) => {
|
|
9640
|
+
this.$emit(
|
|
9641
|
+
"update:modelValue",
|
|
9642
|
+
event.target.value
|
|
9643
|
+
);
|
|
9644
|
+
this.$emit("input", event);
|
|
9645
|
+
},
|
|
9646
|
+
change: (event) => this.$emit("change", event)
|
|
9305
9647
|
}
|
|
9306
9648
|
},
|
|
9307
9649
|
[this.$slots.default]
|
|
@@ -9312,17 +9654,34 @@ const VTooltip = vue.defineComponent({
|
|
|
9312
9654
|
{
|
|
9313
9655
|
ref: "element",
|
|
9314
9656
|
class: "vvd-component",
|
|
9315
|
-
...this.
|
|
9657
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9658
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9659
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9316
9660
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9317
|
-
...this.
|
|
9318
|
-
...this.
|
|
9319
|
-
...this.
|
|
9661
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9662
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9663
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9664
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9665
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9666
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9667
|
+
...this.minutesStep !== void 0 ? { "minutes-step": this.minutesStep } : {},
|
|
9668
|
+
...this.secondsStep !== void 0 ? { "seconds-step": this.secondsStep } : {},
|
|
9669
|
+
...this.clock !== void 0 ? { clock: this.clock } : {},
|
|
9670
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
9671
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
9320
9672
|
onClick: (event) => this.$emit("click", event),
|
|
9321
9673
|
onFocus: (event) => this.$emit("focus", event),
|
|
9322
9674
|
onBlur: (event) => this.$emit("blur", event),
|
|
9323
9675
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9324
9676
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9325
|
-
onInput: (event) =>
|
|
9677
|
+
onInput: (event) => {
|
|
9678
|
+
this.$emit(
|
|
9679
|
+
"update:modelValue",
|
|
9680
|
+
event.target.value
|
|
9681
|
+
);
|
|
9682
|
+
this.$emit("input", event);
|
|
9683
|
+
},
|
|
9684
|
+
onChange: (event) => this.$emit("change", event)
|
|
9326
9685
|
},
|
|
9327
9686
|
[
|
|
9328
9687
|
// @ts-ignore
|
|
@@ -9332,14 +9691,16 @@ const VTooltip = vue.defineComponent({
|
|
|
9332
9691
|
}
|
|
9333
9692
|
});
|
|
9334
9693
|
|
|
9335
|
-
const
|
|
9336
|
-
name: "
|
|
9694
|
+
const VToggletip = vue.defineComponent({
|
|
9695
|
+
name: "VToggletip",
|
|
9337
9696
|
props: {
|
|
9338
9697
|
/**
|
|
9339
|
-
*
|
|
9340
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9698
|
+
* ID or direct reference to the component's anchor element.
|
|
9341
9699
|
*/
|
|
9342
|
-
|
|
9700
|
+
anchor: {
|
|
9701
|
+
type: [String, HTMLElement],
|
|
9702
|
+
default: void 0
|
|
9703
|
+
},
|
|
9343
9704
|
/**
|
|
9344
9705
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9345
9706
|
*/
|
|
@@ -9348,21 +9709,24 @@ const VTreeItem = vue.defineComponent({
|
|
|
9348
9709
|
default: void 0
|
|
9349
9710
|
},
|
|
9350
9711
|
/**
|
|
9351
|
-
*
|
|
9712
|
+
* the optional title of the toggletip
|
|
9352
9713
|
*/
|
|
9353
|
-
|
|
9714
|
+
headline: { type: String, default: void 0 },
|
|
9354
9715
|
/**
|
|
9355
|
-
*
|
|
9716
|
+
* toggle color scheme
|
|
9356
9717
|
*/
|
|
9357
|
-
|
|
9718
|
+
alternate: { type: Boolean, default: void 0 },
|
|
9358
9719
|
/**
|
|
9359
|
-
*
|
|
9720
|
+
* placement of the toggletip
|
|
9360
9721
|
*/
|
|
9361
|
-
|
|
9722
|
+
placement: {
|
|
9723
|
+
type: String,
|
|
9724
|
+
default: void 0
|
|
9725
|
+
},
|
|
9362
9726
|
/**
|
|
9363
|
-
*
|
|
9727
|
+
* indicates whether the toggletip is open
|
|
9364
9728
|
*/
|
|
9365
|
-
|
|
9729
|
+
open: { type: Boolean, default: void 0 }
|
|
9366
9730
|
},
|
|
9367
9731
|
emits: [
|
|
9368
9732
|
/**
|
|
@@ -9394,21 +9758,15 @@ const VTreeItem = vue.defineComponent({
|
|
|
9394
9758
|
* Fires when the value of an element has been changed.
|
|
9395
9759
|
* @type {Event}
|
|
9396
9760
|
*/
|
|
9397
|
-
"input"
|
|
9398
|
-
/**
|
|
9399
|
-
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
9400
|
-
* @type {unknown}
|
|
9401
|
-
*/
|
|
9402
|
-
"expanded-change",
|
|
9403
|
-
/**
|
|
9404
|
-
* Fires a custom 'selected-change' event when the selected state changes
|
|
9405
|
-
* @type {unknown}
|
|
9406
|
-
*/
|
|
9407
|
-
"selected-change"
|
|
9761
|
+
"input"
|
|
9408
9762
|
],
|
|
9409
|
-
methods: {
|
|
9763
|
+
methods: {
|
|
9764
|
+
openChanged(oldValue, newValue) {
|
|
9765
|
+
return this.element?.openChanged(oldValue, newValue);
|
|
9766
|
+
}
|
|
9767
|
+
},
|
|
9410
9768
|
setup(props, ctx) {
|
|
9411
|
-
const componentName = registerComponent("
|
|
9769
|
+
const componentName = registerComponent("toggletip", vivid.registerToggletip);
|
|
9412
9770
|
const element = vue.ref(null);
|
|
9413
9771
|
return { componentName, element };
|
|
9414
9772
|
},
|
|
@@ -9419,31 +9777,31 @@ const VTreeItem = vue.defineComponent({
|
|
|
9419
9777
|
{
|
|
9420
9778
|
ref: "element",
|
|
9421
9779
|
attrs: {
|
|
9422
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9423
9780
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9424
|
-
...this.
|
|
9425
|
-
...this.
|
|
9426
|
-
...this.
|
|
9427
|
-
...this.
|
|
9781
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
9782
|
+
...this.alternate !== void 0 ? { alternate: this.alternate } : {},
|
|
9783
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9784
|
+
...this.open !== void 0 ? { open: this.open } : {}
|
|
9785
|
+
},
|
|
9786
|
+
class: "vvd-component",
|
|
9787
|
+
domProps: {
|
|
9788
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9428
9789
|
},
|
|
9429
|
-
class: "vvd-component",
|
|
9430
9790
|
on: {
|
|
9431
9791
|
click: (event) => this.$emit("click", event),
|
|
9432
9792
|
focus: (event) => this.$emit("focus", event),
|
|
9433
9793
|
blur: (event) => this.$emit("blur", event),
|
|
9434
9794
|
keydown: (event) => this.$emit("keydown", event),
|
|
9435
9795
|
keyup: (event) => this.$emit("keyup", event),
|
|
9436
|
-
input: (event) => this.$emit("input", event)
|
|
9437
|
-
"expanded-change": (event) => this.$emit("expanded-change", event),
|
|
9438
|
-
"selected-change": (event) => this.$emit("selected-change", event)
|
|
9796
|
+
input: (event) => this.$emit("input", event)
|
|
9439
9797
|
}
|
|
9440
9798
|
},
|
|
9441
9799
|
[
|
|
9442
9800
|
this.$slots.default,
|
|
9443
|
-
// @slot
|
|
9444
|
-
handleNamedSlot("
|
|
9445
|
-
// @slot
|
|
9446
|
-
handleNamedSlot("
|
|
9801
|
+
// @slot anchor Used to set the anchor element for the toggletip.
|
|
9802
|
+
handleNamedSlot("anchor", this.$slots["anchor"]),
|
|
9803
|
+
// @slot action-items The content to display in the toggletip action items.
|
|
9804
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9447
9805
|
]
|
|
9448
9806
|
);
|
|
9449
9807
|
}
|
|
@@ -9452,36 +9810,41 @@ const VTreeItem = vue.defineComponent({
|
|
|
9452
9810
|
{
|
|
9453
9811
|
ref: "element",
|
|
9454
9812
|
class: "vvd-component",
|
|
9455
|
-
...this.
|
|
9813
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {},
|
|
9456
9814
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9457
|
-
...this.
|
|
9458
|
-
...this.
|
|
9459
|
-
...this.
|
|
9460
|
-
...this.
|
|
9815
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
9816
|
+
...this.alternate !== void 0 ? { alternate: this.alternate } : {},
|
|
9817
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9818
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
9461
9819
|
onClick: (event) => this.$emit("click", event),
|
|
9462
9820
|
onFocus: (event) => this.$emit("focus", event),
|
|
9463
9821
|
onBlur: (event) => this.$emit("blur", event),
|
|
9464
9822
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9465
9823
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9466
|
-
onInput: (event) => this.$emit("input", event)
|
|
9467
|
-
onExpandedChange: (event) => this.$emit("expanded-change", event),
|
|
9468
|
-
onSelectedChange: (event) => this.$emit("selected-change", event)
|
|
9824
|
+
onInput: (event) => this.$emit("input", event)
|
|
9469
9825
|
},
|
|
9470
9826
|
[
|
|
9471
9827
|
// @ts-ignore
|
|
9472
9828
|
this.$slots.default && this.$slots.default(),
|
|
9473
|
-
// @slot
|
|
9474
|
-
handleNamedSlot("
|
|
9475
|
-
// @slot
|
|
9476
|
-
handleNamedSlot("
|
|
9829
|
+
// @slot anchor Used to set the anchor element for the toggletip.
|
|
9830
|
+
handleNamedSlot("anchor", this.$slots["anchor"]),
|
|
9831
|
+
// @slot action-items The content to display in the toggletip action items.
|
|
9832
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9477
9833
|
]
|
|
9478
9834
|
);
|
|
9479
9835
|
}
|
|
9480
9836
|
});
|
|
9481
9837
|
|
|
9482
|
-
const
|
|
9483
|
-
name: "
|
|
9838
|
+
const VTooltip = vue.defineComponent({
|
|
9839
|
+
name: "VTooltip",
|
|
9484
9840
|
props: {
|
|
9841
|
+
/**
|
|
9842
|
+
* ID or direct reference to the component's anchor element.
|
|
9843
|
+
*/
|
|
9844
|
+
anchor: {
|
|
9845
|
+
type: [String, HTMLElement],
|
|
9846
|
+
default: void 0
|
|
9847
|
+
},
|
|
9485
9848
|
/**
|
|
9486
9849
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9487
9850
|
*/
|
|
@@ -9490,13 +9853,15 @@ const VTreeView = vue.defineComponent({
|
|
|
9490
9853
|
default: void 0
|
|
9491
9854
|
},
|
|
9492
9855
|
/**
|
|
9493
|
-
*
|
|
9494
|
-
*
|
|
9856
|
+
* the text of the tooltip
|
|
9857
|
+
* accepts string
|
|
9495
9858
|
*/
|
|
9496
|
-
|
|
9497
|
-
|
|
9859
|
+
text: { type: String, default: void 0 },
|
|
9860
|
+
placement: {
|
|
9861
|
+
type: String,
|
|
9498
9862
|
default: void 0
|
|
9499
|
-
}
|
|
9863
|
+
},
|
|
9864
|
+
open: { type: Boolean, default: void 0 }
|
|
9500
9865
|
},
|
|
9501
9866
|
emits: [
|
|
9502
9867
|
/**
|
|
@@ -9532,7 +9897,7 @@ const VTreeView = vue.defineComponent({
|
|
|
9532
9897
|
],
|
|
9533
9898
|
methods: {},
|
|
9534
9899
|
setup(props, ctx) {
|
|
9535
|
-
const componentName = registerComponent("
|
|
9900
|
+
const componentName = registerComponent("tooltip", vivid.registerTooltip);
|
|
9536
9901
|
const element = vue.ref(null);
|
|
9537
9902
|
return { componentName, element };
|
|
9538
9903
|
},
|
|
@@ -9544,9 +9909,14 @@ const VTreeView = vue.defineComponent({
|
|
|
9544
9909
|
ref: "element",
|
|
9545
9910
|
attrs: {
|
|
9546
9911
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9547
|
-
...this.
|
|
9912
|
+
...this.text !== void 0 ? { text: this.text } : {},
|
|
9913
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9914
|
+
...this.open !== void 0 ? { open: this.open } : {}
|
|
9548
9915
|
},
|
|
9549
9916
|
class: "vvd-component",
|
|
9917
|
+
domProps: {
|
|
9918
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9919
|
+
},
|
|
9550
9920
|
on: {
|
|
9551
9921
|
click: (event) => this.$emit("click", event),
|
|
9552
9922
|
focus: (event) => this.$emit("focus", event),
|
|
@@ -9556,7 +9926,11 @@ const VTreeView = vue.defineComponent({
|
|
|
9556
9926
|
input: (event) => this.$emit("input", event)
|
|
9557
9927
|
}
|
|
9558
9928
|
},
|
|
9559
|
-
[
|
|
9929
|
+
[
|
|
9930
|
+
this.$slots.default,
|
|
9931
|
+
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9932
|
+
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9933
|
+
]
|
|
9560
9934
|
);
|
|
9561
9935
|
}
|
|
9562
9936
|
return vue.h(
|
|
@@ -9564,8 +9938,11 @@ const VTreeView = vue.defineComponent({
|
|
|
9564
9938
|
{
|
|
9565
9939
|
ref: "element",
|
|
9566
9940
|
class: "vvd-component",
|
|
9941
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {},
|
|
9567
9942
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9568
|
-
...this.
|
|
9943
|
+
...this.text !== void 0 ? { text: this.text } : {},
|
|
9944
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9945
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
9569
9946
|
onClick: (event) => this.$emit("click", event),
|
|
9570
9947
|
onFocus: (event) => this.$emit("focus", event),
|
|
9571
9948
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -9575,15 +9952,22 @@ const VTreeView = vue.defineComponent({
|
|
|
9575
9952
|
},
|
|
9576
9953
|
[
|
|
9577
9954
|
// @ts-ignore
|
|
9578
|
-
this.$slots.default && this.$slots.default()
|
|
9955
|
+
this.$slots.default && this.$slots.default(),
|
|
9956
|
+
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9957
|
+
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9579
9958
|
]
|
|
9580
9959
|
);
|
|
9581
9960
|
}
|
|
9582
9961
|
});
|
|
9583
9962
|
|
|
9584
|
-
const
|
|
9585
|
-
name: "
|
|
9963
|
+
const VTreeItem = vue.defineComponent({
|
|
9964
|
+
name: "VTreeItem",
|
|
9586
9965
|
props: {
|
|
9966
|
+
/**
|
|
9967
|
+
* A decorative icon the custom element should have.
|
|
9968
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9969
|
+
*/
|
|
9970
|
+
icon: { type: String, default: void 0 },
|
|
9587
9971
|
/**
|
|
9588
9972
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9589
9973
|
*/
|
|
@@ -9592,23 +9976,21 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9592
9976
|
default: void 0
|
|
9593
9977
|
},
|
|
9594
9978
|
/**
|
|
9595
|
-
*
|
|
9979
|
+
* When true, the control will be appear expanded by user interaction.
|
|
9596
9980
|
*/
|
|
9597
|
-
|
|
9598
|
-
type: String,
|
|
9599
|
-
default: void 0
|
|
9600
|
-
},
|
|
9981
|
+
expanded: { type: Boolean, default: void 0 },
|
|
9601
9982
|
/**
|
|
9602
|
-
*
|
|
9983
|
+
* When true, the control will appear selected by user interaction.
|
|
9603
9984
|
*/
|
|
9604
|
-
|
|
9605
|
-
type: String,
|
|
9606
|
-
default: void 0
|
|
9607
|
-
},
|
|
9985
|
+
selected: { type: Boolean, default: void 0 },
|
|
9608
9986
|
/**
|
|
9609
|
-
*
|
|
9987
|
+
* 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.
|
|
9610
9988
|
*/
|
|
9611
|
-
|
|
9989
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9990
|
+
/**
|
|
9991
|
+
* Indicates the text's text.
|
|
9992
|
+
*/
|
|
9993
|
+
text: { type: String, default: void 0 }
|
|
9612
9994
|
},
|
|
9613
9995
|
emits: [
|
|
9614
9996
|
/**
|
|
@@ -9642,29 +10024,19 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9642
10024
|
*/
|
|
9643
10025
|
"input",
|
|
9644
10026
|
/**
|
|
9645
|
-
* Fires a custom '
|
|
10027
|
+
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
9646
10028
|
* @type {unknown}
|
|
9647
10029
|
*/
|
|
9648
|
-
"
|
|
10030
|
+
"expanded-change",
|
|
9649
10031
|
/**
|
|
9650
|
-
*
|
|
10032
|
+
* Fires a custom 'selected-change' event when the selected state changes
|
|
9651
10033
|
* @type {unknown}
|
|
9652
10034
|
*/
|
|
9653
|
-
"
|
|
10035
|
+
"selected-change"
|
|
9654
10036
|
],
|
|
9655
|
-
methods: {
|
|
9656
|
-
handleFocusout(e) {
|
|
9657
|
-
return this.element?.handleFocusout(e);
|
|
9658
|
-
},
|
|
9659
|
-
handleCellFocus(e) {
|
|
9660
|
-
return this.element?.handleCellFocus(e);
|
|
9661
|
-
},
|
|
9662
|
-
handleKeydown(e) {
|
|
9663
|
-
return this.element?.handleKeydown(e);
|
|
9664
|
-
}
|
|
9665
|
-
},
|
|
10037
|
+
methods: {},
|
|
9666
10038
|
setup(props, ctx) {
|
|
9667
|
-
const componentName = registerComponent("
|
|
10039
|
+
const componentName = registerComponent("tree-item", vivid.registerTreeItem);
|
|
9668
10040
|
const element = vue.ref(null);
|
|
9669
10041
|
return { componentName, element };
|
|
9670
10042
|
},
|
|
@@ -9675,10 +10047,12 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9675
10047
|
{
|
|
9676
10048
|
ref: "element",
|
|
9677
10049
|
attrs: {
|
|
10050
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9678
10051
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9679
|
-
...this.
|
|
9680
|
-
...this.
|
|
9681
|
-
...this.
|
|
10052
|
+
...this.expanded !== void 0 ? { expanded: this.expanded } : {},
|
|
10053
|
+
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
10054
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
10055
|
+
...this.text !== void 0 ? { text: this.text } : {}
|
|
9682
10056
|
},
|
|
9683
10057
|
class: "vvd-component",
|
|
9684
10058
|
on: {
|
|
@@ -9688,11 +10062,17 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9688
10062
|
keydown: (event) => this.$emit("keydown", event),
|
|
9689
10063
|
keyup: (event) => this.$emit("keyup", event),
|
|
9690
10064
|
input: (event) => this.$emit("input", event),
|
|
9691
|
-
"
|
|
9692
|
-
"
|
|
10065
|
+
"expanded-change": (event) => this.$emit("expanded-change", event),
|
|
10066
|
+
"selected-change": (event) => this.$emit("selected-change", event)
|
|
9693
10067
|
}
|
|
9694
10068
|
},
|
|
9695
|
-
[
|
|
10069
|
+
[
|
|
10070
|
+
this.$slots.default,
|
|
10071
|
+
// @slot item To specify a child tree item.
|
|
10072
|
+
handleNamedSlot("item", this.$slots["item"]),
|
|
10073
|
+
// @slot icon Add an icon to the component.
|
|
10074
|
+
handleNamedSlot("icon", this.$slots["icon"])
|
|
10075
|
+
]
|
|
9696
10076
|
);
|
|
9697
10077
|
}
|
|
9698
10078
|
return vue.h(
|
|
@@ -9700,37 +10080,36 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9700
10080
|
{
|
|
9701
10081
|
ref: "element",
|
|
9702
10082
|
class: "vvd-component",
|
|
10083
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9703
10084
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9704
|
-
...this.
|
|
9705
|
-
...this.
|
|
9706
|
-
...this.
|
|
10085
|
+
...this.expanded !== void 0 ? { expanded: this.expanded } : {},
|
|
10086
|
+
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
10087
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
10088
|
+
...this.text !== void 0 ? { text: this.text } : {},
|
|
9707
10089
|
onClick: (event) => this.$emit("click", event),
|
|
9708
10090
|
onFocus: (event) => this.$emit("focus", event),
|
|
9709
10091
|
onBlur: (event) => this.$emit("blur", event),
|
|
9710
10092
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9711
10093
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9712
10094
|
onInput: (event) => this.$emit("input", event),
|
|
9713
|
-
|
|
9714
|
-
|
|
10095
|
+
onExpandedChange: (event) => this.$emit("expanded-change", event),
|
|
10096
|
+
onSelectedChange: (event) => this.$emit("selected-change", event)
|
|
9715
10097
|
},
|
|
9716
10098
|
[
|
|
9717
10099
|
// @ts-ignore
|
|
9718
|
-
this.$slots.default && this.$slots.default()
|
|
10100
|
+
this.$slots.default && this.$slots.default(),
|
|
10101
|
+
// @slot item To specify a child tree item.
|
|
10102
|
+
handleNamedSlot("item", this.$slots["item"]),
|
|
10103
|
+
// @slot icon Add an icon to the component.
|
|
10104
|
+
handleNamedSlot("icon", this.$slots["icon"])
|
|
9719
10105
|
]
|
|
9720
10106
|
);
|
|
9721
10107
|
}
|
|
9722
10108
|
});
|
|
9723
10109
|
|
|
9724
|
-
const
|
|
9725
|
-
name: "
|
|
10110
|
+
const VTreeView = vue.defineComponent({
|
|
10111
|
+
name: "VTreeView",
|
|
9726
10112
|
props: {
|
|
9727
|
-
/**
|
|
9728
|
-
* Extends the data grid cell definition to hold more options.
|
|
9729
|
-
*/
|
|
9730
|
-
columnDefinition: {
|
|
9731
|
-
type: null,
|
|
9732
|
-
default: void 0
|
|
9733
|
-
},
|
|
9734
10113
|
/**
|
|
9735
10114
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9736
10115
|
*/
|
|
@@ -9739,26 +10118,13 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9739
10118
|
default: void 0
|
|
9740
10119
|
},
|
|
9741
10120
|
/**
|
|
9742
|
-
*
|
|
10121
|
+
* /**
|
|
10122
|
+
* When true, the control will be appear expanded by user interaction.
|
|
9743
10123
|
*/
|
|
9744
|
-
|
|
9745
|
-
type:
|
|
10124
|
+
renderCollapsedNodes: {
|
|
10125
|
+
type: Boolean,
|
|
9746
10126
|
default: void 0
|
|
9747
|
-
}
|
|
9748
|
-
/**
|
|
9749
|
-
* The column index of the cell.
|
|
9750
|
-
* This will be applied to the css grid-column-index value
|
|
9751
|
-
* applied to the cell
|
|
9752
|
-
*/
|
|
9753
|
-
gridColumn: { type: String, default: void 0 },
|
|
9754
|
-
/**
|
|
9755
|
-
* Indicates the selected status.
|
|
9756
|
-
*/
|
|
9757
|
-
ariaSelected: { type: String, default: void 0 },
|
|
9758
|
-
/**
|
|
9759
|
-
* Indicates the sort status.
|
|
9760
|
-
*/
|
|
9761
|
-
ariaSort: { type: String, default: void 0 }
|
|
10127
|
+
}
|
|
9762
10128
|
},
|
|
9763
10129
|
emits: [
|
|
9764
10130
|
/**
|
|
@@ -9790,39 +10156,11 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9790
10156
|
* Fires when the value of an element has been changed.
|
|
9791
10157
|
* @type {Event}
|
|
9792
10158
|
*/
|
|
9793
|
-
"input"
|
|
9794
|
-
/**
|
|
9795
|
-
* Fires a custom 'cell-focused' event when focus is on the cell or its contents
|
|
9796
|
-
* @type {unknown}
|
|
9797
|
-
*/
|
|
9798
|
-
"cell-focused",
|
|
9799
|
-
/**
|
|
9800
|
-
* Event that fires when a sortable column header is clicked
|
|
9801
|
-
* @type {unknown}
|
|
9802
|
-
*/
|
|
9803
|
-
"sort",
|
|
9804
|
-
/**
|
|
9805
|
-
* Event that fires when a cell is clicked
|
|
9806
|
-
* @type {unknown}
|
|
9807
|
-
*/
|
|
9808
|
-
"cell-click"
|
|
10159
|
+
"input"
|
|
9809
10160
|
],
|
|
9810
|
-
methods: {
|
|
9811
|
-
handleKeydown(e) {
|
|
9812
|
-
return this.element?.handleKeydown(e);
|
|
9813
|
-
},
|
|
9814
|
-
ariaSelectedChanged(_, selectedState) {
|
|
9815
|
-
return this.element?.ariaSelectedChanged(_, selectedState);
|
|
9816
|
-
},
|
|
9817
|
-
handleFocusin(e) {
|
|
9818
|
-
return this.element?.handleFocusin(e);
|
|
9819
|
-
},
|
|
9820
|
-
handleFocusout(e) {
|
|
9821
|
-
return this.element?.handleFocusout(e);
|
|
9822
|
-
}
|
|
9823
|
-
},
|
|
10161
|
+
methods: {},
|
|
9824
10162
|
setup(props, ctx) {
|
|
9825
|
-
const componentName = registerComponent("
|
|
10163
|
+
const componentName = registerComponent("tree-view", vivid.registerTreeView);
|
|
9826
10164
|
const element = vue.ref(null);
|
|
9827
10165
|
return { componentName, element };
|
|
9828
10166
|
},
|
|
@@ -9833,12 +10171,8 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9833
10171
|
{
|
|
9834
10172
|
ref: "element",
|
|
9835
10173
|
attrs: {
|
|
9836
|
-
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
9837
10174
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9838
|
-
...this.
|
|
9839
|
-
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
9840
|
-
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
9841
|
-
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {}
|
|
10175
|
+
...this.renderCollapsedNodes !== void 0 ? { "render-collapsed-nodes": this.renderCollapsedNodes } : {}
|
|
9842
10176
|
},
|
|
9843
10177
|
class: "vvd-component",
|
|
9844
10178
|
on: {
|
|
@@ -9847,10 +10181,7 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9847
10181
|
blur: (event) => this.$emit("blur", event),
|
|
9848
10182
|
keydown: (event) => this.$emit("keydown", event),
|
|
9849
10183
|
keyup: (event) => this.$emit("keyup", event),
|
|
9850
|
-
input: (event) => this.$emit("input", event)
|
|
9851
|
-
"cell-focused": (event) => this.$emit("cell-focused", event),
|
|
9852
|
-
sort: (event) => this.$emit("sort", event),
|
|
9853
|
-
"cell-click": (event) => this.$emit("cell-click", event)
|
|
10184
|
+
input: (event) => this.$emit("input", event)
|
|
9854
10185
|
}
|
|
9855
10186
|
},
|
|
9856
10187
|
[this.$slots.default]
|
|
@@ -9861,21 +10192,14 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9861
10192
|
{
|
|
9862
10193
|
ref: "element",
|
|
9863
10194
|
class: "vvd-component",
|
|
9864
|
-
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
9865
10195
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9866
|
-
...this.
|
|
9867
|
-
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
9868
|
-
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
9869
|
-
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {},
|
|
10196
|
+
...this.renderCollapsedNodes !== void 0 ? { "render-collapsed-nodes": this.renderCollapsedNodes } : {},
|
|
9870
10197
|
onClick: (event) => this.$emit("click", event),
|
|
9871
10198
|
onFocus: (event) => this.$emit("focus", event),
|
|
9872
10199
|
onBlur: (event) => this.$emit("blur", event),
|
|
9873
10200
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9874
10201
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9875
|
-
onInput: (event) => this.$emit("input", event)
|
|
9876
|
-
onCellFocused: (event) => this.$emit("cell-focused", event),
|
|
9877
|
-
onSort: (event) => this.$emit("sort", event),
|
|
9878
|
-
onCellClick: (event) => this.$emit("cell-click", event)
|
|
10202
|
+
onInput: (event) => this.$emit("input", event)
|
|
9879
10203
|
},
|
|
9880
10204
|
[
|
|
9881
10205
|
// @ts-ignore
|
|
@@ -11087,17 +11411,17 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
11087
11411
|
return Icon2;
|
|
11088
11412
|
})(Icon || {});
|
|
11089
11413
|
|
|
11090
|
-
const tokensThemeLightCss = "/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n@property --vvd-size-density {\n syntax: \"<integer>\";\n inherits: true;\n initial-value: 0;\n}\n@property --vvd-size-font-scale-base {\n syntax: \"<length>\";\n inherits: true;\n initial-value: 16px;\n}\n.vvd-root, ::part(vvd-root) {\n --vvd-color-scheme: light;\n --vvd-color-canvas: #ffffff;\n --vvd-color-canvas-text: #0d0d0d;\n --vvd-color-neutral-50: #F2F2F2;\n --vvd-color-neutral-100: #E6E6E6;\n --vvd-color-neutral-200: #cccccc;\n --vvd-color-neutral-300: #b3b3b3;\n --vvd-color-neutral-400: #929292;\n --vvd-color-neutral-500: #757575;\n --vvd-color-neutral-600: #666666;\n --vvd-color-neutral-700: #4d4d4d;\n --vvd-color-neutral-800: #333333;\n --vvd-color-neutral-900: #1a1a1a;\n --vvd-color-neutral-950: #0d0d0d;\n --vvd-color-cta-50: #f5f0fd;\n --vvd-color-cta-100: #ece2fa;\n --vvd-color-cta-200: #dcc1fc;\n --vvd-color-cta-300: #cba1fa;\n --vvd-color-cta-400: #b27bf2;\n --vvd-color-cta-500: #9941ff;\n --vvd-color-cta-600: #871eff;\n --vvd-color-cta-700: #6405d1;\n --vvd-color-cta-800: #440291;\n --vvd-color-cta-900: #26044d;\n --vvd-color-cta-950: #140623;\n --vvd-color-warning-50: #FDF5D4;\n --vvd-color-warning-100: #FDEAA0;\n --vvd-color-warning-200: #FACC4B;\n --vvd-color-warning-300: #fa9f00;\n --vvd-color-warning-400: #e07902;\n --vvd-color-warning-500: #be5702;\n --vvd-color-warning-600: #A64C03;\n --vvd-color-warning-700: #893000;\n --vvd-color-warning-800: #522801;\n --vvd-color-warning-900: #2A1502;\n --vvd-color-warning-950: #150B01;\n --vvd-color-information-50: #e8f4fb;\n --vvd-color-information-100: #d3e9fc;\n --vvd-color-information-200: #9dd2fe;\n --vvd-color-information-300: #65baff;\n --vvd-color-information-400: #2997f0;\n --vvd-color-information-500: #0276d5;\n --vvd-color-information-600: #0e65c2;\n --vvd-color-information-700: #094a9e;\n --vvd-color-information-800: #0e306d;\n --vvd-color-information-900: #071939;\n --vvd-color-information-950: #040d1d;\n --vvd-color-announcement-50: #ffedfb;\n --vvd-color-announcement-100: #ffdcf7;\n --vvd-color-announcement-200: #f8b9e7;\n --vvd-color-announcement-300: #fb8fd8;\n --vvd-color-announcement-400: #e560bb;\n --vvd-color-announcement-500: #d6219c;\n --vvd-color-announcement-600: #bb1e89;\n --vvd-color-announcement-700: #8f1669;\n --vvd-color-announcement-800: #620256;\n --vvd-color-announcement-900: #32082c;\n --vvd-color-announcement-950: #1d031a;\n --vvd-color-success-50: #e1f8e5;\n --vvd-color-success-100: #cfeed4;\n --vvd-color-success-200: #86e090;\n --vvd-color-success-300: #53ca6a;\n --vvd-color-success-400: #30a849;\n --vvd-color-success-500: #1c8731;\n --vvd-color-success-600: #167629;\n --vvd-color-success-700: #155923;\n --vvd-color-success-800: #183a1e;\n --vvd-color-success-900: #0a1e11;\n --vvd-color-success-950: #060f09;\n --vvd-color-alert-50: #ffeef2;\n --vvd-color-alert-100: #fedfdf;\n --vvd-color-alert-200: #ffbbbb;\n --vvd-color-alert-300: #fe9696;\n --vvd-color-alert-400: #f75959;\n --vvd-color-alert-500: #e61d1d;\n --vvd-color-alert-600: #cd0d0d;\n --vvd-color-alert-700: #9f0202;\n --vvd-color-alert-800: #6e0000;\n --vvd-color-alert-900: #3e0004;\n --vvd-color-alert-950: #250004;\n --vvd-color-surface-0dp: #ffffff;\n --vvd-color-surface-2dp: #ffffff;\n --vvd-color-surface-4dp: #ffffff;\n --vvd-color-surface-8dp: #ffffff;\n --vvd-color-surface-12dp: #ffffff;\n --vvd-color-surface-16dp: #ffffff;\n --vvd-color-surface-24dp: #ffffff;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #0000001a) drop-shadow(0px 1px 2px #0000000d) drop-shadow(0px 2px 1px #0000000d);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #0000001a) drop-shadow(0px 2px 4px #0000000d) drop-shadow(0px 4px 2px #0000000d);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #0000001a) drop-shadow(0px 8px 8px #0000000d) drop-shadow(0px 4px 4px #0000000d);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);\n --vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 Montserrat;\n --vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 Montserrat;\n --vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 Montserrat;\n --vvd-typography-heading-2: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2)/1.375 Montserrat;\n --vvd-typography-heading-3: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.625)/1.3846153846153846 Montserrat;\n --vvd-typography-heading-4: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.25)/1.4 Montserrat;\n --vvd-typography-base: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-code: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Roboto Mono;\n --vvd-typography-base-condensed: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-condensed-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-extended: 400 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n --vvd-typography-base-extended-bold: 600 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n}\n\n.vvd-theme-alternate, ::part(vvd-theme-alternate) {\n --vvd-color-scheme: dark;\n --vvd-color-canvas: #000000;\n --vvd-color-canvas-text: #ffffff;\n --vvd-color-neutral-50: #1a1a1a;\n --vvd-color-neutral-100: #333333;\n --vvd-color-neutral-200: #4d4d4d;\n --vvd-color-neutral-300: #666666;\n --vvd-color-neutral-400: #757575;\n --vvd-color-neutral-500: #929292;\n --vvd-color-neutral-600: #b3b3b3;\n --vvd-color-neutral-700: #cccccc;\n --vvd-color-neutral-800: #E6E6E6;\n --vvd-color-neutral-900: #F2F2F2;\n --vvd-color-neutral-950: #ffffff;\n --vvd-color-cta-50: #26044d;\n --vvd-color-cta-100: #440291;\n --vvd-color-cta-200: #6405d1;\n --vvd-color-cta-300: #871eff;\n --vvd-color-cta-400: #9941ff;\n --vvd-color-cta-500: #b27bf2;\n --vvd-color-cta-600: #cba1fa;\n --vvd-color-cta-700: #dcc1fc;\n --vvd-color-cta-800: #ece2fa;\n --vvd-color-cta-900: #f5f0fd;\n --vvd-color-warning-50: #2A1502;\n --vvd-color-warning-100: #522801;\n --vvd-color-warning-200: #803807;\n --vvd-color-warning-300: #A64C03;\n --vvd-color-warning-400: #be5702;\n --vvd-color-warning-500: #e07902;\n --vvd-color-warning-600: #fa9f00;\n --vvd-color-warning-700: #FACC4B;\n --vvd-color-warning-800: #FDEAA0;\n --vvd-color-warning-900: #FDF5D4;\n --vvd-color-information-50: #071939;\n --vvd-color-information-100: #0e306d;\n --vvd-color-information-200: #094a9e;\n --vvd-color-information-300: #0e65c2;\n --vvd-color-information-400: #0276d5;\n --vvd-color-information-500: #2997f0;\n --vvd-color-information-600: #65baff;\n --vvd-color-information-700: #9dd2fe;\n --vvd-color-information-800: #d3e9fc;\n --vvd-color-information-900: #e8f4fb;\n --vvd-color-announcement-50: #32082c;\n --vvd-color-announcement-100: #620256;\n --vvd-color-announcement-200: #8f1669;\n --vvd-color-announcement-300: #bb1e89;\n --vvd-color-announcement-400: #d6219c;\n --vvd-color-announcement-500: #e560bb;\n --vvd-color-announcement-600: #fb8fd8;\n --vvd-color-announcement-700: #f8b9e7;\n --vvd-color-announcement-800: #ffdcf7;\n --vvd-color-announcement-900: #ffedfb;\n --vvd-color-alert-50: #3e0004;\n --vvd-color-alert-100: #6e0000;\n --vvd-color-alert-200: #9f0202;\n --vvd-color-alert-300: #cd0d0d;\n --vvd-color-alert-400: #e61d1d;\n --vvd-color-alert-500: #f75959;\n --vvd-color-alert-600: #fe9696;\n --vvd-color-alert-700: #ffbbbb;\n --vvd-color-alert-800: #fedfdf;\n --vvd-color-alert-900: #ffeef2;\n --vvd-color-success-50: #0a1e11;\n --vvd-color-success-100: #183a1e;\n --vvd-color-success-200: #155923;\n --vvd-color-success-300: #167629;\n --vvd-color-success-400: #1c8731;\n --vvd-color-success-500: #30a849;\n --vvd-color-success-600: #53ca6a;\n --vvd-color-success-700: #86e090;\n --vvd-color-success-800: #cfeed4;\n --vvd-color-success-900: #e1f8e5;\n --vvd-color-surface-0dp: #0d0d0d;\n --vvd-color-surface-2dp: linear-gradient(#ffffff0f, #ffffff0f), #0d0d0d;\n --vvd-color-surface-4dp: linear-gradient(#ffffff14, #ffffff14), #0d0d0d;\n --vvd-color-surface-8dp: linear-gradient(#ffffff1a, #ffffff1a), #0d0d0d;\n --vvd-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #0d0d0d;\n --vvd-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #0d0d0d;\n --vvd-color-surface-24dp: linear-gradient(#ffffff29, #ffffff29), #0d0d0d;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #00000040) drop-shadow(0px 1px 2px #00000040) drop-shadow(0px 2px 1px #00000040);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #00000040) drop-shadow(0px 2px 4px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #00000040) drop-shadow(0px 8px 8px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);\n}\n";
|
|
11414
|
+
const tokensThemeLightCss = "/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n@property --vvd-size-density {\n syntax: \"<integer>\";\n inherits: true;\n initial-value: 0;\n}\n@property --vvd-size-font-scale-base {\n syntax: \"<length>\";\n inherits: true;\n initial-value: 16px;\n}\n.vvd-root, ::part(vvd-root) {\n --vvd-color-scheme: light;\n --vvd-color-canvas: #ffffff;\n --vvd-color-canvas-text: #0d0d0d;\n --vvd-color-neutral-50: #F2F2F2;\n --vvd-color-neutral-100: #E6E6E6;\n --vvd-color-neutral-200: #cccccc;\n --vvd-color-neutral-300: #b3b3b3;\n --vvd-color-neutral-400: #929292;\n --vvd-color-neutral-500: #757575;\n --vvd-color-neutral-600: #666666;\n --vvd-color-neutral-700: #4d4d4d;\n --vvd-color-neutral-800: #333333;\n --vvd-color-neutral-900: #1a1a1a;\n --vvd-color-neutral-950: #0d0d0d;\n --vvd-color-cta-50: #f5f0fd;\n --vvd-color-cta-100: #ece2fa;\n --vvd-color-cta-200: #dcc1fc;\n --vvd-color-cta-300: #cba1fa;\n --vvd-color-cta-400: #b27bf2;\n --vvd-color-cta-500: #9941ff;\n --vvd-color-cta-600: #871eff;\n --vvd-color-cta-700: #6405d1;\n --vvd-color-cta-800: #440291;\n --vvd-color-cta-900: #26044d;\n --vvd-color-cta-950: #140623;\n --vvd-color-warning-50: #FDF5D4;\n --vvd-color-warning-100: #FDEAA0;\n --vvd-color-warning-200: #FACC4B;\n --vvd-color-warning-300: #fa9f00;\n --vvd-color-warning-400: #e07902;\n --vvd-color-warning-500: #be5702;\n --vvd-color-warning-600: #A64C03;\n --vvd-color-warning-700: #893000;\n --vvd-color-warning-800: #522801;\n --vvd-color-warning-900: #2A1502;\n --vvd-color-warning-950: #150B01;\n --vvd-color-information-50: #e8f4fb;\n --vvd-color-information-100: #d3e9fc;\n --vvd-color-information-200: #9dd2fe;\n --vvd-color-information-300: #65baff;\n --vvd-color-information-400: #2997f0;\n --vvd-color-information-500: #0276d5;\n --vvd-color-information-600: #0e65c2;\n --vvd-color-information-700: #094a9e;\n --vvd-color-information-800: #0e306d;\n --vvd-color-information-900: #071939;\n --vvd-color-information-950: #040d1d;\n --vvd-color-announcement-50: #ffedfb;\n --vvd-color-announcement-100: #ffdcf7;\n --vvd-color-announcement-200: #f8b9e7;\n --vvd-color-announcement-300: #fb8fd8;\n --vvd-color-announcement-400: #e560bb;\n --vvd-color-announcement-500: #d6219c;\n --vvd-color-announcement-600: #bb1e89;\n --vvd-color-announcement-700: #8f1669;\n --vvd-color-announcement-800: #620256;\n --vvd-color-announcement-900: #32082c;\n --vvd-color-announcement-950: #1d031a;\n --vvd-color-success-50: #e1f8e5;\n --vvd-color-success-100: #cfeed4;\n --vvd-color-success-200: #86e090;\n --vvd-color-success-300: #53ca6a;\n --vvd-color-success-400: #30a849;\n --vvd-color-success-500: #1c8731;\n --vvd-color-success-600: #167629;\n --vvd-color-success-700: #155923;\n --vvd-color-success-800: #183a1e;\n --vvd-color-success-900: #0a1e11;\n --vvd-color-success-950: #060f09;\n --vvd-color-alert-50: #ffeef2;\n --vvd-color-alert-100: #fedfdf;\n --vvd-color-alert-200: #ffbbbb;\n --vvd-color-alert-300: #fe9696;\n --vvd-color-alert-400: #f75959;\n --vvd-color-alert-500: #e61d1d;\n --vvd-color-alert-600: #cd0d0d;\n --vvd-color-alert-700: #9f0202;\n --vvd-color-alert-800: #6e0000;\n --vvd-color-alert-900: #3e0004;\n --vvd-color-alert-950: #250004;\n --vvd-color-surface-0dp: #ffffff;\n --vvd-color-surface-2dp: #ffffff;\n --vvd-color-surface-4dp: #ffffff;\n --vvd-color-surface-8dp: #ffffff;\n --vvd-color-surface-12dp: #ffffff;\n --vvd-color-surface-16dp: #ffffff;\n --vvd-color-surface-24dp: #ffffff;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #0000001a) drop-shadow(0px 1px 2px #0000000d) drop-shadow(0px 2px 1px #0000000d);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #0000001a) drop-shadow(0px 2px 4px #0000000d) drop-shadow(0px 4px 2px #0000000d);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #0000001a) drop-shadow(0px 8px 8px #0000000d) drop-shadow(0px 4px 4px #0000000d);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);\n --vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 Montserrat;\n --vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 Montserrat;\n --vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 Montserrat;\n --vvd-typography-heading-2: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2)/1.375 Montserrat;\n --vvd-typography-heading-3: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.625)/1.3846153846153846 Montserrat;\n --vvd-typography-heading-4: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.25)/1.4 Montserrat;\n --vvd-typography-base: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-code: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Roboto Mono;\n --vvd-typography-base-condensed: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-condensed-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-extended: 400 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n --vvd-typography-base-extended-bold: 600 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n}\n\n.vvd-theme-alternate, ::part(vvd-theme-alternate) {\n --vvd-color-scheme: dark;\n --vvd-color-canvas: #000000;\n --vvd-color-canvas-text: #ffffff;\n --vvd-color-neutral-50: #1a1a1a;\n --vvd-color-neutral-100: #333333;\n --vvd-color-neutral-200: #4d4d4d;\n --vvd-color-neutral-300: #666666;\n --vvd-color-neutral-400: #757575;\n --vvd-color-neutral-500: #929292;\n --vvd-color-neutral-600: #b3b3b3;\n --vvd-color-neutral-700: #cccccc;\n --vvd-color-neutral-800: #E6E6E6;\n --vvd-color-neutral-900: #F2F2F2;\n --vvd-color-neutral-950: #ffffff;\n --vvd-color-cta-50: #26044d;\n --vvd-color-cta-100: #440291;\n --vvd-color-cta-200: #6405d1;\n --vvd-color-cta-300: #871eff;\n --vvd-color-cta-400: #9941ff;\n --vvd-color-cta-500: #b27bf2;\n --vvd-color-cta-600: #cba1fa;\n --vvd-color-cta-700: #dcc1fc;\n --vvd-color-cta-800: #ece2fa;\n --vvd-color-cta-900: #f5f0fd;\n --vvd-color-warning-50: #2A1502;\n --vvd-color-warning-100: #522801;\n --vvd-color-warning-200: #803807;\n --vvd-color-warning-300: #A64C03;\n --vvd-color-warning-400: #be5702;\n --vvd-color-warning-500: #e07902;\n --vvd-color-warning-600: #fa9f00;\n --vvd-color-warning-700: #FACC4B;\n --vvd-color-warning-800: #FDEAA0;\n --vvd-color-warning-900: #FDF5D4;\n --vvd-color-information-50: #071939;\n --vvd-color-information-100: #0e306d;\n --vvd-color-information-200: #094a9e;\n --vvd-color-information-300: #0e65c2;\n --vvd-color-information-400: #0276d5;\n --vvd-color-information-500: #2997f0;\n --vvd-color-information-600: #65baff;\n --vvd-color-information-700: #9dd2fe;\n --vvd-color-information-800: #d3e9fc;\n --vvd-color-information-900: #e8f4fb;\n --vvd-color-announcement-50: #32082c;\n --vvd-color-announcement-100: #620256;\n --vvd-color-announcement-200: #8f1669;\n --vvd-color-announcement-300: #bb1e89;\n --vvd-color-announcement-400: #d6219c;\n --vvd-color-announcement-500: #e560bb;\n --vvd-color-announcement-600: #fb8fd8;\n --vvd-color-announcement-700: #f8b9e7;\n --vvd-color-announcement-800: #ffdcf7;\n --vvd-color-announcement-900: #ffedfb;\n --vvd-color-alert-50: #3e0004;\n --vvd-color-alert-100: #6e0000;\n --vvd-color-alert-200: #9f0202;\n --vvd-color-alert-300: #cd0d0d;\n --vvd-color-alert-400: #e61d1d;\n --vvd-color-alert-500: #f75959;\n --vvd-color-alert-600: #fe9696;\n --vvd-color-alert-700: #ffbbbb;\n --vvd-color-alert-800: #fedfdf;\n --vvd-color-alert-900: #ffeef2;\n --vvd-color-success-50: #0a1e11;\n --vvd-color-success-100: #183a1e;\n --vvd-color-success-200: #155923;\n --vvd-color-success-300: #167629;\n --vvd-color-success-400: #1c8731;\n --vvd-color-success-500: #30a849;\n --vvd-color-success-600: #53ca6a;\n --vvd-color-success-700: #86e090;\n --vvd-color-success-800: #cfeed4;\n --vvd-color-success-900: #e1f8e5;\n --vvd-color-surface-0dp: #0d0d0d;\n --vvd-color-surface-2dp: linear-gradient(#ffffff0f, #ffffff0f), #0d0d0d;\n --vvd-color-surface-4dp: linear-gradient(#ffffff14, #ffffff14), #0d0d0d;\n --vvd-color-surface-8dp: linear-gradient(#ffffff1a, #ffffff1a), #0d0d0d;\n --vvd-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #0d0d0d;\n --vvd-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #0d0d0d;\n --vvd-color-surface-24dp: linear-gradient(#ffffff29, #ffffff29), #0d0d0d;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #00000040) drop-shadow(0px 1px 2px #00000040) drop-shadow(0px 2px 1px #00000040);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #00000040) drop-shadow(0px 2px 4px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #00000040) drop-shadow(0px 8px 8px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);\n}\n";
|
|
11091
11415
|
|
|
11092
|
-
const tokensThemeDarkCss = "/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 21 Feb 2024 09:46:09 GMT\n */\n@property --vvd-size-density {\n syntax: \"<integer>\";\n inherits: true;\n initial-value: 0;\n}\n@property --vvd-size-font-scale-base {\n syntax: \"<length>\";\n inherits: true;\n initial-value: 16px;\n}\n.vvd-root, ::part(vvd-root) {\n --vvd-color-scheme: dark;\n --vvd-color-canvas: #000000;\n --vvd-color-canvas-text: #ffffff;\n --vvd-color-neutral-50: #1a1a1a;\n --vvd-color-neutral-100: #333333;\n --vvd-color-neutral-200: #4d4d4d;\n --vvd-color-neutral-300: #666666;\n --vvd-color-neutral-400: #757575;\n --vvd-color-neutral-500: #929292;\n --vvd-color-neutral-600: #b3b3b3;\n --vvd-color-neutral-700: #cccccc;\n --vvd-color-neutral-800: #E6E6E6;\n --vvd-color-neutral-900: #F2F2F2;\n --vvd-color-neutral-950: #ffffff;\n --vvd-color-cta-50: #26044d;\n --vvd-color-cta-100: #440291;\n --vvd-color-cta-200: #6405d1;\n --vvd-color-cta-300: #871eff;\n --vvd-color-cta-400: #9941ff;\n --vvd-color-cta-500: #b27bf2;\n --vvd-color-cta-600: #cba1fa;\n --vvd-color-cta-700: #dcc1fc;\n --vvd-color-cta-800: #ece2fa;\n --vvd-color-cta-900: #f5f0fd;\n --vvd-color-warning-50: #2A1502;\n --vvd-color-warning-100: #522801;\n --vvd-color-warning-200: #803807;\n --vvd-color-warning-300: #A64C03;\n --vvd-color-warning-400: #be5702;\n --vvd-color-warning-500: #e07902;\n --vvd-color-warning-600: #fa9f00;\n --vvd-color-warning-700: #FACC4B;\n --vvd-color-warning-800: #FDEAA0;\n --vvd-color-warning-900: #FDF5D4;\n --vvd-color-information-50: #071939;\n --vvd-color-information-100: #0e306d;\n --vvd-color-information-200: #094a9e;\n --vvd-color-information-300: #0e65c2;\n --vvd-color-information-400: #0276d5;\n --vvd-color-information-500: #2997f0;\n --vvd-color-information-600: #65baff;\n --vvd-color-information-700: #9dd2fe;\n --vvd-color-information-800: #d3e9fc;\n --vvd-color-information-900: #e8f4fb;\n --vvd-color-announcement-50: #32082c;\n --vvd-color-announcement-100: #620256;\n --vvd-color-announcement-200: #8f1669;\n --vvd-color-announcement-300: #bb1e89;\n --vvd-color-announcement-400: #d6219c;\n --vvd-color-announcement-500: #e560bb;\n --vvd-color-announcement-600: #fb8fd8;\n --vvd-color-announcement-700: #f8b9e7;\n --vvd-color-announcement-800: #ffdcf7;\n --vvd-color-announcement-900: #ffedfb;\n --vvd-color-alert-50: #3e0004;\n --vvd-color-alert-100: #6e0000;\n --vvd-color-alert-200: #9f0202;\n --vvd-color-alert-300: #cd0d0d;\n --vvd-color-alert-400: #e61d1d;\n --vvd-color-alert-500: #f75959;\n --vvd-color-alert-600: #fe9696;\n --vvd-color-alert-700: #ffbbbb;\n --vvd-color-alert-800: #fedfdf;\n --vvd-color-alert-900: #ffeef2;\n --vvd-color-success-50: #0a1e11;\n --vvd-color-success-100: #183a1e;\n --vvd-color-success-200: #155923;\n --vvd-color-success-300: #167629;\n --vvd-color-success-400: #1c8731;\n --vvd-color-success-500: #30a849;\n --vvd-color-success-600: #53ca6a;\n --vvd-color-success-700: #86e090;\n --vvd-color-success-800: #cfeed4;\n --vvd-color-success-900: #e1f8e5;\n --vvd-color-surface-0dp: #0d0d0d;\n --vvd-color-surface-2dp: linear-gradient(#ffffff0f, #ffffff0f), #0d0d0d;\n --vvd-color-surface-4dp: linear-gradient(#ffffff14, #ffffff14), #0d0d0d;\n --vvd-color-surface-8dp: linear-gradient(#ffffff1a, #ffffff1a), #0d0d0d;\n --vvd-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #0d0d0d;\n --vvd-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #0d0d0d;\n --vvd-color-surface-24dp: linear-gradient(#ffffff29, #ffffff29), #0d0d0d;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #00000040) drop-shadow(0px 1px 2px #00000040) drop-shadow(0px 2px 1px #00000040);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #00000040) drop-shadow(0px 2px 4px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #00000040) drop-shadow(0px 8px 8px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);\n --vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 Montserrat;\n --vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 Montserrat;\n --vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 Montserrat;\n --vvd-typography-heading-2: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2)/1.375 Montserrat;\n --vvd-typography-heading-3: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.625)/1.3846153846153846 Montserrat;\n --vvd-typography-heading-4: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.25)/1.4 Montserrat;\n --vvd-typography-base: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-code: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Roboto Mono;\n --vvd-typography-base-condensed: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-condensed-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-extended: 400 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n --vvd-typography-base-extended-bold: 600 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n}\n\n.vvd-theme-alternate, ::part(vvd-theme-alternate) {\n --vvd-color-scheme: light;\n --vvd-color-canvas: #ffffff;\n --vvd-color-canvas-text: #0d0d0d;\n --vvd-color-neutral-50: #F2F2F2;\n --vvd-color-neutral-100: #E6E6E6;\n --vvd-color-neutral-200: #cccccc;\n --vvd-color-neutral-300: #b3b3b3;\n --vvd-color-neutral-400: #929292;\n --vvd-color-neutral-500: #757575;\n --vvd-color-neutral-600: #666666;\n --vvd-color-neutral-700: #4d4d4d;\n --vvd-color-neutral-800: #333333;\n --vvd-color-neutral-900: #1a1a1a;\n --vvd-color-neutral-950: #0d0d0d;\n --vvd-color-cta-50: #f5f0fd;\n --vvd-color-cta-100: #ece2fa;\n --vvd-color-cta-200: #dcc1fc;\n --vvd-color-cta-300: #cba1fa;\n --vvd-color-cta-400: #b27bf2;\n --vvd-color-cta-500: #9941ff;\n --vvd-color-cta-600: #871eff;\n --vvd-color-cta-700: #6405d1;\n --vvd-color-cta-800: #440291;\n --vvd-color-cta-900: #26044d;\n --vvd-color-cta-950: #140623;\n --vvd-color-warning-50: #FDF5D4;\n --vvd-color-warning-100: #FDEAA0;\n --vvd-color-warning-200: #FACC4B;\n --vvd-color-warning-300: #fa9f00;\n --vvd-color-warning-400: #e07902;\n --vvd-color-warning-500: #be5702;\n --vvd-color-warning-600: #A64C03;\n --vvd-color-warning-700: #893000;\n --vvd-color-warning-800: #522801;\n --vvd-color-warning-900: #2A1502;\n --vvd-color-warning-950: #150B01;\n --vvd-color-information-50: #e8f4fb;\n --vvd-color-information-100: #d3e9fc;\n --vvd-color-information-200: #9dd2fe;\n --vvd-color-information-300: #65baff;\n --vvd-color-information-400: #2997f0;\n --vvd-color-information-500: #0276d5;\n --vvd-color-information-600: #0e65c2;\n --vvd-color-information-700: #094a9e;\n --vvd-color-information-800: #0e306d;\n --vvd-color-information-900: #071939;\n --vvd-color-information-950: #040d1d;\n --vvd-color-announcement-50: #ffedfb;\n --vvd-color-announcement-100: #ffdcf7;\n --vvd-color-announcement-200: #f8b9e7;\n --vvd-color-announcement-300: #fb8fd8;\n --vvd-color-announcement-400: #e560bb;\n --vvd-color-announcement-500: #d6219c;\n --vvd-color-announcement-600: #bb1e89;\n --vvd-color-announcement-700: #8f1669;\n --vvd-color-announcement-800: #620256;\n --vvd-color-announcement-900: #32082c;\n --vvd-color-announcement-950: #1d031a;\n --vvd-color-success-50: #e1f8e5;\n --vvd-color-success-100: #cfeed4;\n --vvd-color-success-200: #86e090;\n --vvd-color-success-300: #53ca6a;\n --vvd-color-success-400: #30a849;\n --vvd-color-success-500: #1c8731;\n --vvd-color-success-600: #167629;\n --vvd-color-success-700: #155923;\n --vvd-color-success-800: #183a1e;\n --vvd-color-success-900: #0a1e11;\n --vvd-color-success-950: #060f09;\n --vvd-color-alert-50: #ffeef2;\n --vvd-color-alert-100: #fedfdf;\n --vvd-color-alert-200: #ffbbbb;\n --vvd-color-alert-300: #fe9696;\n --vvd-color-alert-400: #f75959;\n --vvd-color-alert-500: #e61d1d;\n --vvd-color-alert-600: #cd0d0d;\n --vvd-color-alert-700: #9f0202;\n --vvd-color-alert-800: #6e0000;\n --vvd-color-alert-900: #3e0004;\n --vvd-color-alert-950: #250004;\n --vvd-color-surface-0dp: #ffffff;\n --vvd-color-surface-2dp: #ffffff;\n --vvd-color-surface-4dp: #ffffff;\n --vvd-color-surface-8dp: #ffffff;\n --vvd-color-surface-12dp: #ffffff;\n --vvd-color-surface-16dp: #ffffff;\n --vvd-color-surface-24dp: #ffffff;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #0000001a) drop-shadow(0px 1px 2px #0000000d) drop-shadow(0px 2px 1px #0000000d);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #0000001a) drop-shadow(0px 2px 4px #0000000d) drop-shadow(0px 4px 2px #0000000d);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #0000001a) drop-shadow(0px 8px 8px #0000000d) drop-shadow(0px 4px 4px #0000000d);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);\n}\n";
|
|
11416
|
+
const tokensThemeDarkCss = "/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n@property --vvd-size-density {\n syntax: \"<integer>\";\n inherits: true;\n initial-value: 0;\n}\n@property --vvd-size-font-scale-base {\n syntax: \"<length>\";\n inherits: true;\n initial-value: 16px;\n}\n.vvd-root, ::part(vvd-root) {\n --vvd-color-scheme: dark;\n --vvd-color-canvas: #000000;\n --vvd-color-canvas-text: #ffffff;\n --vvd-color-neutral-50: #1a1a1a;\n --vvd-color-neutral-100: #333333;\n --vvd-color-neutral-200: #4d4d4d;\n --vvd-color-neutral-300: #666666;\n --vvd-color-neutral-400: #757575;\n --vvd-color-neutral-500: #929292;\n --vvd-color-neutral-600: #b3b3b3;\n --vvd-color-neutral-700: #cccccc;\n --vvd-color-neutral-800: #E6E6E6;\n --vvd-color-neutral-900: #F2F2F2;\n --vvd-color-neutral-950: #ffffff;\n --vvd-color-cta-50: #26044d;\n --vvd-color-cta-100: #440291;\n --vvd-color-cta-200: #6405d1;\n --vvd-color-cta-300: #871eff;\n --vvd-color-cta-400: #9941ff;\n --vvd-color-cta-500: #b27bf2;\n --vvd-color-cta-600: #cba1fa;\n --vvd-color-cta-700: #dcc1fc;\n --vvd-color-cta-800: #ece2fa;\n --vvd-color-cta-900: #f5f0fd;\n --vvd-color-warning-50: #2A1502;\n --vvd-color-warning-100: #522801;\n --vvd-color-warning-200: #803807;\n --vvd-color-warning-300: #A64C03;\n --vvd-color-warning-400: #be5702;\n --vvd-color-warning-500: #e07902;\n --vvd-color-warning-600: #fa9f00;\n --vvd-color-warning-700: #FACC4B;\n --vvd-color-warning-800: #FDEAA0;\n --vvd-color-warning-900: #FDF5D4;\n --vvd-color-information-50: #071939;\n --vvd-color-information-100: #0e306d;\n --vvd-color-information-200: #094a9e;\n --vvd-color-information-300: #0e65c2;\n --vvd-color-information-400: #0276d5;\n --vvd-color-information-500: #2997f0;\n --vvd-color-information-600: #65baff;\n --vvd-color-information-700: #9dd2fe;\n --vvd-color-information-800: #d3e9fc;\n --vvd-color-information-900: #e8f4fb;\n --vvd-color-announcement-50: #32082c;\n --vvd-color-announcement-100: #620256;\n --vvd-color-announcement-200: #8f1669;\n --vvd-color-announcement-300: #bb1e89;\n --vvd-color-announcement-400: #d6219c;\n --vvd-color-announcement-500: #e560bb;\n --vvd-color-announcement-600: #fb8fd8;\n --vvd-color-announcement-700: #f8b9e7;\n --vvd-color-announcement-800: #ffdcf7;\n --vvd-color-announcement-900: #ffedfb;\n --vvd-color-alert-50: #3e0004;\n --vvd-color-alert-100: #6e0000;\n --vvd-color-alert-200: #9f0202;\n --vvd-color-alert-300: #cd0d0d;\n --vvd-color-alert-400: #e61d1d;\n --vvd-color-alert-500: #f75959;\n --vvd-color-alert-600: #fe9696;\n --vvd-color-alert-700: #ffbbbb;\n --vvd-color-alert-800: #fedfdf;\n --vvd-color-alert-900: #ffeef2;\n --vvd-color-success-50: #0a1e11;\n --vvd-color-success-100: #183a1e;\n --vvd-color-success-200: #155923;\n --vvd-color-success-300: #167629;\n --vvd-color-success-400: #1c8731;\n --vvd-color-success-500: #30a849;\n --vvd-color-success-600: #53ca6a;\n --vvd-color-success-700: #86e090;\n --vvd-color-success-800: #cfeed4;\n --vvd-color-success-900: #e1f8e5;\n --vvd-color-surface-0dp: #0d0d0d;\n --vvd-color-surface-2dp: linear-gradient(#ffffff0f, #ffffff0f), #0d0d0d;\n --vvd-color-surface-4dp: linear-gradient(#ffffff14, #ffffff14), #0d0d0d;\n --vvd-color-surface-8dp: linear-gradient(#ffffff1a, #ffffff1a), #0d0d0d;\n --vvd-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #0d0d0d;\n --vvd-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #0d0d0d;\n --vvd-color-surface-24dp: linear-gradient(#ffffff29, #ffffff29), #0d0d0d;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #00000040) drop-shadow(0px 1px 2px #00000040) drop-shadow(0px 2px 1px #00000040);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #00000040) drop-shadow(0px 2px 4px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #00000040) drop-shadow(0px 8px 8px #00000040) drop-shadow(0px 4px 4px #00000040);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);\n --vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 Montserrat;\n --vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 Montserrat;\n --vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 Montserrat;\n --vvd-typography-heading-2: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2)/1.375 Montserrat;\n --vvd-typography-heading-3: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.625)/1.3846153846153846 Montserrat;\n --vvd-typography-heading-4: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.25)/1.4 Montserrat;\n --vvd-typography-base: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Montserrat;\n --vvd-typography-base-code: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 Roboto Mono;\n --vvd-typography-base-condensed: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-condensed-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 Montserrat;\n --vvd-typography-base-extended: 400 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n --vvd-typography-base-extended-bold: 600 calc(var(--vvd-size-font-scale-base, 16px))/1.5 Montserrat;\n}\n\n.vvd-theme-alternate, ::part(vvd-theme-alternate) {\n --vvd-color-scheme: light;\n --vvd-color-canvas: #ffffff;\n --vvd-color-canvas-text: #0d0d0d;\n --vvd-color-neutral-50: #F2F2F2;\n --vvd-color-neutral-100: #E6E6E6;\n --vvd-color-neutral-200: #cccccc;\n --vvd-color-neutral-300: #b3b3b3;\n --vvd-color-neutral-400: #929292;\n --vvd-color-neutral-500: #757575;\n --vvd-color-neutral-600: #666666;\n --vvd-color-neutral-700: #4d4d4d;\n --vvd-color-neutral-800: #333333;\n --vvd-color-neutral-900: #1a1a1a;\n --vvd-color-neutral-950: #0d0d0d;\n --vvd-color-cta-50: #f5f0fd;\n --vvd-color-cta-100: #ece2fa;\n --vvd-color-cta-200: #dcc1fc;\n --vvd-color-cta-300: #cba1fa;\n --vvd-color-cta-400: #b27bf2;\n --vvd-color-cta-500: #9941ff;\n --vvd-color-cta-600: #871eff;\n --vvd-color-cta-700: #6405d1;\n --vvd-color-cta-800: #440291;\n --vvd-color-cta-900: #26044d;\n --vvd-color-cta-950: #140623;\n --vvd-color-warning-50: #FDF5D4;\n --vvd-color-warning-100: #FDEAA0;\n --vvd-color-warning-200: #FACC4B;\n --vvd-color-warning-300: #fa9f00;\n --vvd-color-warning-400: #e07902;\n --vvd-color-warning-500: #be5702;\n --vvd-color-warning-600: #A64C03;\n --vvd-color-warning-700: #893000;\n --vvd-color-warning-800: #522801;\n --vvd-color-warning-900: #2A1502;\n --vvd-color-warning-950: #150B01;\n --vvd-color-information-50: #e8f4fb;\n --vvd-color-information-100: #d3e9fc;\n --vvd-color-information-200: #9dd2fe;\n --vvd-color-information-300: #65baff;\n --vvd-color-information-400: #2997f0;\n --vvd-color-information-500: #0276d5;\n --vvd-color-information-600: #0e65c2;\n --vvd-color-information-700: #094a9e;\n --vvd-color-information-800: #0e306d;\n --vvd-color-information-900: #071939;\n --vvd-color-information-950: #040d1d;\n --vvd-color-announcement-50: #ffedfb;\n --vvd-color-announcement-100: #ffdcf7;\n --vvd-color-announcement-200: #f8b9e7;\n --vvd-color-announcement-300: #fb8fd8;\n --vvd-color-announcement-400: #e560bb;\n --vvd-color-announcement-500: #d6219c;\n --vvd-color-announcement-600: #bb1e89;\n --vvd-color-announcement-700: #8f1669;\n --vvd-color-announcement-800: #620256;\n --vvd-color-announcement-900: #32082c;\n --vvd-color-announcement-950: #1d031a;\n --vvd-color-success-50: #e1f8e5;\n --vvd-color-success-100: #cfeed4;\n --vvd-color-success-200: #86e090;\n --vvd-color-success-300: #53ca6a;\n --vvd-color-success-400: #30a849;\n --vvd-color-success-500: #1c8731;\n --vvd-color-success-600: #167629;\n --vvd-color-success-700: #155923;\n --vvd-color-success-800: #183a1e;\n --vvd-color-success-900: #0a1e11;\n --vvd-color-success-950: #060f09;\n --vvd-color-alert-50: #ffeef2;\n --vvd-color-alert-100: #fedfdf;\n --vvd-color-alert-200: #ffbbbb;\n --vvd-color-alert-300: #fe9696;\n --vvd-color-alert-400: #f75959;\n --vvd-color-alert-500: #e61d1d;\n --vvd-color-alert-600: #cd0d0d;\n --vvd-color-alert-700: #9f0202;\n --vvd-color-alert-800: #6e0000;\n --vvd-color-alert-900: #3e0004;\n --vvd-color-alert-950: #250004;\n --vvd-color-surface-0dp: #ffffff;\n --vvd-color-surface-2dp: #ffffff;\n --vvd-color-surface-4dp: #ffffff;\n --vvd-color-surface-8dp: #ffffff;\n --vvd-color-surface-12dp: #ffffff;\n --vvd-color-surface-16dp: #ffffff;\n --vvd-color-surface-24dp: #ffffff;\n --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);\n --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #0000001a) drop-shadow(0px 1px 2px #0000000d) drop-shadow(0px 2px 1px #0000000d);\n --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #0000001a) drop-shadow(0px 2px 4px #0000000d) drop-shadow(0px 4px 2px #0000000d);\n --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #0000001a) drop-shadow(0px 8px 8px #0000000d) drop-shadow(0px 4px 4px #0000000d);\n --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);\n --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);\n --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);\n}\n";
|
|
11093
11417
|
|
|
11094
|
-
const fontsSpeziaVariableCss = "@font-face {\n font-family: SpeziaCompleteVariableUpright;\n font-stretch: 50% 200%;\n font-weight: 1 1000;\n font-display: block;\n src: url(\"https://fonts.resources.vonage.com/fonts/v2/SpeziaCompleteVariableUprightWeb.woff2\") format(\"woff2\");\n}\n@font-face {\n font-family: SpeziaMonoCompleteVariable;\n font-stretch: 50% 200%;\n font-weight: 1 1000;\n font-display: block;\n src: url(\"https://fonts.resources.vonage.com/fonts/v2/SpeziaMonoCompleteVariableWeb.woff2\") format(\"woff2\");\n}\n.vvd-root {\n --vvd-typography-headline: 500 condensed
|
|
11418
|
+
const fontsSpeziaVariableCss = "@font-face {\n font-family: SpeziaCompleteVariableUpright;\n font-stretch: 50% 200%;\n font-weight: 1 1000;\n font-display: block;\n src: url(\"https://fonts.resources.vonage.com/fonts/v2/SpeziaCompleteVariableUprightWeb.woff2\") format(\"woff2\");\n}\n@font-face {\n font-family: SpeziaMonoCompleteVariable;\n font-stretch: 50% 200%;\n font-weight: 1 1000;\n font-display: block;\n src: url(\"https://fonts.resources.vonage.com/fonts/v2/SpeziaMonoCompleteVariableWeb.woff2\") format(\"woff2\");\n}\n.vvd-root {\n --vvd-typography-headline: 500 condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 4.125) / 1.3333333333333333\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-subtitle: 500 condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 3.25) / 1.3076923076923077\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-heading-1: 500 condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 2.5) / 1.3\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-heading-2: 500 condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 2) / 1.375\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-heading-3: 500 condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 1.625) / 1.3846153846153846\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-heading-4: 500 condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 1.25) / 1.4\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-base: 400 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 0.875) / 1.4285714285714286\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-base-bold: 600 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 0.875) / 1.4285714285714286\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-base-code: 400 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 0.875) / 1.4285714285714286\n \tSpeziaMonoCompleteVariable;\n --vvd-typography-base-condensed: 400 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 0.75) / 1.3333333333333333\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-base-condensed-bold: 600 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px) * 0.75) / 1.3333333333333333\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-base-extended: 400 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px)) / 1.5\n \tSpeziaCompleteVariableUpright;\n --vvd-typography-base-extended-bold: 600 ultra-condensed\n \tcalc(var(--vvd-size-font-scale-base, 16px)) / 1.5\n \tSpeziaCompleteVariableUpright;\n}\n";
|
|
11095
11419
|
|
|
11096
|
-
const tokensVivid2CompatCss = "/**\n * Do not edit directly\n * Generated on Wed,
|
|
11420
|
+
const tokensVivid2CompatCss = "/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n.vvd-root, ::part(vvd-root),\n.vvd-theme-alternate, ::part(vvd-theme-alternate) {\n --_vvd3--vvd-color-neutral-50: var(\n \t--vvd-color-neutral-50\n );\n}\n\n.vvd-component:not(.vvd-theme-alternate) {\n --vvd-color-neutral-50: var(--_vvd3--vvd-color-neutral-50);\n}\n";
|
|
11097
11421
|
|
|
11098
|
-
const coreThemeCss = "/**\n * Do not edit directly\n * Generated on Wed,
|
|
11422
|
+
const coreThemeCss = "/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n.vvd-root {\n color-scheme: var(--vvd-color-scheme);\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-canvas-text);\n}\n";
|
|
11099
11423
|
|
|
11100
|
-
const coreTypographyCss = "/**\n * Do not edit directly\n * Generated on Wed,
|
|
11424
|
+
const coreTypographyCss = "/**\n * Do not edit directly\n * Generated on Wed, 20 Mar 2024 10:23:28 GMT\n */\n.vvd-root:root {\n --vvd-size-font-scale-base: 1rem;\n font-size: unset;\n}\n.vvd-root:root > body {\n font: var(--vvd-typography-base);\n font-feature-settings: \"kern\"; /* turns on kerning */\n text-rendering: optimizeLegibility; /* emphasise on legibility when rendering, turns on ligatures and kerning */\n -webkit-font-smoothing: antialiased; /* apply font anti-aliasing for Webkit on OSX */\n -moz-osx-font-smoothing: grayscale; /* apply font anti-aliasing for Firefox on OSX */\n}\n.vvd-root:not(:root) {\n font: var(--vvd-typography-base);\n font-feature-settings: \"kern\"; /* turns on kerning */\n text-rendering: optimizeLegibility; /* emphasise on legibility when rendering, turns on ligatures and kerning */\n -webkit-font-smoothing: antialiased; /* apply font anti-aliasing for Webkit on OSX */\n -moz-osx-font-smoothing: grayscale; /* apply font anti-aliasing for Firefox on OSX */\n}\n.vvd-root p,\n.vvd-root .font-base {\n font: var(--vvd-typography-base);\n margin-block: 16px;\n}\n.vvd-root p.tight,\n.vvd-root .font-base.tight {\n margin-block: 0;\n}\n.vvd-root .font-base-bold {\n font: var(--vvd-typography-base-bold);\n}\n.vvd-root .font-base-condensed {\n font: var(--vvd-typography-base-condensed);\n}\n.vvd-root .font-base-condensed-bold {\n font: var(--vvd-typography-base-condensed-bold);\n}\n.vvd-root .font-base-extended {\n font: var(--vvd-typography-base-extended);\n}\n.vvd-root .font-base-extended-bold {\n font: var(--vvd-typography-base-extended-bold);\n}\n.vvd-root .font-base-code {\n font: var(--vvd-typography-base-code);\n}\n.vvd-root b, .vvd-root strong {\n font-weight: 600;\n}\n.vvd-root pre, .vvd-root var, .vvd-root code, .vvd-root kbd, .vvd-root samp {\n font: var(--vvd-typography-base-code);\n}\n.vvd-root .headline {\n font: var(--vvd-typography-headline);\n margin-block: 40px;\n}\n.vvd-root .subtitle {\n font: var(--vvd-typography-subtitle);\n margin-block: 40px;\n}\n.vvd-root h1,\n.vvd-root .heading1 {\n font: var(--vvd-typography-heading-1);\n margin-block: 32px;\n}\n.vvd-root h2,\n.vvd-root .heading2 {\n font: var(--vvd-typography-heading-2);\n margin-block: 32px;\n}\n.vvd-root h3,\n.vvd-root .heading3 {\n font: var(--vvd-typography-heading-3);\n margin-block: 24px;\n}\n.vvd-root h4,\n.vvd-root .heading4 {\n font: var(--vvd-typography-heading-4);\n margin-block: 24px;\n}\n.vvd-root .headline b, .vvd-root .headline strong,\n.vvd-root .subtitle b,\n.vvd-root .subtitle strong,\n.vvd-root h1 b,\n.vvd-root h1 strong,\n.vvd-root .heading1 b,\n.vvd-root .heading1 strong,\n.vvd-root h2 b,\n.vvd-root h2 strong,\n.vvd-root .heading2 b,\n.vvd-root .heading2 strong,\n.vvd-root h3 b,\n.vvd-root h3 strong,\n.vvd-root .heading3 b,\n.vvd-root .heading3 strong,\n.vvd-root h4 b,\n.vvd-root h4 strong,\n.vvd-root .heading4 b,\n.vvd-root .heading4 strong {\n font-weight: 500;\n}\n.vvd-root .headline.tight,\n.vvd-root .subtitle.tight,\n.vvd-root h1.tight,\n.vvd-root .heading1.tight,\n.vvd-root h2.tight,\n.vvd-root .heading2.tight,\n.vvd-root h3.tight,\n.vvd-root .heading3.tight,\n.vvd-root h4.tight,\n.vvd-root .heading4.tight {\n margin-block: 0;\n}\n.vvd-root small,\n.vvd-root figcaption {\n font: var(--vvd-typography-base-condensed);\n}\n.vvd-root sub,\n.vvd-root sup {\n font: var(--vvd-typography-base-condensed);\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n.vvd-root sub {\n bottom: -0.25em;\n}\n.vvd-root sup {\n top: -0.5em;\n}\n";
|
|
11101
11425
|
|
|
11102
11426
|
const theme = {
|
|
11103
11427
|
name: "core/theme",
|
|
@@ -11238,6 +11562,7 @@ exports.VProgress = VProgress;
|
|
|
11238
11562
|
exports.VProgressRing = VProgressRing;
|
|
11239
11563
|
exports.VRadio = VRadio;
|
|
11240
11564
|
exports.VRadioGroup = VRadioGroup;
|
|
11565
|
+
exports.VRangeSlider = VRangeSlider;
|
|
11241
11566
|
exports.VSelect = VSelect;
|
|
11242
11567
|
exports.VSelectableBox = VSelectableBox;
|
|
11243
11568
|
exports.VSideDrawer = VSideDrawer;
|