@fmdevui/fm-dev 1.0.76 → 1.0.78

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 (85) hide show
  1. package/es/component.mjs +7 -2
  2. package/es/core/ui/components/index.d.ts +807 -2
  3. package/es/core/ui/components/querycondition/index.vue.d.ts +88 -0
  4. package/es/core/ui/components/querycondition/moreChoose.vue.d.ts +30 -0
  5. package/es/core/ui/components/querycondition/renderComp.vue.d.ts +9 -0
  6. package/es/core/ui/components/querycondition/style/css.d.ts +1 -0
  7. package/es/core/ui/components/querycondition/style/index.d.ts +1 -0
  8. package/es/core/ui/components/querycondition/type.d.ts +21 -0
  9. package/es/core/ui/components/querycondition/useComputed.d.ts +28 -0
  10. package/es/core/ui/components/selecttable/ClickOutside.d.ts +3 -0
  11. package/es/core/ui/components/selecttable/index.vue.d.ts +190 -0
  12. package/es/core/ui/components/selecttable/renderCol.vue.d.ts +21 -0
  13. package/es/core/ui/components/selecttable/style/css.d.ts +1 -0
  14. package/es/core/ui/components/selecttable/style/index.d.ts +1 -0
  15. package/es/core/ui/components/selecttable/type.d.ts +56 -0
  16. package/es/core/ui/components/selecttable/useVirtualized.d.ts +11 -0
  17. package/es/index.mjs +1 -1
  18. package/es/packages/core/index.mjs +1 -1
  19. package/es/packages/core/ui/components/index.mjs +18 -1
  20. package/es/packages/core/ui/components/querycondition/index.vue.mjs +5 -0
  21. package/es/packages/core/ui/components/querycondition/index.vue2.mjs +521 -0
  22. package/es/packages/core/ui/components/querycondition/moreChoose.vue.mjs +5 -0
  23. package/es/packages/core/ui/components/querycondition/moreChoose.vue2.mjs +237 -0
  24. package/es/packages/core/ui/components/querycondition/renderComp.vue.mjs +5 -0
  25. package/es/packages/core/ui/components/querycondition/renderComp.vue2.mjs +23 -0
  26. package/es/packages/core/ui/components/querycondition/style/css.mjs +1 -0
  27. package/es/packages/core/ui/components/querycondition/style/index.mjs +1 -0
  28. package/es/packages/core/ui/components/querycondition/type.mjs +1 -0
  29. package/es/packages/core/ui/components/querycondition/useComputed.mjs +104 -0
  30. package/es/packages/core/ui/components/selecttable/ClickOutside.mjs +69 -0
  31. package/es/packages/core/ui/components/selecttable/index.vue.mjs +5 -0
  32. package/es/packages/core/ui/components/selecttable/index.vue2.mjs +816 -0
  33. package/es/packages/core/ui/components/selecttable/renderCol.vue.mjs +5 -0
  34. package/es/packages/core/ui/components/selecttable/renderCol.vue2.mjs +28 -0
  35. package/es/packages/core/ui/components/selecttable/style/css.mjs +1 -0
  36. package/es/packages/core/ui/components/selecttable/style/index.mjs +1 -0
  37. package/es/packages/core/ui/components/selecttable/type.mjs +1 -0
  38. package/es/packages/core/ui/components/selecttable/useVirtualized.mjs +67 -0
  39. package/index.js +1897 -52
  40. package/index.min.js +30 -29
  41. package/index.min.mjs +27 -26
  42. package/index.mjs +1894 -54
  43. package/lib/component.js +6 -1
  44. package/lib/core/ui/components/index.d.ts +807 -2
  45. package/lib/core/ui/components/querycondition/index.vue.d.ts +88 -0
  46. package/lib/core/ui/components/querycondition/moreChoose.vue.d.ts +30 -0
  47. package/lib/core/ui/components/querycondition/renderComp.vue.d.ts +9 -0
  48. package/lib/core/ui/components/querycondition/style/css.d.ts +1 -0
  49. package/lib/core/ui/components/querycondition/style/index.d.ts +1 -0
  50. package/lib/core/ui/components/querycondition/type.d.ts +21 -0
  51. package/lib/core/ui/components/querycondition/useComputed.d.ts +28 -0
  52. package/lib/core/ui/components/selecttable/ClickOutside.d.ts +3 -0
  53. package/lib/core/ui/components/selecttable/index.vue.d.ts +190 -0
  54. package/lib/core/ui/components/selecttable/renderCol.vue.d.ts +21 -0
  55. package/lib/core/ui/components/selecttable/style/css.d.ts +1 -0
  56. package/lib/core/ui/components/selecttable/style/index.d.ts +1 -0
  57. package/lib/core/ui/components/selecttable/type.d.ts +56 -0
  58. package/lib/core/ui/components/selecttable/useVirtualized.d.ts +11 -0
  59. package/lib/index.js +5 -0
  60. package/lib/packages/core/index.js +5 -0
  61. package/lib/packages/core/ui/components/index.js +22 -0
  62. package/lib/packages/core/ui/components/querycondition/index.vue.js +9 -0
  63. package/lib/packages/core/ui/components/querycondition/index.vue2.js +525 -0
  64. package/lib/packages/core/ui/components/querycondition/moreChoose.vue.js +9 -0
  65. package/lib/packages/core/ui/components/querycondition/moreChoose.vue2.js +241 -0
  66. package/lib/packages/core/ui/components/querycondition/renderComp.vue.js +9 -0
  67. package/lib/packages/core/ui/components/querycondition/renderComp.vue2.js +27 -0
  68. package/lib/packages/core/ui/components/querycondition/style/css.js +4 -0
  69. package/lib/packages/core/ui/components/querycondition/style/index.js +4 -0
  70. package/lib/packages/core/ui/components/querycondition/type.js +2 -0
  71. package/lib/packages/core/ui/components/querycondition/useComputed.js +106 -0
  72. package/lib/packages/core/ui/components/selecttable/ClickOutside.js +73 -0
  73. package/lib/packages/core/ui/components/selecttable/index.vue.js +9 -0
  74. package/lib/packages/core/ui/components/selecttable/index.vue2.js +820 -0
  75. package/lib/packages/core/ui/components/selecttable/renderCol.vue.js +9 -0
  76. package/lib/packages/core/ui/components/selecttable/renderCol.vue2.js +32 -0
  77. package/lib/packages/core/ui/components/selecttable/style/css.js +4 -0
  78. package/lib/packages/core/ui/components/selecttable/style/index.js +4 -0
  79. package/lib/packages/core/ui/components/selecttable/type.js +2 -0
  80. package/lib/packages/core/ui/components/selecttable/useVirtualized.js +69 -0
  81. package/package.json +1 -1
  82. package/theme-chalk/src/query-condition.scss +118 -0
  83. package/theme-chalk/src/select-table.scss +71 -0
  84. package/theme-chalk/t-query-condition.css +1 -0
  85. package/theme-chalk/t-select-table.css +1 -0
