@wx-design/components 0.1.4 → 0.1.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.
- package/es/core/Table/components/CellEditors/Boolean.d.ts +1 -1
- package/es/core/Table/components/CellEditors/Color.d.ts +1 -1
- package/es/core/Table/components/CellEditors/DatePicker.d.ts +1 -1
- package/es/core/Table/components/CellEditors/Image.d.ts +1 -1
- package/es/core/Table/components/CellEditors/Input.d.ts +1 -1
- package/es/core/Table/components/CellEditors/InputNumber.d.ts +1 -1
- package/es/core/Table/components/CellEditors/PopOver.d.ts +1 -0
- package/es/core/Table/components/CellEditors/Select.d.ts +1 -1
- package/es/core/Table/components/CellRender.d.ts +1 -1
- package/es/core/Table/components/Toolbar/index.vue.d.ts +1 -1
- package/es/core/Table/configs/column.d.ts +1 -1
- package/es/core/Table/configs/table.d.ts +1 -1
- package/es/core/Table/constants.d.ts +9 -0
- package/es/core/Table/index.d.ts +1 -1
- package/es/core/Table/index.vue.d.ts +2 -2
- package/es/index.mjs +264 -18450
- package/lib/core/Table/components/CellEditors/Boolean.d.ts +1 -1
- package/lib/core/Table/components/CellEditors/Color.d.ts +1 -1
- package/lib/core/Table/components/CellEditors/DatePicker.d.ts +1 -1
- package/lib/core/Table/components/CellEditors/Image.d.ts +1 -1
- package/lib/core/Table/components/CellEditors/Input.d.ts +1 -1
- package/lib/core/Table/components/CellEditors/InputNumber.d.ts +1 -1
- package/lib/core/Table/components/CellEditors/PopOver.d.ts +1 -0
- package/lib/core/Table/components/CellEditors/Select.d.ts +1 -1
- package/lib/core/Table/components/CellRender.d.ts +1 -1
- package/lib/core/Table/components/Toolbar/index.vue.d.ts +1 -1
- package/lib/core/Table/configs/column.d.ts +1 -1
- package/lib/core/Table/configs/table.d.ts +1 -1
- package/lib/core/Table/constants.d.ts +9 -0
- package/lib/core/Table/index.d.ts +1 -1
- package/lib/core/Table/index.vue.d.ts +2 -2
- package/lib/index.js +1 -4
- package/package.json +3 -3
- package/types/index.d.ts +8 -0
- package/types/table/column.d.ts +98 -0
- package/types/table/index.d.ts +10 -0
- package/types/table/table.d.ts +19 -0
- package/types/table/toolbar.d.ts +22 -0
- package/es/core/Table/types/column.d.ts +0 -74
- package/es/core/Table/types/index.d.ts +0 -3
- package/es/core/Table/types/table.d.ts +0 -11
- package/es/core/Table/types/toolbar.d.ts +0 -11
- package/index.d.ts +0 -1
- package/lib/core/Table/types/column.d.ts +0 -74
- package/lib/core/Table/types/index.d.ts +0 -3
- package/lib/core/Table/types/table.d.ts +0 -11
- package/lib/core/Table/types/toolbar.d.ts +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 单元格-Boolean
|
|
3
3
|
*/
|
|
4
|
-
import { SabColumnProps } from "
|
|
4
|
+
import type { SabColumnProps } from "../../../../types/table";
|
|
5
5
|
declare const SabCellBoolean: import("vue").DefineComponent<{
|
|
6
6
|
modelValue: StringConstructor;
|
|
7
7
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 单元格-颜色
|
|
3
3
|
*/
|
|
4
|
-
import { SabColumnProps } from "
|
|
4
|
+
import type { SabColumnProps } from "../../../../types/table";
|
|
5
5
|
declare const SabCellColor: import("vue").DefineComponent<{
|
|
6
6
|
color: StringConstructor;
|
|
7
7
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 单元格编辑-日期输入
|
|
3
3
|
*/
|
|
4
4
|
import { DatePickerProps } from "element-plus";
|
|
5
|
-
import { SabColumnProps } from "
|
|
5
|
+
import type { SabColumnProps } from "../../../../types/table";
|
|
6
6
|
declare const SabCellEditDatePicker: import("vue").DefineComponent<DatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<DatePickerProps>, {
|
|
7
7
|
readonly popperOptions: any;
|
|
8
8
|
}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 单元格编辑-输入框
|
|
3
3
|
*/
|
|
4
|
-
import { SabColumnProps } from "
|
|
4
|
+
import type { SabColumnProps } from "../../../../types/table";
|
|
5
5
|
declare const SabCellEditInput: import("vue").DefineComponent<{
|
|
6
6
|
modelValue?: string | undefined;
|
|
7
7
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 单元格编辑-数值输入框
|
|
3
3
|
*/
|
|
4
|
-
import { SabColumnProps } from "
|
|
4
|
+
import type { SabColumnProps } from "../../../../types/table";
|
|
5
5
|
declare const SabCellEditInputNumber: import("vue").DefineComponent<{
|
|
6
6
|
modelValue?: number | undefined;
|
|
7
7
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -8,6 +8,7 @@ type SabCellEditPopoverProps = PopoverProps & {
|
|
|
8
8
|
};
|
|
9
9
|
declare const SabCellEditPopover: import("vue").DefineComponent<Partial<SabCellEditPopoverProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Partial<SabCellEditPopoverProps>>, {
|
|
10
10
|
readonly popperOptions?: any;
|
|
11
|
+
column?: any;
|
|
11
12
|
readonly placement?: any;
|
|
12
13
|
}, {}>;
|
|
13
14
|
export default SabCellEditPopover;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SabColumnProps } from "
|
|
1
|
+
import type { SabColumnProps } from "../../../types/table";
|
|
2
2
|
declare const CellRender: import("vue").DefineComponent<SabColumnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<SabColumnProps>, {
|
|
3
3
|
params?: any;
|
|
4
4
|
}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToolbarProps } from "
|
|
1
|
+
import type { ToolbarProps } from "../../../../types/table";
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ToolbarProps<import("vxe-table").VxeTableDataRow>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ToolbarProps<import("vxe-table").VxeTableDataRow>>>>, {}, {}>, {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SabColumnProps } from "
|
|
1
|
+
import type { SabColumnProps } from "../../../types/table";
|
|
2
2
|
export declare const defaultColumnConfig: (column: SabColumnProps) => SabColumnProps;
|
|
3
3
|
export declare const setDefaultColumnConfigs: (columns: SabColumnProps[]) => SabColumnProps[];
|
package/es/core/Table/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VxeTableInstance } from "vxe-table";
|
|
2
|
-
import { SabTableProps } from "
|
|
2
|
+
import type { SabTableProps } from "../../types/table";
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SabTableProps>, Partial<SabTableProps>>, {
|
|
4
4
|
$?: import("vue").ComponentInternalInstance | undefined;
|
|
5
5
|
$data?: {} | undefined;
|
|
@@ -503,11 +503,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
503
503
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SabTableProps>, Partial<SabTableProps>>>>, {
|
|
504
504
|
data: import("vxe-table").VxeTablePropTypes.Data<import("vxe-table").VxeTableDataRow>;
|
|
505
505
|
class: any;
|
|
506
|
+
columns: Partial<import("../../types/table").SabColumnProps<import("vxe-table").VxeTableDataRow>>[];
|
|
506
507
|
id: string;
|
|
507
508
|
size: import("vxe-table").SizeType;
|
|
508
509
|
cellClassName: import("vxe-table").VxeTablePropTypes.CellClassName<import("vxe-table").VxeTableDataRow>;
|
|
509
510
|
editable: boolean;
|
|
510
|
-
columns: Partial<import("./types").SabColumnProps<import("vxe-table").VxeTableDataRow>>[];
|
|
511
511
|
loading: boolean;
|
|
512
512
|
round: boolean;
|
|
513
513
|
height: import("vxe-table").VxeTablePropTypes.Height;
|