ax-libs 0.0.6 → 0.0.61
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/dist/ax-lib.css +1 -1
- package/dist/ax-lib.js +8891 -7749
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/ui/useAxLayout.d.ts +14 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/layout/components/fields/aside/aside.vue.d.ts +19 -0
- package/dist/ui/layout/components/fields/index.d.ts +1 -0
- package/dist/ui/layout/components/fields/noraml/normal.vue.d.ts +19 -0
- package/dist/ui/layout/components/layout/index.d.ts +18 -0
- package/dist/ui/layout/components/layout/layout.vue.d.ts +14 -0
- package/dist/ui/layout/components/layout/props.d.ts +3 -0
- package/dist/ui/layout/index.d.ts +3 -0
- package/dist/ui/layout/util/index.d.ts +3 -0
- package/dist/ui/modal/components/form-modal/index.d.ts +1 -1
- package/dist/ui/table/index.d.ts +2 -0
- package/dist/utils/array.d.ts +4 -0
- package/package.json +54 -54
- package/README.md +0 -5
package/dist/hooks/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './ui/useAxModal';
|
|
|
6
6
|
export * from './ui/useAxFormModal';
|
|
7
7
|
export * from './ui/useAxTable';
|
|
8
8
|
export * from './ui/useAxForm';
|
|
9
|
+
export * from './ui/useAxLayout';
|
|
9
10
|
export * from './common/useComponentPool';
|
|
10
11
|
export * from './common/useDefineProps';
|
|
11
12
|
export * from './ui/exposed/useFormExposed';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
export interface AxLayoutOptions {
|
|
3
|
+
type?: string;
|
|
4
|
+
footer?: Component;
|
|
5
|
+
header?: Component;
|
|
6
|
+
main?: Component;
|
|
7
|
+
aside?: Component;
|
|
8
|
+
}
|
|
9
|
+
export declare function useAxLayout(options?: AxLayoutOptions): readonly [import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
12
|
+
readonly setType: import('..').StateApi<string>;
|
|
13
|
+
readonly setSlots: import('..').StateApi<import('lodash').Omit<AxLayoutOptions, "type">>;
|
|
14
|
+
}];
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
aside?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
header?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
main?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const initLayoutFields: () => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
header?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
aside?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
main?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const AxLayout: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./props').AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<import('./props').AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./props').AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
[x: string]: ((props: {}) => any) | undefined;
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
export default AxLayout;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AxLayoutProps } from './props';
|
|
2
|
+
declare var __VLS_10: string, __VLS_11: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<AxLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -15,6 +15,7 @@ export declare const AxFormModal: <T extends Record<string, any>>(__VLS_props: N
|
|
|
15
15
|
title?: string | undefined;
|
|
16
16
|
appendTo?: (string | HTMLElement) | undefined;
|
|
17
17
|
top?: string | undefined;
|
|
18
|
+
zIndex?: number | undefined;
|
|
18
19
|
transition?: import('element-plus').DialogTransition | undefined;
|
|
19
20
|
direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
20
21
|
resizable?: boolean | undefined;
|
|
@@ -33,7 +34,6 @@ export declare const AxFormModal: <T extends Record<string, any>>(__VLS_props: N
|
|
|
33
34
|
closeDelay?: number | undefined;
|
|
34
35
|
modalClass?: string | undefined;
|
|
35
36
|
width?: string | number | undefined;
|
|
36
|
-
zIndex?: number | undefined;
|
|
37
37
|
trapFocus?: boolean | undefined;
|
|
38
38
|
center?: boolean | undefined;
|
|
39
39
|
alignCenter?: boolean | undefined;
|
package/dist/ui/table/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ax-libs",
|
|
3
|
-
"version": "0.0.
|
|
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
|
-
"./dist/ax-lib.css": {
|
|
16
|
-
"import": "./dist/ax-lib.css"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"sideEffects": [
|
|
20
|
-
"*.css",
|
|
21
|
-
"*.less",
|
|
22
|
-
"*.scss"
|
|
23
|
-
],
|
|
24
|
-
"type": "module",
|
|
25
|
-
"scripts": {
|
|
26
|
-
"dev": "vite",
|
|
27
|
-
"build": "vue-tsc -b && vite build",
|
|
28
|
-
"preview": "vite preview"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@element-plus/icons-vue": "^2.3.2",
|
|
32
|
-
"axios": "^1.16.0",
|
|
33
|
-
"colord": "^2.9.3",
|
|
34
|
-
"element-plus": "^2.13.7",
|
|
35
|
-
"lodash": "^4.18.1",
|
|
36
|
-
"mitt": "^3.0.1",
|
|
37
|
-
"sass": "^1.99.0",
|
|
38
|
-
"ts-essentials": "^10.2.0",
|
|
39
|
-
"vue": "^3.5.21"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@tailwindcss/vite": "^4.2.4",
|
|
43
|
-
"@types/lodash": "^4.17.24",
|
|
44
|
-
"@types/node": "^25.6.0",
|
|
45
|
-
"@vitejs/plugin-vue": "^6.0.1",
|
|
46
|
-
"@vue/tsconfig": "^0.8.1",
|
|
47
|
-
"tailwindcss": "^4.3.0",
|
|
48
|
-
"typescript": "~5.8.3",
|
|
49
|
-
"vite": "^7.1.7",
|
|
50
|
-
"vite-plugin-dts": "^5.0.0",
|
|
51
|
-
"vue-component-type-helpers": "^3.2.8",
|
|
52
|
-
"vue-tsc": "^3.0.7"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "ax-libs",
|
|
3
|
+
"version": "0.0.61",
|
|
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
|
+
"./dist/ax-lib.css": {
|
|
16
|
+
"import": "./dist/ax-lib.css"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"*.css",
|
|
21
|
+
"*.less",
|
|
22
|
+
"*.scss"
|
|
23
|
+
],
|
|
24
|
+
"type": "module",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"dev": "vite",
|
|
27
|
+
"build": "vue-tsc -b && vite build",
|
|
28
|
+
"preview": "vite preview"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
32
|
+
"axios": "^1.16.0",
|
|
33
|
+
"colord": "^2.9.3",
|
|
34
|
+
"element-plus": "^2.13.7",
|
|
35
|
+
"lodash": "^4.18.1",
|
|
36
|
+
"mitt": "^3.0.1",
|
|
37
|
+
"sass": "^1.99.0",
|
|
38
|
+
"ts-essentials": "^10.2.0",
|
|
39
|
+
"vue": "^3.5.21"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@tailwindcss/vite": "^4.2.4",
|
|
43
|
+
"@types/lodash": "^4.17.24",
|
|
44
|
+
"@types/node": "^25.6.0",
|
|
45
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
46
|
+
"@vue/tsconfig": "^0.8.1",
|
|
47
|
+
"tailwindcss": "^4.3.0",
|
|
48
|
+
"typescript": "~5.8.3",
|
|
49
|
+
"vite": "^7.1.7",
|
|
50
|
+
"vite-plugin-dts": "^5.0.0",
|
|
51
|
+
"vue-component-type-helpers": "^3.2.8",
|
|
52
|
+
"vue-tsc": "^3.0.7"
|
|
53
|
+
}
|
|
54
|
+
}
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Vue 3 + TypeScript + Vite
|
|
2
|
-
|
|
3
|
-
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
-
|
|
5
|
-
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|