@eldrajs/ui 0.3.9 → 0.3.11
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/CHANGELOG.md +3 -0
- package/README.md +48 -3
- package/dist/{PhoneInput-CX83wgD0.js → PhoneInput-BVH32MEg.js} +2 -2
- package/dist/{VariantPicker-BqLbiONX.js → VariantPicker-CKDdeFmV.js} +2945 -2548
- package/dist/componentNames.d.ts +1 -1
- package/dist/components/autocomplete/Autocomplete.vue.d.ts +216 -0
- package/dist/components/autocomplete/types.d.ts +50 -0
- package/dist/components/button/Button.vue.d.ts +4 -4
- package/dist/components/card/ContentCard.vue.d.ts +1 -1
- package/dist/components/carousel/Carousel.vue.d.ts +1 -1
- package/dist/components/checkbox/Checkbox.vue.d.ts +3 -3
- package/dist/components/chip/Chip.vue.d.ts +2 -1
- package/dist/components/container/Container.vue.d.ts +1 -1
- package/dist/components/dialog/Dialog.vue.d.ts +1 -0
- package/dist/components/drawer/Drawer.vue.d.ts +4 -3
- package/dist/components/field-wrapper/FieldWrapper.vue.d.ts +1 -1
- package/dist/components/filter-panel/FilterGroup.vue.d.ts +1 -0
- package/dist/components/filter-panel/FilterPanel.vue.d.ts +5 -4
- package/dist/components/filter-panel/facets/ColourFacet.vue.d.ts +1 -0
- package/dist/components/filter-panel/facets/ListFacet.vue.d.ts +1 -0
- package/dist/components/filter-panel/facets/RangeFacet.vue.d.ts +2 -1
- package/dist/components/filter-panel/facets/SizeFacet.vue.d.ts +1 -0
- package/dist/components/filter-panel/facets/ToggleFacet.vue.d.ts +1 -0
- package/dist/components/form-layout/FormLayout.vue.d.ts +2 -2
- package/dist/components/image/Image.vue.d.ts +3 -3
- package/dist/components/input/Input.vue.d.ts +7 -7
- package/dist/components/lightbox/Lightbox.vue.d.ts +2 -1
- package/dist/components/nav-menu/NavMenu.vue.d.ts +4 -3
- package/dist/components/pagination/Pagination.vue.d.ts +3 -2
- package/dist/components/popover/Popover.vue.d.ts +3 -3
- package/dist/components/quantity-stepper/QuantityStepper.vue.d.ts +2 -2
- package/dist/components/radio/Radio.vue.d.ts +1 -1
- package/dist/components/range-slider/RangeSlider.vue.d.ts +2 -1
- package/dist/components/search-bar/SearchBar.vue.d.ts +4 -3
- package/dist/components/search-bar/SearchResultsPanel.vue.d.ts +1 -1
- package/dist/components/search-modal/SearchModal.vue.d.ts +3 -2
- package/dist/components/select/MultiSelect.vue.d.ts +11 -10
- package/dist/components/select/Select.vue.d.ts +12 -11
- package/dist/components/select/SelectPanel.vue.d.ts +1 -1
- package/dist/components/site-form/SiteForm.vue.d.ts +1 -0
- package/dist/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/switch/Switch.vue.d.ts +1 -1
- package/dist/components/textarea/Textarea.vue.d.ts +3 -3
- package/dist/components/toast/Toast.vue.d.ts +2 -1
- package/dist/components/toast/Toaster.vue.d.ts +1 -0
- package/dist/components/unit-input/UnitInput.vue.d.ts +6 -6
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -4
- package/dist/messages/en-US.d.ts +2 -0
- package/dist/messages/is-IS.js +1 -0
- package/dist/phone/PhoneInput.vue.d.ts +7 -6
- package/dist/phone/vee-validate.js +4 -4
- package/dist/phone.js +1 -1
- package/dist/resolver.js +1 -0
- package/dist/{useFieldControl-D1j54YON.js → useFieldControl-CGH6GEWM.js} +2 -2
- package/dist/{useMessages-CkhrRmu7.js → useMessages-CYnyGVRG.js} +2 -0
- package/dist/{usePopover-ECHpsSRF.js → useOptionList-CPHHDvPF.js} +1475 -1475
- package/dist/vee-validate/FieldAutocomplete.vue.d.ts +20 -0
- package/dist/vee-validate/Form.vue.d.ts +2 -2
- package/dist/vee-validate/index.d.ts +3 -2
- package/dist/vee-validate/types.d.ts +4 -1
- package/dist/vee-validate/useFieldControl.d.ts +1 -1
- package/dist/vee-validate.js +71 -4
- package/dist/vue-i18n.js +1 -1
- package/package.json +2 -2
package/dist/componentNames.d.ts
CHANGED
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
* it from `@eldrajs/ui`, where it does not exist, and would pull an optional peer into a project
|
|
16
16
|
* that never installed it. `src/__tests__/veeValidateIsolation.spec.ts` asserts both halves.
|
|
17
17
|
*/
|
|
18
|
-
export declare const componentNames: readonly ["Accordion", "AccordionItem", "Avatar", "AvatarGroup", "Badge", "Breadcrumb", "Button", "ButtonGroup", "Carousel", "Checkbox", "CheckboxGroup", "Chip", "ChipGroup", "Container", "ContentCard", "CurrencyInput", "Dialog", "Drawer", "EditorPlaceholder", "EmptyState", "FeatureCard", "FieldWrapper", "FilterPanel", "FormLayout", "Icon", "Image", "Input", "Lightbox", "Link", "LoadMore", "LogoItem", "MultiSelect", "NavMenu", "Notice", "Pagination", "Popover", "Price", "ProductCard", "QuantityStepper", "Radio", "RadioGroup", "RangeSlider", "Rating", "SearchBar", "SearchModal", "Section", "Select", "SiteForm", "Skeleton", "Spinner", "StepIndicator", "StockBadge", "Switch", "Tab", "TabPanel", "TablerIcon", "Tabs", "Textarea", "Toast", "Toaster", "Tooltip", "UnitInput", "VariantPicker", "VisuallyHidden"];
|
|
18
|
+
export declare const componentNames: readonly ["Accordion", "AccordionItem", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Breadcrumb", "Button", "ButtonGroup", "Carousel", "Checkbox", "CheckboxGroup", "Chip", "ChipGroup", "Container", "ContentCard", "CurrencyInput", "Dialog", "Drawer", "EditorPlaceholder", "EmptyState", "FeatureCard", "FieldWrapper", "FilterPanel", "FormLayout", "Icon", "Image", "Input", "Lightbox", "Link", "LoadMore", "LogoItem", "MultiSelect", "NavMenu", "Notice", "Pagination", "Popover", "Price", "ProductCard", "QuantityStepper", "Radio", "RadioGroup", "RangeSlider", "Rating", "SearchBar", "SearchModal", "Section", "Select", "SiteForm", "Skeleton", "Spinner", "StepIndicator", "StockBadge", "Switch", "Tab", "TabPanel", "TablerIcon", "Tabs", "Textarea", "Toast", "Toaster", "Tooltip", "UnitInput", "VariantPicker", "VisuallyHidden"];
|
|
19
19
|
export type ComponentName = (typeof componentNames)[number];
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { AutocompleteOptionSlotProps, AutocompleteProps, AutocompleteSuggestion } from './types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
/** Draws a row's content in place of the label and description. */
|
|
4
|
+
option?: (props: AutocompleteOptionSlotProps) => unknown;
|
|
5
|
+
/** A line under the list, inside the panel: a data-source credit. */
|
|
6
|
+
footer?: () => unknown;
|
|
7
|
+
/** `Input`'s own three. */
|
|
8
|
+
leadingIcon?: () => unknown;
|
|
9
|
+
prefix?: () => unknown;
|
|
10
|
+
suffix?: () => unknown;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<AutocompleteProps, {
|
|
13
|
+
control: import('vue').ComputedRef<HTMLElement | null>;
|
|
14
|
+
focus: () => void | undefined;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
select: (suggestion: AutocompleteSuggestion) => any;
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
clear: () => any;
|
|
19
|
+
blur: (event: FocusEvent) => any;
|
|
20
|
+
focus: (event: FocusEvent) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<AutocompleteProps> & Readonly<{
|
|
22
|
+
onSelect?: ((suggestion: AutocompleteSuggestion) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
+
onClear?: (() => any) | undefined;
|
|
25
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
26
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
name: string;
|
|
29
|
+
size: import('../../index.js').InputSize;
|
|
30
|
+
modelValue: string;
|
|
31
|
+
classes: Partial<Record<import('./types.js').AutocompletePart, string>>;
|
|
32
|
+
required: boolean;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
suggestions: AutocompleteSuggestion[];
|
|
35
|
+
leadingIcon: import('../../index.js').IconComponent;
|
|
36
|
+
id: string;
|
|
37
|
+
placeholder: string;
|
|
38
|
+
autocomplete: string;
|
|
39
|
+
inputmode: string | false;
|
|
40
|
+
clearable: boolean;
|
|
41
|
+
invalid: boolean;
|
|
42
|
+
describedBy: string;
|
|
43
|
+
readonly: boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
messages: Partial<{
|
|
46
|
+
clear: string;
|
|
47
|
+
close: string;
|
|
48
|
+
closeDrawer: (name: string) => string;
|
|
49
|
+
closeSearch: string;
|
|
50
|
+
cancel: string;
|
|
51
|
+
clearSearch: string;
|
|
52
|
+
dismissNotification: string;
|
|
53
|
+
notifications: string;
|
|
54
|
+
loading: string;
|
|
55
|
+
optional: string;
|
|
56
|
+
required: string;
|
|
57
|
+
search: string;
|
|
58
|
+
selectPlaceholder: string;
|
|
59
|
+
multiSelectPlaceholder: string;
|
|
60
|
+
noResults: string;
|
|
61
|
+
noResultsFor: (query: string) => string;
|
|
62
|
+
noMatchesFor: (query: string) => string;
|
|
63
|
+
createOption: (query: string) => string;
|
|
64
|
+
moreSelected: (n: number) => string;
|
|
65
|
+
removeTag: (label: string) => string;
|
|
66
|
+
selected: string;
|
|
67
|
+
selectedCount: (n: number) => string;
|
|
68
|
+
noneSelected: string;
|
|
69
|
+
done: string;
|
|
70
|
+
selectAll: string;
|
|
71
|
+
decrease: string;
|
|
72
|
+
increase: string;
|
|
73
|
+
quantity: string;
|
|
74
|
+
quantityUpdated: (n: number) => string;
|
|
75
|
+
minimum: string;
|
|
76
|
+
maximum: string;
|
|
77
|
+
minimumOf: (name: string) => string;
|
|
78
|
+
maximumOf: (name: string) => string;
|
|
79
|
+
to: string;
|
|
80
|
+
opensInNewTab: string;
|
|
81
|
+
counter: (n: number, max: number) => string;
|
|
82
|
+
previous: string;
|
|
83
|
+
next: string;
|
|
84
|
+
pause: string;
|
|
85
|
+
play: string;
|
|
86
|
+
slideOf: (position: number, total: number) => string;
|
|
87
|
+
goToSlide: (n: number) => string;
|
|
88
|
+
slides: string;
|
|
89
|
+
slideInstructions: string;
|
|
90
|
+
closeLightbox: string;
|
|
91
|
+
previousImage: string;
|
|
92
|
+
nextImage: string;
|
|
93
|
+
imageOf: (position: number, total: number) => string;
|
|
94
|
+
goToImage: (n: number) => string;
|
|
95
|
+
lightboxImages: string;
|
|
96
|
+
charactersLeft: (n: number) => string;
|
|
97
|
+
overLimit: (n: number) => string;
|
|
98
|
+
soldOut: string;
|
|
99
|
+
newBadge: string;
|
|
100
|
+
quickAddLabel: string;
|
|
101
|
+
quickAdd: (title: string) => string;
|
|
102
|
+
loadingProduct: string;
|
|
103
|
+
swatchesAvailable: (n: number) => string;
|
|
104
|
+
noImage: string;
|
|
105
|
+
noImageAvailable: string;
|
|
106
|
+
stockistSite: string;
|
|
107
|
+
stockIn: string;
|
|
108
|
+
stockLow: (n: number | null) => string;
|
|
109
|
+
stockPreorder: (date?: string) => string;
|
|
110
|
+
salePrice: string;
|
|
111
|
+
regularPrice: string;
|
|
112
|
+
from: string;
|
|
113
|
+
perUnit: (per: string) => string;
|
|
114
|
+
updatingPrice: string;
|
|
115
|
+
updatingStock: string;
|
|
116
|
+
rating: (value: number, count: number) => string;
|
|
117
|
+
noReviews: string;
|
|
118
|
+
reviewCount: (n: number) => string;
|
|
119
|
+
searchTheShop: string;
|
|
120
|
+
searchSuggestions: string;
|
|
121
|
+
searchProducts: string;
|
|
122
|
+
searchCollections: string;
|
|
123
|
+
searchJournal: string;
|
|
124
|
+
searchAdvice: string;
|
|
125
|
+
recentSearches: string;
|
|
126
|
+
popularSearches: string;
|
|
127
|
+
clearRecent: string;
|
|
128
|
+
resultsCount: (n: number, query?: string) => string;
|
|
129
|
+
viewAllResults: (n: number, query?: string) => string;
|
|
130
|
+
searchLoading: string;
|
|
131
|
+
shortcutHint: string;
|
|
132
|
+
searchMoveHint: string;
|
|
133
|
+
searchOpenHint: string;
|
|
134
|
+
searchEscHint: string;
|
|
135
|
+
error: string;
|
|
136
|
+
tryAgain: string;
|
|
137
|
+
formErrors: (n: number) => string;
|
|
138
|
+
avatarGroup: (label: string, names: string[], more: number) => string;
|
|
139
|
+
learnMore: string;
|
|
140
|
+
breadcrumbLabel: string;
|
|
141
|
+
showMoreLevels: (n: number) => string;
|
|
142
|
+
navMenuLabel: string;
|
|
143
|
+
navMenuOpen: string;
|
|
144
|
+
navMenuDrawer: string;
|
|
145
|
+
navMenuOverview: (label: string) => string;
|
|
146
|
+
pagination: string;
|
|
147
|
+
previousPage: string;
|
|
148
|
+
nextPage: string;
|
|
149
|
+
pageN: (n: number, current?: boolean) => string;
|
|
150
|
+
pageOfTotal: (page: number, total: number) => string;
|
|
151
|
+
showingOf: (shown: number, total: number, noun: string) => string;
|
|
152
|
+
loadMore: string;
|
|
153
|
+
filterPanelTitle: string;
|
|
154
|
+
filterPanelLabel: string;
|
|
155
|
+
filterPanelClearAll: string;
|
|
156
|
+
filterPanelApplied: string;
|
|
157
|
+
filterPanelRemoveFilter: (facet: string, value: string) => string;
|
|
158
|
+
filterPanelShowAll: (n: number) => string;
|
|
159
|
+
filterPanelShowFewer: string;
|
|
160
|
+
filterPanelSearchLabel: (facet: string) => string;
|
|
161
|
+
filterPanelSearchPlaceholder: (facet: string) => string;
|
|
162
|
+
filterPanelValueName: (label: string, count: number) => string;
|
|
163
|
+
filterPanelSizeName: (system: string, label: string, count: number) => string;
|
|
164
|
+
filterPanelNoneAvailable: string;
|
|
165
|
+
filterPanelImpliedBy: (parent: string) => string;
|
|
166
|
+
filterPanelUnder: (parent: string) => string;
|
|
167
|
+
filterPanelSizeGuide: string;
|
|
168
|
+
filterPanelMin: string;
|
|
169
|
+
filterPanelMax: string;
|
|
170
|
+
filterPanelOrMore: string;
|
|
171
|
+
filterPanelShowResults: (n: number) => string;
|
|
172
|
+
filterPanelShowProducts: string;
|
|
173
|
+
formSubmit: string;
|
|
174
|
+
formSubmitting: string;
|
|
175
|
+
formLoading: string;
|
|
176
|
+
formLoadFailed: string;
|
|
177
|
+
formRequired: string;
|
|
178
|
+
formRequiredCheckbox: string;
|
|
179
|
+
formInvalidEmail: string;
|
|
180
|
+
formInvalidNumber: string;
|
|
181
|
+
formInvalidUrl: string;
|
|
182
|
+
formInvalidOption: string;
|
|
183
|
+
formInvalidFormat: string;
|
|
184
|
+
formTooShort: (min: number) => string;
|
|
185
|
+
formTooLong: (max: number) => string;
|
|
186
|
+
formRefused: string;
|
|
187
|
+
formRateLimited: string;
|
|
188
|
+
formTooLarge: string;
|
|
189
|
+
formUnavailable: string;
|
|
190
|
+
formSpamCheckRequired: string;
|
|
191
|
+
formSpamCheckFailed: string;
|
|
192
|
+
formSuccessTitle: string;
|
|
193
|
+
formPendingTitle: string;
|
|
194
|
+
formPendingMessage: string;
|
|
195
|
+
stepCompleted: string;
|
|
196
|
+
stepNotStarted: string;
|
|
197
|
+
suggestions: string;
|
|
198
|
+
phoneCountry: (name: string, code: string) => string;
|
|
199
|
+
phoneCountryList: string;
|
|
200
|
+
phoneSearch: string;
|
|
201
|
+
phoneSuggested: string;
|
|
202
|
+
phoneAllCountries: string;
|
|
203
|
+
phoneNoMatch: (query: string) => string;
|
|
204
|
+
phoneInvalid: (country: string) => string;
|
|
205
|
+
phoneInvalidNumber: string;
|
|
206
|
+
}>;
|
|
207
|
+
minLength: number;
|
|
208
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
209
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
210
|
+
declare const _default: typeof __VLS_export;
|
|
211
|
+
export default _default;
|
|
212
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
213
|
+
new (): {
|
|
214
|
+
$slots: S;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { UiMessages } from '../../messages/en-US.js';
|
|
2
|
+
import { InputPart, InputProps } from '../input/types.js';
|
|
3
|
+
/** One row of an `Autocomplete`'s list. */
|
|
4
|
+
export interface AutocompleteSuggestion {
|
|
5
|
+
/** Identifies the row. Unique within the list. */
|
|
6
|
+
value: string;
|
|
7
|
+
/** The row's main line, and the text the field takes when the row is chosen. */
|
|
8
|
+
label: string;
|
|
9
|
+
/** A muted second line under the label: "101 Reykjavík" under "Laugavegur 1". */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** Shown, but skipped by the arrow keys and not chosen by a press. */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The parts a consumer can restyle through `classes`: `Input`'s own, the panel's (named as
|
|
16
|
+
* `Select`'s panel names them), `busy` (the spinner shown while `loading`) and `footer`.
|
|
17
|
+
*/
|
|
18
|
+
export type AutocompletePart = InputPart | 'busy' | 'panel' | 'listbox' | 'option' | 'optionLabel' | 'optionDescription' | 'footer';
|
|
19
|
+
/** What the `option` slot receives. */
|
|
20
|
+
export interface AutocompleteOptionSlotProps {
|
|
21
|
+
suggestion: AutocompleteSuggestion;
|
|
22
|
+
/** Whether the row is the active one: under the pointer, or reached with the arrow keys. */
|
|
23
|
+
active: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Everything a text `Input` takes, except `type` (always `text`), `mask` and the `number` props.
|
|
27
|
+
* The value is always the text in the field: a suggestion is a help, never a requirement.
|
|
28
|
+
*/
|
|
29
|
+
export interface AutocompleteProps extends Omit<InputProps, 'type' | 'mask' | 'min' | 'max' | 'step' | 'classes'> {
|
|
30
|
+
/**
|
|
31
|
+
* The rows to offer for the text now in the field, supplied by the consumer (the component does
|
|
32
|
+
* no filtering). With none, the panel is closed.
|
|
33
|
+
*/
|
|
34
|
+
suggestions?: AutocompleteSuggestion[];
|
|
35
|
+
/**
|
|
36
|
+
* A wait for `suggestions` is in progress. A spinner shows in the field once the wait has lasted
|
|
37
|
+
* 300ms, and a panel that is already open keeps its rows until the answer arrives, even if
|
|
38
|
+
* `suggestions` is emptied meanwhile. A closed panel stays closed.
|
|
39
|
+
*/
|
|
40
|
+
loading?: boolean;
|
|
41
|
+
/** The panel does not open while the text is shorter than this. Defaults to `1`. */
|
|
42
|
+
minLength?: number;
|
|
43
|
+
/** Overrides for the component's own text: `suggestions`, the list's accessible name. */
|
|
44
|
+
messages?: Partial<UiMessages>;
|
|
45
|
+
/**
|
|
46
|
+
* Per-part classes, appended to the part's own (they win by cascade layer). Style the root with
|
|
47
|
+
* `class`.
|
|
48
|
+
*/
|
|
49
|
+
classes?: Partial<Record<AutocompletePart, string>>;
|
|
50
|
+
}
|
|
@@ -14,23 +14,23 @@ declare const __VLS_base: import('vue').DefineComponent<ButtonProps, {}, {}, {},
|
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
15
15
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
type: "button" | "
|
|
17
|
+
type: "button" | "reset" | "submit";
|
|
18
18
|
label: string;
|
|
19
19
|
size: ButtonSize;
|
|
20
20
|
href: string;
|
|
21
21
|
classes: Partial<Record<import('./types.js').ButtonPart, string>>;
|
|
22
|
-
icon: import('../../index.js').IconComponent;
|
|
23
22
|
to: string | Record<string, unknown>;
|
|
24
23
|
loading: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
block: boolean;
|
|
26
|
+
icon: import('../../index.js').IconComponent;
|
|
25
27
|
as: string | import('vue').Component;
|
|
26
28
|
iconLeft: import('../../index.js').IconComponent;
|
|
27
29
|
iconRight: import('../../index.js').IconComponent;
|
|
28
30
|
iconOnly: boolean;
|
|
29
31
|
spinnerPlacement: import('./types.js').ButtonSpinnerPlacement;
|
|
30
32
|
keepNameWhileLoading: boolean;
|
|
31
|
-
block: boolean;
|
|
32
33
|
pressed: boolean;
|
|
33
|
-
disabled: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_base: import('vue').DefineComponent<ContentCardProps, {}, {}
|
|
|
19
19
|
headingLevel: import('../../index.js').HeadingLevel;
|
|
20
20
|
classes: Partial<Record<import('./types.js').ContentCardPart, string>>;
|
|
21
21
|
loading: boolean;
|
|
22
|
+
date: string | null;
|
|
22
23
|
variant: ContentCardVariant;
|
|
23
24
|
linkAs: string | import('vue').Component;
|
|
24
|
-
date: string | null;
|
|
25
25
|
locale: string;
|
|
26
26
|
ratio: import('./types.js').ContentCardRatio;
|
|
27
27
|
eyebrow: string | null;
|
|
@@ -25,11 +25,11 @@ declare const __VLS_base: import('vue').DefineComponent<CarouselProps, {
|
|
|
25
25
|
}>, {
|
|
26
26
|
counter: boolean;
|
|
27
27
|
classes: Partial<Record<import('./types.js').CarouselPart, string>>;
|
|
28
|
+
draggable: boolean;
|
|
28
29
|
dots: boolean;
|
|
29
30
|
perView: number | import('./types.js').CarouselPerViewBreakpoints;
|
|
30
31
|
controls: import('./types.js').CarouselControls;
|
|
31
32
|
autoplay: number;
|
|
32
|
-
draggable: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
@@ -22,13 +22,13 @@ declare const __VLS_base: import('vue').DefineComponent<CheckboxProps, {}, {}, {
|
|
|
22
22
|
required: boolean;
|
|
23
23
|
error: string;
|
|
24
24
|
id: string;
|
|
25
|
-
disabled: boolean;
|
|
26
25
|
invalid: boolean;
|
|
26
|
+
describedBy: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
indeterminate: boolean;
|
|
27
29
|
controls: string;
|
|
28
30
|
requiredMark: boolean;
|
|
29
31
|
hint: string;
|
|
30
|
-
indeterminate: boolean;
|
|
31
|
-
describedBy: string;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
34
|
declare const _default: typeof __VLS_export;
|
|
@@ -21,7 +21,6 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
21
21
|
value: string;
|
|
22
22
|
size: ChipSize;
|
|
23
23
|
classes: Partial<Record<import('./types.js').ChipPart, string>>;
|
|
24
|
-
icon: import('../../index.js').IconComponent;
|
|
25
24
|
selected: boolean;
|
|
26
25
|
disabled: boolean;
|
|
27
26
|
messages: Partial<{
|
|
@@ -176,6 +175,7 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
176
175
|
formPendingMessage: string;
|
|
177
176
|
stepCompleted: string;
|
|
178
177
|
stepNotStarted: string;
|
|
178
|
+
suggestions: string;
|
|
179
179
|
phoneCountry: (name: string, code: string) => string;
|
|
180
180
|
phoneCountryList: string;
|
|
181
181
|
phoneSearch: string;
|
|
@@ -185,6 +185,7 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
185
185
|
phoneInvalid: (country: string) => string;
|
|
186
186
|
phoneInvalidNumber: string;
|
|
187
187
|
}>;
|
|
188
|
+
icon: import('../../index.js').IconComponent;
|
|
188
189
|
avatar: string | import('../../index.js').ImageMedia | null;
|
|
189
190
|
removable: boolean;
|
|
190
191
|
selectable: boolean;
|
|
@@ -6,8 +6,8 @@ declare const __VLS_template: () => {
|
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
8
|
declare const __VLS_base: import('vue').DefineComponent<ContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ContainerProps> & Readonly<{}>, {
|
|
9
|
-
as: string;
|
|
10
9
|
width: ContainerWidth;
|
|
10
|
+
as: string;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -176,6 +176,7 @@ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {
|
|
|
176
176
|
formPendingMessage: string;
|
|
177
177
|
stepCompleted: string;
|
|
178
178
|
stepNotStarted: string;
|
|
179
|
+
suggestions: string;
|
|
179
180
|
phoneCountry: (name: string, code: string) => string;
|
|
180
181
|
phoneCountryList: string;
|
|
181
182
|
phoneSearch: string;
|
|
@@ -24,8 +24,7 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
24
24
|
title: string;
|
|
25
25
|
modelValue: boolean;
|
|
26
26
|
classes: Partial<Record<import('./types.js').DrawerPart, string>>;
|
|
27
|
-
|
|
28
|
-
count: number;
|
|
27
|
+
width: string;
|
|
29
28
|
messages: Partial<{
|
|
30
29
|
clear: string;
|
|
31
30
|
close: string;
|
|
@@ -178,6 +177,7 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
178
177
|
formPendingMessage: string;
|
|
179
178
|
stepCompleted: string;
|
|
180
179
|
stepNotStarted: string;
|
|
180
|
+
suggestions: string;
|
|
181
181
|
phoneCountry: (name: string, code: string) => string;
|
|
182
182
|
phoneCountryList: string;
|
|
183
183
|
phoneSearch: string;
|
|
@@ -187,7 +187,8 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
187
187
|
phoneInvalid: (country: string) => string;
|
|
188
188
|
phoneInvalidNumber: string;
|
|
189
189
|
}>;
|
|
190
|
-
|
|
190
|
+
ariaLabel: string;
|
|
191
|
+
count: number;
|
|
191
192
|
side: import('./types.js').DrawerSide;
|
|
192
193
|
mobileSheet: boolean;
|
|
193
194
|
swipe: boolean;
|
|
@@ -21,8 +21,8 @@ declare const __VLS_base: import('vue').DefineComponent<FieldWrapperProps, {}, {
|
|
|
21
21
|
required: boolean;
|
|
22
22
|
optional: boolean;
|
|
23
23
|
error: string;
|
|
24
|
-
group: boolean;
|
|
25
24
|
id: string;
|
|
25
|
+
group: boolean;
|
|
26
26
|
full: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -188,6 +188,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
188
188
|
formPendingMessage: string;
|
|
189
189
|
stepCompleted: string;
|
|
190
190
|
stepNotStarted: string;
|
|
191
|
+
suggestions: string;
|
|
191
192
|
phoneCountry: (name: string, code: string) => string;
|
|
192
193
|
phoneCountryList: string;
|
|
193
194
|
phoneSearch: string;
|
|
@@ -35,28 +35,26 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
35
35
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
36
|
"update:modelValue": (selection: FilterSelection) => any;
|
|
37
37
|
clear: () => any;
|
|
38
|
+
apply: (selection: FilterSelection) => any;
|
|
38
39
|
change: (selection: FilterSelection) => any;
|
|
39
40
|
remove: (removal: {
|
|
40
41
|
facetId: string;
|
|
41
42
|
value: string;
|
|
42
43
|
}) => any;
|
|
43
|
-
apply: (selection: FilterSelection) => any;
|
|
44
44
|
}, string, import('vue').PublicProps, Readonly<FilterPanelProps> & Readonly<{
|
|
45
45
|
"onUpdate:modelValue"?: ((selection: FilterSelection) => any) | undefined;
|
|
46
46
|
onClear?: (() => any) | undefined;
|
|
47
|
+
onApply?: ((selection: FilterSelection) => any) | undefined;
|
|
47
48
|
onChange?: ((selection: FilterSelection) => any) | undefined;
|
|
48
49
|
onRemove?: ((removal: {
|
|
49
50
|
facetId: string;
|
|
50
51
|
value: string;
|
|
51
52
|
}) => any) | undefined;
|
|
52
|
-
onApply?: ((selection: FilterSelection) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
54
|
title: string;
|
|
55
55
|
label: string;
|
|
56
56
|
modelValue: FilterSelection;
|
|
57
57
|
classes: Partial<Record<import('./types.js').FilterPanelPart, string>>;
|
|
58
|
-
mode: import('./types.js').FilterPanelMode;
|
|
59
|
-
locale: string;
|
|
60
58
|
messages: Partial<{
|
|
61
59
|
clear: string;
|
|
62
60
|
close: string;
|
|
@@ -209,6 +207,7 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
209
207
|
formPendingMessage: string;
|
|
210
208
|
stepCompleted: string;
|
|
211
209
|
stepNotStarted: string;
|
|
210
|
+
suggestions: string;
|
|
212
211
|
phoneCountry: (name: string, code: string) => string;
|
|
213
212
|
phoneCountryList: string;
|
|
214
213
|
phoneSearch: string;
|
|
@@ -218,6 +217,8 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
218
217
|
phoneInvalid: (country: string) => string;
|
|
219
218
|
phoneInvalidNumber: string;
|
|
220
219
|
}>;
|
|
220
|
+
mode: import('./types.js').FilterPanelMode;
|
|
221
|
+
locale: string;
|
|
221
222
|
currency: string;
|
|
222
223
|
idPrefix: string;
|
|
223
224
|
dense: boolean;
|
|
@@ -157,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
157
157
|
formPendingMessage: string;
|
|
158
158
|
stepCompleted: string;
|
|
159
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
160
161
|
phoneCountry: (name: string, code: string) => string;
|
|
161
162
|
phoneCountryList: string;
|
|
162
163
|
phoneSearch: string;
|
|
@@ -157,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
157
157
|
formPendingMessage: string;
|
|
158
158
|
stepCompleted: string;
|
|
159
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
160
161
|
phoneCountry: (name: string, code: string) => string;
|
|
161
162
|
phoneCountryList: string;
|
|
162
163
|
phoneSearch: string;
|
|
@@ -11,7 +11,6 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
onCommit?: ((range: [number, number]) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
classes: Partial<Record<import('../types.js').FilterPanelPart, string>>;
|
|
14
|
-
locale: string;
|
|
15
14
|
messages: Partial<{
|
|
16
15
|
clear: string;
|
|
17
16
|
close: string;
|
|
@@ -164,6 +163,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
164
163
|
formPendingMessage: string;
|
|
165
164
|
stepCompleted: string;
|
|
166
165
|
stepNotStarted: string;
|
|
166
|
+
suggestions: string;
|
|
167
167
|
phoneCountry: (name: string, code: string) => string;
|
|
168
168
|
phoneCountryList: string;
|
|
169
169
|
phoneSearch: string;
|
|
@@ -173,6 +173,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
173
173
|
phoneInvalid: (country: string) => string;
|
|
174
174
|
phoneInvalidNumber: string;
|
|
175
175
|
}>;
|
|
176
|
+
locale: string;
|
|
176
177
|
currency: string;
|
|
177
178
|
dense: boolean;
|
|
178
179
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -157,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
157
157
|
formPendingMessage: string;
|
|
158
158
|
stepCompleted: string;
|
|
159
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
160
161
|
phoneCountry: (name: string, code: string) => string;
|
|
161
162
|
phoneCountryList: string;
|
|
162
163
|
phoneSearch: string;
|
|
@@ -157,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
157
157
|
formPendingMessage: string;
|
|
158
158
|
stepCompleted: string;
|
|
159
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
160
161
|
phoneCountry: (name: string, code: string) => string;
|
|
161
162
|
phoneCountryList: string;
|
|
162
163
|
phoneSearch: string;
|
|
@@ -10,11 +10,11 @@ declare const __VLS_template: () => {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<FormLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
submit: (payload: FormLayoutSubmitPayload) => any;
|
|
14
13
|
invalid: (ids: string[]) => any;
|
|
14
|
+
submit: (payload: FormLayoutSubmitPayload) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<FormLayoutProps> & Readonly<{
|
|
16
|
-
onSubmit?: ((payload: FormLayoutSubmitPayload) => any) | undefined;
|
|
17
16
|
onInvalid?: ((ids: string[]) => any) | undefined;
|
|
17
|
+
onSubmit?: ((payload: FormLayoutSubmitPayload) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
headingLevel: import('./types.js').FormLayoutHeadingLevel;
|
|
20
20
|
classes: Partial<Record<import('./types.js').FormLayoutPart, string>>;
|
|
@@ -4,17 +4,17 @@ declare const __VLS_export: import('vue').DefineComponent<ImageProps, {}, {}, {}
|
|
|
4
4
|
rounded: "none" | "lg" | "xl";
|
|
5
5
|
zoom: number;
|
|
6
6
|
classes: Partial<Record<import('./types.js').ImagePart, string>>;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
alt: string;
|
|
9
|
+
fit: "cover" | "contain";
|
|
7
10
|
media: import('./types.js').ImageMedia | null;
|
|
8
11
|
focal: {
|
|
9
12
|
x: number;
|
|
10
13
|
y: number;
|
|
11
14
|
};
|
|
12
15
|
decorative: boolean;
|
|
13
|
-
alt: string;
|
|
14
|
-
loading: boolean;
|
|
15
16
|
sizes: string;
|
|
16
17
|
ratio: number | import('./types.js').ImageRatio;
|
|
17
|
-
fit: "cover" | "contain";
|
|
18
18
|
zoomOrigin: "band" | "focal";
|
|
19
19
|
crops: ImageCrop[];
|
|
20
20
|
priority: boolean;
|
|
@@ -30,19 +30,19 @@ declare const __VLS_base: import('vue').DefineComponent<InputProps, {
|
|
|
30
30
|
modelValue: string;
|
|
31
31
|
classes: Partial<Record<import('./types.js').InputPart, string>>;
|
|
32
32
|
required: boolean;
|
|
33
|
+
leadingIcon: import('../../index.js').IconComponent;
|
|
34
|
+
id: string;
|
|
33
35
|
placeholder: string;
|
|
36
|
+
autocomplete: string;
|
|
37
|
+
inputmode: string | false;
|
|
38
|
+
min: number;
|
|
34
39
|
max: number;
|
|
35
|
-
id: string;
|
|
36
40
|
step: number;
|
|
37
|
-
|
|
38
|
-
disabled: boolean;
|
|
41
|
+
clearable: boolean;
|
|
39
42
|
invalid: boolean;
|
|
40
|
-
inputmode: string | false;
|
|
41
43
|
describedBy: string;
|
|
42
|
-
min: number;
|
|
43
|
-
clearable: boolean;
|
|
44
44
|
readonly: boolean;
|
|
45
|
-
|
|
45
|
+
disabled: boolean;
|
|
46
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
48
48
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,7 +11,6 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
11
11
|
}>, {
|
|
12
12
|
modelValue: boolean;
|
|
13
13
|
classes: Partial<Record<import('./types.js').LightboxPart, string>>;
|
|
14
|
-
index: number;
|
|
15
14
|
messages: Partial<{
|
|
16
15
|
clear: string;
|
|
17
16
|
close: string;
|
|
@@ -164,6 +163,7 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
164
163
|
formPendingMessage: string;
|
|
165
164
|
stepCompleted: string;
|
|
166
165
|
stepNotStarted: string;
|
|
166
|
+
suggestions: string;
|
|
167
167
|
phoneCountry: (name: string, code: string) => string;
|
|
168
168
|
phoneCountryList: string;
|
|
169
169
|
phoneSearch: string;
|
|
@@ -173,6 +173,7 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
173
173
|
phoneInvalid: (country: string) => string;
|
|
174
174
|
phoneInvalidNumber: string;
|
|
175
175
|
}>;
|
|
176
|
+
index: number;
|
|
176
177
|
thumbnails: boolean;
|
|
177
178
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
178
179
|
declare const _default: typeof __VLS_export;
|