bt-core-app 2.0.179 → 2.0.181

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 CHANGED
@@ -883,6 +883,7 @@ export declare function extensionExists(elementId?: string): boolean;
883
883
  export declare interface ExternalParty {
884
884
  additionalUrl: string;
885
885
  canUnlink: boolean;
886
+ externalTextProp?: string;
886
887
  localIDProp: string;
887
888
  party: string;
888
889
  }
@@ -1102,6 +1103,7 @@ export declare interface ItemProps<T, TSave, TReturn> {
1102
1103
  onGetNewAsync?: (data?: PathOptions) => Promise<TReturn>;
1103
1104
  onGetNotFound?: (data?: PathOptions) => TReturn;
1104
1105
  onGetSaveAsync?: OnDoSuccessAsync<TReturn, TSave>;
1106
+ onRefreshAsync?: (refreshOptions?: ItemRefreshOptions) => Promise<void> | undefined;
1105
1107
  onRestoreAsync?: OnDoActionAsync<TReturn>;
1106
1108
  onRestoreSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
1107
1109
  onSaveAsync?: (item: TSave | TReturn) => Promise<TReturn | undefined>;
@@ -2360,6 +2362,7 @@ export declare function useItem<T, TSave, TReturn>(props: ItemProps<T, TSave, TR
2360
2362
  proxyID: ComputedRef<string | undefined>;
2361
2363
  refresh: (refreshOptions?: ItemRefreshOptions) => Promise<void>;
2362
2364
  restoreItem: (dItem: any) => Promise<TReturn | undefined>;
2365
+ runRefresh: (refreshOptions?: ItemRefreshOptions) => Promise<void>;
2363
2366
  saveItem: (dItem: any, options?: SaveItemOptions) => Promise<TReturn | undefined>;
2364
2367
  showError: ShallowRef<boolean, boolean>;
2365
2368
  toggleMode: () => Promise<void>;
@@ -2430,11 +2433,13 @@ export declare function useList<T, TSave, TReturn>(props: ListProps<T, TSave, TR
2430
2433
  externalParties: Ref< {
2431
2434
  additionalUrl: string;
2432
2435
  canUnlink: boolean;
2436
+ externalTextProp?: string | undefined;
2433
2437
  localIDProp: string;
2434
2438
  party: string;
2435
2439
  }[], ExternalParty[] | {
2436
2440
  additionalUrl: string;
2437
2441
  canUnlink: boolean;
2442
+ externalTextProp?: string | undefined;
2438
2443
  localIDProp: string;
2439
2444
  party: string;
2440
2445
  }[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.179",
3
+ "version": "2.0.181",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {