ax-libs 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/api/basic/controller/BaseController.d.ts +8 -0
- package/dist/api/basic/controller/MenuController.d.ts +6 -0
- package/dist/api/basic/controller/UserController.d.ts +8 -0
- package/dist/api/basic/entity/Menu.d.ts +22 -0
- package/dist/api/basic/entity/Role.d.ts +10 -0
- package/dist/api/basic/entity/Tenant.d.ts +10 -0
- package/dist/api/basic/entity/User.d.ts +19 -0
- package/dist/api/basic/entity/dto/Account.d.ts +8 -0
- package/dist/api/basic/entity/vo/UserInfo.d.ts +11 -0
- package/dist/api/common/BaseData.d.ts +13 -0
- package/dist/api/common/Result.d.ts +6 -0
- package/dist/ax-lib.css +1 -0
- package/dist/ax-lib.js +20592 -0
- package/dist/hooks/common/useComponentPool.d.ts +28 -0
- package/dist/hooks/common/useDefineProps.d.ts +3 -0
- package/dist/hooks/core/useFetch.d.ts +28 -0
- package/dist/hooks/core/useList.d.ts +71 -0
- package/dist/hooks/core/useState.d.ts +7 -0
- package/dist/hooks/index.d.ts +12 -0
- package/dist/hooks/ui/exposed/useFormExposed.d.ts +11 -0
- package/dist/hooks/ui/exposed/useTableExposed.d.ts +15 -0
- package/dist/hooks/ui/useAxButon.d.ts +4 -0
- package/dist/hooks/ui/useAxModal.d.ts +8 -0
- package/dist/index.d.ts +4 -0
- package/dist/plugin/index.d.ts +1 -0
- package/dist/plugin/ui.d.ts +10 -0
- package/dist/test/main.d.ts +0 -0
- package/dist/ui/button/components/button/button.vue.d.ts +25 -0
- package/dist/ui/button/components/button/index.d.ts +29 -0
- package/dist/ui/button/components/button/props.d.ts +15 -0
- package/dist/ui/button/components/fields/index.d.ts +1 -0
- package/dist/ui/button/index.d.ts +3 -0
- package/dist/ui/button/util/index.d.ts +3 -0
- package/dist/ui/form/components/fields/index.d.ts +1 -0
- package/dist/ui/form/components/form/form.vue.d.ts +35 -0
- package/dist/ui/form/components/form/index.d.ts +57 -0
- package/dist/ui/form/components/form/props.d.ts +14 -0
- package/dist/ui/form/components/form-item/form-item.vue.d.ts +21 -0
- package/dist/ui/form/components/form-item/index.d.ts +39 -0
- package/dist/ui/form/components/form-item/props.d.ts +14 -0
- package/dist/ui/form/index.d.ts +4 -0
- package/dist/ui/form/util/index.d.ts +8 -0
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/modal/components/form-modal/form-modal.vue.d.ts +38 -0
- package/dist/ui/modal/components/form-modal/index.d.ts +98 -0
- package/dist/ui/modal/components/form-modal/props.d.ts +25 -0
- package/dist/ui/modal/components/modal/index.d.ts +47 -0
- package/dist/ui/modal/components/modal/modal.vue.d.ts +26 -0
- package/dist/ui/modal/components/modal/props.d.ts +20 -0
- package/dist/ui/modal/index.d.ts +3 -0
- package/dist/ui/modal/util/index.d.ts +1 -0
- package/dist/ui/table/components/table/index.d.ts +105 -0
- package/dist/ui/table/components/table/props.d.ts +36 -0
- package/dist/ui/table/components/table/table.vue.d.ts +39 -0
- package/dist/ui/table/components/table-column/index.d.ts +3 -0
- package/dist/ui/table/components/table-column/props.d.ts +3 -0
- package/dist/ui/table/components/table-column/table-column.vue.d.ts +4 -0
- package/dist/ui/table/components/table-page/index.d.ts +5 -0
- package/dist/ui/table/components/table-page/props.d.ts +5 -0
- package/dist/ui/table/components/table-page/table-page.vue.d.ts +4 -0
- package/dist/ui/table/components/table-select/index.d.ts +69 -0
- package/dist/ui/table/components/table-select/props.d.ts +18 -0
- package/dist/ui/table/components/table-select/table-select.vue.d.ts +44 -0
- package/dist/ui/table/index.d.ts +4 -0
- package/dist/ui/table/util/index.d.ts +1 -0
- package/dist/utils/bus.d.ts +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/object.d.ts +16 -0
- package/dist/utils/request.d.ts +12 -0
- package/dist/utils/type.d.ts +19 -0
- package/dist/utils/ui.d.ts +1 -0
- package/package.json +45 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type EmitsToProps<T> = Partial<{
|
|
2
|
+
[K in keyof T as K extends string ? `on${Capitalize<K>}` : never]: T[K] extends [...infer P] ? (...args: P) => any : never;
|
|
3
|
+
}>;
|
|
4
|
+
export interface Result<T = null> {
|
|
5
|
+
code: number;
|
|
6
|
+
data: T;
|
|
7
|
+
message: string;
|
|
8
|
+
success: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface PageData<T> {
|
|
11
|
+
data: T[];
|
|
12
|
+
total: number;
|
|
13
|
+
size: number;
|
|
14
|
+
no: number;
|
|
15
|
+
}
|
|
16
|
+
export interface PageParams {
|
|
17
|
+
no: number;
|
|
18
|
+
size: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ax-libs",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"module": "./dist/ax-lib.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"private": false,
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/ax-lib.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"dev": "vite",
|
|
19
|
+
"build": "vue-tsc -b && vite build",
|
|
20
|
+
"preview": "vite preview"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
24
|
+
"axios": "^1.16.0",
|
|
25
|
+
"element-plus": "^2.13.7",
|
|
26
|
+
"lodash": "^4.18.1",
|
|
27
|
+
"mitt": "^3.0.1",
|
|
28
|
+
"sass": "^1.99.0",
|
|
29
|
+
"ts-essentials": "^10.2.0",
|
|
30
|
+
"vue": "^3.5.21"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@tailwindcss/vite": "^4.2.4",
|
|
34
|
+
"@types/lodash": "^4.17.24",
|
|
35
|
+
"@types/node": "^25.6.0",
|
|
36
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
37
|
+
"@vue/tsconfig": "^0.8.1",
|
|
38
|
+
"tailwindcss": "^4.3.0",
|
|
39
|
+
"typescript": "~5.8.3",
|
|
40
|
+
"vite": "^7.1.7",
|
|
41
|
+
"vite-plugin-dts": "^5.0.0",
|
|
42
|
+
"vue-component-type-helpers": "^3.2.8",
|
|
43
|
+
"vue-tsc": "^3.0.7"
|
|
44
|
+
}
|
|
45
|
+
}
|