@@ -0,0 +1,88 @@
1
+ import { TQueryConditionProps } from './type';
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): any;
4
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
+ declare const __VLS_component: DefineComponent<TQueryConditionProps, {
6
+ queryState: {
7
+ form: any;
8
+ };
9
+ props: Readonly<{}> & {
10
+ readonly opts: Record<string, any>;
11
+ readonly labelWidth: string;
12
+ readonly btnCheckBind: Record<string, any>;
13
+ readonly btnResetBind: Record<string, any>;
14
+ readonly loading: boolean;
15
+ readonly reset: boolean;
16
+ readonly boolEnter: boolean;
17
+ readonly isShowOpen: boolean;
18
+ readonly isExpansion: boolean;
19
+ readonly maxVisibleRows: number;
20
+ readonly packUpTxt: string;
21
+ readonly unfoldTxt: string;
22
+ readonly isFooter: boolean;
23
+ readonly configChangedReset: boolean;
24
+ readonly isShowWidthSize: boolean;
25
+ readonly widthSize: number;
26
+ readonly isDropDownSelectMore: boolean;
27
+ readonly moreCheckList: any[];
28
+ readonly popoverAttrs: Record<string, any>;
29
+ } & {
30
+ readonly reset: boolean;
31
+ readonly loading: boolean;
32
+ readonly boolEnter: boolean;
33
+ readonly isShowOpen: boolean;
34
+ readonly isExpansion: boolean;
35
+ readonly isFooter: boolean;
36
+ readonly configChangedReset: boolean;
37
+ readonly isShowWidthSize: boolean;
38
+ readonly isDropDownSelectMore: boolean;
39
+ };
40
+ colLength: Ref<number, number>;
41
+ resetData: () => void;
42
+ resetHandle: () => void;
43
+ checkHandle: (flagText?: any) => void;
44
+ handleEvent: ({ isChange, type, val }: {
45
+ isChange?: boolean;
46
+ type: string;
47
+ val: any;
48
+ }, dataIndex?: string) => void;
49
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
+ reset: (...args: any[]) => void;
51
+ submit: (...args: any[]) => void;
52
+ getCheckList: (...args: any[]) => void;
53
+ handleEvent: (...args: any[]) => void;
54
+ getRefs: (...args: any[]) => void;
55
+ }, string, PublicProps, Readonly<TQueryConditionProps> & Readonly<{
56
+ onReset?: ((...args: any[]) => any) | undefined;
57
+ onSubmit?: ((...args: any[]) => any) | undefined;
58
+ onGetCheckList?: ((...args: any[]) => any) | undefined;
59
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
60
+ onGetRefs?: ((...args: any[]) => any) | undefined;
61
+ }>, {
62
+ reset: boolean;
63
+ loading: boolean;
64
+ moreCheckList: any[];
65
+ opts: Record<string, any>;
66
+ labelWidth: string;
67
+ btnCheckBind: Record<string, any>;
68
+ btnResetBind: Record<string, any>;
69
+ boolEnter: boolean;
70
+ isShowOpen: boolean;
71
+ isExpansion: boolean;
72
+ maxVisibleRows: number;
73
+ packUpTxt: string;
74
+ unfoldTxt: string;
75
+ isFooter: boolean;
76
+ configChangedReset: boolean;
77
+ isShowWidthSize: boolean;
78
+ widthSize: number;
79
+ isDropDownSelectMore: boolean;
80
+ popoverAttrs: Record<string, any>;
81
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
82
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
83
+ export default _default;
84
+ type __VLS_WithTemplateSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
@@ -0,0 +1,30 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ moreCheckList: {
4
+ type: ArrayConstructor;
5
+ default: () => never[];
6
+ };
7
+ popoverAttrsBind: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
+ getCheckList: (...args: any[]) => void;
13
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
14
+ moreCheckList: {
15
+ type: ArrayConstructor;
16
+ default: () => never[];
17
+ };
18
+ popoverAttrsBind: {
19
+ type: ObjectConstructor;
20
+ default: () => {};
21
+ };
22
+ }>> & Readonly<{
23
+ onGetCheckList?: ((...args: any[]) => any) | undefined;
24
+ }>, {
25
+ moreCheckList: unknown[];
26
+ popoverAttrsBind: Record<string, any>;
27
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
28
+ popover: unknown;
29
+ }, any>;
30
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ render: FunctionConstructor;
4
+ form: ObjectConstructor;
5
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
6
+ render: FunctionConstructor;
7
+ form: ObjectConstructor;
8
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
@@ -0,0 +1 @@
1
+ import "fm-dev/theme-chalk/query-condition.css";
@@ -0,0 +1 @@
1
+ import "fm-dev/theme-chalk/src/query-condition.scss";
@@ -0,0 +1,21 @@
1
+ export interface TQueryConditionProps {
2
+ opts?: Record<string, any>;
3
+ labelWidth?: string;
4
+ btnCheckBind?: Record<string, any>;
5
+ btnResetBind?: Record<string, any>;
6
+ loading?: boolean;
7
+ reset?: boolean;
8
+ boolEnter?: boolean;
9
+ isShowOpen?: boolean;
10
+ isExpansion?: boolean;
11
+ maxVisibleRows?: number;
12
+ packUpTxt?: string;
13
+ unfoldTxt?: string;
14
+ isFooter?: boolean;
15
+ configChangedReset?: boolean;
16
+ isShowWidthSize?: boolean;
17
+ widthSize?: number;
18
+ isDropDownSelectMore?: boolean;
19
+ moreCheckList?: any[];
20
+ popoverAttrs?: Record<string, any>;
21
+ }
@@ -0,0 +1,28 @@
1
+ import { ComputedRef } from 'vue';
2
+ export declare function useComputed(): {
3
+ compChildName: ComputedRef<(opt: any) => "el-checkbox" | "el-option" | "el-radio" | undefined>;
4
+ selectListType: ComputedRef<(opt: any) => any>;
5
+ compChildLabel: ComputedRef<(opt: {
6
+ type: any;
7
+ arrLabel: any;
8
+ }, value: {
9
+ [x: string]: any;
10
+ value: any;
11
+ }) => any>;
12
+ compChildValue: ComputedRef<(opt: {
13
+ type: any;
14
+ arrKey: any;
15
+ }, value: {
16
+ [x: string]: any;
17
+ value: any;
18
+ }, key: any) => any>;
19
+ compChildShowLabel: ComputedRef<(opt: {
20
+ type: any;
21
+ arrLabel: any;
22
+ }, value: {
23
+ [x: string]: any;
24
+ label: any;
25
+ }) => any>;
26
+ getPlaceholder: (row: any) => any;
27
+ getColLength: () => number;
28
+ };
@@ -0,0 +1,3 @@
1
+ import { ObjectDirective } from 'vue';
2
+ declare const ClickOutside: ObjectDirective;
3
+ export default ClickOutside;
@@ -0,0 +1,190 @@
1
+ import { TSelectTableProps } from './type';
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export type Emits = {
4
+ (event: "page-change", val: any): void;
5
+ (event: "selectionChange", val: any[], ids: any[]): void;
6
+ (event: "radioChange", row: any, value: any): void;
7
+ (event: "update:inputValue", val: string): void;
8
+ (event: "input-focus"): void;
9
+ (event: "input-blur"): void;
10
+ (event: "input-clear"): void;
11
+ (event: "input-click"): void;
12
+ };
13
+ declare function __VLS_template(): any;
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: DefineComponent<TSelectTableProps, {
16
+ focus: () => void;
17
+ blur: () => void;
18
+ clear: () => void;
19
+ props: Readonly<{
20
+ value: any;
21
+ }> & {
22
+ readonly modelValue: any;
23
+ readonly inputValue: any;
24
+ readonly defaultSelectVal: any[];
25
+ readonly radioSelectValLabel: string;
26
+ readonly table: {
27
+ [key: string]: any;
28
+ data: any[];
29
+ currentPage: number;
30
+ pageSize: number;
31
+ total: number;
32
+ };
33
+ readonly keywords: {
34
+ value: any;
35
+ label: string;
36
+ };
37
+ readonly columns: any[];
38
+ readonly multiple: boolean;
39
+ readonly filterable: boolean;
40
+ readonly remote: boolean;
41
+ readonly remoteMethod: Function | undefined;
42
+ readonly filterMethod: Function | undefined;
43
+ readonly isShowInput: boolean;
44
+ readonly inputAttr: Record<string, any>;
45
+ readonly inputWidth: number;
46
+ readonly selectWidth: number;
47
+ readonly tableWidth: number;
48
+ readonly isShowQuery: boolean;
49
+ readonly isShowBlurBtn: boolean;
50
+ readonly btnBind: Record<string, any>;
51
+ readonly align: "left" | "right" | "center";
52
+ readonly reserveSelection: boolean;
53
+ readonly selectable: Function | undefined;
54
+ readonly multipleFixed: string | boolean;
55
+ readonly radioTxt: string;
56
+ readonly radioFixed: string | boolean;
57
+ readonly tableSize: "" | "default" | "small" | "large";
58
+ readonly border: boolean;
59
+ readonly isShowFirstColumn: boolean;
60
+ readonly useVirtual: boolean;
61
+ readonly virtualShowSize: number;
62
+ readonly isShowPagination: boolean;
63
+ readonly paginationSize: "" | "default" | "small" | "large";
64
+ readonly selfExpanded: boolean;
65
+ readonly isClearQuery: boolean;
66
+ readonly isRadioEchoLabel: boolean;
67
+ readonly defaultValIsOpenRadioChange: boolean;
68
+ readonly radioSameIsCancel: boolean;
69
+ readonly rowClickRadio: boolean;
70
+ readonly isKeyup: boolean;
71
+ readonly isExpanded: boolean;
72
+ readonly multipleDisableDelete: boolean;
73
+ readonly tableLoading: boolean;
74
+ readonly loadingTxt: string;
75
+ } & {
76
+ readonly modelValue: boolean | undefined;
77
+ readonly value: boolean;
78
+ readonly border: boolean;
79
+ readonly inputValue: boolean | undefined;
80
+ readonly multiple: boolean;
81
+ readonly filterable: boolean;
82
+ readonly remote: boolean;
83
+ readonly isShowInput: boolean;
84
+ readonly isShowQuery: boolean;
85
+ readonly isShowBlurBtn: boolean;
86
+ readonly reserveSelection: boolean;
87
+ readonly isShowFirstColumn: boolean;
88
+ readonly useVirtual: boolean;
89
+ readonly isShowPagination: boolean;
90
+ readonly selfExpanded: boolean;
91
+ readonly isClearQuery: boolean;
92
+ readonly isRadioEchoLabel: boolean;
93
+ readonly defaultValIsOpenRadioChange: boolean;
94
+ readonly radioSameIsCancel: boolean;
95
+ readonly rowClickRadio: boolean;
96
+ readonly isKeyup: boolean;
97
+ readonly isExpanded: boolean;
98
+ readonly multipleDisableDelete: boolean;
99
+ readonly tableLoading: boolean;
100
+ };
101
+ state: {
102
+ defaultSelectValue: any[];
103
+ tableData: any[];
104
+ defaultValue: any;
105
+ ids: any[];
106
+ tabularMap: any;
107
+ };
108
+ tQueryConditionRef: Ref<any, any>;
109
+ selectRef: Ref<any, any>;
110
+ selectTable: Ref<any, any>;
111
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
112
+ "page-change": (val: any) => any;
113
+ selectionChange: (val: any[], ids: any[]) => any;
114
+ radioChange: (row: any, value: any) => any;
115
+ "update:inputValue": (val: string) => any;
116
+ "input-focus": () => any;
117
+ "input-blur": () => any;
118
+ "input-clear": () => any;
119
+ "input-click": () => any;
120
+ }, string, PublicProps, Readonly<TSelectTableProps> & Readonly<{
121
+ "onPage-change"?: ((val: any) => any) | undefined;
122
+ onSelectionChange?: ((val: any[], ids: any[]) => any) | undefined;
123
+ onRadioChange?: ((row: any, value: any) => any) | undefined;
124
+ "onUpdate:inputValue"?: ((val: string) => any) | undefined;
125
+ "onInput-focus"?: (() => any) | undefined;
126
+ "onInput-blur"?: (() => any) | undefined;
127
+ "onInput-clear"?: (() => any) | undefined;
128
+ "onInput-click"?: (() => any) | undefined;
129
+ }>, {
130
+ table: {
131
+ data: any[];
132
+ currentPage: number;
133
+ pageSize: number;
134
+ total: number;
135
+ [key: string]: any;
136
+ };
137
+ modelValue: any;
138
+ inputWidth: number;
139
+ border: boolean;
140
+ inputValue: any;
141
+ defaultSelectVal: any[];
142
+ radioSelectValLabel: string;
143
+ keywords: {
144
+ value: any;
145
+ label: string;
146
+ };
147
+ columns: any[];
148
+ multiple: boolean;
149
+ filterable: boolean;
150
+ remote: boolean;
151
+ remoteMethod: Function;
152
+ filterMethod: Function;
153
+ isShowInput: boolean;
154
+ inputAttr: Record<string, any>;
155
+ selectWidth: number;
156
+ tableWidth: number;
157
+ isShowQuery: boolean;
158
+ isShowBlurBtn: boolean;
159
+ btnBind: Record<string, any>;
160
+ align: "left" | "center" | "right";
161
+ reserveSelection: boolean;
162
+ selectable: Function;
163
+ multipleFixed: string | boolean;
164
+ radioTxt: string;
165
+ radioFixed: string | boolean;
166
+ tableSize: "" | "large" | "default" | "small";
167
+ isShowFirstColumn: boolean;
168
+ useVirtual: boolean;
169
+ virtualShowSize: number;
170
+ isShowPagination: boolean;
171
+ paginationSize: "" | "large" | "default" | "small";
172
+ selfExpanded: boolean;
173
+ isClearQuery: boolean;
174
+ isRadioEchoLabel: boolean;
175
+ defaultValIsOpenRadioChange: boolean;
176
+ radioSameIsCancel: boolean;
177
+ rowClickRadio: boolean;
178
+ isKeyup: boolean;
179
+ isExpanded: boolean;
180
+ multipleDisableDelete: boolean;
181
+ tableLoading: boolean;
182
+ loadingTxt: string;
183
+ }, {}, {}, {}, string, ComponentProvideOptions, false, any, any>;
184
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
185
+ export default _default;
186
+ type __VLS_WithTemplateSlots<T, S> = T & {
187
+ new (): {
188
+ $slots: S;
189
+ };
190
+ };
@@ -0,0 +1,21 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ row: ObjectConstructor;
4
+ render: FunctionConstructor;
5
+ index: NumberConstructor;
6
+ column: {
7
+ type: ObjectConstructor;
8
+ default: null;
9
+ };
10
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
11
+ row: ObjectConstructor;
12
+ render: FunctionConstructor;
13
+ index: NumberConstructor;
14
+ column: {
15
+ type: ObjectConstructor;
16
+ default: null;
17
+ };
18
+ }>> & Readonly<{}>, {
19
+ column: Record<string, any>;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
21
+ export default _default;
@@ -0,0 +1 @@
1
+ import "fm-dev/theme-chalk/t-select-table.css";
@@ -0,0 +1 @@
1
+ import "fm-dev/theme-chalk/src/select-table.scss";
@@ -0,0 +1,56 @@
1
+ export interface TSelectTableProps {
2
+ modelValue?: any;
3
+ inputValue?: any;
4
+ defaultSelectVal?: any[];
5
+ radioSelectValLabel?: string;
6
+ table: {
7
+ data: any[];
8
+ currentPage: number;
9
+ pageSize: number;
10
+ total: number;
11
+ [key: string]: any;
12
+ };
13
+ keywords?: {
14
+ value: any;
15
+ label: string;
16
+ };
17
+ value?: any;
18
+ columns: any[];
19
+ multiple?: boolean;
20
+ filterable?: boolean;
21
+ remote?: boolean;
22
+ remoteMethod?: Function;
23
+ filterMethod?: Function;
24
+ isShowInput?: boolean;
25
+ inputAttr?: Record<string, any>;
26
+ inputWidth?: number;
27
+ selectWidth?: number;
28
+ tableWidth?: number;
29
+ isShowQuery?: boolean;
30
+ isShowBlurBtn?: boolean;
31
+ btnBind?: Record<string, any>;
32
+ align?: "left" | "center" | "right";
33
+ reserveSelection?: boolean;
34
+ selectable?: Function;
35
+ multipleFixed?: string | boolean;
36
+ radioTxt?: string;
37
+ radioFixed?: string | boolean;
38
+ tableSize?: "" | "large" | "default" | "small";
39
+ border?: boolean;
40
+ isShowFirstColumn?: boolean;
41
+ useVirtual?: boolean;
42
+ virtualShowSize?: number;
43
+ isShowPagination?: boolean;
44
+ paginationSize?: "" | "large" | "default" | "small";
45
+ selfExpanded?: boolean;
46
+ isClearQuery?: boolean;
47
+ isRadioEchoLabel?: boolean;
48
+ defaultValIsOpenRadioChange?: boolean;
49
+ radioSameIsCancel?: boolean;
50
+ rowClickRadio?: boolean;
51
+ isKeyup?: boolean;
52
+ isExpanded?: boolean;
53
+ multipleDisableDelete?: boolean;
54
+ tableLoading?: boolean;
55
+ loadingTxt?: string;
56
+ }
@@ -0,0 +1,11 @@
1
+ import { Ref } from 'vue';
2
+ export declare function useVirtualized(): {
3
+ scrollContainerEl: Ref<any, any>;
4
+ updateRenderedItemCache: (index: number) => void;
5
+ updateOffset: (offset: number) => void;
6
+ getDom: (props: {
7
+ multiple: boolean;
8
+ }) => void;
9
+ getItemHeightFromCache: (index: number | string) => any;
10
+ saveDATA: Ref<any[], any[]>;
11
+ };
package/es/index.mjs CHANGED
@@ -3,7 +3,7 @@ export { default as emitter } from './packages/core/utils/emit/index.mjs';
3
3
  export { default as setIntroduction } from './packages/core/utils/comm/setIconfont.mjs';
4
4
  import './packages/core/index.mjs';
5
5
  export { version } from './version.mjs';
6
- export { FmAutocomplete, FmDragImg, FmNoticeBar, FmTransfer, FmTree, Fmdatepicker, Fminputdropdown, Fmselect } from './packages/core/ui/components/index.mjs';
6
+ export { FmAutocomplete, FmDragImg, FmMoreChoose, FmNoticeBar, FmQueryCondition, FmRenderCol, FmRenderComp, FmSelectTable, FmTransfer, FmTree, Fmdatepicker, Fminputdropdown, Fmselect } from './packages/core/ui/components/index.mjs';
7
7
  export { elSvg } from './packages/core/ui/components/svgIcon/index.mjs';
8
8
  export { FmLogin } from './packages/core/ui/login/index.mjs';
9
9
  export { NextLoading } from './packages/core/ui/loading/index.mjs';
@@ -1,4 +1,4 @@
1
- export { FmAutocomplete, FmDragImg, FmNoticeBar, FmTransfer, FmTree, Fmdatepicker, Fminputdropdown, Fmselect } from './ui/components/index.mjs';
1
+ export { FmAutocomplete, FmDragImg, FmMoreChoose, FmNoticeBar, FmQueryCondition, FmRenderCol, FmRenderComp, FmSelectTable, FmTransfer, FmTree, Fmdatepicker, Fminputdropdown, Fmselect } from './ui/components/index.mjs';
2
2
  export { FmLogin } from './ui/login/index.mjs';
3
3
  export { NextLoading } from './ui/loading/index.mjs';
4
4
  export { AccountTypeEnum, HttpMethodEnum, JobCreateTypeEnum } from './api/index.mjs';
@@ -6,6 +6,13 @@ import './fmautocomplete/index.vue.mjs';
6
6
  import './inputdropdown/index.vue.mjs';
7
7
  import './fmtree/index.vue.mjs';
8
8
  import './datepicker/index.vue.mjs';
9
+ import './querycondition/index.vue.mjs';
10
+ import './querycondition/moreChoose.vue.mjs';
11
+ import './querycondition/renderComp.vue.mjs';
12
+ import './selecttable/index.vue.mjs';
13
+ import './selecttable/renderCol.vue.mjs';
14
+ import './selecttable/type.mjs';
15
+ import './selecttable/ClickOutside.mjs';
9
16
  export { elSvg } from './svgIcon/index.mjs';
10
17
  import _sfc_main from './transfer/index.vue2.mjs';
11
18
  import _sfc_main$1 from './noticeBar/index.vue2.mjs';
@@ -14,6 +21,11 @@ import _sfc_main$3 from './fmautocomplete/index.vue2.mjs';
14
21
  import _sfc_main$4 from './inputdropdown/index.vue2.mjs';
15
22
  import _sfc_main$5 from './datepicker/index.vue2.mjs';
16
23
  import _sfc_main$6 from './fmtree/index.vue2.mjs';
24
+ import _sfc_main$7 from './querycondition/index.vue2.mjs';
25
+ import _sfc_main$8 from './querycondition/moreChoose.vue2.mjs';
26
+ import _sfc_main$9 from './querycondition/renderComp.vue2.mjs';
27
+ import _sfc_main$a from './selecttable/index.vue2.mjs';
28
+ import _sfc_main$b from './selecttable/renderCol.vue2.mjs';
17
29
 
18
30
  const FmTransfer = _sfc_main;
19
31
  const FmNoticeBar = _sfc_main$1;
@@ -23,5 +35,10 @@ const FmAutocomplete = _sfc_main$3;
23
35
  const Fminputdropdown = _sfc_main$4;
24
36
  const Fmdatepicker = _sfc_main$5;
25
37
  const FmTree = _sfc_main$6;
38
+ const FmQueryCondition = _sfc_main$7;
39
+ const FmMoreChoose = _sfc_main$8;
40
+ const FmRenderComp = _sfc_main$9;
41
+ const FmSelectTable = _sfc_main$a;
42
+ const FmRenderCol = _sfc_main$b;
26
43
 
27
- export { FmAutocomplete, FmDragImg, FmNoticeBar, FmTransfer, FmTree, Fmdatepicker, Fminputdropdown, Fmselect };
44
+ export { FmAutocomplete, FmDragImg, FmMoreChoose, FmNoticeBar, FmQueryCondition, FmRenderCol, FmRenderComp, FmSelectTable, FmTransfer, FmTree, Fmdatepicker, Fminputdropdown, Fmselect };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './index.vue2.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };