@m3ui-vue/m3ui-vue 1.1.4 → 1.2.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/dist/API.md +511 -34
- package/dist/MMenuItem-DI351kIf.js +929 -0
- package/dist/MMenuItem-DI351kIf.js.map +1 -0
- package/dist/{MSlider-JflHJ70q.js → MSlider-BnEy5ieZ.js} +295 -320
- package/dist/MSlider-BnEy5ieZ.js.map +1 -0
- package/dist/MTextField-BBmkaIbO.js +633 -0
- package/dist/MTextField-BBmkaIbO.js.map +1 -0
- package/dist/api.json +1 -1
- package/dist/chart.js +83 -49
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MButton.vue.d.ts +7 -1
- package/dist/components/MButtonGroup.vue.d.ts +40 -31
- package/dist/components/MCarousel.vue.d.ts +2 -0
- package/dist/components/MChart.vue.d.ts +6 -0
- package/dist/components/MCircleProgressBar.vue.d.ts +5 -3
- package/dist/components/MContextMenu.vue.d.ts +2 -2
- package/dist/components/MCopyButton.vue.d.ts +1 -1
- package/dist/components/MExportButton.vue.d.ts +1 -1
- package/dist/components/MFab.vue.d.ts +2 -2
- package/dist/components/MFabMenu.vue.d.ts +1 -1
- package/dist/components/MIconButton.vue.d.ts +13 -1
- package/dist/components/MInfiniteScroll.vue.d.ts +1 -1
- package/dist/components/MMap.vue.d.ts +20 -2
- package/dist/components/MMapBaseLayers.vue.d.ts +3 -0
- package/dist/components/MMapFilter.vue.d.ts +3 -0
- package/dist/components/MMapLayers.vue.d.ts +3 -0
- package/dist/components/MMenu.vue.d.ts +2 -2
- package/dist/components/MMenuItem.vue.d.ts +7 -3
- package/dist/components/MNavigationDrawer.vue.d.ts +13 -2
- package/dist/components/MOverlay.vue.d.ts +12 -1
- package/dist/components/MProgressBar.vue.d.ts +5 -3
- package/dist/components/MPullToRefresh.vue.d.ts +7 -2
- package/dist/components/MRichTextEditor.vue.d.ts +7 -1
- package/dist/components/MSearchField.vue.d.ts +58 -0
- package/dist/components/MSegmentedButton.vue.d.ts +31 -23
- package/dist/components/MSimpleCarousel.vue.d.ts +2 -0
- package/dist/components/MSkeleton.vue.d.ts +6 -3
- package/dist/components/MSwipeToDismiss.vue.d.ts +1 -1
- package/dist/components/MSwitch.vue.d.ts +1 -1
- package/dist/components/MTextField.vue.d.ts +5 -1
- package/dist/components/MTimeline.vue.d.ts +85 -22
- package/dist/components/MTooltip.vue.d.ts +1 -1
- package/dist/components/_MDrawerItemList.vue.d.ts +2 -0
- package/dist/composables/_mapStyle.d.ts +13 -0
- package/dist/composables/_themeTransition.d.ts +2 -0
- package/dist/composables/_tooltipTrigger.d.ts +22 -0
- package/dist/composables/_useMenuNav.d.ts +28 -0
- package/dist/composables/useAutoGrow.d.ts +21 -0
- package/dist/composables/useColorPalette.d.ts +1 -1
- package/dist/composables/useLocale.d.ts +3 -0
- package/dist/composables/useMap.d.ts +19 -3
- package/dist/composables/useMapFilter.d.ts +4 -1
- package/dist/composables/useMapLayers.d.ts +5 -2
- package/dist/composables/useScrollReveal.d.ts +44 -0
- package/dist/composables/useThemeTokens.d.ts +21 -0
- package/dist/composables/viewportHints.d.ts +27 -0
- package/dist/directives/vClickOutside.d.ts +25 -0
- package/dist/directives/vFocusRing.d.ts +22 -0
- package/dist/directives/vLongPress.d.ts +27 -0
- package/dist/directives/vReveal.d.ts +10 -0
- package/dist/directives/vScrollElevation.d.ts +31 -0
- package/dist/directives/vSkeleton.d.ts +19 -0
- package/dist/directives/vStateLayer.d.ts +20 -0
- package/dist/directives/vSwipe.d.ts +45 -0
- package/dist/directives/vTooltip.d.ts +23 -0
- package/dist/index.d.ts +28 -1
- package/dist/locales/index.js +21 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +7132 -6217
- package/dist/m3ui.js.map +1 -1
- package/dist/map.d.ts +1 -1
- package/dist/map.js +821 -791
- package/dist/map.js.map +1 -1
- package/dist/motion-DZiXG09o.js +150 -0
- package/dist/motion-DZiXG09o.js.map +1 -0
- package/dist/plugin.d.ts +24 -0
- package/dist/rich-text-editor.js +13 -9
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles/theme.css +63 -0
- package/dist/styles.css +1 -1
- package/dist/{useLocale-CXibICQA.js → useLocale-JYxDDeXC.js} +4 -2
- package/dist/useLocale-JYxDDeXC.js.map +1 -0
- package/dist/useThemeTokens-Bv-Uv8eX.js +135 -0
- package/dist/useThemeTokens-Bv-Uv8eX.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MButton.test.ts +22 -0
- package/src/__tests__/MCarousel.test.ts +9 -0
- package/src/__tests__/MChart.test.ts +77 -5
- package/src/__tests__/MIconButton.test.ts +33 -0
- package/src/__tests__/MMap.test.ts +53 -1
- package/src/__tests__/MMapLayers.test.ts +46 -2
- package/src/__tests__/MMenu.test.ts +104 -1
- package/src/__tests__/MMenuItem.test.ts +18 -0
- package/src/__tests__/MNavigationDrawer.test.ts +80 -0
- package/src/__tests__/MOverlay.test.ts +49 -0
- package/src/__tests__/MProgressBar.test.ts +41 -0
- package/src/__tests__/MPullToRefresh.test.ts +33 -0
- package/src/__tests__/MRichTextEditor.test.ts +22 -0
- package/src/__tests__/MSearchField.test.ts +71 -0
- package/src/__tests__/MSegmentedButton.test.ts +10 -0
- package/src/__tests__/MSkeleton.test.ts +38 -0
- package/src/__tests__/MTimeline.test.ts +238 -0
- package/src/__tests__/_fakeMaplibre.ts +3 -1
- package/src/__tests__/attrsFallthrough.test.ts +3 -0
- package/src/__tests__/escapeStack.test.ts +93 -0
- package/src/__tests__/ssr.test.ts +21 -2
- package/src/__tests__/useAutoGrow.test.ts +103 -0
- package/src/__tests__/useScrollReveal.test.ts +102 -0
- package/src/__tests__/useThemeTokens.test.ts +114 -0
- package/src/__tests__/vClickOutside.test.ts +82 -0
- package/src/__tests__/vFocusRing.test.ts +36 -0
- package/src/__tests__/vLongPress.test.ts +81 -0
- package/src/__tests__/vScrollElevation.test.ts +89 -0
- package/src/__tests__/vSkeleton.test.ts +48 -0
- package/src/__tests__/vStateLayer.test.ts +53 -0
- package/src/__tests__/vSwipe.test.ts +93 -0
- package/src/__tests__/vTooltip.test.ts +95 -0
- package/src/__tests__/viewportHints.test.ts +41 -0
- package/src/components/MAutocomplete.vue +5 -0
- package/src/components/MBottomSheet.vue +4 -1
- package/src/components/MButton.vue +15 -1
- package/src/components/MButtonGroup.vue +22 -17
- package/src/components/MCarousel.vue +7 -1
- package/src/components/MChart.vue +74 -34
- package/src/components/MCircleProgressBar.vue +14 -9
- package/src/components/MCommandPalette.vue +3 -2
- package/src/components/MContextMenu.vue +19 -60
- package/src/components/MDragDropList.vue +2 -0
- package/src/components/MIconButton.vue +40 -1
- package/src/components/MKanban.vue +2 -0
- package/src/components/MLightbox.vue +7 -2
- package/src/components/MMap.vue +38 -5
- package/src/components/MMapBaseLayers.vue +7 -3
- package/src/components/MMapFilter.vue +7 -4
- package/src/components/MMapGeoJson.vue +1 -1
- package/src/components/MMapLayers.vue +6 -2
- package/src/components/MMapMeasure.vue +5 -2
- package/src/components/MMenu.vue +18 -59
- package/src/components/MMenuItem.vue +11 -2
- package/src/components/MMultiAutocomplete.vue +5 -0
- package/src/components/MNavigationDrawer.vue +96 -11
- package/src/components/MNavigationRail.vue +4 -15
- package/src/components/MOverlay.vue +32 -13
- package/src/components/MProgressBar.vue +25 -27
- package/src/components/MPullToRefresh.vue +20 -1
- package/src/components/MRichTextEditor.vue +19 -5
- package/src/components/MSearchBar.vue +5 -0
- package/src/components/MSearchField.vue +142 -0
- package/src/components/MSegmentedButton.vue +20 -18
- package/src/components/MSelect.vue +10 -1
- package/src/components/MSideSheet.vue +5 -2
- package/src/components/MSimpleCarousel.vue +10 -1
- package/src/components/MSkeleton.vue +30 -8
- package/src/components/MSpotlightSearch.vue +3 -2
- package/src/components/MTextField.vue +15 -2
- package/src/components/MTimeline.vue +370 -81
- package/src/components/MTooltip.vue +20 -152
- package/src/components/_MDrawerItemList.vue +25 -6
- package/src/composables/_mapStyle.ts +45 -0
- package/src/composables/_themeTransition.ts +2 -0
- package/src/composables/_tooltipTrigger.ts +184 -0
- package/src/composables/_useMenuNav.ts +209 -0
- package/src/composables/useAutoGrow.ts +78 -0
- package/src/composables/useLocale.ts +5 -0
- package/src/composables/useMap.ts +43 -5
- package/src/composables/useMapFilter.ts +6 -5
- package/src/composables/useMapLayers.ts +7 -6
- package/src/composables/useScrollReveal.ts +151 -0
- package/src/composables/useThemeTokens.ts +116 -0
- package/src/composables/viewportHints.ts +80 -0
- package/src/directives/vClickOutside.ts +90 -0
- package/src/directives/vFocusRing.ts +60 -0
- package/src/directives/vLongPress.ts +134 -0
- package/src/directives/vReveal.ts +57 -0
- package/src/directives/vScrollElevation.ts +116 -0
- package/src/directives/vSkeleton.ts +87 -0
- package/src/directives/vStateLayer.ts +83 -0
- package/src/directives/vSwipe.ts +197 -0
- package/src/directives/vTooltip.ts +128 -0
- package/src/index.ts +28 -1
- package/src/locales/de.ts +2 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/fr.ts +2 -0
- package/src/locales/ja.ts +2 -0
- package/src/locales/ko.ts +2 -0
- package/src/locales/pt.ts +2 -0
- package/src/locales/zh.ts +2 -0
- package/src/map.ts +1 -1
- package/src/plugin.ts +34 -0
- package/src/styles/theme.css +63 -0
- package/dist/MMenuItem-BfjqwcYP.js +0 -830
- package/dist/MMenuItem-BfjqwcYP.js.map +0 -1
- package/dist/MSlider-JflHJ70q.js.map +0 -1
- package/dist/MTextField-NaIB6RbM.js +0 -673
- package/dist/MTextField-NaIB6RbM.js.map +0 -1
- package/dist/composables/_useThemeTokens.d.ts +0 -7
- package/dist/useLocale-CXibICQA.js.map +0 -1
- package/src/composables/_useThemeTokens.ts +0 -42
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComputedRef, type InjectionKey, type Ref, type ShallowRef } from 'vue';
|
|
1
|
+
import { type ComputedRef, type InjectionKey, type MaybeRefOrGetter, type Ref, type ShallowRef } from 'vue';
|
|
2
2
|
import type * as Maplibre from 'maplibre-gl';
|
|
3
3
|
import type { MapLayerModel } from './mapAdapters';
|
|
4
4
|
import type { MapLayerState } from './useMapLayers';
|
|
@@ -23,18 +23,34 @@ export interface MapContext {
|
|
|
23
23
|
activeTool: Ref<string | null>;
|
|
24
24
|
}
|
|
25
25
|
export declare const MAP_KEY: InjectionKey<MapContext>;
|
|
26
|
+
/**
|
|
27
|
+
* A map to use from outside `<MMap>`: the `MMap` itself (a template ref: `<MMap ref="map">` → `:map="map"`) or its
|
|
28
|
+
* `context`. Null or undefined until it mounts.
|
|
29
|
+
*/
|
|
30
|
+
export type MapSource = {
|
|
31
|
+
context: MapContext;
|
|
32
|
+
} | MapContext | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Internal: the enclosing MMap's context or, outside one, a context that follows `source` (empty until it's
|
|
35
|
+
* there), provided to the caller's children too. Null when there's neither.
|
|
36
|
+
*/
|
|
37
|
+
export declare function resolveMapContext(source?: MaybeRefOrGetter<MapSource>): MapContext | null;
|
|
26
38
|
type MapEventType = keyof Maplibre.MapEventType;
|
|
27
39
|
type LayerEventType = keyof Maplibre.MapLayerEventType;
|
|
28
40
|
/**
|
|
29
41
|
* The map of the enclosing `MMap`, for your own controls, layers and handlers (call it in a component inside
|
|
30
|
-
* `MMap`). Listeners added through it are removed when the component unmounts.
|
|
42
|
+
* `MMap`). Listeners added through it are removed when the component unmounts. Outside an `MMap` (a side panel),
|
|
43
|
+
* pass it one: the `MMap`'s template ref, or a getter for it; until it mounts, `map` is undefined and `onReady` waits.
|
|
31
44
|
*
|
|
32
45
|
* ```ts
|
|
33
46
|
* const { map, onLayer } = useMap()
|
|
34
47
|
* onLayer('click', 'parcels-fill', (e) => console.log(e.features?.[0]?.properties))
|
|
48
|
+
*
|
|
49
|
+
* // In a panel next to the map: <MMap ref="mapRef"> … <MyPanel :map="mapRef" />
|
|
50
|
+
* const { map } = useMap(() => props.map)
|
|
35
51
|
* ```
|
|
36
52
|
*/
|
|
37
|
-
export declare function useMap(): {
|
|
53
|
+
export declare function useMap(source?: MaybeRefOrGetter<MapSource>): {
|
|
38
54
|
map: ComputedRef<Maplibre.Map | undefined>;
|
|
39
55
|
maplibre: ComputedRef<MaplibreModule | undefined>;
|
|
40
56
|
styleVersion: ComputedRef<number>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import type { MaybeRefOrGetter } from 'vue';
|
|
1
2
|
import type * as Maplibre from 'maplibre-gl';
|
|
3
|
+
import { type MapSource } from './useMap';
|
|
2
4
|
/**
|
|
3
5
|
* Filters for the layers of the enclosing `MMap`, on top of the filters their style already has (a layer that only
|
|
4
6
|
* draws parks keeps doing so): `setFilter(layer, expression)` combines both, `setFilter(layer, null)` brings the
|
|
5
7
|
* style's back. `MMapFilter` is built on it; use it for filters of your own (a range slider, a date, a search…).
|
|
8
|
+
* Outside an `MMap`, pass it one (its template ref), as with `useMap`.
|
|
6
9
|
*/
|
|
7
|
-
export declare function useMapFilter(): {
|
|
10
|
+
export declare function useMapFilter(source?: MaybeRefOrGetter<MapSource>): {
|
|
8
11
|
setFilter: (layerId: string, filter: Maplibre.FilterSpecification | null) => void;
|
|
9
12
|
valuesOf: (layerId: string, property: string) => (string | number)[];
|
|
10
13
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
1
2
|
import type * as Maplibre from 'maplibre-gl';
|
|
3
|
+
import { type MapSource } from './useMap';
|
|
2
4
|
import type { MapLayerInfo, MapLayerModel } from './mapAdapters';
|
|
3
5
|
/** Visibility and opacity of the model's layers, shared by everything inside one `MMap`. */
|
|
4
6
|
export interface MapLayerState {
|
|
@@ -10,9 +12,10 @@ export declare function readLayerState(state: MapLayerState, map: Maplibre.Map,
|
|
|
10
12
|
/**
|
|
11
13
|
* The layers of the enclosing `MMap`'s style as its `adapter` describes them, with their visibility and opacity, for a
|
|
12
14
|
* layer panel or a base layer switcher of your own (`MMapLayers` and `MMapBaseLayers` are built on it). Changes go to
|
|
13
|
-
* the map and to every component using it; a layer's `children` follow it.
|
|
15
|
+
* the map and to every component using it; a layer's `children` follow it. Outside an `MMap`, pass it one (its
|
|
16
|
+
* template ref), as with `useMap`.
|
|
14
17
|
*/
|
|
15
|
-
export declare function useMapLayers(): {
|
|
18
|
+
export declare function useMapLayers(source?: MaybeRefOrGetter<MapSource>): {
|
|
16
19
|
/** The adapter's model (undefined without an `adapter`) */
|
|
17
20
|
model: import("vue").ComputedRef<MapLayerModel | undefined>;
|
|
18
21
|
layers: import("vue").ComputedRef<MapLayerInfo[]>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
/** How an element enters: from below, from a side, growing, or only fading. */
|
|
3
|
+
export type RevealEffect = 'fade-up' | 'fade' | 'scale' | 'slide-left' | 'slide-right';
|
|
4
|
+
export interface ScrollRevealOptions {
|
|
5
|
+
/** How it enters (default `'fade-up'`) */
|
|
6
|
+
effect?: RevealEffect;
|
|
7
|
+
/** Distance in px for the slide effects (default 24) */
|
|
8
|
+
distance?: number;
|
|
9
|
+
/** Delay in ms before it starts (default 0) */
|
|
10
|
+
delay?: number;
|
|
11
|
+
/** Extra delay in ms for each next element revealed at the same time, so a list cascades in (default 60) */
|
|
12
|
+
stagger?: number;
|
|
13
|
+
/** Reveal only the first time (default `true`); with `false` it hides again once it leaves the screen */
|
|
14
|
+
once?: boolean;
|
|
15
|
+
/** How much of the element has to be visible, 0 to 1 (default 0.15) */
|
|
16
|
+
threshold?: number;
|
|
17
|
+
/** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */
|
|
18
|
+
rootMargin?: string;
|
|
19
|
+
/** Motion scheme of the springs: `'standard'` (default) or `'expressive'` (a little bounce) */
|
|
20
|
+
scheme?: 'standard' | 'expressive';
|
|
21
|
+
/** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */
|
|
22
|
+
speed?: 'fast' | 'default' | 'slow';
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Internal engine shared by `useScrollReveal` and `v-reveal`: one IntersectionObserver for a set of options.
|
|
26
|
+
* Elements are hidden (inline opacity/transform) when observed and play the springs in as they enter; the ones
|
|
27
|
+
* entering together cascade by `stagger`.
|
|
28
|
+
*/
|
|
29
|
+
export declare function createReveal(options?: ScrollRevealOptions): {
|
|
30
|
+
observe(el: Element): void;
|
|
31
|
+
unobserve(el: Element): void;
|
|
32
|
+
disconnect(): void;
|
|
33
|
+
};
|
|
34
|
+
type Target = Element | null | undefined | Iterable<Element | null | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Reveals elements as they scroll into view: they fade (and slide or grow) in on M3's springs, cascading when
|
|
37
|
+
* several enter together. Pass an element, a template ref, an array of them, or a getter. Off with reduced motion:
|
|
38
|
+
* everything is simply there. For a single element in a template, `v-reveal` does the same.
|
|
39
|
+
*/
|
|
40
|
+
export declare function useScrollReveal(target: MaybeRefOrGetter<Target>, options?: ScrollRevealOptions): {
|
|
41
|
+
/** Stops watching (elements already revealed stay) */
|
|
42
|
+
stop: () => void;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export interface ThemeTokensOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Updates every animation frame while the theme switch's colors fade, so a canvas redrawn on change fades with
|
|
5
|
+
* the page instead of jumping to the new colors. Off by default: what animates color changes itself (Chart.js,
|
|
6
|
+
* MChart, maps) only needs the final values, and would otherwise redraw ~15 times per switch.
|
|
7
|
+
*/
|
|
8
|
+
live?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The current values of some color tokens (`['primary', 'surface']` → `--color-primary`…), kept up to date across
|
|
12
|
+
* light/dark, palette, contrast and generated (seed) palette changes: for what can't use CSS variables, like a
|
|
13
|
+
* Chart.js dataset, a canvas or a MapLibre layer's paint. Values settle after the theme switch's color transition;
|
|
14
|
+
* with `{ live: true }` they also follow it frame by frame (as `rgba()` midway). Empty strings on the server.
|
|
15
|
+
*
|
|
16
|
+
* ```ts
|
|
17
|
+
* const colors = useThemeTokens(['primary', 'tertiary', 'outline-variant'] as const)
|
|
18
|
+
* const data = computed(() => ({ datasets: [{ data: sales, borderColor: colors.value.primary }] }))
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function useThemeTokens<T extends string>(names: readonly T[], options?: ThemeTokensOptions): Ref<Record<T, string>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** A request's headers as server frameworks hand them over: a `Headers`, or a plain object (Node's, h3's). */
|
|
2
|
+
export type RequestHeaders = Headers | Record<string, string | string[] | undefined>;
|
|
3
|
+
/** A window size, for `createM3UI({ initialState: { viewport } })` */
|
|
4
|
+
export interface ViewportSize {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The client hints that carry the window's size (Chromium), for a server's `Accept-CH` and `Critical-CH` response
|
|
10
|
+
* headers. With `Critical-CH`, Chromium repeats the very first request once to send them; later requests carry them
|
|
11
|
+
* after `Accept-CH` alone.
|
|
12
|
+
*/
|
|
13
|
+
export declare const VIEWPORT_HINTS = "Sec-CH-Viewport-Width, Sec-CH-Viewport-Height";
|
|
14
|
+
/**
|
|
15
|
+
* The window size to server-render the adaptive layouts at, from a request's headers: the size `createM3UI({
|
|
16
|
+
* cookies: true })` keeps in the `m3-viewport` cookie (any visit after the first); the viewport client hints
|
|
17
|
+
* (Chromium, once the server asked for them with `VIEWPORT_HINTS`); or, on a first visit, a size standing for the
|
|
18
|
+
* kind of device (`Sec-CH-UA-Mobile`, then the user agent: a phone, a tablet or a desktop), unless `guess: false`.
|
|
19
|
+
* Undefined when nothing tells: the layouts then render compact.
|
|
20
|
+
*
|
|
21
|
+
* ```ts
|
|
22
|
+
* createM3UI({ cookies: true, initialState: { viewport: viewportFromHeaders(request.headers) } })
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function viewportFromHeaders(headers: RequestHeaders, options?: {
|
|
26
|
+
guess?: boolean;
|
|
27
|
+
}): ViewportSize | undefined;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/** Options for `v-click-outside`. */
|
|
3
|
+
export interface ClickOutsideOptions {
|
|
4
|
+
/** Called with the event that landed outside the element. */
|
|
5
|
+
handler?: (event: PointerEvent | MouseEvent) => void;
|
|
6
|
+
/**
|
|
7
|
+
* Elements that count as inside too: elements or CSS selectors (the button that toggles a panel, or a panel's
|
|
8
|
+
* own popup teleported to `<body>`).
|
|
9
|
+
*/
|
|
10
|
+
exclude?: Array<HTMLElement | string | null | undefined>;
|
|
11
|
+
/** `'pointerdown'` (default) reacts as the press starts, like menus; `'click'` once it ends, so a drag out doesn't count. */
|
|
12
|
+
event?: 'pointerdown' | 'click';
|
|
13
|
+
/** Off while true. */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** `v-click-outside` value: the handler, or an options object. */
|
|
17
|
+
export type ClickOutsideValue = ((event: PointerEvent | MouseEvent) => void) | ClickOutsideOptions | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Calls a handler when a press lands outside the element: `v-click-outside="close"` or
|
|
20
|
+
* `v-click-outside="{ handler, exclude, event, disabled }"`. `exclude` takes elements or selectors that count
|
|
21
|
+
* as inside (the toggle button, a teleported popup). Only the primary button counts. Starts listening after the
|
|
22
|
+
* event that mounted it, so the click that opened a panel doesn't close it. Registered globally as
|
|
23
|
+
* `v-click-outside` by `createM3UI()`; import `vClickOutside` to use it without the plugin.
|
|
24
|
+
*/
|
|
25
|
+
export declare const vClickOutside: Directive<HTMLElement, ClickOutsideValue>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/** Options for `v-focus-ring`. */
|
|
3
|
+
export interface FocusRingOptions {
|
|
4
|
+
/** No ring while true. */
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** Any CSS color or token for the ring; defaults to `var(--color-secondary)`, as M3's focus indicator. */
|
|
7
|
+
color?: string;
|
|
8
|
+
/** Draws the ring inside the element's edge instead of 2px outside it, for elements clipped by a parent. */
|
|
9
|
+
inset?: boolean;
|
|
10
|
+
/** Also shows while an element inside it has keyboard focus (a card holding a link or a field). */
|
|
11
|
+
within?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/** `v-focus-ring` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */
|
|
14
|
+
export type FocusRingValue = boolean | string | FocusRingOptions | null | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The M3 focus indicator on any element: a 3dp ring in `secondary`, 2dp outside the element, shown on keyboard
|
|
17
|
+
* focus only (`:focus-visible`), never on a click or tap. `<div v-focus-ring tabindex="0">`, `v-focus-ring="false"`,
|
|
18
|
+
* `v-focus-ring="'#e91e63'"` or `v-focus-ring="{ disabled, color, inset, within }"`. It wins over an `outline-none`
|
|
19
|
+
* class on the same element. Registered globally as `v-focus-ring` by `createM3UI()`; import `vFocusRing` to use
|
|
20
|
+
* it without the plugin.
|
|
21
|
+
*/
|
|
22
|
+
export declare const vFocusRing: Directive<HTMLElement, FocusRingValue>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/** Options for `v-long-press`. */
|
|
3
|
+
export interface LongPressOptions {
|
|
4
|
+
/** Called once the press has been held for `duration`, with the pointerdown that started it. */
|
|
5
|
+
handler?: (event: PointerEvent) => void;
|
|
6
|
+
/** How long to hold, in ms (default 500, as MTooltip's long press). */
|
|
7
|
+
duration?: number;
|
|
8
|
+
/** How far (px) the pointer may move before it's a scroll or a drag, not a press (default 10). */
|
|
9
|
+
tolerance?: number;
|
|
10
|
+
/** A short vibration when it fires, where the device supports it (default true). */
|
|
11
|
+
haptic?: boolean;
|
|
12
|
+
/** Also with a mouse (default true); false leaves the mouse alone, for touch and pen only. */
|
|
13
|
+
mouse?: boolean;
|
|
14
|
+
/** Off while true. */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/** `v-long-press` value: the handler, or an options object. */
|
|
18
|
+
export type LongPressValue = ((event: PointerEvent) => void) | LongPressOptions | null | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Calls a handler when the element is pressed and held: `v-long-press="onHold"` or
|
|
21
|
+
* `v-long-press="{ handler, duration, tolerance, haptic, mouse, disabled }"`. Moving past the tolerance (a scroll
|
|
22
|
+
* or a drag) cancels it; once it fires, the click the press ends in and the browser's own long-press menu are
|
|
23
|
+
* swallowed, so a long-pressed button doesn't also click. While held, the element has `data-long-pressing`
|
|
24
|
+
* (`data-long-pressing:scale-95`). Registered globally as `v-long-press` by `createM3UI()`; import `vLongPress`
|
|
25
|
+
* to use it without the plugin.
|
|
26
|
+
*/
|
|
27
|
+
export declare const vLongPress: Directive<HTMLElement, LongPressValue>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
import { type RevealEffect, type ScrollRevealOptions } from '../composables/useScrollReveal';
|
|
3
|
+
/** `v-reveal` value: nothing or `true` (fade up), `false` (off), an effect name, or options. */
|
|
4
|
+
export type RevealValue = boolean | RevealEffect | ScrollRevealOptions | null | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Reveals the element as it scrolls into view, on M3's springs (see `useScrollReveal` for the options):
|
|
7
|
+
* `v-reveal`, `v-reveal="'scale'"`, `v-reveal="{ effect: 'slide-left', delay: 100 }"`. Items of a `v-for` with
|
|
8
|
+
* the same options cascade in. Off with reduced motion. Registered by `createM3UI()`, or import `vReveal`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const vReveal: Directive<HTMLElement, RevealValue>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/** Options for `v-scroll-elevation`. */
|
|
3
|
+
export interface ScrollElevationOptions {
|
|
4
|
+
/**
|
|
5
|
+
* What scrolls: an element, a CSS selector for it, or the window (when left out). A template ref that's still
|
|
6
|
+
* empty (`target: list` before the list mounts) waits for it instead of following the window.
|
|
7
|
+
*/
|
|
8
|
+
target?: HTMLElement | Window | string | null;
|
|
9
|
+
/** How far (px) the content has to scroll before the element counts as scrolled (default 0: any scroll). */
|
|
10
|
+
threshold?: number;
|
|
11
|
+
/**
|
|
12
|
+
* The background while scrolled, any CSS color or token; default `var(--color-surface-container)`, M3's
|
|
13
|
+
* scrolled container color for a top app bar. `false` changes no color: style `[data-scrolled]` yourself.
|
|
14
|
+
*/
|
|
15
|
+
color?: string | false;
|
|
16
|
+
/** Called when the scrolled state changes. */
|
|
17
|
+
onChange?: (scrolled: boolean) => void;
|
|
18
|
+
/** Stops following the scroll while true (and clears the scrolled state). */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** `v-scroll-elevation` value: nothing or `true` (the window), `false` (off), a selector, or an options object. */
|
|
22
|
+
export type ScrollElevationValue = boolean | string | ScrollElevationOptions | null | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Marks an element while the content under it has scrolled, as M3's top app bar does on scroll: it takes the
|
|
25
|
+
* scrolled container color (`surface-container`) and gets a `data-scrolled` attribute for your own styles
|
|
26
|
+
* (`data-scrolled:shadow-elevation-2`). Follows the window, or `v-scroll-elevation="'#list'"` /
|
|
27
|
+
* `{ target, threshold, color, onChange, disabled }`. Add `transition-colors` to the element for a fade.
|
|
28
|
+
* Registered globally as `v-scroll-elevation` by `createM3UI()`; import `vScrollElevation` to use it without the
|
|
29
|
+
* plugin.
|
|
30
|
+
*/
|
|
31
|
+
export declare const vScrollElevation: Directive<HTMLElement, ScrollElevationValue>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/** Options for `v-skeleton`. */
|
|
3
|
+
export interface SkeletonOptions {
|
|
4
|
+
/** Shows the placeholder while true. */
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
/** MSkeleton's animations (default `'pulse'`). */
|
|
7
|
+
animation?: 'pulse' | 'wave' | 'none';
|
|
8
|
+
}
|
|
9
|
+
/** `v-skeleton` value: whether it's loading, or an options object. */
|
|
10
|
+
export type SkeletonValue = boolean | SkeletonOptions | null | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Turns an element into its own loading placeholder: `v-skeleton="loading"` or
|
|
13
|
+
* `v-skeleton="{ loading, animation }"`. While loading it keeps its size and corners, hides its content (which
|
|
14
|
+
* still sizes it: placeholder text like `{{ user?.name ?? 'Loading name' }}` gives an empty element a width),
|
|
15
|
+
* takes MSkeleton's tint and animation (`pulse`, `wave` or `none`; still with reduced motion), ignores the pointer
|
|
16
|
+
* and is `aria-busy`. Registered globally as `v-skeleton` by `createM3UI()`; import `vSkeleton` to use it
|
|
17
|
+
* without the plugin.
|
|
18
|
+
*/
|
|
19
|
+
export declare const vSkeleton: Directive<HTMLElement, SkeletonValue>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/** Options for `v-state-layer`. */
|
|
3
|
+
export interface StateLayerOptions {
|
|
4
|
+
/** No state layer while true (e.g. bound to the element's disabled state). `disabled` / `aria-disabled="true"` hosts get none either way. */
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** Any CSS color for the layer; defaults to the element's text color (`currentColor`). */
|
|
7
|
+
color?: string;
|
|
8
|
+
/** Holds the dragged state (16%) while true, e.g. while the element is being dragged. */
|
|
9
|
+
dragged?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** `v-state-layer` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */
|
|
12
|
+
export type StateLayerValue = boolean | string | StateLayerOptions | null | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The M3 state layer for any element: a tint in its text color at 8% on hover, 10% on keyboard focus and press,
|
|
15
|
+
* 16% while dragged. `<div v-state-layer>`, `v-state-layer="false"`, `v-state-layer="'#e91e63'"` or
|
|
16
|
+
* `v-state-layer="{ disabled, color, dragged }"`. Pairs with `v-ripple`. A statically positioned element is made
|
|
17
|
+
* `position: relative`. Registered globally as `v-state-layer` by `createM3UI()`; import `vStateLayer` to use it
|
|
18
|
+
* without the plugin.
|
|
19
|
+
*/
|
|
20
|
+
export declare const vStateLayer: Directive<HTMLElement, StateLayerValue>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
export type SwipeDirection = 'left' | 'right' | 'up' | 'down';
|
|
3
|
+
/** What a swipe handler gets. */
|
|
4
|
+
export interface SwipeInfo {
|
|
5
|
+
direction: SwipeDirection;
|
|
6
|
+
/** Distance from where the press started, px (x grows rightwards, y downwards). */
|
|
7
|
+
dx: number;
|
|
8
|
+
dy: number;
|
|
9
|
+
/** Speed along the swipe's axis when the finger lifted, px/ms. */
|
|
10
|
+
velocity: number;
|
|
11
|
+
/** The pointerup that ended it. */
|
|
12
|
+
event: PointerEvent;
|
|
13
|
+
}
|
|
14
|
+
/** Options for `v-swipe`. */
|
|
15
|
+
export interface SwipeOptions {
|
|
16
|
+
left?: (info: SwipeInfo) => void;
|
|
17
|
+
right?: (info: SwipeInfo) => void;
|
|
18
|
+
up?: (info: SwipeInfo) => void;
|
|
19
|
+
down?: (info: SwipeInfo) => void;
|
|
20
|
+
/** Called for a swipe in any direction that has no handler of its own. Listens on both axes. */
|
|
21
|
+
handler?: (info: SwipeInfo) => void;
|
|
22
|
+
/** How far (px) the finger has to travel for a slow swipe to count (default 50). */
|
|
23
|
+
threshold?: number;
|
|
24
|
+
/** A swipe at least this fast (px/ms) counts whatever its length (default 0.5, a flick). */
|
|
25
|
+
velocity?: number;
|
|
26
|
+
/** Called while the finger moves along a listened axis, for feedback (follow the finger, fade a hint). */
|
|
27
|
+
onMove?: (dx: number, dy: number, event: PointerEvent) => void;
|
|
28
|
+
/** Called when the press ends, swiped or not (spring a moved element back). */
|
|
29
|
+
onEnd?: (swiped: boolean) => void;
|
|
30
|
+
/** Also with a mouse drag (default false: swipes are for touch and pen). */
|
|
31
|
+
mouse?: boolean;
|
|
32
|
+
/** Off while true. */
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** `v-swipe` value: a handler for any direction, or an options object. */
|
|
36
|
+
export type SwipeValue = ((info: SwipeInfo) => void) | SwipeOptions | null | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Calls handlers when an element is swiped: `v-swipe="onSwipe"` (any direction, `info.direction` says which) or
|
|
39
|
+
* `v-swipe="{ left, right, up, down, threshold, velocity, onMove, onEnd, mouse, disabled }"`. A swipe counts past
|
|
40
|
+
* `threshold` px, or at any length when flicked faster than `velocity`. The element's `touch-action` is set from
|
|
41
|
+
* the directions you listen to: only left/right leaves vertical scrolling to the page (`pan-y`), only up/down the
|
|
42
|
+
* horizontal (`pan-x`), both block panning from it (`none`). The click a swipe ends in is swallowed. Registered
|
|
43
|
+
* globally as `v-swipe` by `createM3UI()`; import `vSwipe` to use it without the plugin.
|
|
44
|
+
*/
|
|
45
|
+
export declare const vSwipe: Directive<HTMLElement, SwipeValue>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
import { type TooltipPlacement } from '../composables/_tooltipTrigger';
|
|
3
|
+
/** Options for `v-tooltip`. */
|
|
4
|
+
export interface TooltipOptions {
|
|
5
|
+
/** The tooltip's text; nothing shows while it's empty. */
|
|
6
|
+
text?: string;
|
|
7
|
+
/** Side of the element it shows on (default `'top'`); it stays inside the window. */
|
|
8
|
+
placement?: TooltipPlacement;
|
|
9
|
+
/** Delay before it shows on hover or keyboard focus, in ms (default 600, like MTooltip). */
|
|
10
|
+
delay?: number;
|
|
11
|
+
/** Never shows while true. */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/** `v-tooltip` value: the text, or an options object. */
|
|
15
|
+
export type TooltipValue = string | TooltipOptions | null | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* MTooltip's plain tooltip on any element, without wrapping it: `v-tooltip="'Save'"` or
|
|
18
|
+
* `v-tooltip="{ text, placement, delay, disabled }"`. Shows after a delay on mouse hover, on keyboard focus, and
|
|
19
|
+
* on a long press on touch (swallowing that press's click, hiding 1.5s after the finger lifts); Escape and
|
|
20
|
+
* scrolling hide it. Registered globally as `v-tooltip` by `createM3UI()`; import `vTooltip` to use it without
|
|
21
|
+
* the plugin.
|
|
22
|
+
*/
|
|
23
|
+
export declare const vTooltip: Directive<HTMLElement, TooltipValue>;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export type { Palette, PaletteId, ActiveSeed, ContrastLevel } from './composable
|
|
|
12
12
|
export { SEED_PALETTE } from './composables/useColorPalette';
|
|
13
13
|
export { themeInitScript } from './composables/themeInitScript';
|
|
14
14
|
export type { ThemeInitOptions } from './composables/themeInitScript';
|
|
15
|
+
export { viewportFromHeaders, VIEWPORT_HINTS } from './composables/viewportHints';
|
|
16
|
+
export type { RequestHeaders, ViewportSize } from './composables/viewportHints';
|
|
15
17
|
export { generateScheme, schemeToCss, schemeRoles, seedFromImage, seedFromPixels } from './composables/dynamicColor';
|
|
16
18
|
export type { SchemeVariant, SeedOptions, GeneratedScheme } from './composables/dynamicColor';
|
|
17
19
|
export { useToast } from './composables/useToast';
|
|
@@ -20,6 +22,12 @@ export { useFieldBg } from './composables/useFieldBg';
|
|
|
20
22
|
export { useLocale, defaultLocale } from './composables/useLocale';
|
|
21
23
|
export type { M3Locale } from './composables/useLocale';
|
|
22
24
|
export { useDevice } from './composables/useDevice';
|
|
25
|
+
export { useAutoGrow } from './composables/useAutoGrow';
|
|
26
|
+
export type { AutoGrowOptions } from './composables/useAutoGrow';
|
|
27
|
+
export { useThemeTokens } from './composables/useThemeTokens';
|
|
28
|
+
export type { ThemeTokensOptions } from './composables/useThemeTokens';
|
|
29
|
+
export { useScrollReveal } from './composables/useScrollReveal';
|
|
30
|
+
export type { ScrollRevealOptions, RevealEffect } from './composables/useScrollReveal';
|
|
23
31
|
export { useWindowSizeClass, widthSizeClass, heightSizeClass } from './composables/useWindowSizeClass';
|
|
24
32
|
export type { WidthSizeClass, HeightSizeClass, WindowSizeClassInfo } from './composables/useWindowSizeClass';
|
|
25
33
|
export { useNotification } from './composables/useNotification';
|
|
@@ -31,6 +39,24 @@ export { motionSprings, motionEasings, motionDurations, cubicBezier } from './co
|
|
|
31
39
|
export type { SpringSpec } from './composables/motion';
|
|
32
40
|
export { vRipple } from './directives/vRipple';
|
|
33
41
|
export type { RippleOptions, RippleValue } from './directives/vRipple';
|
|
42
|
+
export { vReveal } from './directives/vReveal';
|
|
43
|
+
export type { RevealValue } from './directives/vReveal';
|
|
44
|
+
export { vStateLayer } from './directives/vStateLayer';
|
|
45
|
+
export type { StateLayerOptions, StateLayerValue } from './directives/vStateLayer';
|
|
46
|
+
export { vTooltip } from './directives/vTooltip';
|
|
47
|
+
export type { TooltipOptions, TooltipValue } from './directives/vTooltip';
|
|
48
|
+
export { vFocusRing } from './directives/vFocusRing';
|
|
49
|
+
export type { FocusRingOptions, FocusRingValue } from './directives/vFocusRing';
|
|
50
|
+
export { vScrollElevation } from './directives/vScrollElevation';
|
|
51
|
+
export type { ScrollElevationOptions, ScrollElevationValue } from './directives/vScrollElevation';
|
|
52
|
+
export { vLongPress } from './directives/vLongPress';
|
|
53
|
+
export type { LongPressOptions, LongPressValue } from './directives/vLongPress';
|
|
54
|
+
export { vSwipe } from './directives/vSwipe';
|
|
55
|
+
export type { SwipeDirection, SwipeInfo, SwipeOptions, SwipeValue } from './directives/vSwipe';
|
|
56
|
+
export { vClickOutside } from './directives/vClickOutside';
|
|
57
|
+
export type { ClickOutsideOptions, ClickOutsideValue } from './directives/vClickOutside';
|
|
58
|
+
export { vSkeleton } from './directives/vSkeleton';
|
|
59
|
+
export type { SkeletonOptions, SkeletonValue } from './directives/vSkeleton';
|
|
34
60
|
export { default as MAbsolute } from './components/MAbsolute.vue';
|
|
35
61
|
export { default as MAlert } from './components/MAlert.vue';
|
|
36
62
|
export { default as MAnimatedNumber } from './components/MAnimatedNumber.vue';
|
|
@@ -142,6 +168,7 @@ export { default as MScheduler } from './components/MScheduler.vue';
|
|
|
142
168
|
export { default as MScheme } from './components/MScheme.vue';
|
|
143
169
|
export { default as MScrollable } from './components/MScrollable.vue';
|
|
144
170
|
export { default as MSearchBar } from './components/MSearchBar.vue';
|
|
171
|
+
export { default as MSearchField } from './components/MSearchField.vue';
|
|
145
172
|
export { default as MSection } from './components/MSection.vue';
|
|
146
173
|
export { default as MSeekBar } from './components/MSeekBar.vue';
|
|
147
174
|
export { default as MSegmentedButton } from './components/MSegmentedButton.vue';
|
|
@@ -220,7 +247,7 @@ export type { SpotlightResult } from './components/MSpotlightSearch.vue';
|
|
|
220
247
|
export type { StepItem } from './components/MStepper.vue';
|
|
221
248
|
export type { CommandItem } from './components/MCommandPalette.vue';
|
|
222
249
|
export type { TableFetchParams } from './components/MTable.vue';
|
|
223
|
-
export type { TimelineItem } from './components/MTimeline.vue';
|
|
250
|
+
export type { TimelineItem, TimelineStatus } from './components/MTimeline.vue';
|
|
224
251
|
export type { TourStep } from './components/MTour.vue';
|
|
225
252
|
export type { TransferItem } from './components/MTransferList.vue';
|
|
226
253
|
export type { TreeNode } from './components/MTree.vue';
|
package/dist/locales/index.js
CHANGED
|
@@ -187,7 +187,9 @@ var e = {
|
|
|
187
187
|
mapClearMeasurements: "Borrar mediciones",
|
|
188
188
|
mapDeleteMeasurement: "Borrar medición",
|
|
189
189
|
mapTotal: "Total",
|
|
190
|
-
mapSearchPlaces: "Buscar lugares"
|
|
190
|
+
mapSearchPlaces: "Buscar lugares",
|
|
191
|
+
timelineShowMore: "Mostrar {count} más",
|
|
192
|
+
timelineShowLess: "Mostrar menos"
|
|
191
193
|
}, t = {
|
|
192
194
|
lang: "fr",
|
|
193
195
|
search: "Rechercher...",
|
|
@@ -376,7 +378,9 @@ var e = {
|
|
|
376
378
|
mapClearMeasurements: "Effacer les mesures",
|
|
377
379
|
mapDeleteMeasurement: "Supprimer la mesure",
|
|
378
380
|
mapTotal: "Total",
|
|
379
|
-
mapSearchPlaces: "Rechercher un lieu"
|
|
381
|
+
mapSearchPlaces: "Rechercher un lieu",
|
|
382
|
+
timelineShowMore: "Afficher {count} de plus",
|
|
383
|
+
timelineShowLess: "Afficher moins"
|
|
380
384
|
}, n = {
|
|
381
385
|
lang: "pt",
|
|
382
386
|
search: "Pesquisar...",
|
|
@@ -565,7 +569,9 @@ var e = {
|
|
|
565
569
|
mapClearMeasurements: "Apagar medições",
|
|
566
570
|
mapDeleteMeasurement: "Apagar medição",
|
|
567
571
|
mapTotal: "Total",
|
|
568
|
-
mapSearchPlaces: "Pesquisar lugares"
|
|
572
|
+
mapSearchPlaces: "Pesquisar lugares",
|
|
573
|
+
timelineShowMore: "Mostrar mais {count}",
|
|
574
|
+
timelineShowLess: "Mostrar menos"
|
|
569
575
|
}, r = {
|
|
570
576
|
lang: "de",
|
|
571
577
|
search: "Suchen...",
|
|
@@ -754,7 +760,9 @@ var e = {
|
|
|
754
760
|
mapClearMeasurements: "Messungen löschen",
|
|
755
761
|
mapDeleteMeasurement: "Messung löschen",
|
|
756
762
|
mapTotal: "Gesamt",
|
|
757
|
-
mapSearchPlaces: "Orte suchen"
|
|
763
|
+
mapSearchPlaces: "Orte suchen",
|
|
764
|
+
timelineShowMore: "{count} weitere anzeigen",
|
|
765
|
+
timelineShowLess: "Weniger anzeigen"
|
|
758
766
|
}, i = {
|
|
759
767
|
lang: "ja",
|
|
760
768
|
search: "検索...",
|
|
@@ -943,7 +951,9 @@ var e = {
|
|
|
943
951
|
mapClearMeasurements: "測定をクリア",
|
|
944
952
|
mapDeleteMeasurement: "測定を削除",
|
|
945
953
|
mapTotal: "合計",
|
|
946
|
-
mapSearchPlaces: "場所を検索"
|
|
954
|
+
mapSearchPlaces: "場所を検索",
|
|
955
|
+
timelineShowMore: "さらに {count} 件を表示",
|
|
956
|
+
timelineShowLess: "表示を減らす"
|
|
947
957
|
}, a = {
|
|
948
958
|
lang: "zh",
|
|
949
959
|
search: "搜索...",
|
|
@@ -1132,7 +1142,9 @@ var e = {
|
|
|
1132
1142
|
mapClearMeasurements: "清除测量",
|
|
1133
1143
|
mapDeleteMeasurement: "删除测量",
|
|
1134
1144
|
mapTotal: "总计",
|
|
1135
|
-
mapSearchPlaces: "搜索地点"
|
|
1145
|
+
mapSearchPlaces: "搜索地点",
|
|
1146
|
+
timelineShowMore: "再显示 {count} 项",
|
|
1147
|
+
timelineShowLess: "收起"
|
|
1136
1148
|
}, o = {
|
|
1137
1149
|
lang: "ko",
|
|
1138
1150
|
search: "검색...",
|
|
@@ -1321,7 +1333,9 @@ var e = {
|
|
|
1321
1333
|
mapClearMeasurements: "측정 지우기",
|
|
1322
1334
|
mapDeleteMeasurement: "측정 삭제",
|
|
1323
1335
|
mapTotal: "합계",
|
|
1324
|
-
mapSearchPlaces: "장소 검색"
|
|
1336
|
+
mapSearchPlaces: "장소 검색",
|
|
1337
|
+
timelineShowMore: "{count}개 더 보기",
|
|
1338
|
+
timelineShowLess: "간략히 보기"
|
|
1325
1339
|
};
|
|
1326
1340
|
//#endregion
|
|
1327
1341
|
export { r as deLocale, e as esLocale, t as frLocale, i as jaLocale, o as koLocale, n as ptLocale, a as zhLocale };
|