ablok-components 0.3.40 → 0.3.41

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.
Files changed (30) hide show
  1. package/dist/ablok-components.css +1 -1
  2. package/dist/ablok-components.es.js +7182 -46773
  3. package/dist/ablok-components.umd.js +4 -179
  4. package/dist/components/atoms/base-button/base-button.vue.d.ts +1 -1
  5. package/dist/components/atoms/input-file/input-file.vue.d.ts +9 -9
  6. package/dist/components/atoms/input-passcode/input-passcode.vue.d.ts +1 -1
  7. package/dist/components/molecules/auto-suggest/auto-suggest.vue.d.ts +9 -0
  8. package/dist/components/molecules/base-map/base-map.spec.d.ts +1 -0
  9. package/dist/components/molecules/base-map/base-map.vue.d.ts +284 -0
  10. package/dist/components/molecules/hint-system/hint-system.vue.d.ts +1 -1
  11. package/dist/components/molecules/image-crop/image-crop.vue.d.ts +6 -10
  12. package/dist/components/molecules/image-crop-resize/image-crop-resize.vue.d.ts +210 -2
  13. package/dist/components/molecules/image-resize/image-resize.vue.d.ts +420 -4
  14. package/dist/components/molecules/image-upload/image-upload.vue.d.ts +1 -1
  15. package/dist/components/molecules/location-list/location-list.vue.d.ts +75 -0
  16. package/dist/components/molecules/popover-tooltip/popover-tooltip.vue.d.ts +2 -4
  17. package/dist/components/molecules/progress-steps/progress-steps.vue.d.ts +1 -1
  18. package/dist/components/molecules/upload-group/upload-group.vue.d.ts +1 -1
  19. package/dist/components/organisms/asset-uploader/asset-uploader.vue.d.ts +1 -1
  20. package/dist/components/organisms/location-finder/location-finder.spec.d.ts +1 -0
  21. package/dist/components/organisms/location-finder/location-finder.vue.d.ts +472 -0
  22. package/dist/components/templates/modal-dialog/modal-dialog.vue.d.ts +1 -1
  23. package/dist/composables/useConfetti.d.ts +1 -2
  24. package/dist/composables/useDirections.d.ts +38 -0
  25. package/dist/composables/useGeocoding.d.ts +53 -0
  26. package/dist/composables/useGeolocation.d.ts +20 -0
  27. package/dist/i18n.d.ts +21 -0
  28. package/dist/index.d.ts +9 -0
  29. package/dist/locales/en.d.ts +21 -0
  30. package/package.json +1 -1
