keli-ui 0.0.5 → 0.0.7

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.
@@ -1,4 +1,2 @@
1
1
  export declare const deviceMode: import("vue").Ref<"mobile" | "client", "mobile" | "client">;
2
- export declare function setMode(mode: 'client' | 'mobile'): void;
3
- export declare function getMode(): "mobile" | "client";
4
2
  export declare const isMobileDevice: import("vue").ComputedRef<boolean>;
@@ -4,6 +4,7 @@ import type { Pagination } from '@/packages/TableComponents/type';
4
4
  import type { TableConfigInterface } from '@/packages/types/tableFrame';
5
5
  import type { KeliButton } from '@/packages/types/button';
6
6
  import type { TableQueryFrame } from '@/packages/types/queryFrame';
7
+ import 'vxe-table/lib/style.css';
7
8
  declare var __VLS_27: {};
8
9
  type __VLS_Slots = {} & {
9
10
  'tool-bar'?: (props: typeof __VLS_27) => any;
@@ -9,8 +9,15 @@ import KeliTableInputNumber from '@/packages/TableComponents/TableInputNumber';
9
9
  import KeliTableSelect from '@/packages/TableComponents/TableSelect';
10
10
  import KeliTableSelectAsync from '@/packages/TableComponents/TableSelectAsync';
11
11
  import KeliTableSwitch from '@/packages/TableComponents/TableSwitch';
12
- export { KeliTableRender, KeliTableCardRender, KeliTableTreeRender, KeliTableCheckBoxAsync, KeliTableInput, KeliTableInputNumber, KeliTableSelect, KeliTableSelectAsync, KeliTableSwitch };
12
+ import KeliQueryBar from '@/packages/QueryComponents/QueryBar';
13
+ import KeliQueryDateTime from '@/packages/QueryComponents/QueryDateTime';
14
+ import KeliQueryInput from '@/packages/QueryComponents/QueryInput';
15
+ import KeliQueryInputLike from '@/packages/QueryComponents/QueryInputLike';
16
+ import KeliQuerySelect from '@/packages/QueryComponents/QuerySelect';
17
+ import KeliToolBar from '@/packages/ToolBar';
18
+ export type * from './types';
13
19
  declare const _default: {
14
20
  install(app: App): void;
15
21
  };
16
22
  export default _default;
23
+ export { KeliTableRender, KeliTableCardRender, KeliTableTreeRender, KeliTableCheckBoxAsync, KeliTableInput, KeliTableInputNumber, KeliTableSelect, KeliTableSelectAsync, KeliTableSwitch, KeliQueryBar, KeliQueryDateTime, KeliQueryInput, KeliQueryInputLike, KeliQuerySelect, KeliToolBar };
package/package.json CHANGED
@@ -1,53 +1,50 @@
1
- {
2
- "name": "keli-ui",
3
- "private": false,
4
- "version": "0.0.5",
5
- "author": "Luv Letter",
6
- "description": "配置化组件库",
7
- "type": "module",
8
- "license": "Apache-2.0",
9
- "files": [
10
- "dist",
11
- "dist/types"
12
- ],
13
- "types": "./dist/types/index.d.ts",
14
- "main": "./dist/keli-ui.umd.cjs",
15
- "module": "./dist/keli-ui.js",
16
- "exports": {
17
- "./dist/keli-ui.css": "./dist/keli-ui.css",
18
- ".": {
19
- "import": "./dist/keli-ui.js",
20
- "require": "./dist/keli-ui.umd.cjs"
21
- }
22
- },
23
- "scripts": {
24
- "dev": "vite",
25
- "build": "vue-tsc -b && vite build",
26
- "preview": "vite preview"
27
- },
28
- "dependencies": {
29
- "@element-plus/icons-vue": "^2.3.1",
30
- "@vueuse/core": "^13.1.0",
31
- "element-plus": "^2.9.9",
32
- "motion-v": "^1.0.0",
33
- "vant": "^4.9.19",
34
- "vue": "^3.5.13",
35
- "vxe-table": "^4.13.15"
36
- },
37
- "devDependencies": {
38
- "@inspira-ui/plugins": "^0.0.1",
39
- "@types/node": "^22.15.3",
40
- "@vitejs/plugin-vue": "^5.2.2",
41
- "@vue/tsconfig": "^0.7.0",
42
- "class-variance-authority": "^0.7.1",
43
- "clsx": "^2.1.1",
44
- "sass-embedded": "^1.87.0",
45
- "tailwind-merge": "^3.2.0",
46
- "tailwindcss": "^4.1.4",
47
- "tailwindcss-animate": "^1.0.7",
48
- "terser": "^5.39.0",
49
- "typescript": "~5.7.2",
50
- "vite": "^6.3.1",
51
- "vue-tsc": "^2.2.8"
52
- }
53
- }
1
+ {
2
+ "name": "keli-ui",
3
+ "private": false,
4
+ "version": "0.0.7",
5
+ "author": "Luv Letter",
6
+ "description": "配置化组件库",
7
+ "type": "module",
8
+ "license": "Apache-2.0",
9
+ "files": [
10
+ "dist",
11
+ "dist/types"
12
+ ],
13
+ "types": "./dist/types/packages/index.d.ts",
14
+ "main": "./dist/keli-ui.umd.cjs",
15
+ "module": "./dist/keli-ui.js",
16
+ "exports": {
17
+ "./dist/keli-ui.css": "./dist/keli-ui.css",
18
+ ".": {
19
+ "import": "./dist/keli-ui.js",
20
+ "require": "./dist/keli-ui.umd.cjs",
21
+ "types": ["./dist/types/packages/index.d.ts", "./dist/types/packages/types/index.d.ts"]
22
+ }
23
+ },
24
+ "scripts": {
25
+ "dev": "vite",
26
+ "build": "vue-tsc -b && vite build && vue-tsc -p tsconfig.build.json",
27
+ "cp-types": "cp ./src/packages/types ./dist/types/packages/types",
28
+ "preview": "vite preview"
29
+ },
30
+ "dependencies": {
31
+ "@element-plus/icons-vue": "^2.3.1",
32
+ "@vueuse/core": "^13.1.0",
33
+ "element-plus": "^2.9.9",
34
+ "vant": "^4.9.19",
35
+ "vue": "^3.5.13",
36
+ "vxe-table": "^4.13.15"
37
+ },
38
+ "devDependencies": {
39
+ "@types/node": "^22.15.3",
40
+ "@vitejs/plugin-vue": "^5.2.2",
41
+ "@vue/tsconfig": "^0.7.0",
42
+ "class-variance-authority": "^0.7.1",
43
+ "clsx": "^2.1.1",
44
+ "sass-embedded": "^1.87.0",
45
+ "terser": "^5.39.0",
46
+ "typescript": "~5.7.2",
47
+ "vite": "^6.3.1",
48
+ "vue-tsc": "^2.2.8"
49
+ }
50
+ }
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { type ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
3
- export type ObjectValues<T> = T[keyof T];
@@ -1 +0,0 @@
1
- import './style.css';