@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.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, version, onBeforeMount, defineComponent, h } from 'vue';
|
|
2
|
-
import { registerAccordion, registerAccordionItem, registerActionGroup, registerAlert, registerAudioPlayer, registerAvatar, registerBadge, registerBanner, registerBreadcrumb, registerBreadcrumbItem, registerButton, registerCalendar, registerCalendarEvent, registerCard, registerCheckbox, registerCombobox, registerDataGrid, registerDatePicker, registerDateRangePicker, registerDialog, registerDivider, registerEmptyState, registerFab, registerFilePicker, registerHeader, registerIcon, registerLayout, registerMenu, registerMenuItem, registerNav, registerNavDisclosure, registerNavItem, registerNote, registerNumberField, registerOption, registerPagination, registerProgress, registerProgressRing, registerRadio, registerRadioGroup, registerSelect, registerSelectableBox, registerSideDrawer, registerSlider, registerSplitButton, registerSwitch, registerTab, registerTabPanel, registerTabs, registerTag, registerTagGroup, registerTextArea, registerTextField, registerTimePicker, registerToggletip, registerTooltip, registerTreeItem, registerTreeView } from '@vonage/vivid';
|
|
2
|
+
import { registerAccordion, registerAccordionItem, registerActionGroup, registerAlert, registerAudioPlayer, registerAvatar, registerBadge, registerBanner, registerBreadcrumb, registerBreadcrumbItem, registerButton, registerCalendar, registerCalendarEvent, registerCard, registerCheckbox, registerCombobox, registerDataGrid, registerDatePicker, registerDateRangePicker, registerDialog, registerDivider, registerEmptyState, registerFab, registerFilePicker, registerHeader, registerIcon, registerLayout, registerMenu, registerMenuItem, registerNav, registerNavDisclosure, registerNavItem, registerNote, registerNumberField, registerOption, registerPagination, registerProgress, registerProgressRing, registerRadio, registerRadioGroup, registerRangeSlider, registerSelect, registerSelectableBox, registerSideDrawer, registerSlider, registerSplitButton, registerSwitch, registerTab, registerTabPanel, registerTabs, registerTag, registerTagGroup, registerTextArea, registerTextField, registerTimePicker, registerToggletip, registerTooltip, registerTreeItem, registerTreeView } from '@vonage/vivid';
|
|
3
3
|
|
|
4
4
|
const CustomComponentPrefix = ref("vvd3");
|
|
5
5
|
function setCustomComponentPrefix(prefix) {
|
|
@@ -1551,6 +1551,10 @@ const VButton = defineComponent({
|
|
|
1551
1551
|
* Displays the button in pending state.
|
|
1552
1552
|
*/
|
|
1553
1553
|
pending: { type: Boolean, default: void 0 },
|
|
1554
|
+
/**
|
|
1555
|
+
* Displays the button in active state.
|
|
1556
|
+
*/
|
|
1557
|
+
active: { type: Boolean, default: void 0 },
|
|
1554
1558
|
/**
|
|
1555
1559
|
* Indicates the button's label.
|
|
1556
1560
|
*/
|
|
@@ -1662,6 +1666,7 @@ const VButton = defineComponent({
|
|
|
1662
1666
|
...this.size !== void 0 ? { size: this.size } : {},
|
|
1663
1667
|
...this.stacked !== void 0 ? { stacked: this.stacked } : {},
|
|
1664
1668
|
...this.pending !== void 0 ? { pending: this.pending } : {},
|
|
1669
|
+
...this.active !== void 0 ? { active: this.active } : {},
|
|
1665
1670
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
1666
1671
|
...this.href !== void 0 ? { href: this.href } : {},
|
|
1667
1672
|
...this.download !== void 0 ? { download: this.download } : {},
|
|
@@ -1716,6 +1721,7 @@ const VButton = defineComponent({
|
|
|
1716
1721
|
...this.size !== void 0 ? { size: this.size } : {},
|
|
1717
1722
|
...this.stacked !== void 0 ? { stacked: this.stacked } : {},
|
|
1718
1723
|
...this.pending !== void 0 ? { pending: this.pending } : {},
|
|
1724
|
+
...this.active !== void 0 ? { active: this.active } : {},
|
|
1719
1725
|
...this.label !== void 0 ? { label: this.label } : {},
|
|
1720
1726
|
...this.href !== void 0 ? { href: this.href } : {},
|
|
1721
1727
|
...this.download !== void 0 ? { download: this.download } : {},
|
|
@@ -2817,21 +2823,16 @@ const VDataGrid = defineComponent({
|
|
|
2817
2823
|
}
|
|
2818
2824
|
});
|
|
2819
2825
|
|
|
2820
|
-
const
|
|
2821
|
-
name: "
|
|
2822
|
-
model: isVue2 ? {
|
|
2823
|
-
prop: "modelValue",
|
|
2824
|
-
event: "update:modelValue"
|
|
2825
|
-
} : void 0,
|
|
2826
|
+
const VDataGridCell = defineComponent({
|
|
2827
|
+
name: "VDataGridCell",
|
|
2826
2828
|
props: {
|
|
2827
2829
|
/**
|
|
2828
|
-
*
|
|
2829
|
-
*/
|
|
2830
|
-
label: { type: String, default: void 0 },
|
|
2831
|
-
/**
|
|
2832
|
-
* The error text for the form element.
|
|
2830
|
+
* Extends the data grid cell definition to hold more options.
|
|
2833
2831
|
*/
|
|
2834
|
-
|
|
2832
|
+
columnDefinition: {
|
|
2833
|
+
type: null,
|
|
2834
|
+
default: void 0
|
|
2835
|
+
},
|
|
2835
2836
|
/**
|
|
2836
2837
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
2837
2838
|
*/
|
|
@@ -2840,37 +2841,26 @@ const VDatePicker = defineComponent({
|
|
|
2840
2841
|
default: void 0
|
|
2841
2842
|
},
|
|
2842
2843
|
/**
|
|
2843
|
-
*
|
|
2844
|
-
*/
|
|
2845
|
-
disabled: { type: Boolean, default: void 0 },
|
|
2846
|
-
/**
|
|
2847
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
2848
|
-
*/
|
|
2849
|
-
name: { type: String, default: void 0 },
|
|
2850
|
-
/**
|
|
2851
|
-
* Require the field to be completed prior to form submission.
|
|
2852
|
-
*/
|
|
2853
|
-
required: { type: Boolean, default: void 0 },
|
|
2854
|
-
/**
|
|
2855
|
-
* The latest accepted date of the date-picker.
|
|
2856
|
-
*/
|
|
2857
|
-
max: { type: String, default: void 0 },
|
|
2858
|
-
/**
|
|
2859
|
-
* The earliest accepted date of the date-picker.
|
|
2844
|
+
* The type of cell
|
|
2860
2845
|
*/
|
|
2861
|
-
|
|
2846
|
+
cellType: {
|
|
2847
|
+
type: String,
|
|
2848
|
+
default: void 0
|
|
2849
|
+
},
|
|
2862
2850
|
/**
|
|
2863
|
-
* The
|
|
2851
|
+
* The column index of the cell.
|
|
2852
|
+
* This will be applied to the css grid-column-index value
|
|
2853
|
+
* applied to the cell
|
|
2864
2854
|
*/
|
|
2865
|
-
|
|
2855
|
+
gridColumn: { type: String, default: void 0 },
|
|
2866
2856
|
/**
|
|
2867
|
-
*
|
|
2857
|
+
* Indicates the selected status.
|
|
2868
2858
|
*/
|
|
2869
|
-
|
|
2859
|
+
ariaSelected: { type: String, default: void 0 },
|
|
2870
2860
|
/**
|
|
2871
|
-
*
|
|
2861
|
+
* Indicates the sort status.
|
|
2872
2862
|
*/
|
|
2873
|
-
|
|
2863
|
+
ariaSort: { type: String, default: void 0 }
|
|
2874
2864
|
},
|
|
2875
2865
|
emits: [
|
|
2876
2866
|
/**
|
|
@@ -2904,19 +2894,37 @@ const VDatePicker = defineComponent({
|
|
|
2904
2894
|
*/
|
|
2905
2895
|
"input",
|
|
2906
2896
|
/**
|
|
2907
|
-
*
|
|
2897
|
+
* Fires a custom 'cell-focused' event when focus is on the cell or its contents
|
|
2908
2898
|
* @type {unknown}
|
|
2909
2899
|
*/
|
|
2910
|
-
"
|
|
2900
|
+
"cell-focused",
|
|
2911
2901
|
/**
|
|
2912
|
-
*
|
|
2913
|
-
* @type {
|
|
2902
|
+
* Event that fires when a sortable column header is clicked
|
|
2903
|
+
* @type {unknown}
|
|
2914
2904
|
*/
|
|
2915
|
-
"
|
|
2905
|
+
"sort",
|
|
2906
|
+
/**
|
|
2907
|
+
* Event that fires when a cell is clicked
|
|
2908
|
+
* @type {unknown}
|
|
2909
|
+
*/
|
|
2910
|
+
"cell-click"
|
|
2916
2911
|
],
|
|
2917
|
-
methods: {
|
|
2912
|
+
methods: {
|
|
2913
|
+
handleKeydown(e) {
|
|
2914
|
+
return this.element?.handleKeydown(e);
|
|
2915
|
+
},
|
|
2916
|
+
ariaSelectedChanged(_, selectedState) {
|
|
2917
|
+
return this.element?.ariaSelectedChanged(_, selectedState);
|
|
2918
|
+
},
|
|
2919
|
+
handleFocusin(e) {
|
|
2920
|
+
return this.element?.handleFocusin(e);
|
|
2921
|
+
},
|
|
2922
|
+
handleFocusout(e) {
|
|
2923
|
+
return this.element?.handleFocusout(e);
|
|
2924
|
+
}
|
|
2925
|
+
},
|
|
2918
2926
|
setup(props, ctx) {
|
|
2919
|
-
const componentName = registerComponent("
|
|
2927
|
+
const componentName = registerComponent("data-grid-cell", registerDataGrid);
|
|
2920
2928
|
const element = ref(null);
|
|
2921
2929
|
return { componentName, element };
|
|
2922
2930
|
},
|
|
@@ -2927,17 +2935,12 @@ const VDatePicker = defineComponent({
|
|
|
2927
2935
|
{
|
|
2928
2936
|
ref: "element",
|
|
2929
2937
|
attrs: {
|
|
2930
|
-
...this.
|
|
2931
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2938
|
+
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
2932
2939
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2933
|
-
...this.
|
|
2934
|
-
...this.
|
|
2935
|
-
...this.
|
|
2936
|
-
...this.
|
|
2937
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
2938
|
-
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2939
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2940
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
2940
|
+
...this.cellType !== void 0 ? { "cell-type": this.cellType } : {},
|
|
2941
|
+
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
2942
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
2943
|
+
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {}
|
|
2941
2944
|
},
|
|
2942
2945
|
class: "vvd-component",
|
|
2943
2946
|
on: {
|
|
@@ -2946,14 +2949,10 @@ const VDatePicker = defineComponent({
|
|
|
2946
2949
|
blur: (event) => this.$emit("blur", event),
|
|
2947
2950
|
keydown: (event) => this.$emit("keydown", event),
|
|
2948
2951
|
keyup: (event) => this.$emit("keyup", event),
|
|
2949
|
-
input: (event) =>
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
);
|
|
2954
|
-
this.$emit("input", event);
|
|
2955
|
-
},
|
|
2956
|
-
"clear-click": (event) => this.$emit("clear-click", event)
|
|
2952
|
+
input: (event) => this.$emit("input", event),
|
|
2953
|
+
"cell-focused": (event) => this.$emit("cell-focused", event),
|
|
2954
|
+
sort: (event) => this.$emit("sort", event),
|
|
2955
|
+
"cell-click": (event) => this.$emit("cell-click", event)
|
|
2957
2956
|
}
|
|
2958
2957
|
},
|
|
2959
2958
|
[this.$slots.default]
|
|
@@ -2964,30 +2963,21 @@ const VDatePicker = defineComponent({
|
|
|
2964
2963
|
{
|
|
2965
2964
|
ref: "element",
|
|
2966
2965
|
class: "vvd-component",
|
|
2967
|
-
...this.
|
|
2968
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
2966
|
+
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
2969
2967
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
2970
|
-
...this.
|
|
2971
|
-
...this.
|
|
2972
|
-
...this.
|
|
2973
|
-
...this.
|
|
2974
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
2975
|
-
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
2976
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
2977
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
2968
|
+
...this.cellType !== void 0 ? { "cell-type": this.cellType } : {},
|
|
2969
|
+
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
2970
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
2971
|
+
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {},
|
|
2978
2972
|
onClick: (event) => this.$emit("click", event),
|
|
2979
2973
|
onFocus: (event) => this.$emit("focus", event),
|
|
2980
2974
|
onBlur: (event) => this.$emit("blur", event),
|
|
2981
2975
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
2982
2976
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
2983
|
-
onInput: (event) =>
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
);
|
|
2988
|
-
this.$emit("input", event);
|
|
2989
|
-
},
|
|
2990
|
-
onClearClick: (event) => this.$emit("clear-click", event)
|
|
2977
|
+
onInput: (event) => this.$emit("input", event),
|
|
2978
|
+
onCellFocused: (event) => this.$emit("cell-focused", event),
|
|
2979
|
+
onSort: (event) => this.$emit("sort", event),
|
|
2980
|
+
onCellClick: (event) => this.$emit("cell-click", event)
|
|
2991
2981
|
},
|
|
2992
2982
|
[
|
|
2993
2983
|
// @ts-ignore
|
|
@@ -2997,17 +2987,9 @@ const VDatePicker = defineComponent({
|
|
|
2997
2987
|
}
|
|
2998
2988
|
});
|
|
2999
2989
|
|
|
3000
|
-
const
|
|
3001
|
-
name: "
|
|
2990
|
+
const VDataGridRow = defineComponent({
|
|
2991
|
+
name: "VDataGridRow",
|
|
3002
2992
|
props: {
|
|
3003
|
-
/**
|
|
3004
|
-
* The label for the form element.
|
|
3005
|
-
*/
|
|
3006
|
-
label: { type: String, default: void 0 },
|
|
3007
|
-
/**
|
|
3008
|
-
* The error text for the form element.
|
|
3009
|
-
*/
|
|
3010
|
-
errorText: { type: String, default: void 0 },
|
|
3011
2993
|
/**
|
|
3012
2994
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3013
2995
|
*/
|
|
@@ -3016,53 +2998,23 @@ const VDateRangePicker = defineComponent({
|
|
|
3016
2998
|
default: void 0
|
|
3017
2999
|
},
|
|
3018
3000
|
/**
|
|
3019
|
-
*
|
|
3020
|
-
*/
|
|
3021
|
-
disabled: { type: Boolean, default: void 0 },
|
|
3022
|
-
/**
|
|
3023
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3024
|
-
*/
|
|
3025
|
-
name: { type: String, default: void 0 },
|
|
3026
|
-
/**
|
|
3027
|
-
* Require the field to be completed prior to form submission.
|
|
3028
|
-
*/
|
|
3029
|
-
required: { type: Boolean, default: void 0 },
|
|
3030
|
-
/**
|
|
3031
|
-
* The latest accepted date of the date-picker.
|
|
3032
|
-
*/
|
|
3033
|
-
max: { type: String, default: void 0 },
|
|
3034
|
-
/**
|
|
3035
|
-
* The current start value of the element. This property serves as a mechanism
|
|
3036
|
-
* to set the `start` property through both property assignment and the
|
|
3037
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
3038
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
3039
|
-
* and don't support IDL attribute binding.
|
|
3040
|
-
*/
|
|
3041
|
-
start: { type: String, default: void 0 },
|
|
3042
|
-
/**
|
|
3043
|
-
* The current end value of the element. This property serves as a mechanism
|
|
3044
|
-
* to set the `end` property through both property assignment and the
|
|
3045
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
3046
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
3047
|
-
* and don't support IDL attribute binding.
|
|
3048
|
-
*/
|
|
3049
|
-
end: { type: String, default: void 0 },
|
|
3050
|
-
/**
|
|
3051
|
-
* The earliest accepted date of the date-picker.
|
|
3052
|
-
*/
|
|
3053
|
-
min: { type: String, default: void 0 },
|
|
3054
|
-
/**
|
|
3055
|
-
* The initial value of the date-picker.
|
|
3001
|
+
* String that gets applied to the the css gridTemplateColumns attribute for the row
|
|
3056
3002
|
*/
|
|
3057
|
-
|
|
3003
|
+
gridTemplateColumns: {
|
|
3004
|
+
type: String,
|
|
3005
|
+
default: void 0
|
|
3006
|
+
},
|
|
3058
3007
|
/**
|
|
3059
|
-
* The
|
|
3008
|
+
* The type of row
|
|
3060
3009
|
*/
|
|
3061
|
-
|
|
3010
|
+
rowType: {
|
|
3011
|
+
type: String,
|
|
3012
|
+
default: void 0
|
|
3013
|
+
},
|
|
3062
3014
|
/**
|
|
3063
|
-
*
|
|
3015
|
+
* Indicates the selected status.
|
|
3064
3016
|
*/
|
|
3065
|
-
|
|
3017
|
+
ariaSelected: { type: String, default: void 0 }
|
|
3066
3018
|
},
|
|
3067
3019
|
emits: [
|
|
3068
3020
|
/**
|
|
@@ -3096,37 +3048,29 @@ const VDateRangePicker = defineComponent({
|
|
|
3096
3048
|
*/
|
|
3097
3049
|
"input",
|
|
3098
3050
|
/**
|
|
3099
|
-
*
|
|
3100
|
-
* @type {unknown}
|
|
3101
|
-
*/
|
|
3102
|
-
"input:start",
|
|
3103
|
-
/**
|
|
3104
|
-
* Event emitted when the end value changes
|
|
3051
|
+
* Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row
|
|
3105
3052
|
* @type {unknown}
|
|
3106
3053
|
*/
|
|
3107
|
-
"
|
|
3054
|
+
"row-focused",
|
|
3108
3055
|
/**
|
|
3109
|
-
* Event
|
|
3056
|
+
* Event that fires when a cell is clicked
|
|
3110
3057
|
* @type {unknown}
|
|
3111
3058
|
*/
|
|
3112
|
-
"
|
|
3113
|
-
/**
|
|
3114
|
-
* Event emitted when the start value changes
|
|
3115
|
-
* @type {string}
|
|
3116
|
-
*/
|
|
3117
|
-
"update:start",
|
|
3118
|
-
/**
|
|
3119
|
-
* Event emitted when the end value changes
|
|
3120
|
-
* @type {string}
|
|
3121
|
-
*/
|
|
3122
|
-
"update:end"
|
|
3059
|
+
"cell-click"
|
|
3123
3060
|
],
|
|
3124
|
-
methods: {
|
|
3061
|
+
methods: {
|
|
3062
|
+
handleFocusout(e) {
|
|
3063
|
+
return this.element?.handleFocusout(e);
|
|
3064
|
+
},
|
|
3065
|
+
handleCellFocus(e) {
|
|
3066
|
+
return this.element?.handleCellFocus(e);
|
|
3067
|
+
},
|
|
3068
|
+
handleKeydown(e) {
|
|
3069
|
+
return this.element?.handleKeydown(e);
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3125
3072
|
setup(props, ctx) {
|
|
3126
|
-
const componentName = registerComponent(
|
|
3127
|
-
"date-range-picker",
|
|
3128
|
-
registerDateRangePicker
|
|
3129
|
-
);
|
|
3073
|
+
const componentName = registerComponent("data-grid-row", registerDataGrid);
|
|
3130
3074
|
const element = ref(null);
|
|
3131
3075
|
return { componentName, element };
|
|
3132
3076
|
},
|
|
@@ -3137,19 +3081,10 @@ const VDateRangePicker = defineComponent({
|
|
|
3137
3081
|
{
|
|
3138
3082
|
ref: "element",
|
|
3139
3083
|
attrs: {
|
|
3140
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
3141
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3142
3084
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3143
|
-
...this.
|
|
3144
|
-
...this.
|
|
3145
|
-
...this.
|
|
3146
|
-
...this.max !== void 0 ? { max: this.max } : {},
|
|
3147
|
-
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3148
|
-
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3149
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
3150
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
3151
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3152
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
3085
|
+
...this.gridTemplateColumns !== void 0 ? { "grid-template-columns": this.gridTemplateColumns } : {},
|
|
3086
|
+
...this.rowType !== void 0 ? { "row-type": this.rowType } : {},
|
|
3087
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {}
|
|
3153
3088
|
},
|
|
3154
3089
|
class: "vvd-component",
|
|
3155
3090
|
on: {
|
|
@@ -3159,15 +3094,8 @@ const VDateRangePicker = defineComponent({
|
|
|
3159
3094
|
keydown: (event) => this.$emit("keydown", event),
|
|
3160
3095
|
keyup: (event) => this.$emit("keyup", event),
|
|
3161
3096
|
input: (event) => this.$emit("input", event),
|
|
3162
|
-
"
|
|
3163
|
-
|
|
3164
|
-
this.$emit("input:start", event);
|
|
3165
|
-
},
|
|
3166
|
-
"input:end": (event) => {
|
|
3167
|
-
this.$emit("update:end", event.target.end);
|
|
3168
|
-
this.$emit("input:end", event);
|
|
3169
|
-
},
|
|
3170
|
-
"clear-click": (event) => this.$emit("clear-click", event)
|
|
3097
|
+
"row-focused": (event) => this.$emit("row-focused", event),
|
|
3098
|
+
"cell-click": (event) => this.$emit("cell-click", event)
|
|
3171
3099
|
}
|
|
3172
3100
|
},
|
|
3173
3101
|
[this.$slots.default]
|
|
@@ -3178,34 +3106,18 @@ const VDateRangePicker = defineComponent({
|
|
|
3178
3106
|
{
|
|
3179
3107
|
ref: "element",
|
|
3180
3108
|
class: "vvd-component",
|
|
3181
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
3182
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3183
3109
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3184
|
-
...this.
|
|
3185
|
-
...this.
|
|
3186
|
-
...this.
|
|
3187
|
-
...this.max !== void 0 ? { max: this.max } : {},
|
|
3188
|
-
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3189
|
-
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3190
|
-
...this.min !== void 0 ? { min: this.min } : {},
|
|
3191
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
3192
|
-
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3193
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
3110
|
+
...this.gridTemplateColumns !== void 0 ? { "grid-template-columns": this.gridTemplateColumns } : {},
|
|
3111
|
+
...this.rowType !== void 0 ? { "row-type": this.rowType } : {},
|
|
3112
|
+
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
3194
3113
|
onClick: (event) => this.$emit("click", event),
|
|
3195
3114
|
onFocus: (event) => this.$emit("focus", event),
|
|
3196
3115
|
onBlur: (event) => this.$emit("blur", event),
|
|
3197
3116
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3198
3117
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3199
3118
|
onInput: (event) => this.$emit("input", event),
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
this.$emit("input:start", event);
|
|
3203
|
-
},
|
|
3204
|
-
"onInput:end": (event) => {
|
|
3205
|
-
this.$emit("update:end", event.target.end);
|
|
3206
|
-
this.$emit("input:end", event);
|
|
3207
|
-
},
|
|
3208
|
-
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3119
|
+
onRowFocused: (event) => this.$emit("row-focused", event),
|
|
3120
|
+
onCellClick: (event) => this.$emit("cell-click", event)
|
|
3209
3121
|
},
|
|
3210
3122
|
[
|
|
3211
3123
|
// @ts-ignore
|
|
@@ -3215,9 +3127,21 @@ const VDateRangePicker = defineComponent({
|
|
|
3215
3127
|
}
|
|
3216
3128
|
});
|
|
3217
3129
|
|
|
3218
|
-
const
|
|
3219
|
-
name: "
|
|
3130
|
+
const VDatePicker = defineComponent({
|
|
3131
|
+
name: "VDatePicker",
|
|
3132
|
+
model: isVue2 ? {
|
|
3133
|
+
prop: "modelValue",
|
|
3134
|
+
event: "update:modelValue"
|
|
3135
|
+
} : void 0,
|
|
3220
3136
|
props: {
|
|
3137
|
+
/**
|
|
3138
|
+
* The label for the form element.
|
|
3139
|
+
*/
|
|
3140
|
+
label: { type: String, default: void 0 },
|
|
3141
|
+
/**
|
|
3142
|
+
* The error text for the form element.
|
|
3143
|
+
*/
|
|
3144
|
+
errorText: { type: String, default: void 0 },
|
|
3221
3145
|
/**
|
|
3222
3146
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3223
3147
|
*/
|
|
@@ -3226,27 +3150,37 @@ const VDialog = defineComponent({
|
|
|
3226
3150
|
default: void 0
|
|
3227
3151
|
},
|
|
3228
3152
|
/**
|
|
3229
|
-
*
|
|
3153
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3230
3154
|
*/
|
|
3231
|
-
|
|
3155
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3232
3156
|
/**
|
|
3233
|
-
*
|
|
3234
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3157
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3235
3158
|
*/
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
},
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
},
|
|
3249
|
-
|
|
3159
|
+
name: { type: String, default: void 0 },
|
|
3160
|
+
/**
|
|
3161
|
+
* Require the field to be completed prior to form submission.
|
|
3162
|
+
*/
|
|
3163
|
+
required: { type: Boolean, default: void 0 },
|
|
3164
|
+
/**
|
|
3165
|
+
* The latest accepted date of the date-picker.
|
|
3166
|
+
*/
|
|
3167
|
+
max: { type: String, default: void 0 },
|
|
3168
|
+
/**
|
|
3169
|
+
* The earliest accepted date of the date-picker.
|
|
3170
|
+
*/
|
|
3171
|
+
min: { type: String, default: void 0 },
|
|
3172
|
+
/**
|
|
3173
|
+
* The initial value of the date-picker.
|
|
3174
|
+
*/
|
|
3175
|
+
modelValue: { type: String, default: void 0 },
|
|
3176
|
+
/**
|
|
3177
|
+
* The current value of the date-picker.
|
|
3178
|
+
*/
|
|
3179
|
+
currentValue: { type: String, default: void 0 },
|
|
3180
|
+
/**
|
|
3181
|
+
* Whether the date-picker is readonly.
|
|
3182
|
+
*/
|
|
3183
|
+
readonly: { type: Boolean, default: void 0 }
|
|
3250
3184
|
},
|
|
3251
3185
|
emits: [
|
|
3252
3186
|
/**
|
|
@@ -3280,24 +3214,19 @@ const VDialog = defineComponent({
|
|
|
3280
3214
|
*/
|
|
3281
3215
|
"input",
|
|
3282
3216
|
/**
|
|
3283
|
-
*
|
|
3217
|
+
* Event emitted when the clear value changes
|
|
3284
3218
|
* @type {unknown}
|
|
3285
3219
|
*/
|
|
3286
|
-
"
|
|
3220
|
+
"clear-click",
|
|
3221
|
+
/**
|
|
3222
|
+
* Fires when the value of an element has been changed.
|
|
3223
|
+
* @type {string}
|
|
3224
|
+
*/
|
|
3225
|
+
"update:modelValue"
|
|
3287
3226
|
],
|
|
3288
|
-
methods: {
|
|
3289
|
-
close() {
|
|
3290
|
-
return this.element?.close();
|
|
3291
|
-
},
|
|
3292
|
-
show() {
|
|
3293
|
-
return this.element?.show();
|
|
3294
|
-
},
|
|
3295
|
-
showModal() {
|
|
3296
|
-
return this.element?.showModal();
|
|
3297
|
-
}
|
|
3298
|
-
},
|
|
3227
|
+
methods: {},
|
|
3299
3228
|
setup(props, ctx) {
|
|
3300
|
-
const componentName = registerComponent("
|
|
3229
|
+
const componentName = registerComponent("date-picker", registerDatePicker);
|
|
3301
3230
|
const element = ref(null);
|
|
3302
3231
|
return { componentName, element };
|
|
3303
3232
|
},
|
|
@@ -3308,16 +3237,17 @@ const VDialog = defineComponent({
|
|
|
3308
3237
|
{
|
|
3309
3238
|
ref: "element",
|
|
3310
3239
|
attrs: {
|
|
3240
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3241
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3311
3242
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3312
|
-
...this.
|
|
3313
|
-
...this.
|
|
3314
|
-
...this.
|
|
3315
|
-
...this.
|
|
3316
|
-
...this.
|
|
3317
|
-
...this.
|
|
3318
|
-
...this.
|
|
3319
|
-
...this.
|
|
3320
|
-
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {}
|
|
3243
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3244
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3245
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3246
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3247
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3248
|
+
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
3249
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3250
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
3321
3251
|
},
|
|
3322
3252
|
class: "vvd-component",
|
|
3323
3253
|
on: {
|
|
@@ -3326,23 +3256,17 @@ const VDialog = defineComponent({
|
|
|
3326
3256
|
blur: (event) => this.$emit("blur", event),
|
|
3327
3257
|
keydown: (event) => this.$emit("keydown", event),
|
|
3328
3258
|
keyup: (event) => this.$emit("keyup", event),
|
|
3329
|
-
input: (event) =>
|
|
3330
|
-
|
|
3259
|
+
input: (event) => {
|
|
3260
|
+
this.$emit(
|
|
3261
|
+
"update:modelValue",
|
|
3262
|
+
event.target.value
|
|
3263
|
+
);
|
|
3264
|
+
this.$emit("input", event);
|
|
3265
|
+
},
|
|
3266
|
+
"clear-click": (event) => this.$emit("clear-click", event)
|
|
3331
3267
|
}
|
|
3332
3268
|
},
|
|
3333
|
-
[
|
|
3334
|
-
this.$slots.default,
|
|
3335
|
-
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3336
|
-
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3337
|
-
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3338
|
-
handleNamedSlot("body", this.$slots["body"]),
|
|
3339
|
-
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3340
|
-
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3341
|
-
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3342
|
-
handleNamedSlot("main", this.$slots["main"]),
|
|
3343
|
-
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3344
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3345
|
-
]
|
|
3269
|
+
[this.$slots.default]
|
|
3346
3270
|
);
|
|
3347
3271
|
}
|
|
3348
3272
|
return h(
|
|
@@ -3350,45 +3274,50 @@ const VDialog = defineComponent({
|
|
|
3350
3274
|
{
|
|
3351
3275
|
ref: "element",
|
|
3352
3276
|
class: "vvd-component",
|
|
3277
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3278
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3353
3279
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3354
|
-
...this.
|
|
3355
|
-
...this.
|
|
3356
|
-
...this.
|
|
3357
|
-
...this.
|
|
3358
|
-
...this.
|
|
3359
|
-
...this.
|
|
3360
|
-
...this.
|
|
3361
|
-
...this.
|
|
3362
|
-
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {},
|
|
3280
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3281
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3282
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3283
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3284
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3285
|
+
...this.modelValue !== void 0 ? { value: this.modelValue } : {},
|
|
3286
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3287
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
3363
3288
|
onClick: (event) => this.$emit("click", event),
|
|
3364
3289
|
onFocus: (event) => this.$emit("focus", event),
|
|
3365
3290
|
onBlur: (event) => this.$emit("blur", event),
|
|
3366
3291
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3367
3292
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3368
|
-
onInput: (event) =>
|
|
3369
|
-
|
|
3293
|
+
onInput: (event) => {
|
|
3294
|
+
this.$emit(
|
|
3295
|
+
"update:modelValue",
|
|
3296
|
+
event.target.value
|
|
3297
|
+
);
|
|
3298
|
+
this.$emit("input", event);
|
|
3299
|
+
},
|
|
3300
|
+
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3370
3301
|
},
|
|
3371
3302
|
[
|
|
3372
3303
|
// @ts-ignore
|
|
3373
|
-
this.$slots.default && this.$slots.default()
|
|
3374
|
-
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3375
|
-
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3376
|
-
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3377
|
-
handleNamedSlot("body", this.$slots["body"]),
|
|
3378
|
-
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3379
|
-
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3380
|
-
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3381
|
-
handleNamedSlot("main", this.$slots["main"]),
|
|
3382
|
-
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3383
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3304
|
+
this.$slots.default && this.$slots.default()
|
|
3384
3305
|
]
|
|
3385
3306
|
);
|
|
3386
3307
|
}
|
|
3387
3308
|
});
|
|
3388
3309
|
|
|
3389
|
-
const
|
|
3390
|
-
name: "
|
|
3310
|
+
const VDateRangePicker = defineComponent({
|
|
3311
|
+
name: "VDateRangePicker",
|
|
3391
3312
|
props: {
|
|
3313
|
+
/**
|
|
3314
|
+
* The label for the form element.
|
|
3315
|
+
*/
|
|
3316
|
+
label: { type: String, default: void 0 },
|
|
3317
|
+
/**
|
|
3318
|
+
* The error text for the form element.
|
|
3319
|
+
*/
|
|
3320
|
+
errorText: { type: String, default: void 0 },
|
|
3392
3321
|
/**
|
|
3393
3322
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3394
3323
|
*/
|
|
@@ -3397,35 +3326,69 @@ const VDivider = defineComponent({
|
|
|
3397
3326
|
default: void 0
|
|
3398
3327
|
},
|
|
3399
3328
|
/**
|
|
3400
|
-
*
|
|
3329
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3401
3330
|
*/
|
|
3402
|
-
|
|
3403
|
-
type: String,
|
|
3404
|
-
default: void 0
|
|
3405
|
-
},
|
|
3331
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3406
3332
|
/**
|
|
3407
|
-
* The
|
|
3333
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
3408
3334
|
*/
|
|
3409
|
-
|
|
3410
|
-
type: String,
|
|
3411
|
-
default: void 0
|
|
3412
|
-
}
|
|
3413
|
-
},
|
|
3414
|
-
emits: [
|
|
3335
|
+
name: { type: String, default: void 0 },
|
|
3415
3336
|
/**
|
|
3416
|
-
*
|
|
3417
|
-
* @type {MouseEvent}
|
|
3337
|
+
* Require the field to be completed prior to form submission.
|
|
3418
3338
|
*/
|
|
3419
|
-
|
|
3339
|
+
required: { type: Boolean, default: void 0 },
|
|
3420
3340
|
/**
|
|
3421
|
-
*
|
|
3422
|
-
* @type {FocusEvent}
|
|
3341
|
+
* The latest accepted date of the date-picker.
|
|
3423
3342
|
*/
|
|
3424
|
-
|
|
3343
|
+
max: { type: String, default: void 0 },
|
|
3425
3344
|
/**
|
|
3426
|
-
*
|
|
3427
|
-
*
|
|
3428
|
-
|
|
3345
|
+
* The current start value of the element. This property serves as a mechanism
|
|
3346
|
+
* to set the `start` property through both property assignment and the
|
|
3347
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
3348
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3349
|
+
* and don't support IDL attribute binding.
|
|
3350
|
+
*/
|
|
3351
|
+
start: { type: String, default: void 0 },
|
|
3352
|
+
/**
|
|
3353
|
+
* The current end value of the element. This property serves as a mechanism
|
|
3354
|
+
* to set the `end` property through both property assignment and the
|
|
3355
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
3356
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3357
|
+
* and don't support IDL attribute binding.
|
|
3358
|
+
*/
|
|
3359
|
+
end: { type: String, default: void 0 },
|
|
3360
|
+
/**
|
|
3361
|
+
* The earliest accepted date of the date-picker.
|
|
3362
|
+
*/
|
|
3363
|
+
min: { type: String, default: void 0 },
|
|
3364
|
+
/**
|
|
3365
|
+
* The initial value of the date-picker.
|
|
3366
|
+
*/
|
|
3367
|
+
value: { type: String, default: void 0 },
|
|
3368
|
+
/**
|
|
3369
|
+
* The current value of the date-picker.
|
|
3370
|
+
*/
|
|
3371
|
+
currentValue: { type: String, default: void 0 },
|
|
3372
|
+
/**
|
|
3373
|
+
* Whether the date-picker is readonly.
|
|
3374
|
+
*/
|
|
3375
|
+
readonly: { type: Boolean, default: void 0 }
|
|
3376
|
+
},
|
|
3377
|
+
emits: [
|
|
3378
|
+
/**
|
|
3379
|
+
* 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.
|
|
3380
|
+
* @type {MouseEvent}
|
|
3381
|
+
*/
|
|
3382
|
+
"click",
|
|
3383
|
+
/**
|
|
3384
|
+
* Fires when the element receives focus.
|
|
3385
|
+
* @type {FocusEvent}
|
|
3386
|
+
*/
|
|
3387
|
+
"focus",
|
|
3388
|
+
/**
|
|
3389
|
+
* Fires when the element loses focus.
|
|
3390
|
+
* @type {FocusEvent}
|
|
3391
|
+
*/
|
|
3429
3392
|
"blur",
|
|
3430
3393
|
/**
|
|
3431
3394
|
* Fires when a key is pressed.
|
|
@@ -3441,11 +3404,39 @@ const VDivider = defineComponent({
|
|
|
3441
3404
|
* Fires when the value of an element has been changed.
|
|
3442
3405
|
* @type {Event}
|
|
3443
3406
|
*/
|
|
3444
|
-
"input"
|
|
3407
|
+
"input",
|
|
3408
|
+
/**
|
|
3409
|
+
* Event emitted when the start value changes
|
|
3410
|
+
* @type {unknown}
|
|
3411
|
+
*/
|
|
3412
|
+
"input:start",
|
|
3413
|
+
/**
|
|
3414
|
+
* Event emitted when the end value changes
|
|
3415
|
+
* @type {unknown}
|
|
3416
|
+
*/
|
|
3417
|
+
"input:end",
|
|
3418
|
+
/**
|
|
3419
|
+
* Event emitted when the clear value changes
|
|
3420
|
+
* @type {unknown}
|
|
3421
|
+
*/
|
|
3422
|
+
"clear-click",
|
|
3423
|
+
/**
|
|
3424
|
+
* Event emitted when the start value changes
|
|
3425
|
+
* @type {string}
|
|
3426
|
+
*/
|
|
3427
|
+
"update:start",
|
|
3428
|
+
/**
|
|
3429
|
+
* Event emitted when the end value changes
|
|
3430
|
+
* @type {string}
|
|
3431
|
+
*/
|
|
3432
|
+
"update:end"
|
|
3445
3433
|
],
|
|
3446
3434
|
methods: {},
|
|
3447
3435
|
setup(props, ctx) {
|
|
3448
|
-
const componentName = registerComponent(
|
|
3436
|
+
const componentName = registerComponent(
|
|
3437
|
+
"date-range-picker",
|
|
3438
|
+
registerDateRangePicker
|
|
3439
|
+
);
|
|
3449
3440
|
const element = ref(null);
|
|
3450
3441
|
return { componentName, element };
|
|
3451
3442
|
},
|
|
@@ -3456,9 +3447,19 @@ const VDivider = defineComponent({
|
|
|
3456
3447
|
{
|
|
3457
3448
|
ref: "element",
|
|
3458
3449
|
attrs: {
|
|
3450
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3451
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3459
3452
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3460
|
-
...this.
|
|
3461
|
-
...this.
|
|
3453
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3454
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3455
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3456
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3457
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3458
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3459
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3460
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
3461
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3462
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {}
|
|
3462
3463
|
},
|
|
3463
3464
|
class: "vvd-component",
|
|
3464
3465
|
on: {
|
|
@@ -3467,7 +3468,16 @@ const VDivider = defineComponent({
|
|
|
3467
3468
|
blur: (event) => this.$emit("blur", event),
|
|
3468
3469
|
keydown: (event) => this.$emit("keydown", event),
|
|
3469
3470
|
keyup: (event) => this.$emit("keyup", event),
|
|
3470
|
-
input: (event) => this.$emit("input", event)
|
|
3471
|
+
input: (event) => this.$emit("input", event),
|
|
3472
|
+
"input:start": (event) => {
|
|
3473
|
+
this.$emit("update:start", event.target.start);
|
|
3474
|
+
this.$emit("input:start", event);
|
|
3475
|
+
},
|
|
3476
|
+
"input:end": (event) => {
|
|
3477
|
+
this.$emit("update:end", event.target.end);
|
|
3478
|
+
this.$emit("input:end", event);
|
|
3479
|
+
},
|
|
3480
|
+
"clear-click": (event) => this.$emit("clear-click", event)
|
|
3471
3481
|
}
|
|
3472
3482
|
},
|
|
3473
3483
|
[this.$slots.default]
|
|
@@ -3478,15 +3488,34 @@ const VDivider = defineComponent({
|
|
|
3478
3488
|
{
|
|
3479
3489
|
ref: "element",
|
|
3480
3490
|
class: "vvd-component",
|
|
3491
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
3492
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
3481
3493
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3482
|
-
...this.
|
|
3483
|
-
...this.
|
|
3494
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
3495
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
3496
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
3497
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
3498
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
3499
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
3500
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
3501
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
3502
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
3503
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
3484
3504
|
onClick: (event) => this.$emit("click", event),
|
|
3485
3505
|
onFocus: (event) => this.$emit("focus", event),
|
|
3486
3506
|
onBlur: (event) => this.$emit("blur", event),
|
|
3487
3507
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3488
3508
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3489
|
-
onInput: (event) => this.$emit("input", event)
|
|
3509
|
+
onInput: (event) => this.$emit("input", event),
|
|
3510
|
+
"onInput:start": (event) => {
|
|
3511
|
+
this.$emit("update:start", event.target.start);
|
|
3512
|
+
this.$emit("input:start", event);
|
|
3513
|
+
},
|
|
3514
|
+
"onInput:end": (event) => {
|
|
3515
|
+
this.$emit("update:end", event.target.end);
|
|
3516
|
+
this.$emit("input:end", event);
|
|
3517
|
+
},
|
|
3518
|
+
onClearClick: (event) => this.$emit("clear-click", event)
|
|
3490
3519
|
},
|
|
3491
3520
|
[
|
|
3492
3521
|
// @ts-ignore
|
|
@@ -3496,8 +3525,8 @@ const VDivider = defineComponent({
|
|
|
3496
3525
|
}
|
|
3497
3526
|
});
|
|
3498
3527
|
|
|
3499
|
-
const
|
|
3500
|
-
name: "
|
|
3528
|
+
const VDialog = defineComponent({
|
|
3529
|
+
name: "VDialog",
|
|
3501
3530
|
props: {
|
|
3502
3531
|
/**
|
|
3503
3532
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -3507,14 +3536,27 @@ const VEmptyState = defineComponent({
|
|
|
3507
3536
|
default: void 0
|
|
3508
3537
|
},
|
|
3509
3538
|
/**
|
|
3510
|
-
*
|
|
3539
|
+
* Indicates dialog's state
|
|
3511
3540
|
*/
|
|
3512
|
-
|
|
3541
|
+
open: { type: Boolean, default: void 0 },
|
|
3513
3542
|
/**
|
|
3514
|
-
*
|
|
3543
|
+
* undefined
|
|
3515
3544
|
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3516
3545
|
*/
|
|
3517
|
-
icon: { type: String, default: void 0 }
|
|
3546
|
+
icon: { type: String, default: void 0 },
|
|
3547
|
+
iconPlacement: {
|
|
3548
|
+
type: String,
|
|
3549
|
+
default: void 0
|
|
3550
|
+
},
|
|
3551
|
+
subtitle: { type: String, default: void 0 },
|
|
3552
|
+
headline: { type: String, default: void 0 },
|
|
3553
|
+
fullWidthBody: { type: Boolean, default: void 0 },
|
|
3554
|
+
ariaLabel: { type: String, default: void 0 },
|
|
3555
|
+
dismissButtonAriaLabel: {
|
|
3556
|
+
type: String,
|
|
3557
|
+
default: void 0
|
|
3558
|
+
},
|
|
3559
|
+
noLightDismiss: { type: Boolean, default: void 0 }
|
|
3518
3560
|
},
|
|
3519
3561
|
emits: [
|
|
3520
3562
|
/**
|
|
@@ -3546,11 +3588,26 @@ const VEmptyState = defineComponent({
|
|
|
3546
3588
|
* Fires when the value of an element has been changed.
|
|
3547
3589
|
* @type {Event}
|
|
3548
3590
|
*/
|
|
3549
|
-
"input"
|
|
3591
|
+
"input",
|
|
3592
|
+
/**
|
|
3593
|
+
* Fired when the dialog is closed.
|
|
3594
|
+
* @type {unknown}
|
|
3595
|
+
*/
|
|
3596
|
+
"close"
|
|
3550
3597
|
],
|
|
3551
|
-
methods: {
|
|
3598
|
+
methods: {
|
|
3599
|
+
close() {
|
|
3600
|
+
return this.element?.close();
|
|
3601
|
+
},
|
|
3602
|
+
show() {
|
|
3603
|
+
return this.element?.show();
|
|
3604
|
+
},
|
|
3605
|
+
showModal() {
|
|
3606
|
+
return this.element?.showModal();
|
|
3607
|
+
}
|
|
3608
|
+
},
|
|
3552
3609
|
setup(props, ctx) {
|
|
3553
|
-
const componentName = registerComponent("
|
|
3610
|
+
const componentName = registerComponent("dialog", registerDialog);
|
|
3554
3611
|
const element = ref(null);
|
|
3555
3612
|
return { componentName, element };
|
|
3556
3613
|
},
|
|
@@ -3562,8 +3619,15 @@ const VEmptyState = defineComponent({
|
|
|
3562
3619
|
ref: "element",
|
|
3563
3620
|
attrs: {
|
|
3564
3621
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3622
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
3623
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
3624
|
+
...this.iconPlacement !== void 0 ? { "icon-placement": this.iconPlacement } : {},
|
|
3625
|
+
...this.subtitle !== void 0 ? { subtitle: this.subtitle } : {},
|
|
3565
3626
|
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3566
|
-
...this.
|
|
3627
|
+
...this.fullWidthBody !== void 0 ? { "full-width-body": this.fullWidthBody } : {},
|
|
3628
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
3629
|
+
...this.dismissButtonAriaLabel !== void 0 ? { "dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
|
|
3630
|
+
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {}
|
|
3567
3631
|
},
|
|
3568
3632
|
class: "vvd-component",
|
|
3569
3633
|
on: {
|
|
@@ -3572,14 +3636,21 @@ const VEmptyState = defineComponent({
|
|
|
3572
3636
|
blur: (event) => this.$emit("blur", event),
|
|
3573
3637
|
keydown: (event) => this.$emit("keydown", event),
|
|
3574
3638
|
keyup: (event) => this.$emit("keyup", event),
|
|
3575
|
-
input: (event) => this.$emit("input", event)
|
|
3639
|
+
input: (event) => this.$emit("input", event),
|
|
3640
|
+
close: (event) => this.$emit("close", event)
|
|
3576
3641
|
}
|
|
3577
3642
|
},
|
|
3578
3643
|
[
|
|
3579
3644
|
this.$slots.default,
|
|
3580
|
-
// @slot graphic
|
|
3645
|
+
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3581
3646
|
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3582
|
-
// @slot
|
|
3647
|
+
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3648
|
+
handleNamedSlot("body", this.$slots["body"]),
|
|
3649
|
+
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3650
|
+
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3651
|
+
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3652
|
+
handleNamedSlot("main", this.$slots["main"]),
|
|
3653
|
+
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3583
3654
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3584
3655
|
]
|
|
3585
3656
|
);
|
|
@@ -3590,39 +3661,44 @@ const VEmptyState = defineComponent({
|
|
|
3590
3661
|
ref: "element",
|
|
3591
3662
|
class: "vvd-component",
|
|
3592
3663
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3593
|
-
...this.
|
|
3664
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
3594
3665
|
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
3666
|
+
...this.iconPlacement !== void 0 ? { "icon-placement": this.iconPlacement } : {},
|
|
3667
|
+
...this.subtitle !== void 0 ? { subtitle: this.subtitle } : {},
|
|
3668
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3669
|
+
...this.fullWidthBody !== void 0 ? { "full-width-body": this.fullWidthBody } : {},
|
|
3670
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
3671
|
+
...this.dismissButtonAriaLabel !== void 0 ? { "dismiss-button-aria-label": this.dismissButtonAriaLabel } : {},
|
|
3672
|
+
...this.noLightDismiss !== void 0 ? { "no-light-dismiss": this.noLightDismiss } : {},
|
|
3595
3673
|
onClick: (event) => this.$emit("click", event),
|
|
3596
3674
|
onFocus: (event) => this.$emit("focus", event),
|
|
3597
3675
|
onBlur: (event) => this.$emit("blur", event),
|
|
3598
3676
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
3599
3677
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
3600
|
-
onInput: (event) => this.$emit("input", event)
|
|
3678
|
+
onInput: (event) => this.$emit("input", event),
|
|
3679
|
+
onClose: (event) => this.$emit("close", event)
|
|
3601
3680
|
},
|
|
3602
3681
|
[
|
|
3603
3682
|
// @ts-ignore
|
|
3604
3683
|
this.$slots.default && this.$slots.default(),
|
|
3605
|
-
// @slot graphic
|
|
3684
|
+
// @slot graphic Use the graphic slot in order to replace the icon.
|
|
3606
3685
|
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3607
|
-
// @slot
|
|
3686
|
+
// @slot body Use the body slot in order to add custom HTML to the dialog.
|
|
3687
|
+
handleNamedSlot("body", this.$slots["body"]),
|
|
3688
|
+
// @slot footer Use the footer slot in order to add action buttons to the bottom of the dialog.
|
|
3689
|
+
handleNamedSlot("footer", this.$slots["footer"]),
|
|
3690
|
+
// @slot main Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.
|
|
3691
|
+
handleNamedSlot("main", this.$slots["main"]),
|
|
3692
|
+
// @slot action-items Use the action-items slot in order to add action buttons to the bottom of the dialog.
|
|
3608
3693
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3609
3694
|
]
|
|
3610
3695
|
);
|
|
3611
3696
|
}
|
|
3612
3697
|
});
|
|
3613
3698
|
|
|
3614
|
-
const
|
|
3615
|
-
name: "
|
|
3699
|
+
const VDivider = defineComponent({
|
|
3700
|
+
name: "VDivider",
|
|
3616
3701
|
props: {
|
|
3617
|
-
/**
|
|
3618
|
-
* A decorative icon the custom element should have.
|
|
3619
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3620
|
-
*/
|
|
3621
|
-
icon: { type: String, default: void 0 },
|
|
3622
|
-
/**
|
|
3623
|
-
* Indicates the icon affix alignment.
|
|
3624
|
-
*/
|
|
3625
|
-
iconTrailing: { type: Boolean, default: void 0 },
|
|
3626
3702
|
/**
|
|
3627
3703
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3628
3704
|
*/
|
|
@@ -3631,20 +3707,254 @@ const VFab = defineComponent({
|
|
|
3631
3707
|
default: void 0
|
|
3632
3708
|
},
|
|
3633
3709
|
/**
|
|
3634
|
-
*
|
|
3710
|
+
* The role of the element.
|
|
3635
3711
|
*/
|
|
3636
|
-
|
|
3712
|
+
role: {
|
|
3713
|
+
type: String,
|
|
3714
|
+
default: void 0
|
|
3715
|
+
},
|
|
3637
3716
|
/**
|
|
3638
|
-
* The
|
|
3639
|
-
* only when the `value` property has not been explicitly set.
|
|
3717
|
+
* The orientation of the divider.
|
|
3640
3718
|
*/
|
|
3641
|
-
|
|
3719
|
+
orientation: {
|
|
3720
|
+
type: String,
|
|
3721
|
+
default: void 0
|
|
3722
|
+
}
|
|
3723
|
+
},
|
|
3724
|
+
emits: [
|
|
3642
3725
|
/**
|
|
3643
|
-
*
|
|
3644
|
-
*
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3726
|
+
* 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.
|
|
3727
|
+
* @type {MouseEvent}
|
|
3728
|
+
*/
|
|
3729
|
+
"click",
|
|
3730
|
+
/**
|
|
3731
|
+
* Fires when the element receives focus.
|
|
3732
|
+
* @type {FocusEvent}
|
|
3733
|
+
*/
|
|
3734
|
+
"focus",
|
|
3735
|
+
/**
|
|
3736
|
+
* Fires when the element loses focus.
|
|
3737
|
+
* @type {FocusEvent}
|
|
3738
|
+
*/
|
|
3739
|
+
"blur",
|
|
3740
|
+
/**
|
|
3741
|
+
* Fires when a key is pressed.
|
|
3742
|
+
* @type {KeyboardEvent}
|
|
3743
|
+
*/
|
|
3744
|
+
"keydown",
|
|
3745
|
+
/**
|
|
3746
|
+
* Fires when a key is released.
|
|
3747
|
+
* @type {KeyboardEvent}
|
|
3748
|
+
*/
|
|
3749
|
+
"keyup",
|
|
3750
|
+
/**
|
|
3751
|
+
* Fires when the value of an element has been changed.
|
|
3752
|
+
* @type {Event}
|
|
3753
|
+
*/
|
|
3754
|
+
"input"
|
|
3755
|
+
],
|
|
3756
|
+
methods: {},
|
|
3757
|
+
setup(props, ctx) {
|
|
3758
|
+
const componentName = registerComponent("divider", registerDivider);
|
|
3759
|
+
const element = ref(null);
|
|
3760
|
+
return { componentName, element };
|
|
3761
|
+
},
|
|
3762
|
+
render() {
|
|
3763
|
+
if (isVue2) {
|
|
3764
|
+
return h(
|
|
3765
|
+
this.componentName,
|
|
3766
|
+
{
|
|
3767
|
+
ref: "element",
|
|
3768
|
+
attrs: {
|
|
3769
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3770
|
+
...this.role !== void 0 ? { role: this.role } : {},
|
|
3771
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {}
|
|
3772
|
+
},
|
|
3773
|
+
class: "vvd-component",
|
|
3774
|
+
on: {
|
|
3775
|
+
click: (event) => this.$emit("click", event),
|
|
3776
|
+
focus: (event) => this.$emit("focus", event),
|
|
3777
|
+
blur: (event) => this.$emit("blur", event),
|
|
3778
|
+
keydown: (event) => this.$emit("keydown", event),
|
|
3779
|
+
keyup: (event) => this.$emit("keyup", event),
|
|
3780
|
+
input: (event) => this.$emit("input", event)
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
[this.$slots.default]
|
|
3784
|
+
);
|
|
3785
|
+
}
|
|
3786
|
+
return h(
|
|
3787
|
+
this.componentName,
|
|
3788
|
+
{
|
|
3789
|
+
ref: "element",
|
|
3790
|
+
class: "vvd-component",
|
|
3791
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3792
|
+
...this.role !== void 0 ? { role: this.role } : {},
|
|
3793
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
3794
|
+
onClick: (event) => this.$emit("click", event),
|
|
3795
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
3796
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
3797
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
3798
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
3799
|
+
onInput: (event) => this.$emit("input", event)
|
|
3800
|
+
},
|
|
3801
|
+
[
|
|
3802
|
+
// @ts-ignore
|
|
3803
|
+
this.$slots.default && this.$slots.default()
|
|
3804
|
+
]
|
|
3805
|
+
);
|
|
3806
|
+
}
|
|
3807
|
+
});
|
|
3808
|
+
|
|
3809
|
+
const VEmptyState = defineComponent({
|
|
3810
|
+
name: "VEmptyState",
|
|
3811
|
+
props: {
|
|
3812
|
+
/**
|
|
3813
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3814
|
+
*/
|
|
3815
|
+
ariaCurrent: {
|
|
3816
|
+
type: String,
|
|
3817
|
+
default: void 0
|
|
3818
|
+
},
|
|
3819
|
+
/**
|
|
3820
|
+
* An optional headline for the empty state.
|
|
3821
|
+
*/
|
|
3822
|
+
headline: { type: String, default: void 0 },
|
|
3823
|
+
/**
|
|
3824
|
+
* Icon for the empty state.
|
|
3825
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3826
|
+
*/
|
|
3827
|
+
icon: { type: String, default: void 0 }
|
|
3828
|
+
},
|
|
3829
|
+
emits: [
|
|
3830
|
+
/**
|
|
3831
|
+
* 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.
|
|
3832
|
+
* @type {MouseEvent}
|
|
3833
|
+
*/
|
|
3834
|
+
"click",
|
|
3835
|
+
/**
|
|
3836
|
+
* Fires when the element receives focus.
|
|
3837
|
+
* @type {FocusEvent}
|
|
3838
|
+
*/
|
|
3839
|
+
"focus",
|
|
3840
|
+
/**
|
|
3841
|
+
* Fires when the element loses focus.
|
|
3842
|
+
* @type {FocusEvent}
|
|
3843
|
+
*/
|
|
3844
|
+
"blur",
|
|
3845
|
+
/**
|
|
3846
|
+
* Fires when a key is pressed.
|
|
3847
|
+
* @type {KeyboardEvent}
|
|
3848
|
+
*/
|
|
3849
|
+
"keydown",
|
|
3850
|
+
/**
|
|
3851
|
+
* Fires when a key is released.
|
|
3852
|
+
* @type {KeyboardEvent}
|
|
3853
|
+
*/
|
|
3854
|
+
"keyup",
|
|
3855
|
+
/**
|
|
3856
|
+
* Fires when the value of an element has been changed.
|
|
3857
|
+
* @type {Event}
|
|
3858
|
+
*/
|
|
3859
|
+
"input"
|
|
3860
|
+
],
|
|
3861
|
+
methods: {},
|
|
3862
|
+
setup(props, ctx) {
|
|
3863
|
+
const componentName = registerComponent("empty-state", registerEmptyState);
|
|
3864
|
+
const element = ref(null);
|
|
3865
|
+
return { componentName, element };
|
|
3866
|
+
},
|
|
3867
|
+
render() {
|
|
3868
|
+
if (isVue2) {
|
|
3869
|
+
return h(
|
|
3870
|
+
this.componentName,
|
|
3871
|
+
{
|
|
3872
|
+
ref: "element",
|
|
3873
|
+
attrs: {
|
|
3874
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3875
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3876
|
+
...this.icon !== void 0 ? { icon: this.icon } : {}
|
|
3877
|
+
},
|
|
3878
|
+
class: "vvd-component",
|
|
3879
|
+
on: {
|
|
3880
|
+
click: (event) => this.$emit("click", event),
|
|
3881
|
+
focus: (event) => this.$emit("focus", event),
|
|
3882
|
+
blur: (event) => this.$emit("blur", event),
|
|
3883
|
+
keydown: (event) => this.$emit("keydown", event),
|
|
3884
|
+
keyup: (event) => this.$emit("keyup", event),
|
|
3885
|
+
input: (event) => this.$emit("input", event)
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
[
|
|
3889
|
+
this.$slots.default,
|
|
3890
|
+
// @slot graphic The graphic slot allows overriding the icon with a custom illustration
|
|
3891
|
+
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3892
|
+
// @slot action-items Slot to add action items to the empty state
|
|
3893
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3894
|
+
]
|
|
3895
|
+
);
|
|
3896
|
+
}
|
|
3897
|
+
return h(
|
|
3898
|
+
this.componentName,
|
|
3899
|
+
{
|
|
3900
|
+
ref: "element",
|
|
3901
|
+
class: "vvd-component",
|
|
3902
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
3903
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
3904
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
3905
|
+
onClick: (event) => this.$emit("click", event),
|
|
3906
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
3907
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
3908
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
3909
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
3910
|
+
onInput: (event) => this.$emit("input", event)
|
|
3911
|
+
},
|
|
3912
|
+
[
|
|
3913
|
+
// @ts-ignore
|
|
3914
|
+
this.$slots.default && this.$slots.default(),
|
|
3915
|
+
// @slot graphic The graphic slot allows overriding the icon with a custom illustration
|
|
3916
|
+
handleNamedSlot("graphic", this.$slots["graphic"]),
|
|
3917
|
+
// @slot action-items Slot to add action items to the empty state
|
|
3918
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
3919
|
+
]
|
|
3920
|
+
);
|
|
3921
|
+
}
|
|
3922
|
+
});
|
|
3923
|
+
|
|
3924
|
+
const VFab = defineComponent({
|
|
3925
|
+
name: "VFab",
|
|
3926
|
+
props: {
|
|
3927
|
+
/**
|
|
3928
|
+
* A decorative icon the custom element should have.
|
|
3929
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
3930
|
+
*/
|
|
3931
|
+
icon: { type: String, default: void 0 },
|
|
3932
|
+
/**
|
|
3933
|
+
* Indicates the icon affix alignment.
|
|
3934
|
+
*/
|
|
3935
|
+
iconTrailing: { type: Boolean, default: void 0 },
|
|
3936
|
+
/**
|
|
3937
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
3938
|
+
*/
|
|
3939
|
+
ariaCurrent: {
|
|
3940
|
+
type: String,
|
|
3941
|
+
default: void 0
|
|
3942
|
+
},
|
|
3943
|
+
/**
|
|
3944
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
3945
|
+
*/
|
|
3946
|
+
disabled: { type: Boolean, default: void 0 },
|
|
3947
|
+
/**
|
|
3948
|
+
* The initial value of the form. This value sets the `value` property
|
|
3949
|
+
* only when the `value` property has not been explicitly set.
|
|
3950
|
+
*/
|
|
3951
|
+
value: { type: String, default: void 0 },
|
|
3952
|
+
/**
|
|
3953
|
+
* The current value of the element. This property serves as a mechanism
|
|
3954
|
+
* to set the `value` property through both property assignment and the
|
|
3955
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
3956
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
3957
|
+
* and don't support IDL attribute binding.
|
|
3648
3958
|
*/
|
|
3649
3959
|
currentValue: { type: String, default: void 0 },
|
|
3650
3960
|
/**
|
|
@@ -4630,6 +4940,13 @@ const VMenuItem = defineComponent({
|
|
|
4630
4940
|
* Indicates the menu item's secondary text.
|
|
4631
4941
|
*/
|
|
4632
4942
|
textSecondary: { type: String, default: void 0 },
|
|
4943
|
+
/**
|
|
4944
|
+
* The connotation the fab should have.
|
|
4945
|
+
*/
|
|
4946
|
+
connotation: {
|
|
4947
|
+
type: String,
|
|
4948
|
+
default: void 0
|
|
4949
|
+
},
|
|
4633
4950
|
/**
|
|
4634
4951
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
4635
4952
|
*/
|
|
@@ -4710,6 +5027,7 @@ const VMenuItem = defineComponent({
|
|
|
4710
5027
|
...this.modelValue !== void 0 ? { checked: this.modelValue } : {},
|
|
4711
5028
|
...this.text !== void 0 ? { text: this.text } : {},
|
|
4712
5029
|
...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {},
|
|
5030
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
4713
5031
|
...this.checkTrailing !== void 0 ? { "check-trailing": this.checkTrailing } : {},
|
|
4714
5032
|
...this.checkAppearance !== void 0 ? { "check-appearance": this.checkAppearance } : {}
|
|
4715
5033
|
},
|
|
@@ -4755,6 +5073,7 @@ const VMenuItem = defineComponent({
|
|
|
4755
5073
|
...this.modelValue !== void 0 ? { checked: this.modelValue } : {},
|
|
4756
5074
|
...this.text !== void 0 ? { text: this.text } : {},
|
|
4757
5075
|
...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {},
|
|
5076
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
4758
5077
|
...this.checkTrailing !== void 0 ? { "check-trailing": this.checkTrailing } : {},
|
|
4759
5078
|
...this.checkAppearance !== void 0 ? { "check-appearance": this.checkAppearance } : {},
|
|
4760
5079
|
onClick: (event) => this.$emit("click", event),
|
|
@@ -6484,21 +6803,271 @@ const VRadioGroup = defineComponent({
|
|
|
6484
6803
|
}
|
|
6485
6804
|
});
|
|
6486
6805
|
|
|
6487
|
-
const
|
|
6488
|
-
name: "
|
|
6489
|
-
model: isVue2 ? {
|
|
6490
|
-
prop: "modelValue",
|
|
6491
|
-
event: "update:modelValue"
|
|
6492
|
-
} : void 0,
|
|
6806
|
+
const VRangeSlider = defineComponent({
|
|
6807
|
+
name: "VRangeSlider",
|
|
6493
6808
|
props: {
|
|
6494
6809
|
/**
|
|
6495
|
-
* The
|
|
6810
|
+
* The label for the form element.
|
|
6496
6811
|
*/
|
|
6497
|
-
|
|
6812
|
+
label: { type: String, default: void 0 },
|
|
6498
6813
|
/**
|
|
6499
|
-
*
|
|
6814
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
6500
6815
|
*/
|
|
6501
|
-
|
|
6816
|
+
ariaCurrent: {
|
|
6817
|
+
type: String,
|
|
6818
|
+
default: void 0
|
|
6819
|
+
},
|
|
6820
|
+
/**
|
|
6821
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
6822
|
+
*/
|
|
6823
|
+
disabled: { type: Boolean, default: void 0 },
|
|
6824
|
+
/**
|
|
6825
|
+
* The initial value of the form. This value sets the `value` property
|
|
6826
|
+
* only when the `value` property has not been explicitly set.
|
|
6827
|
+
*/
|
|
6828
|
+
value: { type: String, default: void 0 },
|
|
6829
|
+
/**
|
|
6830
|
+
* The current value of the element. This property serves as a mechanism
|
|
6831
|
+
* to set the `value` property through both property assignment and the
|
|
6832
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
6833
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
6834
|
+
* and don't support IDL attribute binding.
|
|
6835
|
+
*/
|
|
6836
|
+
currentValue: { type: String, default: void 0 },
|
|
6837
|
+
/**
|
|
6838
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
6839
|
+
*/
|
|
6840
|
+
name: { type: String, default: void 0 },
|
|
6841
|
+
/**
|
|
6842
|
+
* Require the field to be completed prior to form submission.
|
|
6843
|
+
*/
|
|
6844
|
+
required: { type: Boolean, default: void 0 },
|
|
6845
|
+
/**
|
|
6846
|
+
* The current start value of the element. This property serves as a mechanism
|
|
6847
|
+
* to set the `start` property through both property assignment and the
|
|
6848
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
6849
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
6850
|
+
* and don't support IDL attribute binding.
|
|
6851
|
+
*/
|
|
6852
|
+
start: { type: String, default: void 0 },
|
|
6853
|
+
/**
|
|
6854
|
+
* The current end value of the element. This property serves as a mechanism
|
|
6855
|
+
* to set the `end` property through both property assignment and the
|
|
6856
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
6857
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
6858
|
+
* and don't support IDL attribute binding.
|
|
6859
|
+
*/
|
|
6860
|
+
end: { type: String, default: void 0 },
|
|
6861
|
+
/**
|
|
6862
|
+
* The minimum value of the range.
|
|
6863
|
+
*/
|
|
6864
|
+
min: { type: Number, default: void 0 },
|
|
6865
|
+
/**
|
|
6866
|
+
* The maximum value of the range.
|
|
6867
|
+
*/
|
|
6868
|
+
max: { type: Number, default: void 0 },
|
|
6869
|
+
/**
|
|
6870
|
+
* Value to increment or decrement via arrow keys, mouse click or drag.
|
|
6871
|
+
*/
|
|
6872
|
+
step: { type: Number, default: void 0 },
|
|
6873
|
+
/**
|
|
6874
|
+
* The orientation of the slider.
|
|
6875
|
+
*/
|
|
6876
|
+
orientation: {
|
|
6877
|
+
type: String,
|
|
6878
|
+
default: void 0
|
|
6879
|
+
},
|
|
6880
|
+
/**
|
|
6881
|
+
* Aria label for the start thumb
|
|
6882
|
+
*/
|
|
6883
|
+
ariaStartLabel: { type: String, default: void 0 },
|
|
6884
|
+
/**
|
|
6885
|
+
* Aria label for the end thumb
|
|
6886
|
+
*/
|
|
6887
|
+
ariaEndLabel: { type: String, default: void 0 },
|
|
6888
|
+
/**
|
|
6889
|
+
* Display markers on/off
|
|
6890
|
+
*/
|
|
6891
|
+
markers: { type: Boolean, default: void 0 },
|
|
6892
|
+
/**
|
|
6893
|
+
* The connotation of the component
|
|
6894
|
+
*/
|
|
6895
|
+
connotation: {
|
|
6896
|
+
type: String,
|
|
6897
|
+
default: void 0
|
|
6898
|
+
}
|
|
6899
|
+
},
|
|
6900
|
+
emits: [
|
|
6901
|
+
/**
|
|
6902
|
+
* 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.
|
|
6903
|
+
* @type {MouseEvent}
|
|
6904
|
+
*/
|
|
6905
|
+
"click",
|
|
6906
|
+
/**
|
|
6907
|
+
* Fires when the element receives focus.
|
|
6908
|
+
* @type {FocusEvent}
|
|
6909
|
+
*/
|
|
6910
|
+
"focus",
|
|
6911
|
+
/**
|
|
6912
|
+
* Fires when the element loses focus.
|
|
6913
|
+
* @type {FocusEvent}
|
|
6914
|
+
*/
|
|
6915
|
+
"blur",
|
|
6916
|
+
/**
|
|
6917
|
+
* Fires when a key is pressed.
|
|
6918
|
+
* @type {KeyboardEvent}
|
|
6919
|
+
*/
|
|
6920
|
+
"keydown",
|
|
6921
|
+
/**
|
|
6922
|
+
* Fires when a key is released.
|
|
6923
|
+
* @type {KeyboardEvent}
|
|
6924
|
+
*/
|
|
6925
|
+
"keyup",
|
|
6926
|
+
/**
|
|
6927
|
+
* Fires when the value of an element has been changed.
|
|
6928
|
+
* @type {Event}
|
|
6929
|
+
*/
|
|
6930
|
+
"input",
|
|
6931
|
+
/**
|
|
6932
|
+
* Event emitted when the start value changes
|
|
6933
|
+
* @type {unknown}
|
|
6934
|
+
*/
|
|
6935
|
+
"input:start",
|
|
6936
|
+
/**
|
|
6937
|
+
* Event emitted when the end value changes
|
|
6938
|
+
* @type {unknown}
|
|
6939
|
+
*/
|
|
6940
|
+
"input:end",
|
|
6941
|
+
/**
|
|
6942
|
+
* Event emitted when the start value changes
|
|
6943
|
+
* @type {string}
|
|
6944
|
+
*/
|
|
6945
|
+
"update:start",
|
|
6946
|
+
/**
|
|
6947
|
+
* Event emitted when the end value changes
|
|
6948
|
+
* @type {string}
|
|
6949
|
+
*/
|
|
6950
|
+
"update:end"
|
|
6951
|
+
],
|
|
6952
|
+
methods: {
|
|
6953
|
+
formResetCallback() {
|
|
6954
|
+
return this.element?.formResetCallback();
|
|
6955
|
+
}
|
|
6956
|
+
},
|
|
6957
|
+
setup(props, ctx) {
|
|
6958
|
+
const componentName = registerComponent(
|
|
6959
|
+
"range-slider",
|
|
6960
|
+
registerRangeSlider
|
|
6961
|
+
);
|
|
6962
|
+
const element = ref(null);
|
|
6963
|
+
return { componentName, element };
|
|
6964
|
+
},
|
|
6965
|
+
render() {
|
|
6966
|
+
if (isVue2) {
|
|
6967
|
+
return h(
|
|
6968
|
+
this.componentName,
|
|
6969
|
+
{
|
|
6970
|
+
ref: "element",
|
|
6971
|
+
attrs: {
|
|
6972
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
6973
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
6974
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
6975
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
6976
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
6977
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
6978
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
6979
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
6980
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
6981
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
6982
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
6983
|
+
...this.step !== void 0 ? { step: this.step } : {},
|
|
6984
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
6985
|
+
...this.ariaStartLabel !== void 0 ? { "aria-start-label": this.ariaStartLabel } : {},
|
|
6986
|
+
...this.ariaEndLabel !== void 0 ? { "aria-end-label": this.ariaEndLabel } : {},
|
|
6987
|
+
...this.markers !== void 0 ? { markers: this.markers } : {},
|
|
6988
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {}
|
|
6989
|
+
},
|
|
6990
|
+
class: "vvd-component",
|
|
6991
|
+
on: {
|
|
6992
|
+
click: (event) => this.$emit("click", event),
|
|
6993
|
+
focus: (event) => this.$emit("focus", event),
|
|
6994
|
+
blur: (event) => this.$emit("blur", event),
|
|
6995
|
+
keydown: (event) => this.$emit("keydown", event),
|
|
6996
|
+
keyup: (event) => this.$emit("keyup", event),
|
|
6997
|
+
input: (event) => this.$emit("input", event),
|
|
6998
|
+
"input:start": (event) => {
|
|
6999
|
+
this.$emit("update:start", event.target.start);
|
|
7000
|
+
this.$emit("input:start", event);
|
|
7001
|
+
},
|
|
7002
|
+
"input:end": (event) => {
|
|
7003
|
+
this.$emit("update:end", event.target.end);
|
|
7004
|
+
this.$emit("input:end", event);
|
|
7005
|
+
}
|
|
7006
|
+
}
|
|
7007
|
+
},
|
|
7008
|
+
[this.$slots.default]
|
|
7009
|
+
);
|
|
7010
|
+
}
|
|
7011
|
+
return h(
|
|
7012
|
+
this.componentName,
|
|
7013
|
+
{
|
|
7014
|
+
ref: "element",
|
|
7015
|
+
class: "vvd-component",
|
|
7016
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
7017
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
7018
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
7019
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
7020
|
+
...this.currentValue !== void 0 ? { "current-value": this.currentValue } : {},
|
|
7021
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
7022
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
7023
|
+
...this.start !== void 0 ? { "current-start": this.start } : {},
|
|
7024
|
+
...this.end !== void 0 ? { "current-end": this.end } : {},
|
|
7025
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
7026
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
7027
|
+
...this.step !== void 0 ? { step: this.step } : {},
|
|
7028
|
+
...this.orientation !== void 0 ? { orientation: this.orientation } : {},
|
|
7029
|
+
...this.ariaStartLabel !== void 0 ? { "aria-start-label": this.ariaStartLabel } : {},
|
|
7030
|
+
...this.ariaEndLabel !== void 0 ? { "aria-end-label": this.ariaEndLabel } : {},
|
|
7031
|
+
...this.markers !== void 0 ? { markers: this.markers } : {},
|
|
7032
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
7033
|
+
onClick: (event) => this.$emit("click", event),
|
|
7034
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
7035
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
7036
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
7037
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
7038
|
+
onInput: (event) => this.$emit("input", event),
|
|
7039
|
+
"onInput:start": (event) => {
|
|
7040
|
+
this.$emit("update:start", event.target.start);
|
|
7041
|
+
this.$emit("input:start", event);
|
|
7042
|
+
},
|
|
7043
|
+
"onInput:end": (event) => {
|
|
7044
|
+
this.$emit("update:end", event.target.end);
|
|
7045
|
+
this.$emit("input:end", event);
|
|
7046
|
+
}
|
|
7047
|
+
},
|
|
7048
|
+
[
|
|
7049
|
+
// @ts-ignore
|
|
7050
|
+
this.$slots.default && this.$slots.default()
|
|
7051
|
+
]
|
|
7052
|
+
);
|
|
7053
|
+
}
|
|
7054
|
+
});
|
|
7055
|
+
|
|
7056
|
+
const VSelect = defineComponent({
|
|
7057
|
+
name: "VSelect",
|
|
7058
|
+
model: isVue2 ? {
|
|
7059
|
+
prop: "modelValue",
|
|
7060
|
+
event: "update:modelValue"
|
|
7061
|
+
} : void 0,
|
|
7062
|
+
props: {
|
|
7063
|
+
/**
|
|
7064
|
+
* The success text for the form element.
|
|
7065
|
+
*/
|
|
7066
|
+
successText: { type: String, default: void 0 },
|
|
7067
|
+
/**
|
|
7068
|
+
* The error text for the form element.
|
|
7069
|
+
*/
|
|
7070
|
+
errorText: { type: String, default: void 0 },
|
|
6502
7071
|
/**
|
|
6503
7072
|
* The helper text for the form element.
|
|
6504
7073
|
*/
|
|
@@ -8211,518 +8780,44 @@ const VTag = defineComponent({
|
|
|
8211
8780
|
{
|
|
8212
8781
|
ref: "element",
|
|
8213
8782
|
class: "vvd-component",
|
|
8214
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8215
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8216
|
-
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
8217
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8218
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8219
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8220
|
-
...this.removable !== void 0 ? { removable: this.removable } : {},
|
|
8221
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8222
|
-
...this.selectable !== void 0 ? { selectable: this.selectable } : {},
|
|
8223
|
-
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
8224
|
-
onClick: (event) => this.$emit("click", event),
|
|
8225
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8226
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8227
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8228
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8229
|
-
onInput: (event) => this.$emit("input", event)
|
|
8230
|
-
},
|
|
8231
|
-
[
|
|
8232
|
-
// @ts-ignore
|
|
8233
|
-
this.$slots.default && this.$slots.default(),
|
|
8234
|
-
// @slot icon Add an icon to the component.
|
|
8235
|
-
handleNamedSlot("icon", this.$slots["icon"])
|
|
8236
|
-
]
|
|
8237
|
-
);
|
|
8238
|
-
}
|
|
8239
|
-
});
|
|
8240
|
-
|
|
8241
|
-
const VTagGroup = defineComponent({
|
|
8242
|
-
name: "VTagGroup",
|
|
8243
|
-
props: {
|
|
8244
|
-
/**
|
|
8245
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8246
|
-
*/
|
|
8247
|
-
ariaCurrent: {
|
|
8248
|
-
type: String,
|
|
8249
|
-
default: void 0
|
|
8250
|
-
},
|
|
8251
|
-
ariaLabel: { type: String, default: void 0 }
|
|
8252
|
-
},
|
|
8253
|
-
emits: [
|
|
8254
|
-
/**
|
|
8255
|
-
* 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.
|
|
8256
|
-
* @type {MouseEvent}
|
|
8257
|
-
*/
|
|
8258
|
-
"click",
|
|
8259
|
-
/**
|
|
8260
|
-
* Fires when the element receives focus.
|
|
8261
|
-
* @type {FocusEvent}
|
|
8262
|
-
*/
|
|
8263
|
-
"focus",
|
|
8264
|
-
/**
|
|
8265
|
-
* Fires when the element loses focus.
|
|
8266
|
-
* @type {FocusEvent}
|
|
8267
|
-
*/
|
|
8268
|
-
"blur",
|
|
8269
|
-
/**
|
|
8270
|
-
* Fires when a key is pressed.
|
|
8271
|
-
* @type {KeyboardEvent}
|
|
8272
|
-
*/
|
|
8273
|
-
"keydown",
|
|
8274
|
-
/**
|
|
8275
|
-
* Fires when a key is released.
|
|
8276
|
-
* @type {KeyboardEvent}
|
|
8277
|
-
*/
|
|
8278
|
-
"keyup",
|
|
8279
|
-
/**
|
|
8280
|
-
* Fires when the value of an element has been changed.
|
|
8281
|
-
* @type {Event}
|
|
8282
|
-
*/
|
|
8283
|
-
"input"
|
|
8284
|
-
],
|
|
8285
|
-
methods: {},
|
|
8286
|
-
setup(props, ctx) {
|
|
8287
|
-
const componentName = registerComponent("tag-group", registerTagGroup);
|
|
8288
|
-
const element = ref(null);
|
|
8289
|
-
return { componentName, element };
|
|
8290
|
-
},
|
|
8291
|
-
render() {
|
|
8292
|
-
if (isVue2) {
|
|
8293
|
-
return h(
|
|
8294
|
-
this.componentName,
|
|
8295
|
-
{
|
|
8296
|
-
ref: "element",
|
|
8297
|
-
attrs: {
|
|
8298
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8299
|
-
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {}
|
|
8300
|
-
},
|
|
8301
|
-
class: "vvd-component",
|
|
8302
|
-
on: {
|
|
8303
|
-
click: (event) => this.$emit("click", event),
|
|
8304
|
-
focus: (event) => this.$emit("focus", event),
|
|
8305
|
-
blur: (event) => this.$emit("blur", event),
|
|
8306
|
-
keydown: (event) => this.$emit("keydown", event),
|
|
8307
|
-
keyup: (event) => this.$emit("keyup", event),
|
|
8308
|
-
input: (event) => this.$emit("input", event)
|
|
8309
|
-
}
|
|
8310
|
-
},
|
|
8311
|
-
[this.$slots.default]
|
|
8312
|
-
);
|
|
8313
|
-
}
|
|
8314
|
-
return h(
|
|
8315
|
-
this.componentName,
|
|
8316
|
-
{
|
|
8317
|
-
ref: "element",
|
|
8318
|
-
class: "vvd-component",
|
|
8319
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8320
|
-
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
8321
|
-
onClick: (event) => this.$emit("click", event),
|
|
8322
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8323
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8324
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8325
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8326
|
-
onInput: (event) => this.$emit("input", event)
|
|
8327
|
-
},
|
|
8328
|
-
[
|
|
8329
|
-
// @ts-ignore
|
|
8330
|
-
this.$slots.default && this.$slots.default()
|
|
8331
|
-
]
|
|
8332
|
-
);
|
|
8333
|
-
}
|
|
8334
|
-
});
|
|
8335
|
-
|
|
8336
|
-
const VTextArea = defineComponent({
|
|
8337
|
-
name: "VTextArea",
|
|
8338
|
-
model: isVue2 ? {
|
|
8339
|
-
prop: "modelValue",
|
|
8340
|
-
event: "update:modelValue"
|
|
8341
|
-
} : void 0,
|
|
8342
|
-
props: {
|
|
8343
|
-
/**
|
|
8344
|
-
* The success text for the form element.
|
|
8345
|
-
*/
|
|
8346
|
-
successText: { type: String, default: void 0 },
|
|
8347
|
-
/**
|
|
8348
|
-
* The helper text for the form element.
|
|
8349
|
-
*/
|
|
8350
|
-
helperText: { type: String, default: void 0 },
|
|
8351
|
-
/**
|
|
8352
|
-
* Whether to show the character count.
|
|
8353
|
-
*/
|
|
8354
|
-
charCount: { type: Boolean, default: void 0 },
|
|
8355
|
-
/**
|
|
8356
|
-
* The error text for the form element.
|
|
8357
|
-
*/
|
|
8358
|
-
errorText: { type: String, default: void 0 },
|
|
8359
|
-
/**
|
|
8360
|
-
* The label for the form element.
|
|
8361
|
-
*/
|
|
8362
|
-
label: { type: String, default: void 0 },
|
|
8363
|
-
/**
|
|
8364
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8365
|
-
*/
|
|
8366
|
-
ariaCurrent: {
|
|
8367
|
-
type: String,
|
|
8368
|
-
default: void 0
|
|
8369
|
-
},
|
|
8370
|
-
/**
|
|
8371
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
8372
|
-
*/
|
|
8373
|
-
disabled: { type: Boolean, default: void 0 },
|
|
8374
|
-
/**
|
|
8375
|
-
* The initial value of the form. This value sets the `value` property
|
|
8376
|
-
* only when the `value` property has not been explicitly set.
|
|
8377
|
-
*/
|
|
8378
|
-
value: { type: String, default: void 0 },
|
|
8379
|
-
/**
|
|
8380
|
-
* The current value of the element. This property serves as a mechanism
|
|
8381
|
-
* to set the `value` property through both property assignment and the
|
|
8382
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
8383
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
8384
|
-
* and don't support IDL attribute binding.
|
|
8385
|
-
*/
|
|
8386
|
-
modelValue: { type: String, default: void 0 },
|
|
8387
|
-
/**
|
|
8388
|
-
* Require the field to be completed prior to form submission.
|
|
8389
|
-
*/
|
|
8390
|
-
required: { type: Boolean, default: void 0 },
|
|
8391
|
-
/**
|
|
8392
|
-
* 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.
|
|
8393
|
-
*/
|
|
8394
|
-
readOnly: { type: Boolean, default: void 0 },
|
|
8395
|
-
/**
|
|
8396
|
-
* The resize mode of the element.
|
|
8397
|
-
*/
|
|
8398
|
-
resize: {
|
|
8399
|
-
type: String,
|
|
8400
|
-
default: void 0
|
|
8401
|
-
},
|
|
8402
|
-
/**
|
|
8403
|
-
* Indicates that this element should get focus after the page finishes loading.
|
|
8404
|
-
*/
|
|
8405
|
-
autofocus: { type: Boolean, default: void 0 },
|
|
8406
|
-
/**
|
|
8407
|
-
* 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
|
|
8408
|
-
*/
|
|
8409
|
-
form: { type: String, default: void 0 },
|
|
8410
|
-
/**
|
|
8411
|
-
* 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.
|
|
8412
|
-
*/
|
|
8413
|
-
list: { type: String, default: void 0 },
|
|
8414
|
-
/**
|
|
8415
|
-
* The maximum number of characters a user can enter.
|
|
8416
|
-
*/
|
|
8417
|
-
maxlength: { type: Number, default: void 0 },
|
|
8418
|
-
/**
|
|
8419
|
-
* The minimum number of characters a user can enter.
|
|
8420
|
-
*/
|
|
8421
|
-
minlength: { type: Number, default: void 0 },
|
|
8422
|
-
/**
|
|
8423
|
-
* The name of the element.
|
|
8424
|
-
*/
|
|
8425
|
-
name: { type: String, default: void 0 },
|
|
8426
|
-
/**
|
|
8427
|
-
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
8428
|
-
*/
|
|
8429
|
-
placeholder: { type: String, default: void 0 },
|
|
8430
|
-
/**
|
|
8431
|
-
* Sizes the element horizontally by a number of character columns.
|
|
8432
|
-
*/
|
|
8433
|
-
cols: { type: Number, default: void 0 },
|
|
8434
|
-
/**
|
|
8435
|
-
* Sizes the element vertically by a number of character rows.
|
|
8436
|
-
*/
|
|
8437
|
-
rows: { type: Number, default: void 0 },
|
|
8438
|
-
/**
|
|
8439
|
-
* Sets if the element is eligible for spell checking
|
|
8440
|
-
* but the UA.
|
|
8441
|
-
*/
|
|
8442
|
-
spellcheck: { type: Boolean, default: void 0 },
|
|
8443
|
-
/**
|
|
8444
|
-
* The wrap attribute
|
|
8445
|
-
*/
|
|
8446
|
-
wrap: {
|
|
8447
|
-
type: String,
|
|
8448
|
-
default: void 0
|
|
8449
|
-
}
|
|
8450
|
-
},
|
|
8451
|
-
emits: [
|
|
8452
|
-
/**
|
|
8453
|
-
* 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.
|
|
8454
|
-
* @type {MouseEvent}
|
|
8455
|
-
*/
|
|
8456
|
-
"click",
|
|
8457
|
-
/**
|
|
8458
|
-
* Fires when the element receives focus.
|
|
8459
|
-
* @type {FocusEvent}
|
|
8460
|
-
*/
|
|
8461
|
-
"focus",
|
|
8462
|
-
/**
|
|
8463
|
-
* Fires when the element loses focus.
|
|
8464
|
-
* @type {FocusEvent}
|
|
8465
|
-
*/
|
|
8466
|
-
"blur",
|
|
8467
|
-
/**
|
|
8468
|
-
* Fires when a key is pressed.
|
|
8469
|
-
* @type {KeyboardEvent}
|
|
8470
|
-
*/
|
|
8471
|
-
"keydown",
|
|
8472
|
-
/**
|
|
8473
|
-
* Fires when a key is released.
|
|
8474
|
-
* @type {KeyboardEvent}
|
|
8475
|
-
*/
|
|
8476
|
-
"keyup",
|
|
8477
|
-
/**
|
|
8478
|
-
* Fires when the value of an element has been changed.
|
|
8479
|
-
* @type {Event}
|
|
8480
|
-
*/
|
|
8481
|
-
"input",
|
|
8482
|
-
/**
|
|
8483
|
-
* Emits a custom 'change' event when the textarea emits a change event
|
|
8484
|
-
* @type {unknown}
|
|
8485
|
-
*/
|
|
8486
|
-
"change",
|
|
8487
|
-
/**
|
|
8488
|
-
* Fires when the value of an element has been changed.
|
|
8489
|
-
* @type {string}
|
|
8490
|
-
*/
|
|
8491
|
-
"update:modelValue"
|
|
8492
|
-
],
|
|
8493
|
-
methods: {
|
|
8494
|
-
/**
|
|
8495
|
-
* Selects all the text in the text area
|
|
8496
|
-
*/
|
|
8497
|
-
select() {
|
|
8498
|
-
return this.element?.select();
|
|
8499
|
-
},
|
|
8500
|
-
/**
|
|
8501
|
-
* {@inheritDoc (FormAssociated:interface).validate}
|
|
8502
|
-
*/
|
|
8503
|
-
validate() {
|
|
8504
|
-
return this.element?.validate();
|
|
8505
|
-
}
|
|
8506
|
-
},
|
|
8507
|
-
setup(props, ctx) {
|
|
8508
|
-
const componentName = registerComponent("text-area", registerTextArea);
|
|
8509
|
-
const element = ref(null);
|
|
8510
|
-
return { componentName, element };
|
|
8511
|
-
},
|
|
8512
|
-
render() {
|
|
8513
|
-
if (isVue2) {
|
|
8514
|
-
return h(
|
|
8515
|
-
this.componentName,
|
|
8516
|
-
{
|
|
8517
|
-
ref: "element",
|
|
8518
|
-
attrs: {
|
|
8519
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8520
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8521
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8522
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8523
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8524
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8525
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8526
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8527
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8528
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8529
|
-
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
8530
|
-
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
8531
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8532
|
-
...this.form !== void 0 ? { form: this.form } : {},
|
|
8533
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8534
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8535
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8536
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8537
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8538
|
-
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
8539
|
-
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
8540
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8541
|
-
...this.wrap !== void 0 ? { wrap: this.wrap } : {}
|
|
8542
|
-
},
|
|
8543
|
-
class: "vvd-component",
|
|
8544
|
-
on: {
|
|
8545
|
-
click: (event) => this.$emit("click", event),
|
|
8546
|
-
focus: (event) => this.$emit("focus", event),
|
|
8547
|
-
blur: (event) => this.$emit("blur", event),
|
|
8548
|
-
keydown: (event) => this.$emit("keydown", event),
|
|
8549
|
-
keyup: (event) => this.$emit("keyup", event),
|
|
8550
|
-
input: (event) => {
|
|
8551
|
-
this.$emit(
|
|
8552
|
-
"update:modelValue",
|
|
8553
|
-
event.target.value
|
|
8554
|
-
);
|
|
8555
|
-
this.$emit("input", event);
|
|
8556
|
-
},
|
|
8557
|
-
change: (event) => this.$emit("change", event)
|
|
8558
|
-
}
|
|
8559
|
-
},
|
|
8560
|
-
[this.$slots.default]
|
|
8561
|
-
);
|
|
8562
|
-
}
|
|
8563
|
-
return h(
|
|
8564
|
-
this.componentName,
|
|
8565
|
-
{
|
|
8566
|
-
ref: "element",
|
|
8567
|
-
class: "vvd-component",
|
|
8568
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8569
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8570
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8571
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8572
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8573
|
-
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8574
|
-
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8575
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8576
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8577
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8578
|
-
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
8579
|
-
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
8580
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8581
|
-
...this.form !== void 0 ? { form: this.form } : {},
|
|
8582
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8583
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8584
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8585
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8586
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8587
|
-
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
8588
|
-
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
8589
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8590
|
-
...this.wrap !== void 0 ? { wrap: this.wrap } : {},
|
|
8591
|
-
onClick: (event) => this.$emit("click", event),
|
|
8592
|
-
onFocus: (event) => this.$emit("focus", event),
|
|
8593
|
-
onBlur: (event) => this.$emit("blur", event),
|
|
8594
|
-
onKeydown: (event) => this.$emit("keydown", event),
|
|
8595
|
-
onKeyup: (event) => this.$emit("keyup", event),
|
|
8596
|
-
onInput: (event) => {
|
|
8597
|
-
this.$emit(
|
|
8598
|
-
"update:modelValue",
|
|
8599
|
-
event.target.value
|
|
8600
|
-
);
|
|
8601
|
-
this.$emit("input", event);
|
|
8602
|
-
},
|
|
8603
|
-
onChange: (event) => this.$emit("change", event)
|
|
8604
|
-
},
|
|
8605
|
-
[
|
|
8606
|
-
// @ts-ignore
|
|
8607
|
-
this.$slots.default && this.$slots.default()
|
|
8608
|
-
]
|
|
8609
|
-
);
|
|
8610
|
-
}
|
|
8611
|
-
});
|
|
8612
|
-
|
|
8613
|
-
const VTextField = defineComponent({
|
|
8614
|
-
name: "VTextField",
|
|
8615
|
-
model: isVue2 ? {
|
|
8616
|
-
prop: "modelValue",
|
|
8617
|
-
event: "update:modelValue"
|
|
8618
|
-
} : void 0,
|
|
8619
|
-
props: {
|
|
8620
|
-
/**
|
|
8621
|
-
* The success text for the form element.
|
|
8622
|
-
*/
|
|
8623
|
-
successText: { type: String, default: void 0 },
|
|
8624
|
-
/**
|
|
8625
|
-
* The helper text for the form element.
|
|
8626
|
-
*/
|
|
8627
|
-
helperText: { type: String, default: void 0 },
|
|
8628
|
-
/**
|
|
8629
|
-
* Whether to show the character count.
|
|
8630
|
-
*/
|
|
8631
|
-
charCount: { type: Boolean, default: void 0 },
|
|
8632
|
-
/**
|
|
8633
|
-
* The label for the form element.
|
|
8634
|
-
*/
|
|
8635
|
-
label: { type: String, default: void 0 },
|
|
8636
|
-
/**
|
|
8637
|
-
* The error text for the form element.
|
|
8638
|
-
*/
|
|
8639
|
-
errorText: { type: String, default: void 0 },
|
|
8640
|
-
/**
|
|
8641
|
-
* A decorative icon the custom element should have.
|
|
8642
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
8643
|
-
*/
|
|
8644
|
-
icon: { type: String, default: void 0 },
|
|
8645
|
-
/**
|
|
8646
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8647
|
-
*/
|
|
8648
|
-
ariaCurrent: {
|
|
8649
|
-
type: String,
|
|
8650
|
-
default: void 0
|
|
8651
|
-
},
|
|
8652
|
-
/**
|
|
8653
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
8654
|
-
*/
|
|
8655
|
-
disabled: { type: Boolean, default: void 0 },
|
|
8656
|
-
/**
|
|
8657
|
-
* The initial value of the form. This value sets the `value` property
|
|
8658
|
-
* only when the `value` property has not been explicitly set.
|
|
8659
|
-
*/
|
|
8660
|
-
value: { type: String, default: void 0 },
|
|
8661
|
-
/**
|
|
8662
|
-
* The current value of the element. This property serves as a mechanism
|
|
8663
|
-
* to set the `value` property through both property assignment and the
|
|
8664
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
8665
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
8666
|
-
* and don't support IDL attribute binding.
|
|
8667
|
-
*/
|
|
8668
|
-
modelValue: { type: String, default: void 0 },
|
|
8669
|
-
/**
|
|
8670
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
8671
|
-
*/
|
|
8672
|
-
name: { type: String, default: void 0 },
|
|
8673
|
-
/**
|
|
8674
|
-
* Require the field to be completed prior to form submission.
|
|
8675
|
-
*/
|
|
8676
|
-
required: { type: Boolean, default: void 0 },
|
|
8677
|
-
/**
|
|
8678
|
-
* 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.
|
|
8679
|
-
*/
|
|
8680
|
-
readonly: { type: Boolean, default: void 0 },
|
|
8681
|
-
/**
|
|
8682
|
-
* 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.
|
|
8683
|
-
*/
|
|
8684
|
-
autofocus: { type: Boolean, default: void 0 },
|
|
8685
|
-
/**
|
|
8686
|
-
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
8687
|
-
*/
|
|
8688
|
-
placeholder: { type: String, default: void 0 },
|
|
8689
|
-
/**
|
|
8690
|
-
* Allows setting a type or mode of text.
|
|
8691
|
-
*/
|
|
8692
|
-
type: {
|
|
8693
|
-
type: String,
|
|
8694
|
-
default: void 0
|
|
8695
|
-
},
|
|
8696
|
-
/**
|
|
8697
|
-
* 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.
|
|
8698
|
-
*/
|
|
8699
|
-
list: { type: String, default: void 0 },
|
|
8700
|
-
/**
|
|
8701
|
-
* The maximum number of characters a user can enter.
|
|
8702
|
-
*/
|
|
8703
|
-
maxlength: { type: Number, default: void 0 },
|
|
8704
|
-
/**
|
|
8705
|
-
* The minimum number of characters a user can enter.
|
|
8706
|
-
*/
|
|
8707
|
-
minlength: { type: Number, default: void 0 },
|
|
8708
|
-
/**
|
|
8709
|
-
* A regular expression that the value must match to pass validation.
|
|
8710
|
-
*/
|
|
8711
|
-
pattern: { type: String, default: void 0 },
|
|
8712
|
-
/**
|
|
8713
|
-
* Sets the width of the element to a specified number of characters.
|
|
8714
|
-
*/
|
|
8715
|
-
size: { type: Number, default: void 0 },
|
|
8783
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8784
|
+
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8785
|
+
...this.connotation !== void 0 ? { connotation: this.connotation } : {},
|
|
8786
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8787
|
+
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8788
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
8789
|
+
...this.removable !== void 0 ? { removable: this.removable } : {},
|
|
8790
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
8791
|
+
...this.selectable !== void 0 ? { selectable: this.selectable } : {},
|
|
8792
|
+
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
8793
|
+
onClick: (event) => this.$emit("click", event),
|
|
8794
|
+
onFocus: (event) => this.$emit("focus", event),
|
|
8795
|
+
onBlur: (event) => this.$emit("blur", event),
|
|
8796
|
+
onKeydown: (event) => this.$emit("keydown", event),
|
|
8797
|
+
onKeyup: (event) => this.$emit("keyup", event),
|
|
8798
|
+
onInput: (event) => this.$emit("input", event)
|
|
8799
|
+
},
|
|
8800
|
+
[
|
|
8801
|
+
// @ts-ignore
|
|
8802
|
+
this.$slots.default && this.$slots.default(),
|
|
8803
|
+
// @slot icon Add an icon to the component.
|
|
8804
|
+
handleNamedSlot("icon", this.$slots["icon"])
|
|
8805
|
+
]
|
|
8806
|
+
);
|
|
8807
|
+
}
|
|
8808
|
+
});
|
|
8809
|
+
|
|
8810
|
+
const VTagGroup = defineComponent({
|
|
8811
|
+
name: "VTagGroup",
|
|
8812
|
+
props: {
|
|
8716
8813
|
/**
|
|
8717
|
-
*
|
|
8814
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8718
8815
|
*/
|
|
8719
|
-
|
|
8720
|
-
appearance: {
|
|
8816
|
+
ariaCurrent: {
|
|
8721
8817
|
type: String,
|
|
8722
8818
|
default: void 0
|
|
8723
8819
|
},
|
|
8724
|
-
|
|
8725
|
-
autoComplete: { type: String, default: void 0 }
|
|
8820
|
+
ariaLabel: { type: String, default: void 0 }
|
|
8726
8821
|
},
|
|
8727
8822
|
emits: [
|
|
8728
8823
|
/**
|
|
@@ -8754,37 +8849,11 @@ const VTextField = defineComponent({
|
|
|
8754
8849
|
* Fires when the value of an element has been changed.
|
|
8755
8850
|
* @type {Event}
|
|
8756
8851
|
*/
|
|
8757
|
-
"input"
|
|
8758
|
-
/**
|
|
8759
|
-
* Fires a custom 'change' event when the value has changed
|
|
8760
|
-
* @type {unknown}
|
|
8761
|
-
*/
|
|
8762
|
-
"change",
|
|
8763
|
-
/**
|
|
8764
|
-
* Fires when the value of an element has been changed.
|
|
8765
|
-
* @type {string}
|
|
8766
|
-
*/
|
|
8767
|
-
"update:modelValue"
|
|
8852
|
+
"input"
|
|
8768
8853
|
],
|
|
8769
|
-
methods: {
|
|
8770
|
-
/**
|
|
8771
|
-
* Selects all the text in the text field
|
|
8772
|
-
*/
|
|
8773
|
-
select() {
|
|
8774
|
-
return this.element?.select();
|
|
8775
|
-
},
|
|
8776
|
-
/**
|
|
8777
|
-
* {@inheritDoc (FormAssociated:interface).validate}
|
|
8778
|
-
*/
|
|
8779
|
-
validate() {
|
|
8780
|
-
return this.element?.validate();
|
|
8781
|
-
},
|
|
8782
|
-
focus() {
|
|
8783
|
-
return this.element?.focus();
|
|
8784
|
-
}
|
|
8785
|
-
},
|
|
8854
|
+
methods: {},
|
|
8786
8855
|
setup(props, ctx) {
|
|
8787
|
-
const componentName = registerComponent("
|
|
8856
|
+
const componentName = registerComponent("tag-group", registerTagGroup);
|
|
8788
8857
|
const element = ref(null);
|
|
8789
8858
|
return { componentName, element };
|
|
8790
8859
|
},
|
|
@@ -8795,31 +8864,8 @@ const VTextField = defineComponent({
|
|
|
8795
8864
|
{
|
|
8796
8865
|
ref: "element",
|
|
8797
8866
|
attrs: {
|
|
8798
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8799
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8800
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8801
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8802
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8803
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8804
8867
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8805
|
-
...this.
|
|
8806
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8807
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8808
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8809
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8810
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
8811
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8812
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8813
|
-
...this.type !== void 0 ? { type: this.type } : {},
|
|
8814
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8815
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8816
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8817
|
-
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
8818
|
-
...this.size !== void 0 ? { size: this.size } : {},
|
|
8819
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8820
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8821
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8822
|
-
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {}
|
|
8868
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {}
|
|
8823
8869
|
},
|
|
8824
8870
|
class: "vvd-component",
|
|
8825
8871
|
on: {
|
|
@@ -8828,26 +8874,10 @@ const VTextField = defineComponent({
|
|
|
8828
8874
|
blur: (event) => this.$emit("blur", event),
|
|
8829
8875
|
keydown: (event) => this.$emit("keydown", event),
|
|
8830
8876
|
keyup: (event) => this.$emit("keyup", event),
|
|
8831
|
-
input: (event) =>
|
|
8832
|
-
this.$emit(
|
|
8833
|
-
"update:modelValue",
|
|
8834
|
-
event.target.value
|
|
8835
|
-
);
|
|
8836
|
-
this.$emit("input", event);
|
|
8837
|
-
},
|
|
8838
|
-
change: (event) => this.$emit("change", event)
|
|
8877
|
+
input: (event) => this.$emit("input", event)
|
|
8839
8878
|
}
|
|
8840
8879
|
},
|
|
8841
|
-
[
|
|
8842
|
-
this.$slots.default,
|
|
8843
|
-
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
8844
|
-
handleNamedSlot(
|
|
8845
|
-
"leading-action-items",
|
|
8846
|
-
this.$slots["leading-action-items"]
|
|
8847
|
-
),
|
|
8848
|
-
// @slot action-items Used to add action items to the end of the text-field.
|
|
8849
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
8850
|
-
]
|
|
8880
|
+
[this.$slots.default]
|
|
8851
8881
|
);
|
|
8852
8882
|
}
|
|
8853
8883
|
return h(
|
|
@@ -8855,79 +8885,50 @@ const VTextField = defineComponent({
|
|
|
8855
8885
|
{
|
|
8856
8886
|
ref: "element",
|
|
8857
8887
|
class: "vvd-component",
|
|
8858
|
-
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
8859
|
-
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
8860
|
-
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
8861
|
-
...this.label !== void 0 ? { label: this.label } : {},
|
|
8862
|
-
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
8863
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
8864
8888
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
8865
|
-
...this.
|
|
8866
|
-
...this.value !== void 0 ? { value: this.value } : {},
|
|
8867
|
-
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
8868
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
8869
|
-
...this.required !== void 0 ? { required: this.required } : {},
|
|
8870
|
-
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
8871
|
-
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
8872
|
-
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
8873
|
-
...this.type !== void 0 ? { type: this.type } : {},
|
|
8874
|
-
...this.list !== void 0 ? { list: this.list } : {},
|
|
8875
|
-
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
8876
|
-
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
8877
|
-
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
8878
|
-
...this.size !== void 0 ? { size: this.size } : {},
|
|
8879
|
-
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
8880
|
-
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
8881
|
-
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
8882
|
-
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {},
|
|
8889
|
+
...this.ariaLabel !== void 0 ? { "aria-label": this.ariaLabel } : {},
|
|
8883
8890
|
onClick: (event) => this.$emit("click", event),
|
|
8884
8891
|
onFocus: (event) => this.$emit("focus", event),
|
|
8885
8892
|
onBlur: (event) => this.$emit("blur", event),
|
|
8886
8893
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
8887
8894
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
8888
|
-
onInput: (event) =>
|
|
8889
|
-
this.$emit(
|
|
8890
|
-
"update:modelValue",
|
|
8891
|
-
event.target.value
|
|
8892
|
-
);
|
|
8893
|
-
this.$emit("input", event);
|
|
8894
|
-
},
|
|
8895
|
-
onChange: (event) => this.$emit("change", event)
|
|
8895
|
+
onInput: (event) => this.$emit("input", event)
|
|
8896
8896
|
},
|
|
8897
8897
|
[
|
|
8898
8898
|
// @ts-ignore
|
|
8899
|
-
this.$slots.default && this.$slots.default()
|
|
8900
|
-
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
8901
|
-
handleNamedSlot(
|
|
8902
|
-
"leading-action-items",
|
|
8903
|
-
this.$slots["leading-action-items"]
|
|
8904
|
-
),
|
|
8905
|
-
// @slot action-items Used to add action items to the end of the text-field.
|
|
8906
|
-
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
8899
|
+
this.$slots.default && this.$slots.default()
|
|
8907
8900
|
]
|
|
8908
8901
|
);
|
|
8909
8902
|
}
|
|
8910
8903
|
});
|
|
8911
8904
|
|
|
8912
|
-
const
|
|
8913
|
-
name: "
|
|
8905
|
+
const VTextArea = defineComponent({
|
|
8906
|
+
name: "VTextArea",
|
|
8914
8907
|
model: isVue2 ? {
|
|
8915
8908
|
prop: "modelValue",
|
|
8916
8909
|
event: "update:modelValue"
|
|
8917
8910
|
} : void 0,
|
|
8918
8911
|
props: {
|
|
8912
|
+
/**
|
|
8913
|
+
* The success text for the form element.
|
|
8914
|
+
*/
|
|
8915
|
+
successText: { type: String, default: void 0 },
|
|
8919
8916
|
/**
|
|
8920
8917
|
* The helper text for the form element.
|
|
8921
8918
|
*/
|
|
8922
8919
|
helperText: { type: String, default: void 0 },
|
|
8923
8920
|
/**
|
|
8924
|
-
*
|
|
8921
|
+
* Whether to show the character count.
|
|
8925
8922
|
*/
|
|
8926
|
-
|
|
8923
|
+
charCount: { type: Boolean, default: void 0 },
|
|
8927
8924
|
/**
|
|
8928
8925
|
* The error text for the form element.
|
|
8929
8926
|
*/
|
|
8930
8927
|
errorText: { type: String, default: void 0 },
|
|
8928
|
+
/**
|
|
8929
|
+
* The label for the form element.
|
|
8930
|
+
*/
|
|
8931
|
+
label: { type: String, default: void 0 },
|
|
8931
8932
|
/**
|
|
8932
8933
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
8933
8934
|
*/
|
|
@@ -8952,38 +8953,69 @@ const VTimePicker = defineComponent({
|
|
|
8952
8953
|
* and don't support IDL attribute binding.
|
|
8953
8954
|
*/
|
|
8954
8955
|
modelValue: { type: String, default: void 0 },
|
|
8955
|
-
/**
|
|
8956
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
8957
|
-
*/
|
|
8958
|
-
name: { type: String, default: void 0 },
|
|
8959
8956
|
/**
|
|
8960
8957
|
* Require the field to be completed prior to form submission.
|
|
8961
8958
|
*/
|
|
8962
8959
|
required: { type: Boolean, default: void 0 },
|
|
8963
8960
|
/**
|
|
8964
|
-
*
|
|
8961
|
+
* 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.
|
|
8965
8962
|
*/
|
|
8966
|
-
|
|
8963
|
+
readOnly: { type: Boolean, default: void 0 },
|
|
8967
8964
|
/**
|
|
8968
|
-
*
|
|
8965
|
+
* The resize mode of the element.
|
|
8969
8966
|
*/
|
|
8970
|
-
|
|
8967
|
+
resize: {
|
|
8968
|
+
type: String,
|
|
8969
|
+
default: void 0
|
|
8970
|
+
},
|
|
8971
8971
|
/**
|
|
8972
|
-
*
|
|
8972
|
+
* Indicates that this element should get focus after the page finishes loading.
|
|
8973
8973
|
*/
|
|
8974
|
-
|
|
8974
|
+
autofocus: { type: Boolean, default: void 0 },
|
|
8975
8975
|
/**
|
|
8976
|
-
*
|
|
8976
|
+
* 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
|
|
8977
8977
|
*/
|
|
8978
|
-
|
|
8978
|
+
form: { type: String, default: void 0 },
|
|
8979
8979
|
/**
|
|
8980
|
-
*
|
|
8980
|
+
* 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.
|
|
8981
8981
|
*/
|
|
8982
|
-
|
|
8982
|
+
list: { type: String, default: void 0 },
|
|
8983
8983
|
/**
|
|
8984
|
-
* The
|
|
8984
|
+
* The maximum number of characters a user can enter.
|
|
8985
8985
|
*/
|
|
8986
|
-
|
|
8986
|
+
maxlength: { type: Number, default: void 0 },
|
|
8987
|
+
/**
|
|
8988
|
+
* The minimum number of characters a user can enter.
|
|
8989
|
+
*/
|
|
8990
|
+
minlength: { type: Number, default: void 0 },
|
|
8991
|
+
/**
|
|
8992
|
+
* The name of the element.
|
|
8993
|
+
*/
|
|
8994
|
+
name: { type: String, default: void 0 },
|
|
8995
|
+
/**
|
|
8996
|
+
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
8997
|
+
*/
|
|
8998
|
+
placeholder: { type: String, default: void 0 },
|
|
8999
|
+
/**
|
|
9000
|
+
* Sizes the element horizontally by a number of character columns.
|
|
9001
|
+
*/
|
|
9002
|
+
cols: { type: Number, default: void 0 },
|
|
9003
|
+
/**
|
|
9004
|
+
* Sizes the element vertically by a number of character rows.
|
|
9005
|
+
*/
|
|
9006
|
+
rows: { type: Number, default: void 0 },
|
|
9007
|
+
/**
|
|
9008
|
+
* Sets if the element is eligible for spell checking
|
|
9009
|
+
* but the UA.
|
|
9010
|
+
*/
|
|
9011
|
+
spellcheck: { type: Boolean, default: void 0 },
|
|
9012
|
+
/**
|
|
9013
|
+
* The wrap attribute
|
|
9014
|
+
*/
|
|
9015
|
+
wrap: {
|
|
9016
|
+
type: String,
|
|
9017
|
+
default: void 0
|
|
9018
|
+
}
|
|
8987
9019
|
},
|
|
8988
9020
|
emits: [
|
|
8989
9021
|
/**
|
|
@@ -9017,7 +9049,7 @@ const VTimePicker = defineComponent({
|
|
|
9017
9049
|
*/
|
|
9018
9050
|
"input",
|
|
9019
9051
|
/**
|
|
9020
|
-
*
|
|
9052
|
+
* Emits a custom 'change' event when the textarea emits a change event
|
|
9021
9053
|
* @type {unknown}
|
|
9022
9054
|
*/
|
|
9023
9055
|
"change",
|
|
@@ -9027,9 +9059,22 @@ const VTimePicker = defineComponent({
|
|
|
9027
9059
|
*/
|
|
9028
9060
|
"update:modelValue"
|
|
9029
9061
|
],
|
|
9030
|
-
methods: {
|
|
9062
|
+
methods: {
|
|
9063
|
+
/**
|
|
9064
|
+
* Selects all the text in the text area
|
|
9065
|
+
*/
|
|
9066
|
+
select() {
|
|
9067
|
+
return this.element?.select();
|
|
9068
|
+
},
|
|
9069
|
+
/**
|
|
9070
|
+
* {@inheritDoc (FormAssociated:interface).validate}
|
|
9071
|
+
*/
|
|
9072
|
+
validate() {
|
|
9073
|
+
return this.element?.validate();
|
|
9074
|
+
}
|
|
9075
|
+
},
|
|
9031
9076
|
setup(props, ctx) {
|
|
9032
|
-
const componentName = registerComponent("
|
|
9077
|
+
const componentName = registerComponent("text-area", registerTextArea);
|
|
9033
9078
|
const element = ref(null);
|
|
9034
9079
|
return { componentName, element };
|
|
9035
9080
|
},
|
|
@@ -9040,21 +9085,29 @@ const VTimePicker = defineComponent({
|
|
|
9040
9085
|
{
|
|
9041
9086
|
ref: "element",
|
|
9042
9087
|
attrs: {
|
|
9088
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9043
9089
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9044
|
-
...this.
|
|
9090
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9045
9091
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9092
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9046
9093
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9047
9094
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9048
9095
|
...this.value !== void 0 ? { value: this.value } : {},
|
|
9049
9096
|
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9050
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
9051
9097
|
...this.required !== void 0 ? { required: this.required } : {},
|
|
9052
|
-
...this.
|
|
9053
|
-
...this.
|
|
9054
|
-
...this.
|
|
9055
|
-
...this.
|
|
9056
|
-
...this.
|
|
9057
|
-
...this.
|
|
9098
|
+
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
9099
|
+
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
9100
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9101
|
+
...this.form !== void 0 ? { form: this.form } : {},
|
|
9102
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9103
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9104
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9105
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9106
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9107
|
+
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
9108
|
+
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
9109
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9110
|
+
...this.wrap !== void 0 ? { wrap: this.wrap } : {}
|
|
9058
9111
|
},
|
|
9059
9112
|
class: "vvd-component",
|
|
9060
9113
|
on: {
|
|
@@ -9081,21 +9134,29 @@ const VTimePicker = defineComponent({
|
|
|
9081
9134
|
{
|
|
9082
9135
|
ref: "element",
|
|
9083
9136
|
class: "vvd-component",
|
|
9137
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9084
9138
|
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9085
|
-
...this.
|
|
9139
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9086
9140
|
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9141
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9087
9142
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9088
9143
|
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9089
9144
|
...this.value !== void 0 ? { value: this.value } : {},
|
|
9090
9145
|
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9091
|
-
...this.name !== void 0 ? { name: this.name } : {},
|
|
9092
9146
|
...this.required !== void 0 ? { required: this.required } : {},
|
|
9093
|
-
...this.
|
|
9094
|
-
...this.
|
|
9095
|
-
...this.
|
|
9096
|
-
...this.
|
|
9097
|
-
...this.
|
|
9098
|
-
...this.
|
|
9147
|
+
...this.readOnly !== void 0 ? { readOnly: this.readOnly } : {},
|
|
9148
|
+
...this.resize !== void 0 ? { resize: this.resize } : {},
|
|
9149
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9150
|
+
...this.form !== void 0 ? { form: this.form } : {},
|
|
9151
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9152
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9153
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9154
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9155
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9156
|
+
...this.cols !== void 0 ? { cols: this.cols } : {},
|
|
9157
|
+
...this.rows !== void 0 ? { rows: this.rows } : {},
|
|
9158
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9159
|
+
...this.wrap !== void 0 ? { wrap: this.wrap } : {},
|
|
9099
9160
|
onClick: (event) => this.$emit("click", event),
|
|
9100
9161
|
onFocus: (event) => this.$emit("focus", event),
|
|
9101
9162
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -9118,16 +9179,38 @@ const VTimePicker = defineComponent({
|
|
|
9118
9179
|
}
|
|
9119
9180
|
});
|
|
9120
9181
|
|
|
9121
|
-
const
|
|
9122
|
-
name: "
|
|
9182
|
+
const VTextField = defineComponent({
|
|
9183
|
+
name: "VTextField",
|
|
9184
|
+
model: isVue2 ? {
|
|
9185
|
+
prop: "modelValue",
|
|
9186
|
+
event: "update:modelValue"
|
|
9187
|
+
} : void 0,
|
|
9123
9188
|
props: {
|
|
9124
9189
|
/**
|
|
9125
|
-
*
|
|
9190
|
+
* The success text for the form element.
|
|
9126
9191
|
*/
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9192
|
+
successText: { type: String, default: void 0 },
|
|
9193
|
+
/**
|
|
9194
|
+
* The helper text for the form element.
|
|
9195
|
+
*/
|
|
9196
|
+
helperText: { type: String, default: void 0 },
|
|
9197
|
+
/**
|
|
9198
|
+
* Whether to show the character count.
|
|
9199
|
+
*/
|
|
9200
|
+
charCount: { type: Boolean, default: void 0 },
|
|
9201
|
+
/**
|
|
9202
|
+
* The label for the form element.
|
|
9203
|
+
*/
|
|
9204
|
+
label: { type: String, default: void 0 },
|
|
9205
|
+
/**
|
|
9206
|
+
* The error text for the form element.
|
|
9207
|
+
*/
|
|
9208
|
+
errorText: { type: String, default: void 0 },
|
|
9209
|
+
/**
|
|
9210
|
+
* A decorative icon the custom element should have.
|
|
9211
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9212
|
+
*/
|
|
9213
|
+
icon: { type: String, default: void 0 },
|
|
9131
9214
|
/**
|
|
9132
9215
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9133
9216
|
*/
|
|
@@ -9136,24 +9219,79 @@ const VToggletip = defineComponent({
|
|
|
9136
9219
|
default: void 0
|
|
9137
9220
|
},
|
|
9138
9221
|
/**
|
|
9139
|
-
* the
|
|
9222
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9140
9223
|
*/
|
|
9141
|
-
|
|
9224
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9142
9225
|
/**
|
|
9143
|
-
*
|
|
9226
|
+
* The initial value of the form. This value sets the `value` property
|
|
9227
|
+
* only when the `value` property has not been explicitly set.
|
|
9144
9228
|
*/
|
|
9145
|
-
|
|
9229
|
+
value: { type: String, default: void 0 },
|
|
9146
9230
|
/**
|
|
9147
|
-
*
|
|
9231
|
+
* The current value of the element. This property serves as a mechanism
|
|
9232
|
+
* to set the `value` property through both property assignment and the
|
|
9233
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
9234
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
9235
|
+
* and don't support IDL attribute binding.
|
|
9148
9236
|
*/
|
|
9149
|
-
|
|
9237
|
+
modelValue: { type: String, default: void 0 },
|
|
9238
|
+
/**
|
|
9239
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
9240
|
+
*/
|
|
9241
|
+
name: { type: String, default: void 0 },
|
|
9242
|
+
/**
|
|
9243
|
+
* Require the field to be completed prior to form submission.
|
|
9244
|
+
*/
|
|
9245
|
+
required: { type: Boolean, default: void 0 },
|
|
9246
|
+
/**
|
|
9247
|
+
* 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.
|
|
9248
|
+
*/
|
|
9249
|
+
readonly: { type: Boolean, default: void 0 },
|
|
9250
|
+
/**
|
|
9251
|
+
* 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.
|
|
9252
|
+
*/
|
|
9253
|
+
autofocus: { type: Boolean, default: void 0 },
|
|
9254
|
+
/**
|
|
9255
|
+
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
9256
|
+
*/
|
|
9257
|
+
placeholder: { type: String, default: void 0 },
|
|
9258
|
+
/**
|
|
9259
|
+
* Allows setting a type or mode of text.
|
|
9260
|
+
*/
|
|
9261
|
+
type: {
|
|
9150
9262
|
type: String,
|
|
9151
9263
|
default: void 0
|
|
9152
9264
|
},
|
|
9153
9265
|
/**
|
|
9154
|
-
*
|
|
9266
|
+
* 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.
|
|
9155
9267
|
*/
|
|
9156
|
-
|
|
9268
|
+
list: { type: String, default: void 0 },
|
|
9269
|
+
/**
|
|
9270
|
+
* The maximum number of characters a user can enter.
|
|
9271
|
+
*/
|
|
9272
|
+
maxlength: { type: Number, default: void 0 },
|
|
9273
|
+
/**
|
|
9274
|
+
* The minimum number of characters a user can enter.
|
|
9275
|
+
*/
|
|
9276
|
+
minlength: { type: Number, default: void 0 },
|
|
9277
|
+
/**
|
|
9278
|
+
* A regular expression that the value must match to pass validation.
|
|
9279
|
+
*/
|
|
9280
|
+
pattern: { type: String, default: void 0 },
|
|
9281
|
+
/**
|
|
9282
|
+
* Sets the width of the element to a specified number of characters.
|
|
9283
|
+
*/
|
|
9284
|
+
size: { type: Number, default: void 0 },
|
|
9285
|
+
/**
|
|
9286
|
+
* Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
|
|
9287
|
+
*/
|
|
9288
|
+
spellcheck: { type: Boolean, default: void 0 },
|
|
9289
|
+
appearance: {
|
|
9290
|
+
type: String,
|
|
9291
|
+
default: void 0
|
|
9292
|
+
},
|
|
9293
|
+
shape: { type: String, default: void 0 },
|
|
9294
|
+
autoComplete: { type: String, default: void 0 }
|
|
9157
9295
|
},
|
|
9158
9296
|
emits: [
|
|
9159
9297
|
/**
|
|
@@ -9185,15 +9323,37 @@ const VToggletip = defineComponent({
|
|
|
9185
9323
|
* Fires when the value of an element has been changed.
|
|
9186
9324
|
* @type {Event}
|
|
9187
9325
|
*/
|
|
9188
|
-
"input"
|
|
9326
|
+
"input",
|
|
9327
|
+
/**
|
|
9328
|
+
* Fires a custom 'change' event when the value has changed
|
|
9329
|
+
* @type {unknown}
|
|
9330
|
+
*/
|
|
9331
|
+
"change",
|
|
9332
|
+
/**
|
|
9333
|
+
* Fires when the value of an element has been changed.
|
|
9334
|
+
* @type {string}
|
|
9335
|
+
*/
|
|
9336
|
+
"update:modelValue"
|
|
9189
9337
|
],
|
|
9190
9338
|
methods: {
|
|
9191
|
-
|
|
9192
|
-
|
|
9339
|
+
/**
|
|
9340
|
+
* Selects all the text in the text field
|
|
9341
|
+
*/
|
|
9342
|
+
select() {
|
|
9343
|
+
return this.element?.select();
|
|
9344
|
+
},
|
|
9345
|
+
/**
|
|
9346
|
+
* {@inheritDoc (FormAssociated:interface).validate}
|
|
9347
|
+
*/
|
|
9348
|
+
validate() {
|
|
9349
|
+
return this.element?.validate();
|
|
9350
|
+
},
|
|
9351
|
+
focus() {
|
|
9352
|
+
return this.element?.focus();
|
|
9193
9353
|
}
|
|
9194
9354
|
},
|
|
9195
9355
|
setup(props, ctx) {
|
|
9196
|
-
const componentName = registerComponent("
|
|
9356
|
+
const componentName = registerComponent("text-field", registerTextField);
|
|
9197
9357
|
const element = ref(null);
|
|
9198
9358
|
return { componentName, element };
|
|
9199
9359
|
},
|
|
@@ -9204,30 +9364,57 @@ const VToggletip = defineComponent({
|
|
|
9204
9364
|
{
|
|
9205
9365
|
ref: "element",
|
|
9206
9366
|
attrs: {
|
|
9367
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9368
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9369
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9370
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9371
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9372
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9207
9373
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9208
|
-
...this.
|
|
9209
|
-
...this.
|
|
9210
|
-
...this.
|
|
9211
|
-
...this.
|
|
9374
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9375
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9376
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9377
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9378
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9379
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9380
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9381
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9382
|
+
...this.type !== void 0 ? { type: this.type } : {},
|
|
9383
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9384
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9385
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9386
|
+
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
9387
|
+
...this.size !== void 0 ? { size: this.size } : {},
|
|
9388
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9389
|
+
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
9390
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
9391
|
+
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {}
|
|
9212
9392
|
},
|
|
9213
9393
|
class: "vvd-component",
|
|
9214
|
-
domProps: {
|
|
9215
|
-
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9216
|
-
},
|
|
9217
9394
|
on: {
|
|
9218
9395
|
click: (event) => this.$emit("click", event),
|
|
9219
9396
|
focus: (event) => this.$emit("focus", event),
|
|
9220
9397
|
blur: (event) => this.$emit("blur", event),
|
|
9221
9398
|
keydown: (event) => this.$emit("keydown", event),
|
|
9222
9399
|
keyup: (event) => this.$emit("keyup", event),
|
|
9223
|
-
input: (event) =>
|
|
9400
|
+
input: (event) => {
|
|
9401
|
+
this.$emit(
|
|
9402
|
+
"update:modelValue",
|
|
9403
|
+
event.target.value
|
|
9404
|
+
);
|
|
9405
|
+
this.$emit("input", event);
|
|
9406
|
+
},
|
|
9407
|
+
change: (event) => this.$emit("change", event)
|
|
9224
9408
|
}
|
|
9225
9409
|
},
|
|
9226
9410
|
[
|
|
9227
9411
|
this.$slots.default,
|
|
9228
|
-
// @slot
|
|
9229
|
-
handleNamedSlot(
|
|
9230
|
-
|
|
9412
|
+
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
9413
|
+
handleNamedSlot(
|
|
9414
|
+
"leading-action-items",
|
|
9415
|
+
this.$slots["leading-action-items"]
|
|
9416
|
+
),
|
|
9417
|
+
// @slot action-items Used to add action items to the end of the text-field.
|
|
9231
9418
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9232
9419
|
]
|
|
9233
9420
|
);
|
|
@@ -9237,41 +9424,79 @@ const VToggletip = defineComponent({
|
|
|
9237
9424
|
{
|
|
9238
9425
|
ref: "element",
|
|
9239
9426
|
class: "vvd-component",
|
|
9240
|
-
...this.
|
|
9427
|
+
...this.successText !== void 0 ? { "success-text": this.successText } : {},
|
|
9428
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9429
|
+
...this.charCount !== void 0 ? { "char-count": this.charCount } : {},
|
|
9430
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9431
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9432
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9241
9433
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9242
|
-
...this.
|
|
9243
|
-
...this.
|
|
9244
|
-
...this.
|
|
9245
|
-
...this.
|
|
9434
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9435
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9436
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9437
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9438
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9439
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9440
|
+
...this.autofocus !== void 0 ? { autofocus: this.autofocus } : {},
|
|
9441
|
+
...this.placeholder !== void 0 ? { placeholder: this.placeholder } : {},
|
|
9442
|
+
...this.type !== void 0 ? { type: this.type } : {},
|
|
9443
|
+
...this.list !== void 0 ? { list: this.list } : {},
|
|
9444
|
+
...this.maxlength !== void 0 ? { maxlength: this.maxlength } : {},
|
|
9445
|
+
...this.minlength !== void 0 ? { minlength: this.minlength } : {},
|
|
9446
|
+
...this.pattern !== void 0 ? { pattern: this.pattern } : {},
|
|
9447
|
+
...this.size !== void 0 ? { size: this.size } : {},
|
|
9448
|
+
...this.spellcheck !== void 0 ? { spellcheck: this.spellcheck } : {},
|
|
9449
|
+
...this.appearance !== void 0 ? { appearance: this.appearance } : {},
|
|
9450
|
+
...this.shape !== void 0 ? { shape: this.shape } : {},
|
|
9451
|
+
...this.autoComplete !== void 0 ? { autoComplete: this.autoComplete } : {},
|
|
9246
9452
|
onClick: (event) => this.$emit("click", event),
|
|
9247
9453
|
onFocus: (event) => this.$emit("focus", event),
|
|
9248
9454
|
onBlur: (event) => this.$emit("blur", event),
|
|
9249
9455
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9250
9456
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9251
|
-
onInput: (event) =>
|
|
9457
|
+
onInput: (event) => {
|
|
9458
|
+
this.$emit(
|
|
9459
|
+
"update:modelValue",
|
|
9460
|
+
event.target.value
|
|
9461
|
+
);
|
|
9462
|
+
this.$emit("input", event);
|
|
9463
|
+
},
|
|
9464
|
+
onChange: (event) => this.$emit("change", event)
|
|
9252
9465
|
},
|
|
9253
9466
|
[
|
|
9254
9467
|
// @ts-ignore
|
|
9255
9468
|
this.$slots.default && this.$slots.default(),
|
|
9256
|
-
// @slot
|
|
9257
|
-
handleNamedSlot(
|
|
9258
|
-
|
|
9469
|
+
// @slot leading-action-items Used to add action items to the start of the text-field.
|
|
9470
|
+
handleNamedSlot(
|
|
9471
|
+
"leading-action-items",
|
|
9472
|
+
this.$slots["leading-action-items"]
|
|
9473
|
+
),
|
|
9474
|
+
// @slot action-items Used to add action items to the end of the text-field.
|
|
9259
9475
|
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9260
9476
|
]
|
|
9261
9477
|
);
|
|
9262
9478
|
}
|
|
9263
9479
|
});
|
|
9264
9480
|
|
|
9265
|
-
const
|
|
9266
|
-
name: "
|
|
9481
|
+
const VTimePicker = defineComponent({
|
|
9482
|
+
name: "VTimePicker",
|
|
9483
|
+
model: isVue2 ? {
|
|
9484
|
+
prop: "modelValue",
|
|
9485
|
+
event: "update:modelValue"
|
|
9486
|
+
} : void 0,
|
|
9267
9487
|
props: {
|
|
9268
9488
|
/**
|
|
9269
|
-
*
|
|
9489
|
+
* The helper text for the form element.
|
|
9270
9490
|
*/
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9491
|
+
helperText: { type: String, default: void 0 },
|
|
9492
|
+
/**
|
|
9493
|
+
* The label for the form element.
|
|
9494
|
+
*/
|
|
9495
|
+
label: { type: String, default: void 0 },
|
|
9496
|
+
/**
|
|
9497
|
+
* The error text for the form element.
|
|
9498
|
+
*/
|
|
9499
|
+
errorText: { type: String, default: void 0 },
|
|
9275
9500
|
/**
|
|
9276
9501
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9277
9502
|
*/
|
|
@@ -9280,15 +9505,54 @@ const VTooltip = defineComponent({
|
|
|
9280
9505
|
default: void 0
|
|
9281
9506
|
},
|
|
9282
9507
|
/**
|
|
9283
|
-
* the
|
|
9284
|
-
* accepts string
|
|
9508
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
9285
9509
|
*/
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9510
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9511
|
+
/**
|
|
9512
|
+
* The initial value of the form. This value sets the `value` property
|
|
9513
|
+
* only when the `value` property has not been explicitly set.
|
|
9514
|
+
*/
|
|
9515
|
+
value: { type: String, default: void 0 },
|
|
9516
|
+
/**
|
|
9517
|
+
* The current value of the element. This property serves as a mechanism
|
|
9518
|
+
* to set the `value` property through both property assignment and the
|
|
9519
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
9520
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
9521
|
+
* and don't support IDL attribute binding.
|
|
9522
|
+
*/
|
|
9523
|
+
modelValue: { type: String, default: void 0 },
|
|
9524
|
+
/**
|
|
9525
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
9526
|
+
*/
|
|
9527
|
+
name: { type: String, default: void 0 },
|
|
9528
|
+
/**
|
|
9529
|
+
* Require the field to be completed prior to form submission.
|
|
9530
|
+
*/
|
|
9531
|
+
required: { type: Boolean, default: void 0 },
|
|
9532
|
+
/**
|
|
9533
|
+
* Whether the time-picker is readonly.
|
|
9534
|
+
*/
|
|
9535
|
+
readonly: { type: Boolean, default: void 0 },
|
|
9536
|
+
/**
|
|
9537
|
+
* Distance between presented minute options.
|
|
9538
|
+
*/
|
|
9539
|
+
minutesStep: { type: Number, default: void 0 },
|
|
9540
|
+
/**
|
|
9541
|
+
* Distance between presented seconds options. If null, seconds are not presented.
|
|
9542
|
+
*/
|
|
9543
|
+
secondsStep: { type: Number, default: void 0 },
|
|
9544
|
+
/**
|
|
9545
|
+
* Forces the time-picker to use a 12h or 24h clock.
|
|
9546
|
+
*/
|
|
9547
|
+
clock: { type: String, default: void 0 },
|
|
9548
|
+
/**
|
|
9549
|
+
* The earliest accepted time of the time-picker.
|
|
9550
|
+
*/
|
|
9551
|
+
min: { type: String, default: void 0 },
|
|
9552
|
+
/**
|
|
9553
|
+
* The latest accepted time of the time-picker.
|
|
9554
|
+
*/
|
|
9555
|
+
max: { type: String, default: void 0 }
|
|
9292
9556
|
},
|
|
9293
9557
|
emits: [
|
|
9294
9558
|
/**
|
|
@@ -9320,11 +9584,21 @@ const VTooltip = defineComponent({
|
|
|
9320
9584
|
* Fires when the value of an element has been changed.
|
|
9321
9585
|
* @type {Event}
|
|
9322
9586
|
*/
|
|
9323
|
-
"input"
|
|
9587
|
+
"input",
|
|
9588
|
+
/**
|
|
9589
|
+
* Emitted when the time is changed by the user.
|
|
9590
|
+
* @type {unknown}
|
|
9591
|
+
*/
|
|
9592
|
+
"change",
|
|
9593
|
+
/**
|
|
9594
|
+
* Fires when the value of an element has been changed.
|
|
9595
|
+
* @type {string}
|
|
9596
|
+
*/
|
|
9597
|
+
"update:modelValue"
|
|
9324
9598
|
],
|
|
9325
9599
|
methods: {},
|
|
9326
9600
|
setup(props, ctx) {
|
|
9327
|
-
const componentName = registerComponent("
|
|
9601
|
+
const componentName = registerComponent("time-picker", registerTimePicker);
|
|
9328
9602
|
const element = ref(null);
|
|
9329
9603
|
return { componentName, element };
|
|
9330
9604
|
},
|
|
@@ -9335,29 +9609,40 @@ const VTooltip = defineComponent({
|
|
|
9335
9609
|
{
|
|
9336
9610
|
ref: "element",
|
|
9337
9611
|
attrs: {
|
|
9612
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9613
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9614
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9338
9615
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9339
|
-
...this.
|
|
9340
|
-
...this.
|
|
9341
|
-
...this.
|
|
9616
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9617
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9618
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9619
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9620
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9621
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9622
|
+
...this.minutesStep !== void 0 ? { "minutes-step": this.minutesStep } : {},
|
|
9623
|
+
...this.secondsStep !== void 0 ? { "seconds-step": this.secondsStep } : {},
|
|
9624
|
+
...this.clock !== void 0 ? { clock: this.clock } : {},
|
|
9625
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
9626
|
+
...this.max !== void 0 ? { max: this.max } : {}
|
|
9342
9627
|
},
|
|
9343
9628
|
class: "vvd-component",
|
|
9344
|
-
domProps: {
|
|
9345
|
-
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9346
|
-
},
|
|
9347
9629
|
on: {
|
|
9348
9630
|
click: (event) => this.$emit("click", event),
|
|
9349
9631
|
focus: (event) => this.$emit("focus", event),
|
|
9350
9632
|
blur: (event) => this.$emit("blur", event),
|
|
9351
9633
|
keydown: (event) => this.$emit("keydown", event),
|
|
9352
9634
|
keyup: (event) => this.$emit("keyup", event),
|
|
9353
|
-
input: (event) =>
|
|
9635
|
+
input: (event) => {
|
|
9636
|
+
this.$emit(
|
|
9637
|
+
"update:modelValue",
|
|
9638
|
+
event.target.value
|
|
9639
|
+
);
|
|
9640
|
+
this.$emit("input", event);
|
|
9641
|
+
},
|
|
9642
|
+
change: (event) => this.$emit("change", event)
|
|
9354
9643
|
}
|
|
9355
9644
|
},
|
|
9356
|
-
[
|
|
9357
|
-
this.$slots.default,
|
|
9358
|
-
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9359
|
-
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9360
|
-
]
|
|
9645
|
+
[this.$slots.default]
|
|
9361
9646
|
);
|
|
9362
9647
|
}
|
|
9363
9648
|
return h(
|
|
@@ -9365,36 +9650,53 @@ const VTooltip = defineComponent({
|
|
|
9365
9650
|
{
|
|
9366
9651
|
ref: "element",
|
|
9367
9652
|
class: "vvd-component",
|
|
9368
|
-
...this.
|
|
9653
|
+
...this.helperText !== void 0 ? { "helper-text": this.helperText } : {},
|
|
9654
|
+
...this.label !== void 0 ? { label: this.label } : {},
|
|
9655
|
+
...this.errorText !== void 0 ? { "error-text": this.errorText } : {},
|
|
9369
9656
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9370
|
-
...this.
|
|
9371
|
-
...this.
|
|
9372
|
-
...this.
|
|
9657
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
9658
|
+
...this.value !== void 0 ? { value: this.value } : {},
|
|
9659
|
+
...this.modelValue !== void 0 ? { "current-value": this.modelValue } : {},
|
|
9660
|
+
...this.name !== void 0 ? { name: this.name } : {},
|
|
9661
|
+
...this.required !== void 0 ? { required: this.required } : {},
|
|
9662
|
+
...this.readonly !== void 0 ? { readonly: this.readonly } : {},
|
|
9663
|
+
...this.minutesStep !== void 0 ? { "minutes-step": this.minutesStep } : {},
|
|
9664
|
+
...this.secondsStep !== void 0 ? { "seconds-step": this.secondsStep } : {},
|
|
9665
|
+
...this.clock !== void 0 ? { clock: this.clock } : {},
|
|
9666
|
+
...this.min !== void 0 ? { min: this.min } : {},
|
|
9667
|
+
...this.max !== void 0 ? { max: this.max } : {},
|
|
9373
9668
|
onClick: (event) => this.$emit("click", event),
|
|
9374
9669
|
onFocus: (event) => this.$emit("focus", event),
|
|
9375
9670
|
onBlur: (event) => this.$emit("blur", event),
|
|
9376
9671
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9377
9672
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9378
|
-
onInput: (event) =>
|
|
9673
|
+
onInput: (event) => {
|
|
9674
|
+
this.$emit(
|
|
9675
|
+
"update:modelValue",
|
|
9676
|
+
event.target.value
|
|
9677
|
+
);
|
|
9678
|
+
this.$emit("input", event);
|
|
9679
|
+
},
|
|
9680
|
+
onChange: (event) => this.$emit("change", event)
|
|
9379
9681
|
},
|
|
9380
9682
|
[
|
|
9381
9683
|
// @ts-ignore
|
|
9382
|
-
this.$slots.default && this.$slots.default()
|
|
9383
|
-
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9384
|
-
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9684
|
+
this.$slots.default && this.$slots.default()
|
|
9385
9685
|
]
|
|
9386
9686
|
);
|
|
9387
9687
|
}
|
|
9388
9688
|
});
|
|
9389
9689
|
|
|
9390
|
-
const
|
|
9391
|
-
name: "
|
|
9690
|
+
const VToggletip = defineComponent({
|
|
9691
|
+
name: "VToggletip",
|
|
9392
9692
|
props: {
|
|
9393
9693
|
/**
|
|
9394
|
-
*
|
|
9395
|
-
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9694
|
+
* ID or direct reference to the component's anchor element.
|
|
9396
9695
|
*/
|
|
9397
|
-
|
|
9696
|
+
anchor: {
|
|
9697
|
+
type: [String, HTMLElement],
|
|
9698
|
+
default: void 0
|
|
9699
|
+
},
|
|
9398
9700
|
/**
|
|
9399
9701
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9400
9702
|
*/
|
|
@@ -9403,21 +9705,24 @@ const VTreeItem = defineComponent({
|
|
|
9403
9705
|
default: void 0
|
|
9404
9706
|
},
|
|
9405
9707
|
/**
|
|
9406
|
-
*
|
|
9708
|
+
* the optional title of the toggletip
|
|
9407
9709
|
*/
|
|
9408
|
-
|
|
9710
|
+
headline: { type: String, default: void 0 },
|
|
9409
9711
|
/**
|
|
9410
|
-
*
|
|
9712
|
+
* toggle color scheme
|
|
9411
9713
|
*/
|
|
9412
|
-
|
|
9714
|
+
alternate: { type: Boolean, default: void 0 },
|
|
9413
9715
|
/**
|
|
9414
|
-
*
|
|
9716
|
+
* placement of the toggletip
|
|
9415
9717
|
*/
|
|
9416
|
-
|
|
9718
|
+
placement: {
|
|
9719
|
+
type: String,
|
|
9720
|
+
default: void 0
|
|
9721
|
+
},
|
|
9417
9722
|
/**
|
|
9418
|
-
*
|
|
9723
|
+
* indicates whether the toggletip is open
|
|
9419
9724
|
*/
|
|
9420
|
-
|
|
9725
|
+
open: { type: Boolean, default: void 0 }
|
|
9421
9726
|
},
|
|
9422
9727
|
emits: [
|
|
9423
9728
|
/**
|
|
@@ -9449,21 +9754,15 @@ const VTreeItem = defineComponent({
|
|
|
9449
9754
|
* Fires when the value of an element has been changed.
|
|
9450
9755
|
* @type {Event}
|
|
9451
9756
|
*/
|
|
9452
|
-
"input"
|
|
9453
|
-
/**
|
|
9454
|
-
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
9455
|
-
* @type {unknown}
|
|
9456
|
-
*/
|
|
9457
|
-
"expanded-change",
|
|
9458
|
-
/**
|
|
9459
|
-
* Fires a custom 'selected-change' event when the selected state changes
|
|
9460
|
-
* @type {unknown}
|
|
9461
|
-
*/
|
|
9462
|
-
"selected-change"
|
|
9757
|
+
"input"
|
|
9463
9758
|
],
|
|
9464
|
-
methods: {
|
|
9759
|
+
methods: {
|
|
9760
|
+
openChanged(oldValue, newValue) {
|
|
9761
|
+
return this.element?.openChanged(oldValue, newValue);
|
|
9762
|
+
}
|
|
9763
|
+
},
|
|
9465
9764
|
setup(props, ctx) {
|
|
9466
|
-
const componentName = registerComponent("
|
|
9765
|
+
const componentName = registerComponent("toggletip", registerToggletip);
|
|
9467
9766
|
const element = ref(null);
|
|
9468
9767
|
return { componentName, element };
|
|
9469
9768
|
},
|
|
@@ -9474,31 +9773,31 @@ const VTreeItem = defineComponent({
|
|
|
9474
9773
|
{
|
|
9475
9774
|
ref: "element",
|
|
9476
9775
|
attrs: {
|
|
9477
|
-
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9478
9776
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9479
|
-
...this.
|
|
9480
|
-
...this.
|
|
9481
|
-
...this.
|
|
9482
|
-
...this.
|
|
9777
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
9778
|
+
...this.alternate !== void 0 ? { alternate: this.alternate } : {},
|
|
9779
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9780
|
+
...this.open !== void 0 ? { open: this.open } : {}
|
|
9483
9781
|
},
|
|
9484
9782
|
class: "vvd-component",
|
|
9783
|
+
domProps: {
|
|
9784
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9785
|
+
},
|
|
9485
9786
|
on: {
|
|
9486
9787
|
click: (event) => this.$emit("click", event),
|
|
9487
9788
|
focus: (event) => this.$emit("focus", event),
|
|
9488
9789
|
blur: (event) => this.$emit("blur", event),
|
|
9489
9790
|
keydown: (event) => this.$emit("keydown", event),
|
|
9490
9791
|
keyup: (event) => this.$emit("keyup", event),
|
|
9491
|
-
input: (event) => this.$emit("input", event)
|
|
9492
|
-
"expanded-change": (event) => this.$emit("expanded-change", event),
|
|
9493
|
-
"selected-change": (event) => this.$emit("selected-change", event)
|
|
9792
|
+
input: (event) => this.$emit("input", event)
|
|
9494
9793
|
}
|
|
9495
9794
|
},
|
|
9496
|
-
[
|
|
9497
|
-
this.$slots.default,
|
|
9498
|
-
// @slot
|
|
9499
|
-
handleNamedSlot("
|
|
9500
|
-
// @slot
|
|
9501
|
-
handleNamedSlot("
|
|
9795
|
+
[
|
|
9796
|
+
this.$slots.default,
|
|
9797
|
+
// @slot anchor Used to set the anchor element for the toggletip.
|
|
9798
|
+
handleNamedSlot("anchor", this.$slots["anchor"]),
|
|
9799
|
+
// @slot action-items The content to display in the toggletip action items.
|
|
9800
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9502
9801
|
]
|
|
9503
9802
|
);
|
|
9504
9803
|
}
|
|
@@ -9507,36 +9806,41 @@ const VTreeItem = defineComponent({
|
|
|
9507
9806
|
{
|
|
9508
9807
|
ref: "element",
|
|
9509
9808
|
class: "vvd-component",
|
|
9510
|
-
...this.
|
|
9809
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {},
|
|
9511
9810
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9512
|
-
...this.
|
|
9513
|
-
...this.
|
|
9514
|
-
...this.
|
|
9515
|
-
...this.
|
|
9811
|
+
...this.headline !== void 0 ? { headline: this.headline } : {},
|
|
9812
|
+
...this.alternate !== void 0 ? { alternate: this.alternate } : {},
|
|
9813
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9814
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
9516
9815
|
onClick: (event) => this.$emit("click", event),
|
|
9517
9816
|
onFocus: (event) => this.$emit("focus", event),
|
|
9518
9817
|
onBlur: (event) => this.$emit("blur", event),
|
|
9519
9818
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9520
9819
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9521
|
-
onInput: (event) => this.$emit("input", event)
|
|
9522
|
-
onExpandedChange: (event) => this.$emit("expanded-change", event),
|
|
9523
|
-
onSelectedChange: (event) => this.$emit("selected-change", event)
|
|
9820
|
+
onInput: (event) => this.$emit("input", event)
|
|
9524
9821
|
},
|
|
9525
9822
|
[
|
|
9526
9823
|
// @ts-ignore
|
|
9527
9824
|
this.$slots.default && this.$slots.default(),
|
|
9528
|
-
// @slot
|
|
9529
|
-
handleNamedSlot("
|
|
9530
|
-
// @slot
|
|
9531
|
-
handleNamedSlot("
|
|
9825
|
+
// @slot anchor Used to set the anchor element for the toggletip.
|
|
9826
|
+
handleNamedSlot("anchor", this.$slots["anchor"]),
|
|
9827
|
+
// @slot action-items The content to display in the toggletip action items.
|
|
9828
|
+
handleNamedSlot("action-items", this.$slots["action-items"])
|
|
9532
9829
|
]
|
|
9533
9830
|
);
|
|
9534
9831
|
}
|
|
9535
9832
|
});
|
|
9536
9833
|
|
|
9537
|
-
const
|
|
9538
|
-
name: "
|
|
9834
|
+
const VTooltip = defineComponent({
|
|
9835
|
+
name: "VTooltip",
|
|
9539
9836
|
props: {
|
|
9837
|
+
/**
|
|
9838
|
+
* ID or direct reference to the component's anchor element.
|
|
9839
|
+
*/
|
|
9840
|
+
anchor: {
|
|
9841
|
+
type: [String, HTMLElement],
|
|
9842
|
+
default: void 0
|
|
9843
|
+
},
|
|
9540
9844
|
/**
|
|
9541
9845
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9542
9846
|
*/
|
|
@@ -9545,13 +9849,15 @@ const VTreeView = defineComponent({
|
|
|
9545
9849
|
default: void 0
|
|
9546
9850
|
},
|
|
9547
9851
|
/**
|
|
9548
|
-
*
|
|
9549
|
-
*
|
|
9852
|
+
* the text of the tooltip
|
|
9853
|
+
* accepts string
|
|
9550
9854
|
*/
|
|
9551
|
-
|
|
9552
|
-
|
|
9855
|
+
text: { type: String, default: void 0 },
|
|
9856
|
+
placement: {
|
|
9857
|
+
type: String,
|
|
9553
9858
|
default: void 0
|
|
9554
|
-
}
|
|
9859
|
+
},
|
|
9860
|
+
open: { type: Boolean, default: void 0 }
|
|
9555
9861
|
},
|
|
9556
9862
|
emits: [
|
|
9557
9863
|
/**
|
|
@@ -9587,7 +9893,7 @@ const VTreeView = defineComponent({
|
|
|
9587
9893
|
],
|
|
9588
9894
|
methods: {},
|
|
9589
9895
|
setup(props, ctx) {
|
|
9590
|
-
const componentName = registerComponent("
|
|
9896
|
+
const componentName = registerComponent("tooltip", registerTooltip);
|
|
9591
9897
|
const element = ref(null);
|
|
9592
9898
|
return { componentName, element };
|
|
9593
9899
|
},
|
|
@@ -9599,9 +9905,14 @@ const VTreeView = defineComponent({
|
|
|
9599
9905
|
ref: "element",
|
|
9600
9906
|
attrs: {
|
|
9601
9907
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9602
|
-
...this.
|
|
9908
|
+
...this.text !== void 0 ? { text: this.text } : {},
|
|
9909
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9910
|
+
...this.open !== void 0 ? { open: this.open } : {}
|
|
9603
9911
|
},
|
|
9604
9912
|
class: "vvd-component",
|
|
9913
|
+
domProps: {
|
|
9914
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {}
|
|
9915
|
+
},
|
|
9605
9916
|
on: {
|
|
9606
9917
|
click: (event) => this.$emit("click", event),
|
|
9607
9918
|
focus: (event) => this.$emit("focus", event),
|
|
@@ -9611,7 +9922,11 @@ const VTreeView = defineComponent({
|
|
|
9611
9922
|
input: (event) => this.$emit("input", event)
|
|
9612
9923
|
}
|
|
9613
9924
|
},
|
|
9614
|
-
[
|
|
9925
|
+
[
|
|
9926
|
+
this.$slots.default,
|
|
9927
|
+
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9928
|
+
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9929
|
+
]
|
|
9615
9930
|
);
|
|
9616
9931
|
}
|
|
9617
9932
|
return h(
|
|
@@ -9619,8 +9934,11 @@ const VTreeView = defineComponent({
|
|
|
9619
9934
|
{
|
|
9620
9935
|
ref: "element",
|
|
9621
9936
|
class: "vvd-component",
|
|
9937
|
+
...this.anchor !== void 0 ? { anchor: this.anchor } : {},
|
|
9622
9938
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9623
|
-
...this.
|
|
9939
|
+
...this.text !== void 0 ? { text: this.text } : {},
|
|
9940
|
+
...this.placement !== void 0 ? { placement: this.placement } : {},
|
|
9941
|
+
...this.open !== void 0 ? { open: this.open } : {},
|
|
9624
9942
|
onClick: (event) => this.$emit("click", event),
|
|
9625
9943
|
onFocus: (event) => this.$emit("focus", event),
|
|
9626
9944
|
onBlur: (event) => this.$emit("blur", event),
|
|
@@ -9630,15 +9948,22 @@ const VTreeView = defineComponent({
|
|
|
9630
9948
|
},
|
|
9631
9949
|
[
|
|
9632
9950
|
// @ts-ignore
|
|
9633
|
-
this.$slots.default && this.$slots.default()
|
|
9951
|
+
this.$slots.default && this.$slots.default(),
|
|
9952
|
+
// @slot anchor Used to set the anchor element for the tooltip.
|
|
9953
|
+
handleNamedSlot("anchor", this.$slots["anchor"])
|
|
9634
9954
|
]
|
|
9635
9955
|
);
|
|
9636
9956
|
}
|
|
9637
9957
|
});
|
|
9638
9958
|
|
|
9639
|
-
const
|
|
9640
|
-
name: "
|
|
9959
|
+
const VTreeItem = defineComponent({
|
|
9960
|
+
name: "VTreeItem",
|
|
9641
9961
|
props: {
|
|
9962
|
+
/**
|
|
9963
|
+
* A decorative icon the custom element should have.
|
|
9964
|
+
* See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
|
|
9965
|
+
*/
|
|
9966
|
+
icon: { type: String, default: void 0 },
|
|
9642
9967
|
/**
|
|
9643
9968
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9644
9969
|
*/
|
|
@@ -9647,23 +9972,21 @@ const VDataGridRow = defineComponent({
|
|
|
9647
9972
|
default: void 0
|
|
9648
9973
|
},
|
|
9649
9974
|
/**
|
|
9650
|
-
*
|
|
9975
|
+
* When true, the control will be appear expanded by user interaction.
|
|
9651
9976
|
*/
|
|
9652
|
-
|
|
9653
|
-
type: String,
|
|
9654
|
-
default: void 0
|
|
9655
|
-
},
|
|
9977
|
+
expanded: { type: Boolean, default: void 0 },
|
|
9656
9978
|
/**
|
|
9657
|
-
*
|
|
9979
|
+
* When true, the control will appear selected by user interaction.
|
|
9658
9980
|
*/
|
|
9659
|
-
|
|
9660
|
-
type: String,
|
|
9661
|
-
default: void 0
|
|
9662
|
-
},
|
|
9981
|
+
selected: { type: Boolean, default: void 0 },
|
|
9663
9982
|
/**
|
|
9664
|
-
*
|
|
9983
|
+
* 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.
|
|
9665
9984
|
*/
|
|
9666
|
-
|
|
9985
|
+
disabled: { type: Boolean, default: void 0 },
|
|
9986
|
+
/**
|
|
9987
|
+
* Indicates the text's text.
|
|
9988
|
+
*/
|
|
9989
|
+
text: { type: String, default: void 0 }
|
|
9667
9990
|
},
|
|
9668
9991
|
emits: [
|
|
9669
9992
|
/**
|
|
@@ -9697,29 +10020,19 @@ const VDataGridRow = defineComponent({
|
|
|
9697
10020
|
*/
|
|
9698
10021
|
"input",
|
|
9699
10022
|
/**
|
|
9700
|
-
* Fires a custom '
|
|
10023
|
+
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
9701
10024
|
* @type {unknown}
|
|
9702
10025
|
*/
|
|
9703
|
-
"
|
|
10026
|
+
"expanded-change",
|
|
9704
10027
|
/**
|
|
9705
|
-
*
|
|
10028
|
+
* Fires a custom 'selected-change' event when the selected state changes
|
|
9706
10029
|
* @type {unknown}
|
|
9707
10030
|
*/
|
|
9708
|
-
"
|
|
10031
|
+
"selected-change"
|
|
9709
10032
|
],
|
|
9710
|
-
methods: {
|
|
9711
|
-
handleFocusout(e) {
|
|
9712
|
-
return this.element?.handleFocusout(e);
|
|
9713
|
-
},
|
|
9714
|
-
handleCellFocus(e) {
|
|
9715
|
-
return this.element?.handleCellFocus(e);
|
|
9716
|
-
},
|
|
9717
|
-
handleKeydown(e) {
|
|
9718
|
-
return this.element?.handleKeydown(e);
|
|
9719
|
-
}
|
|
9720
|
-
},
|
|
10033
|
+
methods: {},
|
|
9721
10034
|
setup(props, ctx) {
|
|
9722
|
-
const componentName = registerComponent("
|
|
10035
|
+
const componentName = registerComponent("tree-item", registerTreeItem);
|
|
9723
10036
|
const element = ref(null);
|
|
9724
10037
|
return { componentName, element };
|
|
9725
10038
|
},
|
|
@@ -9730,10 +10043,12 @@ const VDataGridRow = defineComponent({
|
|
|
9730
10043
|
{
|
|
9731
10044
|
ref: "element",
|
|
9732
10045
|
attrs: {
|
|
10046
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9733
10047
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9734
|
-
...this.
|
|
9735
|
-
...this.
|
|
9736
|
-
...this.
|
|
10048
|
+
...this.expanded !== void 0 ? { expanded: this.expanded } : {},
|
|
10049
|
+
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
10050
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
10051
|
+
...this.text !== void 0 ? { text: this.text } : {}
|
|
9737
10052
|
},
|
|
9738
10053
|
class: "vvd-component",
|
|
9739
10054
|
on: {
|
|
@@ -9743,11 +10058,17 @@ const VDataGridRow = defineComponent({
|
|
|
9743
10058
|
keydown: (event) => this.$emit("keydown", event),
|
|
9744
10059
|
keyup: (event) => this.$emit("keyup", event),
|
|
9745
10060
|
input: (event) => this.$emit("input", event),
|
|
9746
|
-
"
|
|
9747
|
-
"
|
|
10061
|
+
"expanded-change": (event) => this.$emit("expanded-change", event),
|
|
10062
|
+
"selected-change": (event) => this.$emit("selected-change", event)
|
|
9748
10063
|
}
|
|
9749
10064
|
},
|
|
9750
|
-
[
|
|
10065
|
+
[
|
|
10066
|
+
this.$slots.default,
|
|
10067
|
+
// @slot item To specify a child tree item.
|
|
10068
|
+
handleNamedSlot("item", this.$slots["item"]),
|
|
10069
|
+
// @slot icon Add an icon to the component.
|
|
10070
|
+
handleNamedSlot("icon", this.$slots["icon"])
|
|
10071
|
+
]
|
|
9751
10072
|
);
|
|
9752
10073
|
}
|
|
9753
10074
|
return h(
|
|
@@ -9755,37 +10076,36 @@ const VDataGridRow = defineComponent({
|
|
|
9755
10076
|
{
|
|
9756
10077
|
ref: "element",
|
|
9757
10078
|
class: "vvd-component",
|
|
10079
|
+
...this.icon !== void 0 ? { icon: this.icon } : {},
|
|
9758
10080
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9759
|
-
...this.
|
|
9760
|
-
...this.
|
|
9761
|
-
...this.
|
|
10081
|
+
...this.expanded !== void 0 ? { expanded: this.expanded } : {},
|
|
10082
|
+
...this.selected !== void 0 ? { selected: this.selected } : {},
|
|
10083
|
+
...this.disabled !== void 0 ? { disabled: this.disabled } : {},
|
|
10084
|
+
...this.text !== void 0 ? { text: this.text } : {},
|
|
9762
10085
|
onClick: (event) => this.$emit("click", event),
|
|
9763
10086
|
onFocus: (event) => this.$emit("focus", event),
|
|
9764
10087
|
onBlur: (event) => this.$emit("blur", event),
|
|
9765
10088
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9766
10089
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9767
10090
|
onInput: (event) => this.$emit("input", event),
|
|
9768
|
-
|
|
9769
|
-
|
|
10091
|
+
onExpandedChange: (event) => this.$emit("expanded-change", event),
|
|
10092
|
+
onSelectedChange: (event) => this.$emit("selected-change", event)
|
|
9770
10093
|
},
|
|
9771
10094
|
[
|
|
9772
10095
|
// @ts-ignore
|
|
9773
|
-
this.$slots.default && this.$slots.default()
|
|
10096
|
+
this.$slots.default && this.$slots.default(),
|
|
10097
|
+
// @slot item To specify a child tree item.
|
|
10098
|
+
handleNamedSlot("item", this.$slots["item"]),
|
|
10099
|
+
// @slot icon Add an icon to the component.
|
|
10100
|
+
handleNamedSlot("icon", this.$slots["icon"])
|
|
9774
10101
|
]
|
|
9775
10102
|
);
|
|
9776
10103
|
}
|
|
9777
10104
|
});
|
|
9778
10105
|
|
|
9779
|
-
const
|
|
9780
|
-
name: "
|
|
10106
|
+
const VTreeView = defineComponent({
|
|
10107
|
+
name: "VTreeView",
|
|
9781
10108
|
props: {
|
|
9782
|
-
/**
|
|
9783
|
-
* Extends the data grid cell definition to hold more options.
|
|
9784
|
-
*/
|
|
9785
|
-
columnDefinition: {
|
|
9786
|
-
type: null,
|
|
9787
|
-
default: void 0
|
|
9788
|
-
},
|
|
9789
10109
|
/**
|
|
9790
10110
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9791
10111
|
*/
|
|
@@ -9794,26 +10114,13 @@ const VDataGridCell = defineComponent({
|
|
|
9794
10114
|
default: void 0
|
|
9795
10115
|
},
|
|
9796
10116
|
/**
|
|
9797
|
-
*
|
|
10117
|
+
* /**
|
|
10118
|
+
* When true, the control will be appear expanded by user interaction.
|
|
9798
10119
|
*/
|
|
9799
|
-
|
|
9800
|
-
type:
|
|
10120
|
+
renderCollapsedNodes: {
|
|
10121
|
+
type: Boolean,
|
|
9801
10122
|
default: void 0
|
|
9802
|
-
}
|
|
9803
|
-
/**
|
|
9804
|
-
* The column index of the cell.
|
|
9805
|
-
* This will be applied to the css grid-column-index value
|
|
9806
|
-
* applied to the cell
|
|
9807
|
-
*/
|
|
9808
|
-
gridColumn: { type: String, default: void 0 },
|
|
9809
|
-
/**
|
|
9810
|
-
* Indicates the selected status.
|
|
9811
|
-
*/
|
|
9812
|
-
ariaSelected: { type: String, default: void 0 },
|
|
9813
|
-
/**
|
|
9814
|
-
* Indicates the sort status.
|
|
9815
|
-
*/
|
|
9816
|
-
ariaSort: { type: String, default: void 0 }
|
|
10123
|
+
}
|
|
9817
10124
|
},
|
|
9818
10125
|
emits: [
|
|
9819
10126
|
/**
|
|
@@ -9845,39 +10152,11 @@ const VDataGridCell = defineComponent({
|
|
|
9845
10152
|
* Fires when the value of an element has been changed.
|
|
9846
10153
|
* @type {Event}
|
|
9847
10154
|
*/
|
|
9848
|
-
"input"
|
|
9849
|
-
/**
|
|
9850
|
-
* Fires a custom 'cell-focused' event when focus is on the cell or its contents
|
|
9851
|
-
* @type {unknown}
|
|
9852
|
-
*/
|
|
9853
|
-
"cell-focused",
|
|
9854
|
-
/**
|
|
9855
|
-
* Event that fires when a sortable column header is clicked
|
|
9856
|
-
* @type {unknown}
|
|
9857
|
-
*/
|
|
9858
|
-
"sort",
|
|
9859
|
-
/**
|
|
9860
|
-
* Event that fires when a cell is clicked
|
|
9861
|
-
* @type {unknown}
|
|
9862
|
-
*/
|
|
9863
|
-
"cell-click"
|
|
10155
|
+
"input"
|
|
9864
10156
|
],
|
|
9865
|
-
methods: {
|
|
9866
|
-
handleKeydown(e) {
|
|
9867
|
-
return this.element?.handleKeydown(e);
|
|
9868
|
-
},
|
|
9869
|
-
ariaSelectedChanged(_, selectedState) {
|
|
9870
|
-
return this.element?.ariaSelectedChanged(_, selectedState);
|
|
9871
|
-
},
|
|
9872
|
-
handleFocusin(e) {
|
|
9873
|
-
return this.element?.handleFocusin(e);
|
|
9874
|
-
},
|
|
9875
|
-
handleFocusout(e) {
|
|
9876
|
-
return this.element?.handleFocusout(e);
|
|
9877
|
-
}
|
|
9878
|
-
},
|
|
10157
|
+
methods: {},
|
|
9879
10158
|
setup(props, ctx) {
|
|
9880
|
-
const componentName = registerComponent("
|
|
10159
|
+
const componentName = registerComponent("tree-view", registerTreeView);
|
|
9881
10160
|
const element = ref(null);
|
|
9882
10161
|
return { componentName, element };
|
|
9883
10162
|
},
|
|
@@ -9888,12 +10167,8 @@ const VDataGridCell = defineComponent({
|
|
|
9888
10167
|
{
|
|
9889
10168
|
ref: "element",
|
|
9890
10169
|
attrs: {
|
|
9891
|
-
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
9892
10170
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9893
|
-
...this.
|
|
9894
|
-
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
9895
|
-
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
9896
|
-
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {}
|
|
10171
|
+
...this.renderCollapsedNodes !== void 0 ? { "render-collapsed-nodes": this.renderCollapsedNodes } : {}
|
|
9897
10172
|
},
|
|
9898
10173
|
class: "vvd-component",
|
|
9899
10174
|
on: {
|
|
@@ -9902,10 +10177,7 @@ const VDataGridCell = defineComponent({
|
|
|
9902
10177
|
blur: (event) => this.$emit("blur", event),
|
|
9903
10178
|
keydown: (event) => this.$emit("keydown", event),
|
|
9904
10179
|
keyup: (event) => this.$emit("keyup", event),
|
|
9905
|
-
input: (event) => this.$emit("input", event)
|
|
9906
|
-
"cell-focused": (event) => this.$emit("cell-focused", event),
|
|
9907
|
-
sort: (event) => this.$emit("sort", event),
|
|
9908
|
-
"cell-click": (event) => this.$emit("cell-click", event)
|
|
10180
|
+
input: (event) => this.$emit("input", event)
|
|
9909
10181
|
}
|
|
9910
10182
|
},
|
|
9911
10183
|
[this.$slots.default]
|
|
@@ -9916,21 +10188,14 @@ const VDataGridCell = defineComponent({
|
|
|
9916
10188
|
{
|
|
9917
10189
|
ref: "element",
|
|
9918
10190
|
class: "vvd-component",
|
|
9919
|
-
...this.columnDefinition !== void 0 ? { columnDefinition: this.columnDefinition } : {},
|
|
9920
10191
|
...this.ariaCurrent !== void 0 ? { "aria-current": this.ariaCurrent } : {},
|
|
9921
|
-
...this.
|
|
9922
|
-
...this.gridColumn !== void 0 ? { "grid-column": this.gridColumn } : {},
|
|
9923
|
-
...this.ariaSelected !== void 0 ? { "aria-selected": this.ariaSelected } : {},
|
|
9924
|
-
...this.ariaSort !== void 0 ? { "aria-sort": this.ariaSort } : {},
|
|
10192
|
+
...this.renderCollapsedNodes !== void 0 ? { "render-collapsed-nodes": this.renderCollapsedNodes } : {},
|
|
9925
10193
|
onClick: (event) => this.$emit("click", event),
|
|
9926
10194
|
onFocus: (event) => this.$emit("focus", event),
|
|
9927
10195
|
onBlur: (event) => this.$emit("blur", event),
|
|
9928
10196
|
onKeydown: (event) => this.$emit("keydown", event),
|
|
9929
10197
|
onKeyup: (event) => this.$emit("keyup", event),
|
|
9930
|
-
onInput: (event) => this.$emit("input", event)
|
|
9931
|
-
onCellFocused: (event) => this.$emit("cell-focused", event),
|
|
9932
|
-
onSort: (event) => this.$emit("sort", event),
|
|
9933
|
-
onCellClick: (event) => this.$emit("cell-click", event)
|
|
10198
|
+
onInput: (event) => this.$emit("input", event)
|
|
9934
10199
|
},
|
|
9935
10200
|
[
|
|
9936
10201
|
// @ts-ignore
|
|
@@ -11142,17 +11407,17 @@ var Icon = /* @__PURE__ */ ((Icon2) => {
|
|
|
11142
11407
|
return Icon2;
|
|
11143
11408
|
})(Icon || {});
|
|
11144
11409
|
|
|
11145
|
-
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";
|
|
11410
|
+
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";
|
|
11146
11411
|
|
|
11147
|
-
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";
|
|
11412
|
+
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";
|
|
11148
11413
|
|
|
11149
|
-
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
|
|
11414
|
+
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";
|
|
11150
11415
|
|
|
11151
|
-
const tokensVivid2CompatCss = "/**\n * Do not edit directly\n * Generated on
|
|
11416
|
+
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";
|
|
11152
11417
|
|
|
11153
|
-
const coreThemeCss = "/**\n * Do not edit directly\n * Generated on
|
|
11418
|
+
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";
|
|
11154
11419
|
|
|
11155
|
-
const coreTypographyCss = "/**\n * Do not edit directly\n * Generated on
|
|
11420
|
+
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";
|
|
11156
11421
|
|
|
11157
11422
|
const theme = {
|
|
11158
11423
|
name: "core/theme",
|
|
@@ -11250,4 +11515,4 @@ const vivid3 = {
|
|
|
11250
11515
|
}
|
|
11251
11516
|
};
|
|
11252
11517
|
|
|
11253
|
-
export { Icon, VAccordion, VAccordionItem, VActionGroup, VAlert, VAudioPlayer, VAvatar, VBadge, VBanner, VBreadcrumb, VBreadcrumbItem, VButton, VCalendar, VCalendarEvent, VCard, VCheckbox, VCombobox, VDataGrid, VDataGridCell, VDataGridRow, VDatePicker, VDateRangePicker, VDialog, VDivider, VEmptyState, VFab, VFilePicker, VHeader, VIcon, VLayout, VMenu, VMenuItem, VNav, VNavDisclosure, VNavItem, VNote, VNumberField, VOption, VPagination, VProgress, VProgressRing, VRadio, VRadioGroup, VSelect, VSelectableBox, VSideDrawer, VSlider, VSplitButton, VSwitch, VTab, VTabPanel, VTabs, VTag, VTagGroup, VTextArea, VTextField, VTimePicker, VToggletip, VTooltip, VTreeItem, VTreeView, optionalStyles, setCustomComponentPrefix, vivid3 };
|
|
11518
|
+
export { Icon, VAccordion, VAccordionItem, VActionGroup, VAlert, VAudioPlayer, VAvatar, VBadge, VBanner, VBreadcrumb, VBreadcrumbItem, VButton, VCalendar, VCalendarEvent, VCard, VCheckbox, VCombobox, VDataGrid, VDataGridCell, VDataGridRow, VDatePicker, VDateRangePicker, VDialog, VDivider, VEmptyState, VFab, VFilePicker, VHeader, VIcon, VLayout, VMenu, VMenuItem, VNav, VNavDisclosure, VNavItem, VNote, VNumberField, VOption, VPagination, VProgress, VProgressRing, VRadio, VRadioGroup, VRangeSlider, VSelect, VSelectableBox, VSideDrawer, VSlider, VSplitButton, VSwitch, VTab, VTabPanel, VTabs, VTag, VTagGroup, VTextArea, VTextField, VTimePicker, VToggletip, VTooltip, VTreeItem, VTreeView, optionalStyles, setCustomComponentPrefix, vivid3 };
|