hfn-components 0.0.4 → 0.0.6

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 (53) hide show
  1. package/es/component.d.ts +3 -0
  2. package/es/component.mjs +9 -0
  3. package/{dist/es/packages → es}/components/button/HtButton.vue.d.ts +0 -7
  4. package/es/components/button/HtButton.vue.mjs +16 -0
  5. package/{dist/es/packages → es}/components/button/HtButton.vue2.mjs +6 -11
  6. package/{dist/es/packages → es}/components/button/index.d.ts +3 -9
  7. package/{dist/es/packages → es}/components/button/index.mjs +2 -2
  8. package/es/components/button/instance.d.ts +2 -0
  9. package/es/components/button/instance.mjs +1 -0
  10. package/es/components/index.d.ts +1 -0
  11. package/es/components/index.mjs +2 -0
  12. package/es/components/table/HtTable.d.ts +142 -0
  13. package/es/components/table/HtTable.mjs +136 -0
  14. package/es/components/table/HtTable.vue.d.ts +1847 -0
  15. package/es/components/table/HtTable.vue.mjs +443 -0
  16. package/es/components/table/HtTable.vue2.mjs +128 -0
  17. package/es/components/table/index.d.ts +1845 -0
  18. package/{dist/es/packages → es}/components/table/index.mjs +2 -1
  19. package/es/constants/index.d.ts +1 -0
  20. package/es/constants/index.mjs +1 -0
  21. package/es/constants/key.d.ts +1 -0
  22. package/es/constants/key.mjs +3 -0
  23. package/es/defaults.d.ts +4 -0
  24. package/es/defaults.mjs +7 -0
  25. package/es/index.d.ts +5 -0
  26. package/es/index.mjs +8 -0
  27. package/es/make-installer.d.ts +4 -0
  28. package/es/make-installer.mjs +14 -0
  29. package/es/plugin.d.ts +2 -0
  30. package/es/plugin.mjs +3 -0
  31. package/{dist/es/packages → es}/utils/common.d.ts +1 -1
  32. package/es/utils/index.d.ts +3 -0
  33. package/es/utils/index.mjs +3 -0
  34. package/es/utils/table.d.ts +2 -0
  35. package/es/utils/table.mjs +31 -0
  36. package/es/utils/tool.d.ts +2 -0
  37. package/es/utils/tool.mjs +42 -0
  38. package/global.d.ts +15 -0
  39. package/package.json +5 -10
  40. package/README.en.md +0 -36
  41. package/README.md +0 -4
  42. package/dist/es/node_modules/.pnpm/ant-design-vue@3.2.20_vue@3.4.21_typescript@5.3.3_/node_modules/ant-design-vue/dist/antd.css.mjs +0 -6
  43. package/dist/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +0 -28
  44. package/dist/es/packages/components/button/HtButton.vue.mjs +0 -6
  45. package/dist/es/packages/components/index.d.ts +0 -6
  46. package/dist/es/packages/components/index.mjs +0 -12
  47. package/dist/es/packages/components/table/HtTable.vue.d.ts +0 -280
  48. package/dist/es/packages/components/table/HtTable.vue.mjs +0 -6
  49. package/dist/es/packages/components/table/HtTable.vue2.mjs +0 -110
  50. package/dist/es/packages/components/table/index.d.ts +0 -278
  51. package/dist/es/packages/utils/index.d.ts +0 -1
  52. /package/{dist/es → es}/_virtual/_plugin-vue_export-helper.mjs +0 -0
  53. /package/{dist/es/packages → es}/utils/common.mjs +0 -0
