ax-libs 0.0.3 → 0.0.4
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 +3515 -3421
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/style/useDark.d.ts +1 -0
- package/dist/hooks/style/useTheme.d.ts +1 -0
- package/dist/ui/form/components/form/form.vue.d.ts +1 -1
- package/dist/ui/modal/components/modal/modal.vue.d.ts +1 -1
- package/dist/utils/ui.d.ts +2 -1
- package/package.json +2 -1
package/dist/hooks/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useDark(): readonly [import('vue').Ref<boolean, boolean>, import('..').StateApi<boolean>];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useTheme(_color: string): readonly [import('vue').Ref<string, string>, import('..').StateApi<string>];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormInstance } from 'element-plus';
|
|
2
|
-
import { AxFormProps } from '
|
|
2
|
+
import { AxFormProps } from '../../..';
|
|
3
3
|
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
4
4
|
props: import('vue').PublicProps & __VLS_PrettifyLocal<AxFormProps & {
|
|
5
5
|
onSubmit?: ((data: T) => any) | undefined;
|
package/dist/utils/ui.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const changeDark: (bool: boolean) => void;
|
|
2
|
+
export declare const changeTheme: (color?: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ax-libs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"module": "./dist/ax-lib.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@element-plus/icons-vue": "^2.3.2",
|
|
32
32
|
"axios": "^1.16.0",
|
|
33
|
+
"colord": "^2.9.3",
|
|
33
34
|
"element-plus": "^2.13.7",
|
|
34
35
|
"lodash": "^4.18.1",
|
|
35
36
|
"mitt": "^3.0.1",
|