@data-fair/lib-vuetify 1.13.0 → 1.13.1
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/owner-pick.vue +1 -0
- package/owner-pick.vue.js +1 -0
- package/package.json +1 -1
- package/search-address.vue +1 -1
- package/search-address.vue.js +1 -1
- package/vite.d.ts +1 -0
package/owner-pick.vue
CHANGED
|
@@ -80,6 +80,7 @@ const owners = computedAsync(async () => {
|
|
|
80
80
|
const org = await ofetch(`/simple-directory/api/organizations/${o.id}`)
|
|
81
81
|
owners.push({ type: 'organization', id: o.id, name: o.name })
|
|
82
82
|
if (!org.departments) continue
|
|
83
|
+
org.departments.sort((d1: any, d2: any) => d1.name.localeCompare(d2.name))
|
|
83
84
|
for (const dep of org.departments) {
|
|
84
85
|
if (!owners.find(ow => ow.type === 'organization' && ow.id === o.id && ow.department === dep.id)) {
|
|
85
86
|
owners.push({ type: 'organization', id: o.id, name: o.name, department: dep.id, departmentName: dep.name })
|
package/owner-pick.vue.js
CHANGED
|
@@ -37,6 +37,7 @@ const owners = computedAsync(async () => {
|
|
|
37
37
|
owners.push({ type: 'organization', id: o.id, name: o.name });
|
|
38
38
|
if (!org.departments)
|
|
39
39
|
continue;
|
|
40
|
+
org.departments.sort((d1, d2) => d1.name.localeCompare(d2.name));
|
|
40
41
|
for (const dep of org.departments) {
|
|
41
42
|
if (!owners.find(ow => ow.type === 'organization' && ow.id === o.id && ow.department === dep.id)) {
|
|
42
43
|
owners.push({ type: 'organization', id: o.id, name: o.name, department: dep.id, departmentName: dep.name });
|
package/package.json
CHANGED
package/search-address.vue
CHANGED
|
@@ -38,7 +38,7 @@ const findAdressesFn = async (search: string, selectedId?: string) => {
|
|
|
38
38
|
addressesList.value = address.value ? [address.value] : []
|
|
39
39
|
} else {
|
|
40
40
|
const params = { q: search }
|
|
41
|
-
const result = (await ofetch('https://
|
|
41
|
+
const result = (await ofetch('https://data.geopf.fr/geocodage/search/', { params }))
|
|
42
42
|
addressesList.value = result.features.map((f: any) => ({
|
|
43
43
|
title: f.properties.label,
|
|
44
44
|
value: {
|
package/search-address.vue.js
CHANGED
|
@@ -16,7 +16,7 @@ const findAdressesFn = async (search, selectedId) => {
|
|
|
16
16
|
}
|
|
17
17
|
else {
|
|
18
18
|
const params = { q: search };
|
|
19
|
-
const result = (await ofetch('https://
|
|
19
|
+
const result = (await ofetch('https://data.geopf.fr/geocodage/search/', { params }));
|
|
20
20
|
addressesList.value = result.features.map((f) => ({
|
|
21
21
|
title: f.properties.label,
|
|
22
22
|
value: {
|
package/vite.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const autoImports: (string | {
|
|
|
8
8
|
'@data-fair/lib-vue/ws.js': string[];
|
|
9
9
|
'@data-fair/lib-vue/async-action.js': string[];
|
|
10
10
|
'@data-fair/lib-vue/deep-diff.js': string[];
|
|
11
|
+
'@data-fair/lib-vue/format/bytes.js': string[];
|
|
11
12
|
} | {
|
|
12
13
|
'@data-fair/lib-vuetify/date-match-filter.vue': string[][];
|
|
13
14
|
'@data-fair/lib-vuetify/date-range-picker.vue': string[][];
|