@eldrajs/ui 0.3.8 → 0.3.10
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 +5 -0
- package/LICENSE-country-flag-icons +1 -1
- package/README.md +93 -4
- package/dist/CountryFlag-DOa8lOHp.js +71 -0
- package/dist/{PhoneInput-CYGpERg4.js → PhoneInput-BVH32MEg.js} +8 -62
- package/dist/{VariantPicker-D_Gg80So.js → VariantPicker-CKDdeFmV.js} +2962 -2531
- 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 +3 -1
- package/dist/components/container/Container.vue.d.ts +1 -1
- package/dist/components/dialog/Dialog.vue.d.ts +2 -0
- package/dist/components/drawer/Drawer.vue.d.ts +5 -3
- package/dist/components/field-wrapper/FieldWrapper.vue.d.ts +1 -1
- package/dist/components/filter-panel/FilterGroup.vue.d.ts +2 -0
- package/dist/components/filter-panel/FilterPanel.vue.d.ts +6 -4
- package/dist/components/filter-panel/facets/ColourFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/ListFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/RangeFacet.vue.d.ts +3 -1
- package/dist/components/filter-panel/facets/SizeFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/ToggleFacet.vue.d.ts +2 -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 +3 -1
- package/dist/components/nav-menu/NavMenu.vue.d.ts +5 -3
- package/dist/components/pagination/Pagination.vue.d.ts +4 -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 +3 -1
- package/dist/components/search-bar/SearchBar.vue.d.ts +5 -3
- package/dist/components/search-bar/SearchResultsPanel.vue.d.ts +1 -1
- package/dist/components/search-modal/SearchModal.vue.d.ts +4 -2
- package/dist/components/select/MultiSelect.vue.d.ts +13 -10
- package/dist/components/select/Select.vue.d.ts +13 -11
- package/dist/components/select/SelectPanel.vue.d.ts +1 -1
- package/dist/components/select/types.d.ts +7 -1
- package/dist/components/site-form/SiteForm.vue.d.ts +2 -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 +3 -1
- package/dist/components/toast/Toaster.vue.d.ts +2 -0
- package/dist/components/unit-input/UnitInput.vue.d.ts +6 -6
- package/dist/{phone/PhoneFlag.vue.d.ts → flag/CountryFlag.vue.d.ts} +3 -0
- package/dist/flag/flags.d.ts +8 -0
- package/dist/flag/index.d.ts +9 -0
- package/dist/flag.js +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -4
- package/dist/messages/en-US.d.ts +4 -0
- package/dist/messages/is-IS.js +2 -0
- package/dist/phone/PhoneInput.vue.d.ts +8 -6
- package/dist/phone/index.d.ts +1 -1
- package/dist/phone/vee-validate.js +4 -4
- package/dist/phone.js +3 -1
- package/dist/resolver.d.ts +8 -2
- package/dist/resolver.js +14 -2
- package/dist/useEldraScope-BDbGzt7R.js +32 -0
- package/dist/{useFieldControl-D_b9SC9s.js → useFieldControl-CGH6GEWM.js} +2 -2
- package/dist/{useMessages-DQQPh1P_.js → useMessages-CYnyGVRG.js} +4 -0
- package/dist/{usePopover-4CQR2hB5.js → useOptionList-CPHHDvPF.js} +1477 -1506
- 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 +73 -5
- package/dist/vue-i18n.js +1 -1
- package/package.json +6 -2
- package/dist/phone/flags.d.ts +0 -8
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<{
|
|
@@ -49,6 +48,7 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
49
48
|
selectedCount: (n: number) => string;
|
|
50
49
|
noneSelected: string;
|
|
51
50
|
done: string;
|
|
51
|
+
selectAll: string;
|
|
52
52
|
decrease: string;
|
|
53
53
|
increase: string;
|
|
54
54
|
quantity: string;
|
|
@@ -175,6 +175,7 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
175
175
|
formPendingMessage: string;
|
|
176
176
|
stepCompleted: string;
|
|
177
177
|
stepNotStarted: string;
|
|
178
|
+
suggestions: string;
|
|
178
179
|
phoneCountry: (name: string, code: string) => string;
|
|
179
180
|
phoneCountryList: string;
|
|
180
181
|
phoneSearch: string;
|
|
@@ -184,6 +185,7 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
184
185
|
phoneInvalid: (country: string) => string;
|
|
185
186
|
phoneInvalidNumber: string;
|
|
186
187
|
}>;
|
|
188
|
+
icon: import('../../index.js').IconComponent;
|
|
187
189
|
avatar: string | import('../../index.js').ImageMedia | null;
|
|
188
190
|
removable: boolean;
|
|
189
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;
|
|
@@ -49,6 +49,7 @@ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {
|
|
|
49
49
|
selectedCount: (n: number) => string;
|
|
50
50
|
noneSelected: string;
|
|
51
51
|
done: string;
|
|
52
|
+
selectAll: string;
|
|
52
53
|
decrease: string;
|
|
53
54
|
increase: string;
|
|
54
55
|
quantity: string;
|
|
@@ -175,6 +176,7 @@ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {
|
|
|
175
176
|
formPendingMessage: string;
|
|
176
177
|
stepCompleted: string;
|
|
177
178
|
stepNotStarted: string;
|
|
179
|
+
suggestions: string;
|
|
178
180
|
phoneCountry: (name: string, code: string) => string;
|
|
179
181
|
phoneCountryList: string;
|
|
180
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;
|
|
@@ -51,6 +50,7 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
51
50
|
selectedCount: (n: number) => string;
|
|
52
51
|
noneSelected: string;
|
|
53
52
|
done: string;
|
|
53
|
+
selectAll: string;
|
|
54
54
|
decrease: string;
|
|
55
55
|
increase: string;
|
|
56
56
|
quantity: string;
|
|
@@ -177,6 +177,7 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
177
177
|
formPendingMessage: string;
|
|
178
178
|
stepCompleted: string;
|
|
179
179
|
stepNotStarted: string;
|
|
180
|
+
suggestions: string;
|
|
180
181
|
phoneCountry: (name: string, code: string) => string;
|
|
181
182
|
phoneCountryList: string;
|
|
182
183
|
phoneSearch: string;
|
|
@@ -186,7 +187,8 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
186
187
|
phoneInvalid: (country: string) => string;
|
|
187
188
|
phoneInvalidNumber: string;
|
|
188
189
|
}>;
|
|
189
|
-
|
|
190
|
+
ariaLabel: string;
|
|
191
|
+
count: number;
|
|
190
192
|
side: import('./types.js').DrawerSide;
|
|
191
193
|
mobileSheet: boolean;
|
|
192
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>;
|
|
@@ -61,6 +61,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
61
61
|
selectedCount: (n: number) => string;
|
|
62
62
|
noneSelected: string;
|
|
63
63
|
done: string;
|
|
64
|
+
selectAll: string;
|
|
64
65
|
decrease: string;
|
|
65
66
|
increase: string;
|
|
66
67
|
quantity: string;
|
|
@@ -187,6 +188,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
187
188
|
formPendingMessage: string;
|
|
188
189
|
stepCompleted: string;
|
|
189
190
|
stepNotStarted: string;
|
|
191
|
+
suggestions: string;
|
|
190
192
|
phoneCountry: (name: string, code: string) => string;
|
|
191
193
|
phoneCountryList: string;
|
|
192
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;
|
|
@@ -82,6 +80,7 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
82
80
|
selectedCount: (n: number) => string;
|
|
83
81
|
noneSelected: string;
|
|
84
82
|
done: string;
|
|
83
|
+
selectAll: string;
|
|
85
84
|
decrease: string;
|
|
86
85
|
increase: string;
|
|
87
86
|
quantity: string;
|
|
@@ -208,6 +207,7 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
208
207
|
formPendingMessage: string;
|
|
209
208
|
stepCompleted: string;
|
|
210
209
|
stepNotStarted: string;
|
|
210
|
+
suggestions: string;
|
|
211
211
|
phoneCountry: (name: string, code: string) => string;
|
|
212
212
|
phoneCountryList: string;
|
|
213
213
|
phoneSearch: string;
|
|
@@ -217,6 +217,8 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
217
217
|
phoneInvalid: (country: string) => string;
|
|
218
218
|
phoneInvalidNumber: string;
|
|
219
219
|
}>;
|
|
220
|
+
mode: import('./types.js').FilterPanelMode;
|
|
221
|
+
locale: string;
|
|
220
222
|
currency: string;
|
|
221
223
|
idPrefix: string;
|
|
222
224
|
dense: boolean;
|
|
@@ -30,6 +30,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
30
30
|
selectedCount: (n: number) => string;
|
|
31
31
|
noneSelected: string;
|
|
32
32
|
done: string;
|
|
33
|
+
selectAll: string;
|
|
33
34
|
decrease: string;
|
|
34
35
|
increase: string;
|
|
35
36
|
quantity: string;
|
|
@@ -156,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
159
161
|
phoneCountry: (name: string, code: string) => string;
|
|
160
162
|
phoneCountryList: string;
|
|
161
163
|
phoneSearch: string;
|
|
@@ -30,6 +30,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
30
30
|
selectedCount: (n: number) => string;
|
|
31
31
|
noneSelected: string;
|
|
32
32
|
done: string;
|
|
33
|
+
selectAll: string;
|
|
33
34
|
decrease: string;
|
|
34
35
|
increase: string;
|
|
35
36
|
quantity: string;
|
|
@@ -156,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
159
161
|
phoneCountry: (name: string, code: string) => string;
|
|
160
162
|
phoneCountryList: string;
|
|
161
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;
|
|
@@ -37,6 +36,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
37
36
|
selectedCount: (n: number) => string;
|
|
38
37
|
noneSelected: string;
|
|
39
38
|
done: string;
|
|
39
|
+
selectAll: string;
|
|
40
40
|
decrease: string;
|
|
41
41
|
increase: string;
|
|
42
42
|
quantity: string;
|
|
@@ -163,6 +163,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
163
163
|
formPendingMessage: string;
|
|
164
164
|
stepCompleted: string;
|
|
165
165
|
stepNotStarted: string;
|
|
166
|
+
suggestions: string;
|
|
166
167
|
phoneCountry: (name: string, code: string) => string;
|
|
167
168
|
phoneCountryList: string;
|
|
168
169
|
phoneSearch: string;
|
|
@@ -172,6 +173,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
172
173
|
phoneInvalid: (country: string) => string;
|
|
173
174
|
phoneInvalidNumber: string;
|
|
174
175
|
}>;
|
|
176
|
+
locale: string;
|
|
175
177
|
currency: string;
|
|
176
178
|
dense: boolean;
|
|
177
179
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -30,6 +30,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
30
30
|
selectedCount: (n: number) => string;
|
|
31
31
|
noneSelected: string;
|
|
32
32
|
done: string;
|
|
33
|
+
selectAll: string;
|
|
33
34
|
decrease: string;
|
|
34
35
|
increase: string;
|
|
35
36
|
quantity: string;
|
|
@@ -156,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
159
161
|
phoneCountry: (name: string, code: string) => string;
|
|
160
162
|
phoneCountryList: string;
|
|
161
163
|
phoneSearch: string;
|
|
@@ -30,6 +30,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
30
30
|
selectedCount: (n: number) => string;
|
|
31
31
|
noneSelected: string;
|
|
32
32
|
done: string;
|
|
33
|
+
selectAll: string;
|
|
33
34
|
decrease: string;
|
|
34
35
|
increase: string;
|
|
35
36
|
quantity: string;
|
|
@@ -156,6 +157,7 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
suggestions: string;
|
|
159
161
|
phoneCountry: (name: string, code: string) => string;
|
|
160
162
|
phoneCountryList: string;
|
|
161
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;
|