@pungfe/element 0.0.1-alpha.9 → 0.1.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.
Files changed (72) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +151 -1
  3. package/dist/advance-C3UkhTla.js +1894 -0
  4. package/dist/advance-DIZmFb3t.cjs +1 -0
  5. package/dist/advance.cjs +1 -0
  6. package/dist/advance.d.ts +23 -0
  7. package/dist/advance.js +2 -0
  8. package/dist/basic-BfqwJFE_.cjs +1 -0
  9. package/dist/basic-CZ74BN1R.js +1006 -0
  10. package/dist/basic.cjs +1 -0
  11. package/dist/basic.d.ts +33 -0
  12. package/dist/basic.js +2 -0
  13. package/dist/components/advance/XButtonAsync.vue.d.ts +21 -0
  14. package/dist/{basic/XReconfirm.vue.d.ts → components/advance/XButtonConfirm.vue.d.ts} +6 -5
  15. package/dist/components/advance/XCascaderRequest.vue.d.ts +55 -0
  16. package/dist/components/advance/XFormFlex.vue.d.ts +19 -0
  17. package/dist/components/advance/XFormRequestNext.vue.d.ts +53 -0
  18. package/dist/components/advance/XRequest.vue.d.ts +74 -0
  19. package/dist/components/advance/XSelectRequest.vue.d.ts +53 -0
  20. package/dist/components/advance/XTableFlex.vue.d.ts +53 -0
  21. package/dist/components/advance/XTableRequestConfigNext.vue.d.ts +68 -0
  22. package/dist/components/advance/XTableRequestNext.vue.d.ts +89 -0
  23. package/dist/components/advance/XUploadOssNext.vue.d.ts +29 -0
  24. package/dist/{basic/XButton.vue.d.ts → components/basic/Button.vue.d.ts} +15 -4
  25. package/dist/{basic/XSelect.vue.d.ts → components/basic/Cascader.vue.d.ts} +16 -12
  26. package/dist/components/basic/Checkbox.vue.d.ts +22 -0
  27. package/dist/components/basic/ConfigProvider.vue.d.ts +21 -0
  28. package/dist/components/basic/DatePicker.vue.d.ts +34 -0
  29. package/dist/{basic/XDialog.vue.d.ts → components/basic/Dialog.vue.d.ts} +17 -9
  30. package/dist/{basic/XForm.vue.d.ts → components/basic/Form.vue.d.ts} +3 -27
  31. package/dist/components/basic/FormItem.vue.d.ts +34 -0
  32. package/dist/components/basic/Input.vue.d.ts +44 -0
  33. package/dist/components/basic/InputNumber.vue.d.ts +48 -0
  34. package/dist/components/basic/Pagination.vue.d.ts +41 -0
  35. package/dist/components/basic/Select.vue.d.ts +51 -0
  36. package/dist/components/basic/TabPane.vue.d.ts +32 -0
  37. package/dist/components/basic/Table.vue.d.ts +105 -0
  38. package/dist/{basic/XTabs.vue.d.ts → components/basic/Tabs.vue.d.ts} +9 -11
  39. package/dist/components/basic/Upload.vue.d.ts +47 -0
  40. package/dist/constants/index.d.ts +15 -9
  41. package/dist/index.cjs +1 -0
  42. package/dist/index.d.ts +4 -42
  43. package/dist/index.js +25 -1192
  44. package/dist/install.d.ts +12 -0
  45. package/dist/locales/en.d.ts +2 -0
  46. package/dist/locales/zh-cn.d.ts +2 -0
  47. package/dist/locales-CPrLlnob.js +389 -0
  48. package/dist/locales-fS7f5AIx.cjs +1 -0
  49. package/dist/locales.cjs +1 -0
  50. package/dist/locales.d.ts +2 -0
  51. package/dist/locales.js +2 -0
  52. package/dist/resolver.cjs +1 -0
  53. package/dist/resolver.d.ts +3 -1
  54. package/dist/resolver.js +56 -34
  55. package/dist/style.css +3 -0
  56. package/dist/types.d.ts +30 -0
  57. package/package.json +119 -80
  58. package/dist/basic/XCascader.vue.d.ts +0 -26
  59. package/dist/basic/XCheckbox.vue.d.ts +0 -28
  60. package/dist/basic/XColorPicker.vue.d.ts +0 -21
  61. package/dist/basic/XDivider.vue.d.ts +0 -20
  62. package/dist/basic/XImage.vue.d.ts +0 -5
  63. package/dist/basic/XInput.vue.d.ts +0 -29
  64. package/dist/basic/XInputNumber.vue.d.ts +0 -31
  65. package/dist/basic/XPagination.vue.d.ts +0 -21
  66. package/dist/basic/XRate.vue.d.ts +0 -20
  67. package/dist/basic/XScrollbar.vue.d.ts +0 -415
  68. package/dist/basic/XSpace.vue.d.ts +0 -20
  69. package/dist/basic/XTable.vue.d.ts +0 -55
  70. package/dist/basic/XTag.vue.d.ts +0 -28
  71. package/dist/basic/XText.vue.d.ts +0 -23
  72. package/dist/basic/XUpload.vue.d.ts +0 -41
