@sunny-base-web/effects 0.8.50 → 0.8.52
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.d.ts +5 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +877 -872
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1723,6 +1723,7 @@ readonly cancelButtonProps?: any;
|
|
|
1723
1723
|
readonly onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
1724
1724
|
readonly onBeforeOk?: ((done?: (closed: boolean) => void) => void | boolean | Promise<void | boolean>) | undefined;
|
|
1725
1725
|
readonly onBeforeCancel?: (() => boolean | Promise<boolean>) | undefined;
|
|
1726
|
+
readonly draggable?: boolean | undefined;
|
|
1726
1727
|
readonly onClose?: ((() => void) & (() => any)) | undefined;
|
|
1727
1728
|
readonly onOk?: ((() => void) & (() => any)) | undefined;
|
|
1728
1729
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1877,6 +1878,7 @@ readonly cancelButtonProps?: any;
|
|
|
1877
1878
|
readonly onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
1878
1879
|
readonly onBeforeOk?: ((done?: (closed: boolean) => void) => void | boolean | Promise<void | boolean>) | undefined;
|
|
1879
1880
|
readonly onBeforeCancel?: (() => boolean | Promise<boolean>) | undefined;
|
|
1881
|
+
readonly draggable?: boolean | undefined;
|
|
1880
1882
|
readonly onClose?: ((() => void) & (() => any)) | undefined;
|
|
1881
1883
|
readonly onOk?: ((() => void) & (() => any)) | undefined;
|
|
1882
1884
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -3169,7 +3171,7 @@ export declare interface UseSelectOptionsReturn {
|
|
|
3169
3171
|
clearCache: (dictCode?: string | number) => void;
|
|
3170
3172
|
}
|
|
3171
3173
|
|
|
3172
|
-
export declare function useTable({ columns, editRules, toolbarButtons, data, editable, editTrigger, editMode, height, gridId, gridEvents, }?: UseTableOptions): readonly [DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>, VxeGridApi_2 & {
|
|
3174
|
+
export declare function useTable({ columns, editRules, toolbarButtons, data, editable, editTrigger, editMode, height, gridId, gridEvents, showOverflow, }?: UseTableOptions): readonly [DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>, VxeGridApi_2 & {
|
|
3173
3175
|
setColumns: (newColumns: any[]) => void;
|
|
3174
3176
|
setToolbarButtons: (buttons: Array<{
|
|
3175
3177
|
code: string;
|
|
@@ -3201,6 +3203,8 @@ declare interface UseTableOptions {
|
|
|
3201
3203
|
gridId?: string;
|
|
3202
3204
|
/** 表格事件 */
|
|
3203
3205
|
gridEvents?: Record<string, (...args: any[]) => any>;
|
|
3206
|
+
/** 全局溢出提示,默认 false */
|
|
3207
|
+
showOverflow?: boolean | 'tooltip' | 'ellipsis';
|
|
3204
3208
|
}
|
|
3205
3209
|
|
|
3206
3210
|
/**
|