@eldrajs/ui 0.3.7 → 0.3.9
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 +6 -0
- package/LICENSE-country-flag-icons +25 -0
- package/README.md +274 -66
- package/dist/CountryFlag-DOa8lOHp.js +71 -0
- package/dist/PhoneInput-CX83wgD0.js +695 -0
- package/dist/{VariantPicker-Cr_AkX47.js → VariantPicker-BqLbiONX.js} +122 -2302
- package/dist/components/chip/Chip.vue.d.ts +9 -0
- package/dist/components/dialog/Dialog.vue.d.ts +9 -0
- package/dist/components/drawer/Drawer.vue.d.ts +9 -0
- package/dist/components/filter-panel/FilterGroup.vue.d.ts +9 -0
- package/dist/components/filter-panel/FilterPanel.vue.d.ts +9 -0
- package/dist/components/filter-panel/facets/ColourFacet.vue.d.ts +9 -0
- package/dist/components/filter-panel/facets/ListFacet.vue.d.ts +9 -0
- package/dist/components/filter-panel/facets/RangeFacet.vue.d.ts +9 -0
- package/dist/components/filter-panel/facets/SizeFacet.vue.d.ts +9 -0
- package/dist/components/filter-panel/facets/ToggleFacet.vue.d.ts +9 -0
- package/dist/components/lightbox/Lightbox.vue.d.ts +9 -0
- package/dist/components/nav-menu/NavMenu.vue.d.ts +9 -0
- package/dist/components/pagination/Pagination.vue.d.ts +9 -0
- package/dist/components/range-slider/RangeSlider.vue.d.ts +9 -0
- package/dist/components/search-bar/SearchBar.vue.d.ts +9 -0
- package/dist/components/search-modal/SearchModal.vue.d.ts +9 -0
- package/dist/components/select/MultiSelect.vue.d.ts +10 -0
- package/dist/components/select/Select.vue.d.ts +9 -0
- package/dist/components/select/types.d.ts +7 -1
- package/dist/components/site-form/SiteForm.vue.d.ts +9 -0
- package/dist/components/toast/Toast.vue.d.ts +9 -0
- package/dist/components/toast/Toaster.vue.d.ts +9 -0
- package/dist/components.css +64 -0
- package/dist/flag/CountryFlag.vue.d.ts +9 -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.js +4 -2
- package/dist/messages/en-US.d.ts +21 -0
- package/dist/messages/is-IS.js +10 -1
- package/dist/phone/PhoneInput.vue.d.ts +221 -0
- package/dist/phone/caret.d.ts +14 -0
- package/dist/phone/examples.d.ts +2 -0
- package/dist/phone/index.d.ts +13 -0
- package/dist/phone/phone.d.ts +62 -0
- package/dist/phone/phoneFlagData.d.ts +2 -0
- package/dist/phone/rule.d.ts +22 -0
- package/dist/phone/types.d.ts +63 -0
- package/dist/phone/vee-validate/FieldPhoneInput.vue.d.ts +24 -0
- package/dist/phone/vee-validate/index.d.ts +3 -0
- package/dist/phone/vee-validate/types.d.ts +3 -0
- package/dist/phone/vee-validate.js +96 -0
- package/dist/phone.js +3 -0
- package/dist/phoneFlagData-D9dDT2uC.js +261 -0
- package/dist/resolver.d.ts +15 -2
- package/dist/resolver.js +26 -4
- package/dist/style.css +64 -0
- package/dist/useEldraScope-BDbGzt7R.js +32 -0
- package/dist/useFieldControl-D1j54YON.js +273 -0
- package/dist/{useMessages-DOHGfip_.js → useMessages-CkhrRmu7.js} +22 -1
- package/dist/usePopover-ECHpsSRF.js +2199 -0
- package/dist/utilities.css +37 -0
- package/dist/vee-validate.js +7 -273
- package/dist/vue-i18n.js +4 -1
- package/package.json +23 -2
|
@@ -49,6 +49,7 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
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,14 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
175
176
|
formPendingMessage: string;
|
|
176
177
|
stepCompleted: string;
|
|
177
178
|
stepNotStarted: string;
|
|
179
|
+
phoneCountry: (name: string, code: string) => string;
|
|
180
|
+
phoneCountryList: string;
|
|
181
|
+
phoneSearch: string;
|
|
182
|
+
phoneSuggested: string;
|
|
183
|
+
phoneAllCountries: string;
|
|
184
|
+
phoneNoMatch: (query: string) => string;
|
|
185
|
+
phoneInvalid: (country: string) => string;
|
|
186
|
+
phoneInvalidNumber: string;
|
|
178
187
|
}>;
|
|
179
188
|
avatar: string | import('../../index.js').ImageMedia | null;
|
|
180
189
|
removable: boolean;
|
|
@@ -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,14 @@ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {
|
|
|
175
176
|
formPendingMessage: string;
|
|
176
177
|
stepCompleted: string;
|
|
177
178
|
stepNotStarted: string;
|
|
179
|
+
phoneCountry: (name: string, code: string) => string;
|
|
180
|
+
phoneCountryList: string;
|
|
181
|
+
phoneSearch: string;
|
|
182
|
+
phoneSuggested: string;
|
|
183
|
+
phoneAllCountries: string;
|
|
184
|
+
phoneNoMatch: (query: string) => string;
|
|
185
|
+
phoneInvalid: (country: string) => string;
|
|
186
|
+
phoneInvalidNumber: string;
|
|
178
187
|
}>;
|
|
179
188
|
description: string;
|
|
180
189
|
dismissable: boolean;
|
|
@@ -51,6 +51,7 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
51
51
|
selectedCount: (n: number) => string;
|
|
52
52
|
noneSelected: string;
|
|
53
53
|
done: string;
|
|
54
|
+
selectAll: string;
|
|
54
55
|
decrease: string;
|
|
55
56
|
increase: string;
|
|
56
57
|
quantity: string;
|
|
@@ -177,6 +178,14 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
177
178
|
formPendingMessage: string;
|
|
178
179
|
stepCompleted: string;
|
|
179
180
|
stepNotStarted: string;
|
|
181
|
+
phoneCountry: (name: string, code: string) => string;
|
|
182
|
+
phoneCountryList: string;
|
|
183
|
+
phoneSearch: string;
|
|
184
|
+
phoneSuggested: string;
|
|
185
|
+
phoneAllCountries: string;
|
|
186
|
+
phoneNoMatch: (query: string) => string;
|
|
187
|
+
phoneInvalid: (country: string) => string;
|
|
188
|
+
phoneInvalidNumber: string;
|
|
180
189
|
}>;
|
|
181
190
|
width: string;
|
|
182
191
|
side: import('./types.js').DrawerSide;
|
|
@@ -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,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
187
188
|
formPendingMessage: string;
|
|
188
189
|
stepCompleted: string;
|
|
189
190
|
stepNotStarted: string;
|
|
191
|
+
phoneCountry: (name: string, code: string) => string;
|
|
192
|
+
phoneCountryList: string;
|
|
193
|
+
phoneSearch: string;
|
|
194
|
+
phoneSuggested: string;
|
|
195
|
+
phoneAllCountries: string;
|
|
196
|
+
phoneNoMatch: (query: string) => string;
|
|
197
|
+
phoneInvalid: (country: string) => string;
|
|
198
|
+
phoneInvalidNumber: string;
|
|
190
199
|
}>;
|
|
191
200
|
topRule: boolean;
|
|
192
201
|
escCollapses: boolean;
|
|
@@ -82,6 +82,7 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
82
82
|
selectedCount: (n: number) => string;
|
|
83
83
|
noneSelected: string;
|
|
84
84
|
done: string;
|
|
85
|
+
selectAll: string;
|
|
85
86
|
decrease: string;
|
|
86
87
|
increase: string;
|
|
87
88
|
quantity: string;
|
|
@@ -208,6 +209,14 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
208
209
|
formPendingMessage: string;
|
|
209
210
|
stepCompleted: string;
|
|
210
211
|
stepNotStarted: string;
|
|
212
|
+
phoneCountry: (name: string, code: string) => string;
|
|
213
|
+
phoneCountryList: string;
|
|
214
|
+
phoneSearch: string;
|
|
215
|
+
phoneSuggested: string;
|
|
216
|
+
phoneAllCountries: string;
|
|
217
|
+
phoneNoMatch: (query: string) => string;
|
|
218
|
+
phoneInvalid: (country: string) => string;
|
|
219
|
+
phoneInvalidNumber: string;
|
|
211
220
|
}>;
|
|
212
221
|
currency: string;
|
|
213
222
|
idPrefix: 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,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
phoneCountry: (name: string, code: string) => string;
|
|
161
|
+
phoneCountryList: string;
|
|
162
|
+
phoneSearch: string;
|
|
163
|
+
phoneSuggested: string;
|
|
164
|
+
phoneAllCountries: string;
|
|
165
|
+
phoneNoMatch: (query: string) => string;
|
|
166
|
+
phoneInvalid: (country: string) => string;
|
|
167
|
+
phoneInvalidNumber: string;
|
|
159
168
|
}>;
|
|
160
169
|
dense: boolean;
|
|
161
170
|
}, {}, {}, {}, 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,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
phoneCountry: (name: string, code: string) => string;
|
|
161
|
+
phoneCountryList: string;
|
|
162
|
+
phoneSearch: string;
|
|
163
|
+
phoneSuggested: string;
|
|
164
|
+
phoneAllCountries: string;
|
|
165
|
+
phoneNoMatch: (query: string) => string;
|
|
166
|
+
phoneInvalid: (country: string) => string;
|
|
167
|
+
phoneInvalidNumber: string;
|
|
159
168
|
}>;
|
|
160
169
|
dense: boolean;
|
|
161
170
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -37,6 +37,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
37
37
|
selectedCount: (n: number) => string;
|
|
38
38
|
noneSelected: string;
|
|
39
39
|
done: string;
|
|
40
|
+
selectAll: string;
|
|
40
41
|
decrease: string;
|
|
41
42
|
increase: string;
|
|
42
43
|
quantity: string;
|
|
@@ -163,6 +164,14 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
163
164
|
formPendingMessage: string;
|
|
164
165
|
stepCompleted: string;
|
|
165
166
|
stepNotStarted: string;
|
|
167
|
+
phoneCountry: (name: string, code: string) => string;
|
|
168
|
+
phoneCountryList: string;
|
|
169
|
+
phoneSearch: string;
|
|
170
|
+
phoneSuggested: string;
|
|
171
|
+
phoneAllCountries: string;
|
|
172
|
+
phoneNoMatch: (query: string) => string;
|
|
173
|
+
phoneInvalid: (country: string) => string;
|
|
174
|
+
phoneInvalidNumber: string;
|
|
166
175
|
}>;
|
|
167
176
|
currency: string;
|
|
168
177
|
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,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
phoneCountry: (name: string, code: string) => string;
|
|
161
|
+
phoneCountryList: string;
|
|
162
|
+
phoneSearch: string;
|
|
163
|
+
phoneSuggested: string;
|
|
164
|
+
phoneAllCountries: string;
|
|
165
|
+
phoneNoMatch: (query: string) => string;
|
|
166
|
+
phoneInvalid: (country: string) => string;
|
|
167
|
+
phoneInvalidNumber: string;
|
|
159
168
|
}>;
|
|
160
169
|
dense: boolean;
|
|
161
170
|
}, {}, {}, {}, 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,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
157
|
formPendingMessage: string;
|
|
157
158
|
stepCompleted: string;
|
|
158
159
|
stepNotStarted: string;
|
|
160
|
+
phoneCountry: (name: string, code: string) => string;
|
|
161
|
+
phoneCountryList: string;
|
|
162
|
+
phoneSearch: string;
|
|
163
|
+
phoneSuggested: string;
|
|
164
|
+
phoneAllCountries: string;
|
|
165
|
+
phoneNoMatch: (query: string) => string;
|
|
166
|
+
phoneInvalid: (country: string) => string;
|
|
167
|
+
phoneInvalidNumber: string;
|
|
159
168
|
}>;
|
|
160
169
|
dense: boolean;
|
|
161
170
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -37,6 +37,7 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
37
37
|
selectedCount: (n: number) => string;
|
|
38
38
|
noneSelected: string;
|
|
39
39
|
done: string;
|
|
40
|
+
selectAll: string;
|
|
40
41
|
decrease: string;
|
|
41
42
|
increase: string;
|
|
42
43
|
quantity: string;
|
|
@@ -163,6 +164,14 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
163
164
|
formPendingMessage: string;
|
|
164
165
|
stepCompleted: string;
|
|
165
166
|
stepNotStarted: string;
|
|
167
|
+
phoneCountry: (name: string, code: string) => string;
|
|
168
|
+
phoneCountryList: string;
|
|
169
|
+
phoneSearch: string;
|
|
170
|
+
phoneSuggested: string;
|
|
171
|
+
phoneAllCountries: string;
|
|
172
|
+
phoneNoMatch: (query: string) => string;
|
|
173
|
+
phoneInvalid: (country: string) => string;
|
|
174
|
+
phoneInvalidNumber: string;
|
|
166
175
|
}>;
|
|
167
176
|
thumbnails: boolean;
|
|
168
177
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -69,6 +69,7 @@ declare const __VLS_base: import('vue').DefineComponent<NavMenuProps, {
|
|
|
69
69
|
selectedCount: (n: number) => string;
|
|
70
70
|
noneSelected: string;
|
|
71
71
|
done: string;
|
|
72
|
+
selectAll: string;
|
|
72
73
|
decrease: string;
|
|
73
74
|
increase: string;
|
|
74
75
|
quantity: string;
|
|
@@ -195,6 +196,14 @@ declare const __VLS_base: import('vue').DefineComponent<NavMenuProps, {
|
|
|
195
196
|
formPendingMessage: string;
|
|
196
197
|
stepCompleted: string;
|
|
197
198
|
stepNotStarted: string;
|
|
199
|
+
phoneCountry: (name: string, code: string) => string;
|
|
200
|
+
phoneCountryList: string;
|
|
201
|
+
phoneSearch: string;
|
|
202
|
+
phoneSuggested: string;
|
|
203
|
+
phoneAllCountries: string;
|
|
204
|
+
phoneNoMatch: (query: string) => string;
|
|
205
|
+
phoneInvalid: (country: string) => string;
|
|
206
|
+
phoneInvalidNumber: string;
|
|
198
207
|
}>;
|
|
199
208
|
drawerOpen: boolean;
|
|
200
209
|
collapseBelow: NavMenuCollapse;
|
|
@@ -33,6 +33,7 @@ declare const __VLS_export: import('vue').DefineComponent<PaginationProps, {}, {
|
|
|
33
33
|
selectedCount: (n: number) => string;
|
|
34
34
|
noneSelected: string;
|
|
35
35
|
done: string;
|
|
36
|
+
selectAll: string;
|
|
36
37
|
decrease: string;
|
|
37
38
|
increase: string;
|
|
38
39
|
quantity: string;
|
|
@@ -159,6 +160,14 @@ declare const __VLS_export: import('vue').DefineComponent<PaginationProps, {}, {
|
|
|
159
160
|
formPendingMessage: string;
|
|
160
161
|
stepCompleted: string;
|
|
161
162
|
stepNotStarted: string;
|
|
163
|
+
phoneCountry: (name: string, code: string) => string;
|
|
164
|
+
phoneCountryList: string;
|
|
165
|
+
phoneSearch: string;
|
|
166
|
+
phoneSuggested: string;
|
|
167
|
+
phoneAllCountries: string;
|
|
168
|
+
phoneNoMatch: (query: string) => string;
|
|
169
|
+
phoneInvalid: (country: string) => string;
|
|
170
|
+
phoneInvalidNumber: string;
|
|
162
171
|
}>;
|
|
163
172
|
compact: boolean;
|
|
164
173
|
siblings: number;
|
|
@@ -53,6 +53,7 @@ declare const __VLS_base: import('vue').DefineComponent<RangeSliderProps, {}, {}
|
|
|
53
53
|
selectedCount: (n: number) => string;
|
|
54
54
|
noneSelected: string;
|
|
55
55
|
done: string;
|
|
56
|
+
selectAll: string;
|
|
56
57
|
decrease: string;
|
|
57
58
|
increase: string;
|
|
58
59
|
quantity: string;
|
|
@@ -179,6 +180,14 @@ declare const __VLS_base: import('vue').DefineComponent<RangeSliderProps, {}, {}
|
|
|
179
180
|
formPendingMessage: string;
|
|
180
181
|
stepCompleted: string;
|
|
181
182
|
stepNotStarted: string;
|
|
183
|
+
phoneCountry: (name: string, code: string) => string;
|
|
184
|
+
phoneCountryList: string;
|
|
185
|
+
phoneSearch: string;
|
|
186
|
+
phoneSuggested: string;
|
|
187
|
+
phoneAllCountries: string;
|
|
188
|
+
phoneNoMatch: (query: string) => string;
|
|
189
|
+
phoneInvalid: (country: string) => string;
|
|
190
|
+
phoneInvalidNumber: string;
|
|
182
191
|
}>;
|
|
183
192
|
min: number;
|
|
184
193
|
formatValue: (value: number, end?: RangeSliderEnd) => string;
|
|
@@ -55,6 +55,7 @@ declare const __VLS_base: import('vue').DefineComponent<SearchBarProps, {}, {},
|
|
|
55
55
|
selectedCount: (n: number) => string;
|
|
56
56
|
noneSelected: string;
|
|
57
57
|
done: string;
|
|
58
|
+
selectAll: string;
|
|
58
59
|
decrease: string;
|
|
59
60
|
increase: string;
|
|
60
61
|
quantity: string;
|
|
@@ -181,6 +182,14 @@ declare const __VLS_base: import('vue').DefineComponent<SearchBarProps, {}, {},
|
|
|
181
182
|
formPendingMessage: string;
|
|
182
183
|
stepCompleted: string;
|
|
183
184
|
stepNotStarted: string;
|
|
185
|
+
phoneCountry: (name: string, code: string) => string;
|
|
186
|
+
phoneCountryList: string;
|
|
187
|
+
phoneSearch: string;
|
|
188
|
+
phoneSuggested: string;
|
|
189
|
+
phoneAllCountries: string;
|
|
190
|
+
phoneNoMatch: (query: string) => string;
|
|
191
|
+
phoneInvalid: (country: string) => string;
|
|
192
|
+
phoneInvalidNumber: string;
|
|
184
193
|
}>;
|
|
185
194
|
action: string;
|
|
186
195
|
teleport: string | boolean;
|
|
@@ -61,6 +61,7 @@ declare const __VLS_base: import('vue').DefineComponent<SearchModalProps, {
|
|
|
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,14 @@ declare const __VLS_base: import('vue').DefineComponent<SearchModalProps, {
|
|
|
187
188
|
formPendingMessage: string;
|
|
188
189
|
stepCompleted: string;
|
|
189
190
|
stepNotStarted: string;
|
|
191
|
+
phoneCountry: (name: string, code: string) => string;
|
|
192
|
+
phoneCountryList: string;
|
|
193
|
+
phoneSearch: string;
|
|
194
|
+
phoneSuggested: string;
|
|
195
|
+
phoneAllCountries: string;
|
|
196
|
+
phoneNoMatch: (query: string) => string;
|
|
197
|
+
phoneInvalid: (country: string) => string;
|
|
198
|
+
phoneInvalidNumber: string;
|
|
190
199
|
}>;
|
|
191
200
|
action: string;
|
|
192
201
|
query: string;
|
|
@@ -82,6 +82,7 @@ declare const __VLS_base: import('vue').DefineComponent<MultiSelectProps, {}, {}
|
|
|
82
82
|
required: boolean;
|
|
83
83
|
placeholder: string;
|
|
84
84
|
loading: boolean;
|
|
85
|
+
selectAll: boolean;
|
|
85
86
|
id: string;
|
|
86
87
|
leadingIcon: import('../../index.js').IconComponent;
|
|
87
88
|
disabled: boolean;
|
|
@@ -112,6 +113,7 @@ declare const __VLS_base: import('vue').DefineComponent<MultiSelectProps, {}, {}
|
|
|
112
113
|
selectedCount: (n: number) => string;
|
|
113
114
|
noneSelected: string;
|
|
114
115
|
done: string;
|
|
116
|
+
selectAll: string;
|
|
115
117
|
decrease: string;
|
|
116
118
|
increase: string;
|
|
117
119
|
quantity: string;
|
|
@@ -238,6 +240,14 @@ declare const __VLS_base: import('vue').DefineComponent<MultiSelectProps, {}, {}
|
|
|
238
240
|
formPendingMessage: string;
|
|
239
241
|
stepCompleted: string;
|
|
240
242
|
stepNotStarted: string;
|
|
243
|
+
phoneCountry: (name: string, code: string) => string;
|
|
244
|
+
phoneCountryList: string;
|
|
245
|
+
phoneSearch: string;
|
|
246
|
+
phoneSuggested: string;
|
|
247
|
+
phoneAllCountries: string;
|
|
248
|
+
phoneNoMatch: (query: string) => string;
|
|
249
|
+
phoneInvalid: (country: string) => string;
|
|
250
|
+
phoneInvalidNumber: string;
|
|
241
251
|
}>;
|
|
242
252
|
readonly: boolean;
|
|
243
253
|
searchable: boolean;
|
|
@@ -83,6 +83,7 @@ declare const __VLS_base: import('vue').DefineComponent<SelectProps, {}, {}, {},
|
|
|
83
83
|
selectedCount: (n: number) => string;
|
|
84
84
|
noneSelected: string;
|
|
85
85
|
done: string;
|
|
86
|
+
selectAll: string;
|
|
86
87
|
decrease: string;
|
|
87
88
|
increase: string;
|
|
88
89
|
quantity: string;
|
|
@@ -209,6 +210,14 @@ declare const __VLS_base: import('vue').DefineComponent<SelectProps, {}, {}, {},
|
|
|
209
210
|
formPendingMessage: string;
|
|
210
211
|
stepCompleted: string;
|
|
211
212
|
stepNotStarted: string;
|
|
213
|
+
phoneCountry: (name: string, code: string) => string;
|
|
214
|
+
phoneCountryList: string;
|
|
215
|
+
phoneSearch: string;
|
|
216
|
+
phoneSuggested: string;
|
|
217
|
+
phoneAllCountries: string;
|
|
218
|
+
phoneNoMatch: (query: string) => string;
|
|
219
|
+
phoneInvalid: (country: string) => string;
|
|
220
|
+
phoneInvalidNumber: string;
|
|
212
221
|
}>;
|
|
213
222
|
clearable: boolean;
|
|
214
223
|
readonly: boolean;
|
|
@@ -135,7 +135,7 @@ export interface SelectProps {
|
|
|
135
135
|
* none either. Both are kept in the union rather than subtracted from it, so that one `classes`
|
|
136
136
|
* object can be handed to either control.
|
|
137
137
|
*/
|
|
138
|
-
export type MultiSelectPart = SelectPart | 'summary' | 'summaryMore' | 'tags' | 'tag' | 'tagRemove' | 'tagMore' | 'field' | 'footer' | 'footerCount' | 'footerClear' | 'footerDone';
|
|
138
|
+
export type MultiSelectPart = SelectPart | 'summary' | 'summaryMore' | 'tags' | 'tag' | 'tagRemove' | 'tagMore' | 'field' | 'footer' | 'footerCount' | 'footerSelectAll' | 'footerClear' | 'footerDone';
|
|
139
139
|
/**
|
|
140
140
|
* Everything a `Select` takes except the three the spec redefines: the value is a list, the
|
|
141
141
|
* placeholder's default is `"Any"` rather than `"Select"`, and there is no `clearable` — "the clear
|
|
@@ -165,6 +165,12 @@ export interface MultiSelectProps extends Omit<SelectProps, 'modelValue' | 'plac
|
|
|
165
165
|
* exactly that many.
|
|
166
166
|
*/
|
|
167
167
|
maxSummary?: number | 'fit';
|
|
168
|
+
/**
|
|
169
|
+
* A "Select all" button in the footer, before Clear. It adds every option the list is showing,
|
|
170
|
+
* so with a search typed it selects the matches only; disabled options are left as they are.
|
|
171
|
+
* It is disabled once all of them are selected. On by default; `false` leaves it out.
|
|
172
|
+
*/
|
|
173
|
+
selectAll?: boolean;
|
|
168
174
|
/**
|
|
169
175
|
* Per-part classes, appended to the part's own (they win by cascade layer). Style the root with
|
|
170
176
|
* `class`.
|
|
@@ -48,6 +48,7 @@ declare const __VLS_base: import('vue').DefineComponent<SiteFormProps, {}, {}, {
|
|
|
48
48
|
selectedCount: (n: number) => string;
|
|
49
49
|
noneSelected: string;
|
|
50
50
|
done: string;
|
|
51
|
+
selectAll: string;
|
|
51
52
|
decrease: string;
|
|
52
53
|
increase: string;
|
|
53
54
|
quantity: string;
|
|
@@ -174,6 +175,14 @@ declare const __VLS_base: import('vue').DefineComponent<SiteFormProps, {}, {}, {
|
|
|
174
175
|
formPendingMessage: string;
|
|
175
176
|
stepCompleted: string;
|
|
176
177
|
stepNotStarted: string;
|
|
178
|
+
phoneCountry: (name: string, code: string) => string;
|
|
179
|
+
phoneCountryList: string;
|
|
180
|
+
phoneSearch: string;
|
|
181
|
+
phoneSuggested: string;
|
|
182
|
+
phoneAllCountries: string;
|
|
183
|
+
phoneNoMatch: (query: string) => string;
|
|
184
|
+
phoneInvalid: (country: string) => string;
|
|
185
|
+
phoneInvalidNumber: string;
|
|
177
186
|
}>;
|
|
178
187
|
layout: import('./types.js').SiteFormLayout;
|
|
179
188
|
heading: string;
|
|
@@ -34,6 +34,7 @@ declare const __VLS_export: import('vue').DefineComponent<ToastProps, {}, {}, {}
|
|
|
34
34
|
selectedCount: (n: number) => string;
|
|
35
35
|
noneSelected: string;
|
|
36
36
|
done: string;
|
|
37
|
+
selectAll: string;
|
|
37
38
|
decrease: string;
|
|
38
39
|
increase: string;
|
|
39
40
|
quantity: string;
|
|
@@ -160,6 +161,14 @@ declare const __VLS_export: import('vue').DefineComponent<ToastProps, {}, {}, {}
|
|
|
160
161
|
formPendingMessage: string;
|
|
161
162
|
stepCompleted: string;
|
|
162
163
|
stepNotStarted: string;
|
|
164
|
+
phoneCountry: (name: string, code: string) => string;
|
|
165
|
+
phoneCountryList: string;
|
|
166
|
+
phoneSearch: string;
|
|
167
|
+
phoneSuggested: string;
|
|
168
|
+
phoneAllCountries: string;
|
|
169
|
+
phoneNoMatch: (query: string) => string;
|
|
170
|
+
phoneInvalid: (country: string) => string;
|
|
171
|
+
phoneInvalidNumber: string;
|
|
163
172
|
}>;
|
|
164
173
|
action: import('./types.js').ToastAction;
|
|
165
174
|
closable: boolean;
|
|
@@ -33,6 +33,7 @@ declare const __VLS_export: import('vue').DefineComponent<ToasterProps, {}, {},
|
|
|
33
33
|
selectedCount: (n: number) => string;
|
|
34
34
|
noneSelected: string;
|
|
35
35
|
done: string;
|
|
36
|
+
selectAll: string;
|
|
36
37
|
decrease: string;
|
|
37
38
|
increase: string;
|
|
38
39
|
quantity: string;
|
|
@@ -159,6 +160,14 @@ declare const __VLS_export: import('vue').DefineComponent<ToasterProps, {}, {},
|
|
|
159
160
|
formPendingMessage: string;
|
|
160
161
|
stepCompleted: string;
|
|
161
162
|
stepNotStarted: string;
|
|
163
|
+
phoneCountry: (name: string, code: string) => string;
|
|
164
|
+
phoneCountryList: string;
|
|
165
|
+
phoneSearch: string;
|
|
166
|
+
phoneSuggested: string;
|
|
167
|
+
phoneAllCountries: string;
|
|
168
|
+
phoneNoMatch: (query: string) => string;
|
|
169
|
+
phoneInvalid: (country: string) => string;
|
|
170
|
+
phoneInvalidNumber: string;
|
|
162
171
|
}>;
|
|
163
172
|
teleportTo: string | HTMLElement;
|
|
164
173
|
toasts: ToasterToast[];
|
package/dist/components.css
CHANGED
|
@@ -981,6 +981,10 @@
|
|
|
981
981
|
height: .625rem;
|
|
982
982
|
}
|
|
983
983
|
|
|
984
|
+
.eldra\:h-3\.5 {
|
|
985
|
+
height: .875rem;
|
|
986
|
+
}
|
|
987
|
+
|
|
984
988
|
.eldra\:h-4\.5 {
|
|
985
989
|
height: 1.125rem;
|
|
986
990
|
}
|
|
@@ -1216,6 +1220,10 @@
|
|
|
1216
1220
|
width: 1.125rem;
|
|
1217
1221
|
}
|
|
1218
1222
|
|
|
1223
|
+
.eldra\:w-5 {
|
|
1224
|
+
width: var(--eldra-space-5);
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1219
1227
|
.eldra\:w-6 {
|
|
1220
1228
|
width: var(--eldra-space-6);
|
|
1221
1229
|
}
|
|
@@ -1852,6 +1860,12 @@
|
|
|
1852
1860
|
scroll-behavior: smooth;
|
|
1853
1861
|
}
|
|
1854
1862
|
|
|
1863
|
+
.eldra\:eldra-phone-flag {
|
|
1864
|
+
border-radius: var(--eldra-phone-flag-radius, 2px);
|
|
1865
|
+
box-shadow: 0 0 0 1px var(--eldra-phone-flag-border, var(--eldra-color-border));
|
|
1866
|
+
background-color: var(--eldra-phone-flag-fill, var(--eldra-color-surface-strong));
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1855
1869
|
.eldra\:eldra-link-radius {
|
|
1856
1870
|
border-radius: var(--eldra-link-radius, 2px);
|
|
1857
1871
|
}
|
|
@@ -1924,6 +1938,11 @@
|
|
|
1924
1938
|
border-radius: var(--eldra-radius-xl);
|
|
1925
1939
|
}
|
|
1926
1940
|
|
|
1941
|
+
.eldra\:rounded-s-\[calc\(var\(--eldra-input-radius\,var\(--eldra-radius-md\)\)-var\(--eldra-field-border-width\,1px\)\)\] {
|
|
1942
|
+
border-start-start-radius: calc(var(--eldra-input-radius, var(--eldra-radius-md)) - var(--eldra-field-border-width, 1px));
|
|
1943
|
+
border-end-start-radius: calc(var(--eldra-input-radius, var(--eldra-radius-md)) - var(--eldra-field-border-width, 1px));
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1927
1946
|
.eldra\:rounded-t-full {
|
|
1928
1947
|
border-top-left-radius: var(--eldra-radius-full);
|
|
1929
1948
|
border-top-right-radius: var(--eldra-radius-full);
|
|
@@ -2015,6 +2034,11 @@
|
|
|
2015
2034
|
border-inline-start-width: 1px;
|
|
2016
2035
|
}
|
|
2017
2036
|
|
|
2037
|
+
.eldra\:border-e {
|
|
2038
|
+
border-inline-end-style: var(--tw-border-style);
|
|
2039
|
+
border-inline-end-width: 1px;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2018
2042
|
.eldra\:border-t {
|
|
2019
2043
|
border-top-style: var(--tw-border-style);
|
|
2020
2044
|
border-top-width: 1px;
|
|
@@ -2545,6 +2569,10 @@
|
|
|
2545
2569
|
padding-inline-end: var(--eldra-space-1);
|
|
2546
2570
|
}
|
|
2547
2571
|
|
|
2572
|
+
.eldra\:pe-2 {
|
|
2573
|
+
padding-inline-end: var(--eldra-space-2);
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2548
2576
|
.eldra\:pe-2\.5 {
|
|
2549
2577
|
padding-inline-end: .625rem;
|
|
2550
2578
|
}
|
|
@@ -3503,6 +3531,28 @@
|
|
|
3503
3531
|
}
|
|
3504
3532
|
}
|
|
3505
3533
|
|
|
3534
|
+
.eldra\:eldra-focus-has-open:has([aria-expanded="true"]) {
|
|
3535
|
+
--eldra-focus-alpha: 1;
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3538
|
+
@supports not (color: color-mix(in srgb, red, red)) {
|
|
3539
|
+
.eldra\:eldra-focus-has-open:has([aria-expanded="true"]) {
|
|
3540
|
+
--tw-ring-offset-shadow: 0 0 0 var(--eldra-focus-offset) var(--eldra-color-focus-inner),
|
|
3541
|
+
0 0 0 var(--eldra-focus-offset) var(--eldra-color-focus-inner),
|
|
3542
|
+
0 0 0 var(--eldra-focus-offset) var(--eldra-color-focus-inner);
|
|
3543
|
+
--tw-ring-shadow: 0 0 0 calc(var(--eldra-focus-offset) + var(--eldra-focus-width))
|
|
3544
|
+
var(--eldra-color-focus);
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
@media (forced-colors: active) {
|
|
3549
|
+
.eldra\:eldra-focus-has-open:has([aria-expanded="true"]) {
|
|
3550
|
+
outline-width: var(--eldra-focus-width);
|
|
3551
|
+
outline-offset: var(--eldra-focus-offset);
|
|
3552
|
+
outline-color: highlight;
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3506
3556
|
.eldra\:eldra-focus-open[aria-expanded="true"] {
|
|
3507
3557
|
--eldra-focus-alpha: 1;
|
|
3508
3558
|
}
|
|
@@ -3917,6 +3967,10 @@
|
|
|
3917
3967
|
display: none;
|
|
3918
3968
|
}
|
|
3919
3969
|
|
|
3970
|
+
.eldra\:focus-within\:border-text:focus-within {
|
|
3971
|
+
border-color: var(--eldra-color-text);
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3920
3974
|
@media (hover: hover) {
|
|
3921
3975
|
.eldra\:hover\:border-danger:hover {
|
|
3922
3976
|
border-color: var(--eldra-color-danger);
|
|
@@ -4081,6 +4135,16 @@
|
|
|
4081
4135
|
outline-style: none;
|
|
4082
4136
|
}
|
|
4083
4137
|
|
|
4138
|
+
.eldra\:focus-visible\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-text\)\,transparent_94\%\)\]:focus-visible {
|
|
4139
|
+
background-color: var(--eldra-color-text);
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4143
|
+
.eldra\:focus-visible\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-text\)\,transparent_94\%\)\]:focus-visible {
|
|
4144
|
+
background-color: color-mix(in oklab,var(--eldra-color-text),transparent 94%);
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4084
4148
|
.eldra\:active\:scale-\[0\.98\]:active {
|
|
4085
4149
|
scale: .98;
|
|
4086
4150
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** ISO 3166-1 alpha-2 code, in either case (`IS`, `no`). */
|
|
3
|
+
country: string;
|
|
4
|
+
/** Names the flag for assistive technology. Leave it out where the country is named in text. */
|
|
5
|
+
label?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Loads the flags. Safe to call more than once, and ahead of a flag to draw it sooner. */
|
|
2
|
+
export declare function preloadCountryFlags(): Promise<void>;
|
|
3
|
+
export interface CountryFlagArt {
|
|
4
|
+
viewBox: string;
|
|
5
|
+
body: string;
|
|
6
|
+
}
|
|
7
|
+
/** A country's flag once the chunk is in; reactive, so a flag drawn before then fills in. */
|
|
8
|
+
export declare function countryFlag(country: string): CountryFlagArt | undefined;
|