keli-ui 0.0.13 → 0.0.15

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.
Files changed (87) hide show
  1. package/dist/keli-ui.css +1 -1
  2. package/dist/keli-ui.js +81109 -72032
  3. package/dist/keli-ui.umd.cjs +1 -1
  4. package/dist/types/lib/useButtonExec.d.ts +1 -1
  5. package/dist/types/packages/FormComponents/FormCascaderAsync/FormCascaderAsync.vue.d.ts +42 -0
  6. package/dist/types/packages/FormComponents/FormCascaderAsync/index.d.ts +2 -0
  7. package/dist/types/packages/FormComponents/FormCheckBoxAsync/FormCheckBoxAsync.vue.d.ts +44 -0
  8. package/dist/types/packages/FormComponents/FormCheckBoxAsync/index.d.ts +2 -0
  9. package/dist/types/packages/FormComponents/FormCodeEditor/FormCodeEditor.vue.d.ts +43 -0
  10. package/dist/types/packages/FormComponents/FormCodeEditor/index.d.ts +2 -0
  11. package/dist/types/packages/FormComponents/FormDatePicker/FormDatePickerClient.vue.d.ts +30 -0
  12. package/dist/types/packages/FormComponents/FormDatePicker/FormDatePickerMobile.vue.d.ts +38 -0
  13. package/dist/types/packages/FormComponents/FormDatePicker/index.d.ts +62 -0
  14. package/dist/types/packages/FormComponents/FormDateTimePicker/FormDateTimePickerClient.vue.d.ts +34 -0
  15. package/dist/types/packages/FormComponents/FormDateTimePicker/FormDateTimePickerMobile.vue.d.ts +38 -0
  16. package/dist/types/packages/FormComponents/FormDateTimePicker/index.d.ts +66 -0
  17. package/dist/types/packages/FormComponents/FormDivider/FormDivider.vue.d.ts +30 -0
  18. package/dist/types/packages/FormComponents/FormDivider/index.d.ts +2 -0
  19. package/dist/types/packages/FormComponents/FormDynamicTable/FormDynamicTable.vue.d.ts +36 -0
  20. package/dist/types/packages/FormComponents/FormDynamicTable/index.d.ts +2 -0
  21. package/dist/types/packages/FormComponents/FormInput/FormInput.vue.d.ts +34 -0
  22. package/dist/types/packages/FormComponents/FormInput/index.d.ts +2 -0
  23. package/dist/types/packages/FormComponents/FormInputNumber/FormInputNumber.vue.d.ts +47 -0
  24. package/dist/types/packages/FormComponents/FormInputNumber/index.d.ts +2 -0
  25. package/dist/types/packages/FormComponents/FormRadio/FormRadio.vue.d.ts +28 -0
  26. package/dist/types/packages/FormComponents/FormRadio/index.d.ts +2 -0
  27. package/dist/types/packages/FormComponents/FormRender/FormRenderClient.vue.d.ts +113 -0
  28. package/dist/types/packages/FormComponents/FormRender/FormRenderMobile.vue.d.ts +108 -0
  29. package/dist/types/packages/FormComponents/FormRender/hooks/formRender.hook.d.ts +42 -0
  30. package/dist/types/packages/FormComponents/FormRender/index.d.ts +106 -0
  31. package/dist/types/packages/FormComponents/FormSelect/FormSelectClient.vue.d.ts +32 -0
  32. package/dist/types/packages/FormComponents/FormSelect/FormSelectMobile.vue.d.ts +36 -0
  33. package/dist/types/packages/FormComponents/FormSelect/index.d.ts +62 -0
  34. package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncClient.vue.d.ts +55 -0
  35. package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncMobile.vue.d.ts +55 -0
  36. package/dist/types/packages/FormComponents/FormSelectAsync/hooks/selectAsync.hook.d.ts +33 -0
  37. package/dist/types/packages/FormComponents/FormSelectAsync/index.d.ts +53 -0
  38. package/dist/types/packages/FormComponents/FormSelectRemote/FormSelectRemote.vue.d.ts +42 -0
  39. package/dist/types/packages/FormComponents/FormSelectRemote/index.d.ts +2 -0
  40. package/dist/types/packages/FormComponents/FormSwitch/FormSwitch.vue.d.ts +34 -0
  41. package/dist/types/packages/FormComponents/FormSwitch/index.d.ts +2 -0
  42. package/dist/types/packages/FormComponents/FormText/FormText.vue.d.ts +39 -0
  43. package/dist/types/packages/FormComponents/FormText/index.d.ts +2 -0
  44. package/dist/types/packages/FormComponents/FormTextArea/FormTextArea.vue.d.ts +34 -0
  45. package/dist/types/packages/FormComponents/FormTextArea/index.d.ts +2 -0
  46. package/dist/types/packages/FormComponents/hook/useMitt.hook.d.ts +4 -0
  47. package/dist/types/packages/QueryComponents/QueryBar/QueryBarClient.vue.d.ts +1 -1
  48. package/dist/types/packages/QueryComponents/QueryBar/QueryBarMobile.vue.d.ts +1 -1
  49. package/dist/types/packages/QueryComponents/QueryBar/index.d.ts +4 -5
  50. package/dist/types/packages/QueryComponents/QuerySelect/QuerySelectClient.vue.d.ts +1 -1
  51. package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderClient.vue.d.ts +6 -6
  52. package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderMobile.vue.d.ts +4 -6
  53. package/dist/types/packages/TableComponents/TableCardRender/index.d.ts +20 -21
  54. package/dist/types/packages/TableComponents/TableCheckBoxAsync/TableCheckBoxAsync.vue.d.ts +2 -2
  55. package/dist/types/packages/TableComponents/TableCheckBoxAsync/index.d.ts +2 -2
  56. package/dist/types/packages/TableComponents/TableInput/TableInput.vue.d.ts +2 -2
  57. package/dist/types/packages/TableComponents/TableInput/index.d.ts +2 -2
  58. package/dist/types/packages/TableComponents/TableInputNumber/TableInputNumber.vue.d.ts +2 -2
  59. package/dist/types/packages/TableComponents/TableInputNumber/index.d.ts +2 -2
  60. package/dist/types/packages/TableComponents/TableRender/TableRenderClient.vue.d.ts +28 -10
  61. package/dist/types/packages/TableComponents/TableRender/TableRenderMobile.vue.d.ts +6 -8
  62. package/dist/types/packages/TableComponents/TableRender/hooks/useCopyPaste.hook.d.ts +1 -1
  63. package/dist/types/packages/TableComponents/TableRender/index.d.ts +20 -21
  64. package/dist/types/packages/TableComponents/TableSelect/TableSelect.vue.d.ts +1 -1
  65. package/dist/types/packages/TableComponents/TableSelect/index.d.ts +2 -2
  66. package/dist/types/packages/TableComponents/TableSelectAsync/TableSelectAsync.vue.d.ts +1 -1
  67. package/dist/types/packages/TableComponents/TableSelectAsync/index.d.ts +2 -2
  68. package/dist/types/packages/TableComponents/TableSwitch/TableSwitch.vue.d.ts +1 -1
  69. package/dist/types/packages/TableComponents/TableSwitch/index.d.ts +2 -2
  70. package/dist/types/packages/TableComponents/TableTreeRender/TableTreeRender.vue.d.ts +6 -8
  71. package/dist/types/packages/TableComponents/TableTreeRender/index.d.ts +2 -2
  72. package/dist/types/packages/TableComponents/utils/dataFormatter.d.ts +1 -1
  73. package/dist/types/packages/ToolBar/ToolBarClient.vue.d.ts +1 -1
  74. package/dist/types/packages/ToolBar/ToolBarMobile.vue.d.ts +1 -1
  75. package/dist/types/packages/ToolBar/ToolBarProxy.vue.d.ts +1 -1
  76. package/dist/types/packages/index.d.ts +21 -20
  77. package/dist/types/packages/types/componentFrame.d.ts +3 -1
  78. package/dist/types/packages/types/formFrame.d.ts +86 -0
  79. package/dist/types/packages/types/queryFrame.d.ts +1 -1
  80. package/dist/types/packages/types/tableFrame.d.ts +36 -7
  81. package/dist/types/utils/arrayUtils.d.ts +60 -0
  82. package/dist/types/utils/dateTime.d.ts +22 -0
  83. package/dist/types/utils/index.d.ts +3 -0
  84. package/dist/types/utils/mitt.d.ts +6 -0
  85. package/dist/types/utils/msgTips.d.ts +1 -1
  86. package/package.json +24 -5
  87. package/dist/types/packages/TableComponents/TableRender/hooks/tableRender.hook.d.ts +0 -0
