@kengic/vue 0.23.8-beta.0 → 0.23.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,3 +12,11 @@ export declare type IUseServices = {
12
12
  export declare function _useServices(): IUseServices;
13
13
  /** 监控表格列的下拉列表的尺寸变化, 从而调整位置, 防止遮盖. */
14
14
  export declare function _useObserveMenuItemColumns(isMenuItemColumnsVisible: Ref<boolean>): void;
15
+ /**
16
+ *
17
+ * @param param.columnsRef 宿主页面标识.
18
+ * @param param.varGridDetails 字段列表.
19
+ */
20
+ export declare function _useDragToSortRow(param: {
21
+ columnsRef: Ref<HTMLUListElement | null>;
22
+ }): {};
@@ -4,4 +4,4 @@ import { VarProfileDetail } from '../../../../apis/WMS/models';
4
4
  export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
5
5
  export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
6
6
  export declare type IUseDragRow = {};
7
- export declare function _useDragRow(hostFormID: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
7
+ export declare function _useDragToSortRow(hostFormID: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
@@ -20,4 +20,4 @@ export declare type IUseDragRow = {};
20
20
  * @param varGridDetails
21
21
  * @param transferRightRows
22
22
  */
23
- export declare function _useDragRow(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
23
+ export declare function _useDragToSortRow(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
@@ -76,7 +76,9 @@ export declare type IKgOption = {
76
76
  * 表格设置菜单.
77
77
  */
78
78
  Setting?: {
79
- /** 行高. */
79
+ /**
80
+ * 行高.
81
+ */
80
82
  rowHeight?: {
81
83
  /**
82
84
  * 是否启用功能.
@@ -84,6 +86,20 @@ export declare type IKgOption = {
84
86
  */
85
87
  on?: boolean;
86
88
  };
89
+ /**
90
+ * 字段.
91
+ */
92
+ columns?: {
93
+ /**
94
+ * 拖拽排序.
95
+ */
96
+ dragToSort?: {
97
+ /**
98
+ * @default false
99
+ */
100
+ isOn?: boolean;
101
+ };
102
+ };
87
103
  };
88
104
  /**
89
105
  * 表头.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.23.8-beta.0",
3
+ "version": "0.23.8",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",