@pungfe/element 0.5.4 → 0.5.6

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 (57) hide show
  1. package/dist/{advance-C7GMTyVo.cjs → advance-DVDS76yD.cjs} +1 -1
  2. package/dist/{advance-BY7MMpvJ.js → advance-DYwZGL1V.js} +13 -13
  3. package/dist/advance.cjs +1 -1
  4. package/dist/advance.js +1 -1
  5. package/dist/basic-B9QKaeaZ.cjs +1 -0
  6. package/dist/{basic-7ajmoMou.js → basic-Dp460DHr.js} +153 -152
  7. package/dist/basic.cjs +1 -1
  8. package/dist/basic.js +1 -1
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.js +3 -3
  11. package/dist/{locales-1sqaDY76.js → locales-BubNY4OM.js} +4 -4
  12. package/dist/locales.js +1 -1
  13. package/dist/package.json.d.ts +126 -0
  14. package/dist/{components → src/components}/advance/XCascaderRequest.vue.d.ts +1 -1
  15. package/dist/{components → src/components}/advance/XFormRequestNext.vue.d.ts +1 -1
  16. package/dist/{components → src/components}/advance/XRequest.vue.d.ts +1 -1
  17. package/dist/{components → src/components}/advance/XSelectRequest.vue.d.ts +1 -1
  18. package/dist/{components → src/components}/advance/XTableConfig.vue.d.ts +3 -3
  19. package/dist/{components → src/components}/advance/XTableFlex.vue.d.ts +3 -3
  20. package/dist/{components → src/components}/advance/XTableRequestConfigNext.vue.d.ts +5 -4
  21. package/dist/{components → src/components}/advance/XTableRequestNext.vue.d.ts +5 -5
  22. package/dist/{components → src/components}/basic/Select.vue.d.ts +2 -2
  23. package/dist/{components → src/components}/basic/Table.vue.d.ts +8 -10
  24. package/dist/style.css +1 -1
  25. package/package.json +22 -27
  26. package/dist/basic-Ian9axAR.cjs +0 -1
  27. /package/dist/{advance.d.ts → src/advance.d.ts} +0 -0
  28. /package/dist/{basic.d.ts → src/basic.d.ts} +0 -0
  29. /package/dist/{components → src/components}/advance/XButtonAsync.vue.d.ts +0 -0
  30. /package/dist/{components → src/components}/advance/XButtonConfirm.vue.d.ts +0 -0
  31. /package/dist/{components → src/components}/advance/XFormFlex.vue.d.ts +0 -0
  32. /package/dist/{components → src/components}/advance/XUploadOssNext.vue.d.ts +0 -0
  33. /package/dist/{components → src/components}/basic/Button.vue.d.ts +0 -0
  34. /package/dist/{components → src/components}/basic/Cascader.vue.d.ts +0 -0
  35. /package/dist/{components → src/components}/basic/Checkbox.vue.d.ts +0 -0
  36. /package/dist/{components → src/components}/basic/ConfigProvider.vue.d.ts +0 -0
  37. /package/dist/{components → src/components}/basic/DatePicker.vue.d.ts +0 -0
  38. /package/dist/{components → src/components}/basic/Dialog.vue.d.ts +0 -0
  39. /package/dist/{components → src/components}/basic/Form.vue.d.ts +0 -0
  40. /package/dist/{components → src/components}/basic/FormItem.vue.d.ts +0 -0
  41. /package/dist/{components → src/components}/basic/Input.vue.d.ts +0 -0
  42. /package/dist/{components → src/components}/basic/InputNumber.vue.d.ts +0 -0
  43. /package/dist/{components → src/components}/basic/Pagination.vue.d.ts +0 -0
  44. /package/dist/{components → src/components}/basic/TabPane.vue.d.ts +0 -0
  45. /package/dist/{components → src/components}/basic/Tabs.vue.d.ts +0 -0
  46. /package/dist/{components → src/components}/basic/Upload.vue.d.ts +0 -0
  47. /package/dist/{composables → src/composables}/useElementConfig.d.ts +0 -0
  48. /package/dist/{constants → src/constants}/index.d.ts +0 -0
  49. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  50. /package/dist/{install.d.ts → src/install.d.ts} +0 -0
  51. /package/dist/{locales → src/locales}/ar.d.ts +0 -0
  52. /package/dist/{locales → src/locales}/en.d.ts +0 -0
  53. /package/dist/{locales → src/locales}/th.d.ts +0 -0
  54. /package/dist/{locales → src/locales}/zh-cn.d.ts +0 -0
  55. /package/dist/{locales.d.ts → src/locales.d.ts} +0 -0
  56. /package/dist/{resolver.d.ts → src/resolver.d.ts} +0 -0
  57. /package/dist/{types.d.ts → src/types.d.ts} +0 -0