@@ -0,0 +1,53 @@
1
+ declare const KeFormSelectAsync: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ value: {
3
+ type: import("vue").PropType<any>;
4
+ required: false;
5
+ default: () => any;
6
+ };
7
+ detail: {
8
+ required: true;
9
+ type: import("vue").PropType<import("../../types/formFrame.js").KeFormSelectAsync>;
10
+ };
11
+ fieldTitle: {
12
+ required: true;
13
+ type: StringConstructor;
14
+ };
15
+ mittId: {
16
+ type: StringConstructor;
17
+ required: false;
18
+ default: () => any;
19
+ };
20
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ valueChange: (...args: any[]) => void;
22
+ "update:value": (...args: any[]) => void;
23
+ setShow: (...args: any[]) => void;
24
+ getComponentValue: (...args: any[]) => void;
25
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ value: {
27
+ type: import("vue").PropType<any>;
28
+ required: false;
29
+ default: () => any;
30
+ };
31
+ detail: {
32
+ required: true;
33
+ type: import("vue").PropType<import("../../types/formFrame.js").KeFormSelectAsync>;
34
+ };
35
+ fieldTitle: {
36
+ required: true;
37
+ type: StringConstructor;
38
+ };
39
+ mittId: {
40
+ type: StringConstructor;
41
+ required: false;
42
+ default: () => any;
43
+ };
44
+ }>> & Readonly<{
45
+ onValueChange?: (...args: any[]) => any;
46
+ "onUpdate:value"?: (...args: any[]) => any;
47
+ onSetShow?: (...args: any[]) => any;
48
+ onGetComponentValue?: (...args: any[]) => any;
49
+ }>, {
50
+ value: any;
51
+ mittId: string;
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
+ export default KeFormSelectAsync;
@@ -0,0 +1,42 @@
1
+ import { type PropType } from 'vue';
2
+ import type { KeFormSelectAsync } from '../../types/formFrame';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ value: {
5
+ required: false;
6
+ default: () => any;
7
+ };
8
+ detail: {
9
+ required: true;
10
+ type: PropType<KeFormSelectAsync>;
11
+ };
12
+ fieldTitle: {
13
+ required: true;
14
+ type: StringConstructor;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ valueChange: (...args: any[]) => void;
18
+ "update:value": (...args: any[]) => void;
19
+ setShow: (...args: any[]) => void;
20
+ getComponentValue: (...args: any[]) => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ value: {
23
+ required: false;
24
+ default: () => any;
25
+ };
26
+ detail: {
27
+ required: true;
28
+ type: PropType<KeFormSelectAsync>;
29
+ };
30
+ fieldTitle: {
31
+ required: true;
32
+ type: StringConstructor;
33
+ };
34
+ }>> & Readonly<{
35
+ onValueChange?: (...args: any[]) => any;
36
+ "onUpdate:value"?: (...args: any[]) => any;
37
+ onSetShow?: (...args: any[]) => any;
38
+ onGetComponentValue?: (...args: any[]) => any;
39
+ }>, {
40
+ value: any;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import KeFormSelectRemote from './FormSelectRemote.vue';
2
+ export default KeFormSelectRemote;
@@ -0,0 +1,34 @@
1
+ import { type PropType } from 'vue';
2
+ import type { FormFrame } from '../../types/formFrame';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ value: {
5
+ required: true;
6
+ default: boolean;
7
+ };
8
+ detail: {
9
+ required: true;
10
+ type: PropType<FormFrame>;
11
+ };
12
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ valueChange: (...args: any[]) => void;
14
+ "update:value": (...args: any[]) => void;
15
+ setShow: (...args: any[]) => void;
16
+ getComponentValue: (...args: any[]) => void;
17
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ value: {
19
+ required: true;
20
+ default: boolean;
21
+ };
22
+ detail: {
23
+ required: true;
24
+ type: PropType<FormFrame>;
25
+ };
26
+ }>> & Readonly<{
27
+ onValueChange?: (...args: any[]) => any;
28
+ "onUpdate:value"?: (...args: any[]) => any;
29
+ onSetShow?: (...args: any[]) => any;
30
+ onGetComponentValue?: (...args: any[]) => any;
31
+ }>, {
32
+ value: boolean;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import KeFormSwitch from './FormSwitch.vue';
2
+ export default KeFormSwitch;
@@ -0,0 +1,39 @@
1
+ import { type PropType } from 'vue';
2
+ import type { FormFrame } from '../../types/formFrame';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ value: {
5
+ required: false;
6
+ default: string;
7
+ };
8
+ detail: {
9
+ required: true;
10
+ type: PropType<FormFrame>;
11
+ };
12
+ mittId: {
13
+ type: StringConstructor;
14
+ required: false;
15
+ default: () => any;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:value": (value: any) => any;
19
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
+ value: {
21
+ required: false;
22
+ default: string;
23
+ };
24
+ detail: {
25
+ required: true;
26
+ type: PropType<FormFrame>;
27
+ };
28
+ mittId: {
29
+ type: StringConstructor;
30
+ required: false;
31
+ default: () => any;
32
+ };
33
+ }>> & Readonly<{
34
+ "onUpdate:value"?: (value: any) => any;
35
+ }>, {
36
+ value: string;
37
+ mittId: string;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import KeFormText from './FormText.vue';
2
+ export default KeFormText;
@@ -0,0 +1,34 @@
1
+ import type { PropType } from 'vue';
2
+ import type { FormFrame } from '../../types/formFrame';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ value: {
5
+ required: false;
6
+ default: string;
7
+ };
8
+ detail: {
9
+ required: true;
10
+ type: PropType<FormFrame>;
11
+ };
12
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ valueChange: (...args: any[]) => void;
14
+ "update:value": (...args: any[]) => void;
15
+ setShow: (...args: any[]) => void;
16
+ getComponentValue: (...args: any[]) => void;
17
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ value: {
19
+ required: false;
20
+ default: string;
21
+ };
22
+ detail: {
23
+ required: true;
24
+ type: PropType<FormFrame>;
25
+ };
26
+ }>> & Readonly<{
27
+ onValueChange?: (...args: any[]) => any;
28
+ "onUpdate:value"?: (...args: any[]) => any;
29
+ onSetShow?: (...args: any[]) => any;
30
+ onGetComponentValue?: (...args: any[]) => any;
31
+ }>, {
32
+ value: string;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import KeFormTextArea from './FormTextArea.vue';
2
+ export default KeFormTextArea;
@@ -0,0 +1,4 @@
1
+ export declare const useMittHook: (fieldName: string, mittId: null | string) => {
2
+ registerMitt: (func?: Function) => void;
3
+ offMitt: () => void;
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableQueryFrame } from '@/packages/types/queryFrame';
2
+ import type { TableQueryFrame } from '../../types';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  frame: {
5
5
  required: true;
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableQueryFrame } from '@/packages/types/queryFrame';
2
+ import type { TableQueryFrame } from '../../types';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  frame: {
5
5
  required: true;
@@ -1,8 +1,7 @@
1
- import { isMobileDevice } from '@/lib/modeControl.ts';
2
1
  declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
2
  frame: {
4
3
  required: true;
5
- type: import("vue").PropType<isMobileDevice[]>;
4
+ type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
6
5
  };
7
6
  i18nText: {
8
7
  required: false;
@@ -18,7 +17,7 @@ declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractP
18
17
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
18
  frame: {
20
19
  required: true;
21
- type: import("vue").PropType<isMobileDevice[]>;
20
+ type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
22
21
  };
23
22
  i18nText: {
24
23
  required: false;
@@ -41,7 +40,7 @@ declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractP
41
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent<import("vue").ExtractPropTypes<{
42
41
  frame: {
43
42
  required: true;
44
- type: import("vue").PropType<isMobileDevice[]>;
43
+ type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
45
44
  };
46
45
  i18nText: {
47
46
  required: false;
@@ -56,7 +55,7 @@ declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractP
56
55
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
56
  frame: {
58
57
  required: true;
59
- type: import("vue").PropType<isMobileDevice[]>;
58
+ type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
60
59
  };
61
60
  i18nText: {
62
61
  required: false;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { QuerySelector } from '@/packages';
2
+ import type { QuerySelector } from '../../types';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  value: {
5
5
  required: false;
@@ -1,9 +1,9 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableConfigInterface } from '@/packages/types/tableFrame';
2
+ import type { TableConfigInterface } from '../../types';
3
3
  import type { VxeGridProps } from 'vxe-table';
4
- import type { TableQueryFrame } from '@/packages/types/queryFrame';
5
- import type { KeliButton } from '@/packages/types/button';
6
- import type { Pagination } from '@/packages/TableComponents/type';
4
+ import type { TableQueryFrame } from '../../types';
5
+ import type { KeliButton } from '../../types';
6
+ import type { Pagination } from '../type';
7
7
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  tableId: {
9
9
  required: true;
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
51
  };
52
52
  };
53
53
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- btnClick: (...args: any[]) => void;
55
54
  queryClick: (...args: any[]) => void;
55
+ btnClick: (...args: any[]) => void;
56
56
  valueChange: (...args: any[]) => void;
57
57
  treeLazyLoad: (...args: any[]) => void;
58
58
  onSelection: (...args: any[]) => void;
@@ -104,8 +104,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
104
104
  };
105
105
  };
106
106
  }>> & Readonly<{
107
- onBtnClick?: (...args: any[]) => any;
108
107
  onQueryClick?: (...args: any[]) => any;
108
+ onBtnClick?: (...args: any[]) => any;
109
109
  onValueChange?: (...args: any[]) => any;
110
110
  onTreeLazyLoad?: (...args: any[]) => any;
111
111
  onOnSelection?: (...args: any[]) => any;
@@ -1,9 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableConfigInterface } from '@/packages/types/tableFrame';
3
2
  import type { VxeGridProps } from 'vxe-table';
4
- import type { TableQueryFrame } from '@/packages/types/queryFrame';
5
- import type { KeliButton } from '@/packages/types/button';
6
- import type { Pagination } from '@/packages/TableComponents/type';
3
+ import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
4
+ import type { Pagination } from '../type';
7
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
6
  tableId: {
9
7
  required: true;
@@ -51,8 +49,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
49
  };
52
50
  };
53
51
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- btnClick: (...args: any[]) => void;
55
52
  queryClick: (...args: any[]) => void;
53
+ btnClick: (...args: any[]) => void;
56
54
  valueChange: (...args: any[]) => void;
57
55
  treeLazyLoad: (...args: any[]) => void;
58
56
  onSelection: (...args: any[]) => void;
@@ -104,8 +102,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
104
102
  };
105
103
  };
106
104
  }>> & Readonly<{
107
- onBtnClick?: (...args: any[]) => any;
108
105
  onQueryClick?: (...args: any[]) => any;
106
+ onBtnClick?: (...args: any[]) => any;
109
107
  onValueChange?: (...args: any[]) => any;
110
108
  onTreeLazyLoad?: (...args: any[]) => any;
111
109
  onOnSelection?: (...args: any[]) => any;
@@ -1,12 +1,11 @@
1
- import { isMobileDevice } from '@/lib/modeControl.ts';
2
- declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const KeTableCardRender: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
2
  tableId: {
4
3
  required: true;
5
4
  type: (StringConstructor | NumberConstructor)[];
6
5
  };
7
6
  tableConfig: {
8
7
  required: true;
9
- type: import("vue").PropType<isMobileDevice>;
8
+ type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
10
9
  };
11
10
  vxeGridOptions: {
12
11
  required: false;
@@ -18,18 +17,18 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
18
17
  };
19
18
  queryConfig: {
20
19
  required: false;
21
- type: import("vue").PropType<isMobileDevice[]>;
20
+ type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
22
21
  default: any[];
23
22
  };
24
23
  tableToolButtons: {
25
24
  required: false;
26
25
  default: () => any[];
27
- type: import("vue").PropType<isMobileDevice[]>;
26
+ type: import("vue").PropType<import("../../index.js").KeliButton[]>;
28
27
  };
29
28
  tableRowButtons: {
30
29
  required: false;
31
30
  default: () => any[];
32
- type: import("vue").PropType<isMobileDevice[]>;
31
+ type: import("vue").PropType<import("../../index.js").KeliButton[]>;
33
32
  };
34
33
  tableData: {
35
34
  required: true;
@@ -38,7 +37,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
38
37
  };
39
38
  tablePagination: {
40
39
  required: false;
41
- type: import("vue").PropType<isMobileDevice>;
40
+ type: import("vue").PropType<import("../type.js").Pagination>;
42
41
  default: () => {
43
42
  currentPage: number;
44
43
  pageSize: number;
@@ -46,12 +45,12 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
46
45
  };
47
46
  };
48
47
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
- btnClick: (...args: any[]) => void;
50
48
  queryClick: (...args: any[]) => void;
49
+ btnClick: (...args: any[]) => void;
51
50
  valueChange: (...args: any[]) => void;
52
51
  treeLazyLoad: (...args: any[]) => void;
53
52
  onSelection: (...args: any[]) => void;
54
- "update:tablePagination": (value: Pagination) => void;
53
+ "update:tablePagination": (value: import("../type.js").Pagination) => void;
55
54
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
55
  tableId: {
57
56
  required: true;
@@ -59,7 +58,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
59
58
  };
60
59
  tableConfig: {
61
60
  required: true;
62
- type: import("vue").PropType<isMobileDevice>;
61
+ type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
63
62
  };
64
63
  vxeGridOptions: {
65
64
  required: false;
@@ -71,18 +70,18 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
71
70
  };
72
71
  queryConfig: {
73
72
  required: false;
74
- type: import("vue").PropType<isMobileDevice[]>;
73
+ type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
75
74
  default: any[];
76
75
  };
77
76
  tableToolButtons: {
78
77
  required: false;
79
78
  default: () => any[];
80
- type: import("vue").PropType<isMobileDevice[]>;
79
+ type: import("vue").PropType<import("../../index.js").KeliButton[]>;
81
80
  };
82
81
  tableRowButtons: {
83
82
  required: false;
84
83
  default: () => any[];
85
- type: import("vue").PropType<isMobileDevice[]>;
84
+ type: import("vue").PropType<import("../../index.js").KeliButton[]>;
86
85
  };
87
86
  tableData: {
88
87
  required: true;
@@ -91,7 +90,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
91
90
  };
92
91
  tablePagination: {
93
92
  required: false;
94
- type: import("vue").PropType<isMobileDevice>;
93
+ type: import("vue").PropType<import("../type.js").Pagination>;
95
94
  default: () => {
96
95
  currentPage: number;
97
96
  pageSize: number;
@@ -99,17 +98,17 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
99
98
  };
100
99
  };
101
100
  }>> & Readonly<{
102
- onBtnClick?: (...args: any[]) => any;
103
101
  onQueryClick?: (...args: any[]) => any;
102
+ onBtnClick?: (...args: any[]) => any;
104
103
  onValueChange?: (...args: any[]) => any;
105
104
  onTreeLazyLoad?: (...args: any[]) => any;
106
105
  onOnSelection?: (...args: any[]) => any;
107
- "onUpdate:tablePagination"?: (value: Pagination) => any;
106
+ "onUpdate:tablePagination"?: (value: import("../type.js").Pagination) => any;
108
107
  }>, {
109
- queryConfig: TableQueryFrame[];
110
- tableToolButtons: KeliButton[];
111
- tableRowButtons: KeliButton[];
108
+ queryConfig: import("../../index.js").TableQueryFrame[];
109
+ tableToolButtons: import("../../index.js").KeliButton[];
110
+ tableRowButtons: import("../../index.js").KeliButton[];
112
111
  tableData: any[];
113
- tablePagination: Pagination;
112
+ tablePagination: import("../type.js").Pagination;
114
113
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
115
- export default KeliTableCardRender;
114
+ export default KeTableCardRender;
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableSelector } from '@/packages/types/tableFrame';
3
- import type { TableCheckBoxAsyncI18n } from './type.d';
2
+ import type { TableSelector } from '../../types';
3
+ import type { TableCheckBoxAsyncI18n } from './type';
4
4
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  value: {
6
6
  required: false;
@@ -1,2 +1,2 @@
1
- import KeliTableCheckBoxAsync from './TableCheckBoxAsync.vue';
2
- export default KeliTableCheckBoxAsync;
1
+ import KeTableCheckBoxAsync from './TableCheckBoxAsync.vue';
2
+ export default KeTableCheckBoxAsync;
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableComponentFrame } from '@/packages/types/tableFrame';
3
- import type { TableInputI18n } from '@/packages/TableComponents/TableInput/type.d';
2
+ import type { TableComponentFrame } from '../../types';
3
+ import type { TableInputI18n } from './type';
4
4
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  value: {
6
6
  required: false;
@@ -1,2 +1,2 @@
1
- import KeliTableInput from './TableInput.vue';
2
- export default KeliTableInput;
1
+ import KeTableInput from './TableInput.vue';
2
+ export default KeTableInput;
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableInputI18n } from '@/packages/TableComponents/TableInput/type';
3
- import type { TableComponentFrame } from '@/packages/types/tableFrame';
2
+ import type { TableInputI18n } from '../TableInput/type';
3
+ import type { TableComponentFrame } from '../../types';
4
4
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  value: {
6
6
  required: false;
@@ -1,2 +1,2 @@
1
- import KeliTableInputNumber from './TableInputNumber.vue';
2
- export default KeliTableInputNumber;
1
+ import KeTableInputNumber from './TableInputNumber.vue';
2
+ export default KeTableInputNumber;
@@ -1,10 +1,8 @@
1
1
  import { type PropType } from 'vue';
2
2
  import type { VxeGridProps } from 'vxe-table';
3
- import type { Pagination } from '@/packages/TableComponents/type';
4
- import type { TableConfigInterface } from '@/packages/types/tableFrame';
5
- import type { KeliButton } from '@/packages/types/button';
6
- import type { TableQueryFrame } from '@/packages/types/queryFrame';
3
+ import type { Pagination } from '../type';
7
4
  import 'vxe-table/lib/style.css';
5
+ import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
8
6
  declare var __VLS_27: {};
9
7
  type __VLS_Slots = {} & {
10
8
  'tool-bar'?: (props: typeof __VLS_27) => any;
@@ -56,13 +54,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
56
54
  };
57
55
  };
58
56
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- getTableConfig: (...args: any[]) => void;
60
- btnClick: (...args: any[]) => void;
61
57
  queryClick: (...args: any[]) => void;
58
+ btnClick: (...args: any[]) => void;
59
+ getTableConfig: (...args: any[]) => void;
62
60
  valueChange: (...args: any[]) => void;
63
61
  treeLazyLoad: (...args: any[]) => void;
64
62
  onSelection: (...args: any[]) => void;
65
- "update:tablePagination": (value: Pagination) => void;
63
+ "update:tablePagination": (value: {
64
+ currentPage: number;
65
+ /**
66
+ * 页面大小
67
+ */
68
+ pageSize: number;
69
+ /**
70
+ * 总数
71
+ */
72
+ total: number;
73
+ }) => void;
66
74
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
75
  tableId: {
68
76
  required: true;
@@ -110,13 +118,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
110
118
  };
111
119
  };
