@sunny-base-web/effects 0.8.14 → 0.8.16
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 +7 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +1215 -1206
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -2422,6 +2422,9 @@ export declare const tabsConfig: ({
|
|
|
2422
2422
|
};
|
|
2423
2423
|
})[];
|
|
2424
2424
|
|
|
2425
|
+
/** useForm 的默认配置,外部可 import 后进行覆盖/合并 */
|
|
2426
|
+
export declare const USE_FORM_DEFAULTS: Partial<SunnyFormProps>;
|
|
2427
|
+
|
|
2425
2428
|
/**
|
|
2426
2429
|
* Composition API Hook: 获取全局配置
|
|
2427
2430
|
* 在组件 setup() 中调用此方法获取配置信息
|
|
@@ -3075,7 +3078,10 @@ export declare interface UseSelectOptionsReturn {
|
|
|
3075
3078
|
clearCache: (dictCode?: string | number) => void;
|
|
3076
3079
|
}
|
|
3077
3080
|
|
|
3078
|
-
export declare function useTable({ columns, editRules, toolbarButtons, data, editable, editTrigger, editMode, height, gridId, gridEvents, }?: UseTableOptions): readonly [DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>,
|
|
3081
|
+
export declare function useTable({ columns, editRules, toolbarButtons, data, editable, editTrigger, editMode, height, gridId, gridEvents, }?: UseTableOptions): readonly [DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>, {
|
|
3082
|
+
reloadData: (newData: any[]) => Promise<void>;
|
|
3083
|
+
setColumns: (newColumns: any[]) => void;
|
|
3084
|
+
}];
|
|
3079
3085
|
|
|
3080
3086
|
declare interface UseTableOptions {
|
|
3081
3087
|
/** 表格列配置 */
|