@@ -0,0 +1,472 @@
1
+ import { PropType } from '../../../../vue/dist/vue.esm-bundler.js';
2
+ import { MapStylePreset } from '../../molecules/base-map/base-map.vue';
3
+ interface LocationFinderItem {
4
+ id?: string | number;
5
+ title?: string;
6
+ label?: string;
7
+ name?: string;
8
+ address?: string;
9
+ description?: string;
10
+ subtitle?: string;
11
+ lat: number | string;
12
+ lng: number | string;
13
+ distance?: number;
14
+ source?: string;
15
+ [key: string]: any;
16
+ }
17
+ export interface LocationFinderMessages {
18
+ searchLabel?: string;
19
+ searchPlaceholder?: string;
20
+ resultsLabel?: string;
21
+ emptyText?: string;
22
+ locateButtonLabel?: string;
23
+ stopTrackingLabel?: string;
24
+ mapHelperText?: string;
25
+ directionsTitle?: string;
26
+ directionsEmptyText?: string;
27
+ distanceLabel?: string;
28
+ durationLabel?: string;
29
+ loadingRoute?: string;
30
+ legendAriaLabel?: string;
31
+ legendLocations?: string;
32
+ legendSelected?: string;
33
+ legendSearchResult?: string;
34
+ userLocationLabel?: string;
35
+ pinnedLocationTitle?: string;
36
+ selectedLocationLabel?: string;
37
+ }
38
+ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
39
+ modelValue: {
40
+ type: PropType<LocationFinderItem | null>;
41
+ default: null;
42
+ };
43
+ locations: {
44
+ type: PropType<LocationFinderItem[]>;
45
+ default: () => never[];
46
+ };
47
+ center: {
48
+ type: PropType<{
49
+ lat: number;
50
+ lng: number;
51
+ } | null>;
52
+ default: null;
53
+ };
54
+ distance: {
55
+ type: PropType<number | null>;
56
+ default: null;
57
+ };
58
+ userLocation: {
59
+ type: PropType<{
60
+ lat: number;
61
+ lng: number;
62
+ } | null>;
63
+ default: null;
64
+ };
65
+ messages: {
66
+ type: PropType<LocationFinderMessages>;
67
+ default: () => {};
68
+ };
69
+ mapHeight: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ searchLabel: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ searchPlaceholder: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ resultsLabel: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ emptyText: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ locateButtonLabel: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ stopTrackingLabel: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ mapHelperText: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ enableGeocoding: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ geocodingEndpoint: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ reverseGeocodingEndpoint: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ geocodingLimit: {
114
+ type: NumberConstructor;
115
+ default: number;
116
+ };
117
+ geocodingMinQueryLength: {
118
+ type: NumberConstructor;
119
+ default: number;
120
+ };
121
+ customGeocodingFetch: null;
122
+ enableDirections: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ directionsEndpoint: {
127
+ type: StringConstructor;
128
+ default: string;
129
+ };
130
+ routeProfile: {
131
+ type: StringConstructor;
132
+ default: string;
133
+ };
134
+ customDirectionsFetch: null;
135
+ showDirectionsSummary: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ showDirectionsSteps: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ directionsTitle: {
144
+ type: StringConstructor;
145
+ default: string;
146
+ };
147
+ directionsEmptyText: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ distanceLabel: {
152
+ type: StringConstructor;
153
+ default: string;
154
+ };
155
+ durationLabel: {
156
+ type: StringConstructor;
157
+ default: string;
158
+ };
159
+ routeColor: {
160
+ type: StringConstructor;
161
+ default: string;
162
+ };
163
+ routeWeight: {
164
+ type: NumberConstructor;
165
+ default: number;
166
+ };
167
+ selectionRadius: {
168
+ type: NumberConstructor;
169
+ default: number;
170
+ };
171
+ selectionRadiusColor: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
175
+ selectionRadiusFillColor: {
176
+ type: StringConstructor;
177
+ default: string;
178
+ };
179
+ mapStyle: {
180
+ type: PropType<MapStylePreset>;
181
+ default: string;
182
+ };
183
+ tileLayerUrl: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ tileLayerAttribution: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ disabled: {
192
+ type: BooleanConstructor;
193
+ default: boolean;
194
+ };
195
+ interactive: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
199
+ showSearch: {
200
+ type: BooleanConstructor;
201
+ default: boolean;
202
+ };
203
+ showLegend: {
204
+ type: BooleanConstructor;
205
+ default: boolean;
206
+ };
207
+ showSidebar: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
211
+ showTrackButton: {
212
+ type: BooleanConstructor;
213
+ default: boolean;
214
+ };
215
+ trackUser: {
216
+ type: BooleanConstructor;
217
+ default: boolean;
218
+ };
219
+ autoLocate: {
220
+ type: BooleanConstructor;
221
+ default: boolean;
222
+ };
223
+ }>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
224
+ select: (...args: any[]) => void;
225
+ search: (...args: any[]) => void;
226
+ "update:modelValue": (...args: any[]) => void;
227
+ "update:distance": (...args: any[]) => void;
228
+ "track-user": (...args: any[]) => void;
229
+ }, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
230
+ modelValue: {
231
+ type: PropType<LocationFinderItem | null>;
232
+ default: null;
233
+ };
234
+ locations: {
235
+ type: PropType<LocationFinderItem[]>;
236
+ default: () => never[];
237
+ };
238
+ center: {
239
+ type: PropType<{
240
+ lat: number;
241
+ lng: number;
242
+ } | null>;
243
+ default: null;
244
+ };
245
+ distance: {
246
+ type: PropType<number | null>;
247
+ default: null;
248
+ };
249
+ userLocation: {
250
+ type: PropType<{
251
+ lat: number;
252
+ lng: number;
253
+ } | null>;
254
+ default: null;
255
+ };
256
+ messages: {
257
+ type: PropType<LocationFinderMessages>;
258
+ default: () => {};
259
+ };
260
+ mapHeight: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
264
+ searchLabel: {
265
+ type: StringConstructor;
266
+ default: string;
267
+ };
268
+ searchPlaceholder: {
269
+ type: StringConstructor;
270
+ default: string;
271
+ };
272
+ resultsLabel: {
273
+ type: StringConstructor;
274
+ default: string;
275
+ };
276
+ emptyText: {
277
+ type: StringConstructor;
278
+ default: string;
279
+ };
280
+ locateButtonLabel: {
281
+ type: StringConstructor;
282
+ default: string;
283
+ };
284
+ stopTrackingLabel: {
285
+ type: StringConstructor;
286
+ default: string;
287
+ };
288
+ mapHelperText: {
289
+ type: StringConstructor;
290
+ default: string;
291
+ };
292
+ enableGeocoding: {
293
+ type: BooleanConstructor;
294
+ default: boolean;
295
+ };
296
+ geocodingEndpoint: {
297
+ type: StringConstructor;
298
+ default: string;
299
+ };
300
+ reverseGeocodingEndpoint: {
301
+ type: StringConstructor;
302
+ default: string;
303
+ };
304
+ geocodingLimit: {
305
+ type: NumberConstructor;
306
+ default: number;
307
+ };
308
+ geocodingMinQueryLength: {
309
+ type: NumberConstructor;
310
+ default: number;
311
+ };
312
+ customGeocodingFetch: null;
313
+ enableDirections: {
314
+ type: BooleanConstructor;
315
+ default: boolean;
316
+ };
317
+ directionsEndpoint: {
318
+ type: StringConstructor;
319
+ default: string;
320
+ };
321
+ routeProfile: {
322
+ type: StringConstructor;
323
+ default: string;
324
+ };
325
+ customDirectionsFetch: null;
326
+ showDirectionsSummary: {
327
+ type: BooleanConstructor;
328
+ default: boolean;
329
+ };
330
+ showDirectionsSteps: {
331
+ type: BooleanConstructor;
332
+ default: boolean;
333
+ };
334
+ directionsTitle: {
335
+ type: StringConstructor;
336
+ default: string;
337
+ };
338
+ directionsEmptyText: {
339
+ type: StringConstructor;
340
+ default: string;
341
+ };
342
+ distanceLabel: {
343
+ type: StringConstructor;
344
+ default: string;
345
+ };
346
+ durationLabel: {
347
+ type: StringConstructor;
348
+ default: string;
349
+ };
350
+ routeColor: {
351
+ type: StringConstructor;
352
+ default: string;
353
+ };
354
+ routeWeight: {
355
+ type: NumberConstructor;
356
+ default: number;
357
+ };
358
+ selectionRadius: {
359
+ type: NumberConstructor;
360
+ default: number;
361
+ };
362
+ selectionRadiusColor: {
363
+ type: StringConstructor;
364
+ default: string;
365
+ };
366
+ selectionRadiusFillColor: {
367
+ type: StringConstructor;
368
+ default: string;
369
+ };
370
+ mapStyle: {
371
+ type: PropType<MapStylePreset>;
372
+ default: string;
373
+ };
374
+ tileLayerUrl: {
375
+ type: StringConstructor;
376
+ default: string;
377
+ };
378
+ tileLayerAttribution: {
379
+ type: StringConstructor;
380
+ default: string;
381
+ };
382
+ disabled: {
383
+ type: BooleanConstructor;
384
+ default: boolean;
385
+ };
386
+ interactive: {
387
+ type: BooleanConstructor;
388
+ default: boolean;
389
+ };
390
+ showSearch: {
391
+ type: BooleanConstructor;
392
+ default: boolean;
393
+ };
394
+ showLegend: {
395
+ type: BooleanConstructor;
396
+ default: boolean;
397
+ };
398
+ showSidebar: {
399
+ type: BooleanConstructor;
400
+ default: boolean;
401
+ };
402
+ showTrackButton: {
403
+ type: BooleanConstructor;
404
+ default: boolean;
405
+ };
406
+ trackUser: {
407
+ type: BooleanConstructor;
408
+ default: boolean;
409
+ };
410
+ autoLocate: {
411
+ type: BooleanConstructor;
412
+ default: boolean;
413
+ };
414
+ }>> & Readonly<{
415
+ onSelect?: ((...args: any[]) => any) | undefined;
416
+ onSearch?: ((...args: any[]) => any) | undefined;
417
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
418
+ "onUpdate:distance"?: ((...args: any[]) => any) | undefined;
419
+ "onTrack-user"?: ((...args: any[]) => any) | undefined;
420
+ }>, {
421
+ modelValue: LocationFinderItem | null;
422
+ disabled: boolean;
423
+ messages: LocationFinderMessages;
424
+ center: {
425
+ lat: number;
426
+ lng: number;
427
+ } | null;
428
+ routeColor: string;
429
+ routeWeight: number;
430
+ selectionRadius: number;
431
+ selectionRadiusColor: string;
432
+ selectionRadiusFillColor: string;
433
+ userLocation: {
434
+ lat: number;
435
+ lng: number;
436
+ } | null;
437
+ interactive: boolean;
438
+ mapStyle: MapStylePreset;
439
+ tileLayerUrl: string;
440
+ tileLayerAttribution: string;
441
+ locations: LocationFinderItem[];
442
+ emptyText: string;
443
+ distance: number | null;
444
+ searchLabel: string;
445
+ searchPlaceholder: string;
446
+ resultsLabel: string;
447
+ locateButtonLabel: string;
448
+ stopTrackingLabel: string;
449
+ mapHelperText: string;
450
+ directionsTitle: string;
451
+ directionsEmptyText: string;
452
+ distanceLabel: string;
453
+ durationLabel: string;
454
+ mapHeight: string;
455
+ enableGeocoding: boolean;
456
+ geocodingEndpoint: string;
457
+ reverseGeocodingEndpoint: string;
458
+ geocodingLimit: number;
459
+ geocodingMinQueryLength: number;
460
+ enableDirections: boolean;
461
+ directionsEndpoint: string;
462
+ routeProfile: string;
463
+ showDirectionsSummary: boolean;
464
+ showDirectionsSteps: boolean;
465
+ showSearch: boolean;
466
+ showLegend: boolean;
467
+ showSidebar: boolean;
468
+ showTrackButton: boolean;
469
+ trackUser: boolean;
470
+ autoLocate: boolean;
471
+ }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
472
+ export default _default;
@@ -82,9 +82,9 @@ declare const _default: __VLS_WithTemplateSlots<import('../../../../vue/dist/vue
82
82
  footer: boolean;
83
83
  title: string;
84
84
  modelValue: boolean;
85
- classes: string;
86
85
  modal: boolean;
87
86
  dismiss: boolean;
87
+ classes: string;
88
88
  }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {
89
89
  dialog: HTMLDialogElement;
90
90
  }, HTMLDialogElement>, {
@@ -1,2 +1 @@
1
- import { default as useConfetti } from 'canvas-confetti';
2
- export default useConfetti;
1
+ export declare function getConfetti(): Promise<any>;
@@ -0,0 +1,38 @@
1
+ import { ofetch } from 'ofetch';
2
+ export interface RoutePoint {
3
+ lat: number;
4
+ lng: number;
5
+ }
6
+ export interface RouteStep {
7
+ instruction: string;
8
+ name: string;
9
+ distance: number;
10
+ duration: number;
11
+ }
12
+ interface DirectionsOptions {
13
+ endpoint?: string;
14
+ profile?: string;
15
+ customFetch?: typeof ofetch | any;
16
+ }
17
+ export declare function useDirections(): {
18
+ routeCoordinates: import('../../vue/dist/vue.esm-bundler.js').Ref<[number, number][], [number, number][]>;
19
+ distanceMeters: import('../../vue/dist/vue.esm-bundler.js').Ref<number | null, number | null>;
20
+ durationSeconds: import('../../vue/dist/vue.esm-bundler.js').Ref<number | null, number | null>;
21
+ steps: import('../../vue/dist/vue.esm-bundler.js').Ref<{
22
+ instruction: string;
23
+ name: string;
24
+ distance: number;
25
+ duration: number;
26
+ }[], RouteStep[] | {
27
+ instruction: string;
28
+ name: string;
29
+ distance: number;
30
+ duration: number;
31
+ }[]>;
32
+ pending: import('../../vue/dist/vue.esm-bundler.js').Ref<boolean, boolean>;
33
+ error: import('../../vue/dist/vue.esm-bundler.js').Ref<string, string>;
34
+ hasRoute: import('../../vue/dist/vue.esm-bundler.js').ComputedRef<boolean>;
35
+ fetchRoute: (origin: RoutePoint, destination: RoutePoint, options?: DirectionsOptions) => Promise<any>;
36
+ clearRoute: () => void;
37
+ };
38
+ export {};
@@ -0,0 +1,53 @@
1
+ import { ofetch } from 'ofetch';
2
+ export interface GeocodingResult {
3
+ id: string;
4
+ title: string;
5
+ address: string;
6
+ lat: number;
7
+ lng: number;
8
+ source: 'geocoder' | 'reverse-geocoder';
9
+ raw?: any;
10
+ }
11
+ interface GeocodingOptions {
12
+ endpoint?: string;
13
+ reverseEndpoint?: string;
14
+ customFetch?: typeof ofetch | any;
15
+ limit?: number;
16
+ language?: string;
17
+ }
18
+ export declare function useGeocoding(): {
19
+ results: import('../../vue/dist/vue.esm-bundler.js').Ref<{
20
+ id: string;
21
+ title: string;
22
+ address: string;
23
+ lat: number;
24
+ lng: number;
25
+ source: "geocoder" | "reverse-geocoder";
26
+ raw?: any;
27
+ }[], GeocodingResult[] | {
28
+ id: string;
29
+ title: string;
30
+ address: string;
31
+ lat: number;
32
+ lng: number;
33
+ source: "geocoder" | "reverse-geocoder";
34
+ raw?: any;
35
+ }[]>;
36
+ pending: import('../../vue/dist/vue.esm-bundler.js').Ref<boolean, boolean>;
37
+ error: import('../../vue/dist/vue.esm-bundler.js').Ref<string, string>;
38
+ search: (query: string, options?: GeocodingOptions) => Promise<{
39
+ id: string;
40
+ title: string;
41
+ address: string;
42
+ lat: number;
43
+ lng: number;
44
+ source: "geocoder" | "reverse-geocoder";
45
+ raw?: any;
46
+ }[]>;
47
+ reverse: (position: {
48
+ lat: number;
49
+ lng: number;
50
+ }, options?: GeocodingOptions) => Promise<GeocodingResult | null>;
51
+ clearResults: () => void;
52
+ };
53
+ export {};
@@ -0,0 +1,20 @@
1
+ export interface GeolocationPositionValue {
2
+ lat: number;
3
+ lng: number;
4
+ accuracy: number | null;
5
+ }
6
+ export declare function useGeolocation(options?: PositionOptions): {
7
+ supported: boolean;
8
+ position: import('../../vue/dist/vue.esm-bundler.js').ComputedRef<{
9
+ lat: number;
10
+ lng: number;
11
+ accuracy: number | null;
12
+ } | null>;
13
+ accuracy: import('../../vue/dist/vue.esm-bundler.js').ComputedRef<number | null>;
14
+ error: import('../../vue/dist/vue.esm-bundler.js').Ref<string, string>;
15
+ pending: import('../../vue/dist/vue.esm-bundler.js').Ref<boolean, boolean>;
16
+ isTracking: import('../../vue/dist/vue.esm-bundler.js').Ref<boolean, boolean>;
17
+ locate: () => Promise<GeolocationPositionValue | null>;
18
+ startTracking: () => void;
19
+ stopTracking: () => void;
20
+ };
package/dist/i18n.d.ts CHANGED
@@ -132,6 +132,27 @@ declare const i18n: import('vue-i18n').I18n<{
132
132
  search: {
133
133
  noResults: string;
134
134
  };
135
+ locationFinder: {
136
+ searchLabel: string;
137
+ searchPlaceholder: string;
138
+ resultsLabel: string;
139
+ emptyText: string;
140
+ locateButtonLabel: string;
141
+ stopTrackingLabel: string;
142
+ mapHelperText: string;
143
+ directionsTitle: string;
144
+ directionsEmptyText: string;
145
+ distanceLabel: string;
146
+ durationLabel: string;
147
+ loadingRoute: string;
148
+ legendAriaLabel: string;
149
+ legendLocations: string;
150
+ legendSelected: string;
151
+ legendSearchResult: string;
152
+ userLocationLabel: string;
153
+ pinnedLocationTitle: string;
154
+ selectedLocationLabel: string;
155
+ };
135
156
  admin: {
136
157
  finder: {
137
158
  title: string;
package/dist/index.d.ts CHANGED
@@ -25,9 +25,12 @@ export { default as ColorPalette } from './components/molecules/color-palette/co
25
25
  export { default as InputDropdown } from './components/molecules/input-dropdown/input-dropdown.vue';
26
26
  export { default as AutoSuggest } from './components/molecules/auto-suggest/auto-suggest.vue';
27
27
  export { default as BaseCamera } from './components/molecules/base-camera/base-camera.vue';
28
+ export { default as BaseMap } from './components/molecules/base-map/base-map.vue';
29
+ export { default as LocationList } from './components/molecules/location-list/location-list.vue';
28
30
  export { default as FileUpload } from './components/molecules/file-upload/file-upload.vue';
29
31
  export { default as UploadGroup } from './components/molecules/upload-group/upload-group.vue';
30
32
  export { default as AssetUploader } from './components/organisms/asset-uploader/asset-uploader.vue';
33
+ export { default as LocationFinder } from './components/organisms/location-finder/location-finder.vue';
31
34
  export { default as BaseCarousel } from './components/templates/base-carousel/base-carousel.vue';
32
35
  export { default as MediaThumbnails } from './components/molecules/media-thumbnails/media-thumbnails.vue';
33
36
  export { default as ProgressSteps } from './components/molecules/progress-steps/progress-steps.vue';
@@ -48,5 +51,11 @@ export { default as ImageResize } from './components/molecules/image-resize/imag
48
51
  export { default as ImageCropResize } from './components/molecules/image-crop-resize/image-crop-resize.vue';
49
52
  export { default as ImageUpload } from './components/molecules/image-upload/image-upload.vue';
50
53
  export { useCameraFilter } from './composables/useCameraFilter';
54
+ export { useDirections } from './composables/useDirections';
55
+ export { useGeocoding } from './composables/useGeocoding';
56
+ export { useGeolocation } from './composables/useGeolocation';
51
57
  export type { CameraFilterProps } from './composables/useCameraFilter';
52
58
  export type { ApplyImageFilterOptions } from './composables/useCameraFilter';
59
+ export type { RoutePoint, RouteStep } from './composables/useDirections';
60
+ export type { GeocodingResult } from './composables/useGeocoding';
61
+ export type { GeolocationPositionValue } from './composables/useGeolocation';
@@ -131,6 +131,27 @@ export declare const messages: {
131
131
  search: {
132
132
  noResults: string;
133
133
  };
134
+ locationFinder: {
135
+ searchLabel: string;
136
+ searchPlaceholder: string;
137
+ resultsLabel: string;
138
+ emptyText: string;
139
+ locateButtonLabel: string;
140
+ stopTrackingLabel: string;
141
+ mapHelperText: string;
142
+ directionsTitle: string;
143
+ directionsEmptyText: string;
144
+ distanceLabel: string;
145
+ durationLabel: string;
146
+ loadingRoute: string;
147
+ legendAriaLabel: string;
148
+ legendLocations: string;
149
+ legendSelected: string;
150
+ legendSearchResult: string;
151
+ userLocationLabel: string;
152
+ pinnedLocationTitle: string;
153
+ selectedLocationLabel: string;
154
+ };
134
155
  admin: {
135
156
  finder: {
136
157
  title: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ablok-components",
3
3
  "private": false,
4
- "version": "0.3.40",
4
+ "version": "0.3.41",
5
5
  "scripts": {
6
6
  "dev": "vite --host",
7
7
  "story:dev": "histoire dev",