112
120
  }>> & Readonly<{
113
- onGetTableConfig?: (...args: any[]) => any;
114
- onBtnClick?: (...args: any[]) => any;
115
121
  onQueryClick?: (...args: any[]) => any;
122
+ onBtnClick?: (...args: any[]) => any;
123
+ onGetTableConfig?: (...args: any[]) => any;
116
124
  onValueChange?: (...args: any[]) => any;
117
125
  onTreeLazyLoad?: (...args: any[]) => any;
118
126
  onOnSelection?: (...args: any[]) => any;
119
- "onUpdate:tablePagination"?: (value: Pagination) => any;
127
+ "onUpdate:tablePagination"?: (value: {
128
+ currentPage: number;
129
+ /**
130
+ * 页面大小
131
+ */
132
+ pageSize: number;
133
+ /**
134
+ * 总数
135
+ */
136
+ total: number;
137
+ }) => any;
120
138
  }>, {
121
139
  queryConfig: TableQueryFrame[];
122
140
  tableToolButtons: KeliButton[];
@@ -1,9 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
- import type { TableConfigInterface } from '@/packages/types/tableFrame';
2
+ import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
3
3
  import type { VxeGridProps } from 'vxe-table';
4
- import type { TableQueryFrame } from '@/packages/types/queryFrame';
5
- import type { KeliButton } from '@/packages/types/button';
6
- import type { Pagination } from '@/packages/TableComponents/type';
4
+ import type { Pagination } from '../type';
7
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
6
  tableId: {
9
7
  required: true;
@@ -51,12 +49,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
49
  };
52
50
  };
