bt-core-app 1.4.63 → 1.4.65
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/bt-core-app.js +806 -776
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -439,6 +439,7 @@ declare interface DoActionOptions {
|
|
|
439
439
|
confirmationMsg?: string;
|
|
440
440
|
errorMsg?: string;
|
|
441
441
|
loadingMsg?: string;
|
|
442
|
+
onError?: (err: any) => void;
|
|
442
443
|
requireConfirmation?: boolean;
|
|
443
444
|
throwError?: boolean;
|
|
444
445
|
}
|
|
@@ -576,6 +577,7 @@ export declare interface ItemProps {
|
|
|
576
577
|
onCanSaveAsync?: OnCanDoAsync;
|
|
577
578
|
onDeleteAsync?: OnDoAsync;
|
|
578
579
|
onDeleteSuccessAsync?: OnDoSuccessAsync;
|
|
580
|
+
onError?: (err: any) => void;
|
|
579
581
|
onGetAsync?: OnGetAsync;
|
|
580
582
|
onGetSuccessAsync?: OnGetSuccessAsync;
|
|
581
583
|
onGetNew?: () => any;
|
|
@@ -637,6 +639,7 @@ export declare interface ListProps {
|
|
|
637
639
|
onCanSelectItem?: (item: any) => boolean;
|
|
638
640
|
onDeleteAsync?: OnDoAsync;
|
|
639
641
|
onDeleteSuccessAsync?: OnDoAsync;
|
|
642
|
+
onError?: (err: any) => void;
|
|
640
643
|
onFilter?: Function;
|
|
641
644
|
onGetAsync?: OnGetAsync;
|
|
642
645
|
onGetSuccessAsync?: OnGetSuccessAsync;
|
|
@@ -1201,6 +1204,7 @@ export declare function useItem(props: ItemProps, options?: UseItemOptions): {
|
|
|
1201
1204
|
};
|
|
1202
1205
|
|
|
1203
1206
|
export declare interface UseItemOptions {
|
|
1207
|
+
onError?: (err: any) => void;
|
|
1204
1208
|
storeMode?: StoreMode;
|
|
1205
1209
|
storageMode?: StorageMode;
|
|
1206
1210
|
useRouteSrc?: boolean;
|
|
@@ -1322,6 +1326,7 @@ export declare function useList(props: ListProps, emit?: ListEvents, options?: U
|
|
|
1322
1326
|
|
|
1323
1327
|
declare interface UseListOptions {
|
|
1324
1328
|
hideActions?: boolean;
|
|
1329
|
+
onError?: (err: any) => void;
|
|
1325
1330
|
}
|
|
1326
1331
|
|
|
1327
1332
|
export declare function useLocalCache(): {
|
package/package.json
CHANGED