@movk/nuxt 1.4.2 → 1.5.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/README.en.md +2 -2
- package/README.md +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/AutoForm.d.vue.ts +1 -1
- package/dist/runtime/components/AutoForm.vue.d.ts +1 -1
- package/dist/runtime/components/ColorChooser.d.vue.ts +1 -1
- package/dist/runtime/components/ColorChooser.vue.d.ts +1 -1
- package/dist/runtime/components/DataTable.d.vue.ts +1 -1
- package/dist/runtime/components/DataTable.vue.d.ts +1 -1
- package/dist/runtime/components/DatePicker.d.vue.ts +1 -1
- package/dist/runtime/components/DatePicker.vue.d.ts +1 -1
- package/dist/runtime/components/PillGroup.d.vue.ts +1 -1
- package/dist/runtime/components/PillGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Popconfirm.d.vue.ts +1 -1
- package/dist/runtime/components/Popconfirm.vue.d.ts +1 -1
- package/dist/runtime/components/SearchForm.d.vue.ts +1 -1
- package/dist/runtime/components/SearchForm.vue.d.ts +1 -1
- package/dist/runtime/components/Tree.d.vue.ts +1 -1
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/components/input/AsPhoneNumberInput.d.vue.ts +1 -1
- package/dist/runtime/components/input/AsPhoneNumberInput.vue.d.ts +1 -1
- package/dist/runtime/components/input/WithCharacterLimit.d.vue.ts +1 -1
- package/dist/runtime/components/input/WithCharacterLimit.vue.d.ts +1 -1
- package/dist/runtime/components/input/WithClear.d.vue.ts +1 -1
- package/dist/runtime/components/input/WithClear.vue.d.ts +1 -1
- package/dist/runtime/components/input/WithCopy.d.vue.ts +1 -1
- package/dist/runtime/components/input/WithCopy.vue.d.ts +1 -1
- package/dist/runtime/components/input/WithFloatingLabel.d.vue.ts +1 -1
- package/dist/runtime/components/input/WithFloatingLabel.vue.d.ts +1 -1
- package/dist/runtime/components/input/WithPasswordToggle.d.vue.ts +1 -1
- package/dist/runtime/components/input/WithPasswordToggle.vue.d.ts +1 -1
- package/dist/runtime/composables/useTheme.js +3 -3
- package/dist/runtime/domains/auto-form/controls.d.ts +9 -89
- package/dist/runtime/domains/auto-form/controls.js +0 -2
- package/dist/runtime/domains/data-table/components/Pagination.d.vue.ts +1 -1
- package/dist/runtime/domains/data-table/components/Pagination.vue.d.ts +1 -1
- package/dist/runtime/domains/theme/theme-icons.d.ts +9 -0
- package/dist/runtime/domains/theme/theme-icons.js +7 -0
- package/dist/runtime/plugins/theme.js +2 -2
- package/dist/runtime/types/components/index.d.ts +0 -1
- package/dist/runtime/vue/plugins/theme.js +2 -2
- package/dist/shared/{nuxt.CXM2nhP4.mjs → nuxt.DJKBap-S.mjs} +0 -28
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +11 -11
- package/dist/runtime/components/StarRating.d.vue.ts +0 -52
- package/dist/runtime/components/StarRating.vue +0 -238
- package/dist/runtime/components/StarRating.vue.d.ts +0 -52
- package/dist/runtime/types/components/star-rating.d.ts +0 -55
- package/dist/runtime/types/components/star-rating.js +0 -0
package/README.en.md
CHANGED
|
@@ -22,7 +22,7 @@ Movk Nuxt is a UI engineering toolkit built on top of Nuxt UI, offering two ways
|
|
|
22
22
|
|
|
23
23
|
- **AutoForm — Schema-driven forms** (✅ Nuxt | ✅ Vue + Vite) - Built on Zod v4 with a "define-is-render" model: a single Schema declares the data structure, validation rules, and UI configuration at once, automatically generating a complete form interface.
|
|
24
24
|
- **DataTable — Data table** (✅ Nuxt | ✅ Vue + Vite) - Wraps TanStack Table, covering data columns, special columns (selection / index / expand / actions), tree-structured data, row interactions, appearance customization, pagination, and load-more.
|
|
25
|
-
- **Standalone component library** (✅ Nuxt | ✅ Vue + Vite) - General-purpose UI components such as DatePicker,
|
|
25
|
+
- **Standalone component library** (✅ Nuxt | ✅ Vue + Vite) - General-purpose UI components such as DatePicker, PillGroup, SearchForm, Tree, WithCopy, and ThemePicker, usable on their own without AutoForm.
|
|
26
26
|
- **Theming and Composables** (✅ Nuxt | ✅ Vue + Vite) - Non-server composition functions such as useTheme (theme read/write and export), useMessageBox (imperative dialogs), and useDateFormatter (i18n dates).
|
|
27
27
|
- **API integration system** (✅ Nuxt | ❌ Vue + Vite) - The useApiFetch / useLazyApiFetch / useClientApiFetch trio plus useUploadWithProgress / useDownloadWithProgress, providing multi-endpoint support, automatic authentication, business status-code checks, data unwrapping, Toast notifications, and progress monitoring; **depends on the Nuxt server runtime and is available in Nuxt mode only**.
|
|
28
28
|
- **Type safety** - Full TypeScript type inference, from Schema to form data, with component prop callbacks and event handler types derivable via indexed access.
|
|
@@ -276,7 +276,7 @@ Movk Nuxt adopts a clear layered architecture:
|
|
|
276
276
|
|
|
277
277
|
- **Core Systems** - AutoForm (Schema-driven forms), DataTable (data table)
|
|
278
278
|
- **API System** - useApiFetch / useLazyApiFetch / useClientApiFetch, useUploadWithProgress, useDownloadWithProgress, providing a complete API request solution
|
|
279
|
-
- **Standalone Components** - Standalone UI components such as DatePicker,
|
|
279
|
+
- **Standalone Components** - Standalone UI components such as DatePicker, PillGroup, SearchForm, Tree, WithCopy, and ThemePicker
|
|
280
280
|
- **Composables** - General-purpose composition functions such as useDateFormatter, useTheme, useMessageBox, and useAutoForm
|
|
281
281
|
- **Foundation** - Built on [Nuxt UI](https://ui.nuxt.com), [Zod v4](https://zod.dev), [VueUse](https://vueuse.org), and [TanStack Table](https://tanstack.com/table)
|
|
282
282
|
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Movk Nuxt 是构建在 Nuxt UI 之上的 UI 工程套件,提供两种使用方
|
|
|
22
22
|
|
|
23
23
|
- **AutoForm — Schema 驱动表单**(✅ Nuxt | ✅ Vue + Vite)- 基于 Zod v4 的「定义即渲染」,一份 Schema 同时声明数据结构、验证规则和 UI 配置,自动生成完整表单界面。
|
|
24
24
|
- **DataTable — 数据表格**(✅ Nuxt | ✅ Vue + Vite)- 基于 TanStack Table 封装,覆盖数据列、特殊列(选择/索引/展开/操作)、树形数据、行交互、外观定制、分页与加载更多。
|
|
25
|
-
- **独立组件库**(✅ Nuxt | ✅ Vue + Vite)- DatePicker、
|
|
25
|
+
- **独立组件库**(✅ Nuxt | ✅ Vue + Vite)- DatePicker、PillGroup、SearchForm、Tree、WithCopy、ThemePicker 等通用 UI 组件,无需依赖 AutoForm 即可独立使用。
|
|
26
26
|
- **主题与 Composables**(✅ Nuxt | ✅ Vue + Vite)- useTheme(主题读写与导出)、useMessageBox(命令式弹窗)、useDateFormatter(国际化日期)等非服务端组合式函数。
|
|
27
27
|
- **API 集成系统**(✅ Nuxt | ❌ Vue + Vite)- useApiFetch / useLazyApiFetch / useClientApiFetch 三件套 + useUploadWithProgress / useDownloadWithProgress,提供多端点、自动认证、业务状态码检查、数据解包、Toast 提示和进度监控;**依赖 Nuxt 服务端运行时,仅 Nuxt 模式可用**。
|
|
28
28
|
- **类型安全** - 完整的 TypeScript 类型推断,从 Schema 到表单数据,组件 prop 回调与事件处理类型可索引访问派生。
|
|
@@ -276,7 +276,7 @@ Movk Nuxt 采用清晰的分层架构:
|
|
|
276
276
|
|
|
277
277
|
- **Core Systems** - AutoForm(Schema 驱动表单)、DataTable(数据表格)
|
|
278
278
|
- **API System** - useApiFetch / useLazyApiFetch / useClientApiFetch、useUploadWithProgress、useDownloadWithProgress,提供完整的 API 请求方案
|
|
279
|
-
- **Standalone Components** - DatePicker、
|
|
279
|
+
- **Standalone Components** - DatePicker、PillGroup、SearchForm、Tree、WithCopy、ThemePicker 等独立 UI 组件
|
|
280
280
|
- **Composables** - useDateFormatter、useTheme、useMessageBox、useAutoForm 等通用组合式函数
|
|
281
281
|
- **Foundation** - 基于 [Nuxt UI](https://ui.nuxt.com)、[Zod v4](https://zod.dev)、[VueUse](https://vueuse.org)、[TanStack Table](https://tanstack.com/table)
|
|
282
282
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { addPlugin, defineNuxtModule, createResolver, addComponentsDir, addImportsDir } from '@nuxt/kit';
|
|
2
2
|
import defu, { defu as defu$1 } from 'defu';
|
|
3
|
-
import { U as UI_COMPONENTS, a as addTemplates } from './shared/nuxt.
|
|
3
|
+
import { U as UI_COMPONENTS, a as addTemplates } from './shared/nuxt.DJKBap-S.mjs';
|
|
4
4
|
import { getPackageJsonMetadata } from '../dist/runtime/utils/meta.js';
|
|
5
5
|
import { kebabCase } from 'scule';
|
|
6
6
|
import { updateSiteConfig } from 'nuxt-site-config/kit';
|
|
@@ -9,7 +9,7 @@ export * from '../dist/runtime/types/index.js';
|
|
|
9
9
|
import 'node:url';
|
|
10
10
|
|
|
11
11
|
const name = "@movk/nuxt";
|
|
12
|
-
const version = "1.
|
|
12
|
+
const version = "1.5.0";
|
|
13
13
|
|
|
14
14
|
function getDefaultApiConfig(apiConfig) {
|
|
15
15
|
const publicEndpoints = {};
|
|
@@ -20,7 +20,7 @@ declare const __VLS_export: <S extends z.ZodObject, T extends boolean = true, N
|
|
|
20
20
|
slots: AutoFormSlots<N extends false ? Partial<InferInput<S>> : never>;
|
|
21
21
|
emit: (evt: "error", args_0: import("@nuxt/ui").FormErrorEvent) => void;
|
|
22
22
|
}>) => import("vue").VNode & {
|
|
23
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
23
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
export default _default;
|
|
@@ -20,7 +20,7 @@ declare const __VLS_export: <S extends z.ZodObject, T extends boolean = true, N
|
|
|
20
20
|
slots: AutoFormSlots<N extends false ? Partial<InferInput<S>> : never>;
|
|
21
21
|
emit: (evt: "error", args_0: import("@nuxt/ui").FormErrorEvent) => void;
|
|
22
22
|
}>) => import("vue").VNode & {
|
|
23
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
23
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
export default _default;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <M extends "click" | "hover">(__VLS_props: NonNullab
|
|
|
25
25
|
slots: ColorChooserSlots;
|
|
26
26
|
emit: (((evt: "clear") => void) & ((evt: "change", value: string | undefined) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: string | undefined) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "format-change", format: ColorFormat) => void)) & ((event: "update:modelValue", value: string | undefined) => void);
|
|
27
27
|
}>) => import("vue").VNode & {
|
|
28
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
28
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <M extends "click" | "hover">(__VLS_props: NonNullab
|
|
|
25
25
|
slots: ColorChooserSlots;
|
|
26
26
|
emit: (((evt: "clear") => void) & ((evt: "change", value: string | undefined) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: string | undefined) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "format-change", format: ColorFormat) => void)) & ((event: "update:modelValue", value: string | undefined) => void);
|
|
27
27
|
}>) => import("vue").VNode & {
|
|
28
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
28
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -46,7 +46,7 @@ declare const __VLS_export: <T extends TableData>(__VLS_props: NonNullable<Await
|
|
|
46
46
|
slots: DataTableSlots<T>;
|
|
47
47
|
emit: ((event: "update:pagination", value: PaginationState | undefined) => void) & ((event: "update:columnVisibility", value: VisibilityState | undefined) => void) & ((event: "update:columnPinning", value: ColumnPinningState | undefined) => void) & ((event: "update:columnSizing", value: ColumnSizingState | undefined) => void) & ((event: "update:rowSelection", value: RowSelectionState | undefined) => void) & ((event: "update:rowPinning", value: RowPinningState) => void) & ((event: "update:sorting", value: SortingState) => void) & ((event: "update:expanded", value: ExpandedState | undefined) => void) & ((event: "update:columnVisibilityKeys", value: string[] | undefined) => void) & ((event: "update:columnVisibilityExcludeKeys", value: string[] | undefined) => void) & ((event: "update:rowSelectionKeys", value: string[] | undefined) => void) & ((event: "update:expandedKeys", value: string[] | undefined) => void);
|
|
48
48
|
}>) => import("vue").VNode & {
|
|
49
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
49
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
50
50
|
};
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
export default _default;
|
|
@@ -46,7 +46,7 @@ declare const __VLS_export: <T extends TableData>(__VLS_props: NonNullable<Await
|
|
|
46
46
|
slots: DataTableSlots<T>;
|
|
47
47
|
emit: ((event: "update:pagination", value: PaginationState | undefined) => void) & ((event: "update:columnVisibility", value: VisibilityState | undefined) => void) & ((event: "update:columnPinning", value: ColumnPinningState | undefined) => void) & ((event: "update:columnSizing", value: ColumnSizingState | undefined) => void) & ((event: "update:rowSelection", value: RowSelectionState | undefined) => void) & ((event: "update:rowPinning", value: RowPinningState) => void) & ((event: "update:sorting", value: SortingState) => void) & ((event: "update:expanded", value: ExpandedState | undefined) => void) & ((event: "update:columnVisibilityKeys", value: string[] | undefined) => void) & ((event: "update:columnVisibilityExcludeKeys", value: string[] | undefined) => void) & ((event: "update:rowSelectionKeys", value: string[] | undefined) => void) & ((event: "update:expandedKeys", value: string[] | undefined) => void);
|
|
48
48
|
}>) => import("vue").VNode & {
|
|
49
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
49
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
50
50
|
};
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
export default _default;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <R extends boolean, M extends boolean, P extends "cl
|
|
|
25
25
|
slots: DatePickerSlots<P>;
|
|
26
26
|
emit: (((evt: "update:modelValue", value: FormattedValue<R, M, V>) => void) & ((evt: "update:placeholder", date: DateValue) => void) & ((evt: "update:validModelValue", date: import("reka-ui").DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((event: "update:modelValue", value: FormattedValue<R, M, V> | undefined) => void);
|
|
27
27
|
}>) => import("vue").VNode & {
|
|
28
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
28
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <R extends boolean, M extends boolean, P extends "cl
|
|
|
25
25
|
slots: DatePickerSlots<P>;
|
|
26
26
|
emit: (((evt: "update:modelValue", value: FormattedValue<R, M, V>) => void) & ((evt: "update:placeholder", date: DateValue) => void) & ((evt: "update:validModelValue", date: import("reka-ui").DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void) & ((evt: "close:prevent") => void) & ((evt: "update:open", value: boolean) => void)) & ((event: "update:modelValue", value: FormattedValue<R, M, V> | undefined) => void);
|
|
27
27
|
}>) => import("vue").VNode & {
|
|
28
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
28
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends PillItem, VK extends GetItemKeys<T> | und
|
|
|
22
22
|
slots: PillGroupSlots<T, VK, M>;
|
|
23
23
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", value: GetModelValue<T, VK, M, undefined>) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "select", payload: import("../types").PillSelectPayload<T>) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M, undefined>) => void)) & ((event: "update:modelValue", value: GetModelValue<T, VK, M> | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends PillItem, VK extends GetItemKeys<T> | und
|
|
|
22
22
|
slots: PillGroupSlots<T, VK, M>;
|
|
23
23
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", value: GetModelValue<T, VK, M, undefined>) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "select", payload: import("../types").PillSelectPayload<T>) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M, undefined>) => void)) & ((event: "update:modelValue", value: GetModelValue<T, VK, M> | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <M extends "click" | "hover">(__VLS_props: NonNullab
|
|
|
19
19
|
slots: PopconfirmSlots<"click" | "hover">;
|
|
20
20
|
emit: ((evt: "error", error: unknown) => void) & ((evt: "cancel") => void) & ((evt: "confirm") => void);
|
|
21
21
|
}>) => import("vue").VNode & {
|
|
22
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
22
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <M extends "click" | "hover">(__VLS_props: NonNullab
|
|
|
19
19
|
slots: PopconfirmSlots<"click" | "hover">;
|
|
20
20
|
emit: ((evt: "error", error: unknown) => void) & ((evt: "cancel") => void) & ((evt: "confirm") => void);
|
|
21
21
|
}>) => import("vue").VNode & {
|
|
22
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
22
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
23
23
|
};
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -32,7 +32,7 @@ declare const __VLS_export: <S extends z.ZodObject>(__VLS_props: NonNullable<Awa
|
|
|
32
32
|
slots: SearchFormSlots<S>;
|
|
33
33
|
emit: (((evt: "error", event: import("@nuxt/ui").FormErrorEvent) => void) & ((evt: "clear", state: Partial<InferInput<S>>) => void) & ((evt: "reset", state: Partial<InferInput<S>>) => void) & ((evt: "expand", expanded: boolean) => void) & ((evt: "update:expanded", expanded: boolean) => void)) & (((event: "update:modelValue", value: Partial<InferInput<S>>) => void) & ((event: "update:expanded", value: boolean | undefined) => void));
|
|
34
34
|
}>) => import("vue").VNode & {
|
|
35
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
35
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
36
36
|
};
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -32,7 +32,7 @@ declare const __VLS_export: <S extends z.ZodObject>(__VLS_props: NonNullable<Awa
|
|
|
32
32
|
slots: SearchFormSlots<S>;
|
|
33
33
|
emit: (((evt: "error", event: import("@nuxt/ui").FormErrorEvent) => void) & ((evt: "clear", state: Partial<InferInput<S>>) => void) & ((evt: "reset", state: Partial<InferInput<S>>) => void) & ((evt: "expand", expanded: boolean) => void) & ((evt: "update:expanded", expanded: boolean) => void)) & (((event: "update:modelValue", value: Partial<InferInput<S>>) => void) & ((event: "update:expanded", value: boolean | undefined) => void));
|
|
34
34
|
}>) => import("vue").VNode & {
|
|
35
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
35
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
36
36
|
};
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_export: <T extends TreeItem[] = TreeItem[], M extends boolea
|
|
|
33
33
|
selection: import("../types").TreeSelectionResult<T[number]>;
|
|
34
34
|
}) => void) & ((evt: "update:modelValue", val: M extends true ? T[number][] : T[number]) => void) & ((evt: "update:expanded", val: string[]) => void) & ((evt: "update:search", value: string) => void)) & (((event: "update:modelValue", value: (M extends true ? T[number][] : T[number]) | undefined) => void) & ((event: "update:expanded", value: string[]) => void) & ((event: "update:search", value: string) => void) & ((event: "update:selectedKeys", value: string[] | undefined) => void));
|
|
35
35
|
}>) => import("vue").VNode & {
|
|
36
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
36
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
37
37
|
};
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
export default _default;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_export: <T extends TreeItem[] = TreeItem[], M extends boolea
|
|
|
33
33
|
selection: import("../types").TreeSelectionResult<T[number]>;
|
|
34
34
|
}) => void) & ((evt: "update:modelValue", val: M extends true ? T[number][] : T[number]) => void) & ((evt: "update:expanded", val: string[]) => void) & ((evt: "update:search", value: string) => void)) & (((event: "update:modelValue", value: (M extends true ? T[number][] : T[number]) | undefined) => void) & ((event: "update:expanded", value: string[]) => void) & ((event: "update:search", value: string) => void) & ((event: "update:selectedKeys", value: string[] | undefined) => void));
|
|
35
35
|
}>) => import("vue").VNode & {
|
|
36
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
36
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
37
37
|
};
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
slots: OmitByKey<InputSlots, "leading">;
|
|
22
22
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
slots: OmitByKey<InputSlots, "leading">;
|
|
22
22
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
22
22
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
22
22
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
22
22
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
23
23
|
emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
22
22
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
23
23
|
emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
22
22
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
23
23
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
22
22
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
23
23
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
22
22
|
slots: OmitByKey<InputSlots, "default" | "trailing">;
|
|
23
23
|
emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
22
22
|
slots: OmitByKey<InputSlots, "default" | "trailing">;
|
|
23
23
|
emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
24
24
|
}>) => import("vue").VNode & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
28
28
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
22
22
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
21
21
|
slots: OmitByKey<InputSlots, "trailing">;
|
|
22
22
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
23
23
|
}>) => import("vue").VNode & {
|
|
24
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
25
|
};
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useAppConfig, useColorMode, useSiteConfig } from "#imports";
|
|
2
|
-
import { themeIcons } from "../domains/theme/theme-icons.js";
|
|
2
|
+
import { resolveThemeIcons, themeIcons } from "../domains/theme/theme-icons.js";
|
|
3
3
|
import { omit, kebabCase } from "@movk/core";
|
|
4
4
|
import { useLocalStorage } from "@vueuse/core";
|
|
5
5
|
import colors from "tailwindcss/colors";
|
|
@@ -67,7 +67,7 @@ export function useTheme() {
|
|
|
67
67
|
},
|
|
68
68
|
set(option) {
|
|
69
69
|
_iconSet.value = option;
|
|
70
|
-
ui.icons =
|
|
70
|
+
ui.icons = resolveThemeIcons(option, ui.icons);
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
const modes = computed(() => [
|
|
@@ -172,7 +172,7 @@ export function useTheme() {
|
|
|
172
172
|
_radius.value = movk?.radius ?? defaultConfig.radius;
|
|
173
173
|
_font.value = movk?.font ?? defaultConfig.font;
|
|
174
174
|
_iconSet.value = defaultIcon;
|
|
175
|
-
ui.icons =
|
|
175
|
+
ui.icons = resolveThemeIcons(defaultIcon, ui.icons);
|
|
176
176
|
_blackAsPrimary.value = movk?.blackAsPrimary ?? defaultConfig.blackAsPrimary;
|
|
177
177
|
}
|
|
178
178
|
return {
|
|
@@ -77,7 +77,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
77
77
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
78
78
|
emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
79
79
|
}>) => import("vue").VNode & {
|
|
80
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
80
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
81
81
|
};
|
|
82
82
|
readonly withPasswordToggle: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
83
83
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
@@ -141,7 +141,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
141
141
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
142
142
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
143
143
|
}>) => import("vue").VNode & {
|
|
144
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
144
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
145
145
|
};
|
|
146
146
|
readonly withCopy: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
147
147
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
@@ -208,7 +208,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
208
208
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
209
209
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
210
210
|
}>) => import("vue").VNode & {
|
|
211
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
211
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
212
212
|
};
|
|
213
213
|
readonly withCharacterLimit: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
214
214
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
@@ -273,7 +273,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
273
273
|
slots: import("@movk/core").OmitByKey<InputSlots, "trailing">;
|
|
274
274
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
275
275
|
}>) => import("vue").VNode & {
|
|
276
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
276
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
277
277
|
};
|
|
278
278
|
readonly withFloatingLabel: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
279
279
|
slots: import("@movk/core").OmitByKey<InputSlots, "default" | "trailing">;
|
|
@@ -340,7 +340,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
340
340
|
slots: import("@movk/core").OmitByKey<InputSlots, "default" | "trailing">;
|
|
341
341
|
emit: (((evt: "clear") => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
342
342
|
}>) => import("vue").VNode & {
|
|
343
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
343
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
344
344
|
};
|
|
345
345
|
readonly asPhoneNumberInput: <T extends import("@nuxt/ui").InputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
346
346
|
slots: import("@movk/core").OmitByKey<InputSlots, "leading">;
|
|
@@ -405,7 +405,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
405
405
|
slots: import("@movk/core").OmitByKey<InputSlots, "leading">;
|
|
406
406
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)) & ((event: "update:modelValue", value: T | undefined) => void);
|
|
407
407
|
}>) => import("vue").VNode & {
|
|
408
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
408
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
409
409
|
};
|
|
410
410
|
readonly textarea: any;
|
|
411
411
|
readonly switch: any;
|
|
@@ -417,87 +417,6 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
417
417
|
readonly inputTags: any;
|
|
418
418
|
readonly pinInput: any;
|
|
419
419
|
readonly listbox: any;
|
|
420
|
-
readonly starRating: {
|
|
421
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../types").StarRatingProps & {
|
|
422
|
-
ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "starRating">["slots"];
|
|
423
|
-
} & {
|
|
424
|
-
modelValue?: number;
|
|
425
|
-
}> & Readonly<{
|
|
426
|
-
onChange?: ((value: number) => any) | undefined;
|
|
427
|
-
onHover?: ((value: number | null) => any) | undefined;
|
|
428
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
429
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
430
|
-
change: (value: number) => any;
|
|
431
|
-
hover: (value: number | null) => any;
|
|
432
|
-
"update:modelValue": (value: number) => any;
|
|
433
|
-
}, import("vue").PublicProps, {
|
|
434
|
-
max: number;
|
|
435
|
-
showBadge: boolean;
|
|
436
|
-
emptyIcon: import("@nuxt/ui").IconProps["name"];
|
|
437
|
-
filledIcon: import("@nuxt/ui").IconProps["name"];
|
|
438
|
-
halfIcon: import("@nuxt/ui").IconProps["name"];
|
|
439
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
440
|
-
P: {};
|
|
441
|
-
B: {};
|
|
442
|
-
D: {};
|
|
443
|
-
C: {};
|
|
444
|
-
M: {};
|
|
445
|
-
Defaults: {};
|
|
446
|
-
}, Readonly<import("../../types").StarRatingProps & {
|
|
447
|
-
ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "starRating">["slots"];
|
|
448
|
-
} & {
|
|
449
|
-
modelValue?: number;
|
|
450
|
-
}> & Readonly<{
|
|
451
|
-
onChange?: ((value: number) => any) | undefined;
|
|
452
|
-
onHover?: ((value: number | null) => any) | undefined;
|
|
453
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
454
|
-
}>, {}, {}, {}, {}, {
|
|
455
|
-
max: number;
|
|
456
|
-
showBadge: boolean;
|
|
457
|
-
emptyIcon: import("@nuxt/ui").IconProps["name"];
|
|
458
|
-
filledIcon: import("@nuxt/ui").IconProps["name"];
|
|
459
|
-
halfIcon: import("@nuxt/ui").IconProps["name"];
|
|
460
|
-
}>;
|
|
461
|
-
__isFragment?: never;
|
|
462
|
-
__isTeleport?: never;
|
|
463
|
-
__isSuspense?: never;
|
|
464
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("../../types").StarRatingProps & {
|
|
465
|
-
ui?: import("@nuxt/ui").ComponentConfig<typeof UInput, import("@nuxt/schema").AppConfig, "starRating">["slots"];
|
|
466
|
-
} & {
|
|
467
|
-
modelValue?: number;
|
|
468
|
-
}> & Readonly<{
|
|
469
|
-
onChange?: ((value: number) => any) | undefined;
|
|
470
|
-
onHover?: ((value: number | null) => any) | undefined;
|
|
471
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
472
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
473
|
-
change: (value: number) => any;
|
|
474
|
-
hover: (value: number | null) => any;
|
|
475
|
-
"update:modelValue": (value: number) => any;
|
|
476
|
-
}, string, {
|
|
477
|
-
max: number;
|
|
478
|
-
showBadge: boolean;
|
|
479
|
-
emptyIcon: import("@nuxt/ui").IconProps["name"];
|
|
480
|
-
filledIcon: import("@nuxt/ui").IconProps["name"];
|
|
481
|
-
halfIcon: import("@nuxt/ui").IconProps["name"];
|
|
482
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
483
|
-
$slots: {
|
|
484
|
-
prefix?: (props: {
|
|
485
|
-
value: number;
|
|
486
|
-
max: number;
|
|
487
|
-
}) => any;
|
|
488
|
-
} & {
|
|
489
|
-
badge?: (props: {
|
|
490
|
-
value: number;
|
|
491
|
-
max: number;
|
|
492
|
-
label: string;
|
|
493
|
-
}) => any;
|
|
494
|
-
} & {
|
|
495
|
-
suffix?: (props: {
|
|
496
|
-
value: number;
|
|
497
|
-
max: number;
|
|
498
|
-
}) => any;
|
|
499
|
-
};
|
|
500
|
-
});
|
|
501
420
|
readonly colorChooser: <M extends "click" | "hover">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
502
421
|
slots: import("../../types").ColorChooserSlots;
|
|
503
422
|
attrs: any;
|
|
@@ -535,6 +454,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
535
454
|
modal?: boolean | undefined;
|
|
536
455
|
openDelay?: number | undefined;
|
|
537
456
|
closeDelay?: number | undefined;
|
|
457
|
+
enableTouch?: boolean | undefined;
|
|
538
458
|
modelValue?: string | undefined;
|
|
539
459
|
onClear?: (() => any) | undefined;
|
|
540
460
|
onChange?: ((value: string | undefined) => any) | undefined;
|
|
@@ -550,7 +470,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
550
470
|
slots: import("../../types").ColorChooserSlots;
|
|
551
471
|
emit: (((evt: "clear") => void) & ((evt: "change", value: string | undefined) => void) & ((evt: "copy", value: string) => void) & ((evt: "update:modelValue", value: string | undefined) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "format-change", format: import("../../types").ColorFormat) => void)) & ((event: "update:modelValue", value: string | undefined) => void);
|
|
552
472
|
}>) => import("vue").VNode & {
|
|
553
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
473
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
554
474
|
};
|
|
555
475
|
readonly slideVerify: {
|
|
556
476
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../types").SlideVerifyProps & {
|
|
@@ -671,7 +591,7 @@ declare const DEFAULT_CONTROL_COMPONENTS: {
|
|
|
671
591
|
slots: import("../../types").PillGroupSlots<T, VK, M>;
|
|
672
592
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "select", payload: import("../../types").PillSelectPayload<T>) => void) & ((evt: "update:modelValue", value: import("@nuxt/ui").GetModelValue<T, VK, M, undefined>) => void)) & ((event: "update:modelValue", value: import("@nuxt/ui").GetModelValue<T, VK, M> | undefined) => void);
|
|
673
593
|
}>) => import("vue").VNode & {
|
|
674
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
594
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
675
595
|
};
|
|
676
596
|
};
|
|
677
597
|
type DefaultControlComponents = typeof DEFAULT_CONTROL_COMPONENTS;
|
|
@@ -6,7 +6,6 @@ import AsPhoneNumberInput from "../../components/input/AsPhoneNumberInput.vue";
|
|
|
6
6
|
import WithFloatingLabel from "../../components/input/WithFloatingLabel.vue";
|
|
7
7
|
import DatePicker from "../../components/DatePicker.vue";
|
|
8
8
|
import ColorChooser from "../../components/ColorChooser.vue";
|
|
9
|
-
import StarRating from "../../components/StarRating.vue";
|
|
10
9
|
import SlideVerify from "../../components/SlideVerify.vue";
|
|
11
10
|
import PillGroup from "../../components/PillGroup.vue";
|
|
12
11
|
import {
|
|
@@ -66,7 +65,6 @@ const DEFAULT_CONTROL_COMPONENTS = {
|
|
|
66
65
|
inputTags: UInputTags,
|
|
67
66
|
pinInput: UPinInput,
|
|
68
67
|
listbox: UListbox,
|
|
69
|
-
starRating: StarRating,
|
|
70
68
|
colorChooser: ColorChooser,
|
|
71
69
|
slideVerify: SlideVerify,
|
|
72
70
|
pillGroup: PillGroup
|
|
@@ -15,7 +15,7 @@ declare const __VLS_export: <T extends TableData>(__VLS_props: NonNullable<Await
|
|
|
15
15
|
slots: DataTablePaginationSlots<T>;
|
|
16
16
|
emit: {};
|
|
17
17
|
}>) => import("vue").VNode & {
|
|
18
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
18
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const __VLS_export: <T extends TableData>(__VLS_props: NonNullable<Await
|
|
|
15
15
|
slots: DataTablePaginationSlots<T>;
|
|
16
16
|
emit: {};
|
|
17
17
|
}>) => import("vue").VNode & {
|
|
18
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
18
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
export default _default;
|