53
51
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- btnClick: (...args: any[]) => void;
55
52
  queryClick: (...args: any[]) => void;
53
+ btnClick: (...args: any[]) => void;
56
54
  valueChange: (...args: any[]) => void;
57
55
  treeLazyLoad: (...args: any[]) => void;
58
56
  onSelection: (...args: any[]) => void;
59
- "update:tablePagination": (value: any) => void;
57
+ "update:tablePagination": (value: Pagination) => void;
60
58
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
59
  tableId: {
62
60
  required: true;
@@ -104,12 +102,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
104
102
  };
105
103
  };
106
104
  }>> & Readonly<{
107
- onBtnClick?: (...args: any[]) => any;
108
105
  onQueryClick?: (...args: any[]) => any;
106
+ onBtnClick?: (...args: any[]) => any;
109
107
  onValueChange?: (...args: any[]) => any;
110
108
  onTreeLazyLoad?: (...args: any[]) => any;
111
109
  onOnSelection?: (...args: any[]) => any;
112
- "onUpdate:tablePagination"?: (value: any) => any;
110
+ "onUpdate:tablePagination"?: (value: Pagination) => any;
113
111
  }>, {
114
112
  queryConfig: TableQueryFrame[];
115
113
  tableToolButtons: KeliButton[];
@@ -1,4 +1,4 @@
1
- import type { TableConfigInterface } from '@/packages/types/tableFrame';
1
+ import type { TableConfigInterface } from '../../../types';
2
2
  interface RowConfig {
3
3
  height?: number;
4
4
  }