package/dist/basic.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./basic-Ian9axAR.cjs");exports.XButton=e.x,exports.XCascader=e.g,exports.XCheckbox=e.h,exports.XConfigProvider=e.m,exports.XDatePicker=e.p,exports.XDialog=e.f,exports.XForm=e.d,exports.XFormItem=e.u,exports.XInput=e.l,exports.XInputNumber=e.c,exports.XPagination=e.s,exports.XSelect=e.o,exports.XTabPane=e.i,exports.XTable=e.a,exports.XTabs=e.r,exports.XUpload=e.n;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./basic-B9QKaeaZ.cjs");exports.XButton=e.x,exports.XCascader=e.g,exports.XCheckbox=e.h,exports.XConfigProvider=e.m,exports.XDatePicker=e.p,exports.XDialog=e.f,exports.XForm=e.d,exports.XFormItem=e.u,exports.XInput=e.l,exports.XInputNumber=e.c,exports.XPagination=e.s,exports.XSelect=e.o,exports.XTabPane=e.i,exports.XTable=e.a,exports.XTabs=e.r,exports.XUpload=e.n;
package/dist/basic.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, u as m, x as h } from "./basic-7ajmoMou.js";
1
+ import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, u as m, x as h } from "./basic-Dp460DHr.js";
2
2
  export { h as XButton, i as XCascader, a as XCheckbox, c as XConfigProvider, d as XDatePicker, r as XDialog, n as XForm, m as XFormItem, s as XInput, t as XInputNumber, p as XPagination, u as XSelect, o as XTabPane, e as XTable, f as XTabs, l as XUpload };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./basic-Ian9axAR.cjs"),t=require("./advance-C7GMTyVo.cjs");let n=require("element-plus");require("vue");var r={button:{autoInsertSpace:!1},datePicker:{},pagination:{layout:`prev, pager, next, sizes, jumper, ->, total`},table:{showOverflowTooltip:!1}},i=(e={})=>({button:{...r.button,...e.button},datePicker:{...r.datePicker,...e.datePicker},oss:e.oss,pagination:{...r.pagination,...e.pagination},table:{...r.table,...e.table}}),a=(r,a={})=>{r[e.v]||(r[e.v]=!0,r.provide(e._,i(a.config)),r.directive(`loading`,n.vLoading),Object.entries({...e.t,...a.advance?t.t:{}}).forEach(([e,t])=>r.component(e,t)))},o=`0.5.4`,s=a;exports.default=s,exports.install=a,exports.version=o;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./basic-B9QKaeaZ.cjs"),t=require("./advance-DVDS76yD.cjs");let n=require("element-plus");require("vue");var r={button:{autoInsertSpace:!1},datePicker:{},pagination:{layout:`prev, pager, next, sizes, jumper, ->, total`},table:{showOverflowTooltip:!1}},i=(e={})=>({button:{...r.button,...e.button},datePicker:{...r.datePicker,...e.datePicker},oss:e.oss,pagination:{...r.pagination,...e.pagination},table:{...r.table,...e.table}}),a=(r,a={})=>{r[e.v]||(r[e.v]=!0,r.provide(e._,i(a.config)),r.directive(`loading`,n.vLoading),Object.entries({...e.t,...a.advance?t.t:{}}).forEach(([e,t])=>r.component(e,t)))},o=`0.5.6`,s=a;exports.default=s,exports.install=a,exports.version=o;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as e, t, v as n } from "./basic-7ajmoMou.js";
