yxuse 1.0.89 → 1.0.91

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yxuse",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "yx"
@@ -1,81 +1,3 @@
1
- export declare const YxTable: import("vue").DefineComponent<{
2
- tableData: {
3
- type: import("vue").PropType<any[]>;
4
- required: true;
5
- };
6
- rowKey: {
7
- type: import("vue").PropType<string>;
8
- required: true;
9
- };
10
- columns: {
11
- type: import("vue").PropType<import("./type").TableColumn[]>;
12
- required: true;
13
- };
14
- pageInfo: {
15
- type: import("vue").PropType<import("./type").PageInfo>;
16
- };
17
- searchFormConfig: {
18
- type: import("vue").PropType<import("./type").FormConfig[]>;
19
- };
20
- searchParams: {
21
- type: import("vue").PropType<{
22
- [key: string]: any;
23
- }>;
24
- };
25
- sort: {
26
- type: import("vue").PropType<boolean>;
27
- };
28
- sortHandle: {
29
- type: import("vue").PropType<string>;
30
- };
31
- load: {
32
- type: import("vue").PropType<Function>;
33
- };
34
- }, {
35
- tableRef: import("vue").Ref<any>;
36
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
- "operate-handle": (type: string, data: object) => void;
38
- "sort-end": (oldIndex: number, newIndex: number) => void;
39
- "update-page": (type: string, value: number) => void;
40
- "size-change": (type: string, value: number) => void;
41
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
- tableData: {
43
- type: import("vue").PropType<any[]>;
44
- required: true;
45
- };
46
- rowKey: {
47
- type: import("vue").PropType<string>;
48
- required: true;
49
- };
50
- columns: {
51
- type: import("vue").PropType<import("./type").TableColumn[]>;
52
- required: true;
53
- };
54
- pageInfo: {
55
- type: import("vue").PropType<import("./type").PageInfo>;
56
- };
57
- searchFormConfig: {
58
- type: import("vue").PropType<import("./type").FormConfig[]>;
59
- };
60
- searchParams: {
61
- type: import("vue").PropType<{
62
- [key: string]: any;
63
- }>;
64
- };
65
- sort: {
66
- type: import("vue").PropType<boolean>;
67
- };
68
- sortHandle: {
69
- type: import("vue").PropType<string>;
70
- };
71
- load: {
72
- type: import("vue").PropType<Function>;
73
- };
74
- }>> & {
75
- "onOperate-handle"?: ((type: string, data: object) => any) | undefined;
76
- "onSort-end"?: ((oldIndex: number, newIndex: number) => any) | undefined;
77
- "onUpdate-page"?: ((type: string, value: number) => any) | undefined;
78
- "onSize-change"?: ((type: string, value: number) => any) | undefined;
79
- }, {}, {}>;
1
+ export { default as YxTable } from "./index.vue";
80
2
  export * from "./type";
81
3
  export * from "./index.vue";
@@ -30,8 +30,8 @@ export interface FormConfig {
30
30
  clearable?: boolean;
31
31
  }
32
32
  export interface PageInfo {
33
- size: number;
34
- current: number;
33
+ pageSize: number;
34
+ pageIndex: number;
35
35
  total: number;
36
36
  }
37
37
  export interface Operate {
package/types/index.d.ts CHANGED
@@ -6,3 +6,19 @@ export * as components from "./components";
6
6
  export * from "./directives";
7
7
  export declare const BC: BroadcastChannel;
8
8
  export * from "./components/type";
9
+ import * as utils from "./utils";
10
+ import * as icons from "./icons";
11
+ import * as api from "./api";
12
+ import * as theme from "./theme";
13
+ import * as components from "./components";
14
+ import * as directives from "./directives";
15
+ declare const _default: {
16
+ utils: typeof utils;
17
+ icons: typeof icons;
18
+ api: typeof api;
19
+ theme: typeof theme;
20
+ components: typeof components;
21
+ directives: typeof directives;
22
+ BC: BroadcastChannel;
23
+ };
24
+ export default _default;