@@ -1,278 +0,0 @@
1
- declare const HtTable: import("packages/utils/common").SFCWithInstall<import("vue").DefineComponent<{}, {
2
- columns: {
3
- title?: string | undefined;
4
- name?: string | undefined;
5
- dataIndex?: string | undefined;
6
- key: string;
7
- }[];
8
- data: {
9
- key: string;
10
- name: string;
11
- age: number;
12
- address: string;
13
- tags: string[];
14
- }[];
15
- readonly Table: {
16
- new (...args: any[]): {
17
- $: import("vue").ComponentInternalInstance;
18
- $data: {};
19
- $props: Partial<{}> & Omit<Readonly<import("ant-design-vue").TableProps<any>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
20
- $attrs: {
21
- [x: string]: unknown;
22
- };
23
- $refs: {
24
- [x: string]: unknown;
25
- };
26
- $slots: Readonly<{
27
- [name: string]: import("vue").Slot<any>;
28
- }>;
29
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
30
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
31
- $emit: (event: string, ...args: any[]) => void;
32
- $el: any;
33
- $options: import("vue").ComponentOptionsBase<Readonly<import("ant-design-vue").TableProps<any>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
34
- beforeCreate?: (() => void) | (() => void)[] | undefined;
35
- created?: (() => void) | (() => void)[] | undefined;
36
- beforeMount?: (() => void) | (() => void)[] | undefined;
37
- mounted?: (() => void) | (() => void)[] | undefined;
38
- beforeUpdate?: (() => void) | (() => void)[] | undefined;
39
- updated?: (() => void) | (() => void)[] | undefined;
40
- activated?: (() => void) | (() => void)[] | undefined;
41
- deactivated?: (() => void) | (() => void)[] | undefined;
42
- beforeDestroy?: (() => void) | (() => void)[] | undefined;
43
- beforeUnmount?: (() => void) | (() => void)[] | undefined;
44
- destroyed?: (() => void) | (() => void)[] | undefined;
45
- unmounted?: (() => void) | (() => void)[] | undefined;
46
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
47
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
48
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[] | undefined;
49
- };
50
- $forceUpdate: () => void;
51
- $nextTick: typeof import("vue").nextTick;
52
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
53
- } & Readonly<import("ant-design-vue").TableProps<any>> & import("vue").ShallowUnwrapRef<{}> & import("vue").ComponentCustomProperties;
54
- __isFragment?: undefined;
55
- __isTeleport?: undefined;
56
- __isSuspense?: undefined;
57
- } & import("vue").ComponentOptionsBase<Readonly<import("ant-design-vue").TableProps<any>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
58
- SELECTION_ALL: "SELECT_ALL";
59
- SELECTION_INVERT: "SELECT_INVERT";
60
- SELECTION_NONE: "SELECT_NONE";
61
- SELECTION_COLUMN: {};
62
- EXPAND_COLUMN: {};
63
- Column: import("vue").DefineComponent<import("ant-design-vue").TableColumnProps<unknown>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("ant-design-vue").TableColumnProps<unknown>>, {
64
- __originColumn__?: any;
65
- }, {}>;
66
- ColumnGroup: import("vue").DefineComponent<import("ant-design-vue/lib/vc-table/sugar/ColumnGroup").ColumnGroupProps<any>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("ant-design-vue/lib/vc-table/sugar/ColumnGroup").ColumnGroupProps<any>>, {
67
- title?: any;
68
- __originColumn__?: any;
69
- }, {}>;
70
- Summary: {
71
- new (...args: any[]): {
72
- $: import("vue").ComponentInternalInstance;
73
- $data: {};
74
- $props: Partial<{}> & Omit<Readonly<import("ant-design-vue/lib/vc-table/Footer/Summary").SummaryProps> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
75
- $attrs: {
76
- [x: string]: unknown;
77
- };
78
- $refs: {
79
- [x: string]: unknown;
80
- };
81
- $slots: Readonly<{
82
- [name: string]: import("vue").Slot<any>;
83
- }>;
84
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
85
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
86
- $emit: (event: string, ...args: any[]) => void;
87
- $el: any;
88
- $options: import("vue").ComponentOptionsBase<Readonly<import("ant-design-vue/lib/vc-table/Footer/Summary").SummaryProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
89
- beforeCreate?: (() => void) | (() => void)[] | undefined;
90
- created?: (() => void) | (() => void)[] | undefined;
91
- beforeMount?: (() => void) | (() => void)[] | undefined;
92
- mounted?: (() => void) | (() => void)[] | undefined;
93
- beforeUpdate?: (() => void) | (() => void)[] | undefined;
94
- updated?: (() => void) | (() => void)[] | undefined;
95
- activated?: (() => void) | (() => void)[] | undefined;
96
- deactivated?: (() => void) | (() => void)[] | undefined;
97
- beforeDestroy?: (() => void) | (() => void)[] | undefined;
98
- beforeUnmount?: (() => void) | (() => void)[] | undefined;
99
- destroyed?: (() => void) | (() => void)[] | undefined;
100
- unmounted?: (() => void) | (() => void)[] | undefined;
101
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
102
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
103
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[] | undefined;
104
- };
105
- $forceUpdate: () => void;
106
- $nextTick: typeof import("vue").nextTick;
107
- $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R_1 ? (args_0: R_1, args_1: R_1) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
108
- } & Readonly<import("ant-design-vue/lib/vc-table/Footer/Summary").SummaryProps> & import("vue").ShallowUnwrapRef<{}> & import("vue").ComponentCustomProperties;
109
- __isFragment?: undefined;
110
- __isTeleport?: undefined;
111
- __isSuspense?: undefined;
112
- } & import("vue").ComponentOptionsBase<Readonly<import("ant-design-vue/lib/vc-table/Footer/Summary").SummaryProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
113
- Cell: import("vue").DefineComponent<import("ant-design-vue/lib/vc-table/Footer/Cell").SummaryCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("ant-design-vue/lib/vc-table/Footer/Cell").SummaryCellProps>, {}, {}>;
114
- Row: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
115
- name: string;
116
- };
117
- install: (app: import("vue").App<any>) => import("vue").App<any>;
118
- };
119
- readonly Tag: {
120
- new (...args: any[]): {
121
- $: import("vue").ComponentInternalInstance;
122
- $data: {};
123
- $props: Partial<{
124
- visible: boolean;
125
- closable: boolean;
126
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
127
- prefixCls: StringConstructor;
128
- color: {
129
- type: import("vue").PropType<string>;
130
- };
131
- closable: {
132
- type: BooleanConstructor;
133
- default: boolean;
134
- };
135
- closeIcon: import("vue-types").VueTypeValidableDef<any>;
136
- visible: {
137
- type: BooleanConstructor;
138
- default: any;
139
- };
140
- onClose: {
141
- type: import("vue").PropType<(e: MouseEvent) => void>;
142
- };
143
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
144
- icon: import("vue-types").VueTypeValidableDef<any>;
145
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "closable" | "visible">;
146
- $attrs: {
147
- [x: string]: unknown;
148
- };
149
- $refs: {
150
- [x: string]: unknown;
151
- };
152
- $slots: Readonly<{
153
- [name: string]: import("vue").Slot<any>;
154
- }>;
155
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
156
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
157
- $emit: (event: string, ...args: any[]) => void;
158
- $el: any;
159
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
160
- prefixCls: StringConstructor;
161
- color: {
162
- type: import("vue").PropType<string>;
163
- };
164
- closable: {
165
- type: BooleanConstructor;
166
- default: boolean;
167
- };
168
- closeIcon: import("vue-types").VueTypeValidableDef<any>;
169
- visible: {
170
- type: BooleanConstructor;
171
- default: any;
172
- };
173
- onClose: {
174
- type: import("vue").PropType<(e: MouseEvent) => void>;
175
- };
176
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
177
- icon: import("vue-types").VueTypeValidableDef<any>;
178
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
179
- visible: boolean;
180
- closable: boolean;
181
- }, {}, string, {}> & {
182
- beforeCreate?: (() => void) | (() => void)[] | undefined;
183
- created?: (() => void) | (() => void)[] | undefined;
184
- beforeMount?: (() => void) | (() => void)[] | undefined;
185
- mounted?: (() => void) | (() => void)[] | undefined;
186
- beforeUpdate?: (() => void) | (() => void)[] | undefined;
187
- updated?: (() => void) | (() => void)[] | undefined;
188
- activated?: (() => void) | (() => void)[] | undefined;
189
- deactivated?: (() => void) | (() => void)[] | undefined;
190
- beforeDestroy?: (() => void) | (() => void)[] | undefined;
191
- beforeUnmount?: (() => void) | (() => void)[] | undefined;
192
- destroyed?: (() => void) | (() => void)[] | undefined;
193
- unmounted?: (() => void) | (() => void)[] | undefined;
194
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
195
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
196
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[] | undefined;
197
- };
198
- $forceUpdate: () => void;
199
- $nextTick: typeof import("vue").nextTick;
200
- $watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R_2 ? (args_0: R_2, args_1: R_2) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
201
- } & Readonly<import("vue").ExtractPropTypes<{
202
- prefixCls: StringConstructor;
203
- color: {
204
- type: import("vue").PropType<string>;
205
- };
206
- closable: {
207
- type: BooleanConstructor;
208
- default: boolean;
209
- };
210
- closeIcon: import("vue-types").VueTypeValidableDef<any>;
211
- visible: {
212
- type: BooleanConstructor;
213
- default: any;
214
- };
215
- onClose: {
216
- type: import("vue").PropType<(e: MouseEvent) => void>;
217
- };
218
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
219
- icon: import("vue-types").VueTypeValidableDef<any>;
220
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
221
- __isFragment?: undefined;
222
- __isTeleport?: undefined;
223
- __isSuspense?: undefined;
224
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
225
- prefixCls: StringConstructor;
226
- color: {
227
- type: import("vue").PropType<string>;
228
- };
229
- closable: {
230
- type: BooleanConstructor;
231
- default: boolean;
232
- };
233
- closeIcon: import("vue-types").VueTypeValidableDef<any>;
234
- visible: {
235
- type: BooleanConstructor;
236
- default: any;
237
- };
238
- onClose: {
239
- type: import("vue").PropType<(e: MouseEvent) => void>;
240
- };
241
- 'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
242
- icon: import("vue-types").VueTypeValidableDef<any>;
243
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
244
- visible: boolean;
245
- closable: boolean;
246
- }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
247
- readonly CheckableTag: import("vue").DefineComponent<{
248
- prefixCls: StringConstructor;
249
- checked: {
250
- type: BooleanConstructor;
251
- default: any;
252
- };
253
- onChange: {
254
- type: import("vue").PropType<(checked: boolean) => void>;
255
- };
256
- onClick: {
257
- type: import("vue").PropType<(e: MouseEvent) => void>;
258
- };
259
- 'onUpdate:checked': import("vue").PropType<(checked: boolean) => void>;
260
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
261
- prefixCls: StringConstructor;
262
- checked: {
263
- type: BooleanConstructor;
264
- default: any;
265
- };
266
- onChange: {
267
- type: import("vue").PropType<(checked: boolean) => void>;
268
- };
269
- onClick: {
270
- type: import("vue").PropType<(e: MouseEvent) => void>;
271
- };
272
- 'onUpdate:checked': import("vue").PropType<(checked: boolean) => void>;
273
- }>>, {
274
- checked: boolean;
275
- }, {}>;
276
- };
277
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>> & Record<string, any>;
278
- export default HtTable;
@@ -1 +0,0 @@
1
- export * from './common';
File without changes