2
- import { t as r } from "./advance-BY7MMpvJ.js";
1
+ import { _ as e, t, v as n } from "./basic-Dp460DHr.js";
2
+ import { t as r } from "./advance-DYwZGL1V.js";
3
3
  import { vLoading as i } from "element-plus";
4
4
  import "vue";
5
5
  //#region src/composables/useElementConfig.ts
@@ -31,6 +31,6 @@ var a = {
31
31
  ...t,
32
32
  ...s.advance ? r : {}
33
33
  }).forEach(([e, t]) => a.component(e, t)));
34
- }, c = "0.5.4", l = s;
34
+ }, c = "0.5.6", l = s;
35
35
  //#endregion
36
36
  export { l as default, s as install, c as version };
@@ -1,4 +1,4 @@
1
- //#region node_modules/element-plus/es/locale/lang/ar.mjs
1
+ //#region node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@6.0.3_/node_modules/element-plus/es/locale/lang/ar.mjs
2
2
  var e = {
3
3
  name: "ar",
4
4
  el: {
@@ -214,7 +214,7 @@ Object.assign(e.el, {
214
214
  }
215
215
  });
216
216
  //#endregion
217
- //#region node_modules/element-plus/es/locale/lang/en.mjs
217
+ //#region node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@6.0.3_/node_modules/element-plus/es/locale/lang/en.mjs
218
218
  var t = {
219
219
  name: "en",
220
220
  el: {
@@ -430,7 +430,7 @@ Object.assign(t.el, {
430
430
  }
431
431
  });
432
432
  //#endregion
433
- //#region node_modules/element-plus/es/locale/lang/th.mjs
433
+ //#region node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@6.0.3_/node_modules/element-plus/es/locale/lang/th.mjs
434
434
  var n = {
435
435
  name: "th",
436
436
  el: {
@@ -646,7 +646,7 @@ Object.assign(n.el, {
646
646
  }
647
647
  });
648
648
  //#endregion
649
- //#region node_modules/element-plus/es/locale/lang/zh-cn.mjs
649
+ //#region node_modules/.pnpm/element-plus@2.14.1_vue@3.5.35_typescript@6.0.3_/node_modules/element-plus/es/locale/lang/zh-cn.mjs
650
650
  var r = {
651
651
  name: "zh-cn",
652
652
  el: {
package/dist/locales.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "./locales-1sqaDY76.js";
1
+ import { i as e, n as t, r as n, t as r } from "./locales-BubNY4OM.js";
2
2
  export { e as ar, n as en, t as th, r as zhCn };
@@ -0,0 +1,126 @@
1
+ declare const _default: {
2
+ "name": "@pungfe/element",
3
+ "version": "0.5.6",
4
+ "description": "Element Plus Components",
5
+ "keywords": [
6
+ "Element",
7
+ "Element Plus",
8
+ "vue"
9
+ ],
10
+ "homepage": "https://github.com/pungfen/element#readme",
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
+ "packageManager": "pnpm@11.6.0",
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
64
+ "scripts": {
65
+ "dev": "pnpm -C play dev",
66
+ "build": "vite build",
67
+ "build:dev": "vite build --mode staging",
68
+ "lint": "eslint",
69
+ "lint:fix": "eslint --fix",
70
+ "prepare": "simple-git-hooks",
71
+ "release": "pnpm build && bumpp",
72
+ "typecheck": "vue-tsc -p tsconfig.app.json --noEmit"
73
+ },
74
+ "dependencies": {
75
+ "@element-plus/icons-vue": "^2.3.2",
76
+ "@vueuse/core": "^14.3.0",
77
+ "@vueuse/integrations": "^14.3.0",
78
+ "element-plus": "~2.14.1",
79
+ "sortablejs": "^1.15.7",
80
+ "vue": "~3.5.35"
81
+ },
82
+ "devDependencies": {
83
+ "@eslint/json": "^2.0.0",
84
+ "@stylistic/eslint-plugin": "^5.10.0",
85
+ "@tailwindcss/vite": "^4.3.0",
86
+ "@types/node": "^25.9.1",
87
+ "@types/sortablejs": "^1.15.9",
88
+ "@vitejs/plugin-vue": "^6.0.7",
89
+ "@vitejs/plugin-vue-jsx": "^5.1.5",
90
+ "@vitest/eslint-plugin": "^1.6.19",
91
+ "@vue/eslint-config-typescript": "^14.7.0",
92
+ "@vue/test-utils": "^2.4.10",
93
+ "bumpp": "^11.1.0",
94
+ "eslint": "^10.4.1",
95
+ "eslint-plugin-perfectionist": "^5.9.0",
96
+ "eslint-plugin-vue": "^10.9.1",
97
+ "fast-glob": "^3.3.3",
98
+ "jsdom": "^29.1.1",
99
+ "lint-staged": "^17.0.7",
100
+ "simple-git-hooks": "^2.13.1",
101
+ "tailwindcss": "^4.3.0",
102
+ "typescript": "^6.0.3",
103
+ "typescript-eslint": "^8.60.1",
104
+ "unplugin-vue": "^7.2.0",
105
+ "unplugin-vue-components": "^32.1.0",
106
+ "vite": "^8.0.16",
107
+ "vite-plugin-dts": "^5.0.2",
108
+ "vitest": "^4.1.8",
109
+ "vue-component-type-helpers": "^3.3.3",
110
+ "vue-eslint-parser": "^10.4.1",
111
+ "vue-tsc": "^3.3.3"
112
+ },
113
+ "peerDependencies": {
114
+ "element-plus": "~2.14.0",
115
+ "vue": "~3.5.35"
116
+ },
117
+ "simple-git-hooks": {
118
+ "pre-commit": "pnpx lint-staged"
119
+ },
120
+ "lint-staged": {
121
+ "*": ""
122
+ }
123
+ }
124
+ ;
125
+
126
+ export default _default;
@@ -39,7 +39,7 @@ declare const __VLS_export: <U, PT, QR, D, V, MV extends V | V[]>(__VLS_props: N
39
39
  execute: () => PromiseLike<unknown>;
40
40
  path: Ref<PT, PT>;
41
41
  query: Ref<QR, QR>;
42
- search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
42
+ search: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
43
43
  url: U;
44
44
  }>) => void;
45
45
  attrs: any;
@@ -36,7 +36,7 @@ declare const __VLS_export: <U, PT, QR, D extends object>(__VLS_props: NonNullab
36
36
  data: Ref<D, D>;
37
37
  reset: () => D;
38
38
  resetFields: () => void;
39
- search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
39
+ search: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
40
40
  url: U;
41
41
  validate: () => boolean | undefined;
42
42
  }>) => void;
@@ -41,7 +41,7 @@ declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<type
41
41
  paging: Ref<Paging, Paging>;
42
42
  path: Ref<PT, PT>;
43
43
  query: Ref<QR, QR>;
44
- search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
44
+ search: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
45
45
  url: U;
46
46
  }>) => void;
47
47
  attrs: any;
@@ -37,7 +37,7 @@ declare const __VLS_export: <U, PT, QR, D, V, MV extends V | V[]>(__VLS_props: N
37
37
  execute: () => PromiseLike<unknown>;
38
38
  path: Ref<PT, PT>;
39
39
  query: Ref<QR, QR>;
40
- search: import('@vueuse/shared').UseDebounceFnReturn<(input?: string) => Promise<void>>;
40
+ search: import('@vueuse/core').UseDebounceFnReturn<(input?: string) => Promise<void>>;
41
41
  url: U;
42
42
  }>) => void;
