@vtj/ui 0.8.149 → 0.8.150
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/index.mjs +151 -150
- package/dist/index.umd.js +4 -4
- package/package.json +3 -3
- package/types/components/dialog-grid/DialogGrid.d.ts +3 -2
- package/types/components/grid/Grid.d.ts +2 -1
- package/types/components/grid/hooks/useCustom.d.ts +1 -1
- package/types/components/mask/hooks/useMenus.d.ts +2 -2
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.8.
|
4
|
+
"version": "0.8.150",
|
5
5
|
"type": "module",
|
6
6
|
"engines": {
|
7
7
|
"node": ">=16.0.0"
|
@@ -12,8 +12,8 @@
|
|
12
12
|
"sortablejs": "~1.15.2",
|
13
13
|
"vxe-table": "~4.6.17",
|
14
14
|
"vxe-table-plugin-menus": "~4.0.3",
|
15
|
-
"@vtj/icons": "~0.8.
|
16
|
-
"@vtj/utils": "~0.8.
|
15
|
+
"@vtj/icons": "~0.8.150",
|
16
|
+
"@vtj/utils": "~0.8.150"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
19
|
"@types/qrcode": "^1.5.5",
|
@@ -6,6 +6,7 @@ import { DraggableOptions, ResizableOptions } from '../..';
|
|
6
6
|
import { UseMouseSourceType, Position } from '@vueuse/core';
|
7
7
|
import { OnCleanup } from '@vue/reactivity';
|
8
8
|
import { Options } from 'sortablejs';
|
9
|
+
import { MessageBoxData } from 'element-plus';
|
9
10
|
declare let __VLS_typeProps: DialogGridProps;
|
10
11
|
type __VLS_PublicProps = {
|
11
12
|
modelValue?: boolean;
|
@@ -1448,7 +1449,7 @@ declare function __VLS_template(): {
|
|
1448
1449
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
1449
1450
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
1450
1451
|
getSelected: () => any;
|
1451
|
-
remove: (rows: any) => Promise<
|
1452
|
+
remove: (rows: any) => Promise< MessageBoxData | undefined>;
|
1452
1453
|
getRows: () => any[];
|
1453
1454
|
setActived: (row: any) => Promise<void | undefined>;
|
1454
1455
|
doLayout: () => void;
|
@@ -2069,7 +2070,7 @@ declare function __VLS_template(): {
|
|
2069
2070
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
2070
2071
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
2071
2072
|
getSelected: () => any;
|
2072
|
-
remove: (rows: any) => Promise<
|
2073
|
+
remove: (rows: any) => Promise< MessageBoxData | undefined>;
|
2073
2074
|
getRows: () => any[];
|
2074
2075
|
setActived: (row: any) => Promise<void | undefined>;
|
2075
2076
|
doLayout: () => void;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { VxeGridInstance, GridColumns, GridLoader, GridSortableOptions, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent } from './types';
|
2
2
|
import { VxeTableConstructor, VxeGridConstructor, VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType } from 'vxe-table';
|
3
3
|
import { DefineComponent, ExtractPropTypes, PropType, VNode, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
4
|
+
import { MessageBoxData } from 'element-plus';
|
4
5
|
import { Options } from 'sortablejs';
|
5
6
|
declare function __VLS_template(): {
|
6
7
|
slots: Partial<Record<string, (_: {
|
@@ -590,7 +591,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
590
591
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
591
592
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
592
593
|
getSelected: () => any;
|
593
|
-
remove: (rows: any) => Promise<
|
594
|
+
remove: (rows: any) => Promise< MessageBoxData | undefined>;
|
594
595
|
getRows: () => any[];
|
595
596
|
setActived: (row: any) => Promise<void | undefined>;
|
596
597
|
doLayout: () => void;
|
@@ -2,7 +2,7 @@ import { MaybeRef, ShallowRef } from 'vue';
|
|
2
2
|
import { VxeGridInstance, GridProps, VxeGridPropTypes, VxeGridDefines, GridSortableEvent } from '../types';
|
3
3
|
import { VxeTableDataRow } from 'vxe-table';
|
4
4
|
export declare function useCustom(vxeRef: MaybeRef<VxeGridInstance | undefined>, props: GridProps): {
|
5
|
-
columns: ShallowRef<VxeGridPropTypes.Columns< VxeTableDataRow>>;
|
5
|
+
columns: ShallowRef<VxeGridPropTypes.Columns< VxeTableDataRow>, VxeGridPropTypes.Columns< VxeTableDataRow>>;
|
6
6
|
onResize: (e: VxeGridDefines.ResizableChangeEventParams) => void;
|
7
7
|
onCustom: (e: VxeGridDefines.CustomEventParams) => void;
|
8
8
|
onSort: (_e: GridSortableEvent) => void;
|
@@ -2,8 +2,8 @@ import { Ref, ShallowRef, ComputedRef } from 'vue';
|
|
2
2
|
import { MaskProps, MaskEmitsFn } from '../types';
|
3
3
|
import { MenuDataItem } from '../../';
|
4
4
|
export declare function useMenus(props: MaskProps, emit: MaskEmitsFn): {
|
5
|
-
menus: ShallowRef<MenuDataItem[]>;
|
6
|
-
favorites: ShallowRef<MenuDataItem[]>;
|
5
|
+
menus: ShallowRef<MenuDataItem[], MenuDataItem[]>;
|
6
|
+
favorites: ShallowRef<MenuDataItem[], MenuDataItem[]>;
|
7
7
|
flatMenus: ComputedRef<MenuDataItem[]>;
|
8
8
|
active: Ref<MenuDataItem | null, MenuDataItem | null>;
|
9
9
|
select: (id: string | number | MenuDataItem) => void;
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/ui
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.8.
|
5
|
+
* @version 0.8.149
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.8.
|
8
|
+
export declare const version = "0.8.149";
|