@nuxt/ui 3.1.3 → 3.3.0
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/.nuxt/ui/avatar.ts +1 -1
- package/.nuxt/ui/button.ts +42 -42
- package/.nuxt/ui/card.ts +1 -1
- package/.nuxt/ui/carousel.ts +1 -1
- package/.nuxt/ui/command-palette.ts +3 -1
- package/.nuxt/ui/drawer.ts +1 -1
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/index.ts +3 -0
- package/.nuxt/ui/input-menu.ts +24 -10
- package/.nuxt/ui/input-tags.ts +310 -0
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/modal.ts +1 -1
- package/.nuxt/ui/navigation-menu.ts +1 -1
- package/.nuxt/ui/select-menu.ts +11 -6
- package/.nuxt/ui/select.ts +11 -6
- package/.nuxt/ui/table.ts +11 -2
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/timeline.ts +321 -0
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/toaster.ts +1 -1
- package/.nuxt/ui/tooltip.ts +1 -1
- package/cli/templates.mjs +11 -7
- package/dist/module.d.mts +15 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue +0 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue +10 -2
- package/dist/runtime/components/Avatar.vue.d.ts +3 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/Button.vue +6 -6
- package/dist/runtime/components/Button.vue.d.ts +1 -5
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +4 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +19 -16
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.vue +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue +1 -2
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue +84 -16
- package/dist/runtime/components/CommandPalette.vue.d.ts +38 -9
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +5 -21
- package/dist/runtime/components/Drawer.vue +4 -4
- package/dist/runtime/components/Drawer.vue.d.ts +6 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +12 -25
- package/dist/runtime/components/FileUpload.vue +242 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
- package/dist/runtime/components/Form.vue +6 -6
- package/dist/runtime/components/Form.vue.d.ts +15 -13
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +10 -7
- package/dist/runtime/components/Input.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.vue +17 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +19 -16
- package/dist/runtime/components/InputNumber.vue +3 -2
- package/dist/runtime/components/InputNumber.vue.d.ts +5 -5
- package/dist/runtime/components/InputTags.vue +161 -0
- package/dist/runtime/components/InputTags.vue.d.ts +185 -0
- package/dist/runtime/components/Kbd.vue +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +5 -1
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue +14 -13
- package/dist/runtime/components/Modal.vue.d.ts +16 -6
- package/dist/runtime/components/NavigationMenu.vue +19 -17
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/OverlayProvider.vue +2 -2
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.vue +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +1 -2
- package/dist/runtime/components/PinInput.vue +4 -3
- package/dist/runtime/components/PinInput.vue.d.ts +22 -19
- package/dist/runtime/components/Popover.vue +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/Progress.vue +2 -1
- package/dist/runtime/components/Progress.vue.d.ts +2 -2
- package/dist/runtime/components/RadioGroup.vue +3 -3
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/Select.vue +23 -4
- package/dist/runtime/components/Select.vue.d.ts +108 -2
- package/dist/runtime/components/SelectMenu.vue +33 -11
- package/dist/runtime/components/SelectMenu.vue.d.ts +106 -2
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue +14 -13
- package/dist/runtime/components/Slideover.vue.d.ts +16 -6
- package/dist/runtime/components/Slider.vue.d.ts +5 -5
- package/dist/runtime/components/Stepper.vue.d.ts +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue +90 -9
- package/dist/runtime/components/Table.vue.d.ts +30 -12
- package/dist/runtime/components/Tabs.vue +24 -4
- package/dist/runtime/components/Tabs.vue.d.ts +12 -4
- package/dist/runtime/components/Textarea.vue +10 -7
- package/dist/runtime/components/Textarea.vue.d.ts +14 -12
- package/dist/runtime/components/Timeline.vue +92 -0
- package/dist/runtime/components/Timeline.vue.d.ts +70 -0
- package/dist/runtime/components/Toast.vue +16 -9
- package/dist/runtime/components/Toast.vue.d.ts +14 -13
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/components/Tree.vue +6 -4
- package/dist/runtime/components/Tree.vue.d.ts +2 -2
- package/dist/runtime/composables/defineLocale.d.ts +2 -0
- package/dist/runtime/composables/defineLocale.js +4 -0
- package/dist/runtime/composables/defineShortcuts.js +7 -5
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFileUpload.d.ts +19 -0
- package/dist/runtime/composables/useFileUpload.js +63 -0
- package/dist/runtime/composables/useFormField.d.ts +3 -6
- package/dist/runtime/composables/useFormField.js +5 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +30 -2
- package/dist/runtime/composables/useOverlay.js +8 -7
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +4 -2
- package/dist/runtime/locale/az.js +3 -1
- package/dist/runtime/locale/bg.js +3 -1
- package/dist/runtime/locale/bn.js +3 -1
- package/dist/runtime/locale/ca.js +3 -1
- package/dist/runtime/locale/ckb.js +4 -2
- package/dist/runtime/locale/cs.js +3 -1
- package/dist/runtime/locale/da.js +3 -1
- package/dist/runtime/locale/de.js +3 -1
- package/dist/runtime/locale/el.js +3 -1
- package/dist/runtime/locale/en.js +3 -1
- package/dist/runtime/locale/es.js +3 -1
- package/dist/runtime/locale/et.js +3 -1
- package/dist/runtime/locale/fa_ir.js +3 -1
- package/dist/runtime/locale/fi.js +3 -1
- package/dist/runtime/locale/fr.js +3 -1
- package/dist/runtime/locale/he.js +3 -1
- package/dist/runtime/locale/hi.js +4 -2
- package/dist/runtime/locale/hu.js +3 -1
- package/dist/runtime/locale/hy.js +3 -1
- package/dist/runtime/locale/id.js +3 -1
- package/dist/runtime/locale/index.d.ts +1 -0
- package/dist/runtime/locale/index.js +1 -0
- package/dist/runtime/locale/it.js +3 -1
- package/dist/runtime/locale/ja.js +3 -1
- package/dist/runtime/locale/kk.js +3 -1
- package/dist/runtime/locale/km.js +4 -2
- package/dist/runtime/locale/ko.js +3 -1
- package/dist/runtime/locale/ky.js +3 -1
- package/dist/runtime/locale/lb.d.ts +3 -0
- package/dist/runtime/locale/lb.js +56 -0
- package/dist/runtime/locale/lt.js +3 -1
- package/dist/runtime/locale/mn.js +3 -1
- package/dist/runtime/locale/ms.js +3 -1
- package/dist/runtime/locale/nb_no.js +3 -1
- package/dist/runtime/locale/nl.js +3 -1
- package/dist/runtime/locale/pl.js +3 -1
- package/dist/runtime/locale/pt.js +3 -1
- package/dist/runtime/locale/pt_br.js +3 -1
- package/dist/runtime/locale/ro.js +3 -1
- package/dist/runtime/locale/ru.js +3 -1
- package/dist/runtime/locale/sk.js +3 -1
- package/dist/runtime/locale/sl.js +3 -1
- package/dist/runtime/locale/sv.js +3 -1
- package/dist/runtime/locale/th.js +3 -1
- package/dist/runtime/locale/tj.js +3 -1
- package/dist/runtime/locale/tr.js +3 -1
- package/dist/runtime/locale/ug_cn.js +3 -1
- package/dist/runtime/locale/uk.js +3 -1
- package/dist/runtime/locale/ur.js +3 -1
- package/dist/runtime/locale/uz.js +3 -1
- package/dist/runtime/locale/vi.js +3 -1
- package/dist/runtime/locale/zh_cn.js +3 -1
- package/dist/runtime/locale/zh_tw.js +3 -1
- package/dist/runtime/types/form.d.ts +11 -10
- package/dist/runtime/types/index.d.ts +3 -0
- package/dist/runtime/types/index.js +3 -0
- package/dist/runtime/types/locale.d.ts +2 -0
- package/dist/runtime/types/utils.d.ts +3 -0
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +9 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/{ui.Bix4DSU4.mjs → ui.BkSj2DmF.mjs} +560 -55
- package/dist/unplugin.d.mts +2 -0
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.mjs +1 -1
- package/package.json +37 -38
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TooltipRootProps, TooltipRootEmits, TooltipContentProps, TooltipContentEmits, TooltipArrowProps } from 'reka-ui';
|
|
1
|
+
import type { TooltipRootProps, TooltipRootEmits, TooltipContentProps, TooltipContentEmits, TooltipArrowProps, TooltipTriggerProps } from 'reka-ui';
|
|
2
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
3
3
|
import theme from '#build/ui/tooltip';
|
|
4
4
|
import type { KbdProps } from '../types';
|
|
@@ -24,6 +24,12 @@ export interface TooltipProps extends TooltipRootProps {
|
|
|
24
24
|
* @defaultValue true
|
|
25
25
|
*/
|
|
26
26
|
portal?: boolean | string | HTMLElement;
|
|
27
|
+
/**
|
|
28
|
+
* The reference (or anchor) element that is being referred to for positioning.
|
|
29
|
+
*
|
|
30
|
+
* If not provided will use the current component as anchor.
|
|
31
|
+
*/
|
|
32
|
+
reference?: TooltipTriggerProps['reference'];
|
|
27
33
|
class?: any;
|
|
28
34
|
ui?: Tooltip['slots'];
|
|
29
35
|
}
|
|
@@ -35,7 +41,7 @@ export interface TooltipSlots {
|
|
|
35
41
|
}): any;
|
|
36
42
|
content(props?: {}): any;
|
|
37
43
|
}
|
|
38
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TooltipProps,
|
|
44
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TooltipProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
45
|
"update:open": (value: boolean) => any;
|
|
40
46
|
}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
41
47
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -10,6 +10,7 @@ import { useAppConfig } from "#imports";
|
|
|
10
10
|
import { get } from "../utils";
|
|
11
11
|
import { tv } from "../utils/tv";
|
|
12
12
|
import UIcon from "./Icon.vue";
|
|
13
|
+
defineOptions({ inheritAttrs: false });
|
|
13
14
|
const props = defineProps({
|
|
14
15
|
as: { type: null, required: false },
|
|
15
16
|
color: { type: null, required: false },
|
|
@@ -29,12 +30,13 @@ const props = defineProps({
|
|
|
29
30
|
defaultExpanded: { type: Array, required: false },
|
|
30
31
|
selectionBehavior: { type: String, required: false },
|
|
31
32
|
propagateSelect: { type: Boolean, required: false },
|
|
32
|
-
disabled: { type: Boolean, required: false }
|
|
33
|
+
disabled: { type: Boolean, required: false },
|
|
34
|
+
bubbleSelect: { type: Boolean, required: false }
|
|
33
35
|
});
|
|
34
36
|
const emits = defineEmits(["update:expanded", "update:modelValue"]);
|
|
35
37
|
const slots = defineSlots();
|
|
36
38
|
const appConfig = useAppConfig();
|
|
37
|
-
const rootProps = useForwardPropsEmits(reactivePick(props, "as", "modelValue", "defaultValue", "items", "multiple", "expanded", "disabled", "propagateSelect"), emits);
|
|
39
|
+
const rootProps = useForwardPropsEmits(reactivePick(props, "as", "modelValue", "defaultValue", "items", "multiple", "expanded", "disabled", "propagateSelect", "bubbleSelect"), emits);
|
|
38
40
|
const [DefineTreeTemplate, ReuseTreeTemplate] = createReusableTemplate();
|
|
39
41
|
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.tree || {} })({
|
|
40
42
|
color: props.color,
|
|
@@ -71,7 +73,7 @@ const defaultExpanded = computed(
|
|
|
71
73
|
@toggle="item.onToggle"
|
|
72
74
|
@select="item.onSelect"
|
|
73
75
|
>
|
|
74
|
-
<button :disabled="item.disabled || disabled" :class="ui.link({ class: [props.ui?.link, item.ui?.link, item.class], selected: isSelected, disabled: item.disabled || disabled })">
|
|
76
|
+
<button type="button" :disabled="item.disabled || disabled" :class="ui.link({ class: [props.ui?.link, item.ui?.link, item.class], selected: isSelected, disabled: item.disabled || disabled })">
|
|
75
77
|
<slot :name="item.slot || 'item'" v-bind="{ index, level, expanded: isExpanded, selected: isSelected }" :item="item">
|
|
76
78
|
<slot :name="item.slot ? `${item.slot}-leading` : 'item-leading'" v-bind="{ index, level, expanded: isExpanded, selected: isSelected }" :item="item">
|
|
77
79
|
<UIcon
|
|
@@ -109,7 +111,7 @@ const defaultExpanded = computed(
|
|
|
109
111
|
</DefineTreeTemplate>
|
|
110
112
|
|
|
111
113
|
<TreeRoot
|
|
112
|
-
v-bind="rootProps"
|
|
114
|
+
v-bind="{ ...rootProps, ...$attrs }"
|
|
113
115
|
:class="ui.root({ class: [props.ui?.root, props.class] })"
|
|
114
116
|
:get-key="getItemValue"
|
|
115
117
|
:default-expanded="defaultExpanded"
|
|
@@ -24,7 +24,7 @@ export type TreeItem = {
|
|
|
24
24
|
ui?: Pick<Tree['slots'], 'item' | 'itemWithChildren' | 'link' | 'linkLeadingIcon' | 'linkLabel' | 'linkTrailing' | 'linkTrailingIcon' | 'listWithChildren'>;
|
|
25
25
|
[key: string]: any;
|
|
26
26
|
};
|
|
27
|
-
export interface TreeProps<T extends TreeItem[] = TreeItem[], VK extends GetItemKeys<T> = 'value', M extends boolean = false> extends Pick<TreeRootProps<T>, 'expanded' | 'defaultExpanded' | 'selectionBehavior' | 'propagateSelect' | 'disabled'> {
|
|
27
|
+
export interface TreeProps<T extends TreeItem[] = TreeItem[], VK extends GetItemKeys<T> = 'value', M extends boolean = false> extends Pick<TreeRootProps<T>, 'expanded' | 'defaultExpanded' | 'selectionBehavior' | 'propagateSelect' | 'disabled' | 'bubbleSelect'> {
|
|
28
28
|
/**
|
|
29
29
|
* The element or component this component should render as.
|
|
30
30
|
* @defaultValue 'ul'
|
|
@@ -109,5 +109,5 @@ declare const _default: <T extends TreeItem[], VK extends GetItemKeys<T> = "valu
|
|
|
109
109
|
};
|
|
110
110
|
export default _default;
|
|
111
111
|
type __VLS_PrettifyLocal<T> = {
|
|
112
|
-
[K in keyof T]: T[K];
|
|
112
|
+
[K in keyof T as K]: T[K];
|
|
113
113
|
} & {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Locale, Direction } from '../types/locale';
|
|
2
|
+
import type { DeepPartial } from '../types/utils';
|
|
2
3
|
interface DefineLocaleOptions<M> {
|
|
3
4
|
name: string;
|
|
4
5
|
code: string;
|
|
@@ -6,4 +7,5 @@ interface DefineLocaleOptions<M> {
|
|
|
6
7
|
messages: M;
|
|
7
8
|
}
|
|
8
9
|
export declare function defineLocale<M>(options: DefineLocaleOptions<M>): Locale<M>;
|
|
10
|
+
export declare function extendLocale<M>(locale: Locale<M>, options: Partial<DefineLocaleOptions<DeepPartial<M>>>): Locale<M>;
|
|
9
11
|
export {};
|
|
@@ -3,6 +3,7 @@ import { useEventListener, useActiveElement, useDebounceFn } from "@vueuse/core"
|
|
|
3
3
|
import { useKbd } from "./useKbd.js";
|
|
4
4
|
const chainedShortcutRegex = /^[^-]+.*-.*[^-]+$/;
|
|
5
5
|
const combinedShortcutRegex = /^[^_]+.*_.*[^_]+$/;
|
|
6
|
+
const shiftableKeys = ["arrowleft", "arrowright", "arrowup", "arrowright", "tab", "escape", "enter", "backspace"];
|
|
6
7
|
export function extractShortcuts(items) {
|
|
7
8
|
const shortcuts = {};
|
|
8
9
|
function traverse(items2) {
|
|
@@ -34,7 +35,8 @@ export function defineShortcuts(config, options = {}) {
|
|
|
34
35
|
if (!e.key) {
|
|
35
36
|
return;
|
|
36
37
|
}
|
|
37
|
-
const
|
|
38
|
+
const alphabetKey = /^[a-z]{1}$/i.test(e.key);
|
|
39
|
+
const shiftableKey = shiftableKeys.includes(e.key.toLowerCase());
|
|
38
40
|
let chainedKey;
|
|
39
41
|
chainedInputs.value.push(e.key);
|
|
40
42
|
if (chainedInputs.value.length >= 2) {
|
|
@@ -61,12 +63,12 @@ export function defineShortcuts(config, options = {}) {
|
|
|
61
63
|
if (e.ctrlKey !== shortcut.ctrlKey) {
|
|
62
64
|
continue;
|
|
63
65
|
}
|
|
64
|
-
if (
|
|
66
|
+
if ((alphabetKey || shiftableKey) && e.shiftKey !== shortcut.shiftKey) {
|
|
65
67
|
continue;
|
|
66
68
|
}
|
|
67
69
|
if (shortcut.enabled) {
|
|
68
70
|
e.preventDefault();
|
|
69
|
-
shortcut.handler();
|
|
71
|
+
shortcut.handler(e);
|
|
70
72
|
}
|
|
71
73
|
clearChainedInput();
|
|
72
74
|
return;
|
|
@@ -88,13 +90,13 @@ export function defineShortcuts(config, options = {}) {
|
|
|
88
90
|
return null;
|
|
89
91
|
}
|
|
90
92
|
let shortcut;
|
|
91
|
-
if (key.includes("-") && key !== "-" && !key.match(chainedShortcutRegex)?.length) {
|
|
93
|
+
if (key.includes("-") && key !== "-" && !key.includes("_") && !key.match(chainedShortcutRegex)?.length) {
|
|
92
94
|
console.trace(`[Shortcut] Invalid key: "${key}"`);
|
|
93
95
|
}
|
|
94
96
|
if (key.includes("_") && key !== "_" && !key.match(combinedShortcutRegex)?.length) {
|
|
95
97
|
console.trace(`[Shortcut] Invalid key: "${key}"`);
|
|
96
98
|
}
|
|
97
|
-
const chained = key.includes("-") && key !== "-";
|
|
99
|
+
const chained = key.includes("-") && key !== "-" && !key.includes("_");
|
|
98
100
|
if (chained) {
|
|
99
101
|
shortcut = {
|
|
100
102
|
key: key.toLowerCase(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
2
|
import type { AvatarGroupProps } from '../types';
|
|
3
3
|
export declare const avatarGroupInjectionKey: InjectionKey<ComputedRef<{
|
|
4
4
|
size: AvatarGroupProps['size'];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { MaybeRef } from '@vueuse/core';
|
|
2
|
+
export interface UseFileUploadOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies the allowed file types. Provide a comma-separated list of MIME types or file extensions.
|
|
5
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept
|
|
6
|
+
* @defaultValue '*'
|
|
7
|
+
*/
|
|
8
|
+
accept?: MaybeRef<string>;
|
|
9
|
+
reset?: boolean;
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
dropzone?: boolean;
|
|
12
|
+
onUpdate: (files: File[]) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function useFileUpload(options: UseFileUploadOptions): {
|
|
15
|
+
isDragging: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
open: () => void;
|
|
17
|
+
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
18
|
+
dropzoneRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ref, computed, unref, onMounted, watch, reactive } from "vue";
|
|
2
|
+
import { useFileDialog, useDropZone } from "@vueuse/core";
|
|
3
|
+
function parseAcceptToDataTypes(accept) {
|
|
4
|
+
if (!accept || accept === "*") {
|
|
5
|
+
return void 0;
|
|
6
|
+
}
|
|
7
|
+
const types = accept.split(",").map((type) => type.trim()).filter((type) => {
|
|
8
|
+
return !type.startsWith(".");
|
|
9
|
+
});
|
|
10
|
+
return types.length > 0 ? types : void 0;
|
|
11
|
+
}
|
|
12
|
+
export function useFileUpload(options) {
|
|
13
|
+
const {
|
|
14
|
+
accept = "*",
|
|
15
|
+
reset = false,
|
|
16
|
+
multiple = false,
|
|
17
|
+
dropzone = true,
|
|
18
|
+
onUpdate
|
|
19
|
+
} = options;
|
|
20
|
+
const inputRef = ref();
|
|
21
|
+
const dropzoneRef = ref();
|
|
22
|
+
const dataTypes = computed(() => parseAcceptToDataTypes(unref(accept)));
|
|
23
|
+
const onDrop = (files) => {
|
|
24
|
+
if (!files || files.length === 0) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (files instanceof FileList) {
|
|
28
|
+
files = Array.from(files);
|
|
29
|
+
}
|
|
30
|
+
if (files.length > 1 && !multiple) {
|
|
31
|
+
files = [files[0]];
|
|
32
|
+
}
|
|
33
|
+
onUpdate(files);
|
|
34
|
+
};
|
|
35
|
+
const isDragging = ref(false);
|
|
36
|
+
const fileDialog = reactive({
|
|
37
|
+
open: () => {
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
function open() {
|
|
41
|
+
fileDialog.open();
|
|
42
|
+
}
|
|
43
|
+
onMounted(() => {
|
|
44
|
+
const { isOverDropZone } = dropzone ? useDropZone(dropzoneRef, { dataTypes: dataTypes.value, onDrop }) : { isOverDropZone: ref(false) };
|
|
45
|
+
watch(isOverDropZone, (value) => {
|
|
46
|
+
isDragging.value = value;
|
|
47
|
+
});
|
|
48
|
+
const { onChange, open: open2 } = useFileDialog({
|
|
49
|
+
accept: unref(accept),
|
|
50
|
+
multiple,
|
|
51
|
+
input: unref(inputRef),
|
|
52
|
+
reset
|
|
53
|
+
});
|
|
54
|
+
fileDialog.open = open2;
|
|
55
|
+
onChange((fileList) => onDrop(fileList));
|
|
56
|
+
});
|
|
57
|
+
return {
|
|
58
|
+
isDragging,
|
|
59
|
+
open,
|
|
60
|
+
inputRef,
|
|
61
|
+
dropzoneRef
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
2
|
+
import type { UseEventBusReturn } from '@vueuse/core';
|
|
3
3
|
import type { FormFieldProps } from '../types';
|
|
4
4
|
import type { FormEvent, FormFieldInjectedOptions, FormInjectedOptions } from '../types/form';
|
|
5
5
|
import type { GetObjectField } from '../types/utils';
|
|
@@ -34,9 +34,6 @@ export declare function useFormField<T>(props?: Props<T>, opts?: {
|
|
|
34
34
|
emitFormInput: import("@vueuse/shared").UseDebounceFnReturn<() => void>;
|
|
35
35
|
emitFormChange: () => void;
|
|
36
36
|
emitFormFocus: () => void;
|
|
37
|
-
ariaAttrs: ComputedRef<
|
|
38
|
-
'aria-describedby': string;
|
|
39
|
-
'aria-invalid': boolean;
|
|
40
|
-
} | undefined>;
|
|
37
|
+
ariaAttrs: ComputedRef<Record<string, any> | undefined>;
|
|
41
38
|
};
|
|
42
39
|
export {};
|
|
@@ -57,10 +57,13 @@ export function useFormField(props, opts) {
|
|
|
57
57
|
ariaAttrs: computed(() => {
|
|
58
58
|
if (!formField?.value) return;
|
|
59
59
|
const descriptiveAttrs = ["error", "hint", "description", "help"].filter((type) => formField?.value?.[type]).map((type) => `${formField?.value.ariaId}-${type}`) || [];
|
|
60
|
-
|
|
61
|
-
"aria-describedby": descriptiveAttrs.join(" "),
|
|
60
|
+
const attrs = {
|
|
62
61
|
"aria-invalid": !!formField?.value.error
|
|
63
62
|
};
|
|
63
|
+
if (descriptiveAttrs.length > 0) {
|
|
64
|
+
attrs["aria-describedby"] = descriptiveAttrs.join(" ");
|
|
65
|
+
}
|
|
66
|
+
return attrs;
|
|
64
67
|
})
|
|
65
68
|
};
|
|
66
69
|
}
|
|
@@ -30,7 +30,7 @@ export declare const kbdKeysMap: {
|
|
|
30
30
|
export type KbdKey = keyof typeof kbdKeysMap;
|
|
31
31
|
export type KbdKeySpecific = keyof KbdKeysSpecificMap;
|
|
32
32
|
export declare const useKbd: () => {
|
|
33
|
-
macOS: import("vue").ComputedRef<false | "" | RegExpMatchArray | null
|
|
33
|
+
macOS: import("vue").ComputedRef<false | "" | RegExpMatchArray | null>;
|
|
34
34
|
getKbdKey: (value?: KbdKey | string) => string | undefined;
|
|
35
35
|
};
|
|
36
36
|
export {};
|
|
@@ -4,7 +4,7 @@ import { buildLocaleContext } from "../utils/locale.js";
|
|
|
4
4
|
import en from "../locale/en.js";
|
|
5
5
|
export const localeContextInjectionKey = Symbol.for("nuxt-ui.locale-context");
|
|
6
6
|
const _useLocale = (localeOverrides) => {
|
|
7
|
-
const locale = localeOverrides || toRef(inject(localeContextInjectionKey));
|
|
7
|
+
const locale = localeOverrides || toRef(inject(localeContextInjectionKey, en));
|
|
8
8
|
return buildLocaleContext(computed(() => locale.value || en));
|
|
9
9
|
};
|
|
10
|
-
export const useLocale =
|
|
10
|
+
export const useLocale = import.meta.client ? createSharedComposable(_useLocale) : _useLocale;
|
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
2
|
import type { ComponentProps, ComponentEmit } from 'vue-component-type-helpers';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* This is a workaround for a design limitation in TypeScript.
|
|
5
|
+
*
|
|
6
|
+
* Conditional types only match the last function overload, not a union of all possible
|
|
7
|
+
* parameter types. This workaround forces TypeScript to properly extract the 'close'
|
|
8
|
+
* event argument type from component emits with multiple event signatures.
|
|
9
|
+
*
|
|
10
|
+
* @see https://github.com/microsoft/TypeScript/issues/32164
|
|
11
|
+
*/
|
|
12
|
+
type CloseEventArgType<T> = T extends {
|
|
13
|
+
(event: 'close', arg_0: infer Arg, ...args: any[]): void;
|
|
14
|
+
(...args: any[]): void;
|
|
15
|
+
(...args: any[]): void;
|
|
16
|
+
(...args: any[]): void;
|
|
17
|
+
(...args: any[]): void;
|
|
18
|
+
(...args: any[]): void;
|
|
19
|
+
(...args: any[]): void;
|
|
20
|
+
(...args: any[]): void;
|
|
21
|
+
(...args: any[]): void;
|
|
22
|
+
(...args: any[]): void;
|
|
23
|
+
(...args: any[]): void;
|
|
24
|
+
(...args: any[]): void;
|
|
25
|
+
(...args: any[]): void;
|
|
26
|
+
(...args: any[]): void;
|
|
27
|
+
(...args: any[]): void;
|
|
28
|
+
(...args: any[]): void;
|
|
29
|
+
(...args: any[]): void;
|
|
30
|
+
} ? Arg : never;
|
|
4
31
|
export type OverlayOptions<OverlayAttrs = Record<string, any>> = {
|
|
5
32
|
defaultOpen?: boolean;
|
|
6
33
|
props?: OverlayAttrs;
|
|
@@ -11,6 +38,7 @@ interface ManagedOverlayOptionsPrivate<T extends Component> {
|
|
|
11
38
|
id: symbol;
|
|
12
39
|
isMounted: boolean;
|
|
13
40
|
isOpen: boolean;
|
|
41
|
+
originalProps?: ComponentProps<T>;
|
|
14
42
|
resolvePromise?: (value: any) => void;
|
|
15
43
|
}
|
|
16
44
|
export type Overlay = OverlayOptions<Component> & ManagedOverlayOptionsPrivate<Component>;
|
|
@@ -30,7 +58,7 @@ declare function _useOverlay(): {
|
|
|
30
58
|
closeAll: () => void;
|
|
31
59
|
create: <T extends Component>(component: T, _options?: OverlayOptions<ComponentProps<T>>) => OverlayInstance<T>;
|
|
32
60
|
patch: <T extends Component>(id: symbol, props: Partial<ComponentProps<T>>) => void;
|
|
33
|
-
|
|
61
|
+
unmount: (id: symbol) => void;
|
|
34
62
|
isOpen: (id: symbol) => boolean;
|
|
35
63
|
};
|
|
36
64
|
export declare const useOverlay: typeof _useOverlay;
|
|
@@ -10,7 +10,8 @@ function _useOverlay() {
|
|
|
10
10
|
component: markRaw(component),
|
|
11
11
|
isMounted: !!defaultOpen,
|
|
12
12
|
destroyOnClose: !!destroyOnClose,
|
|
13
|
-
|
|
13
|
+
originalProps: props || {},
|
|
14
|
+
props: { ...props }
|
|
14
15
|
});
|
|
15
16
|
overlays.push(options);
|
|
16
17
|
return {
|
|
@@ -23,7 +24,9 @@ function _useOverlay() {
|
|
|
23
24
|
const open = (id, props) => {
|
|
24
25
|
const overlay = getOverlay(id);
|
|
25
26
|
if (props) {
|
|
26
|
-
|
|
27
|
+
overlay.props = { ...overlay.originalProps, ...props };
|
|
28
|
+
} else {
|
|
29
|
+
overlay.props = { ...overlay.originalProps };
|
|
27
30
|
}
|
|
28
31
|
overlay.isOpen = true;
|
|
29
32
|
overlay.isMounted = true;
|
|
@@ -45,7 +48,7 @@ function _useOverlay() {
|
|
|
45
48
|
const closeAll = () => {
|
|
46
49
|
overlays.forEach((overlay) => close(overlay.id));
|
|
47
50
|
};
|
|
48
|
-
const
|
|
51
|
+
const unmount = (id) => {
|
|
49
52
|
const overlay = getOverlay(id);
|
|
50
53
|
overlay.isMounted = false;
|
|
51
54
|
if (overlay.destroyOnClose) {
|
|
@@ -55,9 +58,7 @@ function _useOverlay() {
|
|
|
55
58
|
};
|
|
56
59
|
const patch = (id, props) => {
|
|
57
60
|
const overlay = getOverlay(id);
|
|
58
|
-
|
|
59
|
-
overlay.props[key] = value;
|
|
60
|
-
});
|
|
61
|
+
overlay.props = { ...overlay.props, ...props };
|
|
61
62
|
};
|
|
62
63
|
const getOverlay = (id) => {
|
|
63
64
|
const overlay = overlays.find((overlay2) => overlay2.id === id);
|
|
@@ -77,7 +78,7 @@ function _useOverlay() {
|
|
|
77
78
|
closeAll,
|
|
78
79
|
create,
|
|
79
80
|
patch,
|
|
80
|
-
|
|
81
|
+
unmount,
|
|
81
82
|
isOpen
|
|
82
83
|
};
|
|
83
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Ref, InjectionKey } from 'vue';
|
|
2
2
|
export declare const portalTargetInjectionKey: InjectionKey<Ref<string | HTMLElement>>;
|
|
3
3
|
export declare function usePortal(portal: Ref<string | HTMLElement | boolean | undefined>): import("vue").ComputedRef<{
|
|
4
4
|
to: string | HTMLElement;
|
|
@@ -48,7 +48,7 @@ export interface LinkSlots {
|
|
|
48
48
|
active: boolean;
|
|
49
49
|
}): any;
|
|
50
50
|
}
|
|
51
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps,
|
|
51
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
52
52
|
type: "reset" | "submit" | "button";
|
|
53
53
|
as: any;
|
|
54
54
|
activeClass: string;
|
|
@@ -9,7 +9,7 @@ export interface LinkBaseProps {
|
|
|
9
9
|
active?: boolean;
|
|
10
10
|
isExternal?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps,
|
|
12
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
|
|
13
13
|
type: string;
|
|
14
14
|
as: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, onScopeDispose } from "vue";
|
|
2
2
|
import { createHooks } from "hookable";
|
|
3
|
-
import appConfig from "#build/app.config";
|
|
4
|
-
import { useColorMode as useColorModeVueUse } from "@vueuse/core";
|
|
5
3
|
import { usePage } from "@inertiajs/vue3";
|
|
4
|
+
import { useColorMode as useColorModeVueUse } from "@vueuse/core";
|
|
5
|
+
import appConfig from "#build/app.config";
|
|
6
6
|
export { useHead } from "@unhead/vue";
|
|
7
7
|
export { useAppConfig } from "../vue/composables/useAppConfig.js";
|
|
8
8
|
export { defineShortcuts } from "../composables/defineShortcuts.js";
|
|
@@ -16,6 +16,8 @@ export const useRoute = () => {
|
|
|
16
16
|
};
|
|
17
17
|
export const useRouter = () => {
|
|
18
18
|
};
|
|
19
|
+
export const clearError = () => {
|
|
20
|
+
};
|
|
19
21
|
export const useColorMode = () => {
|
|
20
22
|
if (!appConfig.colorMode) {
|
|
21
23
|
return {
|
|
@@ -23,7 +23,8 @@ export default defineLocale({
|
|
|
23
23
|
placeholder: "\u0627\u0643\u062A\u0628 \u0623\u0645\u0631\u064B\u0627 \u0623\u0648 \u0627\u0628\u062D\u062B...",
|
|
24
24
|
noMatch: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0645\u0637\u0627\u0628\u0642\u0629",
|
|
25
25
|
noData: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A",
|
|
26
|
-
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
26
|
+
close: "\u0625\u063A\u0644\u0627\u0642",
|
|
27
|
+
back: "\u0631\u062C\u0648\u0639"
|
|
27
28
|
},
|
|
28
29
|
selectMenu: {
|
|
29
30
|
noMatch: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0645\u0637\u0627\u0628\u0642\u0629",
|
|
@@ -37,7 +38,8 @@ export default defineLocale({
|
|
|
37
38
|
carousel: {
|
|
38
39
|
prev: "\u0627\u0644\u0633\u0627\u0628\u0642",
|
|
39
40
|
next: "\u0627\u0644\u062A\u0627\u0644\u064A",
|
|
40
|
-
|
|
41
|
+
dots: "\u0627\u062E\u062A\u0631 \u0627\u0644\u0634\u0631\u064A\u062D\u0629 \u0627\u0644\u0645\u0631\u0627\u062F \u0639\u0631\u0636\u0647\u0627",
|
|
42
|
+
goto: "\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u0649 \u0634\u0631\u064A\u062D\u0629 {slide}"
|
|
41
43
|
},
|
|
42
44
|
modal: {
|
|
43
45
|
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "\u018Fmr daxil edin v\u0259 ya axtar\u0131n...",
|
|
23
23
|
noMatch: "Uy\u011Fun m\u0259lumat tap\u0131lmad\u0131",
|
|
24
24
|
noData: "M\u0259lumat yoxdur",
|
|
25
|
-
close: "Ba\u011Fla"
|
|
25
|
+
close: "Ba\u011Fla",
|
|
26
|
+
back: "Geri"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "Uy\u011Fun m\u0259lumat tap\u0131lmad\u0131",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "\u018Fvv\u0259lki",
|
|
38
39
|
next: "N\xF6vb\u0259ti",
|
|
40
|
+
dots: "G\xF6st\u0259rm\u0259k \xFC\xE7\xFCn slayd se\xE7in",
|
|
39
41
|
goto: "Slayd {slide} ke\xE7"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "\u0412\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0438\u043B\u0438 \u043F\u043E\u0442\u044A\u0440\u0441\u0435\u0442\u0435...",
|
|
23
23
|
noMatch: "\u041D\u044F\u043C\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438",
|
|
24
24
|
noData: "\u041D\u044F\u043C\u0430 \u0434\u0430\u043D\u043D\u0438",
|
|
25
|
-
close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435"
|
|
25
|
+
close: "\u0417\u0430\u0442\u0432\u043E\u0440\u0435\u0442\u0435",
|
|
26
|
+
back: "\u041D\u0430\u0437\u0430\u0434"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "\u041D\u044F\u043C\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "\u041D\u0430\u0437\u0430\u0434",
|
|
38
39
|
next: "\u041D\u0430\u043F\u0440\u0435\u0434",
|
|
40
|
+
dots: "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0441\u043B\u0430\u0439\u0434 \u0437\u0430 \u043F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435",
|
|
39
41
|
goto: "\u041E\u0442\u0438\u0434\u0435\u0442\u0435 \u043D\u0430 \u0441\u043B\u0430\u0439\u0434 {slide}"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "\u0995\u09AE\u09BE\u09A8\u09CD\u09A1 \u099F\u09BE\u0987\u09AA \u0995\u09B0\u09C1\u09A8 \u09AC\u09BE \u0985\u09A8\u09C1\u09B8\u09A8\u09CD\u09A7\u09BE\u09A8 \u0995\u09B0\u09C1\u09A8...",
|
|
23
23
|
noMatch: "\u0995\u09CB\u09A8 \u09AE\u09BF\u09B2 \u09AA\u09BE\u0993\u09AF\u09BC\u09BE \u09AF\u09BE\u09AF\u09BC\u09A8\u09BF",
|
|
24
24
|
noData: "\u0995\u09CB\u09A8 \u09A4\u09A5\u09CD\u09AF \u09A8\u09C7\u0987",
|
|
25
|
-
close: "\u09AC\u09A8\u09CD\u09A7 \u0995\u09B0\u09C1\u09A8"
|
|
25
|
+
close: "\u09AC\u09A8\u09CD\u09A7 \u0995\u09B0\u09C1\u09A8",
|
|
26
|
+
back: "\u09AA\u09C7\u099B\u09A8\u09C7"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "\u0995\u09CB\u09A8 \u09AE\u09BF\u09B2 \u09AA\u09BE\u0993\u09AF\u09BC\u09BE \u09AF\u09BE\u09AF\u09BC\u09A8\u09BF",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "\u09AA\u09C2\u09B0\u09CD\u09AC\u09AC\u09B0\u09CD\u09A4\u09C0",
|
|
38
39
|
next: "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0",
|
|
40
|
+
dots: "\u09AA\u09CD\u09B0\u09A6\u09B0\u09CD\u09B6\u09A8\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09B8\u09CD\u09B2\u09BE\u0987\u09A1 \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8",
|
|
39
41
|
goto: "\u09B8\u09CD\u09B2\u09BE\u0987\u09A1 {slide} \u098F \u09AF\u09BE\u09A8"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "Escriu una ordre o cerca...",
|
|
23
23
|
noMatch: "No hi ha dades coincidents",
|
|
24
24
|
noData: "Sense dades",
|
|
25
|
-
close: "Tancar"
|
|
25
|
+
close: "Tancar",
|
|
26
|
+
back: "Enrere"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "No hi ha dades coincidents",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "Anterior",
|
|
38
39
|
next: "Seg\xFCent",
|
|
40
|
+
dots: "Tria la diapositiva a mostrar",
|
|
39
41
|
goto: "Anar a la diapositiva {slide}"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|
|
@@ -23,7 +23,8 @@ export default defineLocale({
|
|
|
23
23
|
placeholder: "\u0641\u06D5\u0631\u0645\u0627\u0646\u06CE\u06A9 \u0628\u0646\u0648\u0648\u0633\u06D5 \u06CC\u0627\u0646 \u0628\u06AF\u06D5\u0695\u06CE...",
|
|
24
24
|
noMatch: "\u0647\u06CC\u0686 \u0626\u06D5\u0646\u062C\u0627\u0645\u06CE\u06A9 \u0646\u06D5\u062F\u06C6\u0632\u0631\u0627\u06CC\u06D5\u0648\u06D5",
|
|
25
25
|
noData: "\u0647\u06CC\u0686 \u062F\u0627\u062A\u0627\u06CC\u06D5\u06A9 \u0646\u06CC\u06CC\u06D5",
|
|
26
|
-
close: "\u062F\u0627\u062E\u0633\u062A\u0646"
|
|
26
|
+
close: "\u062F\u0627\u062E\u0633\u062A\u0646",
|
|
27
|
+
back: "\u06AF\u06D5\u0695\u0627\u0646\u06D5\u0648\u06D5"
|
|
27
28
|
},
|
|
28
29
|
selectMenu: {
|
|
29
30
|
noMatch: "\u0647\u06CC\u0686 \u0626\u06D5\u0646\u062C\u0627\u0645\u06CE\u06A9 \u0646\u06D5\u062F\u06C6\u0632\u0631\u0627\u06CC\u06D5\u0648\u06D5",
|
|
@@ -35,8 +36,9 @@ export default defineLocale({
|
|
|
35
36
|
close: "\u062F\u0627\u062E\u0633\u062A\u0646"
|
|
36
37
|
},
|
|
37
38
|
carousel: {
|
|
38
|
-
prev: "\u067E\u06CE\u0634\u0648\u0648",
|
|
39
|
+
prev: "\u067E\u06CE\u0634\u0648\u0648\u06CC",
|
|
39
40
|
next: "\u062F\u0627\u0647\u0627\u062A\u0648\u0648",
|
|
41
|
+
dots: "\u0633\u0644\u0627\u06CC\u062F\u06CE\u06A9 \u0647\u06D5\u06B5\u0628\u0698\u06CE\u0631\u06D5 \u0628\u06C6 \u067E\u06CC\u0634\u0627\u0646\u062F\u0627\u0646",
|
|
40
42
|
goto: "\u0628\u0695\u06C6 \u0628\u06C6 \u0633\u0644\u0627\u06CC\u062F\u06CC {slide}"
|
|
41
43
|
},
|
|
42
44
|
modal: {
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "Zadejte p\u0159\xEDkaz nebo hledejte...",
|
|
23
23
|
noMatch: "\u017D\xE1dn\xE1 shoda",
|
|
24
24
|
noData: "\u017D\xE1dn\xE1 data",
|
|
25
|
-
close: "Zav\u0159\xEDt"
|
|
25
|
+
close: "Zav\u0159\xEDt",
|
|
26
|
+
back: "Zp\u011Bt"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "\u017D\xE1dn\xE1 shoda",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "P\u0159edchoz\xED",
|
|
38
39
|
next: "Dal\u0161\xED",
|
|
40
|
+
dots: "Vyberte sn\xEDmek k zobrazen\xED",
|
|
39
41
|
goto: "P\u0159ej\xEDt na {slide}"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "Skriv en kommando eller s\xF8g...",
|
|
23
23
|
noMatch: "Ingen matchende data",
|
|
24
24
|
noData: "Ingen data",
|
|
25
|
-
close: "Luk"
|
|
25
|
+
close: "Luk",
|
|
26
|
+
back: "Tilbage"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "Ingen matchende data",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "Forrige",
|
|
38
39
|
next: "N\xE6ste",
|
|
40
|
+
dots: "V\xE6lg dias til visning",
|
|
39
41
|
goto: "G\xE5 til slide {slide}"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|
|
@@ -22,7 +22,8 @@ export default defineLocale({
|
|
|
22
22
|
placeholder: "Geben Sie einen Befehl ein oder suchen Sie...",
|
|
23
23
|
noMatch: "Nichts gefunden",
|
|
24
24
|
noData: "Keine Daten",
|
|
25
|
-
close: "Schlie\xDFen"
|
|
25
|
+
close: "Schlie\xDFen",
|
|
26
|
+
back: "Zur\xFCck"
|
|
26
27
|
},
|
|
27
28
|
selectMenu: {
|
|
28
29
|
noMatch: "Nichts gefunden",
|
|
@@ -36,6 +37,7 @@ export default defineLocale({
|
|
|
36
37
|
carousel: {
|
|
37
38
|
prev: "Zur\xFCck",
|
|
38
39
|
next: "Weiter",
|
|
40
|
+
dots: "Folie zur Anzeige ausw\xE4hlen",
|
|
39
41
|
goto: "Gehe zu {slide}"
|
|
40
42
|
},
|
|
41
43
|
modal: {
|