43
43
  attrs: any;
@@ -1,7 +1,7 @@
1
1
  import { Ref, VNodeChild } from 'vue';
2
2
  import { TableColumnField } from '../../types';
3
3
  import { XTableFlexEvents, XTableFlexProps } from '../../advance';
4
- import { XTableColumnProps } from '../../basic';
4
+ import { DefaultRow, XTableColumnProps } from '../../basic';
5
5
  export interface XTableConfigColumnsProps<D> extends Omit<XTableColumnProps<D>, 'content'> {
6
6
  content?: (scope: {
7
7
  index: number;
@@ -11,7 +11,7 @@ export interface XTableConfigColumnsProps<D> extends Omit<XTableColumnProps<D>,
11
11
  export interface XTableConfigEvents<D> extends XTableFlexEvents<D> {
12
12
  rowClick: [row: D];
13
13
  }
14
- export interface XTableConfigProps<D> extends Omit<XTableFlexProps<D>, 'columns' | 'data' | 'showOverflowTooltip'> {
14
+ export interface XTableConfigProps<D extends DefaultRow> extends Omit<XTableFlexProps<D>, 'columns' | 'data' | 'showOverflowTooltip'> {
15
15
  config: Record<string, XTableConfigColumnsProps<D>>;
16
16
  data?: D[];
17
17
  fields: () => {
@@ -20,7 +20,7 @@ export interface XTableConfigProps<D> extends Omit<XTableFlexProps<D>, 'columns'
20
20
  update: (fields: TableColumnField[]) => PromiseLike<unknown>;
21
21
  };
22
22
  }
23
- declare const __VLS_export: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
23
+ declare const __VLS_export: <D extends DefaultRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
24
24
  props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableConfigProps<D> & {
25
25
  onHeaderDragend?: ((newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => any) | undefined;
26
26
  onRowClick?: ((row: D) => any) | undefined;
@@ -1,8 +1,8 @@
1
1
  import { TableColumnCtx } from 'element-plus';
2
2
  import { CSSProperties } from 'vue';
3
- import { XTableEvents, XTableProps } from '../../basic';
3
+ import { DefaultRow, XTableEvents, XTableProps } from '../../basic';
4
4
  export type XTableFlexEvents<D> = XTableEvents<D>;
5
- export interface XTableFlexProps<D> extends XTableProps<D> {
5
+ export interface XTableFlexProps<D extends DefaultRow> extends XTableProps<D> {
6
6
  cellClassName?: ((scope: {
7
7
  column: TableColumnCtx;
8
8
  columnIndex: number;
@@ -24,7 +24,7 @@ export interface XTableFlexProps<D> extends XTableProps<D> {
24
24
  rowIndex: number;
25
25
  }) => CSSProperties) | CSSProperties;
26
26
  }
27
- declare const __VLS_export: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
27
+ declare const __VLS_export: <D extends DefaultRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
28
28
  props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableFlexProps<D> & {
29
29
  onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
30
30
  onRowClick?: ((row: D) => any) | undefined;
@@ -1,6 +1,7 @@
1
1
  import { Ref, VNodeChild } from 'vue';
2
2
  import { Paging, TableColumnField } from '../../types';
3
3
  import { XTableFlexEvents, XTableFlexProps, XTableRequestColumnsProps } from '../../advance';
4
+ import { DefaultRow } from '../../basic';
4
5
  export interface XTableRequestConfigColumnsProps<QR, D> extends Omit<XTableRequestColumnsProps<D>, 'content'> {
5
6
  content?: (scope: {
6
7
  index: number;
@@ -16,7 +17,7 @@ export interface XTableRequestConfigEvents<PT, QR, D> extends XTableFlexEvents<D
16
17
  query: QR;
17
18
  }];
18
19
  }
19
- export interface XTableRequestConfigProps<U, PT, QR, D> extends Omit<XTableFlexProps<D>, 'columns' | 'showOverflowTooltip'> {
20
+ export interface XTableRequestConfigProps<U, PT, QR, D extends DefaultRow> extends Omit<XTableFlexProps<D>, 'columns' | 'showOverflowTooltip'> {
20
21
  config: Record<string, XTableRequestConfigColumnsProps<QR, D>>;
21
22
  fields: () => {
22
23
  data: Ref<TableColumnField[]>;
@@ -42,7 +43,7 @@ export interface XTableRequestConfigProps<U, PT, QR, D> extends Omit<XTableFlexP
42
43
  url: U;
43
44
  };
44
45
  }
45
- declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
46
+ declare const __VLS_export: <U, PT, QR, D extends DefaultRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
46
47
  props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableRequestConfigProps<U, PT, QR, D> & {
47
48
  onHeaderDragend?: ((newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => any) | undefined;
48
49
  onRowClick?: ((row: D) => any) | undefined;
@@ -61,8 +62,8 @@ declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<type
61
62
  paging: Ref<Paging, Paging>;
62
63
  path: Ref<PT, PT>;
63
64
  query: Ref<QR, QR>;
64
- reset: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
65
- search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
65
+ reset: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
66
+ search: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
66
67
  url: U;
67
68
  }>) => void;
68
69
  attrs: any;
@@ -2,7 +2,7 @@ import { TableColumnCtx } from 'element-plus';
2
2
  import { CSSProperties, Ref, VNodeChild } from 'vue';
3
3
  import { Paging } from '../../types';
4
4
  import { XTableFlexEvents, XTableFlexProps } from '../../advance';
5
- import { XTableColumnProps } from '../../basic';
5
+ import { DefaultRow, XTableColumnProps } from '../../basic';
6
6
  export interface XTableRequestColumnsProps<D> extends XTableColumnProps<D> {
7
7
  content?: (scope: {
8
8
  index: number;
@@ -15,7 +15,7 @@ export interface XTableRequestEvents<PT, QR, D> extends XTableFlexEvents<D> {
15
15
  query: QR;
16
16
  }];
17
17
  }
18
- export interface XTableRequestProps<U, PT, QR, D> extends Omit<XTableFlexProps<D>, 'columns' | 'data'> {
18
+ export interface XTableRequestProps<U, PT, QR, D extends DefaultRow> extends Omit<XTableFlexProps<D>, 'columns' | 'data'> {
19
19
  cellClassName?: ((scope: {
20
20
  column: TableColumnCtx;
21
21
  columnIndex: number;
@@ -55,7 +55,7 @@ export interface XTableRequestProps<U, PT, QR, D> extends Omit<XTableFlexProps<D
55
55
  rowIndex: number;
56
56
  }) => CSSProperties) | CSSProperties;
57
57
  }
58
- declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
58
+ declare const __VLS_export: <U, PT, QR, D extends DefaultRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
59
59
  props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableRequestProps<U, PT, QR, D> & {
60
60
  onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
61
61
  onRowClick?: ((row: D) => any) | undefined;
@@ -74,8 +74,8 @@ declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<type
74
74
  paging: Ref<Paging, Paging>;
75
75
  path: Ref<PT, PT>;
76
76
  query: Ref<QR, QR>;
77
- reset: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
78
- search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
77
+ reset: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
78
+ search: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
79
79
  url: U;
80
80
  }>) => void;
81
81
  attrs: any;
@@ -1,5 +1,5 @@
1
1
  import { SelectProps } from 'element-plus';
2
- import { VNodeChild } from 'vue';
2
+ import { VNode } from 'vue';
3
3
  export interface XSelectEvents<V> {
4
4
  blur: [e: FocusEvent];
5
5
  change: [value: V];
@@ -8,7 +8,7 @@ export interface XSelectEvents<V> {
8
8
  export interface XSelectOptionProps<V> {
9
9
  disabled?: boolean;
10
10
  label?: number | string;
11
- render?: VNodeChild;
11
+ render?: () => VNode;
12
12
  value: V;
13
13
  }
14
14
  export interface XSelectProps<D, V> {
@@ -38,7 +38,7 @@ export interface XTableEvents<D> {
38
38
  rowDblclick: [row: D];
39
39
  selectionChange: [rows: D[]];
40
40
  }
41
- export interface XTableProps<D> extends XTableConfig {
41
+ export interface XTableProps<D extends DefaultRow> extends XTableConfig {
42
42
  cellClassName?: ((scope: {
43
43
  column: TableColumnCtx;
44
44
  columnIndex: number;
@@ -53,35 +53,33 @@ export interface XTableProps<D> extends XTableConfig {
53
53
  }) => CSSProperties) | CSSProperties;
54
54
  columns?: XTableColumnProps<D>[];
55
55
  data?: D[];
56
- height?: TableProps<DefaultRow>['height'];
56
+ height?: TableProps<D>['height'];
57
57
  rowClassName?: ((scope: {
58
58
  row: D;
59
59
  rowIndex: number;
60
60
  }) => string) | string;
61
- rowKey?: (scope: {
62
- row: D;
63
- }) => string;
61
+ rowKey?: ((row: D) => string) | string;
64
62
  rowStyle?: ((scope: {
65
63
  row: D;
66
64
  rowIndex: number;
67
65
  }) => CSSProperties) | CSSProperties;
68
- showSummary?: TableProps<DefaultRow>['showSummary'];
69
- size?: TableProps<DefaultRow>['size'];
66
+ showSummary?: TableProps<D>['showSummary'];
67
+ size?: TableProps<D>['size'];
70
68
  spanMethod?: (scope: {
71
69
  column: TableColumnCtx;
72
70
  columnIndex: number;
73
71
  row: D;
74
72
  rowIndex: number;
75
- }) => {
73
+ }) => number[] | undefined | {
76
74
  colspan: number;
77
75
  rowspan: number;
78
- } | number[] | undefined;
76
+ };
79
77
  summaryMethod?: (scope: {
80
78
  columns: TableColumnCtx[];
81
79
  data: D[];
82
80
  }) => (string | VNode)[];
83
81
  }
84
- declare const __VLS_export: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
82
+ declare const __VLS_export: <D extends DefaultRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
85
83
  props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableProps<D> & {
86
84
  onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
87
85
  onRowClick?: ((row: D) => any) | undefined;
package/dist/style.css CHANGED
@@ -1,3 +1,3 @@
1
1
  /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--spacing:.25rem}}@layer base,components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-0{top:calc(var(--spacing) * 0)}.right-0{right:calc(var(--spacing) * 0)}.z-1000{z-index:1000}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.table{display:table}.w-50{width:calc(var(--spacing) * 50)}.flex-1{flex:1}.cursor-grab{cursor:grab}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing) * 2)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-\[\#f2f6fc\]>:not(:last-child)){border-color:#f2f6fc}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.bg-\(--el-bg-color\){background-color:var(--el-bg-color)}.bg-\(--el-color-primary-light-7\){background-color:var(--el-color-primary-light-7)}.bg-\(--el-fill-color-darker\){background-color:var(--el-fill-color-darker)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-2{padding-block:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@media (width>=48rem){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--spacing:.25rem}}@layer base,components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-0{top:calc(var(--spacing) * 0)}.right-0{right:calc(var(--spacing) * 0)}.z-1000{z-index:1000}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.table{display:table}.w-50{width:calc(var(--spacing) * 50)}.flex-1{flex:1}.cursor-grab{cursor:grab}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing) * 2)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-\[\#f2f6fc\]>:not(:last-child)){border-color:#f2f6fc}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.bg-\(--el-bg-color\){background-color:var(--el-bg-color)}.bg-\(--el-color-primary-light-7\){background-color:var(--el-color-primary-light-7)}.bg-\(--el-fill-color-darker\){background-color:var(--el-fill-color-darker)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-2{padding-block:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.text-ellipsis{text-overflow:ellipsis}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@media (width>=48rem){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
3
3
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pungfe/element",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "Element Plus Components",
5
5
  "keywords": [
6
+ "Element",
6
7
  "Element Plus",
7
- "typescript",
8
8
  "vue"
9
9
  ],
10
- "homepage": "https://github.com/pungfen/element",
10
+ "homepage": "https://github.com/pungfen/element#readme",
11
11
  "bugs": {
12
12
  "url": "https://github.com/pungfen/element/issues"
13
13
  },
@@ -57,72 +57,67 @@
57
57
  },
58
58
  "./package.json": "./package.json"
59
59
  },
60
+ "packageManager": "pnpm@11.6.0",
60
61
  "publishConfig": {
61
62
  "access": "public"
62
63
  },
63
64
  "scripts": {
65
+ "dev": "pnpm -C play dev",
64
66
  "build": "vite build",
65
67
  "build:dev": "vite build --mode staging",
66
68
  "lint": "eslint",
67
69
  "lint:fix": "eslint --fix",
68
70
  "prepare": "simple-git-hooks",
69
- "release": "npm run build && bumpp",
70
- "test": "vitest",
71
- "typecheck": "vue-tsc --noEmit"
71
+ "release": "pnpm build && bumpp",
72
+ "typecheck": "vue-tsc -p tsconfig.app.json --noEmit"
72
73
  },
73
74
  "dependencies": {
74
75
  "@element-plus/icons-vue": "^2.3.2",
75
76
  "@vueuse/core": "^14.3.0",
76
77
  "@vueuse/integrations": "^14.3.0",
77
- "element-plus": "~2.14.0",
78
+ "element-plus": "~2.14.1",
78
79
  "sortablejs": "^1.15.7",
79
80
  "vue": "~3.5.35"
80
81
  },
81
82
  "devDependencies": {
82
- "@eslint/js": "^10.0.1",
83
+ "@eslint/json": "^2.0.0",
83
84
  "@stylistic/eslint-plugin": "^5.10.0",
84
85
  "@tailwindcss/vite": "^4.3.0",
85
86
  "@types/node": "^25.9.1",
86
87
  "@types/sortablejs": "^1.15.9",
87
- "@typescript-eslint/parser": "^8.60.0",
88
88
  "@vitejs/plugin-vue": "^6.0.7",
89
89
  "@vitejs/plugin-vue-jsx": "^5.1.5",
90
+ "@vitest/eslint-plugin": "^1.6.19",
90
91
  "@vue/eslint-config-typescript": "^14.7.0",
91
- "@vue/language-core": "^3.3.2",
92
92
  "@vue/test-utils": "^2.4.10",
93
- "@vue/tsconfig": "^0.9.1",
94
93
  "bumpp": "^11.1.0",
95
- "eslint": "^10.4.0",
94
+ "eslint": "^10.4.1",
96
95
  "eslint-plugin-perfectionist": "^5.9.0",
97
96
  "eslint-plugin-vue": "^10.9.1",
98
- "globals": "^17.6.0",
97
+ "fast-glob": "^3.3.3",
99
98
  "jsdom": "^29.1.1",
100
- "lint-staged": "^17.0.5",
101
- "oxfmt": "^0.52.0",
102
- "oxlint": "^1.67.0",
103
- "oxlint-tsgolint": "^0.23.0",
99
+ "lint-staged": "^17.0.7",
104
100
  "simple-git-hooks": "^2.13.1",
105
101
  "tailwindcss": "^4.3.0",
106
102
  "typescript": "^6.0.3",
107
- "typescript-eslint": "^8.60.0",
108
- "unplugin-raw": "^0.7.0",
103
+ "typescript-eslint": "^8.60.1",
109
104
  "unplugin-vue": "^7.2.0",
110
105
  "unplugin-vue-components": "^32.1.0",
111
- "vite": "^8.0.14",
112
- "vite-plugin-dts": "^5.0.1",
113
- "vitest": "^4.1.7",
114
- "vue-component-type-helpers": "^3.3.2",
115
- "vue-eslint-parser": "^10.4.0",
116
- "vue-tsc": "^3.3.2"
106
+ "vite": "^8.0.16",
107
+ "vite-plugin-dts": "^5.0.2",
108
+ "vitest": "^4.1.8",
109
+ "vue-component-type-helpers": "^3.3.3",
110
+ "vue-eslint-parser": "^10.4.1",
111
+ "vue-tsc": "^3.3.3"
117
112
  },
118
113
  "peerDependencies": {
119
114
  "element-plus": "~2.14.0",
120
115
  "vue": "~3.5.35"
121
116
  },
122
117
  "simple-git-hooks": {
123
- "pre-commit": "npx lint-staged"
118
+ "pre-commit": "pnpx lint-staged"
124
119
  },
125
120
  "lint-staged": {
126
- "*.{js,ts,mjs,cjs,vue,tsx,jsx}": "oxlint --fix"
121
+ "*": ""
127
122
  }
128
123
  }