@kengic/vue 0.6.17 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,3 +16,5 @@ export declare type IUseLoading = {
16
16
  export declare function _useLoading(): IUseLoading;
17
17
  export declare type IUseResizeObserver = {};
18
18
  export declare function _useResizeObserver(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>): IUseResizeObserver;
19
+ export declare type IUseDragColumn = {};
20
+ export declare function _useDragColumn(kgTableRef: Ref<UnwrapRef<HTMLDivElement | null>>, columns: ComputedRef<ColumnsType<IKgTableRow>>): IUseDragColumn;
@@ -193,9 +193,8 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
193
193
  *
194
194
  * @param frm_id
195
195
  * @param value
196
- * @param whenReady 是否等待变量配置数据加载完成.
197
196
  */
198
- setIsUpdating(frm_id: string, value: boolean, whenReady?: boolean): void;
197
+ setIsUpdating(frm_id: string, value: boolean): void;
199
198
  setIsCopying(frm_id: string, value: boolean): void;
200
199
  setIsDeleting(frm_id: string, deleting: boolean): void;
201
200
  setIsCreatingRequesting(frm_id: string, value: boolean): void;
@@ -264,6 +263,13 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
264
263
  * @param properties 要修改的部分属性.
265
264
  */
266
265
  patchVarPossibilityCommandParameter(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: Record<string, any>): void;
266
+ /**
267
+ * 拖拽排序 VarGridDetail 列表.
268
+ * @param frm_id 界面标识.
269
+ * @param from_var_nam 被拽起的变量名称
270
+ * @param to_var_nam 被放下的变量名称.
271
+ */
272
+ dragSortCurrentVarGridDetails(frm_id: string | null | undefined, from_var_nam: string | null | undefined, to_var_nam: string | null | undefined): void;
267
273
  }>;
268
274
  export declare type IKgVarStore = ReturnType<IKgVarStoreDefinition>;
269
275
  export declare const useKgVarStore: () => IKgVarStoreDefinition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.6.17",
3
+ "version": "0.7.0",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",