@hoenergy/hoenergy-template-pc 1.1.32 → 1.1.34
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/dist/components/data/table/FormaxTable/index.d.ts +2 -0
- package/dist/components/data/table/FormaxTable/src/components/TableAction.vue.d.ts +57 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +18 -18
- package/dist/index.mjs +2293 -2141
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/data/table/FormaxTable/index.ts +2 -1
- package/src/components/data/table/FormaxTable/preview.vue +54 -1
- package/src/index.ts +3 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { default as BasicTable } from './src/Table.vue';
|
|
2
|
+
import { default as TableAction } from './src/components/TableAction.vue';
|
|
2
3
|
import { FormaxComponent } from '../../../../types';
|
|
3
4
|
export { BasicTable };
|
|
4
5
|
export * from './src/types/table';
|
|
5
6
|
export * from './src/types/tableAction';
|
|
7
|
+
export { TableAction };
|
|
6
8
|
export declare const FormaxTableComponent: FormaxComponent;
|
|
7
9
|
export default FormaxTableComponent;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ActionItem } from '../../types/tableAction';
|
|
3
|
+
import { $at } from 'i18n-auto-extractor';
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
actions: {
|
|
6
|
+
type: PropType<ActionItem[]>;
|
|
7
|
+
default: null;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
dropDownActions: {
|
|
11
|
+
type: PropType<ActionItem[]>;
|
|
12
|
+
default: null;
|
|
13
|
+
};
|
|
14
|
+
style: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
select: {
|
|
19
|
+
type: PropType<Function>;
|
|
20
|
+
default: () => void;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
getActions: import('vue').ComputedRef<any[]>;
|
|
24
|
+
getDropdownList: import('vue').ComputedRef<any[]>;
|
|
25
|
+
getMoreProps: import('vue').ComputedRef<{
|
|
26
|
+
text: boolean | undefined;
|
|
27
|
+
type: string;
|
|
28
|
+
size: string;
|
|
29
|
+
}>;
|
|
30
|
+
$at: typeof $at;
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
actions: {
|
|
33
|
+
type: PropType<ActionItem[]>;
|
|
34
|
+
default: null;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
dropDownActions: {
|
|
38
|
+
type: PropType<ActionItem[]>;
|
|
39
|
+
default: null;
|
|
40
|
+
};
|
|
41
|
+
style: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
select: {
|
|
46
|
+
type: PropType<Function>;
|
|
47
|
+
default: () => void;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
style: string;
|
|
51
|
+
select: Function;
|
|
52
|
+
actions: ActionItem[];
|
|
53
|
+
dropDownActions: ActionItem[];
|
|
54
|
+
}, {}, {
|
|
55
|
+
FormaxIcon: any;
|
|
56
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormaxModalComponent as FormaxModal, useModal } from './components/general/modal/FormaxModal';
|
|
2
|
-
import { FormaxTableComponent as FormaxTable } from './components/data/table/FormaxTable';
|
|
2
|
+
import { FormaxTableComponent as FormaxTable, TableAction } from './components/data/table/FormaxTable';
|
|
3
3
|
import { FormaxFormComponent as FormaxForm, useForm } from './components/data/form/searchForm';
|
|
4
4
|
import { FormaxIconComponent as FormaxIcon } from './components/general/icon/FormaxIcon';
|
|
5
5
|
import { FormaxChartComponent as FormaxChart } from './components/charts/chart/FormaxChart';
|
|
@@ -124,7 +124,7 @@ export interface FormaxUIInstallOptions {
|
|
|
124
124
|
}
|
|
125
125
|
export declare function install(app: any, options?: FormaxUIInstallOptions): void;
|
|
126
126
|
export declare const componentList: ComponentMeta[];
|
|
127
|
-
export { FormaxModal, FormaxTable, FormaxForm, FormaxIcon, FormaxChart, FormaxChartCard, FormaxEleTimePicker, FormaxModalTableSelect, FormaxModalSearchTable, FormaxConfigProvider, FormaxCalendar, FormaxIconSelect, FormaxTitle, FormaxLoading, formaxLoadingDirective, configureFormaxLoadingDirective, FormaxInfoCard, useForm, useModalTableSelect, useModalSearchTable, useModal, };
|
|
127
|
+
export { FormaxModal, FormaxTable, TableAction, FormaxForm, FormaxIcon, FormaxChart, FormaxChartCard, FormaxEleTimePicker, FormaxModalTableSelect, FormaxModalSearchTable, FormaxConfigProvider, FormaxCalendar, FormaxIconSelect, FormaxTitle, FormaxLoading, formaxLoadingDirective, configureFormaxLoadingDirective, FormaxInfoCard, useForm, useModalTableSelect, useModalSearchTable, useModal, };
|
|
128
128
|
export * from './types';
|
|
129
129
|
export declare const componentGoList: any[];
|
|
130
130
|
export * from './hook/useTheme.hook';
|