@vonage/vivid-vue 3.51.0 → 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 +15 -3
- package/generated/components/VButton.vue3.d.ts +15 -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 +0 -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 +0 -3
- package/generated/components/VTooltip.vue2.d.ts +0 -3
- package/generated/components/VTooltip.vue3.d.ts +0 -3
- 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 +1543 -1277
- package/index.js +1544 -1279
- package/package.json +2 -2
- package/web-types.json +463 -249
package/index.cjs
CHANGED
|
@@ -1555,6 +1555,10 @@ 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
|
*/
|
|
@@ -1666,6 +1670,7 @@ const VButton = vue.defineComponent({
|
|
|
1666
1670
|
...this.size !== void 0 ? { size: this.size } : {},
|
|
1667
1671
|
...this.stacked !== void 0 ? { stacked: this.stacked } : {},
|
|
1668
1672
|
...this.pending !== void 0 ? { pending: this.pending } : {},
|
|
1673
|
+
...this.active !== void 0 ? { active: this.active } : {},
|
|
1669
1674
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
1670
1675
|
...this.href !== void 0 ? { href: this.href } : {},
|
|
1671
1676
|
...this.download !== void 0 ? { download: this.download } : {},
|
|
@@ -1720,6 +1725,7 @@ const VButton = vue.defineComponent({
|
|
|
1720
1725
|
...this.size !== void 0 ? { size: this.size } : {},
|
|
1721
1726
|
...this.stacked !== void 0 ? { stacked: this.stacked } : {},
|
|
1722
1727
|
...this.pending !== void 0 ? { pending: this.pending } : {},
|
|
1728
|
+
...this.active !== void 0 ? { active: this.active } : {},
|
|
1723
1729
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
1724
1730
|
...this.href !== void 0 ? { href: this.href } : {},
|
|
1725
1731
|
...this.download !== void 0 ? { download: this.download } : {},
|
|
@@ -2821,21 +2827,16 @@ const VDataGrid = vue.defineComponent({
|
|
|
2821
2827
|
}
|
|
2822
2828
|
});
|
|
2823
2829
|
|
|
2824
|
-
const
|
|
2825
|
-
name: "
|
|
2826
|
-
model: isVue2 ? {
|
|
2827
|
-
prop: "modelValue",
|
|
2828
|
-
event: "update:modelValue"
|
|
2829
|
-
} : void 0,
|
|
2830
|
+
const VDataGridCell = vue.defineComponent({
|
|
2831
|
+
name: "VDataGridCell",
|
|
2830
2832
|
props: {
|
|
2831
2833
|
/**
|
|
2832
|
-
*
|
|
2833
|
-
*/
|
|
2834
|
-
label: { type: String, default: void 0 },
|
|
2835
|
-
/**
|
|
2836
|
-
* The error text for the form element.
|
|
2834
|
+
* Extends the data grid cell definition to hold more options.
|
|
2837
2835
|
*/
|
|
2838
|
-
|
|
2836
|
+
columnDefinition: {
|
|
2837
|
+
type: null,
|
|
2838
|
+
default: void 0
|
|
2839
|
+
},
|
|
2839
2840
|
/**
|
|
2840
2841
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
2841
2842
|
*/
|
|
@@ -2844,37 +2845,26 @@ const VDatePicker = vue.defineComponent({
|
|
|
2844
2845
|
default: void 0
|
|
2845
2846
|
},
|
|
2846
2847
|
/**
|
|
2847
|
-
*
|
|
2848
|
-
*/
|
|
2849
|
-
disabled: { type: Boolean, default: void 0 },
|
|
2850
|
-
/**
|
|
2851
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
2852
|
-
*/
|
|
2853
|
-
name: { type: String, default: void 0 },
|
|
2854
|
-
/**
|
|
2855
|
-
* Require the field to be completed prior to form submission.
|
|
2856
|
-
*/
|
|
2857
|
-
required: { type: Boolean, default: void 0 },
|
|
2858
|
-
/**
|
|
2859
|
-
* The latest accepted date of the date-picker.
|
|
2860
|
-
*/
|
|
2861
|
-
max: { type: String, default: void 0 },
|
|
2862
|
-
/**
|
|
2863
|
-
* The earliest accepted date of the date-picker.
|
|
2848
|
+
* The type of cell
|
|
2864
2849
|
*/
|
|
2865
|
-
|
|
2850
|
+
cellType: {
|
|
2851
|
+
type: String,
|
|
2852
|
+
default: void 0
|
|
2853
|
+
},
|
|
2866
2854
|
/**
|
|
2867
|
-
* 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
|
|
2868
2858
|
*/
|
|
2869
|
-
|
|
2859
|
+
gridColumn: { type: String, default: void 0 },
|
|
2870
2860
|
/**
|
|
2871
|
-
*
|
|
2861
|
+
* Indicates the selected status.
|
|
2872
2862
|
*/
|
|
2873
|
-
|
|
2863
|
+
ariaSelected: { type: String, default: void 0 },
|
|
2874
2864
|
/**
|
|
2875
|
-
*
|
|
2865
|
+
* Indicates the sort status.
|
|
2876
2866
|
*/
|
|
2877
|
-
|
|
2867
|
+
ariaSort: { type: String, default: void 0 }
|
|
2878
2868
|
},
|
|
2879
2869
|
emits: [
|
|
2880
2870
|
/**
|
|
@@ -2908,19 +2898,37 @@ const VDatePicker = vue.defineComponent({
|
|
|
2908
2898
|
*/
|
|
2909
2899
|
"input",
|
|
2910
2900
|
/**
|
|
2911
|
-
*
|
|
2901
|
+
* Fires a custom 'cell-focused' event when focus is on the cell or its contents
|
|
2912
2902
|
* @type {unknown}
|
|
2913
2903
|
*/
|
|
2914
|
-
"
|
|
2904
|
+
"cell-focused",
|
|
2915
2905
|
/**
|
|
2916
|
-
*
|
|
2917
|
-
* @type {
|
|
2906
|
+
* Event that fires when a sortable column header is clicked
|
|
2907
|
+
* @type {unknown}
|
|
2918
2908
|
*/
|
|
2919
|
-
"
|
|
2909
|
+
"sort",
|
|
2910
|
+
/**
|
|
2911
|
+
* Event that fires when a cell is clicked
|
|
2912
|
+
* @type {unknown}
|
|
2913
|
+
*/
|
|
2914
|
+
"cell-click"
|
|
2920
2915
|
],
|
|
2921
|
-
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
|
+
},
|
|
2922
2930
|
setup(props, ctx) {
|
|
2923
|
-
const componentName = registerComponent("
|
|
2931
|
+
const componentName = registerComponent("data-grid-cell", vivid.registerDataGrid);
|
|
2924
2932
|
const element = vue.ref(null);
|
|
2925
2933
|
return { componentName, element };
|
|
2926
2934
|
},
|
|
@@ -2931,17 +2939,12 @@ const VDatePicker = vue.defineComponent({
|
|
|
2931
2939
|
{
|
|
2932
2940
|
ref: "element",
|
|
2933
2941
|
attrs: {
|
|
2934
|
-
...this.
|
|
2935
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2942
|
+
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
2936
2943
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2937
|
-
...this.
|
|
2938
|
-
...this.
|
|
2939
|
-
...this.
|
|
2940
|
-
...this.
|
|
2941
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
2942
|
-
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2943
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2944
|
-
...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 } : {}
|
|
2945
2948
|
},
|
|
2946
2949
|
class: "vvd-component",
|
|
2947
2950
|
on: {
|
|
@@ -2950,14 +2953,10 @@ const VDatePicker = vue.defineComponent({
|
|
|
2950
2953
|
blur: (event) => this.$emit("blur", event),
|
|
2951
2954
|
keydown: (event) => this.$emit("keydown", event),
|
|
2952
2955
|
keyup: (event) => this.$emit("keyup", event),
|
|
2953
|
-
input: (event) =>
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
);
|
|
2958
|
-
this.$emit("input", event);
|
|
2959
|
-
},
|
|
2960
|
-
"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)
|
|
2961
2960
|
}
|
|
2962
2961
|
},
|
|
2963
2962
|
[this.$slots.default]
|
|
@@ -2968,30 +2967,21 @@ const VDatePicker = vue.defineComponent({
|
|
|
2968
2967
|
{
|
|
2969
2968
|
ref: "element",
|
|
2970
2969
|
class: "vvd-component",
|
|
2971
|
-
...this.
|
|
2972
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2970
|
+
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
2973
2971
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2974
|
-
...this.
|
|
2975
|
-
...this.
|
|
2976
|
-
...this.
|
|
2977
|
-
...this.
|
|
2978
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
2979
|
-
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2980
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2981
|
-
...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 } : {},
|
|
2982
2976
|
onClick: (event) => this.$emit("click", event),
|
|
2983
2977
|
onFocus: (event) => this.$emit("focus", event),
|
|
2984
2978
|
onBlur: (event) => this.$emit("blur", event),
|
|
2985
2979
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
2986
2980
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
2987
|
-
onInput: (event) =>
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
);
|
|
2992
|
-
this.$emit("input", event);
|
|
2993
|
-
},
|
|
2994
|
-
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)
|
|
2995
2985
|
},
|
|
2996
2986
|
[
|
|
2997
2987
|
// @ts-ignore
|
|
@@ -3001,17 +2991,9 @@ const VDatePicker = vue.defineComponent({
|
|
|
3001
2991
|
}
|
|
3002
2992
|
});
|
|
3003
2993
|
|
|
3004
|
-
const
|
|
3005
|
-
name: "
|
|
2994
|
+
const VDataGridRow = vue.defineComponent({
|
|
2995
|
+
name: "VDataGridRow",
|
|
3006
2996
|
props: {
|
|
3007
|
-
/**
|
|
3008
|
-
* The label for the form element.
|
|
3009
|
-
*/
|
|
3010
|
-
label: { type: String, default: void 0 },
|
|
3011
|
-
/**
|
|
3012
|
-
* The error text for the form element.
|
|
3013
|
-
*/
|
|
3014
|
-
errorText: { type: String, default: void 0 },
|
|
3015
2997
|
/**
|
|
3016
2998
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3017
2999
|
*/
|
|
@@ -3020,53 +3002,23 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3020
3002
|
default: void 0
|
|
3021
3003
|
},
|
|
3022
3004
|
/**
|
|
3023
|
-
*
|
|
3024
|
-
*/
|
|
3025
|
-
disabled: { type: Boolean, default: void 0 },
|
|
3026
|
-
/**
|
|
3027
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3028
|
-
*/
|
|
3029
|
-
name: { type: String, default: void 0 },
|
|
3030
|
-
/**
|
|
3031
|
-
* Require the field to be completed prior to form submission.
|
|
3032
|
-
*/
|
|
3033
|
-
required: { type: Boolean, default: void 0 },
|
|
3034
|
-
/**
|
|
3035
|
-
* The latest accepted date of the date-picker.
|
|
3036
|
-
*/
|
|
3037
|
-
max: { type: String, default: void 0 },
|
|
3038
|
-
/**
|
|
3039
|
-
* The current start value of the element. This property serves as a mechanism
|
|
3040
|
-
* to set the `start` property through both property assignment and the
|
|
3041
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
3042
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
3043
|
-
* and don't support IDL attribute binding.
|
|
3044
|
-
*/
|
|
3045
|
-
start: { type: String, default: void 0 },
|
|
3046
|
-
/**
|
|
3047
|
-
* The current end value of the element. This property serves as a mechanism
|
|
3048
|
-
* to set the `end` property through both property assignment and the
|
|
3049
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
3050
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
3051
|
-
* and don't support IDL attribute binding.
|
|
3052
|
-
*/
|
|
3053
|
-
end: { type: String, default: void 0 },
|
|
3054
|
-
/**
|
|
3055
|
-
* The earliest accepted date of the date-picker.
|
|
3056
|
-
*/
|
|
3057
|
-
min: { type: String, default: void 0 },
|
|
3058
|
-
/**
|
|
3059
|
-
* The initial value of the date-picker.
|
|
3005
|
+
* String that gets applied to the the css gridTemplateColumns attribute for the row
|
|
3060
3006
|
*/
|
|
3061
|
-
|
|
3007
|
+
gridTemplateColumns: {
|
|
3008
|
+
type: String,
|
|
3009
|
+
default: void 0
|
|
3010
|
+
},
|
|
3062
3011
|
/**
|
|
3063
|
-
* The
|
|
3012
|
+
* The type of row
|
|
3064
3013
|
*/
|
|
3065
|
-
|
|
3014
|
+
rowType: {
|
|
3015
|
+
type: String,
|
|
3016
|
+
default: void 0
|
|
3017
|
+
},
|
|
3066
3018
|
/**
|
|
3067
|
-
*
|
|
3019
|
+
* Indicates the selected status.
|
|
3068
3020
|
*/
|
|
3069
|
-
|
|
3021
|
+
ariaSelected: { type: String, default: void 0 }
|
|
3070
3022
|
},
|
|
3071
3023
|
emits: [
|
|
3072
3024
|
/**
|
|
@@ -3100,37 +3052,29 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3100
3052
|
*/
|
|
3101
3053
|
"input",
|
|
3102
3054
|
/**
|
|
3103
|
-
*
|
|
3104
|
-
* @type {unknown}
|
|
3105
|
-
*/
|
|
3106
|
-
"input:start",
|
|
3107
|
-
/**
|
|
3108
|
-
* Event emitted when the end value changes
|
|
3055
|
+
* Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row
|
|
3109
3056
|
* @type {unknown}
|
|
3110
3057
|
*/
|
|
3111
|
-
"
|
|
3058
|
+
"row-focused",
|
|
3112
3059
|
/**
|
|
3113
|
-
* Event
|
|
3060
|
+
* Event that fires when a cell is clicked
|
|
3114
3061
|
* @type {unknown}
|
|
3115
3062
|
*/
|
|
3116
|
-
"
|
|
3117
|
-
/**
|
|
3118
|
-
* Event emitted when the start value changes
|
|
3119
|
-
* @type {string}
|
|
3120
|
-
*/
|
|
3121
|
-
"update:start",
|
|
3122
|
-
/**
|
|
3123
|
-
* Event emitted when the end value changes
|
|
3124
|
-
* @type {string}
|
|
3125
|
-
*/
|
|
3126
|
-
"update:end"
|
|
3063
|
+
"cell-click"
|
|
3127
3064
|
],
|
|
3128
|
-
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
|
+
},
|
|
3129
3076
|
setup(props, ctx) {
|
|
3130
|
-
const componentName = registerComponent(
|
|
3131
|
-
"date-range-picker",
|
|
3132
|
-
vivid.registerDateRangePicker
|
|
3133
|
-
);
|
|
3077
|
+
const componentName = registerComponent("data-grid-row", vivid.registerDataGrid);
|
|
3134
3078
|
const element = vue.ref(null);
|
|
3135
3079
|
return { componentName, element };
|
|
3136
3080
|
},
|
|
@@ -3141,19 +3085,10 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3141
3085
|
{
|
|
3142
3086
|
ref: "element",
|
|
3143
3087
|
attrs: {
|
|
3144
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
3145
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3146
3088
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3147
|
-
...this.
|
|
3148
|
-
...this.
|
|
3149
|
-
...this.
|
|
3150
|
-
...this.max !== void 0 ? { max: this.max } : {},
|
|
3151
|
-
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3152
|
-
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3153
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
3154
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
3155
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3156
|
-
...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 } : {}
|
|
3157
3092
|
},
|
|
3158
3093
|
class: "vvd-component",
|
|
3159
3094
|
on: {
|
|
@@ -3163,15 +3098,8 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3163
3098
|
keydown: (event) => this.$emit("keydown", event),
|
|
3164
3099
|
keyup: (event) => this.$emit("keyup", event),
|
|
3165
3100
|
input: (event) => this.$emit("input", event),
|
|
3166
|
-
"
|
|
3167
|
-
|
|
3168
|
-
this.$emit("input:start", event);
|
|
3169
|
-
},
|
|
3170
|
-
"input:end": (event) => {
|
|
3171
|
-
this.$emit("update:end", event.target.end);
|
|
3172
|
-
this.$emit("input:end", event);
|
|
3173
|
-
},
|
|
3174
|
-
"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)
|
|
3175
3103
|
}
|
|
3176
3104
|
},
|
|
3177
3105
|
[this.$slots.default]
|
|
@@ -3182,34 +3110,18 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3182
3110
|
{
|
|
3183
3111
|
ref: "element",
|
|
3184
3112
|
class: "vvd-component",
|
|
3185
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
3186
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3187
3113
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3188
|
-
...this.
|
|
3189
|
-
...this.
|
|
3190
|
-
...this.
|
|
3191
|
-
...this.max !== void 0 ? { max: this.max } : {},
|
|
3192
|
-
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3193
|
-
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3194
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
3195
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
3196
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3197
|
-
...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 } : {},
|
|
3198
3117
|
onClick: (event) => this.$emit("click", event),
|
|
3199
3118
|
onFocus: (event) => this.$emit("focus", event),
|
|
3200
3119
|
onBlur: (event) => this.$emit("blur", event),
|
|
3201
3120
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3202
3121
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3203
3122
|
onInput: (event) => this.$emit("input", event),
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
this.$emit("input:start", event);
|
|
3207
|
-
},
|
|
3208
|
-
"onInput:end": (event) => {
|
|
3209
|
-
this.$emit("update:end", event.target.end);
|
|
3210
|
-
this.$emit("input:end", event);
|
|
3211
|
-
},
|
|
3212
|
-
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3123
|
+
onRowFocused: (event) => this.$emit("row-focused", event),
|
|
3124
|
+
onCellClick: (event) => this.$emit("cell-click", event)
|
|
3213
3125
|
},
|
|
3214
3126
|
[
|
|
3215
3127
|
// @ts-ignore
|
|
@@ -3219,9 +3131,21 @@ const VDateRangePicker = vue.defineComponent({
|
|
|
3219
3131
|
}
|
|
3220
3132
|
});
|
|
3221
3133
|
|
|
3222
|
-
const
|
|
3223
|
-
name: "
|
|
3134
|
+
const VDatePicker = vue.defineComponent({
|
|
3135
|
+
name: "VDatePicker",
|
|
3136
|
+
model: isVue2 ? {
|
|
3137
|
+
prop: "modelValue",
|
|
3138
|
+
event: "update:modelValue"
|
|
3139
|
+
} : void 0,
|
|
3224
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 },
|
|
3225
3149
|
/**
|
|
3226
3150
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3227
3151
|
*/
|
|
@@ -3230,27 +3154,37 @@ const VDialog = vue.defineComponent({
|
|
|
3230
3154
|
default: void 0
|
|
3231
3155
|
},
|
|
3232
3156
|
/**
|
|
3233
|
-
*
|
|
3157
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3234
3158
|
*/
|
|
3235
|
-
|
|
3159
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3236
3160
|
/**
|
|
3237
|
-
*
|
|
3238
|
-
* 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.
|
|
3239
3162
|
*/
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
},
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
},
|
|
3253
|
-
|
|
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 }
|
|
3254
3188
|
},
|
|
3255
3189
|
emits: [
|
|
3256
3190
|
/**
|
|
@@ -3284,24 +3218,19 @@ const VDialog = vue.defineComponent({
|
|
|
3284
3218
|
*/
|
|
3285
3219
|
"input",
|
|
3286
3220
|
/**
|
|
3287
|
-
*
|
|
3221
|
+
* Event emitted when the clear value changes
|
|
3288
3222
|
* @type {unknown}
|
|
3289
3223
|
*/
|
|
3290
|
-
"
|
|
3224
|
+
"clear-click",
|
|
3225
|
+
/**
|
|
3226
|
+
* Fires when the value of an element has been changed.
|
|
3227
|
+
* @type {string}
|
|
3228
|
+
*/
|
|
3229
|
+
"update:modelValue"
|
|
3291
3230
|
],
|
|
3292
|
-
methods: {
|
|
3293
|
-
close() {
|
|
3294
|
-
return this.element?.close();
|
|
3295
|
-
},
|
|
3296
|
-
show() {
|
|
3297
|
-
return this.element?.show();
|
|
3298
|
-
},
|
|
3299
|
-
showModal() {
|
|
3300
|
-
return this.element?.showModal();
|
|
3301
|
-
}
|
|
3302
|
-
},
|
|
3231
|
+
methods: {},
|
|
3303
3232
|
setup(props, ctx) {
|
|
3304
|
-
const componentName = registerComponent("
|
|
3233
|
+
const componentName = registerComponent("date-picker", vivid.registerDatePicker);
|
|
3305
3234
|
const element = vue.ref(null);
|
|
3306
3235
|
return { componentName, element };
|
|
3307
3236
|
},
|
|
@@ -3312,16 +3241,17 @@ const VDialog = vue.defineComponent({
|
|
|
3312
3241
|
{
|
|
3313
3242
|
ref: "element",
|
|
3314
3243
|
attrs: {
|
|
3244
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3245
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3315
3246
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3316
|
-
...this.
|
|
3317
|
-
...this.
|
|
3318
|
-
...this.
|
|
3319
|
-
...this.
|
|
3320
|
-
...this.
|
|
3321
|
-
...this.
|
|
3322
|
-
...this.
|
|
3323
|
-
...this.
|
|
3324
|
-
...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 } : {}
|
|
3325
3255
|
},
|
|
3326
3256
|
class: "vvd-component",
|
|
3327
3257
|
on: {
|
|
@@ -3330,23 +3260,17 @@ const VDialog = vue.defineComponent({
|
|
|
3330
3260
|
blur: (event) => this.$emit("blur", event),
|
|
3331
3261
|
keydown: (event) => this.$emit("keydown", event),
|
|
3332
3262
|
keyup: (event) => this.$emit("keyup", event),
|
|
3333
|
-
input: (event) =>
|
|
3334
|
-
|
|
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)
|
|
3335
3271
|
}
|
|
3336
3272
|
},
|
|
3337
|
-
[
|
|
3338
|
-
this.$slots.default,
|
|
3339
|
-
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3340
|
-
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3341
|
-
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3342
|
-
handleNamedSlot("body", this.$slots["body"]),
|
|
3343
|
-
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3344
|
-
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3345
|
-
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3346
|
-
handleNamedSlot("main", this.$slots["main"]),
|
|
3347
|
-
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3348
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3349
|
-
]
|
|
3273
|
+
[this.$slots.default]
|
|
3350
3274
|
);
|
|
3351
3275
|
}
|
|
3352
3276
|
return vue.h(
|
|
@@ -3354,45 +3278,50 @@ const VDialog = vue.defineComponent({
|
|
|
3354
3278
|
{
|
|
3355
3279
|
ref: "element",
|
|
3356
3280
|
class: "vvd-component",
|
|
3281
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3282
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3357
3283
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3358
|
-
...this.
|
|
3359
|
-
...this.
|
|
3360
|
-
...this.
|
|
3361
|
-
...this.
|
|
3362
|
-
...this.
|
|
3363
|
-
...this.
|
|
3364
|
-
...this.
|
|
3365
|
-
...this.
|
|
3366
|
-
...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 } : {},
|
|
3367
3292
|
onClick: (event) => this.$emit("click", event),
|
|
3368
3293
|
onFocus: (event) => this.$emit("focus", event),
|
|
3369
3294
|
onBlur: (event) => this.$emit("blur", event),
|
|
3370
3295
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3371
3296
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3372
|
-
onInput: (event) =>
|
|
3373
|
-
|
|
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)
|
|
3374
3305
|
},
|
|
3375
3306
|
[
|
|
3376
3307
|
// @ts-ignore
|
|
3377
|
-
this.$slots.default && this.$slots.default()
|
|
3378
|
-
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3379
|
-
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3380
|
-
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3381
|
-
handleNamedSlot("body", this.$slots["body"]),
|
|
3382
|
-
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3383
|
-
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3384
|
-
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3385
|
-
handleNamedSlot("main", this.$slots["main"]),
|
|
3386
|
-
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3387
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3308
|
+
this.$slots.default && this.$slots.default()
|
|
3388
3309
|
]
|
|
3389
3310
|
);
|
|
3390
3311
|
}
|
|
3391
3312
|
});
|
|
3392
3313
|
|
|
3393
|
-
const
|
|
3394
|
-
name: "
|
|
3314
|
+
const VDateRangePicker = vue.defineComponent({
|
|
3315
|
+
name: "VDateRangePicker",
|
|
3395
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 },
|
|
3396
3325
|
/**
|
|
3397
3326
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3398
3327
|
*/
|
|
@@ -3401,35 +3330,69 @@ const VDivider = vue.defineComponent({
|
|
|
3401
3330
|
default: void 0
|
|
3402
3331
|
},
|
|
3403
3332
|
/**
|
|
3404
|
-
*
|
|
3333
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3405
3334
|
*/
|
|
3406
|
-
|
|
3407
|
-
type: String,
|
|
3408
|
-
default: void 0
|
|
3409
|
-
},
|
|
3335
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3410
3336
|
/**
|
|
3411
|
-
* The
|
|
3337
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3412
3338
|
*/
|
|
3413
|
-
|
|
3414
|
-
type: String,
|
|
3415
|
-
default: void 0
|
|
3416
|
-
}
|
|
3417
|
-
},
|
|
3418
|
-
emits: [
|
|
3339
|
+
name: { type: String, default: void 0 },
|
|
3419
3340
|
/**
|
|
3420
|
-
*
|
|
3421
|
-
* @type {MouseEvent}
|
|
3341
|
+
* Require the field to be completed prior to form submission.
|
|
3422
3342
|
*/
|
|
3423
|
-
|
|
3343
|
+
required: { type: Boolean, default: void 0 },
|
|
3424
3344
|
/**
|
|
3425
|
-
*
|
|
3426
|
-
* @type {FocusEvent}
|
|
3345
|
+
* The latest accepted date of the date-picker.
|
|
3427
3346
|
*/
|
|
3428
|
-
|
|
3347
|
+
max: { type: String, default: void 0 },
|
|
3429
3348
|
/**
|
|
3430
|
-
*
|
|
3431
|
-
*
|
|
3432
|
-
|
|
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 }
|
|
3380
|
+
},
|
|
3381
|
+
emits: [
|
|
3382
|
+
/**
|
|
3383
|
+
* 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.
|
|
3384
|
+
* @type {MouseEvent}
|
|
3385
|
+
*/
|
|
3386
|
+
"click",
|
|
3387
|
+
/**
|
|
3388
|
+
* Fires when the element receives focus.
|
|
3389
|
+
* @type {FocusEvent}
|
|
3390
|
+
*/
|
|
3391
|
+
"focus",
|
|
3392
|
+
/**
|
|
3393
|
+
* Fires when the element loses focus.
|
|
3394
|
+
* @type {FocusEvent}
|
|
3395
|
+
*/
|
|
3433
3396
|
"blur",
|
|
3434
3397
|
/**
|
|
3435
3398
|
* Fires when a key is pressed.
|
|
@@ -3445,11 +3408,39 @@ const VDivider = vue.defineComponent({
|
|
|
3445
3408
|
* Fires when the value of an element has been changed.
|
|
3446
3409
|
* @type {Event}
|
|
3447
3410
|
*/
|
|
3448
|
-
"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"
|
|
3449
3437
|
],
|
|
3450
3438
|
methods: {},
|
|
3451
3439
|
setup(props, ctx) {
|
|
3452
|
-
const componentName = registerComponent(
|
|
3440
|
+
const componentName = registerComponent(
|
|
3441
|
+
"date-range-picker",
|
|
3442
|
+
vivid.registerDateRangePicker
|
|
3443
|
+
);
|
|
3453
3444
|
const element = vue.ref(null);
|
|
3454
3445
|
return { componentName, element };
|
|
3455
3446
|
},
|
|
@@ -3460,9 +3451,19 @@ const VDivider = vue.defineComponent({
|
|
|
3460
3451
|
{
|
|
3461
3452
|
ref: "element",
|
|
3462
3453
|
attrs: {
|
|
3454
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3455
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3463
3456
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3464
|
-
...this.
|
|
3465
|
-
...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 } : {}
|
|
3466
3467
|
},
|
|
3467
3468
|
class: "vvd-component",
|
|
3468
3469
|
on: {
|
|
@@ -3471,7 +3472,16 @@ const VDivider = vue.defineComponent({
|
|
|
3471
3472
|
blur: (event) => this.$emit("blur", event),
|
|
3472
3473
|
keydown: (event) => this.$emit("keydown", event),
|
|
3473
3474
|
keyup: (event) => this.$emit("keyup", event),
|
|
3474
|
-
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)
|
|
3475
3485
|
}
|
|
3476
3486
|
},
|
|
3477
3487
|
[this.$slots.default]
|
|
@@ -3482,15 +3492,34 @@ const VDivider = vue.defineComponent({
|
|
|
3482
3492
|
{
|
|
3483
3493
|
ref: "element",
|
|
3484
3494
|
class: "vvd-component",
|
|
3495
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3496
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3485
3497
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3486
|
-
...this.
|
|
3487
|
-
...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 } : {},
|
|
3488
3508
|
onClick: (event) => this.$emit("click", event),
|
|
3489
3509
|
onFocus: (event) => this.$emit("focus", event),
|
|
3490
3510
|
onBlur: (event) => this.$emit("blur", event),
|
|
3491
3511
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3492
3512
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3493
|
-
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)
|
|
3494
3523
|
},
|
|
3495
3524
|
[
|
|
3496
3525
|
// @ts-ignore
|
|
@@ -3500,8 +3529,8 @@ const VDivider = vue.defineComponent({
|
|
|
3500
3529
|
}
|
|
3501
3530
|
});
|
|
3502
3531
|
|
|
3503
|
-
const
|
|
3504
|
-
name: "
|
|
3532
|
+
const VDialog = vue.defineComponent({
|
|
3533
|
+
name: "VDialog",
|
|
3505
3534
|
props: {
|
|
3506
3535
|
/**
|
|
3507
3536
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -3511,14 +3540,27 @@ const VEmptyState = vue.defineComponent({
|
|
|
3511
3540
|
default: void 0
|
|
3512
3541
|
},
|
|
3513
3542
|
/**
|
|
3514
|
-
*
|
|
3543
|
+
* Indicates dialog's state
|
|
3515
3544
|
*/
|
|
3516
|
-
|
|
3545
|
+
open: { type: Boolean, default: void 0 },
|
|
3517
3546
|
/**
|
|
3518
|
-
*
|
|
3547
|
+
* undefined
|
|
3519
3548
|
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3520
3549
|
*/
|
|
3521
|
-
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 }
|
|
3522
3564
|
},
|
|
3523
3565
|
emits: [
|
|
3524
3566
|
/**
|
|
@@ -3550,11 +3592,26 @@ const VEmptyState = vue.defineComponent({
|
|
|
3550
3592
|
* Fires when the value of an element has been changed.
|
|
3551
3593
|
* @type {Event}
|
|
3552
3594
|
*/
|
|
3553
|
-
"input"
|
|
3595
|
+
"input",
|
|
3596
|
+
/**
|
|
3597
|
+
* Fired when the dialog is closed.
|
|
3598
|
+
* @type {unknown}
|
|
3599
|
+
*/
|
|
3600
|
+
"close"
|
|
3554
3601
|
],
|
|
3555
|
-
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
|
+
},
|
|
3556
3613
|
setup(props, ctx) {
|
|
3557
|
-
const componentName = registerComponent("
|
|
3614
|
+
const componentName = registerComponent("dialog", vivid.registerDialog);
|
|
3558
3615
|
const element = vue.ref(null);
|
|
3559
3616
|
return { componentName, element };
|
|
3560
3617
|
},
|
|
@@ -3566,8 +3623,15 @@ const VEmptyState = vue.defineComponent({
|
|
|
3566
3623
|
ref: "element",
|
|
3567
3624
|
attrs: {
|
|
3568
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 } : {},
|
|
3569
3630
|
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3570
|
-
...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 } : {}
|
|
3571
3635
|
},
|
|
3572
3636
|
class: "vvd-component",
|
|
3573
3637
|
on: {
|
|
@@ -3576,14 +3640,21 @@ const VEmptyState = vue.defineComponent({
|
|
|
3576
3640
|
blur: (event) => this.$emit("blur", event),
|
|
3577
3641
|
keydown: (event) => this.$emit("keydown", event),
|
|
3578
3642
|
keyup: (event) => this.$emit("keyup", event),
|
|
3579
|
-
input: (event) => this.$emit("input", event)
|
|
3643
|
+
input: (event) => this.$emit("input", event),
|
|
3644
|
+
close: (event) => this.$emit("close", event)
|
|
3580
3645
|
}
|
|
3581
3646
|
},
|
|
3582
3647
|
[
|
|
3583
3648
|
this.$slots.default,
|
|
3584
|
-
// @slot graphic
|
|
3649
|
+
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3585
3650
|
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3586
|
-
// @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.
|
|
3587
3658
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3588
3659
|
]
|
|
3589
3660
|
);
|
|
@@ -3594,39 +3665,44 @@ const VEmptyState = vue.defineComponent({
|
|
|
3594
3665
|
ref: "element",
|
|
3595
3666
|
class: "vvd-component",
|
|
3596
3667
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3597
|
-
...this.
|
|
3668
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
3598
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 } : {},
|
|
3599
3677
|
onClick: (event) => this.$emit("click", event),
|
|
3600
3678
|
onFocus: (event) => this.$emit("focus", event),
|
|
3601
3679
|
onBlur: (event) => this.$emit("blur", event),
|
|
3602
3680
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3603
3681
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3604
|
-
onInput: (event) => this.$emit("input", event)
|
|
3682
|
+
onInput: (event) => this.$emit("input", event),
|
|
3683
|
+
onClose: (event) => this.$emit("close", event)
|
|
3605
3684
|
},
|
|
3606
3685
|
[
|
|
3607
3686
|
// @ts-ignore
|
|
3608
3687
|
this.$slots.default && this.$slots.default(),
|
|
3609
|
-
// @slot graphic
|
|
3688
|
+
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3610
3689
|
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3611
|
-
// @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.
|
|
3612
3697
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3613
3698
|
]
|
|
3614
3699
|
);
|
|
3615
3700
|
}
|
|
3616
3701
|
});
|
|
3617
3702
|
|
|
3618
|
-
const
|
|
3619
|
-
name: "
|
|
3703
|
+
const VDivider = vue.defineComponent({
|
|
3704
|
+
name: "VDivider",
|
|
3620
3705
|
props: {
|
|
3621
|
-
/**
|
|
3622
|
-
* A decorative icon the custom element should have.
|
|
3623
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3624
|
-
*/
|
|
3625
|
-
icon: { type: String, default: void 0 },
|
|
3626
|
-
/**
|
|
3627
|
-
* Indicates the icon affix alignment.
|
|
3628
|
-
*/
|
|
3629
|
-
iconTrailing: { type: Boolean, default: void 0 },
|
|
3630
3706
|
/**
|
|
3631
3707
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3632
3708
|
*/
|
|
@@ -3635,20 +3711,254 @@ const VFab = vue.defineComponent({
|
|
|
3635
3711
|
default: void 0
|
|
3636
3712
|
},
|
|
3637
3713
|
/**
|
|
3638
|
-
*
|
|
3714
|
+
* The role of the element.
|
|
3639
3715
|
*/
|
|
3640
|
-
|
|
3716
|
+
role: {
|
|
3717
|
+
type: String,
|
|
3718
|
+
default: void 0
|
|
3719
|
+
},
|
|
3641
3720
|
/**
|
|
3642
|
-
* The
|
|
3643
|
-
* only when the `value` property has not been explicitly set.
|
|
3721
|
+
* The orientation of the divider.
|
|
3644
3722
|
*/
|
|
3645
|
-
|
|
3723
|
+
orientation: {
|
|
3724
|
+
type: String,
|
|
3725
|
+
default: void 0
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
emits: [
|
|
3646
3729
|
/**
|
|
3647
|
-
*
|
|
3648
|
-
*
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
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
|
|
3953
|
+
* only when the `value` property has not been explicitly set.
|
|
3954
|
+
*/
|
|
3955
|
+
value: { type: String, default: void 0 },
|
|
3956
|
+
/**
|
|
3957
|
+
* The current value of the element. This property serves as a mechanism
|
|
3958
|
+
* to set the `value` property through both property assignment and the
|
|
3959
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
3960
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3961
|
+
* and don't support IDL attribute binding.
|
|
3652
3962
|
*/
|
|
3653
3963
|
currentValue: { type: String, default: void 0 },
|
|
3654
3964
|
/**
|
|
@@ -4634,6 +4944,13 @@ const VMenuItem = vue.defineComponent({
|
|
|
4634
4944
|
* Indicates the menu item's secondary text.
|
|
4635
4945
|
*/
|
|
4636
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
|
+
},
|
|
4637
4954
|
/**
|
|
4638
4955
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
4639
4956
|
*/
|
|
@@ -4714,6 +5031,7 @@ const VMenuItem = vue.defineComponent({
|
|
|
4714
5031
|
...this.modelValue !== void 0 ? { checked: this.modelValue } : {},
|
|
4715
5032
|
...this.text !== void 0 ? { text: this.text } : {},
|
|
4716
5033
|
...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {},
|
|
5034
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
4717
5035
|
...this.checkTrailing !== void 0 ? { "check-trailing": this.checkTrailing } : {},
|
|
4718
5036
|
...this.checkAppearance !== void 0 ? { "check-appearance": this.checkAppearance } : {}
|
|
4719
5037
|
},
|
|
@@ -4759,6 +5077,7 @@ const VMenuItem = vue.defineComponent({
|
|
|
4759
5077
|
...this.modelValue !== void 0 ? { checked: this.modelValue } : {},
|
|
4760
5078
|
...this.text !== void 0 ? { text: this.text } : {},
|
|
4761
5079
|
...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {},
|
|
5080
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
4762
5081
|
...this.checkTrailing !== void 0 ? { "check-trailing": this.checkTrailing } : {},
|
|
4763
5082
|
...this.checkAppearance !== void 0 ? { "check-appearance": this.checkAppearance } : {},
|
|
4764
5083
|
onClick: (event) => this.$emit("click", event),
|
|
@@ -6488,21 +6807,271 @@ const VRadioGroup = vue.defineComponent({
|
|
|
6488
6807
|
}
|
|
6489
6808
|
});
|
|
6490
6809
|
|
|
6491
|
-
const
|
|
6492
|
-
name: "
|
|
6493
|
-
model: isVue2 ? {
|
|
6494
|
-
prop: "modelValue",
|
|
6495
|
-
event: "update:modelValue"
|
|
6496
|
-
} : void 0,
|
|
6810
|
+
const VRangeSlider = vue.defineComponent({
|
|
6811
|
+
name: "VRangeSlider",
|
|
6497
6812
|
props: {
|
|
6498
6813
|
/**
|
|
6499
|
-
* The
|
|
6814
|
+
* The label for the form element.
|
|
6500
6815
|
*/
|
|
6501
|
-
|
|
6816
|
+
label: { type: String, default: void 0 },
|
|
6502
6817
|
/**
|
|
6503
|
-
*
|
|
6818
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
6504
6819
|
*/
|
|
6505
|
-
|
|
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 },
|
|
7071
|
+
/**
|
|
7072
|
+
* The error text for the form element.
|
|
7073
|
+
*/
|
|
7074
|
+
errorText: { type: String, default: void 0 },
|
|
6506
7075
|
/**
|
|
6507
7076
|
* The helper text for the form element.
|
|
6508
7077
|
*/
|
|
@@ -8215,518 +8784,44 @@ const VTag = vue.defineComponent({
|
|
|
8215
8784
|
{
|
|
8216
8785
|
ref: "element",
|
|
8217
8786
|
class: "vvd-component",
|
|
8218
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8219
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8220
|
-
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
8221
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8222
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8223
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8224
|
-
...this.removable !== void 0 ? { removable: this.removable } : {},
|
|
8225
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8226
|
-
...this.selectable !== void 0 ? { selectable: this.selectable } : {},
|
|
8227
|
-
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
8228
|
-
onClick: (event) => this.$emit("click", event),
|
|
8229
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8230
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8231
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8232
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8233
|
-
onInput: (event) => this.$emit("input", event)
|
|
8234
|
-
},
|
|
8235
|
-
[
|
|
8236
|
-
// @ts-ignore
|
|
8237
|
-
this.$slots.default && this.$slots.default(),
|
|
8238
|
-
// @slot icon Add an icon to the component.
|
|
8239
|
-
handleNamedSlot("icon", this.$slots["icon"])
|
|
8240
|
-
]
|
|
8241
|
-
);
|
|
8242
|
-
}
|
|
8243
|
-
});
|
|
8244
|
-
|
|
8245
|
-
const VTagGroup = vue.defineComponent({
|
|
8246
|
-
name: "VTagGroup",
|
|
8247
|
-
props: {
|
|
8248
|
-
/**
|
|
8249
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8250
|
-
*/
|
|
8251
|
-
ariaCurrent: {
|
|
8252
|
-
type: String,
|
|
8253
|
-
default: void 0
|
|
8254
|
-
},
|
|
8255
|
-
ariaLabel: { type: String, default: void 0 }
|
|
8256
|
-
},
|
|
8257
|
-
emits: [
|
|
8258
|
-
/**
|
|
8259
|
-
* 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.
|
|
8260
|
-
* @type {MouseEvent}
|
|
8261
|
-
*/
|
|
8262
|
-
"click",
|
|
8263
|
-
/**
|
|
8264
|
-
* Fires when the element receives focus.
|
|
8265
|
-
* @type {FocusEvent}
|
|
8266
|
-
*/
|
|
8267
|
-
"focus",
|
|
8268
|
-
/**
|
|
8269
|
-
* Fires when the element loses focus.
|
|
8270
|
-
* @type {FocusEvent}
|
|
8271
|
-
*/
|
|
8272
|
-
"blur",
|
|
8273
|
-
/**
|
|
8274
|
-
* Fires when a key is pressed.
|
|
8275
|
-
* @type {KeyboardEvent}
|
|
8276
|
-
*/
|
|
8277
|
-
"keydown",
|
|
8278
|
-
/**
|
|
8279
|
-
* Fires when a key is released.
|
|
8280
|
-
* @type {KeyboardEvent}
|
|
8281
|
-
*/
|
|
8282
|
-
"keyup",
|
|
8283
|
-
/**
|
|
8284
|
-
* Fires when the value of an element has been changed.
|
|
8285
|
-
* @type {Event}
|
|
8286
|
-
*/
|
|
8287
|
-
"input"
|
|
8288
|
-
],
|
|
8289
|
-
methods: {},
|
|
8290
|
-
setup(props, ctx) {
|
|
8291
|
-
const componentName = registerComponent("tag-group", vivid.registerTagGroup);
|
|
8292
|
-
const element = vue.ref(null);
|
|
8293
|
-
return { componentName, element };
|
|
8294
|
-
},
|
|
8295
|
-
render() {
|
|
8296
|
-
if (isVue2) {
|
|
8297
|
-
return vue.h(
|
|
8298
|
-
this.componentName,
|
|
8299
|
-
{
|
|
8300
|
-
ref: "element",
|
|
8301
|
-
attrs: {
|
|
8302
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8303
|
-
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {}
|
|
8304
|
-
},
|
|
8305
|
-
class: "vvd-component",
|
|
8306
|
-
on: {
|
|
8307
|
-
click: (event) => this.$emit("click", event),
|
|
8308
|
-
focus: (event) => this.$emit("focus", event),
|
|
8309
|
-
blur: (event) => this.$emit("blur", event),
|
|
8310
|
-
keydown: (event) => this.$emit("keydown", event),
|
|
8311
|
-
keyup: (event) => this.$emit("keyup", event),
|
|
8312
|
-
input: (event) => this.$emit("input", event)
|
|
8313
|
-
}
|
|
8314
|
-
},
|
|
8315
|
-
[this.$slots.default]
|
|
8316
|
-
);
|
|
8317
|
-
}
|
|
8318
|
-
return vue.h(
|
|
8319
|
-
this.componentName,
|
|
8320
|
-
{
|
|
8321
|
-
ref: "element",
|
|
8322
|
-
class: "vvd-component",
|
|
8323
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8324
|
-
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
8325
|
-
onClick: (event) => this.$emit("click", event),
|
|
8326
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8327
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8328
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8329
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8330
|
-
onInput: (event) => this.$emit("input", event)
|
|
8331
|
-
},
|
|
8332
|
-
[
|
|
8333
|
-
// @ts-ignore
|
|
8334
|
-
this.$slots.default && this.$slots.default()
|
|
8335
|
-
]
|
|
8336
|
-
);
|
|
8337
|
-
}
|
|
8338
|
-
});
|
|
8339
|
-
|
|
8340
|
-
const VTextArea = vue.defineComponent({
|
|
8341
|
-
name: "VTextArea",
|
|
8342
|
-
model: isVue2 ? {
|
|
8343
|
-
prop: "modelValue",
|
|
8344
|
-
event: "update:modelValue"
|
|
8345
|
-
} : void 0,
|
|
8346
|
-
props: {
|
|
8347
|
-
/**
|
|
8348
|
-
* The success text for the form element.
|
|
8349
|
-
*/
|
|
8350
|
-
successText: { type: String, default: void 0 },
|
|
8351
|
-
/**
|
|
8352
|
-
* The helper text for the form element.
|
|
8353
|
-
*/
|
|
8354
|
-
helperText: { type: String, default: void 0 },
|
|
8355
|
-
/**
|
|
8356
|
-
* Whether to show the character count.
|
|
8357
|
-
*/
|
|
8358
|
-
charCount: { type: Boolean, default: void 0 },
|
|
8359
|
-
/**
|
|
8360
|
-
* The error text for the form element.
|
|
8361
|
-
*/
|
|
8362
|
-
errorText: { type: String, default: void 0 },
|
|
8363
|
-
/**
|
|
8364
|
-
* The label for the form element.
|
|
8365
|
-
*/
|
|
8366
|
-
label: { type: String, default: void 0 },
|
|
8367
|
-
/**
|
|
8368
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8369
|
-
*/
|
|
8370
|
-
ariaCurrent: {
|
|
8371
|
-
type: String,
|
|
8372
|
-
default: void 0
|
|
8373
|
-
},
|
|
8374
|
-
/**
|
|
8375
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
8376
|
-
*/
|
|
8377
|
-
disabled: { type: Boolean, default: void 0 },
|
|
8378
|
-
/**
|
|
8379
|
-
* The initial value of the form. This value sets the `value` property
|
|
8380
|
-
* only when the `value` property has not been explicitly set.
|
|
8381
|
-
*/
|
|
8382
|
-
value: { type: String, default: void 0 },
|
|
8383
|
-
/**
|
|
8384
|
-
* The current value of the element. This property serves as a mechanism
|
|
8385
|
-
* to set the `value` property through both property assignment and the
|
|
8386
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
8387
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
8388
|
-
* and don't support IDL attribute binding.
|
|
8389
|
-
*/
|
|
8390
|
-
modelValue: { type: String, default: void 0 },
|
|
8391
|
-
/**
|
|
8392
|
-
* Require the field to be completed prior to form submission.
|
|
8393
|
-
*/
|
|
8394
|
-
required: { type: Boolean, default: void 0 },
|
|
8395
|
-
/**
|
|
8396
|
-
* 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.
|
|
8397
|
-
*/
|
|
8398
|
-
readOnly: { type: Boolean, default: void 0 },
|
|
8399
|
-
/**
|
|
8400
|
-
* The resize mode of the element.
|
|
8401
|
-
*/
|
|
8402
|
-
resize: {
|
|
8403
|
-
type: String,
|
|
8404
|
-
default: void 0
|
|
8405
|
-
},
|
|
8406
|
-
/**
|
|
8407
|
-
* Indicates that this element should get focus after the page finishes loading.
|
|
8408
|
-
*/
|
|
8409
|
-
autofocus: { type: Boolean, default: void 0 },
|
|
8410
|
-
/**
|
|
8411
|
-
* The https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id | id of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form | form the element is associated to
|
|
8412
|
-
*/
|
|
8413
|
-
form: { type: String, default: void 0 },
|
|
8414
|
-
/**
|
|
8415
|
-
* 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.
|
|
8416
|
-
*/
|
|
8417
|
-
list: { type: String, default: void 0 },
|
|
8418
|
-
/**
|
|
8419
|
-
* The maximum number of characters a user can enter.
|
|
8420
|
-
*/
|
|
8421
|
-
maxlength: { type: Number, default: void 0 },
|
|
8422
|
-
/**
|
|
8423
|
-
* The minimum number of characters a user can enter.
|
|
8424
|
-
*/
|
|
8425
|
-
minlength: { type: Number, default: void 0 },
|
|
8426
|
-
/**
|
|
8427
|
-
* The name of the element.
|
|
8428
|
-
*/
|
|
8429
|
-
name: { type: String, default: void 0 },
|
|
8430
|
-
/**
|
|
8431
|
-
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
8432
|
-
*/
|
|
8433
|
-
placeholder: { type: String, default: void 0 },
|
|
8434
|
-
/**
|
|
8435
|
-
* Sizes the element horizontally by a number of character columns.
|
|
8436
|
-
*/
|
|
8437
|
-
cols: { type: Number, default: void 0 },
|
|
8438
|
-
/**
|
|
8439
|
-
* Sizes the element vertically by a number of character rows.
|
|
8440
|
-
*/
|
|
8441
|
-
rows: { type: Number, default: void 0 },
|
|
8442
|
-
/**
|
|
8443
|
-
* Sets if the element is eligible for spell checking
|
|
8444
|
-
* but the UA.
|
|
8445
|
-
*/
|
|
8446
|
-
spellcheck: { type: Boolean, default: void 0 },
|
|
8447
|
-
/**
|
|
8448
|
-
* The wrap attribute
|
|
8449
|
-
*/
|
|
8450
|
-
wrap: {
|
|
8451
|
-
type: String,
|
|
8452
|
-
default: void 0
|
|
8453
|
-
}
|
|
8454
|
-
},
|
|
8455
|
-
emits: [
|
|
8456
|
-
/**
|
|
8457
|
-
* 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.
|
|
8458
|
-
* @type {MouseEvent}
|
|
8459
|
-
*/
|
|
8460
|
-
"click",
|
|
8461
|
-
/**
|
|
8462
|
-
* Fires when the element receives focus.
|
|
8463
|
-
* @type {FocusEvent}
|
|
8464
|
-
*/
|
|
8465
|
-
"focus",
|
|
8466
|
-
/**
|
|
8467
|
-
* Fires when the element loses focus.
|
|
8468
|
-
* @type {FocusEvent}
|
|
8469
|
-
*/
|
|
8470
|
-
"blur",
|
|
8471
|
-
/**
|
|
8472
|
-
* Fires when a key is pressed.
|
|
8473
|
-
* @type {KeyboardEvent}
|
|
8474
|
-
*/
|
|
8475
|
-
"keydown",
|
|
8476
|
-
/**
|
|
8477
|
-
* Fires when a key is released.
|
|
8478
|
-
* @type {KeyboardEvent}
|
|
8479
|
-
*/
|
|
8480
|
-
"keyup",
|
|
8481
|
-
/**
|
|
8482
|
-
* Fires when the value of an element has been changed.
|
|
8483
|
-
* @type {Event}
|
|
8484
|
-
*/
|
|
8485
|
-
"input",
|
|
8486
|
-
/**
|
|
8487
|
-
* Emits a custom 'change' event when the textarea emits a change event
|
|
8488
|
-
* @type {unknown}
|
|
8489
|
-
*/
|
|
8490
|
-
"change",
|
|
8491
|
-
/**
|
|
8492
|
-
* Fires when the value of an element has been changed.
|
|
8493
|
-
* @type {string}
|
|
8494
|
-
*/
|
|
8495
|
-
"update:modelValue"
|
|
8496
|
-
],
|
|
8497
|
-
methods: {
|
|
8498
|
-
/**
|
|
8499
|
-
* Selects all the text in the text area
|
|
8500
|
-
*/
|
|
8501
|
-
select() {
|
|
8502
|
-
return this.element?.select();
|
|
8503
|
-
},
|
|
8504
|
-
/**
|
|
8505
|
-
* {@inheritDoc (FormAssociated:interface).validate}
|
|
8506
|
-
*/
|
|
8507
|
-
validate() {
|
|
8508
|
-
return this.element?.validate();
|
|
8509
|
-
}
|
|
8510
|
-
},
|
|
8511
|
-
setup(props, ctx) {
|
|
8512
|
-
const componentName = registerComponent("text-area", vivid.registerTextArea);
|
|
8513
|
-
const element = vue.ref(null);
|
|
8514
|
-
return { componentName, element };
|
|
8515
|
-
},
|
|
8516
|
-
render() {
|
|
8517
|
-
if (isVue2) {
|
|
8518
|
-
return vue.h(
|
|
8519
|
-
this.componentName,
|
|
8520
|
-
{
|
|
8521
|
-
ref: "element",
|
|
8522
|
-
attrs: {
|
|
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
|
-
},
|
|
8547
|
-
class: "vvd-component",
|
|
8548
|
-
on: {
|
|
8549
|
-
click: (event) => this.$emit("click", event),
|
|
8550
|
-
focus: (event) => this.$emit("focus", event),
|
|
8551
|
-
blur: (event) => this.$emit("blur", event),
|
|
8552
|
-
keydown: (event) => this.$emit("keydown", event),
|
|
8553
|
-
keyup: (event) => this.$emit("keyup", event),
|
|
8554
|
-
input: (event) => {
|
|
8555
|
-
this.$emit(
|
|
8556
|
-
"update:modelValue",
|
|
8557
|
-
event.target.value
|
|
8558
|
-
);
|
|
8559
|
-
this.$emit("input", event);
|
|
8560
|
-
},
|
|
8561
|
-
change: (event) => this.$emit("change", event)
|
|
8562
|
-
}
|
|
8563
|
-
},
|
|
8564
|
-
[this.$slots.default]
|
|
8565
|
-
);
|
|
8566
|
-
}
|
|
8567
|
-
return vue.h(
|
|
8568
|
-
this.componentName,
|
|
8569
|
-
{
|
|
8570
|
-
ref: "element",
|
|
8571
|
-
class: "vvd-component",
|
|
8572
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8573
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8574
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8575
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8576
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8577
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8578
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8579
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8580
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8581
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8582
|
-
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
8583
|
-
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
8584
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8585
|
-
...this.form !== void 0 ? { form: this.form } : {},
|
|
8586
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8587
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8588
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8589
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8590
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8591
|
-
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
8592
|
-
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
8593
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8594
|
-
...this.wrap !== void 0 ? { wrap: this.wrap } : {},
|
|
8595
|
-
onClick: (event) => this.$emit("click", event),
|
|
8596
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8597
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8598
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8599
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8600
|
-
onInput: (event) => {
|
|
8601
|
-
this.$emit(
|
|
8602
|
-
"update:modelValue",
|
|
8603
|
-
event.target.value
|
|
8604
|
-
);
|
|
8605
|
-
this.$emit("input", event);
|
|
8606
|
-
},
|
|
8607
|
-
onChange: (event) => this.$emit("change", event)
|
|
8608
|
-
},
|
|
8609
|
-
[
|
|
8610
|
-
// @ts-ignore
|
|
8611
|
-
this.$slots.default && this.$slots.default()
|
|
8612
|
-
]
|
|
8613
|
-
);
|
|
8614
|
-
}
|
|
8615
|
-
});
|
|
8616
|
-
|
|
8617
|
-
const VTextField = vue.defineComponent({
|
|
8618
|
-
name: "VTextField",
|
|
8619
|
-
model: isVue2 ? {
|
|
8620
|
-
prop: "modelValue",
|
|
8621
|
-
event: "update:modelValue"
|
|
8622
|
-
} : void 0,
|
|
8623
|
-
props: {
|
|
8624
|
-
/**
|
|
8625
|
-
* The success text for the form element.
|
|
8626
|
-
*/
|
|
8627
|
-
successText: { type: String, default: void 0 },
|
|
8628
|
-
/**
|
|
8629
|
-
* The helper text for the form element.
|
|
8630
|
-
*/
|
|
8631
|
-
helperText: { type: String, default: void 0 },
|
|
8632
|
-
/**
|
|
8633
|
-
* Whether to show the character count.
|
|
8634
|
-
*/
|
|
8635
|
-
charCount: { type: Boolean, default: void 0 },
|
|
8636
|
-
/**
|
|
8637
|
-
* The label for the form element.
|
|
8638
|
-
*/
|
|
8639
|
-
label: { type: String, default: void 0 },
|
|
8640
|
-
/**
|
|
8641
|
-
* The error text for the form element.
|
|
8642
|
-
*/
|
|
8643
|
-
errorText: { type: String, default: void 0 },
|
|
8644
|
-
/**
|
|
8645
|
-
* A decorative icon the custom element should have.
|
|
8646
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
8647
|
-
*/
|
|
8648
|
-
icon: { type: String, default: void 0 },
|
|
8649
|
-
/**
|
|
8650
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8651
|
-
*/
|
|
8652
|
-
ariaCurrent: {
|
|
8653
|
-
type: String,
|
|
8654
|
-
default: void 0
|
|
8655
|
-
},
|
|
8656
|
-
/**
|
|
8657
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
8658
|
-
*/
|
|
8659
|
-
disabled: { type: Boolean, default: void 0 },
|
|
8660
|
-
/**
|
|
8661
|
-
* The initial value of the form. This value sets the `value` property
|
|
8662
|
-
* only when the `value` property has not been explicitly set.
|
|
8663
|
-
*/
|
|
8664
|
-
value: { type: String, default: void 0 },
|
|
8665
|
-
/**
|
|
8666
|
-
* The current value of the element. This property serves as a mechanism
|
|
8667
|
-
* to set the `value` property through both property assignment and the
|
|
8668
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
8669
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
8670
|
-
* and don't support IDL attribute binding.
|
|
8671
|
-
*/
|
|
8672
|
-
modelValue: { type: String, default: void 0 },
|
|
8673
|
-
/**
|
|
8674
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
8675
|
-
*/
|
|
8676
|
-
name: { type: String, default: void 0 },
|
|
8677
|
-
/**
|
|
8678
|
-
* Require the field to be completed prior to form submission.
|
|
8679
|
-
*/
|
|
8680
|
-
required: { type: Boolean, default: void 0 },
|
|
8681
|
-
/**
|
|
8682
|
-
* 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.
|
|
8683
|
-
*/
|
|
8684
|
-
readonly: { type: Boolean, default: void 0 },
|
|
8685
|
-
/**
|
|
8686
|
-
* 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.
|
|
8687
|
-
*/
|
|
8688
|
-
autofocus: { type: Boolean, default: void 0 },
|
|
8689
|
-
/**
|
|
8690
|
-
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
8691
|
-
*/
|
|
8692
|
-
placeholder: { type: String, default: void 0 },
|
|
8693
|
-
/**
|
|
8694
|
-
* Allows setting a type or mode of text.
|
|
8695
|
-
*/
|
|
8696
|
-
type: {
|
|
8697
|
-
type: String,
|
|
8698
|
-
default: void 0
|
|
8699
|
-
},
|
|
8700
|
-
/**
|
|
8701
|
-
* 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.
|
|
8702
|
-
*/
|
|
8703
|
-
list: { type: String, default: void 0 },
|
|
8704
|
-
/**
|
|
8705
|
-
* The maximum number of characters a user can enter.
|
|
8706
|
-
*/
|
|
8707
|
-
maxlength: { type: Number, default: void 0 },
|
|
8708
|
-
/**
|
|
8709
|
-
* The minimum number of characters a user can enter.
|
|
8710
|
-
*/
|
|
8711
|
-
minlength: { type: Number, default: void 0 },
|
|
8712
|
-
/**
|
|
8713
|
-
* A regular expression that the value must match to pass validation.
|
|
8714
|
-
*/
|
|
8715
|
-
pattern: { type: String, default: void 0 },
|
|
8716
|
-
/**
|
|
8717
|
-
* Sets the width of the element to a specified number of characters.
|
|
8718
|
-
*/
|
|
8719
|
-
size: { type: Number, default: void 0 },
|
|
8787
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8788
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8789
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
8790
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8791
|
+
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8792
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
8793
|
+
...this.removable !== void 0 ? { removable: this.removable } : {},
|
|
8794
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8795
|
+
...this.selectable !== void 0 ? { selectable: this.selectable } : {},
|
|
8796
|
+
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
8797
|
+
onClick: (event) => this.$emit("click", event),
|
|
8798
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
8799
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
8800
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
8801
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
8802
|
+
onInput: (event) => this.$emit("input", event)
|
|
8803
|
+
},
|
|
8804
|
+
[
|
|
8805
|
+
// @ts-ignore
|
|
8806
|
+
this.$slots.default && this.$slots.default(),
|
|
8807
|
+
// @slot icon Add an icon to the component.
|
|
8808
|
+
handleNamedSlot("icon", this.$slots["icon"])
|
|
8809
|
+
]
|
|
8810
|
+
);
|
|
8811
|
+
}
|
|
8812
|
+
});
|
|
8813
|
+
|
|
8814
|
+
const VTagGroup = vue.defineComponent({
|
|
8815
|
+
name: "VTagGroup",
|
|
8816
|
+
props: {
|
|
8720
8817
|
/**
|
|
8721
|
-
*
|
|
8818
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8722
8819
|
*/
|
|
8723
|
-
|
|
8724
|
-
appearance: {
|
|
8820
|
+
ariaCurrent: {
|
|
8725
8821
|
type: String,
|
|
8726
8822
|
default: void 0
|
|
8727
8823
|
},
|
|
8728
|
-
|
|
8729
|
-
autoComplete: { type: String, default: void 0 }
|
|
8824
|
+
ariaLabel: { type: String, default: void 0 }
|
|
8730
8825
|
},
|
|
8731
8826
|
emits: [
|
|
8732
8827
|
/**
|
|
@@ -8758,37 +8853,11 @@ const VTextField = vue.defineComponent({
|
|
|
8758
8853
|
* Fires when the value of an element has been changed.
|
|
8759
8854
|
* @type {Event}
|
|
8760
8855
|
*/
|
|
8761
|
-
"input"
|
|
8762
|
-
/**
|
|
8763
|
-
* Fires a custom 'change' event when the value has changed
|
|
8764
|
-
* @type {unknown}
|
|
8765
|
-
*/
|
|
8766
|
-
"change",
|
|
8767
|
-
/**
|
|
8768
|
-
* Fires when the value of an element has been changed.
|
|
8769
|
-
* @type {string}
|
|
8770
|
-
*/
|
|
8771
|
-
"update:modelValue"
|
|
8856
|
+
"input"
|
|
8772
8857
|
],
|
|
8773
|
-
methods: {
|
|
8774
|
-
/**
|
|
8775
|
-
* Selects all the text in the text field
|
|
8776
|
-
*/
|
|
8777
|
-
select() {
|
|
8778
|
-
return this.element?.select();
|
|
8779
|
-
},
|
|
8780
|
-
/**
|
|
8781
|
-
* {@inheritDoc (FormAssociated:interface).validate}
|
|
8782
|
-
*/
|
|
8783
|
-
validate() {
|
|
8784
|
-
return this.element?.validate();
|
|
8785
|
-
},
|
|
8786
|
-
focus() {
|
|
8787
|
-
return this.element?.focus();
|
|
8788
|
-
}
|
|
8789
|
-
},
|
|
8858
|
+
methods: {},
|
|
8790
8859
|
setup(props, ctx) {
|
|
8791
|
-
const componentName = registerComponent("
|
|
8860
|
+
const componentName = registerComponent("tag-group", vivid.registerTagGroup);
|
|
8792
8861
|
const element = vue.ref(null);
|
|
8793
8862
|
return { componentName, element };
|
|
8794
8863
|
},
|
|
@@ -8799,31 +8868,8 @@ const VTextField = vue.defineComponent({
|
|
|
8799
8868
|
{
|
|
8800
8869
|
ref: "element",
|
|
8801
8870
|
attrs: {
|
|
8802
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8803
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8804
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8805
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8806
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8807
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8808
8871
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8809
|
-
...this.
|
|
8810
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8811
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8812
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8813
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8814
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
8815
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8816
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8817
|
-
...this.type !== void 0 ? { type: this.type } : {},
|
|
8818
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8819
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8820
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8821
|
-
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
8822
|
-
...this.size !== void 0 ? { size: this.size } : {},
|
|
8823
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8824
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8825
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8826
|
-
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {}
|
|
8872
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {}
|
|
8827
8873
|
},
|
|
8828
8874
|
class: "vvd-component",
|
|
8829
8875
|
on: {
|
|
@@ -8832,26 +8878,10 @@ const VTextField = vue.defineComponent({
|
|
|
8832
8878
|
blur: (event) => this.$emit("blur", event),
|
|
8833
8879
|
keydown: (event) => this.$emit("keydown", event),
|
|
8834
8880
|
keyup: (event) => this.$emit("keyup", event),
|
|
8835
|
-
input: (event) =>
|
|
8836
|
-
this.$emit(
|
|
8837
|
-
"update:modelValue",
|
|
8838
|
-
event.target.value
|
|
8839
|
-
);
|
|
8840
|
-
this.$emit("input", event);
|
|
8841
|
-
},
|
|
8842
|
-
change: (event) => this.$emit("change", event)
|
|
8881
|
+
input: (event) => this.$emit("input", event)
|
|
8843
8882
|
}
|
|
8844
8883
|
},
|
|
8845
|
-
[
|
|
8846
|
-
this.$slots.default,
|
|
8847
|
-
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
8848
|
-
handleNamedSlot(
|
|
8849
|
-
"leading-action-items",
|
|
8850
|
-
this.$slots["leading-action-items"]
|
|
8851
|
-
),
|
|
8852
|
-
// @slot action-items Used to add action items to the end of the text-field.
|
|
8853
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
8854
|
-
]
|
|
8884
|
+
[this.$slots.default]
|
|
8855
8885
|
);
|
|
8856
8886
|
}
|
|
8857
8887
|
return vue.h(
|
|
@@ -8859,79 +8889,50 @@ const VTextField = vue.defineComponent({
|
|
|
8859
8889
|
{
|
|
8860
8890
|
ref: "element",
|
|
8861
8891
|
class: "vvd-component",
|
|
8862
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8863
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8864
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8865
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8866
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8867
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8868
8892
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8869
|
-
...this.
|
|
8870
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8871
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8872
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8873
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8874
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
8875
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8876
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8877
|
-
...this.type !== void 0 ? { type: this.type } : {},
|
|
8878
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8879
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8880
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8881
|
-
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
8882
|
-
...this.size !== void 0 ? { size: this.size } : {},
|
|
8883
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8884
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8885
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8886
|
-
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {},
|
|
8893
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
8887
8894
|
onClick: (event) => this.$emit("click", event),
|
|
8888
8895
|
onFocus: (event) => this.$emit("focus", event),
|
|
8889
8896
|
onBlur: (event) => this.$emit("blur", event),
|
|
8890
8897
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
8891
8898
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
8892
|
-
onInput: (event) =>
|
|
8893
|
-
this.$emit(
|
|
8894
|
-
"update:modelValue",
|
|
8895
|
-
event.target.value
|
|
8896
|
-
);
|
|
8897
|
-
this.$emit("input", event);
|
|
8898
|
-
},
|
|
8899
|
-
onChange: (event) => this.$emit("change", event)
|
|
8899
|
+
onInput: (event) => this.$emit("input", event)
|
|
8900
8900
|
},
|
|
8901
8901
|
[
|
|
8902
8902
|
// @ts-ignore
|
|
8903
|
-
this.$slots.default && this.$slots.default()
|
|
8904
|
-
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
8905
|
-
handleNamedSlot(
|
|
8906
|
-
"leading-action-items",
|
|
8907
|
-
this.$slots["leading-action-items"]
|
|
8908
|
-
),
|
|
8909
|
-
// @slot action-items Used to add action items to the end of the text-field.
|
|
8910
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
8903
|
+
this.$slots.default && this.$slots.default()
|
|
8911
8904
|
]
|
|
8912
8905
|
);
|
|
8913
8906
|
}
|
|
8914
8907
|
});
|
|
8915
8908
|
|
|
8916
|
-
const
|
|
8917
|
-
name: "
|
|
8909
|
+
const VTextArea = vue.defineComponent({
|
|
8910
|
+
name: "VTextArea",
|
|
8918
8911
|
model: isVue2 ? {
|
|
8919
8912
|
prop: "modelValue",
|
|
8920
8913
|
event: "update:modelValue"
|
|
8921
8914
|
} : void 0,
|
|
8922
8915
|
props: {
|
|
8916
|
+
/**
|
|
8917
|
+
* The success text for the form element.
|
|
8918
|
+
*/
|
|
8919
|
+
successText: { type: String, default: void 0 },
|
|
8923
8920
|
/**
|
|
8924
8921
|
* The helper text for the form element.
|
|
8925
8922
|
*/
|
|
8926
8923
|
helperText: { type: String, default: void 0 },
|
|
8927
8924
|
/**
|
|
8928
|
-
*
|
|
8925
|
+
* Whether to show the character count.
|
|
8929
8926
|
*/
|
|
8930
|
-
|
|
8927
|
+
charCount: { type: Boolean, default: void 0 },
|
|
8931
8928
|
/**
|
|
8932
8929
|
* The error text for the form element.
|
|
8933
8930
|
*/
|
|
8934
8931
|
errorText: { type: String, default: void 0 },
|
|
8932
|
+
/**
|
|
8933
|
+
* The label for the form element.
|
|
8934
|
+
*/
|
|
8935
|
+
label: { type: String, default: void 0 },
|
|
8935
8936
|
/**
|
|
8936
8937
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8937
8938
|
*/
|
|
@@ -8956,38 +8957,69 @@ const VTimePicker = vue.defineComponent({
|
|
|
8956
8957
|
* and don't support IDL attribute binding.
|
|
8957
8958
|
*/
|
|
8958
8959
|
modelValue: { type: String, default: void 0 },
|
|
8959
|
-
/**
|
|
8960
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
8961
|
-
*/
|
|
8962
|
-
name: { type: String, default: void 0 },
|
|
8963
8960
|
/**
|
|
8964
8961
|
* Require the field to be completed prior to form submission.
|
|
8965
8962
|
*/
|
|
8966
8963
|
required: { type: Boolean, default: void 0 },
|
|
8967
8964
|
/**
|
|
8968
|
-
*
|
|
8965
|
+
* 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.
|
|
8969
8966
|
*/
|
|
8970
|
-
|
|
8967
|
+
readOnly: { type: Boolean, default: void 0 },
|
|
8971
8968
|
/**
|
|
8972
|
-
*
|
|
8969
|
+
* The resize mode of the element.
|
|
8973
8970
|
*/
|
|
8974
|
-
|
|
8971
|
+
resize: {
|
|
8972
|
+
type: String,
|
|
8973
|
+
default: void 0
|
|
8974
|
+
},
|
|
8975
8975
|
/**
|
|
8976
|
-
*
|
|
8976
|
+
* Indicates that this element should get focus after the page finishes loading.
|
|
8977
8977
|
*/
|
|
8978
|
-
|
|
8978
|
+
autofocus: { type: Boolean, default: void 0 },
|
|
8979
8979
|
/**
|
|
8980
|
-
*
|
|
8980
|
+
* The https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id | id of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form | form the element is associated to
|
|
8981
8981
|
*/
|
|
8982
|
-
|
|
8982
|
+
form: { type: String, default: void 0 },
|
|
8983
8983
|
/**
|
|
8984
|
-
*
|
|
8984
|
+
* 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.
|
|
8985
8985
|
*/
|
|
8986
|
-
|
|
8986
|
+
list: { type: String, default: void 0 },
|
|
8987
8987
|
/**
|
|
8988
|
-
* The
|
|
8988
|
+
* The maximum number of characters a user can enter.
|
|
8989
8989
|
*/
|
|
8990
|
-
|
|
8990
|
+
maxlength: { type: Number, default: void 0 },
|
|
8991
|
+
/**
|
|
8992
|
+
* The minimum number of characters a user can enter.
|
|
8993
|
+
*/
|
|
8994
|
+
minlength: { type: Number, default: void 0 },
|
|
8995
|
+
/**
|
|
8996
|
+
* The name of the element.
|
|
8997
|
+
*/
|
|
8998
|
+
name: { type: String, default: void 0 },
|
|
8999
|
+
/**
|
|
9000
|
+
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
9001
|
+
*/
|
|
9002
|
+
placeholder: { type: String, default: void 0 },
|
|
9003
|
+
/**
|
|
9004
|
+
* Sizes the element horizontally by a number of character columns.
|
|
9005
|
+
*/
|
|
9006
|
+
cols: { type: Number, default: void 0 },
|
|
9007
|
+
/**
|
|
9008
|
+
* Sizes the element vertically by a number of character rows.
|
|
9009
|
+
*/
|
|
9010
|
+
rows: { type: Number, default: void 0 },
|
|
9011
|
+
/**
|
|
9012
|
+
* Sets if the element is eligible for spell checking
|
|
9013
|
+
* but the UA.
|
|
9014
|
+
*/
|
|
9015
|
+
spellcheck: { type: Boolean, default: void 0 },
|
|
9016
|
+
/**
|
|
9017
|
+
* The wrap attribute
|
|
9018
|
+
*/
|
|
9019
|
+
wrap: {
|
|
9020
|
+
type: String,
|
|
9021
|
+
default: void 0
|
|
9022
|
+
}
|
|
8991
9023
|
},
|
|
8992
9024
|
emits: [
|
|
8993
9025
|
/**
|
|
@@ -9021,7 +9053,7 @@ const VTimePicker = vue.defineComponent({
|
|
|
9021
9053
|
*/
|
|
9022
9054
|
"input",
|
|
9023
9055
|
/**
|
|
9024
|
-
*
|
|
9056
|
+
* Emits a custom 'change' event when the textarea emits a change event
|
|
9025
9057
|
* @type {unknown}
|
|
9026
9058
|
*/
|
|
9027
9059
|
"change",
|
|
@@ -9031,9 +9063,22 @@ const VTimePicker = vue.defineComponent({
|
|
|
9031
9063
|
*/
|
|
9032
9064
|
"update:modelValue"
|
|
9033
9065
|
],
|
|
9034
|
-
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
|
+
},
|
|
9035
9080
|
setup(props, ctx) {
|
|
9036
|
-
const componentName = registerComponent("
|
|
9081
|
+
const componentName = registerComponent("text-area", vivid.registerTextArea);
|
|
9037
9082
|
const element = vue.ref(null);
|
|
9038
9083
|
return { componentName, element };
|
|
9039
9084
|
},
|
|
@@ -9044,21 +9089,29 @@ const VTimePicker = vue.defineComponent({
|
|
|
9044
9089
|
{
|
|
9045
9090
|
ref: "element",
|
|
9046
9091
|
attrs: {
|
|
9092
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9047
9093
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9048
|
-
...this.
|
|
9094
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9049
9095
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9096
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9050
9097
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9051
9098
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9052
9099
|
...this.value !== void 0 ? { value: this.value } : {},
|
|
9053
9100
|
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9054
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
9055
9101
|
...this.required !== void 0 ? { required: this.required } : {},
|
|
9056
|
-
...this.
|
|
9057
|
-
...this.
|
|
9058
|
-
...this.
|
|
9059
|
-
...this.
|
|
9060
|
-
...this.
|
|
9061
|
-
...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 } : {}
|
|
9062
9115
|
},
|
|
9063
9116
|
class: "vvd-component",
|
|
9064
9117
|
on: {
|
|
@@ -9085,21 +9138,29 @@ const VTimePicker = vue.defineComponent({
|
|
|
9085
9138
|
{
|
|
9086
9139
|
ref: "element",
|
|
9087
9140
|
class: "vvd-component",
|
|
9141
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9088
9142
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9089
|
-
...this.
|
|
9143
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9090
9144
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9145
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9091
9146
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9092
9147
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9093
9148
|
...this.value !== void 0 ? { value: this.value } : {},
|
|
9094
9149
|
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9095
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
9096
9150
|
...this.required !== void 0 ? { required: this.required } : {},
|
|
9097
|
-
...this.
|
|
9098
|
-
...this.
|
|
9099
|
-
...this.
|
|
9100
|
-
...this.
|
|
9101
|
-
...this.
|
|
9102
|
-
...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 } : {},
|
|
9103
9164
|
onClick: (event) => this.$emit("click", event),
|
|
9104
9165
|
onFocus: (event) => this.$emit("focus", event),
|
|
9105
9166
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -9122,16 +9183,38 @@ const VTimePicker = vue.defineComponent({
|
|
|
9122
9183
|
}
|
|
9123
9184
|
});
|
|
9124
9185
|
|
|
9125
|
-
const
|
|
9126
|
-
name: "
|
|
9186
|
+
const VTextField = vue.defineComponent({
|
|
9187
|
+
name: "VTextField",
|
|
9188
|
+
model: isVue2 ? {
|
|
9189
|
+
prop: "modelValue",
|
|
9190
|
+
event: "update:modelValue"
|
|
9191
|
+
} : void 0,
|
|
9127
9192
|
props: {
|
|
9128
9193
|
/**
|
|
9129
|
-
*
|
|
9194
|
+
* The success text for the form element.
|
|
9130
9195
|
*/
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
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 },
|
|
9135
9218
|
/**
|
|
9136
9219
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9137
9220
|
*/
|
|
@@ -9140,24 +9223,79 @@ const VToggletip = vue.defineComponent({
|
|
|
9140
9223
|
default: void 0
|
|
9141
9224
|
},
|
|
9142
9225
|
/**
|
|
9143
|
-
* the
|
|
9226
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9144
9227
|
*/
|
|
9145
|
-
|
|
9228
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9146
9229
|
/**
|
|
9147
|
-
*
|
|
9230
|
+
* The initial value of the form. This value sets the `value` property
|
|
9231
|
+
* only when the `value` property has not been explicitly set.
|
|
9148
9232
|
*/
|
|
9149
|
-
|
|
9233
|
+
value: { type: String, default: void 0 },
|
|
9150
9234
|
/**
|
|
9151
|
-
*
|
|
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.
|
|
9152
9240
|
*/
|
|
9153
|
-
|
|
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: {
|
|
9154
9266
|
type: String,
|
|
9155
9267
|
default: void 0
|
|
9156
9268
|
},
|
|
9157
9269
|
/**
|
|
9158
|
-
*
|
|
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.
|
|
9159
9271
|
*/
|
|
9160
|
-
|
|
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 }
|
|
9161
9299
|
},
|
|
9162
9300
|
emits: [
|
|
9163
9301
|
/**
|
|
@@ -9189,15 +9327,37 @@ const VToggletip = vue.defineComponent({
|
|
|
9189
9327
|
* Fires when the value of an element has been changed.
|
|
9190
9328
|
* @type {Event}
|
|
9191
9329
|
*/
|
|
9192
|
-
"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"
|
|
9193
9341
|
],
|
|
9194
9342
|
methods: {
|
|
9195
|
-
|
|
9196
|
-
|
|
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();
|
|
9197
9357
|
}
|
|
9198
9358
|
},
|
|
9199
9359
|
setup(props, ctx) {
|
|
9200
|
-
const componentName = registerComponent("
|
|
9360
|
+
const componentName = registerComponent("text-field", vivid.registerTextField);
|
|
9201
9361
|
const element = vue.ref(null);
|
|
9202
9362
|
return { componentName, element };
|
|
9203
9363
|
},
|
|
@@ -9208,30 +9368,57 @@ const VToggletip = vue.defineComponent({
|
|
|
9208
9368
|
{
|
|
9209
9369
|
ref: "element",
|
|
9210
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 } : {},
|
|
9211
9377
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9212
|
-
...this.
|
|
9213
|
-
...this.
|
|
9214
|
-
...this.
|
|
9215
|
-
...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 } : {}
|
|
9216
9396
|
},
|
|
9217
9397
|
class: "vvd-component",
|
|
9218
|
-
domProps: {
|
|
9219
|
-
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9220
|
-
},
|
|
9221
9398
|
on: {
|
|
9222
9399
|
click: (event) => this.$emit("click", event),
|
|
9223
9400
|
focus: (event) => this.$emit("focus", event),
|
|
9224
9401
|
blur: (event) => this.$emit("blur", event),
|
|
9225
9402
|
keydown: (event) => this.$emit("keydown", event),
|
|
9226
9403
|
keyup: (event) => this.$emit("keyup", event),
|
|
9227
|
-
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)
|
|
9228
9412
|
}
|
|
9229
9413
|
},
|
|
9230
9414
|
[
|
|
9231
9415
|
this.$slots.default,
|
|
9232
|
-
// @slot
|
|
9233
|
-
handleNamedSlot(
|
|
9234
|
-
|
|
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.
|
|
9235
9422
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9236
9423
|
]
|
|
9237
9424
|
);
|
|
@@ -9241,41 +9428,79 @@ const VToggletip = vue.defineComponent({
|
|
|
9241
9428
|
{
|
|
9242
9429
|
ref: "element",
|
|
9243
9430
|
class: "vvd-component",
|
|
9244
|
-
...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 } : {},
|
|
9245
9437
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9246
|
-
...this.
|
|
9247
|
-
...this.
|
|
9248
|
-
...this.
|
|
9249
|
-
...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 } : {},
|
|
9250
9456
|
onClick: (event) => this.$emit("click", event),
|
|
9251
9457
|
onFocus: (event) => this.$emit("focus", event),
|
|
9252
9458
|
onBlur: (event) => this.$emit("blur", event),
|
|
9253
9459
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9254
9460
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9255
|
-
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)
|
|
9256
9469
|
},
|
|
9257
9470
|
[
|
|
9258
9471
|
// @ts-ignore
|
|
9259
9472
|
this.$slots.default && this.$slots.default(),
|
|
9260
|
-
// @slot
|
|
9261
|
-
handleNamedSlot(
|
|
9262
|
-
|
|
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.
|
|
9263
9479
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9264
9480
|
]
|
|
9265
9481
|
);
|
|
9266
9482
|
}
|
|
9267
9483
|
});
|
|
9268
9484
|
|
|
9269
|
-
const
|
|
9270
|
-
name: "
|
|
9485
|
+
const VTimePicker = vue.defineComponent({
|
|
9486
|
+
name: "VTimePicker",
|
|
9487
|
+
model: isVue2 ? {
|
|
9488
|
+
prop: "modelValue",
|
|
9489
|
+
event: "update:modelValue"
|
|
9490
|
+
} : void 0,
|
|
9271
9491
|
props: {
|
|
9272
9492
|
/**
|
|
9273
|
-
*
|
|
9493
|
+
* The helper text for the form element.
|
|
9274
9494
|
*/
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
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 },
|
|
9279
9504
|
/**
|
|
9280
9505
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9281
9506
|
*/
|
|
@@ -9284,15 +9509,54 @@ const VTooltip = vue.defineComponent({
|
|
|
9284
9509
|
default: void 0
|
|
9285
9510
|
},
|
|
9286
9511
|
/**
|
|
9287
|
-
* the
|
|
9288
|
-
* accepts string
|
|
9512
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9289
9513
|
*/
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
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 }
|
|
9296
9560
|
},
|
|
9297
9561
|
emits: [
|
|
9298
9562
|
/**
|
|
@@ -9324,11 +9588,21 @@ const VTooltip = vue.defineComponent({
|
|
|
9324
9588
|
* Fires when the value of an element has been changed.
|
|
9325
9589
|
* @type {Event}
|
|
9326
9590
|
*/
|
|
9327
|
-
"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"
|
|
9328
9602
|
],
|
|
9329
9603
|
methods: {},
|
|
9330
9604
|
setup(props, ctx) {
|
|
9331
|
-
const componentName = registerComponent("
|
|
9605
|
+
const componentName = registerComponent("time-picker", vivid.registerTimePicker);
|
|
9332
9606
|
const element = vue.ref(null);
|
|
9333
9607
|
return { componentName, element };
|
|
9334
9608
|
},
|
|
@@ -9339,29 +9613,40 @@ const VTooltip = vue.defineComponent({
|
|
|
9339
9613
|
{
|
|
9340
9614
|
ref: "element",
|
|
9341
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 } : {},
|
|
9342
9619
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9343
|
-
...this.
|
|
9344
|
-
...this.
|
|
9345
|
-
...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 } : {}
|
|
9346
9631
|
},
|
|
9347
9632
|
class: "vvd-component",
|
|
9348
|
-
domProps: {
|
|
9349
|
-
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9350
|
-
},
|
|
9351
9633
|
on: {
|
|
9352
9634
|
click: (event) => this.$emit("click", event),
|
|
9353
9635
|
focus: (event) => this.$emit("focus", event),
|
|
9354
9636
|
blur: (event) => this.$emit("blur", event),
|
|
9355
9637
|
keydown: (event) => this.$emit("keydown", event),
|
|
9356
9638
|
keyup: (event) => this.$emit("keyup", event),
|
|
9357
|
-
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)
|
|
9358
9647
|
}
|
|
9359
9648
|
},
|
|
9360
|
-
[
|
|
9361
|
-
this.$slots.default,
|
|
9362
|
-
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9363
|
-
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9364
|
-
]
|
|
9649
|
+
[this.$slots.default]
|
|
9365
9650
|
);
|
|
9366
9651
|
}
|
|
9367
9652
|
return vue.h(
|
|
@@ -9369,36 +9654,53 @@ const VTooltip = vue.defineComponent({
|
|
|
9369
9654
|
{
|
|
9370
9655
|
ref: "element",
|
|
9371
9656
|
class: "vvd-component",
|
|
9372
|
-
...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 } : {},
|
|
9373
9660
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9374
|
-
...this.
|
|
9375
|
-
...this.
|
|
9376
|
-
...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 } : {},
|
|
9377
9672
|
onClick: (event) => this.$emit("click", event),
|
|
9378
9673
|
onFocus: (event) => this.$emit("focus", event),
|
|
9379
9674
|
onBlur: (event) => this.$emit("blur", event),
|
|
9380
9675
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9381
9676
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9382
|
-
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)
|
|
9383
9685
|
},
|
|
9384
9686
|
[
|
|
9385
9687
|
// @ts-ignore
|
|
9386
|
-
this.$slots.default && this.$slots.default()
|
|
9387
|
-
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9388
|
-
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9688
|
+
this.$slots.default && this.$slots.default()
|
|
9389
9689
|
]
|
|
9390
9690
|
);
|
|
9391
9691
|
}
|
|
9392
9692
|
});
|
|
9393
9693
|
|
|
9394
|
-
const
|
|
9395
|
-
name: "
|
|
9694
|
+
const VToggletip = vue.defineComponent({
|
|
9695
|
+
name: "VToggletip",
|
|
9396
9696
|
props: {
|
|
9397
9697
|
/**
|
|
9398
|
-
*
|
|
9399
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9698
|
+
* ID or direct reference to the component's anchor element.
|
|
9400
9699
|
*/
|
|
9401
|
-
|
|
9700
|
+
anchor: {
|
|
9701
|
+
type: [String, HTMLElement],
|
|
9702
|
+
default: void 0
|
|
9703
|
+
},
|
|
9402
9704
|
/**
|
|
9403
9705
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9404
9706
|
*/
|
|
@@ -9407,21 +9709,24 @@ const VTreeItem = vue.defineComponent({
|
|
|
9407
9709
|
default: void 0
|
|
9408
9710
|
},
|
|
9409
9711
|
/**
|
|
9410
|
-
*
|
|
9712
|
+
* the optional title of the toggletip
|
|
9411
9713
|
*/
|
|
9412
|
-
|
|
9714
|
+
headline: { type: String, default: void 0 },
|
|
9413
9715
|
/**
|
|
9414
|
-
*
|
|
9716
|
+
* toggle color scheme
|
|
9415
9717
|
*/
|
|
9416
|
-
|
|
9718
|
+
alternate: { type: Boolean, default: void 0 },
|
|
9417
9719
|
/**
|
|
9418
|
-
*
|
|
9720
|
+
* placement of the toggletip
|
|
9419
9721
|
*/
|
|
9420
|
-
|
|
9722
|
+
placement: {
|
|
9723
|
+
type: String,
|
|
9724
|
+
default: void 0
|
|
9725
|
+
},
|
|
9421
9726
|
/**
|
|
9422
|
-
*
|
|
9727
|
+
* indicates whether the toggletip is open
|
|
9423
9728
|
*/
|
|
9424
|
-
|
|
9729
|
+
open: { type: Boolean, default: void 0 }
|
|
9425
9730
|
},
|
|
9426
9731
|
emits: [
|
|
9427
9732
|
/**
|
|
@@ -9453,21 +9758,15 @@ const VTreeItem = vue.defineComponent({
|
|
|
9453
9758
|
* Fires when the value of an element has been changed.
|
|
9454
9759
|
* @type {Event}
|
|
9455
9760
|
*/
|
|
9456
|
-
"input"
|
|
9457
|
-
/**
|
|
9458
|
-
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
9459
|
-
* @type {unknown}
|
|
9460
|
-
*/
|
|
9461
|
-
"expanded-change",
|
|
9462
|
-
/**
|
|
9463
|
-
* Fires a custom 'selected-change' event when the selected state changes
|
|
9464
|
-
* @type {unknown}
|
|
9465
|
-
*/
|
|
9466
|
-
"selected-change"
|
|
9761
|
+
"input"
|
|
9467
9762
|
],
|
|
9468
|
-
methods: {
|
|
9763
|
+
methods: {
|
|
9764
|
+
openChanged(oldValue, newValue) {
|
|
9765
|
+
return this.element?.openChanged(oldValue, newValue);
|
|
9766
|
+
}
|
|
9767
|
+
},
|
|
9469
9768
|
setup(props, ctx) {
|
|
9470
|
-
const componentName = registerComponent("
|
|
9769
|
+
const componentName = registerComponent("toggletip", vivid.registerToggletip);
|
|
9471
9770
|
const element = vue.ref(null);
|
|
9472
9771
|
return { componentName, element };
|
|
9473
9772
|
},
|
|
@@ -9478,31 +9777,31 @@ const VTreeItem = vue.defineComponent({
|
|
|
9478
9777
|
{
|
|
9479
9778
|
ref: "element",
|
|
9480
9779
|
attrs: {
|
|
9481
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9482
9780
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9483
|
-
...this.
|
|
9484
|
-
...this.
|
|
9485
|
-
...this.
|
|
9486
|
-
...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 } : {}
|
|
9487
9785
|
},
|
|
9488
9786
|
class: "vvd-component",
|
|
9787
|
+
domProps: {
|
|
9788
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9789
|
+
},
|
|
9489
9790
|
on: {
|
|
9490
9791
|
click: (event) => this.$emit("click", event),
|
|
9491
9792
|
focus: (event) => this.$emit("focus", event),
|
|
9492
9793
|
blur: (event) => this.$emit("blur", event),
|
|
9493
9794
|
keydown: (event) => this.$emit("keydown", event),
|
|
9494
9795
|
keyup: (event) => this.$emit("keyup", event),
|
|
9495
|
-
input: (event) => this.$emit("input", event)
|
|
9496
|
-
"expanded-change": (event) => this.$emit("expanded-change", event),
|
|
9497
|
-
"selected-change": (event) => this.$emit("selected-change", event)
|
|
9796
|
+
input: (event) => this.$emit("input", event)
|
|
9498
9797
|
}
|
|
9499
9798
|
},
|
|
9500
|
-
[
|
|
9501
|
-
this.$slots.default,
|
|
9502
|
-
// @slot
|
|
9503
|
-
handleNamedSlot("
|
|
9504
|
-
// @slot
|
|
9505
|
-
handleNamedSlot("
|
|
9799
|
+
[
|
|
9800
|
+
this.$slots.default,
|
|
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"])
|
|
9506
9805
|
]
|
|
9507
9806
|
);
|
|
9508
9807
|
}
|
|
@@ -9511,36 +9810,41 @@ const VTreeItem = vue.defineComponent({
|
|
|
9511
9810
|
{
|
|
9512
9811
|
ref: "element",
|
|
9513
9812
|
class: "vvd-component",
|
|
9514
|
-
...this.
|
|
9813
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {},
|
|
9515
9814
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9516
|
-
...this.
|
|
9517
|
-
...this.
|
|
9518
|
-
...this.
|
|
9519
|
-
...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 } : {},
|
|
9520
9819
|
onClick: (event) => this.$emit("click", event),
|
|
9521
9820
|
onFocus: (event) => this.$emit("focus", event),
|
|
9522
9821
|
onBlur: (event) => this.$emit("blur", event),
|
|
9523
9822
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9524
9823
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9525
|
-
onInput: (event) => this.$emit("input", event)
|
|
9526
|
-
onExpandedChange: (event) => this.$emit("expanded-change", event),
|
|
9527
|
-
onSelectedChange: (event) => this.$emit("selected-change", event)
|
|
9824
|
+
onInput: (event) => this.$emit("input", event)
|
|
9528
9825
|
},
|
|
9529
9826
|
[
|
|
9530
9827
|
// @ts-ignore
|
|
9531
9828
|
this.$slots.default && this.$slots.default(),
|
|
9532
|
-
// @slot
|
|
9533
|
-
handleNamedSlot("
|
|
9534
|
-
// @slot
|
|
9535
|
-
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"])
|
|
9536
9833
|
]
|
|
9537
9834
|
);
|
|
9538
9835
|
}
|
|
9539
9836
|
});
|
|
9540
9837
|
|
|
9541
|
-
const
|
|
9542
|
-
name: "
|
|
9838
|
+
const VTooltip = vue.defineComponent({
|
|
9839
|
+
name: "VTooltip",
|
|
9543
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
|
+
},
|
|
9544
9848
|
/**
|
|
9545
9849
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9546
9850
|
*/
|
|
@@ -9549,13 +9853,15 @@ const VTreeView = vue.defineComponent({
|
|
|
9549
9853
|
default: void 0
|
|
9550
9854
|
},
|
|
9551
9855
|
/**
|
|
9552
|
-
*
|
|
9553
|
-
*
|
|
9856
|
+
* the text of the tooltip
|
|
9857
|
+
* accepts string
|
|
9554
9858
|
*/
|
|
9555
|
-
|
|
9556
|
-
|
|
9859
|
+
text: { type: String, default: void 0 },
|
|
9860
|
+
placement: {
|
|
9861
|
+
type: String,
|
|
9557
9862
|
default: void 0
|
|
9558
|
-
}
|
|
9863
|
+
},
|
|
9864
|
+
open: { type: Boolean, default: void 0 }
|
|
9559
9865
|
},
|
|
9560
9866
|
emits: [
|
|
9561
9867
|
/**
|
|
@@ -9591,7 +9897,7 @@ const VTreeView = vue.defineComponent({
|
|
|
9591
9897
|
],
|
|
9592
9898
|
methods: {},
|
|
9593
9899
|
setup(props, ctx) {
|
|
9594
|
-
const componentName = registerComponent("
|
|
9900
|
+
const componentName = registerComponent("tooltip", vivid.registerTooltip);
|
|
9595
9901
|
const element = vue.ref(null);
|
|
9596
9902
|
return { componentName, element };
|
|
9597
9903
|
},
|
|
@@ -9603,9 +9909,14 @@ const VTreeView = vue.defineComponent({
|
|
|
9603
9909
|
ref: "element",
|
|
9604
9910
|
attrs: {
|
|
9605
9911
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9606
|
-
...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 } : {}
|
|
9607
9915
|
},
|
|
9608
9916
|
class: "vvd-component",
|
|
9917
|
+
domProps: {
|
|
9918
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9919
|
+
},
|
|
9609
9920
|
on: {
|
|
9610
9921
|
click: (event) => this.$emit("click", event),
|
|
9611
9922
|
focus: (event) => this.$emit("focus", event),
|
|
@@ -9615,7 +9926,11 @@ const VTreeView = vue.defineComponent({
|
|
|
9615
9926
|
input: (event) => this.$emit("input", event)
|
|
9616
9927
|
}
|
|
9617
9928
|
},
|
|
9618
|
-
[
|
|
9929
|
+
[
|
|
9930
|
+
this.$slots.default,
|
|
9931
|
+
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9932
|
+
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9933
|
+
]
|
|
9619
9934
|
);
|
|
9620
9935
|
}
|
|
9621
9936
|
return vue.h(
|
|
@@ -9623,8 +9938,11 @@ const VTreeView = vue.defineComponent({
|
|
|
9623
9938
|
{
|
|
9624
9939
|
ref: "element",
|
|
9625
9940
|
class: "vvd-component",
|
|
9941
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {},
|
|
9626
9942
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9627
|
-
...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 } : {},
|
|
9628
9946
|
onClick: (event) => this.$emit("click", event),
|
|
9629
9947
|
onFocus: (event) => this.$emit("focus", event),
|
|
9630
9948
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -9634,15 +9952,22 @@ const VTreeView = vue.defineComponent({
|
|
|
9634
9952
|
},
|
|
9635
9953
|
[
|
|
9636
9954
|
// @ts-ignore
|
|
9637
|
-
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"])
|
|
9638
9958
|
]
|
|
9639
9959
|
);
|
|
9640
9960
|
}
|
|
9641
9961
|
});
|
|
9642
9962
|
|
|
9643
|
-
const
|
|
9644
|
-
name: "
|
|
9963
|
+
const VTreeItem = vue.defineComponent({
|
|
9964
|
+
name: "VTreeItem",
|
|
9645
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 },
|
|
9646
9971
|
/**
|
|
9647
9972
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9648
9973
|
*/
|
|
@@ -9651,23 +9976,21 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9651
9976
|
default: void 0
|
|
9652
9977
|
},
|
|
9653
9978
|
/**
|
|
9654
|
-
*
|
|
9979
|
+
* When true, the control will be appear expanded by user interaction.
|
|
9655
9980
|
*/
|
|
9656
|
-
|
|
9657
|
-
type: String,
|
|
9658
|
-
default: void 0
|
|
9659
|
-
},
|
|
9981
|
+
expanded: { type: Boolean, default: void 0 },
|
|
9660
9982
|
/**
|
|
9661
|
-
*
|
|
9983
|
+
* When true, the control will appear selected by user interaction.
|
|
9662
9984
|
*/
|
|
9663
|
-
|
|
9664
|
-
type: String,
|
|
9665
|
-
default: void 0
|
|
9666
|
-
},
|
|
9985
|
+
selected: { type: Boolean, default: void 0 },
|
|
9667
9986
|
/**
|
|
9668
|
-
*
|
|
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.
|
|
9669
9988
|
*/
|
|
9670
|
-
|
|
9989
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9990
|
+
/**
|
|
9991
|
+
* Indicates the text's text.
|
|
9992
|
+
*/
|
|
9993
|
+
text: { type: String, default: void 0 }
|
|
9671
9994
|
},
|
|
9672
9995
|
emits: [
|
|
9673
9996
|
/**
|
|
@@ -9701,29 +10024,19 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9701
10024
|
*/
|
|
9702
10025
|
"input",
|
|
9703
10026
|
/**
|
|
9704
|
-
* Fires a custom '
|
|
10027
|
+
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
9705
10028
|
* @type {unknown}
|
|
9706
10029
|
*/
|
|
9707
|
-
"
|
|
10030
|
+
"expanded-change",
|
|
9708
10031
|
/**
|
|
9709
|
-
*
|
|
10032
|
+
* Fires a custom 'selected-change' event when the selected state changes
|
|
9710
10033
|
* @type {unknown}
|
|
9711
10034
|
*/
|
|
9712
|
-
"
|
|
10035
|
+
"selected-change"
|
|
9713
10036
|
],
|
|
9714
|
-
methods: {
|
|
9715
|
-
handleFocusout(e) {
|
|
9716
|
-
return this.element?.handleFocusout(e);
|
|
9717
|
-
},
|
|
9718
|
-
handleCellFocus(e) {
|
|
9719
|
-
return this.element?.handleCellFocus(e);
|
|
9720
|
-
},
|
|
9721
|
-
handleKeydown(e) {
|
|
9722
|
-
return this.element?.handleKeydown(e);
|
|
9723
|
-
}
|
|
9724
|
-
},
|
|
10037
|
+
methods: {},
|
|
9725
10038
|
setup(props, ctx) {
|
|
9726
|
-
const componentName = registerComponent("
|
|
10039
|
+
const componentName = registerComponent("tree-item", vivid.registerTreeItem);
|
|
9727
10040
|
const element = vue.ref(null);
|
|
9728
10041
|
return { componentName, element };
|
|
9729
10042
|
},
|
|
@@ -9734,10 +10047,12 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9734
10047
|
{
|
|
9735
10048
|
ref: "element",
|
|
9736
10049
|
attrs: {
|
|
10050
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9737
10051
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9738
|
-
...this.
|
|
9739
|
-
...this.
|
|
9740
|
-
...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 } : {}
|
|
9741
10056
|
},
|
|
9742
10057
|
class: "vvd-component",
|
|
9743
10058
|
on: {
|
|
@@ -9747,11 +10062,17 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9747
10062
|
keydown: (event) => this.$emit("keydown", event),
|
|
9748
10063
|
keyup: (event) => this.$emit("keyup", event),
|
|
9749
10064
|
input: (event) => this.$emit("input", event),
|
|
9750
|
-
"
|
|
9751
|
-
"
|
|
10065
|
+
"expanded-change": (event) => this.$emit("expanded-change", event),
|
|
10066
|
+
"selected-change": (event) => this.$emit("selected-change", event)
|
|
9752
10067
|
}
|
|
9753
10068
|
},
|
|
9754
|
-
[
|
|
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
|
+
]
|
|
9755
10076
|
);
|
|
9756
10077
|
}
|
|
9757
10078
|
return vue.h(
|
|
@@ -9759,37 +10080,36 @@ const VDataGridRow = vue.defineComponent({
|
|
|
9759
10080
|
{
|
|
9760
10081
|
ref: "element",
|
|
9761
10082
|
class: "vvd-component",
|
|
10083
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9762
10084
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9763
|
-
...this.
|
|
9764
|
-
...this.
|
|
9765
|
-
...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 } : {},
|
|
9766
10089
|
onClick: (event) => this.$emit("click", event),
|
|
9767
10090
|
onFocus: (event) => this.$emit("focus", event),
|
|
9768
10091
|
onBlur: (event) => this.$emit("blur", event),
|
|
9769
10092
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9770
10093
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9771
10094
|
onInput: (event) => this.$emit("input", event),
|
|
9772
|
-
|
|
9773
|
-
|
|
10095
|
+
onExpandedChange: (event) => this.$emit("expanded-change", event),
|
|
10096
|
+
onSelectedChange: (event) => this.$emit("selected-change", event)
|
|
9774
10097
|
},
|
|
9775
10098
|
[
|
|
9776
10099
|
// @ts-ignore
|
|
9777
|
-
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"])
|
|
9778
10105
|
]
|
|
9779
10106
|
);
|
|
9780
10107
|
}
|
|
9781
10108
|
});
|
|
9782
10109
|
|
|
9783
|
-
const
|
|
9784
|
-
name: "
|
|
10110
|
+
const VTreeView = vue.defineComponent({
|
|
10111
|
+
name: "VTreeView",
|
|
9785
10112
|
props: {
|
|
9786
|
-
/**
|
|
9787
|
-
* Extends the data grid cell definition to hold more options.
|
|
9788
|
-
*/
|
|
9789
|
-
columnDefinition: {
|
|
9790
|
-
type: null,
|
|
9791
|
-
default: void 0
|
|
9792
|
-
},
|
|
9793
10113
|
/**
|
|
9794
10114
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9795
10115
|
*/
|
|
@@ -9798,26 +10118,13 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9798
10118
|
default: void 0
|
|
9799
10119
|
},
|
|
9800
10120
|
/**
|
|
9801
|
-
*
|
|
10121
|
+
* /**
|
|
10122
|
+
* When true, the control will be appear expanded by user interaction.
|
|
9802
10123
|
*/
|
|
9803
|
-
|
|
9804
|
-
type:
|
|
10124
|
+
renderCollapsedNodes: {
|
|
10125
|
+
type: Boolean,
|
|
9805
10126
|
default: void 0
|
|
9806
|
-
}
|
|
9807
|
-
/**
|
|
9808
|
-
* The column index of the cell.
|
|
9809
|
-
* This will be applied to the css grid-column-index value
|
|
9810
|
-
* applied to the cell
|
|
9811
|
-
*/
|
|
9812
|
-
gridColumn: { type: String, default: void 0 },
|
|
9813
|
-
/**
|
|
9814
|
-
* Indicates the selected status.
|
|
9815
|
-
*/
|
|
9816
|
-
ariaSelected: { type: String, default: void 0 },
|
|
9817
|
-
/**
|
|
9818
|
-
* Indicates the sort status.
|
|
9819
|
-
*/
|
|
9820
|
-
ariaSort: { type: String, default: void 0 }
|
|
10127
|
+
}
|
|
9821
10128
|
},
|
|
9822
10129
|
emits: [
|
|
9823
10130
|
/**
|
|
@@ -9849,39 +10156,11 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9849
10156
|
* Fires when the value of an element has been changed.
|
|
9850
10157
|
* @type {Event}
|
|
9851
10158
|
*/
|
|
9852
|
-
"input"
|
|
9853
|
-
/**
|
|
9854
|
-
* Fires a custom 'cell-focused' event when focus is on the cell or its contents
|
|
9855
|
-
* @type {unknown}
|
|
9856
|
-
*/
|
|
9857
|
-
"cell-focused",
|
|
9858
|
-
/**
|
|
9859
|
-
* Event that fires when a sortable column header is clicked
|
|
9860
|
-
* @type {unknown}
|
|
9861
|
-
*/
|
|
9862
|
-
"sort",
|
|
9863
|
-
/**
|
|
9864
|
-
* Event that fires when a cell is clicked
|
|
9865
|
-
* @type {unknown}
|
|
9866
|
-
*/
|
|
9867
|
-
"cell-click"
|
|
10159
|
+
"input"
|
|
9868
10160
|
],
|
|
9869
|
-
methods: {
|
|
9870
|
-
handleKeydown(e) {
|
|
9871
|
-
return this.element?.handleKeydown(e);
|
|
9872
|
-
},
|
|
9873
|
-
ariaSelectedChanged(_, selectedState) {
|
|
9874
|
-
return this.element?.ariaSelectedChanged(_, selectedState);
|
|
9875
|
-
},
|
|
9876
|
-
handleFocusin(e) {
|
|
9877
|
-
return this.element?.handleFocusin(e);
|
|
9878
|
-
},
|
|
9879
|
-
handleFocusout(e) {
|
|
9880
|
-
return this.element?.handleFocusout(e);
|
|
9881
|
-
}
|
|
9882
|
-
},
|
|
10161
|
+
methods: {},
|
|
9883
10162
|
setup(props, ctx) {
|
|
9884
|
-
const componentName = registerComponent("
|
|
10163
|
+
const componentName = registerComponent("tree-view", vivid.registerTreeView);
|
|
9885
10164
|
const element = vue.ref(null);
|
|
9886
10165
|
return { componentName, element };
|
|
9887
10166
|
},
|
|
@@ -9892,12 +10171,8 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9892
10171
|
{
|
|
9893
10172
|
ref: "element",
|
|
9894
10173
|
attrs: {
|
|
9895
|
-
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
9896
10174
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9897
|
-
...this.
|
|
9898
|
-
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
9899
|
-
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
9900
|
-
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {}
|
|
10175
|
+
...this.renderCollapsedNodes !== void 0 ? { "render-collapsed-nodes": this.renderCollapsedNodes } : {}
|
|
9901
10176
|
},
|
|
9902
10177
|
class: "vvd-component",
|
|
9903
10178
|
on: {
|
|
@@ -9906,10 +10181,7 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9906
10181
|
blur: (event) => this.$emit("blur", event),
|
|
9907
10182
|
keydown: (event) => this.$emit("keydown", event),
|
|
9908
10183
|
keyup: (event) => this.$emit("keyup", event),
|
|
9909
|
-
input: (event) => this.$emit("input", event)
|
|
9910
|
-
"cell-focused": (event) => this.$emit("cell-focused", event),
|
|
9911
|
-
sort: (event) => this.$emit("sort", event),
|
|
9912
|
-
"cell-click": (event) => this.$emit("cell-click", event)
|
|
10184
|
+
input: (event) => this.$emit("input", event)
|
|
9913
10185
|
}
|
|
9914
10186
|
},
|
|
9915
10187
|
[this.$slots.default]
|
|
@@ -9920,21 +10192,14 @@ const VDataGridCell = vue.defineComponent({
|
|
|
9920
10192
|
{
|
|
9921
10193
|
ref: "element",
|
|
9922
10194
|
class: "vvd-component",
|
|
9923
|
-
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
9924
10195
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9925
|
-
...this.
|
|
9926
|
-
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
9927
|
-
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
9928
|
-
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {},
|
|
10196
|
+
...this.renderCollapsedNodes !== void 0 ? { "render-collapsed-nodes": this.renderCollapsedNodes } : {},
|
|
9929
10197
|
onClick: (event) => this.$emit("click", event),
|
|
9930
10198
|
onFocus: (event) => this.$emit("focus", event),
|
|
9931
10199
|
onBlur: (event) => this.$emit("blur", event),
|
|
9932
10200
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9933
10201
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9934
|
-
onInput: (event) => this.$emit("input", event)
|
|
9935
|
-
onCellFocused: (event) => this.$emit("cell-focused", event),
|
|
9936
|
-
onSort: (event) => this.$emit("sort", event),
|
|
9937
|
-
onCellClick: (event) => this.$emit("cell-click", event)
|
|
10202
|
+
onInput: (event) => this.$emit("input", event)
|
|
9938
10203
|
},
|
|
9939
10204
|
[
|
|
9940
10205
|
// @ts-ignore
|
|
@@ -11146,17 +11411,17 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
11146
11411
|
return Icon2;
|
|
11147
11412
|
})(Icon || {});
|
|
11148
11413
|
|
|
11149
|
-
const tokensThemeLightCss = "/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 GMT\n */\n/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 GMT\n */\n/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 GMT\n */\n/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 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";
|
|
11150
11415
|
|
|
11151
|
-
const tokensThemeDarkCss = "/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 GMT\n */\n/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 GMT\n */\n/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 GMT\n */\n/**\n * Do not edit directly\n * Generated on Mon, 26 Feb 2024 10:33:29 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";
|
|
11152
11417
|
|
|
11153
|
-
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";
|
|
11154
11419
|
|
|
11155
|
-
const tokensVivid2CompatCss = "/**\n * Do not edit directly\n * Generated on
|
|
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";
|
|
11156
11421
|
|
|
11157
|
-
const coreThemeCss = "/**\n * Do not edit directly\n * Generated on
|
|
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";
|
|
11158
11423
|
|
|
11159
|
-
const coreTypographyCss = "/**\n * Do not edit directly\n * Generated on
|
|
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";
|
|
11160
11425
|
|
|
11161
11426
|
const theme = {
|
|
11162
11427
|
name: "core/theme",
|
|
@@ -11297,6 +11562,7 @@ exports.VProgress = VProgress;
|
|
|
11297
11562
|
exports.VProgressRing = VProgressRing;
|
|
11298
11563
|
exports.VRadio = VRadio;
|
|
11299
11564
|
exports.VRadioGroup = VRadioGroup;
|
|
11565
|
+
exports.VRangeSlider = VRangeSlider;
|
|
11300
11566
|
exports.VSelect = VSelect;
|
|
11301
11567
|
exports.VSelectableBox = VSelectableBox;
|
|
11302
11568
|
exports.VSideDrawer = VSideDrawer;
|