package/package.json CHANGED
@@ -1,80 +1,119 @@
1
- {
2
- "name": "@pungfe/element",
3
- "type": "module",
4
- "version": "0.0.1-alpha.9",
5
- "description": "Element Plus Components",
6
- "author": "pungfen <fp94214@gmail.com> (https://github.com/pungfen/)",
7
- "license": "MIT",
8
- "homepage": "https://github.com/pungfen/element",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/pungfen/element.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/pungfen/element/issues"
15
- },
16
- "keywords": [
17
- "Element Plus",
18
- "typescript",
19
- "vue"
20
- ],
21
- "exports": {
22
- ".": {
23
- "types": "./dist/index.d.ts",
24
- "import": "./dist/index.js"
25
- },
26
- "./resolver": {
27
- "types": "./dist/resolver.d.ts",
28
- "import": "./dist/resolver.js"
29
- },
30
- "./package.json": "./package.json"
31
- },
32
- "typings": "./dist/index.d.ts",
33
- "module": "./dist/index.js",
34
- "files": [
35
- "dist"
36
- ],
37
- "scripts": {
38
- "build": "vite build",
39
- "lint": "eslint .",
40
- "prepare": "simple-git-hooks",
41
- "typecheck": "vue-tsc --noEmit",
42
- "release": "bumpp"
43
- },
44
- "peerDependencies": {
45
- "element-plus": "^2.13.1",
46
- "vue": "^3.5.27"
47
- },
48
- "dependencies": {
49
- "@vueuse/components": "^14.1.0",
50
- "@vueuse/core": "^14.1.0",
51
- "element-plus": "^2.13.1",
52
- "unplugin-vue-components": "^31.0.0",
53
- "vue": "^3.5.27"
54
- },
55
- "devDependencies": {
56
- "@antfu/eslint-config": "^7.2.0",
57
- "@vitejs/plugin-vue": "^6.0.3",
58
- "@vitejs/plugin-vue-jsx": "^5.1.3",
59
- "@vue/tsconfig": "^0.8.1",
60
- "bumpp": "^10.4.0",
61
- "eslint": "^9.39.2",
62
- "eslint-plugin-format": "^1.3.1",
63
- "jiti": "^2.6.1",
64
- "lint-staged": "^16.2.7",
65
- "simple-git-hooks": "^2.13.1",
66
- "typescript": "^5.9.3",
67
- "vite": "^7.3.1",
68
- "vite-plugin-dts": "^4.5.4",
69
- "vue-tsc": "^3.2.4"
70
- },
71
- "publishConfig": {
72
- "access": "public"
73
- },
74
- "simple-git-hooks": {
75
- "pre-commit": "npx lint-staged"
76
- },
77
- "lint-staged": {
78
- "*": "eslint --fix"
79
- }
80
- }
1
+ {
2
+ "name": "@pungfe/element",
3
+ "version": "0.1.1",
4
+ "description": "Element Plus Components",
5
+ "keywords": [
6
+ "Element Plus",
7
+ "typescript",
8
+ "vue"
9
+ ],
10
+ "homepage": "https://github.com/pungfen/element",
11
+ "bugs": {
12
+ "url": "https://github.com/pungfen/element/issues"
13
+ },
14
+ "license": "MIT",
15
+ "author": "pungfeng <fp94214@gmail.com>",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/pungfen/element.git"
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "package.json"
23
+ ],
24
+ "type": "module",
25
+ "main": "./dist/index.cjs",
26
+ "module": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js",
32
+ "require": "./dist/index.cjs"
33
+ },
34
+ "./advance": {
35
+ "types": "./dist/advance.d.ts",
36
+ "import": "./dist/advance.js",
37
+ "require": "./dist/advance.js"
38
+ },
39
+ "./basic": {
40
+ "types": "./dist/basic.d.ts",
41
+ "import": "./dist/basic.js",
42
+ "require": "./dist/basic.js"
43
+ },
44
+ "./locales": {
45
+ "types": "./dist/locales.d.ts",
46
+ "import": "./dist/locales.js",
47
+ "require": "./dist/locales.js"
48
+ },
49
+ "./resolver": {
50
+ "types": "./dist/resolver.d.ts",
51
+ "import": "./dist/resolver.js",
52
+ "require": "./dist/resolver.js"
53
+ },
54
+ "./style.css": {
55
+ "import": "./dist/style.css",
56
+ "require": "./dist/style.css"
57
+ },
58
+ "./package.json": "./package.json"
59
+ },
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "scripts": {
64
+ "build": "vite build --mode staging",
65
+ "fmt": "oxfmt",
66
+ "lint": "oxlint -c oxlint.config.ts --type-aware",
67
+ "lint:fix": "oxlint --fix",
68
+ "prepare": "simple-git-hooks",
69
+ "release": "npm run build && bumpp",
70
+ "test": "vitest",
71
+ "typecheck": "vue-tsc --noEmit"
72
+ },
73
+ "dependencies": {
74
+ "@element-plus/icons-vue": "^2.3.2",
75
+ "@vueuse/core": "^14.2.1",
76
+ "@vueuse/integrations": "^14.2.1",
77
+ "element-plus": "^2.13.1",
78
+ "sortablejs": "^1.15.7",
79
+ "vue": "^3.5.27"
80
+ },
81
+ "devDependencies": {
82
+ "@tailwindcss/vite": "^4.2.2",
83
+ "@types/node": "^25.5.0",
84
+ "@types/sortablejs": "^1.15.9",
85
+ "@vitejs/plugin-vue": "^6.0.5",
86
+ "@vitejs/plugin-vue-jsx": "^5.1.5",
87
+ "@vue/language-core": "^3.2.6",
88
+ "@vue/test-utils": "^2.4.6",
89
+ "@vue/tsconfig": "^0.9.1",
90
+ "bumpp": "^11.0.1",
91
+ "eslint-plugin-perfectionist": "^5.7.0",
92
+ "jsdom": "^29.0.1",
93
+ "lint-staged": "^16.4.0",
94
+ "oxfmt": "^0.43.0",
95
+ "oxlint": "^1.58.0",
96
+ "oxlint-tsgolint": "^0.19.0",
97
+ "simple-git-hooks": "^2.13.1",
98
+ "tailwindcss": "^4.2.2",
99
+ "typescript": "^6.0.2",
100
+ "unplugin-raw": "^0.7.0",
101
+ "unplugin-vue": "^7.1.1",
102
+ "unplugin-vue-components": "^32.0.0",
103
+ "vite": "^8.0.3",
104
+ "vite-plugin-dts": "^4.5.4",
105
+ "vitest": "^4.1.2",
106
+ "vue-component-type-helpers": "^3.2.6",
107
+ "vue-tsc": "^3.2.6"
108
+ },
109
+ "peerDependencies": {
110
+ "element-plus": "^2.13.1",
111
+ "vue": "^3.5.27"
112
+ },
113
+ "simple-git-hooks": {
114
+ "pre-commit": "npx lint-staged"
115
+ },
116
+ "lint-staged": {
117
+ "*.{js,ts,mjs,cjs,vue,tsx,jsx}": "oxlint --fix"
118
+ }
119
+ }
@@ -1,26 +0,0 @@
1
- import { CascaderProps } from 'element-plus';
2
- export interface XCascaderProps {
3
- clearable?: boolean;
4
- placeholder?: string;
5
- disabled?: boolean;
6
- props?: CascaderProps;
7
- }
8
- declare const _default: <D, V extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
10
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
11
- readonly onBlur?: (() => any) | undefined;
12
- readonly onChange?: ((value: V) => any) | undefined;
13
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onBlur" | "onChange"> & ({
14
- modelValue?: V;
15
- } & XCascaderProps) & Partial<{}>> & import('vue').PublicProps;
16
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
17
- attrs: any;
18
- slots: {};
19
- emit: (((evt: "blur") => void) & ((evt: "change", value: V) => void)) & ((evt: "update:modelValue", value: V) => void);
20
- }>) => import('vue').VNode & {
21
- __ctx?: Awaited<typeof __VLS_setup>;
22
- };
23
- export default _default;
24
- type __VLS_PrettifyLocal<T> = {
25
- [K in keyof T]: T[K];
26
- } & {};
@@ -1,28 +0,0 @@
1
- import { CheckboxProps } from 'element-plus';
2
- export interface XCheckboxOptionProps<V> {
3
- disabled?: boolean;
4
- label?: number | string;
5
- value: V;
6
- }
7
- export interface XCheckboxProps<D, V> extends Partial<Omit<CheckboxProps, 'options' | 'modelValue'>> {
8
- data: D[];
9
- factory: (option: D) => XCheckboxOptionProps<V>;
10
- identify?: (value: V) => number | string;
11
- }
12
- declare const _default: <D, V, MV extends V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
13
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
14
- readonly "onUpdate:modelValue"?: ((value: MV[]) => any) | undefined;
15
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
16
- modelValue?: MV[];
17
- } & XCheckboxProps<D, V>) & Partial<{}>> & import('vue').PublicProps;
18
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
19
- attrs: any;
20
- slots: {};
21
- emit: (evt: "update:modelValue", value: MV[]) => void;
22
- }>) => import('vue').VNode & {
23
- __ctx?: Awaited<typeof __VLS_setup>;
24
- };
25
- export default _default;
26
- type __VLS_PrettifyLocal<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
@@ -1,21 +0,0 @@
1
- export interface XColorPickerProps {
2
- clearable?: boolean;
3
- disabled?: boolean;
4
- }
5
- declare const _default: <D, V extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
9
- modelValue?: V;
10
- } & XColorPickerProps) & Partial<{}>> & import('vue').PublicProps;
11
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
12
- attrs: any;
13
- slots: {};
14
- emit: (evt: "update:modelValue", value: V) => void;
15
- }>) => import('vue').VNode & {
16
- __ctx?: Awaited<typeof __VLS_setup>;
17
- };
18
- export default _default;
19
- type __VLS_PrettifyLocal<T> = {
20
- [K in keyof T]: T[K];
21
- } & {};
@@ -1,20 +0,0 @@
1
- import { DividerProps } from 'element-plus';
2
- export interface XDividerProps extends Partial<DividerProps> {
3
- }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<XDividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XDividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
- export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,5 +0,0 @@
1
- import { ImageProps } from 'element-plus';
2
- export interface XImageProps extends Partial<ImageProps> {
3
- }
4
- declare const _default: import('vue').DefineComponent<XImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XImageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
- export default _default;
@@ -1,29 +0,0 @@
1
- import { InputProps } from 'element-plus';
2
- export interface XInputProps {
3
- clearable?: boolean;
4
- placeholder?: string;
5
- disabled?: boolean;
6
- size?: InputProps['size'];
7
- type?: InputProps['type'];
8
- showPassword?: boolean;
9
- autosize?: InputProps['autosize'];
10
- }
11
- declare const _default: <V extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
12
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
13
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
14
- readonly onBlur?: (() => any) | undefined;
15
- readonly onChange?: ((value: V) => any) | undefined;
16
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onBlur" | "onChange"> & ({
17
- modelValue?: V;
18
- } & XInputProps) & Partial<{}>> & import('vue').PublicProps;
19
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
20
- attrs: any;
21
- slots: {};
22
- emit: (((evt: "blur") => void) & ((evt: "change", value: V) => void)) & ((evt: "update:modelValue", value: V) => void);
23
- }>) => import('vue').VNode & {
24
- __ctx?: Awaited<typeof __VLS_setup>;
25
- };
26
- export default _default;
27
- type __VLS_PrettifyLocal<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
@@ -1,31 +0,0 @@
1
- import { InputNumberProps } from 'element-plus';
2
- export interface XInputNumberProps {
3
- placeholder?: string;
4
- disabled?: boolean;
5
- align?: InputNumberProps['align'];
6
- size?: InputNumberProps['size'];
7
- step?: number;
8
- max?: number;
9
- min?: number;
10
- controls?: boolean;
11
- precision?: number;
12
- stepStrictly?: boolean;
13
- }
14
- declare const _default: <V extends number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
15
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
16
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
17
- readonly onBlur?: (() => any) | undefined;
18
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onBlur"> & ({
19
- modelValue?: V;
20
- } & XInputNumberProps) & Partial<{}>> & import('vue').PublicProps;
21
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
22
- attrs: any;
23
- slots: {};
24
- emit: ((evt: "blur") => void) & ((evt: "update:modelValue", value: V) => void);
25
- }>) => import('vue').VNode & {
26
- __ctx?: Awaited<typeof __VLS_setup>;
27
- };
28
- export default _default;
29
- type __VLS_PrettifyLocal<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
@@ -1,21 +0,0 @@
1
- import { PaginationProps } from 'element-plus';
2
- export interface XPaginationProps extends Partial<Omit<PaginationProps, 'pageSizes'>> {
3
- sizes?: number[];
4
- }
5
- type __VLS_Props = XPaginationProps;
6
- type __VLS_PublicProps = {
7
- 'size'?: number;
8
- 'current'?: number;
9
- } & __VLS_Props;
10
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- sizeChange: (size: number) => any;
12
- currentChange: (current: number) => any;
13
- "update:size": (value: number) => any;
14
- "update:current": (value: number) => any;
15
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
- onSizeChange?: ((size: number) => any) | undefined;
17
- onCurrentChange?: ((current: number) => any) | undefined;
18
- "onUpdate:size"?: ((value: number) => any) | undefined;
19
- "onUpdate:current"?: ((value: number) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
- export default _default;
@@ -1,20 +0,0 @@
1
- import { RateProps } from 'element-plus';
2
- export interface XRateProps extends Partial<Omit<RateProps, 'modelValue'>> {
3
- }
4
- declare const _default: <V extends number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
- readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
8
- modelValue?: V;
9
- } & XRateProps) & Partial<{}>> & import('vue').PublicProps;
10
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
- attrs: any;
12
- slots: {};
13
- emit: (evt: "update:modelValue", value: V) => void;
14
- }>) => import('vue').VNode & {
15
- __ctx?: Awaited<typeof __VLS_setup>;
16
- };
17
- export default _default;
18
- type __VLS_PrettifyLocal<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};